import { AppId, BackendIdentifier } from '@aws-amplify/plugin-types'; import { Secret, SecretClient, SecretIdentifier, SecretListItem } from './secret.js'; /** * Handles errors and translate them to AmplifyUserError or AmplifyFaults * To be used exclusively by the amplify cli */ export declare class SSMSecretClientWithAmplifyErrorHandling implements SecretClient { private readonly secretClient; /** * wraps the secretClient with Amplify CLI specific error handling */ constructor(secretClient: SecretClient); getSecret: (backendIdentifier: BackendIdentifier | AppId, secretIdentifier: SecretIdentifier) => Promise; listSecrets: (backendIdentifier: BackendIdentifier | AppId) => Promise; setSecret: (backendIdentifier: BackendIdentifier | AppId, secretName: string, secretValue: string) => Promise; removeSecret: (backendIdentifier: BackendIdentifier | AppId, secretName: string) => Promise; /** * Remove secrets from SSM parameter store. */ removeSecrets: (backendIdentifier: BackendIdentifier | AppId, secretNames: string[]) => Promise; private translateToAmplifyError; } //# sourceMappingURL=ssm_secret_with_amplify_error_handling.d.ts.map