Class: Aws::APIGateway::Types::CreateDocumentationPartRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateDocumentationPartRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Note:
When making an API call, you may pass CreateDocumentationPartRequest data as a hash:
{
rest_api_id: "String", # required
location: { # required
type: "API", # required, accepts API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, RESPONSE_BODY
path: "String",
method: "String",
status_code: "DocumentationPartLocationStatusCode",
name: "String",
},
properties: "String", # required
}
Creates a new documentation part of a given API.
Instance Attribute Summary collapse
-
#location ⇒ Types::DocumentationPartLocation
[Required] The location of the targeted API entity of the to-be-created documentation part.
-
#properties ⇒ String
[Required] The new documentation content map of the targeted API entity.
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
Instance Attribute Details
#location ⇒ Types::DocumentationPartLocation
[Required] The location of the targeted API entity of the to-be-created documentation part.
809 810 811 812 813 814 |
# File 'lib/aws-sdk-apigateway/types.rb', line 809 class CreateDocumentationPartRequest < Struct.new( :rest_api_id, :location, :properties) include Aws::Structure end |
#properties ⇒ String
[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.
809 810 811 812 813 814 |
# File 'lib/aws-sdk-apigateway/types.rb', line 809 class CreateDocumentationPartRequest < Struct.new( :rest_api_id, :location, :properties) include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
809 810 811 812 813 814 |
# File 'lib/aws-sdk-apigateway/types.rb', line 809 class CreateDocumentationPartRequest < Struct.new( :rest_api_id, :location, :properties) include Aws::Structure end |