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

*********************************************
get_cloud_front_origin_access_identity_config
*********************************************



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

  

  Get the configuration information about an origin access identity.

  

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


  **Request Syntax**
  ::

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

    The identity's ID.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'CloudFrontOriginAccessIdentityConfig': {
              'CallerReference': 'string',
              'Comment': 'string'
          },
          'ETag': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The returned result of the corresponding request.

      
      

      - **CloudFrontOriginAccessIdentityConfig** *(dict) --* 

        The origin access identity's configuration information.

        
        

        - **CallerReference** *(string) --* 

          A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

           

          If the value of ``CallerReference`` is new (regardless of the content of the ``CloudFrontOriginAccessIdentityConfig`` object), a new origin access identity is created.

           

          If the ``CallerReference`` is a value already sent in a previous identity request, and the content of the ``CloudFrontOriginAccessIdentityConfig`` is identical to the original request (ignoring white space), the response includes the same information returned to the original request.

           

          If the ``CallerReference`` is a value you already sent in a previous request to create an identity, but the content of the ``CloudFrontOriginAccessIdentityConfig`` is different from the original request, CloudFront returns a ``CloudFrontOriginAccessIdentityAlreadyExists`` error.

          
        

        - **Comment** *(string) --* 

          A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

          
    
      

      - **ETag** *(string) --* 

        The current version of the configuration. For example: ``E2QWRUHAPOMQZL``.

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

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

  