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

Description

Creates a Device Defender audit suppression.

Requires permission to access the CreateAuditSuppression action.

Synopsis

Creating a Request

data CreateAuditSuppression Source #

See: newCreateAuditSuppression smart constructor.

Constructors

CreateAuditSuppression' 

Fields

Instances

Instances details
Eq CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Read CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Show CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Generic CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Associated Types

type Rep CreateAuditSuppression :: Type -> Type #

NFData CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Methods

rnf :: CreateAuditSuppression -> () #

Hashable CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

ToJSON CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

AWSRequest CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Associated Types

type AWSResponse CreateAuditSuppression #

ToHeaders CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

ToPath CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

ToQuery CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

type Rep CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

type Rep CreateAuditSuppression = D1 ('MetaData "CreateAuditSuppression" "Amazonka.IoT.CreateAuditSuppression" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateAuditSuppression'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "suppressIndefinitely") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "checkName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceIdentifier) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateAuditSuppression Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

newCreateAuditSuppression Source #

Create a value of CreateAuditSuppression 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:expirationDate:CreateAuditSuppression', createAuditSuppression_expirationDate - The epoch timestamp in seconds at which this suppression expires.

$sel:suppressIndefinitely:CreateAuditSuppression', createAuditSuppression_suppressIndefinitely - Indicates whether a suppression should exist indefinitely or not.

$sel:description:CreateAuditSuppression', createAuditSuppression_description - The description of the audit suppression.

$sel:checkName:CreateAuditSuppression', createAuditSuppression_checkName - Undocumented member.

$sel:resourceIdentifier:CreateAuditSuppression', createAuditSuppression_resourceIdentifier - Undocumented member.

$sel:clientRequestToken:CreateAuditSuppression', createAuditSuppression_clientRequestToken - Each audit supression must have a unique client request token. If you try to create a new audit suppression with the same token as one that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Request Lenses

createAuditSuppression_expirationDate :: Lens' CreateAuditSuppression (Maybe UTCTime) Source #

The epoch timestamp in seconds at which this suppression expires.

createAuditSuppression_suppressIndefinitely :: Lens' CreateAuditSuppression (Maybe Bool) Source #

Indicates whether a suppression should exist indefinitely or not.

createAuditSuppression_description :: Lens' CreateAuditSuppression (Maybe Text) Source #

The description of the audit suppression.

createAuditSuppression_clientRequestToken :: Lens' CreateAuditSuppression Text Source #

Each audit supression must have a unique client request token. If you try to create a new audit suppression with the same token as one that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Destructuring the Response

data CreateAuditSuppressionResponse Source #

See: newCreateAuditSuppressionResponse smart constructor.

Constructors

CreateAuditSuppressionResponse' 

Fields

Instances

Instances details
Eq CreateAuditSuppressionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Read CreateAuditSuppressionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Show CreateAuditSuppressionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Generic CreateAuditSuppressionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

Associated Types

type Rep CreateAuditSuppressionResponse :: Type -> Type #

NFData CreateAuditSuppressionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

type Rep CreateAuditSuppressionResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateAuditSuppression

type Rep CreateAuditSuppressionResponse = D1 ('MetaData "CreateAuditSuppressionResponse" "Amazonka.IoT.CreateAuditSuppression" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateAuditSuppressionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateAuditSuppressionResponse Source #

Create a value of CreateAuditSuppressionResponse 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:httpStatus:CreateAuditSuppressionResponse', createAuditSuppressionResponse_httpStatus - The response's http status code.

Response Lenses