update_permission_set
async
¶
update_permission_set(
instance_arn: InstanceArn,
permission_set_arn: PermissionSetArn,
*,
config_overrides: Optional[AsyncSSOAdminClientConfig] = None,
description: Optional[PermissionSetDescription] = None,
session_duration: Optional[Duration] = None,
relay_state: Optional[RelayState] = None,
) -> UpdatePermissionSetResponse
Updates an existing permission set.
Parameters:
-
instance_arn(InstanceArn) –The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
-
permission_set_arn(PermissionSetArn) –The ARN of the permission set.
-
description(Optional[PermissionSetDescription], default:None) –The description of the PermissionSet.
-
session_duration(Optional[Duration], default:None) –The length of time that the application user sessions are valid for in the ISO-8601 standard.
-
relay_state(Optional[RelayState], default:None) –Used to redirect users within the application during the federation authentication process.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
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
4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 | |