:doc:`CloudFront <../../cloudfront>` / Client / delete_cloud_front_origin_access_identity

*****************************************
delete_cloud_front_origin_access_identity
*****************************************



.. py:method:: CloudFront.Client.delete_cloud_front_origin_access_identity(**kwargs)

  

  Delete an origin access identity.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity>`_  


  **Request Syntax**
  ::

    response = client.delete_cloud_front_origin_access_identity(
        Id='string',
        IfMatch='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The origin access identity's ID.

    

  
  :type IfMatch: string
  :param IfMatch: 

    The value of the ``ETag`` header you received from a previous ``GET`` or ``PUT`` request. For example: ``E2QWRUHAPOMQZL``.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CloudFront.Client.exceptions.PreconditionFailed`

  
  *   :py:class:`CloudFront.Client.exceptions.AccessDenied`

  
  *   :py:class:`CloudFront.Client.exceptions.CloudFrontOriginAccessIdentityInUse`

  
  *   :py:class:`CloudFront.Client.exceptions.InvalidIfMatchVersion`

  
  *   :py:class:`CloudFront.Client.exceptions.NoSuchCloudFrontOriginAccessIdentity`

  