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

*****************************************
put_access_point_policy_for_object_lambda
*****************************************



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

  

  .. note::

    

    This operation is not supported by directory buckets.

    

   

  Creates or replaces resource policy for an Object Lambda Access Point. For an example policy, see `Creating Object Lambda Access Points <https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli>`__ in the *Amazon S3 User Guide*.

   

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

   

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

  

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


  **Request Syntax**
  ::

    response = client.put_access_point_policy_for_object_lambda(
        AccountId='string',
        Name='string',
        Policy='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.

    

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

    Object Lambda Access Point resource policy document.

    

  
  
  :returns: None