Skip to content

APIErrorType

Source code in docs_src/capo_secrets_manager/types/api_error_type.py
class APIErrorType(TypedDict, closed=True):
    secret_id: NotRequired["capo_secrets_manager.types.secret_id_type.SecretIdType"]
    """<p>The ARN or name of the secret.</p>"""
    error_code: NotRequired["capo_secrets_manager.types.error_code.ErrorCode"]
    """<p>The error Secrets Manager encountered while retrieving an individual secret as part of <a>BatchGetSecretValue</a>, for example <code>ResourceNotFoundException</code>,<code>InvalidParameterException</code>, <code>InvalidRequestException</code>, <code>DecryptionFailure</code>, or <code>AccessDeniedException</code>.</p>"""
    message: NotRequired["capo_secrets_manager.types.error_message.ErrorMessage"]
    """<p>A message describing the error.</p>"""

error_code instance-attribute

error_code: NotRequired[ErrorCode]

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

message instance-attribute

message: NotRequired[ErrorMessage]

A message describing the error.

secret_id instance-attribute

secret_id: NotRequired[SecretIdType]

The ARN or name of the secret.