list_credential_provider_pools
¶
list_credential_provider_pools(
*,
config_overrides: Optional[CredentialBrokerControlClientConfig] = None,
name_contains: Optional[NameFilter] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[int] = None,
) -> ListCredentialProviderPoolsResponse
Lists the CredentialProviderPools in your account, optionally filtered by name substring. Each entry is a summary that omits the pool's encryption and IAM Identity Center configuration; call GetCredentialProviderPool for a single pool's full detail.
Parameters:
-
name_contains(Optional[NameFilter], default:None) –Return only pools whose name contains this substring. Matching is case-sensitive. Omit to return pools of any name.
-
next_token(Optional[PaginationToken], default:None) –Continues a previous
ListCredentialProviderPoolscall. Set it to thenextTokenthe previous response returned, passed back unchanged. Valid only when you received anextToken; there is no dedicated error for a token that is invalid or no longer current, so one is rejected asValidationException. -
max_results(Optional[int], default:None) –The maximum number of pools to return in one page. The service might return fewer than the number you request even when more results are available, so check
nextTokenon every response rather than inferring from the number of items returned.
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. -
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.
-
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.