Class: Aws::APIGateway::Types::GetDocumentationPartsRequest

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 GetDocumentationPartsRequest data as a hash:

{
  rest_api_id: "String", # required
  type: "API", # accepts API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, RESPONSE_BODY
  name_query: "String",
  path: "String",
  position: "String",
  limit: 1,
}

Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

The maximum number of returned results per page.

Returns:

  • (Integer)


2740
2741
2742
2743
2744
2745
2746
2747
2748
# File 'lib/aws-sdk-apigateway/types.rb', line 2740

class GetDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :type,
  :name_query,
  :path,
  :position,
  :limit)
  include Aws::Structure
end

#name_queryString

The name of API entities of the to-be-retrieved documentation parts.

Returns:

  • (String)


2740
2741
2742
2743
2744
2745
2746
2747
2748
# File 'lib/aws-sdk-apigateway/types.rb', line 2740

class GetDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :type,
  :name_query,
  :path,
  :position,
  :limit)
  include Aws::Structure
end

#pathString

The path of API entities of the to-be-retrieved documentation parts.

Returns:

  • (String)


2740
2741
2742
2743
2744
2745
2746
2747
2748
# File 'lib/aws-sdk-apigateway/types.rb', line 2740

class GetDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :type,
  :name_query,
  :path,
  :position,
  :limit)
  include Aws::Structure
end

#positionString

The current pagination position in the paged result set.

Returns:

  • (String)


2740
2741
2742
2743
2744
2745
2746
2747
2748
# File 'lib/aws-sdk-apigateway/types.rb', line 2740

class GetDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :type,
  :name_query,
  :path,
  :position,
  :limit)
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


2740
2741
2742
2743
2744
2745
2746
2747
2748
# File 'lib/aws-sdk-apigateway/types.rb', line 2740

class GetDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :type,
  :name_query,
  :path,
  :position,
  :limit)
  include Aws::Structure
end

#typeString

The type of API entities of the to-be-retrieved documentation parts.

Returns:

  • (String)


2740
2741
2742
2743
2744
2745
2746
2747
2748
# File 'lib/aws-sdk-apigateway/types.rb', line 2740

class GetDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :type,
  :name_query,
  :path,
  :position,
  :limit)
  include Aws::Structure
end