Class: Aws::APIGateway::Types::GetModelsRequest

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

Overview

Note:

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

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

Request to list existing Models defined for a RestApi resource.

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.

Returns:

  • (Integer)


3853
3854
3855
3856
3857
3858
3859
# File 'lib/aws-sdk-apigateway/types.rb', line 3853

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

#positionString

The current pagination position in the paged result set.

Returns:

  • (String)


3853
3854
3855
3856
3857
3858
3859
# File 'lib/aws-sdk-apigateway/types.rb', line 3853

class GetModelsRequest < 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)


3853
3854
3855
3856
3857
3858
3859
# File 'lib/aws-sdk-apigateway/types.rb', line 3853

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