Interface LambdaInvokeOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaInvokeOperation.Builder,,LambdaInvokeOperation> SdkBuilder<LambdaInvokeOperation.Builder,,LambdaInvokeOperation> SdkPojo
- Enclosing class:
LambdaInvokeOperation
-
Method Summary
Modifier and TypeMethodDescriptionfunctionArn(String functionArn) The Amazon Resource Name (ARN) for the Lambda function that the specified job will invoke on every object in the manifest.invocationSchemaVersion(String invocationSchemaVersion) Specifies the schema version for the payload that Batch Operations sends when invoking an Lambda function.userArguments(Map<String, String> userArguments) Key-value pairs that are passed in the payload that Batch Operations sends when invoking an Lambda function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
functionArn
The Amazon Resource Name (ARN) for the Lambda function that the specified job will invoke on every object in the manifest.
- Parameters:
functionArn- The Amazon Resource Name (ARN) for the Lambda function that the specified job will invoke on every object in the manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationSchemaVersion
Specifies the schema version for the payload that Batch Operations sends when invoking an Lambda function. Version
1.0is the default. Version2.0is required when you use Batch Operations to invoke Lambda functions that act on directory buckets, or if you need to specifyUserArguments. For more information, see Automate object processing in Amazon S3 directory buckets with S3 Batch Operations and Lambda in the Amazon Web Services Storage Blog.Ensure that your Lambda function code expects
InvocationSchemaVersion2.0 and uses bucket name rather than bucket ARN. If theInvocationSchemaVersiondoes not match what your Lambda function expects, your function might not work as expected.Directory buckets - To initiate Amazon Web Services Lambda function to perform custom actions on objects in directory buckets, you must specify
2.0.- Parameters:
invocationSchemaVersion- Specifies the schema version for the payload that Batch Operations sends when invoking an Lambda function. Version1.0is the default. Version2.0is required when you use Batch Operations to invoke Lambda functions that act on directory buckets, or if you need to specifyUserArguments. For more information, see Automate object processing in Amazon S3 directory buckets with S3 Batch Operations and Lambda in the Amazon Web Services Storage Blog.Ensure that your Lambda function code expects
InvocationSchemaVersion2.0 and uses bucket name rather than bucket ARN. If theInvocationSchemaVersiondoes not match what your Lambda function expects, your function might not work as expected.Directory buckets - To initiate Amazon Web Services Lambda function to perform custom actions on objects in directory buckets, you must specify
2.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userArguments
Key-value pairs that are passed in the payload that Batch Operations sends when invoking an Lambda function. You must specify
InvocationSchemaVersion2.0 forLambdaInvokeoperations that includeUserArguments. For more information, see Automate object processing in Amazon S3 directory buckets with S3 Batch Operations and Lambda in the Amazon Web Services Storage Blog.- Parameters:
userArguments- Key-value pairs that are passed in the payload that Batch Operations sends when invoking an Lambda function. You must specifyInvocationSchemaVersion2.0 forLambdaInvokeoperations that includeUserArguments. For more information, see Automate object processing in Amazon S3 directory buckets with S3 Batch Operations and Lambda in the Amazon Web Services Storage Blog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-