GatewayResponse
public struct GatewayResponse : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.
Declaration
Swift
public let defaultResponse: Bool?
-
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
Declaration
Swift
public let responseParameters: [String : String]?
-
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
Declaration
Swift
public let responseTemplates: [String : String]?
-
The response type of the associated GatewayResponse. Valid values are ACCESS_DENIEDAPI_CONFIGURATION_ERRORAUTHORIZER_FAILURE AUTHORIZER_CONFIGURATION_ERRORBAD_REQUEST_PARAMETERSBAD_REQUEST_BODYDEFAULT_4XXDEFAULT_5XXEXPIRED_TOKENINVALID_SIGNATUREINTEGRATION_FAILUREINTEGRATION_TIMEOUTINVALID_API_KEYMISSING_AUTHENTICATION_TOKEN QUOTA_EXCEEDEDREQUEST_TOO_LARGERESOURCE_NOT_FOUNDTHROTTLEDUNAUTHORIZEDUNSUPPORTED_MEDIA_TYPE
Declaration
Swift
public let responseType: GatewayResponseType?
-
The HTTP status code for this GatewayResponse.
Declaration
Swift
public let statusCode: String?
-
Undocumented
Declaration
Swift
public init(defaultResponse: Bool? = nil, responseParameters: [String : String]? = nil, responseTemplates: [String : String]? = nil, responseType: GatewayResponseType? = nil, statusCode: String? = nil)