IoT / Client / list_security_profiles_for_target
list_security_profiles_for_target#
- IoT.Client.list_security_profiles_for_target(**kwargs)#
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
See also: AWS API Documentation
Request Syntax
response = client.list_security_profiles_for_target( nextToken='string', maxResults=123, recursive=True|False, securityProfileTargetArn='string' )
- Parameters:
nextToken (string) – The token for the next set of results.
maxResults (integer) – The maximum number of results to return at one time.
recursive (boolean) – If true, return child groups too.
securityProfileTargetArn (string) –
[REQUIRED]
The ARN of the target (thing group) whose attached security profiles you want to get.
- Return type:
dict
- Returns:
Response Syntax
{ 'securityProfileTargetMappings': [ { 'securityProfileIdentifier': { 'name': 'string', 'arn': 'string' }, 'target': { 'arn': 'string' } }, ], 'nextToken': 'string' }
Response Structure
(dict) –
securityProfileTargetMappings (list) –
A list of security profiles and their associated targets.
(dict) –
Information about a security profile and the target associated with it.
securityProfileIdentifier (dict) –
Information that identifies the security profile.
name (string) –
The name you’ve given to the security profile.
arn (string) –
The ARN of the security profile.
target (dict) –
Information about the target (thing group) associated with the security profile.
arn (string) –
The ARN of the security profile.
nextToken (string) –
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.
Exceptions