:doc:`Omics <../../omics>` / Client / get_s3_access_policy

********************
get_s3_access_policy
********************



.. py:method:: Omics.Client.get_s3_access_policy(**kwargs)

  

  Retrieves details about an access policy on a given store.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetS3AccessPolicy>`_  


  **Request Syntax**
  ::

    response = client.get_s3_access_policy(
        s3AccessPointArn='string'
    )
    
  :type s3AccessPointArn: string
  :param s3AccessPointArn: **[REQUIRED]** 

    The S3 access point ARN that has the access policy.

    

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

    
    ::

      {
          's3AccessPointArn': 'string',
          'storeId': 'string',
          'storeType': 'SEQUENCE_STORE'|'REFERENCE_STORE',
          'updateTime': datetime(2015, 1, 1),
          's3AccessPolicy': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **s3AccessPointArn** *(string) --* 

        The S3 access point ARN that has the access policy.

        
      

      - **storeId** *(string) --* 

        The Amazon Web Services-generated Sequence Store or Reference Store ID.

        
      

      - **storeType** *(string) --* 

        The type of store associated with the access point.

        
      

      - **updateTime** *(datetime) --* 

        The time when the policy was last updated.

        
      

      - **s3AccessPolicy** *(string) --* 

        The current resource policy that controls S3 access on the store.

        
  
  **Exceptions**
  
  *   :py:class:`Omics.Client.exceptions.NotSupportedOperationException`

  
  *   :py:class:`Omics.Client.exceptions.InternalServerException`

  
  *   :py:class:`Omics.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Omics.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Omics.Client.exceptions.ValidationException`

  
  *   :py:class:`Omics.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Omics.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Omics.Client.exceptions.RequestTimeoutException`

  