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

Description

Deletes a Device Defender security profile.

Requires permission to access the DeleteSecurityProfile action.

Synopsis

Creating a Request

data DeleteSecurityProfile Source #

See: newDeleteSecurityProfile smart constructor.

Constructors

DeleteSecurityProfile' 

Fields

  • expectedVersion :: Maybe Integer

    The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown.

  • securityProfileName :: Text

    The name of the security profile to be deleted.

Instances

Instances details
ToHeaders DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

ToPath DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

ToQuery DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

AWSRequest DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Associated Types

type AWSResponse DeleteSecurityProfile #

Generic DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Associated Types

type Rep DeleteSecurityProfile :: Type -> Type #

Read DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Show DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

NFData DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Methods

rnf :: DeleteSecurityProfile -> () #

Eq DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Hashable DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

type AWSResponse DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

type Rep DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

type Rep DeleteSecurityProfile = D1 ('MetaData "DeleteSecurityProfile" "Amazonka.IoT.DeleteSecurityProfile" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DeleteSecurityProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expectedVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "securityProfileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteSecurityProfile Source #

Create a value of DeleteSecurityProfile 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:expectedVersion:DeleteSecurityProfile', deleteSecurityProfile_expectedVersion - The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown.

DeleteSecurityProfile, deleteSecurityProfile_securityProfileName - The name of the security profile to be deleted.

Request Lenses

deleteSecurityProfile_expectedVersion :: Lens' DeleteSecurityProfile (Maybe Integer) Source #

The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown.

deleteSecurityProfile_securityProfileName :: Lens' DeleteSecurityProfile Text Source #

The name of the security profile to be deleted.

Destructuring the Response

data DeleteSecurityProfileResponse Source #

See: newDeleteSecurityProfileResponse smart constructor.

Constructors

DeleteSecurityProfileResponse' 

Fields

Instances

Instances details
Generic DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Associated Types

type Rep DeleteSecurityProfileResponse :: Type -> Type #

Read DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Show DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

NFData DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Eq DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

type Rep DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

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

newDeleteSecurityProfileResponse Source #

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

Response Lenses