/AWS1/CL_S3CLAMBDAINVOKEOP¶
Contains the configuration parameters for a Lambda Invoke operation.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_functionarn TYPE /AWS1/S3CFUNCTIONARNSTRING /AWS1/S3CFUNCTIONARNSTRING¶
The Amazon Resource Name (ARN) for the Lambda function that the specified job will invoke on every object in the manifest.
iv_invocationschemaversion TYPE /AWS1/S3CNONEMPTYMAXLENGTH6400 /AWS1/S3CNONEMPTYMAXLENGTH6400¶
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.
it_userarguments TYPE /AWS1/CL_S3CUSERARGUMENTS_W=>TT_USERARGUMENTS TT_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.
Queryable Attributes¶
FunctionArn¶
The Amazon Resource Name (ARN) for the Lambda function that the specified job will invoke on every object in the manifest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FUNCTIONARN() |
Getter for FUNCTIONARN, with configurable default |
ASK_FUNCTIONARN() |
Getter for FUNCTIONARN w/ exceptions if field has no value |
HAS_FUNCTIONARN() |
Determine if FUNCTIONARN has a value |
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INVOCATIONSCHEMAVERSION() |
Getter for INVOCATIONSCHEMAVERSION, with configurable defaul |
ASK_INVOCATIONSCHEMAVERSION() |
Getter for INVOCATIONSCHEMAVERSION w/ exceptions if field ha |
HAS_INVOCATIONSCHEMAVERSION() |
Determine if INVOCATIONSCHEMAVERSION has a value |
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_USERARGUMENTS() |
Getter for USERARGUMENTS, with configurable default |
ASK_USERARGUMENTS() |
Getter for USERARGUMENTS w/ exceptions if field has no value |
HAS_USERARGUMENTS() |
Determine if USERARGUMENTS has a value |