IoT.Client.
attach_security_profile
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.attach_security_profile(
securityProfileName='string',
securityProfileTargetArn='string'
)
[REQUIRED]
The security profile that is attached.
[REQUIRED]
The ARN of the target (thing group) to which the security profile is attached.
dict
Response Syntax
{}
Response Structure
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.LimitExceededException
IoT.Client.exceptions.VersionConflictException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.InternalFailureException