list_credential_providers
¶
list_credential_providers(
credential_provider_pool_identifier: CredentialProviderPoolIdentifier,
*,
config_overrides: Optional[CredentialBrokerControlClientConfig] = None,
name_contains: Optional[NameFilter] = None,
provider_types: Optional[ProviderTypeFilter] = None,
max_results: Optional[int] = None,
next_token: Optional[PaginationToken] = None,
) -> ListCredentialProvidersResponse
Lists the CredentialProviders in a pool, optionally filtered by name substring and provider type. Each entry is a summary that omits the provider's type-specific configuration; call GetCredentialProvider for a single provider's full detail.
Results are returned in no particular order, and the order may change between calls. Do not rely on it.
Parameters:
-
credential_provider_pool_identifier(CredentialProviderPoolIdentifier) –Parent pool identifier. Accepts an ARN or service-generated ID.
-
name_contains(Optional[NameFilter], default:None) –Return only providers whose name contains this substring. Matching is case-sensitive. Omit to return providers of any name.
-
provider_types(Optional[ProviderTypeFilter], default:None) –Provider types to include. When omitted, all provider types are returned.
-
max_results(Optional[int], default:None) –The maximum number of providers 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. -
next_token(Optional[PaginationToken], default:None) –Continues a previous
ListCredentialProviderscall. 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.
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.
-
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.
Source code in docs_src/capo_credentialbroker_control/_services/credential_broker_control.py
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 | |