/** * @since 1.0.0 */ import { type BatchGetSecretValueCommandInput, type BatchGetSecretValueCommandOutput, type CancelRotateSecretCommandInput, type CancelRotateSecretCommandOutput, type CreateSecretCommandInput, type CreateSecretCommandOutput, type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput, type DeleteSecretCommandInput, type DeleteSecretCommandOutput, type DescribeSecretCommandInput, type DescribeSecretCommandOutput, type GetRandomPasswordCommandInput, type GetRandomPasswordCommandOutput, type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput, type GetSecretValueCommandInput, type GetSecretValueCommandOutput, type ListSecretsCommandInput, type ListSecretsCommandOutput, type ListSecretVersionIdsCommandInput, type ListSecretVersionIdsCommandOutput, type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput, type PutSecretValueCommandInput, type PutSecretValueCommandOutput, type RemoveRegionsFromReplicationCommandInput, type RemoveRegionsFromReplicationCommandOutput, type ReplicateSecretToRegionsCommandInput, type ReplicateSecretToRegionsCommandOutput, type RestoreSecretCommandInput, type RestoreSecretCommandOutput, type RotateSecretCommandInput, type RotateSecretCommandOutput, type SecretsManagerClient, type SecretsManagerClientConfig, type StopReplicationToReplicaCommandInput, type StopReplicationToReplicaCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateSecretCommandInput, type UpdateSecretCommandOutput, type UpdateSecretVersionStageCommandInput, type UpdateSecretVersionStageCommandOutput, type ValidateResourcePolicyCommandInput, type ValidateResourcePolicyCommandOutput } from "@aws-sdk/client-secrets-manager"; import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger"; import type { HttpHandlerOptions } from "@effect-aws/commons/Types"; import type * as Cause from "effect/Cause"; import * as Context from "effect/Context"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import type * as Stream from "effect/Stream"; import type { DecryptionError, EncryptionError, InternalServiceError, InvalidNextTokenError, InvalidParameterError, InvalidRequestError, LimitExceededError, MalformedPolicyDocumentError, PreconditionNotMetError, PublicPolicyError, ResourceExistsError, ResourceNotFoundError, SdkError } from "./Errors.js"; import * as Instance from "./SecretsManagerClientInstance.js"; /** * @since 1.0.0 * @category models */ export interface SecretsManagerService$ { /** * @see {@link BatchGetSecretValueCommand} */ batchGetSecretValue(args: BatchGetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect; batchGetSecretValueStream(args: BatchGetSecretValueCommandInput, options?: HttpHandlerOptions): Stream.Stream; /** * @see {@link CancelRotateSecretCommand} */ cancelRotateSecret(args: CancelRotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link CreateSecretCommand} */ createSecret(args: CreateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link DeleteResourcePolicyCommand} */ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link DeleteSecretCommand} */ deleteSecret(args: DeleteSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link DescribeSecretCommand} */ describeSecret(args: DescribeSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link GetRandomPasswordCommand} */ getRandomPassword(args: GetRandomPasswordCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link GetResourcePolicyCommand} */ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link GetSecretValueCommand} */ getSecretValue(args: GetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link ListSecretVersionIdsCommand} */ listSecretVersionIds(args: ListSecretVersionIdsCommandInput, options?: HttpHandlerOptions): Effect.Effect; listSecretVersionIdsStream(args: ListSecretVersionIdsCommandInput, options?: HttpHandlerOptions): Stream.Stream; /** * @see {@link ListSecretsCommand} */ listSecrets(args: ListSecretsCommandInput, options?: HttpHandlerOptions): Effect.Effect; listSecretsStream(args: ListSecretsCommandInput, options?: HttpHandlerOptions): Stream.Stream; /** * @see {@link PutResourcePolicyCommand} */ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link PutSecretValueCommand} */ putSecretValue(args: PutSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link RemoveRegionsFromReplicationCommand} */ removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link ReplicateSecretToRegionsCommand} */ replicateSecretToRegions(args: ReplicateSecretToRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link RestoreSecretCommand} */ restoreSecret(args: RestoreSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link RotateSecretCommand} */ rotateSecret(args: RotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link StopReplicationToReplicaCommand} */ stopReplicationToReplica(args: StopReplicationToReplicaCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link UpdateSecretCommand} */ updateSecret(args: UpdateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link UpdateSecretVersionStageCommand} */ updateSecretVersionStage(args: UpdateSecretVersionStageCommandInput, options?: HttpHandlerOptions): Effect.Effect; /** * @see {@link ValidateResourcePolicyCommand} */ validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect; } /** * @since 1.0.0 * @category constructors */ export declare const makeSecretsManagerService: Effect.Effect; declare const SecretsManagerService_base: Context.ServiceClass; /** * @since 1.0.0 * @category models */ export declare class SecretsManagerService extends SecretsManagerService_base { static readonly defaultLayer: Layer.Layer; static readonly layer: (config: SecretsManagerService.Config) => Layer.Layer; static readonly baseLayer: (evaluate: (defaultConfig: SecretsManagerClientConfig) => SecretsManagerClient) => Layer.Layer; } /** * @since 1.0.0 */ export declare namespace SecretsManagerService { /** * @since 1.0.0 */ interface Config extends Omit { readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true; } /** * @since 1.0.0 */ type Type = SecretsManagerService$; } export {}; //# sourceMappingURL=SecretsManagerService.d.ts.map