You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::APIGateway::Types::DeleteDocumentationVersionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb

Overview

Note:

When making an API call, you may pass DeleteDocumentationVersionRequest data as a hash:

{
  rest_api_id: "String", # required
  documentation_version: "String", # required
}

Deletes an existing documentation version of an API.

Instance Attribute Summary collapse

Instance Attribute Details

#documentation_versionString

[Required] The version identifier of a to-be-deleted documentation snapshot.

Returns:

  • (String)


1371
1372
1373
1374
1375
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1371

class DeleteDocumentationVersionRequest < Struct.new(
  :rest_api_id,
  :documentation_version)
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


1371
1372
1373
1374
1375
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1371

class DeleteDocumentationVersionRequest < Struct.new(
  :rest_api_id,
  :documentation_version)
  include Aws::Structure
end