Class: Aws::APIGateway::Types::CreateDocumentationVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateDocumentationVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Note:
When making an API call, you may pass CreateDocumentationVersionRequest data as a hash:
{
rest_api_id: "String", # required
documentation_version: "String", # required
stage_name: "String",
description: "String",
}
Creates a new documentation version of a given API.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
A description about the new documentation snapshot.
-
#documentation_version ⇒ String
[Required] The version identifier of the new snapshot.
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
-
#stage_name ⇒ String
The stage name to be associated with the new documentation snapshot.
Instance Attribute Details
#description ⇒ String
A description about the new documentation snapshot.
1014 1015 1016 1017 1018 1019 1020 1021 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1014 class CreateDocumentationVersionRequest < Struct.new( :rest_api_id, :documentation_version, :stage_name, :description) SENSITIVE = [] include Aws::Structure end |
#documentation_version ⇒ String
[Required] The version identifier of the new snapshot.
1014 1015 1016 1017 1018 1019 1020 1021 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1014 class CreateDocumentationVersionRequest < Struct.new( :rest_api_id, :documentation_version, :stage_name, :description) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
1014 1015 1016 1017 1018 1019 1020 1021 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1014 class CreateDocumentationVersionRequest < Struct.new( :rest_api_id, :documentation_version, :stage_name, :description) SENSITIVE = [] include Aws::Structure end |
#stage_name ⇒ String
The stage name to be associated with the new documentation snapshot.
1014 1015 1016 1017 1018 1019 1020 1021 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1014 class CreateDocumentationVersionRequest < Struct.new( :rest_api_id, :documentation_version, :stage_name, :description) SENSITIVE = [] include Aws::Structure end |