PutAccessPointConfigurationForObjectLambda - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

PutAccessPointConfigurationForObjectLambda

Note

Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - Amazon S3 Object Lambda availability change.

Note

This operation is not supported by directory buckets.

Replaces configuration for an Object Lambda Access Point.

The following actions are related to PutAccessPointConfigurationForObjectLambda:

Important

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

Request Syntax

PUT /v20180820/accesspointforobjectlambda/name/configuration HTTP/1.1 Host: s3-control.amazonaws.com.cn x-amz-account-id: AccountId <?xml version="1.0" encoding="UTF-8"?> <PutAccessPointConfigurationForObjectLambdaRequest xmlns="http://awss3control.amazonaws.com/doc/2018-08-20/"> <Configuration> <AllowedFeatures> <AllowedFeature>string</AllowedFeature> </AllowedFeatures> <CloudWatchMetricsEnabled>boolean</CloudWatchMetricsEnabled> <SupportingAccessPoint>string</SupportingAccessPoint> <TransformationConfigurations> <TransformationConfiguration> <Actions> <Action>string</Action> </Actions> <ContentTransformation> <AwsLambda> <FunctionArn>string</FunctionArn> <FunctionPayload>string</FunctionPayload> </AwsLambda> </ContentTransformation> </TransformationConfiguration> </TransformationConfigurations> </Configuration> </PutAccessPointConfigurationForObjectLambdaRequest>

URI Request Parameters

The request uses the following URI parameters.

name

The name of the Object Lambda Access Point.

Length Constraints: Minimum length of 3. Maximum length of 45.

Pattern: ^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$

Required: Yes

x-amz-account-id

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

Length Constraints: Maximum length of 64.

Pattern: ^\d{12}$

Required: Yes

Request Body

The request accepts the following data in XML format.

PutAccessPointConfigurationForObjectLambdaRequest

Root level tag for the PutAccessPointConfigurationForObjectLambdaRequest parameters.

Required: Yes

Configuration

Object Lambda Access Point configuration document.

Type: ObjectLambdaConfiguration data type

Required: Yes

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: