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

Description

Disassociates a Device Defender security profile from a thing group or from this account.

Requires permission to access the DetachSecurityProfile action.

Synopsis

Creating a Request

data DetachSecurityProfile Source #

See: newDetachSecurityProfile smart constructor.

Constructors

DetachSecurityProfile' 

Fields

Instances

Instances details
Eq DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Read DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Show DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Generic DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Associated Types

type Rep DetachSecurityProfile :: Type -> Type #

NFData DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Methods

rnf :: DetachSecurityProfile -> () #

Hashable DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

AWSRequest DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Associated Types

type AWSResponse DetachSecurityProfile #

ToHeaders DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

ToPath DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

ToQuery DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

type Rep DetachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

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

Defined in Amazonka.IoT.DetachSecurityProfile

newDetachSecurityProfile Source #

Create a value of DetachSecurityProfile 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:securityProfileName:DetachSecurityProfile', detachSecurityProfile_securityProfileName - The security profile that is detached.

$sel:securityProfileTargetArn:DetachSecurityProfile', detachSecurityProfile_securityProfileTargetArn - The ARN of the thing group from which the security profile is detached.

Request Lenses

detachSecurityProfile_securityProfileTargetArn :: Lens' DetachSecurityProfile Text Source #

The ARN of the thing group from which the security profile is detached.

Destructuring the Response

data DetachSecurityProfileResponse Source #

See: newDetachSecurityProfileResponse smart constructor.

Constructors

DetachSecurityProfileResponse' 

Fields

Instances

Instances details
Eq DetachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Read DetachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Show DetachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Generic DetachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

Associated Types

type Rep DetachSecurityProfileResponse :: Type -> Type #

NFData DetachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

type Rep DetachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DetachSecurityProfile

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

newDetachSecurityProfileResponse Source #

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

Response Lenses