PutAccessPointConfigurationForObjectLambda
Note
This operation is not supported by directory buckets.
Replaces configuration for an Object Lambda Access Point.
The following actions are related to
PutAccessPointConfigurationForObjectLambda
:
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: