PutGatewayResponseRequest
public struct PutGatewayResponseRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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]?
-
[Required] 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
-
[Required] The string identifier of the associated RestApi.
Declaration
Swift
public let restApiId: String
-
The HTTP status code of the GatewayResponse.
Declaration
Swift
public let statusCode: String?
-
Undocumented
Declaration
Swift
public init(responseParameters: [String : String]? = nil, responseTemplates: [String : String]? = nil, responseType: GatewayResponseType, restApiId: String, statusCode: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws