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 PutRestApi operation. A feature of the API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z
public class PutRestApiRequest : AmazonAPIGatewayRequest IAmazonWebServiceRequest
The PutRestApiRequest type exposes the following members
Name | Description | |
---|---|---|
PutRestApiRequest() |
Name | Type | Description | |
---|---|---|---|
Body | System.IO.MemoryStream |
Gets and sets the property Body. The PUT 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 update ( |
|
Mode | Amazon.APIGateway.PutMode |
Gets and sets the property Mode.
The |
|
Parameters | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Parameters.
Custom header parameters as part of the request. For example, to exclude DocumentationParts
from an imported API, set |
|
RestApiId | System.String |
Gets and sets the property RestApiId. The string identifier of the associated RestApi. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5