update_credential_provider_pool
¶
update_credential_provider_pool(
credential_provider_pool_identifier: CredentialProviderPoolIdentifier,
*,
config_overrides: Optional[CredentialBrokerControlClientConfig] = None,
name: Optional[PoolName] = None,
encryption_configuration: Optional[EncryptionConfiguration] = None,
identity_center_update: Optional[IdentityCenterUpdate] = None,
) -> UpdateCredentialProviderPoolResponse
Updates a CredentialProviderPool. Partial update, only provided fields are modified; omitted fields are left unchanged.
The update is applied asynchronously and the operation is idempotent. The operation returns the pool with a transitional status; poll GetCredentialProviderPool to observe the transition.
Required permissions: in addition to permission for this operation, the service performs these actions on your behalf, each only when the request calls for it: sso:CreateApplication, sso:PutApplicationAuthenticationMethod, sso:PutApplicationGrant, and sso:PutApplicationAssignmentConfiguration when the request associates an IAM Identity Center instance; sso:DeleteApplication when it disassociates one; and kms:CreateGrant, kms:DescribeKey, kms:GenerateDataKeyWithoutPlaintext, kms:ReEncryptFrom, kms:ReEncryptTo, kms:Encrypt, and kms:Decrypt when it sets or changes a customer managed KMS key, which re-encrypts the pool's stored credentials under that key.
Parameters:
-
credential_provider_pool_identifier(CredentialProviderPoolIdentifier) –Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.
-
name(Optional[PoolName], default:None) –Rename the pool. If provided, MUST be unique within the account; omitting leaves the name unchanged.
-
encryption_configuration(Optional[EncryptionConfiguration], default:None) –Changes how cached tokens are encrypted at rest for the providers in this pool. Use it to move between a customer managed key and a service-owned key, or to point at a different customer managed key. Omit to leave the current configuration unchanged. Providers that override the pool with a key of their own are unaffected.
-
identity_center_update(Optional[IdentityCenterUpdate], default:None) –Identity Center update action. Omit to preserve existing binding.
Raises:
-
AccessDeniedException–The caller is not authorized to perform the request, or a resource the request depends on refused access.
reasondistinguishes a denial by this service from a denial reported by a dependency the caller configured, such as a customer-owned secret, KMS key, or external identity provider, which usually points at a permission or configuration fix outside this API. -
ConflictException–The request conflicts with the current state of the resource. Nothing was changed. Depending on
reason, the request may succeed if retried once the resource reaches a settled state, or it may require different input (for example a name that is not already taken). -
InternalServerException–The request failed because of an unexpected error in the service. Whether the request took effect is undefined, so for a create or update, read the resource back before retrying. Retryable: the same request may succeed later.
-
ResourceNotFoundException–The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.
-
ServiceQuotaExceededException–The request would exceed a service quota, so it was rejected and nothing was created or changed. Delete resources that are no longer needed, or request a quota increase in Service Quotas using
serviceCodeandquotaCode, then retry. -
ThrottlingException–The request was denied because the caller exceeded a request rate limit. Nothing was changed. Retry with exponential backoff, honoring
retryAfterSecondswhen it is present. -
ValidationException–The request is not valid. The request was rejected before any change was made, so it is safe to correct the input and retry. Use
reasonto branch in code andmessagefor the human-readable detail of which field or combination of fields was at fault. -
UnknownServiceError–The service returned an error code this client does not model.