| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.DescribeMitigationAction
Description
Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
Synopsis
- data DescribeMitigationAction = DescribeMitigationAction' {
- actionName :: Text
- newDescribeMitigationAction :: Text -> DescribeMitigationAction
- describeMitigationAction_actionName :: Lens' DescribeMitigationAction Text
- data DescribeMitigationActionResponse = DescribeMitigationActionResponse' {}
- newDescribeMitigationActionResponse :: Int -> DescribeMitigationActionResponse
- describeMitigationActionResponse_actionArn :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_actionId :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_actionName :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_actionParams :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionParams)
- describeMitigationActionResponse_actionType :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionType)
- describeMitigationActionResponse_creationDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime)
- describeMitigationActionResponse_lastModifiedDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime)
- describeMitigationActionResponse_roleArn :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_httpStatus :: Lens' DescribeMitigationActionResponse Int
Creating a Request
data DescribeMitigationAction Source #
See: newDescribeMitigationAction smart constructor.
Constructors
| DescribeMitigationAction' | |
Fields
| |
Instances
newDescribeMitigationAction Source #
Arguments
| :: Text | |
| -> DescribeMitigationAction |
Create a value of DescribeMitigationAction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeMitigationAction, describeMitigationAction_actionName - The friendly name that uniquely identifies the mitigation action.
Request Lenses
describeMitigationAction_actionName :: Lens' DescribeMitigationAction Text Source #
The friendly name that uniquely identifies the mitigation action.
Destructuring the Response
data DescribeMitigationActionResponse Source #
See: newDescribeMitigationActionResponse smart constructor.
Constructors
| DescribeMitigationActionResponse' | |
Fields
| |
Instances
newDescribeMitigationActionResponse Source #
Create a value of DescribeMitigationActionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeMitigationActionResponse, describeMitigationActionResponse_actionArn - The ARN that identifies this migration action.
DescribeMitigationActionResponse, describeMitigationActionResponse_actionId - A unique identifier for this action.
DescribeMitigationAction, describeMitigationActionResponse_actionName - The friendly name that uniquely identifies the mitigation action.
DescribeMitigationActionResponse, describeMitigationActionResponse_actionParams - Parameters that control how the mitigation action is applied, specific
to the type of mitigation action.
DescribeMitigationActionResponse, describeMitigationActionResponse_actionType - The type of mitigation action.
DescribeMitigationActionResponse, describeMitigationActionResponse_creationDate - The date and time when the mitigation action was added to your Amazon
Web Services accounts.
DescribeMitigationActionResponse, describeMitigationActionResponse_lastModifiedDate - The date and time when the mitigation action was last changed.
DescribeMitigationActionResponse, describeMitigationActionResponse_roleArn - The ARN of the IAM role used to apply this action.
$sel:httpStatus:DescribeMitigationActionResponse', describeMitigationActionResponse_httpStatus - The response's http status code.
Response Lenses
describeMitigationActionResponse_actionArn :: Lens' DescribeMitigationActionResponse (Maybe Text) Source #
The ARN that identifies this migration action.
describeMitigationActionResponse_actionId :: Lens' DescribeMitigationActionResponse (Maybe Text) Source #
A unique identifier for this action.
describeMitigationActionResponse_actionName :: Lens' DescribeMitigationActionResponse (Maybe Text) Source #
The friendly name that uniquely identifies the mitigation action.
describeMitigationActionResponse_actionParams :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionParams) Source #
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
describeMitigationActionResponse_actionType :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionType) Source #
The type of mitigation action.
describeMitigationActionResponse_creationDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime) Source #
The date and time when the mitigation action was added to your Amazon Web Services accounts.
describeMitigationActionResponse_lastModifiedDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime) Source #
The date and time when the mitigation action was last changed.
describeMitigationActionResponse_roleArn :: Lens' DescribeMitigationActionResponse (Maybe Text) Source #
The ARN of the IAM role used to apply this action.
describeMitigationActionResponse_httpStatus :: Lens' DescribeMitigationActionResponse Int Source #
The response's http status code.