AWSLambdaInvocationResponse
Objective-C
@interface AWSLambdaInvocationResponse
Swift
class AWSLambdaInvocationResponse
-
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable executedVersion;
Swift
var executedVersion: String? { get set }
-
If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable functionError;
Swift
var functionError: String? { get set }
-
The last 4 KB of the execution log, which is base64-encoded.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable logResult;
Swift
var logResult: String? { get set }
-
The response from the function, or an error object.
Declaration
Objective-C
@property (nonatomic, strong) id _Nullable payload;
Swift
var payload: Any? { get set }
-
The HTTP status code is in the 200 range for a successful request. For the
RequestResponse
invocation type, this status code is 200. For theEvent
invocation type, this status code is 202. For theDryRun
invocation type, the status code is 204.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable statusCode;
Swift
var statusCode: NSNumber? { get set }