AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ImportRestApi operation. A feature of the API Gateway control service for creating a new API from an external API definition file.
Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z
public class ImportRestApiRequest : AmazonAPIGatewayRequest IAmazonWebServiceRequest
The ImportRestApiRequest type exposes the following members
Name | Description | |
---|---|---|
ImportRestApiRequest() |
Name | Type | Description | |
---|---|---|---|
Body | System.IO.MemoryStream |
Gets and sets the property Body. The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB. |
|
FailOnWarnings | System.Boolean |
Gets and sets the property FailOnWarnings.
A query parameter to indicate whether to rollback the API creation ( |
|
Parameters | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Parameters. A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.
To exclude DocumentationParts from the import, set
To configure the endpoint type, set
To handle imported |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5