list_customer_managed_policy_references_in_permission_set
async
¶
list_customer_managed_policy_references_in_permission_set(
instance_arn: InstanceArn,
permission_set_arn: PermissionSetArn,
*,
config_overrides: Optional[AsyncSSOAdminClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[Token] = None,
) -> ListCustomerManagedPolicyReferencesInPermissionSetResponse
Lists all customer managed policies attached to a specified PermissionSet.
Parameters:
-
instance_arn(InstanceArn) –The ARN of the IAM Identity Center instance under which the operation will be executed.
-
permission_set_arn(PermissionSetArn) –The ARN of the
PermissionSet. -
max_results(Optional[MaxResults], default:None) –The maximum number of results to display for the list call.
-
next_token(Optional[Token], default:None) –The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ResourceNotFoundException–Indicates that a requested resource is not found.
-
ThrottlingException–Indicates that the principal has crossed the throttling limits of the API operations.
-
ValidationException–The request failed because it contains a syntax error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sso_admin/_services/async_sso_admin.py
3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 | |