delete_credential_provider_pool
async
¶
delete_credential_provider_pool(
credential_provider_pool_identifier: CredentialProviderPoolIdentifier,
*,
config_overrides: Optional[AsyncCredentialBrokerControlClientConfig] = None,
) -> DeleteCredentialProviderPoolResponse
Deletes a CredentialProviderPool. Deletion is asynchronous; the pool transitions to DELETING.
The operation is idempotent. Poll GetCredentialProviderPool until it returns a resource-not-found error to observe that deletion has finished.
Required permissions: in addition to permission for this operation, the service performs sso:DeleteApplication on your behalf, but only when the pool is associated with an IAM Identity Center instance.
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.
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.
-
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.