Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the Amazon Web Services account.
IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see GetOpenIDConnectProvider.
Raises:
Source code in docs_src/capo_iam/_services/iam.py
| def list_open_id_connect_providers(
self, *, config_overrides: Optional[IAMClientConfig] = None
) -> "capo_iam.types.list_open_id_connect_providers_response.ListOpenIDConnectProvidersResponse":
"""<p>Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the Amazon Web Services account.</p> <note> <p>IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOpenIDConnectProvider.html">GetOpenIDConnectProvider</a>.</p> </note>
Raises:
capo_iam.errors.service_failure_exception.ServiceFailureException: <p>The request processing has failed because of an unknown error, exception or failure.</p>
capo_iam.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_iam.types.list_open_id_connect_providers_request.ListOpenIDConnectProvidersRequest]",
) -> OperationResponse[
"capo_iam.types.list_open_id_connect_providers_response.ListOpenIDConnectProvidersResponse"
]:
import capo_iam._operations.aws_identity_management_v20100508.list_open_id_connect_providers
output, http_response = (
capo_iam._operations.aws_identity_management_v20100508.list_open_id_connect_providers.list_open_id_connect_providers(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ListOpenIDConnectProviders")
)
input_: capo_iam.types.list_open_id_connect_providers_request.ListOpenIDConnectProvidersRequest = {}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|