update_permission_set
¶
update_permission_set(
instance_arn: InstanceArn,
permission_set_arn: PermissionSetArn,
*,
config_overrides: Optional[SSOAdminClientConfig] = 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/sso_admin.py
4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 | |