import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException"; /** *

Secrets Manager can't decrypt the protected secret text using the provided KMS key.

* @public */ export declare class DecryptionFailure extends __BaseException { readonly name: "DecryptionFailure"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

An error occurred on the server side.

* @public */ export declare class InternalServiceError extends __BaseException { readonly name: "InternalServiceError"; readonly $fault: "server"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The NextToken value is invalid.

* @public */ export declare class InvalidNextTokenException extends __BaseException { readonly name: "InvalidNextTokenException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The parameter name or value is invalid.

* @public */ export declare class InvalidParameterException extends __BaseException { readonly name: "InvalidParameterException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

A parameter value is not valid for the current state of the * resource.

*

Possible causes:

*
    *
  • *

    The secret is scheduled for deletion.

    *
  • *
  • *

    You tried to enable rotation on a secret that doesn't already have a Lambda function * ARN configured and you didn't include such an ARN as a parameter in this call.

    *
  • *
  • *

    The secret is managed by another service, and you must use that service to update it. * For more information, see Secrets managed by other Amazon Web Services services.

    *
  • *
* @public */ export declare class InvalidRequestException extends __BaseException { readonly name: "InvalidRequestException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Secrets Manager can't find the resource that you asked for.

* @public */ export declare class ResourceNotFoundException extends __BaseException { readonly name: "ResourceNotFoundException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the * KMS key is available, enabled, and not in an invalid state. For more * information, see Key state: Effect on your KMS key.

* @public */ export declare class EncryptionFailure extends __BaseException { readonly name: "EncryptionFailure"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The request failed because it would exceed one of the Secrets Manager quotas.

* @public */ export declare class LimitExceededException extends __BaseException { readonly name: "LimitExceededException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The resource policy has syntax errors.

* @public */ export declare class MalformedPolicyDocumentException extends __BaseException { readonly name: "MalformedPolicyDocumentException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The request failed because you did not complete all the prerequisite steps.

* @public */ export declare class PreconditionNotMetException extends __BaseException { readonly name: "PreconditionNotMetException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

A resource with the ID you requested already exists.

* @public */ export declare class ResourceExistsException extends __BaseException { readonly name: "ResourceExistsException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The BlockPublicPolicy parameter is set to true, and the resource policy did not prevent broad access to the secret.

* @public */ export declare class PublicPolicyException extends __BaseException { readonly name: "PublicPolicyException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); }