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)


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

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)


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

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)


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

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)


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

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