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:Warning
You must URL encode any signed header values that contain spaces. For example, if your header value is
my file.txt, containing two spaces aftermy, you must URL encode this value tomy%20%20file.txt.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.