libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Read DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Show 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 #

NFData DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Hashable DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

AWSRequest DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

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

type Rep DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

type Rep DescribeMitigationAction = D1 ('MetaData "DescribeMitigationAction" "Amazonka.IoT.DescribeMitigationAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeMitigationAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeMitigationAction Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

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.

Constructors

DescribeMitigationActionResponse' 

Fields

Instances

Instances details
Eq DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Read DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Show DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Generic DescribeMitigationActionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeMitigationAction

Associated Types

type Rep DescribeMitigationActionResponse :: Type -> Type #

NFData 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:

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