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.InvalidRequestExceptionIoT.Client.exceptions.ResourceNotFoundExceptionIoT.Client.exceptions.LimitExceededExceptionIoT.Client.exceptions.VersionConflictExceptionIoT.Client.exceptions.ThrottlingExceptionIoT.Client.exceptions.InternalFailureException