:doc:`IAM <../../iam>` / Client / delete_open_id_connect_provider

*******************************
delete_open_id_connect_provider
*******************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProvider>`_  


  **Request Syntax**
  ::

    response = client.delete_open_id_connect_provider(
        OpenIDConnectProviderArn='string'
    )
    
  :type OpenIDConnectProviderArn: string
  :param OpenIDConnectProviderArn: **[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 <https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html>`__ operation.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`IAM.Client.exceptions.InvalidInputException`

  
  *   :py:class:`IAM.Client.exceptions.NoSuchEntityException`

  
  *   :py:class:`IAM.Client.exceptions.ServiceFailureException`

  