@effect-aws/client-secrets-manager 1.9.5 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/SecretsManagerService.d.ts +25 -24
- package/dist/cjs/SecretsManagerService.d.ts.map +1 -1
- package/dist/cjs/SecretsManagerService.js +1 -1
- package/dist/cjs/SecretsManagerService.js.map +1 -1
- package/dist/dts/SecretsManagerService.d.ts +25 -24
- package/dist/dts/SecretsManagerService.d.ts.map +1 -1
- package/dist/esm/SecretsManagerService.js +1 -1
- package/dist/esm/SecretsManagerService.js.map +1 -1
- package/package.json +2 -2
- package/src/SecretsManagerService.ts +90 -16
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
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";
|
|
5
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { DecryptionError, EncryptionError, InternalServiceError, InvalidNextTokenError, InvalidParameterError, InvalidRequestError, LimitExceededError, MalformedPolicyDocumentError, PreconditionNotMetError, PublicPolicyError, ResourceExistsError, ResourceNotFoundError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./SecretsManagerClientInstance.js";
|
|
@@ -11,95 +12,95 @@ interface SecretsManagerService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link BatchGetSecretValueCommand}
|
|
13
14
|
*/
|
|
14
|
-
batchGetSecretValue(args: BatchGetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetSecretValueCommandOutput, SdkError | DecryptionError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
15
|
+
batchGetSecretValue(args: BatchGetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetSecretValueCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CancelRotateSecretCommand}
|
|
17
18
|
*/
|
|
18
|
-
cancelRotateSecret(args: CancelRotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelRotateSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
19
|
+
cancelRotateSecret(args: CancelRotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelRotateSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateSecretCommand}
|
|
21
22
|
*/
|
|
22
|
-
createSecret(args: CreateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecretCommandOutput, SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
23
|
+
createSecret(args: CreateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecretCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteResourcePolicyCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
27
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteSecretCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteSecret(args: DeleteSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
31
|
+
deleteSecret(args: DeleteSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DescribeSecretCommand}
|
|
33
34
|
*/
|
|
34
|
-
describeSecret(args: DescribeSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError>;
|
|
35
|
+
describeSecret(args: DescribeSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link GetRandomPasswordCommand}
|
|
37
38
|
*/
|
|
38
|
-
getRandomPassword(args: GetRandomPasswordCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRandomPasswordCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError>;
|
|
39
|
+
getRandomPassword(args: GetRandomPasswordCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRandomPasswordCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link GetResourcePolicyCommand}
|
|
41
42
|
*/
|
|
42
|
-
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
43
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link GetSecretValueCommand}
|
|
45
46
|
*/
|
|
46
|
-
getSecretValue(args: GetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecretValueCommandOutput, SdkError | DecryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
47
|
+
getSecretValue(args: GetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecretValueCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link ListSecretVersionIdsCommand}
|
|
49
50
|
*/
|
|
50
|
-
listSecretVersionIds(args: ListSecretVersionIdsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretVersionIdsCommandOutput, SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | ResourceNotFoundError>;
|
|
51
|
+
listSecretVersionIds(args: ListSecretVersionIdsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretVersionIdsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | ResourceNotFoundError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link ListSecretsCommand}
|
|
53
54
|
*/
|
|
54
|
-
listSecrets(args: ListSecretsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretsCommandOutput, SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError>;
|
|
55
|
+
listSecrets(args: ListSecretsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link PutResourcePolicyCommand}
|
|
57
58
|
*/
|
|
58
|
-
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | PublicPolicyError | ResourceNotFoundError>;
|
|
59
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | PublicPolicyError | ResourceNotFoundError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link PutSecretValueCommand}
|
|
61
62
|
*/
|
|
62
|
-
putSecretValue(args: PutSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSecretValueCommandOutput, SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceExistsError | ResourceNotFoundError>;
|
|
63
|
+
putSecretValue(args: PutSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSecretValueCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceExistsError | ResourceNotFoundError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link RemoveRegionsFromReplicationCommand}
|
|
65
66
|
*/
|
|
66
|
-
removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveRegionsFromReplicationCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
67
|
+
removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveRegionsFromReplicationCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link ReplicateSecretToRegionsCommand}
|
|
69
70
|
*/
|
|
70
|
-
replicateSecretToRegions(args: ReplicateSecretToRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReplicateSecretToRegionsCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
71
|
+
replicateSecretToRegions(args: ReplicateSecretToRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReplicateSecretToRegionsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link RestoreSecretCommand}
|
|
73
74
|
*/
|
|
74
|
-
restoreSecret(args: RestoreSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RestoreSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
75
|
+
restoreSecret(args: RestoreSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RestoreSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link RotateSecretCommand}
|
|
77
78
|
*/
|
|
78
|
-
rotateSecret(args: RotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RotateSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
79
|
+
rotateSecret(args: RotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RotateSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link StopReplicationToReplicaCommand}
|
|
81
82
|
*/
|
|
82
|
-
stopReplicationToReplica(args: StopReplicationToReplicaCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopReplicationToReplicaCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
83
|
+
stopReplicationToReplica(args: StopReplicationToReplicaCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopReplicationToReplicaCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link TagResourceCommand}
|
|
85
86
|
*/
|
|
86
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
87
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link UntagResourceCommand}
|
|
89
90
|
*/
|
|
90
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
91
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link UpdateSecretCommand}
|
|
93
94
|
*/
|
|
94
|
-
updateSecret(args: UpdateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretCommandOutput, SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
95
|
+
updateSecret(args: UpdateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link UpdateSecretVersionStageCommand}
|
|
97
98
|
*/
|
|
98
|
-
updateSecretVersionStage(args: UpdateSecretVersionStageCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretVersionStageCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceNotFoundError>;
|
|
99
|
+
updateSecretVersionStage(args: UpdateSecretVersionStageCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretVersionStageCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceNotFoundError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link ValidateResourcePolicyCommand}
|
|
101
102
|
*/
|
|
102
|
-
validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<ValidateResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | ResourceNotFoundError>;
|
|
103
|
+
validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<ValidateResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | ResourceNotFoundError>;
|
|
103
104
|
}
|
|
104
105
|
/**
|
|
105
106
|
* @since 1.0.0
|
|
@@ -107,7 +108,7 @@ interface SecretsManagerService$ {
|
|
|
107
108
|
*/
|
|
108
109
|
export declare const makeSecretsManagerService: Effect.Effect<SecretsManagerService$, never, Instance.SecretsManagerClientInstance>;
|
|
109
110
|
declare const SecretsManagerService_base: import("effect/Context").TagClass<SecretsManagerService, "@effect-aws/client-secrets-manager/SecretsManagerService", SecretsManagerService$> & Effect.Tag.Proxy<SecretsManagerService, SecretsManagerService$> & {
|
|
110
|
-
use: <X>(body: (_: SecretsManagerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SecretsManagerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
111
|
+
use: <X>(body: (_: SecretsManagerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SecretsManagerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, SecretsManagerService> : Effect.Effect<X, never, SecretsManagerService>;
|
|
111
112
|
};
|
|
112
113
|
/**
|
|
113
114
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsManagerService.d.ts","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAE9C,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAE/B,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC5B,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,QAAQ,MAAM,mCAAmC,CAAC;AA6B9D,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,CAAC,EAAE,OAAO,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CACjB,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,gCAAgC,EAC9B,QAAQ,GACR,eAAe,GACf,oBAAoB,GACpB,qBAAqB,GACrB,qBAAqB,GACrB,mBAAmB,GACnB,qBAAqB,CACxB,CAAC;IAEF;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,+BAA+B,
|
|
1
|
+
{"version":3,"file":"SecretsManagerService.d.ts","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,wBAAwB,EAC7B,KAA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AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,0BAA0B,EAAE,QAAQ,CAAC;QACxE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -64,7 +64,7 @@ const commands = {
|
|
|
64
64
|
*/
|
|
65
65
|
exports.makeSecretsManagerService = effect_1.Effect.gen(function* () {
|
|
66
66
|
const client = yield* Instance.SecretsManagerClientInstance;
|
|
67
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
67
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
68
68
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
69
69
|
resolveClientConfig: SecretsManagerServiceConfig.toSecretsManagerClientConfig,
|
|
70
70
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsManagerService.js","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4EAwEyC;AAEzC,iDAA8C;
|
|
1
|
+
{"version":3,"file":"SecretsManagerService.js","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4EAwEyC;AAEzC,iDAA8C;AAE9C,mCAAuC;AAevC,2CAA+C;AAC/C,4EAA8D;AAC9D,8FAAgF;AAEhF,MAAM,QAAQ,GAAG;IACf,0BAA0B,EAA1B,mDAA0B;IAC1B,yBAAyB,EAAzB,kDAAyB;IACzB,mBAAmB,EAAnB,4CAAmB;IACnB,2BAA2B,EAA3B,oDAA2B;IAC3B,mBAAmB,EAAnB,4CAAmB;IACnB,qBAAqB,EAArB,8CAAqB;IACrB,wBAAwB,EAAxB,iDAAwB;IACxB,wBAAwB,EAAxB,iDA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CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,2BAA2B,CAAC,8BAA8B,CAAC,MAAM,CAAC,CAAC,CAClF,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAA6E,EAC7E,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,iCAAyB,CAAC,CAAC,IAAI,CAChD,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,4BAA4B,EACrC,eAAM,CAAC,GAAG,CAAC,2BAA2B,CAAC,4BAA4B,EAAE,QAAQ,CAAC,CAC/E,CACF,CACF,CAAC;;AApBN,sDAqBC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
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";
|
|
5
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { DecryptionError, EncryptionError, InternalServiceError, InvalidNextTokenError, InvalidParameterError, InvalidRequestError, LimitExceededError, MalformedPolicyDocumentError, PreconditionNotMetError, PublicPolicyError, ResourceExistsError, ResourceNotFoundError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./SecretsManagerClientInstance.js";
|
|
@@ -11,95 +12,95 @@ interface SecretsManagerService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link BatchGetSecretValueCommand}
|
|
13
14
|
*/
|
|
14
|
-
batchGetSecretValue(args: BatchGetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetSecretValueCommandOutput, SdkError | DecryptionError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
15
|
+
batchGetSecretValue(args: BatchGetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetSecretValueCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CancelRotateSecretCommand}
|
|
17
18
|
*/
|
|
18
|
-
cancelRotateSecret(args: CancelRotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelRotateSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
19
|
+
cancelRotateSecret(args: CancelRotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelRotateSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateSecretCommand}
|
|
21
22
|
*/
|
|
22
|
-
createSecret(args: CreateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecretCommandOutput, SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
23
|
+
createSecret(args: CreateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecretCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteResourcePolicyCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
27
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteSecretCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteSecret(args: DeleteSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
31
|
+
deleteSecret(args: DeleteSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DescribeSecretCommand}
|
|
33
34
|
*/
|
|
34
|
-
describeSecret(args: DescribeSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError>;
|
|
35
|
+
describeSecret(args: DescribeSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link GetRandomPasswordCommand}
|
|
37
38
|
*/
|
|
38
|
-
getRandomPassword(args: GetRandomPasswordCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRandomPasswordCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError>;
|
|
39
|
+
getRandomPassword(args: GetRandomPasswordCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRandomPasswordCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link GetResourcePolicyCommand}
|
|
41
42
|
*/
|
|
42
|
-
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
43
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link GetSecretValueCommand}
|
|
45
46
|
*/
|
|
46
|
-
getSecretValue(args: GetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecretValueCommandOutput, SdkError | DecryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
47
|
+
getSecretValue(args: GetSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecretValueCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link ListSecretVersionIdsCommand}
|
|
49
50
|
*/
|
|
50
|
-
listSecretVersionIds(args: ListSecretVersionIdsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretVersionIdsCommandOutput, SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | ResourceNotFoundError>;
|
|
51
|
+
listSecretVersionIds(args: ListSecretVersionIdsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretVersionIdsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | ResourceNotFoundError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link ListSecretsCommand}
|
|
53
54
|
*/
|
|
54
|
-
listSecrets(args: ListSecretsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretsCommandOutput, SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError>;
|
|
55
|
+
listSecrets(args: ListSecretsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecretsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidNextTokenError | InvalidParameterError | InvalidRequestError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link PutResourcePolicyCommand}
|
|
57
58
|
*/
|
|
58
|
-
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | PublicPolicyError | ResourceNotFoundError>;
|
|
59
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | PublicPolicyError | ResourceNotFoundError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link PutSecretValueCommand}
|
|
61
62
|
*/
|
|
62
|
-
putSecretValue(args: PutSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSecretValueCommandOutput, SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceExistsError | ResourceNotFoundError>;
|
|
63
|
+
putSecretValue(args: PutSecretValueCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSecretValueCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceExistsError | ResourceNotFoundError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link RemoveRegionsFromReplicationCommand}
|
|
65
66
|
*/
|
|
66
|
-
removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveRegionsFromReplicationCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
67
|
+
removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveRegionsFromReplicationCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link ReplicateSecretToRegionsCommand}
|
|
69
70
|
*/
|
|
70
|
-
replicateSecretToRegions(args: ReplicateSecretToRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReplicateSecretToRegionsCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
71
|
+
replicateSecretToRegions(args: ReplicateSecretToRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReplicateSecretToRegionsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link RestoreSecretCommand}
|
|
73
74
|
*/
|
|
74
|
-
restoreSecret(args: RestoreSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RestoreSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
75
|
+
restoreSecret(args: RestoreSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RestoreSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link RotateSecretCommand}
|
|
77
78
|
*/
|
|
78
|
-
rotateSecret(args: RotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RotateSecretCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
79
|
+
rotateSecret(args: RotateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<RotateSecretCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link StopReplicationToReplicaCommand}
|
|
81
82
|
*/
|
|
82
|
-
stopReplicationToReplica(args: StopReplicationToReplicaCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopReplicationToReplicaCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
83
|
+
stopReplicationToReplica(args: StopReplicationToReplicaCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopReplicationToReplicaCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link TagResourceCommand}
|
|
85
86
|
*/
|
|
86
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
87
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link UntagResourceCommand}
|
|
89
90
|
*/
|
|
90
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
91
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | ResourceNotFoundError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link UpdateSecretCommand}
|
|
93
94
|
*/
|
|
94
|
-
updateSecret(args: UpdateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretCommandOutput, SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
95
|
+
updateSecret(args: UpdateSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretCommandOutput, Cause.TimeoutException | SdkError | DecryptionError | EncryptionError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | MalformedPolicyDocumentError | PreconditionNotMetError | ResourceExistsError | ResourceNotFoundError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link UpdateSecretVersionStageCommand}
|
|
97
98
|
*/
|
|
98
|
-
updateSecretVersionStage(args: UpdateSecretVersionStageCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretVersionStageCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceNotFoundError>;
|
|
99
|
+
updateSecretVersionStage(args: UpdateSecretVersionStageCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecretVersionStageCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | LimitExceededError | ResourceNotFoundError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link ValidateResourcePolicyCommand}
|
|
101
102
|
*/
|
|
102
|
-
validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<ValidateResourcePolicyCommandOutput, SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | ResourceNotFoundError>;
|
|
103
|
+
validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<ValidateResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError | MalformedPolicyDocumentError | ResourceNotFoundError>;
|
|
103
104
|
}
|
|
104
105
|
/**
|
|
105
106
|
* @since 1.0.0
|
|
@@ -107,7 +108,7 @@ interface SecretsManagerService$ {
|
|
|
107
108
|
*/
|
|
108
109
|
export declare const makeSecretsManagerService: Effect.Effect<SecretsManagerService$, never, Instance.SecretsManagerClientInstance>;
|
|
109
110
|
declare const SecretsManagerService_base: import("effect/Context").TagClass<SecretsManagerService, "@effect-aws/client-secrets-manager/SecretsManagerService", SecretsManagerService$> & Effect.Tag.Proxy<SecretsManagerService, SecretsManagerService$> & {
|
|
110
|
-
use: <X>(body: (_: SecretsManagerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SecretsManagerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
111
|
+
use: <X>(body: (_: SecretsManagerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SecretsManagerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, SecretsManagerService> : Effect.Effect<X, never, SecretsManagerService>;
|
|
111
112
|
};
|
|
112
113
|
/**
|
|
113
114
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsManagerService.d.ts","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAE9C,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAE/B,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC5B,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,QAAQ,MAAM,mCAAmC,CAAC;AA6B9D,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,CAAC,EAAE,OAAO,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CACjB,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,gCAAgC,EAC9B,QAAQ,GACR,eAAe,GACf,oBAAoB,GACpB,qBAAqB,GACrB,qBAAqB,GACrB,mBAAmB,GACnB,qBAAqB,CACxB,CAAC;IAEF;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,+BAA+B,
|
|
1
|
+
{"version":3,"file":"SecretsManagerService.d.ts","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,K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AM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,0BAA0B,EAAE,QAAQ,CAAC;QACxE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -38,7 +38,7 @@ const commands = {
|
|
|
38
38
|
*/
|
|
39
39
|
export const makeSecretsManagerService = Effect.gen(function* () {
|
|
40
40
|
const client = yield* Instance.SecretsManagerClientInstance;
|
|
41
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
41
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
42
42
|
errorTags: AllServiceErrors,
|
|
43
43
|
resolveClientConfig: SecretsManagerServiceConfig.toSecretsManagerClientConfig,
|
|
44
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsManagerService.js","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,0BAA0B,EAG1B,yBAAyB,EAGzB,mBAAmB,EAGnB,2BAA2B,EAG3B,mBAAmB,EAGnB,qBAAqB,EAGrB,wBAAwB,EAGxB,wBAAwB,EAGxB,qBAAqB,EAGrB,kBAAkB,EAGlB,2BAA2B,EAG3B,wBAAwB,EAGxB,qBAAqB,EAGrB,mCAAmC,EAGnC,+BAA+B,EAG/B,oBAAoB,EAGpB,mBAAmB,EAKnB,+BAA+B,EAG/B,kBAAkB,EAGlB,oBAAoB,EAGpB,mBAAmB,EAGnB,+BAA+B,EAG/B,6BAA6B,GAG9B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"SecretsManagerService.js","sourceRoot":"","sources":["../../src/SecretsManagerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,0BAA0B,EAG1B,yBAAyB,EAGz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ACE,SAAS,EAAE,gBAAgB;QAC3B,mBAAmB,EAAE,2BAA2B,CAAC,4BAA4B;KAC9E,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SAAQ,MAAM,CAAC,GAAG,CAAC,0DAA0D,CAAC,EAG9G;IACD,MAAM,CAAU,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IACjH,MAAM,CAAU,KAAK,GAAG,CAAC,MAAoC,EAAE,EAAE,CAC/D,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC,IAAI,CAChD,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,2BAA2B,CAAC,8BAA8B,CAAC,MAAM,CAAC,CAAC,CAClF,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAA6E,EAC7E,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC,IAAI,CAChD,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,4BAA4B,EACrC,MAAM,CAAC,GAAG,CAAC,2BAA2B,CAAC,4BAA4B,EAAE,QAAQ,CAAC,CAC/E,CACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-secrets-manager",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Effectful AWS Secrets Manager client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-secrets-manager",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-secrets-manager": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
|
@@ -76,6 +76,7 @@ import {
|
|
|
76
76
|
} from "@aws-sdk/client-secrets-manager";
|
|
77
77
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
78
78
|
import { Service } from "@effect-aws/commons";
|
|
79
|
+
import type { Cause } from "effect";
|
|
79
80
|
import { Effect, Layer } from "effect";
|
|
80
81
|
import type {
|
|
81
82
|
DecryptionError,
|
|
@@ -132,6 +133,7 @@ interface SecretsManagerService$ {
|
|
|
132
133
|
options?: HttpHandlerOptions,
|
|
133
134
|
): Effect.Effect<
|
|
134
135
|
BatchGetSecretValueCommandOutput,
|
|
136
|
+
| Cause.TimeoutException
|
|
135
137
|
| SdkError
|
|
136
138
|
| DecryptionError
|
|
137
139
|
| InternalServiceError
|
|
@@ -149,7 +151,12 @@ interface SecretsManagerService$ {
|
|
|
149
151
|
options?: HttpHandlerOptions,
|
|
150
152
|
): Effect.Effect<
|
|
151
153
|
CancelRotateSecretCommandOutput,
|
|
152
|
-
|
|
154
|
+
| Cause.TimeoutException
|
|
155
|
+
| SdkError
|
|
156
|
+
| InternalServiceError
|
|
157
|
+
| InvalidParameterError
|
|
158
|
+
| InvalidRequestError
|
|
159
|
+
| ResourceNotFoundError
|
|
153
160
|
>;
|
|
154
161
|
|
|
155
162
|
/**
|
|
@@ -160,6 +167,7 @@ interface SecretsManagerService$ {
|
|
|
160
167
|
options?: HttpHandlerOptions,
|
|
161
168
|
): Effect.Effect<
|
|
162
169
|
CreateSecretCommandOutput,
|
|
170
|
+
| Cause.TimeoutException
|
|
163
171
|
| SdkError
|
|
164
172
|
| DecryptionError
|
|
165
173
|
| EncryptionError
|
|
@@ -181,7 +189,12 @@ interface SecretsManagerService$ {
|
|
|
181
189
|
options?: HttpHandlerOptions,
|
|
182
190
|
): Effect.Effect<
|
|
183
191
|
DeleteResourcePolicyCommandOutput,
|
|
184
|
-
|
|
192
|
+
| Cause.TimeoutException
|
|
193
|
+
| SdkError
|
|
194
|
+
| InternalServiceError
|
|
195
|
+
| InvalidParameterError
|
|
196
|
+
| InvalidRequestError
|
|
197
|
+
| ResourceNotFoundError
|
|
185
198
|
>;
|
|
186
199
|
|
|
187
200
|
/**
|
|
@@ -192,7 +205,12 @@ interface SecretsManagerService$ {
|
|
|
192
205
|
options?: HttpHandlerOptions,
|
|
193
206
|
): Effect.Effect<
|
|
194
207
|
DeleteSecretCommandOutput,
|
|
195
|
-
|
|
208
|
+
| Cause.TimeoutException
|
|
209
|
+
| SdkError
|
|
210
|
+
| InternalServiceError
|
|
211
|
+
| InvalidParameterError
|
|
212
|
+
| InvalidRequestError
|
|
213
|
+
| ResourceNotFoundError
|
|
196
214
|
>;
|
|
197
215
|
|
|
198
216
|
/**
|
|
@@ -203,7 +221,7 @@ interface SecretsManagerService$ {
|
|
|
203
221
|
options?: HttpHandlerOptions,
|
|
204
222
|
): Effect.Effect<
|
|
205
223
|
DescribeSecretCommandOutput,
|
|
206
|
-
SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError
|
|
224
|
+
Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError
|
|
207
225
|
>;
|
|
208
226
|
|
|
209
227
|
/**
|
|
@@ -214,7 +232,7 @@ interface SecretsManagerService$ {
|
|
|
214
232
|
options?: HttpHandlerOptions,
|
|
215
233
|
): Effect.Effect<
|
|
216
234
|
GetRandomPasswordCommandOutput,
|
|
217
|
-
SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError
|
|
235
|
+
Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError
|
|
218
236
|
>;
|
|
219
237
|
|
|
220
238
|
/**
|
|
@@ -225,7 +243,12 @@ interface SecretsManagerService$ {
|
|
|
225
243
|
options?: HttpHandlerOptions,
|
|
226
244
|
): Effect.Effect<
|
|
227
245
|
GetResourcePolicyCommandOutput,
|
|
228
|
-
|
|
246
|
+
| Cause.TimeoutException
|
|
247
|
+
| SdkError
|
|
248
|
+
| InternalServiceError
|
|
249
|
+
| InvalidParameterError
|
|
250
|
+
| InvalidRequestError
|
|
251
|
+
| ResourceNotFoundError
|
|
229
252
|
>;
|
|
230
253
|
|
|
231
254
|
/**
|
|
@@ -236,6 +259,7 @@ interface SecretsManagerService$ {
|
|
|
236
259
|
options?: HttpHandlerOptions,
|
|
237
260
|
): Effect.Effect<
|
|
238
261
|
GetSecretValueCommandOutput,
|
|
262
|
+
| Cause.TimeoutException
|
|
239
263
|
| SdkError
|
|
240
264
|
| DecryptionError
|
|
241
265
|
| InternalServiceError
|
|
@@ -252,7 +276,12 @@ interface SecretsManagerService$ {
|
|
|
252
276
|
options?: HttpHandlerOptions,
|
|
253
277
|
): Effect.Effect<
|
|
254
278
|
ListSecretVersionIdsCommandOutput,
|
|
255
|
-
|
|
279
|
+
| Cause.TimeoutException
|
|
280
|
+
| SdkError
|
|
281
|
+
| InternalServiceError
|
|
282
|
+
| InvalidNextTokenError
|
|
283
|
+
| InvalidParameterError
|
|
284
|
+
| ResourceNotFoundError
|
|
256
285
|
>;
|
|
257
286
|
|
|
258
287
|
/**
|
|
@@ -263,7 +292,12 @@ interface SecretsManagerService$ {
|
|
|
263
292
|
options?: HttpHandlerOptions,
|
|
264
293
|
): Effect.Effect<
|
|
265
294
|
ListSecretsCommandOutput,
|
|
266
|
-
|
|
295
|
+
| Cause.TimeoutException
|
|
296
|
+
| SdkError
|
|
297
|
+
| InternalServiceError
|
|
298
|
+
| InvalidNextTokenError
|
|
299
|
+
| InvalidParameterError
|
|
300
|
+
| InvalidRequestError
|
|
267
301
|
>;
|
|
268
302
|
|
|
269
303
|
/**
|
|
@@ -274,6 +308,7 @@ interface SecretsManagerService$ {
|
|
|
274
308
|
options?: HttpHandlerOptions,
|
|
275
309
|
): Effect.Effect<
|
|
276
310
|
PutResourcePolicyCommandOutput,
|
|
311
|
+
| Cause.TimeoutException
|
|
277
312
|
| SdkError
|
|
278
313
|
| InternalServiceError
|
|
279
314
|
| InvalidParameterError
|
|
@@ -291,6 +326,7 @@ interface SecretsManagerService$ {
|
|
|
291
326
|
options?: HttpHandlerOptions,
|
|
292
327
|
): Effect.Effect<
|
|
293
328
|
PutSecretValueCommandOutput,
|
|
329
|
+
| Cause.TimeoutException
|
|
294
330
|
| SdkError
|
|
295
331
|
| DecryptionError
|
|
296
332
|
| EncryptionError
|
|
@@ -310,7 +346,12 @@ interface SecretsManagerService$ {
|
|
|
310
346
|
options?: HttpHandlerOptions,
|
|
311
347
|
): Effect.Effect<
|
|
312
348
|
RemoveRegionsFromReplicationCommandOutput,
|
|
313
|
-
|
|
349
|
+
| Cause.TimeoutException
|
|
350
|
+
| SdkError
|
|
351
|
+
| InternalServiceError
|
|
352
|
+
| InvalidParameterError
|
|
353
|
+
| InvalidRequestError
|
|
354
|
+
| ResourceNotFoundError
|
|
314
355
|
>;
|
|
315
356
|
|
|
316
357
|
/**
|
|
@@ -321,7 +362,12 @@ interface SecretsManagerService$ {
|
|
|
321
362
|
options?: HttpHandlerOptions,
|
|
322
363
|
): Effect.Effect<
|
|
323
364
|
ReplicateSecretToRegionsCommandOutput,
|
|
324
|
-
|
|
365
|
+
| Cause.TimeoutException
|
|
366
|
+
| SdkError
|
|
367
|
+
| InternalServiceError
|
|
368
|
+
| InvalidParameterError
|
|
369
|
+
| InvalidRequestError
|
|
370
|
+
| ResourceNotFoundError
|
|
325
371
|
>;
|
|
326
372
|
|
|
327
373
|
/**
|
|
@@ -332,7 +378,12 @@ interface SecretsManagerService$ {
|
|
|
332
378
|
options?: HttpHandlerOptions,
|
|
333
379
|
): Effect.Effect<
|
|
334
380
|
RestoreSecretCommandOutput,
|
|
335
|
-
|
|
381
|
+
| Cause.TimeoutException
|
|
382
|
+
| SdkError
|
|
383
|
+
| InternalServiceError
|
|
384
|
+
| InvalidParameterError
|
|
385
|
+
| InvalidRequestError
|
|
386
|
+
| ResourceNotFoundError
|
|
336
387
|
>;
|
|
337
388
|
|
|
338
389
|
/**
|
|
@@ -343,7 +394,12 @@ interface SecretsManagerService$ {
|
|
|
343
394
|
options?: HttpHandlerOptions,
|
|
344
395
|
): Effect.Effect<
|
|
345
396
|
RotateSecretCommandOutput,
|
|
346
|
-
|
|
397
|
+
| Cause.TimeoutException
|
|
398
|
+
| SdkError
|
|
399
|
+
| InternalServiceError
|
|
400
|
+
| InvalidParameterError
|
|
401
|
+
| InvalidRequestError
|
|
402
|
+
| ResourceNotFoundError
|
|
347
403
|
>;
|
|
348
404
|
|
|
349
405
|
/**
|
|
@@ -354,7 +410,12 @@ interface SecretsManagerService$ {
|
|
|
354
410
|
options?: HttpHandlerOptions,
|
|
355
411
|
): Effect.Effect<
|
|
356
412
|
StopReplicationToReplicaCommandOutput,
|
|
357
|
-
|
|
413
|
+
| Cause.TimeoutException
|
|
414
|
+
| SdkError
|
|
415
|
+
| InternalServiceError
|
|
416
|
+
| InvalidParameterError
|
|
417
|
+
| InvalidRequestError
|
|
418
|
+
| ResourceNotFoundError
|
|
358
419
|
>;
|
|
359
420
|
|
|
360
421
|
/**
|
|
@@ -365,7 +426,12 @@ interface SecretsManagerService$ {
|
|
|
365
426
|
options?: HttpHandlerOptions,
|
|
366
427
|
): Effect.Effect<
|
|
367
428
|
TagResourceCommandOutput,
|
|
368
|
-
|
|
429
|
+
| Cause.TimeoutException
|
|
430
|
+
| SdkError
|
|
431
|
+
| InternalServiceError
|
|
432
|
+
| InvalidParameterError
|
|
433
|
+
| InvalidRequestError
|
|
434
|
+
| ResourceNotFoundError
|
|
369
435
|
>;
|
|
370
436
|
|
|
371
437
|
/**
|
|
@@ -376,7 +442,12 @@ interface SecretsManagerService$ {
|
|
|
376
442
|
options?: HttpHandlerOptions,
|
|
377
443
|
): Effect.Effect<
|
|
378
444
|
UntagResourceCommandOutput,
|
|
379
|
-
|
|
445
|
+
| Cause.TimeoutException
|
|
446
|
+
| SdkError
|
|
447
|
+
| InternalServiceError
|
|
448
|
+
| InvalidParameterError
|
|
449
|
+
| InvalidRequestError
|
|
450
|
+
| ResourceNotFoundError
|
|
380
451
|
>;
|
|
381
452
|
|
|
382
453
|
/**
|
|
@@ -387,6 +458,7 @@ interface SecretsManagerService$ {
|
|
|
387
458
|
options?: HttpHandlerOptions,
|
|
388
459
|
): Effect.Effect<
|
|
389
460
|
UpdateSecretCommandOutput,
|
|
461
|
+
| Cause.TimeoutException
|
|
390
462
|
| SdkError
|
|
391
463
|
| DecryptionError
|
|
392
464
|
| EncryptionError
|
|
@@ -408,6 +480,7 @@ interface SecretsManagerService$ {
|
|
|
408
480
|
options?: HttpHandlerOptions,
|
|
409
481
|
): Effect.Effect<
|
|
410
482
|
UpdateSecretVersionStageCommandOutput,
|
|
483
|
+
| Cause.TimeoutException
|
|
411
484
|
| SdkError
|
|
412
485
|
| InternalServiceError
|
|
413
486
|
| InvalidParameterError
|
|
@@ -424,6 +497,7 @@ interface SecretsManagerService$ {
|
|
|
424
497
|
options?: HttpHandlerOptions,
|
|
425
498
|
): Effect.Effect<
|
|
426
499
|
ValidateResourcePolicyCommandOutput,
|
|
500
|
+
| Cause.TimeoutException
|
|
427
501
|
| SdkError
|
|
428
502
|
| InternalServiceError
|
|
429
503
|
| InvalidParameterError
|
|
@@ -440,7 +514,7 @@ interface SecretsManagerService$ {
|
|
|
440
514
|
export const makeSecretsManagerService = Effect.gen(function*() {
|
|
441
515
|
const client = yield* Instance.SecretsManagerClientInstance;
|
|
442
516
|
|
|
443
|
-
return Service.fromClientAndCommands<SecretsManagerService$>(
|
|
517
|
+
return yield* Service.fromClientAndCommands<SecretsManagerService$>(
|
|
444
518
|
client,
|
|
445
519
|
commands,
|
|
446
520
|
{
|