:doc:`S3Control <../../s3control>` / Client / get_access_point_policy_for_object_lambda

*****************************************
get_access_point_policy_for_object_lambda
*****************************************



.. py:method:: S3Control.Client.get_access_point_policy_for_object_lambda(**kwargs)

  

  .. note::

    

    This operation is not supported by directory buckets.

    

   

  Returns the resource policy for an Object Lambda Access Point.

   

  The following actions are related to ``GetAccessPointPolicyForObjectLambda``:

   

  
  * `DeleteAccessPointPolicyForObjectLambda <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html>`__
   
  * `PutAccessPointPolicyForObjectLambda <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html>`__
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda>`_  


  **Request Syntax**
  ::

    response = client.get_access_point_policy_for_object_lambda(
        AccountId='string',
        Name='string'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The account ID for the account that owns the specified Object Lambda Access Point.

    

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the Object Lambda Access Point.

    

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

    
    ::

      {
          'Policy': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Policy** *(string) --* 

        Object Lambda Access Point resource policy document.

        
  