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)

886
887
888
889
890
891
892
893
# File 'lib/aws-sdk-apigateway/types.rb', line 886

class CreateDocumentationVersionRequest < Struct.new(
  :rest_api_id,
  :documentation_version,
  :stage_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#documentation_versionString

The version identifier of the new snapshot.

Returns:

  • (String)

886
887
888
889
890
891
892
893
# File 'lib/aws-sdk-apigateway/types.rb', line 886

class CreateDocumentationVersionRequest < Struct.new(
  :rest_api_id,
  :documentation_version,
  :stage_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)

886
887
888
889
890
891
892
893
# File 'lib/aws-sdk-apigateway/types.rb', line 886

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)

886
887
888
889
890
891
892
893
# File 'lib/aws-sdk-apigateway/types.rb', line 886

class CreateDocumentationVersionRequest < Struct.new(
  :rest_api_id,
  :documentation_version,
  :stage_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end