Class: Aws::APIGateway::Types::ImportDocumentationPartsRequest

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

Overview

Import documentation parts from an external (e.g., OpenAPI) definition file.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-apigateway/types.rb', line 3402

class ImportDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :mode,
  :fail_on_warnings,
  :body)
  SENSITIVE = []
  include Aws::Structure
end

#fail_on_warningsBoolean

A query parameter to specify whether to rollback the documentation importation (‘true`) or not (`false`) when a warning is encountered. The default value is `false`.

Returns:

  • (Boolean)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-apigateway/types.rb', line 3402

class ImportDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :mode,
  :fail_on_warnings,
  :body)
  SENSITIVE = []
  include Aws::Structure
end

#modeString

A query parameter to indicate whether to overwrite (‘overwrite`) any existing DocumentationParts definition or to merge (`merge`) the new definition into the existing one. The default value is `merge`.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-apigateway/types.rb', line 3402

class ImportDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :mode,
  :fail_on_warnings,
  :body)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-apigateway/types.rb', line 3402

class ImportDocumentationPartsRequest < Struct.new(
  :rest_api_id,
  :mode,
  :fail_on_warnings,
  :body)
  SENSITIVE = []
  include Aws::Structure
end