Class: Aws::APIGateway::Types::GetGatewayResponsesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb

Overview

Note:

When making an API call, you may pass GetGatewayResponsesRequest data as a hash:

{
  rest_api_id: "String", # required
  position: "String",
  limit: 1,
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

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.

Returns:

  • (Integer)


3620
3621
3622
3623
3624
3625
3626
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3620

class GetGatewayResponsesRequest < Struct.new(
  :rest_api_id,
  :position,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end

#positionString

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

Returns:

  • (String)


3620
3621
3622
3623
3624
3625
3626
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3620

class GetGatewayResponsesRequest < Struct.new(
  :rest_api_id,
  :position,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


3620
3621
3622
3623
3624
3625
3626
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3620

class GetGatewayResponsesRequest < Struct.new(
  :rest_api_id,
  :position,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end