Class: Aws::APIGateway::Types::CreateDocumentationVersionRequest

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 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

Instance Attribute Details

#descriptionString

A description about the new documentation snapshot.

Returns:

  • (String)


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_versionString

[Required] The version identifier of the new snapshot.

Returns:

  • (String)


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_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


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_nameString

The stage name to be associated with the new documentation snapshot.

Returns:

  • (String)


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