list_security_profiles_for_target
¶
list_security_profiles_for_target(
security_profile_target_arn: SecurityProfileTargetArn,
*,
config_overrides: Optional[IoTClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
recursive: Optional[Recursive] = None,
) -> ListSecurityProfilesForTargetResponse
The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. If you would like to use the detect feature, sign up prior to August 31, 2026. To learn about alternatives to IoT Device Defender detect, see IoT Device Defender detect feature availability change in the IoT Device Defender Developer Guide. There is no change to IoT Device Defender audit availability.
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
Parameters:
-
next_token(Optional[NextToken], default:None) –The token for the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time.
-
recursive(Optional[Recursive], default:None) –If true, return child groups too.
-
security_profile_target_arn(SecurityProfileTargetArn) –The ARN of the target (thing group) whose attached security profiles you want to get.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The rate exceeds the limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 | |