Values.ReimportApiResponseSourcePuts an Api resource.
type nonrec t = {apiEndpoint : string option;The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.
*)apiGatewayManaged : bool option;Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
*)apiId : Id.t option;The API ID.
*)apiKeySelectionExpression : SelectionExpression.t option;An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.
*)corsConfiguration : Cors.t option;A CORS configuration. Supported only for HTTP APIs.
*)createdDate : string option;The timestamp when the API was created.
*)description : StringWithLengthBetween0And1024.t option;The description of the API.
*)disableSchemaValidation : bool option;Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
*)disableExecuteApiEndpoint : bool option;Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
*)importInfo : string list option;The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.
*)ipAddressType : IpAddressType.t option;The IP address types that can invoke the API.
*)name : StringWithLengthBetween1And128.t option;The name of the API.
*)protocolType : ProtocolType.t option;The API protocol.
*)routeSelectionExpression : SelectionExpression.t option;The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.
*)version : StringWithLengthBetween1And64.t option;A version identifier for the API.
*)warnings : string list option;The warning messages reported when failonwarnings is turned on during API import.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `ConflictException of ConflictException.t| `NotFoundException of NotFoundException.t| `TooManyRequestsException of TooManyRequestsException.t| `Unknown_operation_error of string * string option ]val make :
?apiEndpoint:??? ->
?apiGatewayManaged:??? ->
?apiId:??? ->
?apiKeySelectionExpression:??? ->
?corsConfiguration:??? ->
?createdDate:??? ->
?description:??? ->
?disableSchemaValidation:??? ->
?disableExecuteApiEndpoint:??? ->
?importInfo:??? ->
?ipAddressType:??? ->
?name:??? ->
?protocolType:??? ->
?routeSelectionExpression:??? ->
?tags:??? ->
?version:??? ->
?warnings:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `ConflictException of ConflictException.t
| `NotFoundException of NotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `ConflictException of ConflictException.t
| `NotFoundException of NotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `List of [> `String of string ] list
| `Map of
([> `String of string ]
* [> `String of StringWithLengthBetween1And1600.t ])
list
| `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Integer of IntegerWithLengthBetweenMinus1And86400.t
| `List of [> `String of string ] list ])
list
| `Timestamp of string ])
list ]