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.

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)


3767
3768
3769
3770
3771
3772
# File 'lib/aws-sdk-apigateway/types.rb', line 3767

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

#positionString

The current pagination position in the paged result set.

Returns:

  • (String)


3767
3768
3769
3770
3771
3772
# File 'lib/aws-sdk-apigateway/types.rb', line 3767

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

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


3767
3768
3769
3770
3771
3772
# File 'lib/aws-sdk-apigateway/types.rb', line 3767

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