list_access_profiles
¶
list_access_profiles(
space_id: SpaceId,
*,
config_overrides: Optional[CloudWatchOmniClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[int] = None,
) -> ListAccessProfilesOutput
Returns the access profiles in a space.
Parameters:
-
space_id(SpaceId) –The unique ID of the space.
-
next_token(Optional[NextToken], default:None) –A token to retrieve the next page of results.
-
max_results(Optional[int], default:None) –The maximum number of access profiles to return per page. Defaults to 100.
Raises:
-
AccessDeniedException–The caller is not authorized to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The request was throttled due to exceeding the allowed request rate.
-
ValidationException–A parameter is specified incorrectly.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List access profiles in a space The following example lists the first page of access profiles in a space and returns a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.
Source code in docs_src/capo_cloudwatchomni/_services/cloud_watch_omni.py
3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 | |