UpdateEventSourceMappingRequest

public struct UpdateEventSourceMappingRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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. Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.

    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?
  • If true, the event source mapping is active. Set to false to pause polling and invocation.

    Declaration

    Swift

    public let enabled: Bool?
  • 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.

    Declaration

    Swift

    public let functionName: String?
  • (Streams) The maximum amount of time to gather records before invoking the function, in seconds.

    Declaration

    Swift

    public let maximumBatchingWindowInSeconds: Int?
  • (Streams) Discard records older than the specified age. The default value is infinite (-1).

    Declaration

    Swift

    public let maximumRecordAgeInSeconds: Int?
  • (Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

    Declaration

    Swift

    public let maximumRetryAttempts: Int?
  • (Streams) The number of batches to process from each shard concurrently.

    Declaration

    Swift

    public let parallelizationFactor: Int?
  • The identifier of the event source mapping.

    Declaration

    Swift

    public let uuid: String
  • Undocumented

    Declaration

    Swift

    public init(batchSize: Int? = nil, bisectBatchOnFunctionError: Bool? = nil, destinationConfig: DestinationConfig? = nil, enabled: Bool? = nil, functionName: String? = nil, maximumBatchingWindowInSeconds: Int? = nil, maximumRecordAgeInSeconds: Int? = nil, maximumRetryAttempts: Int? = nil, parallelizationFactor: Int? = nil, uuid: String)
  • Declaration

    Swift

    public func validate(name: String) throws