PutFunctionEventInvokeConfigRequest
public struct PutFunctionEventInvokeConfigRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A destination for events after they have been sent to a function for processing. Destinations Function - The Amazon Resource Name (ARN) of a Lambda function. Queue - The ARN of an SQS queue. Topic - The ARN of an SNS topic. Event Bus - The ARN of an Amazon EventBridge event bus.
Declaration
Swift
public let destinationConfig: DestinationConfig?
-
The name of the Lambda function, version, or alias. Name formats Function name - my-function (name-only), my-function:v1 (with alias). Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN - 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Declaration
Swift
public let functionName: String
-
The maximum age of a request that Lambda sends to a function for processing.
Declaration
Swift
public let maximumEventAgeInSeconds: Int?
-
The maximum number of times to retry when the function returns an error.
Declaration
Swift
public let maximumRetryAttempts: Int?
-
A version number or alias name.
Declaration
Swift
public let qualifier: String?
-
Undocumented
Declaration
Swift
public init(destinationConfig: DestinationConfig? = nil, functionName: String, maximumEventAgeInSeconds: Int? = nil, maximumRetryAttempts: Int? = nil, qualifier: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws