class Amazonite::SecretsManager::APIErrorType

Overview

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

Included Modules

Defined in:

secrets_manager/api_error_type.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(secret_id : String | Nil = nil, error_code : String | Nil = nil, message : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def error_code : String | Nil #

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


[View source]
def error_code=(error_code : String | Nil) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def message : String | Nil #

A message describing the error.


[View source]
def message=(message : String | Nil) #

A message describing the error.


[View source]
def secret_id : String | Nil #

The ARN or name of the secret.


[View source]
def secret_id=(secret_id : String | Nil) #

The ARN or name of the secret.


[View source]
def validate! : Nil #

[View source]