Skip to content

IAM  >  Operations  >  delete_open_id_connect_provider

delete_open_id_connect_provider

Operation

delete_open_id_connect_provider async

delete_open_id_connect_provider(request: DeleteOpenIDConnectProviderInput | DeleteOpenIDConnectProviderInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteOpenIDConnectProviderOutput
delete_open_id_connect_provider(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteOpenIDConnectProviderInputDict]) -> DeleteOpenIDConnectProviderOutput

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.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteOpenIDConnectProviderOutput

An instance of DeleteOpenIDConnectProviderOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

DeleteOpenIDConnectProviderInput dataclass

Bases: _SerdeShape

Dataclass for DeleteOpenIDConnectProviderInput structure.

Attributes
open_id_connect_provider_arn class-attribute instance-attribute
open_id_connect_provider_arn: str | None = ...

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.

Dictionaries

DeleteOpenIDConnectProviderInputDict

Bases: TypedDict

Dictionary form of DeleteOpenIDConnectProviderInput.

Attributes
open_id_connect_provider_arn instance-attribute
open_id_connect_provider_arn: Required[str]

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.

Output

DeleteOpenIDConnectProviderOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteOpenIDConnectProviderOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.