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

Defined in Amazonka.IoT.DeleteSecurityProfile

Read DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Show DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Generic DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Associated Types

type Rep DeleteSecurityProfile :: Type -> Type #

NFData DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Methods

rnf :: DeleteSecurityProfile -> () #

Hashable DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

AWSRequest DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Associated Types

type AWSResponse DeleteSecurityProfile #

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

type Rep DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

type Rep DeleteSecurityProfile = D1 ('MetaData "DeleteSecurityProfile" "Amazonka.IoT.DeleteSecurityProfile" "libZSservicesZSamazonka-iotZSamazonka-iot" '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)))
type AWSResponse DeleteSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

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.

$sel:securityProfileName: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
Eq DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Read DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Show DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Generic DeleteSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteSecurityProfile

Associated Types

type Rep DeleteSecurityProfileResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" '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