apigatewayv2_import_api: Imports an API
Description
Imports an API.
Usage
apigatewayv2_import_api(Basepath, Body, FailOnWarnings)
Arguments
Basepath
Represents the base path of the imported API. Supported only for HTTP
APIs.
Body
[required] The OpenAPI definition. Supported only for HTTP APIs.
FailOnWarnings
Specifies whether to rollback the API creation (true) or not (false)
when a warning is encountered. The default value is false.
Request syntax
svc$import_api(
Basepath = "string",
Body = "string",
FailOnWarnings = TRUE|FALSE
)