amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.DescribeMitigationAction

Description

Gets information about a mitigation action.

Requires permission to access the DescribeMitigationAction action.

Synopsis

Creating a Request

data DescribeMitigationAction Source #

See: newDescribeMitigationAction smart constructor.

Constructors

DescribeMitigationAction' 

Fields

  • actionName :: Text

    The friendly name that uniquely identifies the mitigation action.

Instances

Instances details
ToHeaders DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

ToPath DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

ToQuery DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

AWSRequest DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Generic DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Associated Types

type Rep DescribeMitigationAction :: Type -> Type #

Read DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Show DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

NFData DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Eq DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Hashable DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

type AWSResponse DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

type Rep DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

type Rep DescribeMitigationAction = D1 ('MetaData "DescribeMitigationAction" "Amazonka.IoT.DescribeMitigationAction" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DescribeMitigationAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

Instances details
Generic DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Associated Types

type Rep DescribeMitigationActionResponse :: Type -> Type #

Read DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Show DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

NFData DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Eq DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

type Rep DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

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_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_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.