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

Description

Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.

Requires permission to access the AttachSecurityProfile action.

Synopsis

Creating a Request

data AttachSecurityProfile Source #

See: newAttachSecurityProfile smart constructor.

Constructors

AttachSecurityProfile' 

Fields

Instances

Instances details
Eq AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Read AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Show AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Generic AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Associated Types

type Rep AttachSecurityProfile :: Type -> Type #

NFData AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Methods

rnf :: AttachSecurityProfile -> () #

Hashable AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

ToJSON AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

AWSRequest AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Associated Types

type AWSResponse AttachSecurityProfile #

ToHeaders AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

ToPath AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

ToQuery AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

type Rep AttachSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

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

Defined in Amazonka.IoT.AttachSecurityProfile

newAttachSecurityProfile Source #

Create a value of AttachSecurityProfile 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:AttachSecurityProfile', attachSecurityProfile_securityProfileName - The security profile that is attached.

$sel:securityProfileTargetArn:AttachSecurityProfile', attachSecurityProfile_securityProfileTargetArn - The ARN of the target (thing group) to which the security profile is attached.

Request Lenses

attachSecurityProfile_securityProfileTargetArn :: Lens' AttachSecurityProfile Text Source #

The ARN of the target (thing group) to which the security profile is attached.

Destructuring the Response

data AttachSecurityProfileResponse Source #

See: newAttachSecurityProfileResponse smart constructor.

Constructors

AttachSecurityProfileResponse' 

Fields

Instances

Instances details
Eq AttachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Read AttachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Show AttachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Generic AttachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

Associated Types

type Rep AttachSecurityProfileResponse :: Type -> Type #

NFData AttachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

type Rep AttachSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.AttachSecurityProfile

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

newAttachSecurityProfileResponse Source #

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

Response Lenses