S3Control / Client / get_access_point_policy_for_object_lambda

get_access_point_policy_for_object_lambda#

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:

See also: AWS API Documentation

Request Syntax

response = client.get_access_point_policy_for_object_lambda(
    AccountId='string',
    Name='string'
)
Parameters:
  • AccountId (string) –

    [REQUIRED]

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

  • Name (string) –

    [REQUIRED]

    The name of the Object Lambda Access Point.

Return type:

dict

Returns:

Response Syntax

{
    'Policy': 'string'
}

Response Structure

  • (dict) –

    • Policy (string) –

      Object Lambda Access Point resource policy document.