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.
Constant Summary collapse
- SENSITIVE =
[]
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.
978 979 980 981 982 983 984 |
# File 'lib/aws-sdk-apigateway/types.rb', line 978 class CreateDocumentationPartRequest < Struct.new( :rest_api_id, :location, :properties) SENSITIVE = [] 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 OpenAPI-compliant key-value pairs can be exported and, hence, published.
978 979 980 981 982 983 984 |
# File 'lib/aws-sdk-apigateway/types.rb', line 978 class CreateDocumentationPartRequest < Struct.new( :rest_api_id, :location, :properties) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
978 979 980 981 982 983 984 |
# File 'lib/aws-sdk-apigateway/types.rb', line 978 class CreateDocumentationPartRequest < Struct.new( :rest_api_id, :location, :properties) SENSITIVE = [] include Aws::Structure end |