AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetGatewayResponsesInput

import "github.com/aws/aws-sdk-go/service/apigateway"

type GetGatewayResponsesInput struct { Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` Position *string `location:"querystring" locationName:"position" type:"string"` RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` }

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

Limit

Type: *int64

The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.

Position

Type: *string

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

RestApiId

Type: *string

[Required] The string identifier of the associated RestApi.

RestApiId is a required field

Method

GoString

func (s GetGatewayResponsesInput) GoString() string

GoString returns the string representation

SetLimit

func (s *GetGatewayResponsesInput) SetLimit(v int64) *GetGatewayResponsesInput

SetLimit sets the Limit field's value.

SetPosition

func (s *GetGatewayResponsesInput) SetPosition(v string) *GetGatewayResponsesInput

SetPosition sets the Position field's value.

SetRestApiId

func (s *GetGatewayResponsesInput) SetRestApiId(v string) *GetGatewayResponsesInput

SetRestApiId sets the RestApiId field's value.

String

func (s GetGatewayResponsesInput) String() string

String returns the string representation

Validate

func (s *GetGatewayResponsesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: