TestInvokeMethodRequest

public struct TestInvokeMethodRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The simulated request body of an incoming invocation request.

    Declaration

    Swift

    public let body: String?
  • A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.

    Declaration

    Swift

    public let clientCertificateId: String?
  • A key-value map of headers to simulate an incoming invocation request.

    Declaration

    Swift

    public let headers: [String : String]?
  • [Required] Specifies a test invoke method request’s HTTP method.

    Declaration

    Swift

    public let httpMethod: String
  • The headers as a map from string to list of values to simulate an incoming invocation request.

    Declaration

    Swift

    public let multiValueHeaders: [String : [String]]?
  • The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

    Declaration

    Swift

    public let pathWithQueryString: String?
  • [Required] Specifies a test invoke method request’s resource ID.

    Declaration

    Swift

    public let resourceId: String
  • [Required] The string identifier of the associated RestApi.

    Declaration

    Swift

    public let restApiId: String
  • A key-value map of stage variables to simulate an invocation on a deployed Stage.

    Declaration

    Swift

    public let stageVariables: [String : String]?
  • Undocumented

    Declaration

    Swift

    public init(body: String? = nil, clientCertificateId: String? = nil, headers: [String : String]? = nil, httpMethod: String, multiValueHeaders: [String : [String]]? = nil, pathWithQueryString: String? = nil, resourceId: String, restApiId: String, stageVariables: [String : String]? = nil)