S3Control / Client / get_access_point_configuration_for_object_lambda

get_access_point_configuration_for_object_lambda#

S3Control.Client.get_access_point_configuration_for_object_lambda(**kwargs)#

Note

This operation is not supported by directory buckets.

Returns configuration for an Object Lambda Access Point.

The following actions are related to GetAccessPointConfigurationForObjectLambda:

See also: AWS API Documentation

Request Syntax

response = client.get_access_point_configuration_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 you want to return the configuration for.

Return type:

dict

Returns:

Response Syntax

{
    'Configuration': {
        'SupportingAccessPoint': 'string',
        'CloudWatchMetricsEnabled': True|False,
        'AllowedFeatures': [
            'GetObject-Range'|'GetObject-PartNumber'|'HeadObject-Range'|'HeadObject-PartNumber',
        ],
        'TransformationConfigurations': [
            {
                'Actions': [
                    'GetObject'|'HeadObject'|'ListObjects'|'ListObjectsV2',
                ],
                'ContentTransformation': {
                    'AwsLambda': {
                        'FunctionArn': 'string',
                        'FunctionPayload': 'string'
                    }
                }
            },
        ]
    }
}

Response Structure

  • (dict) –

    • Configuration (dict) –

      Object Lambda Access Point configuration document.

      • SupportingAccessPoint (string) –

        Standard access point associated with the Object Lambda Access Point.

      • CloudWatchMetricsEnabled (boolean) –

        A container for whether the CloudWatch metrics configuration is enabled.

      • AllowedFeatures (list) –

        A container for allowed features. Valid inputs are GetObject-Range, GetObject-PartNumber, HeadObject-Range, and HeadObject-PartNumber.

        • (string) –

      • TransformationConfigurations (list) –

        A container for transformation configurations for an Object Lambda Access Point.

        • (dict) –

          A configuration used when creating an Object Lambda Access Point transformation.

          • Actions (list) –

            A container for the action of an Object Lambda Access Point configuration. Valid inputs are GetObject, ListObjects, HeadObject, and ListObjectsV2.

            • (string) –

          • ContentTransformation (dict) –

            A container for the content transformation of an Object Lambda Access Point configuration.

            Note

            This is a Tagged Union structure. Only one of the following top level keys will be set: AwsLambda. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

            'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
            
            • AwsLambda (dict) –

              A container for an Lambda function.

              • FunctionArn (string) –

                The Amazon Resource Name (ARN) of the Lambda function.

              • FunctionPayload (string) –

                Additional JSON that provides supplemental data to the Lambda function used to transform objects.