Class: Aws::SecretsManager::Types::APIErrorType

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

Overview

The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for example ‘ResourceNotFoundException`,`InvalidParameterException`, `InvalidRequestException`, `DecryptionFailure`, or `AccessDeniedException`.

Returns:

  • (String)


34
35
36
37
38
39
40
# File 'lib/aws-sdk-secretsmanager/types.rb', line 34

class APIErrorType < Struct.new(
  :secret_id,
  :error_code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

A message describing the error.

Returns:

  • (String)


34
35
36
37
38
39
40
# File 'lib/aws-sdk-secretsmanager/types.rb', line 34

class APIErrorType < Struct.new(
  :secret_id,
  :error_code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#secret_idString

The ARN or name of the secret.

Returns:

  • (String)


34
35
36
37
38
39
40
# File 'lib/aws-sdk-secretsmanager/types.rb', line 34

class APIErrorType < Struct.new(
  :secret_id,
  :error_code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end