AWS SDK Version 3 for .NET
API Reference

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.

This is the response object from the CreateApi operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.ApiGatewayV2.Model.CreateApiResponse

Namespace: Amazon.ApiGatewayV2.Model
Assembly: AWSSDK.ApiGatewayV2.dll
Version: 3.x.y.z

Syntax

C#
public class CreateApiResponse : AmazonWebServiceResponse

The CreateApiResponse type exposes the following members

Constructors

NameDescription
Public Method CreateApiResponse()

Properties

NameTypeDescription
Public Property ApiEndpoint System.String

Gets and sets the property ApiEndpoint.

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.

Public Property ApiId System.String

Gets and sets the property ApiId.

The API ID.

Public Property ApiKeySelectionExpression System.String

Gets and sets the property ApiKeySelectionExpression.

An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CorsConfiguration Amazon.ApiGatewayV2.Model.Cors

Gets and sets the property CorsConfiguration.

A CORS configuration. Supported only for HTTP APIs.

Public Property CreatedDate System.DateTime

Gets and sets the property CreatedDate.

The timestamp when the API was created.

Public Property Description System.String

Gets and sets the property Description.

The description of the API.

Public Property DisableSchemaValidation System.Boolean

Gets and sets the property DisableSchemaValidation.

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ImportInfo System.Collections.Generic.List<System.String>

Gets and sets the property ImportInfo.

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.

Public Property Name System.String

Gets and sets the property Name.

The name of the API.

Public Property ProtocolType Amazon.ApiGatewayV2.ProtocolType

Gets and sets the property ProtocolType.

The API protocol.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property RouteSelectionExpression System.String

Gets and sets the property RouteSelectionExpression.

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.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

A collection of tags associated with the API.

Public Property Version System.String

Gets and sets the property Version.

A version identifier for the API.

Public Property Warnings System.Collections.Generic.List<System.String>

Gets and sets the property Warnings.

The warning messages reported when failonwarnings is turned on during API import.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms