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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/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)


3213
3214
3215
3216
3217
3218
3219
3220
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3213

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)


3213
3214
3215
3216
3217
3218
3219
3220
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3213

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)


3213
3214
3215
3216
3217
3218
3219
3220
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3213

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)


3213
3214
3215
3216
3217
3218
3219
3220
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3213

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