Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_lastModifiedDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime)
- describeMitigationActionResponse_actionParams :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionParams)
- describeMitigationActionResponse_actionId :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_actionName :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_creationDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime)
- describeMitigationActionResponse_actionArn :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_actionType :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionType)
- describeMitigationActionResponse_roleArn :: Lens' DescribeMitigationActionResponse (Maybe Text)
- describeMitigationActionResponse_httpStatus :: Lens' DescribeMitigationActionResponse Int
Creating a Request
data DescribeMitigationAction Source #
See: newDescribeMitigationAction
smart constructor.
DescribeMitigationAction' | |
|
Instances
newDescribeMitigationAction Source #
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:
$sel:actionName: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.
DescribeMitigationActionResponse' | |
|
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:
$sel:lastModifiedDate:DescribeMitigationActionResponse'
, describeMitigationActionResponse_lastModifiedDate
- The date and time when the mitigation action was last changed.
$sel:actionParams:DescribeMitigationActionResponse'
, describeMitigationActionResponse_actionParams
- Parameters that control how the mitigation action is applied, specific
to the type of mitigation action.
$sel:actionId:DescribeMitigationActionResponse'
, describeMitigationActionResponse_actionId
- A unique identifier for this action.
$sel:actionName:DescribeMitigationAction'
, describeMitigationActionResponse_actionName
- The friendly name that uniquely identifies the mitigation action.
$sel:creationDate:DescribeMitigationActionResponse'
, describeMitigationActionResponse_creationDate
- The date and time when the mitigation action was added to your Amazon
Web Services accounts.
$sel:actionArn:DescribeMitigationActionResponse'
, describeMitigationActionResponse_actionArn
- The ARN that identifies this migration action.
$sel:actionType:DescribeMitigationActionResponse'
, describeMitigationActionResponse_actionType
- The type of mitigation action.
$sel:roleArn: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_lastModifiedDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime) Source #
The date and time when the mitigation action was last changed.
describeMitigationActionResponse_actionParams :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionParams) Source #
Parameters that control how the mitigation action is applied, specific to the type of mitigation 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_creationDate :: Lens' DescribeMitigationActionResponse (Maybe UTCTime) Source #
The date and time when the mitigation action was added to your Amazon Web Services accounts.
describeMitigationActionResponse_actionArn :: Lens' DescribeMitigationActionResponse (Maybe Text) Source #
The ARN that identifies this migration action.
describeMitigationActionResponse_actionType :: Lens' DescribeMitigationActionResponse (Maybe MitigationActionType) Source #
The type of mitigation action.
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.