import * as core from "@terrascript/core"; export interface IntegrationResponseArgs extends core.ResourceArgs { /** * (Optional) Specifies how to handle request payload content type conversions. Supported values are `C * ONVERT_TO_BINARY` and `CONVERT_TO_TEXT`. If this property is not defined, the response payload will * be passed through from the integration response to the method response without modification. */ contentHandling?: string | core.StringOut; /** * (Required) The HTTP method (`GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `OPTIONS`, `ANY`) */ httpMethod: string | core.StringOut; /** * (Required) The API resource ID */ resourceId: string | core.StringOut; /** * (Optional) A map of response parameters that can be read from the backend response. */ responseParameters?: core.Map | core.MapOut; /** * (Optional) A map specifying the templates used to transform the integration response body */ responseTemplates?: core.Map | core.MapOut; /** * (Required) The ID of the associated REST API */ restApiId: string | core.StringOut; /** * (Optional) Specifies the regular expression pattern used to choose */ selectionPattern?: string | core.StringOut; /** * (Required) The HTTP status code */ statusCode: string | core.StringOut; } export declare class IntegrationResponse extends core.Resource { /** * (Optional) Specifies how to handle request payload content type conversions. Supported values are `C * ONVERT_TO_BINARY` and `CONVERT_TO_TEXT`. If this property is not defined, the response payload will * be passed through from the integration response to the method response without modification. */ contentHandling?: string | core.StringOut; /** * (Required) The HTTP method (`GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `OPTIONS`, `ANY`) */ httpMethod: string | core.StringOut; id: string | core.StringOut; /** * (Required) The API resource ID */ resourceId: string | core.StringOut; /** * (Optional) A map of response parameters that can be read from the backend response. */ responseParameters?: core.Map | core.MapOut; /** * (Optional) A map specifying the templates used to transform the integration response body */ responseTemplates?: core.Map | core.MapOut; /** * (Required) The ID of the associated REST API */ restApiId: string | core.StringOut; /** * (Optional) Specifies the regular expression pattern used to choose */ selectionPattern?: string | core.StringOut; /** * (Required) The HTTP status code */ statusCode: string | core.StringOut; constructor(name: string, args?: IntegrationResponseArgs); getNamespace(): string; } //# sourceMappingURL=integration_response.d.ts.map