AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
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.

Namespace: Amazon.IdentityManagement
Assembly: AWSSDK.dll
Version: (assembly version)


public virtual DeleteOpenIDConnectProviderResponse DeleteOpenIDConnectProvider(
         DeleteOpenIDConnectProviderRequest request


Type: Amazon.IdentityManagement.Model.DeleteOpenIDConnectProviderRequest

Container for the necessary parameters to execute the DeleteOpenIDConnectProvider service method.

Return Value
Type: Amazon.IdentityManagement.Model.DeleteOpenIDConnectProviderResponse
The response from the DeleteOpenIDConnectProvider service method, as returned by IdentityManagementService.


InvalidInputException The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
NoSuchEntityException The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
ServiceFailureException The request processing has failed because of an unknown error, exception or failure.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5