InvocationResponse

public struct InvocationResponse : AWSShape

Undocumented

  • The key for the payload

    Declaration

    Swift

    public static let payloadPath: String?
  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

    Declaration

    Swift

    public let executedVersion: String?
  • If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

    Declaration

    Swift

    public let functionError: String?
  • The last 4 KB of the execution log, which is base64 encoded.

    Declaration

    Swift

    public let logResult: String?
  • The response from the function, or an error object.

    Declaration

    Swift

    public let payload: Data?
  • The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.

    Declaration

    Swift

    public let statusCode: Int?
  • Undocumented

    Declaration

    Swift

    public init(executedVersion: String? = nil, functionError: String? = nil, logResult: String? = nil, payload: Data? = nil, statusCode: Int? = nil)