| Package | Description |
|---|---|
| software.amazon.awssdk.services.lambda |
|
| software.amazon.awssdk.services.lambda.model |
| Modifier and Type | Method and Description |
|---|---|
default CreateEventSourceMappingResponse |
LambdaClient.createEventSourceMapping(Consumer<CreateEventSourceMappingRequest.Builder> createEventSourceMappingRequest)
Creates a mapping between an event source and an AWS Lambda function.
|
default CompletableFuture<CreateEventSourceMappingResponse> |
LambdaAsyncClient.createEventSourceMapping(Consumer<CreateEventSourceMappingRequest.Builder> createEventSourceMappingRequest)
Creates a mapping between an event source and an AWS Lambda function.
|
| Modifier and Type | Method and Description |
|---|---|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.batchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
|
static CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.builder() |
default CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.destinationConfig(DestinationConfig destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.enabled(Boolean enabled)
Disables the event source mapping to pause polling and invocation.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.eventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.functionName(String functionName)
The name of the Lambda function.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.maximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) The maximum age of a record that Lambda sends to a function for processing.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.maximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) The maximum number of times to retry when the function returns an error.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.parallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.startingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.startingPosition(String startingPosition)
The position in a stream from which to start reading.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.startingPositionTimestamp(Instant startingPositionTimestamp)
With
StartingPosition set to AT_TIMESTAMP, the time from which to start reading. |
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CreateEventSourceMappingRequest.Builder> |
CreateEventSourceMappingRequest.serializableBuilderClass() |
Copyright © 2020. All rights reserved.