NAME
Paws::Lambda::UpdateEventSourceMapping - Arguments for method UpdateEventSourceMapping on Paws::Lambda
DESCRIPTION
This class represents the parameters used for calling the method UpdateEventSourceMapping on the AWS Lambda service. Use the attributes of this class as arguments to method UpdateEventSourceMapping.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateEventSourceMapping.
SYNOPSIS
my $lambda = Paws->service('Lambda');
# To update a Lambda function event source mapping
# This operation updates a Lambda function event source mapping
my $EventSourceMappingConfiguration = $lambda->UpdateEventSourceMapping(
'BatchSize' => 123,
'Enabled' => 1,
'FunctionName' => 'myFunction',
'UUID' => '1234xCy789012'
);
# Results:
my $BatchSize = $EventSourceMappingConfiguration->BatchSize;
my $EventSourceArn = $EventSourceMappingConfiguration->EventSourceArn;
my $FunctionArn = $EventSourceMappingConfiguration->FunctionArn;
my $LastModified = $EventSourceMappingConfiguration->LastModified;
my $LastProcessingResult =
$EventSourceMappingConfiguration->LastProcessingResult;
my $State = $EventSourceMappingConfiguration->State;
my $StateTransitionReason =
$EventSourceMappingConfiguration->StateTransitionReason;
my $UUID = $EventSourceMappingConfiguration->UUID;
# Returns a L<Paws::Lambda::EventSourceMappingConfiguration> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/lambda/UpdateEventSourceMapping
ATTRIBUTES
BatchSize => Int
The maximum number of items to retrieve in a single batch.
Amazon Kinesis - Default 100. Max 10,000.
Amazon DynamoDB Streams - Default 100. Max 1,000.
Amazon Simple Queue Service - Default 10. Max 10.
BisectBatchOnFunctionError => Bool
(Streams) If the function returns an error, split the batch in two and retry.
DestinationConfig => Paws::Lambda::DestinationConfig
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
Enabled => Bool
Disables the event source mapping to pause polling and invocation.
FunctionName => Str
The name of the Lambda function.
Name formats
Function name -
MyFunction.Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction.Version or Alias ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
MaximumBatchingWindowInSeconds => Int
The maximum amount of time to gather records before invoking the function, in seconds.
MaximumRecordAgeInSeconds => Int
(Streams) The maximum age of a record that Lambda sends to a function for processing.
MaximumRetryAttempts => Int
(Streams) The maximum number of times to retry when the function returns an error.
ParallelizationFactor => Int
(Streams) The number of batches to process from each shard concurrently.
REQUIRED UUID => Str
The identifier of the event source mapping.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateEventSourceMapping in Paws::Lambda
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues