amazonka-iam-1.3.3: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Deletes an IAM OpenID Connect identity provider.

Deleting an OIDC provider 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 provider that has been deleted will fail.

This action is idempotent; it does not fail or return an error if you call the action for a provider that was already deleted.

See: AWS API Reference for DeleteOpenIdConnectProvider.


Creating a Request

deleteOpenIdConnectProvider Source

Creates a value of DeleteOpenIdConnectProvider with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

doicpOpenIdConnectProviderARN :: Lens' DeleteOpenIdConnectProvider Text Source

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

Destructuring the Response

deleteOpenIdConnectProviderResponse :: DeleteOpenIdConnectProviderResponse Source

Creates a value of DeleteOpenIdConnectProviderResponse with the minimum fields required to make a request.