list_security_profiles_for_target
async
¶
list_security_profiles_for_target(
security_profile_target_arn: SecurityProfileTargetArn,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 | |