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.

Container for the parameters to the PutGatewayResponse operation. Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.APIGateway.AmazonAPIGatewayRequest
      Amazon.APIGateway.Model.PutGatewayResponseRequest

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

Syntax

C#
public class PutGatewayResponseRequest : AmazonAPIGatewayRequest
         IAmazonWebServiceRequest

The PutGatewayResponseRequest type exposes the following members

Constructors

NameDescription
Public Method PutGatewayResponseRequest()

Properties

NameTypeDescription
Public Property ResponseParameters System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property ResponseParameters.

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

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

Gets and sets the property ResponseTemplates.

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

Public Property ResponseType Amazon.APIGateway.GatewayResponseType

Gets and sets the property ResponseType.

The response type of the associated GatewayResponse

Public Property RestApiId System.String

Gets and sets the property RestApiId.

The string identifier of the associated RestApi.

Public Property StatusCode System.String

Gets and sets the property StatusCode.

The HTTP status code of the GatewayResponse.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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