put_access_point_configuration_for_object_lambda

S3Control.Client.put_access_point_configuration_for_object_lambda(**kwargs)

Replaces configuration for an Object Lambda Access Point.

The following actions are related to PutAccessPointConfigurationForObjectLambda :

See also: AWS API Documentation

Request Syntax

response = client.put_access_point_configuration_for_object_lambda(
    AccountId='string',
    Name='string',
    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'
                    }
                }
            },
        ]
    }
)
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.

  • Configuration (dict) --

    [REQUIRED]

    Object Lambda Access Point configuration document.

    • SupportingAccessPoint (string) -- [REQUIRED]

      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) -- [REQUIRED]

      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) -- [REQUIRED]

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

          • (string) --
        • ContentTransformation (dict) -- [REQUIRED]

          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 can be set: AwsLambda.

          • AwsLambda (dict) --

            A container for an Lambda function.

            • FunctionArn (string) -- [REQUIRED]

              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.

Returns

None