IAM / Client / delete_open_id_connect_provider

delete_open_id_connect_provider#

IAM.Client.delete_open_id_connect_provider(**kwargs)#

Deletes an OpenID Connect identity provider (IdP) resource object in IAM.

Deleting an IAM OIDC provider resource does not update any roles that reference the provider as a principal in their trust policies. Any attempt to assume a role that references a deleted provider fails.

This operation is idempotent; it does not fail or return an error if you call the operation for a provider that does not exist.

See also: AWS API Documentation

Request Syntax

response = client.delete_open_id_connect_provider(
    OpenIDConnectProviderArn='string'
)
Parameters:

OpenIDConnectProviderArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the IAM OpenID Connect provider resource object to delete. You can get a list of OpenID Connect provider resource ARNs by using the ListOpenIDConnectProviders operation.

Returns:

None

Exceptions

  • IAM.Client.exceptions.InvalidInputException

  • IAM.Client.exceptions.NoSuchEntityException

  • IAM.Client.exceptions.ServiceFailureException