Class: Aws::OpenSearchServerless::Types::CollectionErrorDetail

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

Overview

Error information for an OpenSearch Serverless request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error code for the request. For example, ‘NOT_FOUND`.

Returns:

  • (String)


385
386
387
388
389
390
391
392
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 385

class CollectionErrorDetail < Struct.new(
  :error_code,
  :error_message,
  :id,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

A description of the error. For example, ‘The specified Collection is not found.`

Returns:

  • (String)


385
386
387
388
389
390
391
392
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 385

class CollectionErrorDetail < Struct.new(
  :error_code,
  :error_message,
  :id,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#idString

If the request contains collection IDs, the response includes the IDs provided in the request.

Returns:

  • (String)


385
386
387
388
389
390
391
392
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 385

class CollectionErrorDetail < Struct.new(
  :error_code,
  :error_message,
  :id,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

If the request contains collection names, the response includes the names provided in the request.

Returns:

  • (String)


385
386
387
388
389
390
391
392
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 385

class CollectionErrorDetail < Struct.new(
  :error_code,
  :error_message,
  :id,
  :name)
  SENSITIVE = []
  include Aws::Structure
end