Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PipeSourceDynamoDBStreamParameters = PipeSourceDynamoDBStreamParameters' {
- batchSize :: Maybe Natural
- deadLetterConfig :: Maybe DeadLetterConfig
- maximumBatchingWindowInSeconds :: Maybe Natural
- maximumRecordAgeInSeconds :: Maybe Int
- maximumRetryAttempts :: Maybe Int
- onPartialBatchItemFailure :: Maybe OnPartialBatchItemFailureStreams
- parallelizationFactor :: Maybe Natural
- startingPosition :: DynamoDBStreamStartPosition
- newPipeSourceDynamoDBStreamParameters :: DynamoDBStreamStartPosition -> PipeSourceDynamoDBStreamParameters
- pipeSourceDynamoDBStreamParameters_batchSize :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Natural)
- pipeSourceDynamoDBStreamParameters_deadLetterConfig :: Lens' PipeSourceDynamoDBStreamParameters (Maybe DeadLetterConfig)
- pipeSourceDynamoDBStreamParameters_maximumBatchingWindowInSeconds :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Natural)
- pipeSourceDynamoDBStreamParameters_maximumRecordAgeInSeconds :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Int)
- pipeSourceDynamoDBStreamParameters_maximumRetryAttempts :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Int)
- pipeSourceDynamoDBStreamParameters_onPartialBatchItemFailure :: Lens' PipeSourceDynamoDBStreamParameters (Maybe OnPartialBatchItemFailureStreams)
- pipeSourceDynamoDBStreamParameters_parallelizationFactor :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Natural)
- pipeSourceDynamoDBStreamParameters_startingPosition :: Lens' PipeSourceDynamoDBStreamParameters DynamoDBStreamStartPosition
Documentation
data PipeSourceDynamoDBStreamParameters Source #
The parameters for using a DynamoDB stream as a source.
See: newPipeSourceDynamoDBStreamParameters
smart constructor.
PipeSourceDynamoDBStreamParameters' | |
|
Instances
newPipeSourceDynamoDBStreamParameters Source #
Create a value of PipeSourceDynamoDBStreamParameters
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:batchSize:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_batchSize
- The maximum number of records to include in each batch.
$sel:deadLetterConfig:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_deadLetterConfig
- Define the target queue to send dead-letter queue events to.
$sel:maximumBatchingWindowInSeconds:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_maximumBatchingWindowInSeconds
- The maximum length of a time to wait for events.
$sel:maximumRecordAgeInSeconds:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, EventBridge never discards old records.
$sel:maximumRetryAttempts:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, EventBridge retries
failed records until the record expires in the event source.
$sel:onPartialBatchItemFailure:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_onPartialBatchItemFailure
- (Streams only) Define how to handle item process failures.
AUTOMATIC_BISECT
halves each batch and retry each half until all the
records are processed or there is one failed message left in the batch.
$sel:parallelizationFactor:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:startingPosition:PipeSourceDynamoDBStreamParameters'
, pipeSourceDynamoDBStreamParameters_startingPosition
- (Streams only) The position in a stream from which to start reading.
pipeSourceDynamoDBStreamParameters_batchSize :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Natural) Source #
The maximum number of records to include in each batch.
pipeSourceDynamoDBStreamParameters_deadLetterConfig :: Lens' PipeSourceDynamoDBStreamParameters (Maybe DeadLetterConfig) Source #
Define the target queue to send dead-letter queue events to.
pipeSourceDynamoDBStreamParameters_maximumBatchingWindowInSeconds :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Natural) Source #
The maximum length of a time to wait for events.
pipeSourceDynamoDBStreamParameters_maximumRecordAgeInSeconds :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Int) Source #
(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
pipeSourceDynamoDBStreamParameters_maximumRetryAttempts :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Int) Source #
(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
pipeSourceDynamoDBStreamParameters_onPartialBatchItemFailure :: Lens' PipeSourceDynamoDBStreamParameters (Maybe OnPartialBatchItemFailureStreams) Source #
(Streams only) Define how to handle item process failures.
AUTOMATIC_BISECT
halves each batch and retry each half until all the
records are processed or there is one failed message left in the batch.
pipeSourceDynamoDBStreamParameters_parallelizationFactor :: Lens' PipeSourceDynamoDBStreamParameters (Maybe Natural) Source #
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
pipeSourceDynamoDBStreamParameters_startingPosition :: Lens' PipeSourceDynamoDBStreamParameters DynamoDBStreamStartPosition Source #
(Streams only) The position in a stream from which to start reading.