EventSourceMappingConfiguration
public struct EventSourceMappingConfiguration : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The maximum number of items to retrieve in a single batch.
Declaration
Swift
public let batchSize: Int?
-
(Streams) If the function returns an error, split the batch in two and retry.
Declaration
Swift
public let bisectBatchOnFunctionError: Bool?
-
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
Declaration
Swift
public let destinationConfig: DestinationConfig?
-
The Amazon Resource Name (ARN) of the event source.
Declaration
Swift
public let eventSourceArn: String?
-
The ARN of the Lambda function.
Declaration
Swift
public let functionArn: String?
-
The date that the event source mapping was last updated, or its state changed.
Declaration
Swift
public let lastModified: TimeStamp?
-
The result of the last AWS Lambda invocation of your Lambda function.
Declaration
Swift
public let lastProcessingResult: String?
-
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
Declaration
Swift
public let maximumBatchingWindowInSeconds: Int?
-
(Streams) The maximum age of a record that Lambda sends to a function for processing.
Declaration
Swift
public let maximumRecordAgeInSeconds: Int?
-
(Streams) The maximum number of times to retry when the function returns an error.
Declaration
Swift
public let maximumRetryAttempts: Int?
-
(Streams) The number of batches to process from each shard concurrently.
Declaration
Swift
public let parallelizationFactor: Int?
-
The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.
Declaration
Swift
public let state: String?
-
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
Declaration
Swift
public let stateTransitionReason: String?
-
(MSK) The name of the Kafka topic.
Declaration
Swift
public let topics: [String]?
-
The identifier of the event source mapping.
Declaration
Swift
public let uuid: String?
-
init(batchSize:bisectBatchOnFunctionError:destinationConfig:eventSourceArn:functionArn:lastModified:lastProcessingResult:maximumBatchingWindowInSeconds:maximumRecordAgeInSeconds:maximumRetryAttempts:parallelizationFactor:state:stateTransitionReason:topics:uuid:)
Undocumented
Declaration
Swift
public init(batchSize: Int? = nil, bisectBatchOnFunctionError: Bool? = nil, destinationConfig: DestinationConfig? = nil, eventSourceArn: String? = nil, functionArn: String? = nil, lastModified: TimeStamp? = nil, lastProcessingResult: String? = nil, maximumBatchingWindowInSeconds: Int? = nil, maximumRecordAgeInSeconds: Int? = nil, maximumRetryAttempts: Int? = nil, parallelizationFactor: Int? = nil, state: String? = nil, stateTransitionReason: String? = nil, topics: [String]? = nil, uuid: String? = nil)