@effect-aws/client-secrets-manager 1.9.5 → 1.10.2
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/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/SecretsManagerService.d.ts +27 -26
- 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/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/SecretsManagerService.d.ts +27 -26
- package/dist/dts/SecretsManagerService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.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/Errors.ts +1 -4
- package/src/SecretsManagerService.ts +92 -17
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { DecryptionFailure, EncryptionFailure, InternalServiceError as InternalServiceException, InvalidNextTokenException, InvalidParameterException, InvalidRequestException, LimitExceededException, MalformedPolicyDocumentException, PreconditionNotMetException, PublicPolicyException, ResourceExistsException, ResourceNotFoundException } from "@aws-sdk/client-secrets-manager";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["DecryptionFailure", "EncryptionFailure", "InternalServiceError", "InvalidNextTokenException", "InvalidParameterException", "InvalidRequestException", "LimitExceededException", "MalformedPolicyDocumentException", "PreconditionNotMetException", "PublicPolicyException", "ResourceExistsException", "ResourceNotFoundException"];
|
|
5
4
|
export type DecryptionError = TaggedException<DecryptionFailure>;
|
|
6
5
|
export type EncryptionError = TaggedException<EncryptionFailure>;
|
|
@@ -14,6 +13,7 @@ export type PreconditionNotMetError = TaggedException<PreconditionNotMetExceptio
|
|
|
14
13
|
export type PublicPolicyError = TaggedException<PublicPolicyException>;
|
|
15
14
|
export type ResourceExistsError = TaggedException<ResourceExistsException>;
|
|
16
15
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
17
|
-
export type SdkError =
|
|
18
|
-
|
|
16
|
+
export type SdkError = TaggedException<Error & {
|
|
17
|
+
name: "SdkError";
|
|
18
|
+
}>;
|
|
19
19
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,IAAI,wBAAwB,EAChD,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,gCAAgC,EAChC,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,IAAI,wBAAwB,EAChD,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,gCAAgC,EAChC,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,gVAanB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,4BAA4B,GAAG,eAAe,CAAC,gCAAgC,CAAC,CAAC;AAC7F,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/cjs/Errors.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
3
|
+
exports.AllServiceErrors = void 0;
|
|
5
4
|
exports.AllServiceErrors = [
|
|
6
5
|
"DecryptionFailure",
|
|
7
6
|
"EncryptionFailure",
|
|
@@ -16,5 +15,4 @@ exports.AllServiceErrors = [
|
|
|
16
15
|
"ResourceExistsException",
|
|
17
16
|
"ResourceNotFoundException",
|
|
18
17
|
];
|
|
19
|
-
exports.SdkError = commons_1.SdkError;
|
|
20
18
|
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAgBa,QAAA,gBAAgB,GAAG;IAC9B,mBAAmB;IACnB,mBAAmB;IACnB,sBAAsB;IACtB,2BAA2B;IAC3B,2BAA2B;IAC3B,yBAAyB;IACzB,wBAAwB;IACxB,kCAAkC;IAClC,6BAA6B;IAC7B,uBAAuB;IACvB,yBAAyB;IACzB,2BAA2B;CACnB,CAAC"}
|
|
@@ -2,104 +2,105 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
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
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { DecryptionError, EncryptionError, InternalServiceError, InvalidNextTokenError, InvalidParameterError, InvalidRequestError, LimitExceededError, MalformedPolicyDocumentError, PreconditionNotMetError, PublicPolicyError, ResourceExistsError, ResourceNotFoundError } from "./Errors.js";
|
|
8
|
+
import type { DecryptionError, EncryptionError, InternalServiceError, InvalidNextTokenError, InvalidParameterError, InvalidRequestError, LimitExceededError, MalformedPolicyDocumentError, PreconditionNotMetError, PublicPolicyError, ResourceExistsError, ResourceNotFoundError, SdkError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./SecretsManagerClientInstance.js";
|
|
9
10
|
interface SecretsManagerService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
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,KA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EAAE,oCAAoC,EAC1C,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,qCAAqC,EACnC,KAAK,CAAC,gBAAgB,GACtB,QAAQ,GACR,oBAAoB,GACpB,qBAAqB,GACrB,mBAAmB,GACnB,kBAAkB,GAClB,qBAAqB,CACxB,CAAC;IAEF;;OAEG;IACH,sBAAsB,CACpB,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,mCAAmC,EACjC,KAAK,CAAC,gBAAgB,GACtB,QAAQ,GACR,oBAAoB,GACpB,qBAAqB,GACrB,mBAAmB,GACnB,4BAA4B,GAC5B,qBAAqB,CACxB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,qFAWpC,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,0BAGxC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,mDAAqF;IACjH,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,sBAAsB,MAAM,sDAIzD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,0BAA0B,KAAK,oBAAoB,sDAS3E;CACL;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;AAgBvC,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,iDAAwB;IACxB,qBAAqB,EAArB,8CAAqB;IACrB,2BAA2B,EAA3B,oDAA2B;IAC3B,kBAAkB,EAAlB,2CAAkB;IAClB,wBAAwB,EAAxB,iDAAwB;IACxB,qBAAqB,EAArB,8CAAqB;IACrB,mCAAmC,EAAnC,4DAAmC;IACnC,+BAA+B,EAA/B,wDAA+B;IAC/B,oBAAoB,EAApB,6CAAoB;IACpB,mBAAmB,EAAnB,4CAAmB;IACnB,+BAA+B,EAA/B,wDAA+B;IAC/B,kBAAkB,EAAlB,2CAAkB;IAClB,oBAAoB,EAApB,6CAAoB;IACpB,mBAAmB,EAAnB,4CAAmB;IACnB,+BAA+B,EAA/B,wDAA+B;IAC/B,6BAA6B,EAA7B,sDAA6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5 @@
|
|
|
1
1
|
import type { DecryptionFailure, EncryptionFailure, InternalServiceError as InternalServiceException, InvalidNextTokenException, InvalidParameterException, InvalidRequestException, LimitExceededException, MalformedPolicyDocumentException, PreconditionNotMetException, PublicPolicyException, ResourceExistsException, ResourceNotFoundException } from "@aws-sdk/client-secrets-manager";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["DecryptionFailure", "EncryptionFailure", "InternalServiceError", "InvalidNextTokenException", "InvalidParameterException", "InvalidRequestException", "LimitExceededException", "MalformedPolicyDocumentException", "PreconditionNotMetException", "PublicPolicyException", "ResourceExistsException", "ResourceNotFoundException"];
|
|
5
4
|
export type DecryptionError = TaggedException<DecryptionFailure>;
|
|
6
5
|
export type EncryptionError = TaggedException<EncryptionFailure>;
|
|
@@ -14,6 +13,7 @@ export type PreconditionNotMetError = TaggedException<PreconditionNotMetExceptio
|
|
|
14
13
|
export type PublicPolicyError = TaggedException<PublicPolicyException>;
|
|
15
14
|
export type ResourceExistsError = TaggedException<ResourceExistsException>;
|
|
16
15
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
17
|
-
export type SdkError =
|
|
18
|
-
|
|
16
|
+
export type SdkError = TaggedException<Error & {
|
|
17
|
+
name: "SdkError";
|
|
18
|
+
}>;
|
|
19
19
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/dts/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,IAAI,wBAAwB,EAChD,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,gCAAgC,EAChC,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAu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E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -2,104 +2,105 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
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
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { DecryptionError, EncryptionError, InternalServiceError, InvalidNextTokenError, InvalidParameterError, InvalidRequestError, LimitExceededError, MalformedPolicyDocumentError, PreconditionNotMetError, PublicPolicyError, ResourceExistsError, ResourceNotFoundError } from "./Errors.js";
|
|
8
|
+
import type { DecryptionError, EncryptionError, InternalServiceError, InvalidNextTokenError, InvalidParameterError, InvalidRequestError, LimitExceededError, MalformedPolicyDocumentError, PreconditionNotMetError, PublicPolicyError, ResourceExistsError, ResourceNotFoundError, SdkError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./SecretsManagerClientInstance.js";
|
|
9
10
|
interface SecretsManagerService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
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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AAQ,GACR,oBAAoB,GACpB,qBAAqB,GACrB,mBAAmB,GACnB,4BAA4B,GAC5B,qBAAqB,CACxB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,qFAWpC,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,0BAGxC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,mDAAqF;IACjH,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,sBAAsB,MAAM,sDAIzD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,0BAA0B,KAAK,oBAAoB,sDAS3E;CACL;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"}
|
package/dist/esm/Errors.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
2
1
|
export const AllServiceErrors = [
|
|
3
2
|
"DecryptionFailure",
|
|
4
3
|
"EncryptionFailure",
|
|
@@ -13,5 +12,4 @@ export const AllServiceErrors = [
|
|
|
13
12
|
"ResourceExistsException",
|
|
14
13
|
"ResourceNotFoundException",
|
|
15
14
|
];
|
|
16
|
-
export const SdkError = CommonSdkError;
|
|
17
15
|
//# sourceMappingURL=Errors.js.map
|
package/dist/esm/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB;IACnB,mBAAmB;IACnB,sBAAsB;IACtB,2BAA2B;IAC3B,2BAA2B;IAC3B,yBAAyB;IACzB,wBAAwB;IACxB,kCAAkC;IAClC,6BAA6B;IAC7B,uBAAuB;IACvB,yBAAyB;IACzB,2BAA2B;CACnB,CAAC"}
|
|
@@ -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,EAGzB,mBAAmB,EAGnB,2BAA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gB;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.2",
|
|
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"
|
package/src/Errors.ts
CHANGED
|
@@ -13,7 +13,6 @@ import type {
|
|
|
13
13
|
ResourceNotFoundException,
|
|
14
14
|
} from "@aws-sdk/client-secrets-manager";
|
|
15
15
|
import type { TaggedException } from "@effect-aws/commons";
|
|
16
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
17
16
|
|
|
18
17
|
export const AllServiceErrors = [
|
|
19
18
|
"DecryptionFailure",
|
|
@@ -42,6 +41,4 @@ export type PreconditionNotMetError = TaggedException<PreconditionNotMetExceptio
|
|
|
42
41
|
export type PublicPolicyError = TaggedException<PublicPolicyException>;
|
|
43
42
|
export type ResourceExistsError = TaggedException<ResourceExistsException>;
|
|
44
43
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
45
|
-
|
|
46
|
-
export type SdkError = CommonSdkError;
|
|
47
|
-
export const SdkError = CommonSdkError;
|
|
44
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
|
@@ -74,8 +74,9 @@ import {
|
|
|
74
74
|
type ValidateResourcePolicyCommandInput,
|
|
75
75
|
type ValidateResourcePolicyCommandOutput,
|
|
76
76
|
} from "@aws-sdk/client-secrets-manager";
|
|
77
|
-
import type { HttpHandlerOptions,
|
|
77
|
+
import type { HttpHandlerOptions, 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,
|
|
@@ -90,6 +91,7 @@ import type {
|
|
|
90
91
|
PublicPolicyError,
|
|
91
92
|
ResourceExistsError,
|
|
92
93
|
ResourceNotFoundError,
|
|
94
|
+
SdkError,
|
|
93
95
|
} from "./Errors.js";
|
|
94
96
|
import { AllServiceErrors } from "./Errors.js";
|
|
95
97
|
import * as Instance from "./SecretsManagerClientInstance.js";
|
|
@@ -132,6 +134,7 @@ interface SecretsManagerService$ {
|
|
|
132
134
|
options?: HttpHandlerOptions,
|
|
133
135
|
): Effect.Effect<
|
|
134
136
|
BatchGetSecretValueCommandOutput,
|
|
137
|
+
| Cause.TimeoutException
|
|
135
138
|
| SdkError
|
|
136
139
|
| DecryptionError
|
|
137
140
|
| InternalServiceError
|
|
@@ -149,7 +152,12 @@ interface SecretsManagerService$ {
|
|
|
149
152
|
options?: HttpHandlerOptions,
|
|
150
153
|
): Effect.Effect<
|
|
151
154
|
CancelRotateSecretCommandOutput,
|
|
152
|
-
|
|
155
|
+
| Cause.TimeoutException
|
|
156
|
+
| SdkError
|
|
157
|
+
| InternalServiceError
|
|
158
|
+
| InvalidParameterError
|
|
159
|
+
| InvalidRequestError
|
|
160
|
+
| ResourceNotFoundError
|
|
153
161
|
>;
|
|
154
162
|
|
|
155
163
|
/**
|
|
@@ -160,6 +168,7 @@ interface SecretsManagerService$ {
|
|
|
160
168
|
options?: HttpHandlerOptions,
|
|
161
169
|
): Effect.Effect<
|
|
162
170
|
CreateSecretCommandOutput,
|
|
171
|
+
| Cause.TimeoutException
|
|
163
172
|
| SdkError
|
|
164
173
|
| DecryptionError
|
|
165
174
|
| EncryptionError
|
|
@@ -181,7 +190,12 @@ interface SecretsManagerService$ {
|
|
|
181
190
|
options?: HttpHandlerOptions,
|
|
182
191
|
): Effect.Effect<
|
|
183
192
|
DeleteResourcePolicyCommandOutput,
|
|
184
|
-
|
|
193
|
+
| Cause.TimeoutException
|
|
194
|
+
| SdkError
|
|
195
|
+
| InternalServiceError
|
|
196
|
+
| InvalidParameterError
|
|
197
|
+
| InvalidRequestError
|
|
198
|
+
| ResourceNotFoundError
|
|
185
199
|
>;
|
|
186
200
|
|
|
187
201
|
/**
|
|
@@ -192,7 +206,12 @@ interface SecretsManagerService$ {
|
|
|
192
206
|
options?: HttpHandlerOptions,
|
|
193
207
|
): Effect.Effect<
|
|
194
208
|
DeleteSecretCommandOutput,
|
|
195
|
-
|
|
209
|
+
| Cause.TimeoutException
|
|
210
|
+
| SdkError
|
|
211
|
+
| InternalServiceError
|
|
212
|
+
| InvalidParameterError
|
|
213
|
+
| InvalidRequestError
|
|
214
|
+
| ResourceNotFoundError
|
|
196
215
|
>;
|
|
197
216
|
|
|
198
217
|
/**
|
|
@@ -203,7 +222,7 @@ interface SecretsManagerService$ {
|
|
|
203
222
|
options?: HttpHandlerOptions,
|
|
204
223
|
): Effect.Effect<
|
|
205
224
|
DescribeSecretCommandOutput,
|
|
206
|
-
SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError
|
|
225
|
+
Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | ResourceNotFoundError
|
|
207
226
|
>;
|
|
208
227
|
|
|
209
228
|
/**
|
|
@@ -214,7 +233,7 @@ interface SecretsManagerService$ {
|
|
|
214
233
|
options?: HttpHandlerOptions,
|
|
215
234
|
): Effect.Effect<
|
|
216
235
|
GetRandomPasswordCommandOutput,
|
|
217
|
-
SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError
|
|
236
|
+
Cause.TimeoutException | SdkError | InternalServiceError | InvalidParameterError | InvalidRequestError
|
|
218
237
|
>;
|
|
219
238
|
|
|
220
239
|
/**
|
|
@@ -225,7 +244,12 @@ interface SecretsManagerService$ {
|
|
|
225
244
|
options?: HttpHandlerOptions,
|
|
226
245
|
): Effect.Effect<
|
|
227
246
|
GetResourcePolicyCommandOutput,
|
|
228
|
-
|
|
247
|
+
| Cause.TimeoutException
|
|
248
|
+
| SdkError
|
|
249
|
+
| InternalServiceError
|
|
250
|
+
| InvalidParameterError
|
|
251
|
+
| InvalidRequestError
|
|
252
|
+
| ResourceNotFoundError
|
|
229
253
|
>;
|
|
230
254
|
|
|
231
255
|
/**
|
|
@@ -236,6 +260,7 @@ interface SecretsManagerService$ {
|
|
|
236
260
|
options?: HttpHandlerOptions,
|
|
237
261
|
): Effect.Effect<
|
|
238
262
|
GetSecretValueCommandOutput,
|
|
263
|
+
| Cause.TimeoutException
|
|
239
264
|
| SdkError
|
|
240
265
|
| DecryptionError
|
|
241
266
|
| InternalServiceError
|
|
@@ -252,7 +277,12 @@ interface SecretsManagerService$ {
|
|
|
252
277
|
options?: HttpHandlerOptions,
|
|
253
278
|
): Effect.Effect<
|
|
254
279
|
ListSecretVersionIdsCommandOutput,
|
|
255
|
-
|
|
280
|
+
| Cause.TimeoutException
|
|
281
|
+
| SdkError
|
|
282
|
+
| InternalServiceError
|
|
283
|
+
| InvalidNextTokenError
|
|
284
|
+
| InvalidParameterError
|
|
285
|
+
| ResourceNotFoundError
|
|
256
286
|
>;
|
|
257
287
|
|
|
258
288
|
/**
|
|
@@ -263,7 +293,12 @@ interface SecretsManagerService$ {
|
|
|
263
293
|
options?: HttpHandlerOptions,
|
|
264
294
|
): Effect.Effect<
|
|
265
295
|
ListSecretsCommandOutput,
|
|
266
|
-
|
|
296
|
+
| Cause.TimeoutException
|
|
297
|
+
| SdkError
|
|
298
|
+
| InternalServiceError
|
|
299
|
+
| InvalidNextTokenError
|
|
300
|
+
| InvalidParameterError
|
|
301
|
+
| InvalidRequestError
|
|
267
302
|
>;
|
|
268
303
|
|
|
269
304
|
/**
|
|
@@ -274,6 +309,7 @@ interface SecretsManagerService$ {
|
|
|
274
309
|
options?: HttpHandlerOptions,
|
|
275
310
|
): Effect.Effect<
|
|
276
311
|
PutResourcePolicyCommandOutput,
|
|
312
|
+
| Cause.TimeoutException
|
|
277
313
|
| SdkError
|
|
278
314
|
| InternalServiceError
|
|
279
315
|
| InvalidParameterError
|
|
@@ -291,6 +327,7 @@ interface SecretsManagerService$ {
|
|
|
291
327
|
options?: HttpHandlerOptions,
|
|
292
328
|
): Effect.Effect<
|
|
293
329
|
PutSecretValueCommandOutput,
|
|
330
|
+
| Cause.TimeoutException
|
|
294
331
|
| SdkError
|
|
295
332
|
| DecryptionError
|
|
296
333
|
| EncryptionError
|
|
@@ -310,7 +347,12 @@ interface SecretsManagerService$ {
|
|
|
310
347
|
options?: HttpHandlerOptions,
|
|
311
348
|
): Effect.Effect<
|
|
312
349
|
RemoveRegionsFromReplicationCommandOutput,
|
|
313
|
-
|
|
350
|
+
| Cause.TimeoutException
|
|
351
|
+
| SdkError
|
|
352
|
+
| InternalServiceError
|
|
353
|
+
| InvalidParameterError
|
|
354
|
+
| InvalidRequestError
|
|
355
|
+
| ResourceNotFoundError
|
|
314
356
|
>;
|
|
315
357
|
|
|
316
358
|
/**
|
|
@@ -321,7 +363,12 @@ interface SecretsManagerService$ {
|
|
|
321
363
|
options?: HttpHandlerOptions,
|
|
322
364
|
): Effect.Effect<
|
|
323
365
|
ReplicateSecretToRegionsCommandOutput,
|
|
324
|
-
|
|
366
|
+
| Cause.TimeoutException
|
|
367
|
+
| SdkError
|
|
368
|
+
| InternalServiceError
|
|
369
|
+
| InvalidParameterError
|
|
370
|
+
| InvalidRequestError
|
|
371
|
+
| ResourceNotFoundError
|
|
325
372
|
>;
|
|
326
373
|
|
|
327
374
|
/**
|
|
@@ -332,7 +379,12 @@ interface SecretsManagerService$ {
|
|
|
332
379
|
options?: HttpHandlerOptions,
|
|
333
380
|
): Effect.Effect<
|
|
334
381
|
RestoreSecretCommandOutput,
|
|
335
|
-
|
|
382
|
+
| Cause.TimeoutException
|
|
383
|
+
| SdkError
|
|
384
|
+
| InternalServiceError
|
|
385
|
+
| InvalidParameterError
|
|
386
|
+
| InvalidRequestError
|
|
387
|
+
| ResourceNotFoundError
|
|
336
388
|
>;
|
|
337
389
|
|
|
338
390
|
/**
|
|
@@ -343,7 +395,12 @@ interface SecretsManagerService$ {
|
|
|
343
395
|
options?: HttpHandlerOptions,
|
|
344
396
|
): Effect.Effect<
|
|
345
397
|
RotateSecretCommandOutput,
|
|
346
|
-
|
|
398
|
+
| Cause.TimeoutException
|
|
399
|
+
| SdkError
|
|
400
|
+
| InternalServiceError
|
|
401
|
+
| InvalidParameterError
|
|
402
|
+
| InvalidRequestError
|
|
403
|
+
| ResourceNotFoundError
|
|
347
404
|
>;
|
|
348
405
|
|
|
349
406
|
/**
|
|
@@ -354,7 +411,12 @@ interface SecretsManagerService$ {
|
|
|
354
411
|
options?: HttpHandlerOptions,
|
|
355
412
|
): Effect.Effect<
|
|
356
413
|
StopReplicationToReplicaCommandOutput,
|
|
357
|
-
|
|
414
|
+
| Cause.TimeoutException
|
|
415
|
+
| SdkError
|
|
416
|
+
| InternalServiceError
|
|
417
|
+
| InvalidParameterError
|
|
418
|
+
| InvalidRequestError
|
|
419
|
+
| ResourceNotFoundError
|
|
358
420
|
>;
|
|
359
421
|
|
|
360
422
|
/**
|
|
@@ -365,7 +427,12 @@ interface SecretsManagerService$ {
|
|
|
365
427
|
options?: HttpHandlerOptions,
|
|
366
428
|
): Effect.Effect<
|
|
367
429
|
TagResourceCommandOutput,
|
|
368
|
-
|
|
430
|
+
| Cause.TimeoutException
|
|
431
|
+
| SdkError
|
|
432
|
+
| InternalServiceError
|
|
433
|
+
| InvalidParameterError
|
|
434
|
+
| InvalidRequestError
|
|
435
|
+
| ResourceNotFoundError
|
|
369
436
|
>;
|
|
370
437
|
|
|
371
438
|
/**
|
|
@@ -376,7 +443,12 @@ interface SecretsManagerService$ {
|
|
|
376
443
|
options?: HttpHandlerOptions,
|
|
377
444
|
): Effect.Effect<
|
|
378
445
|
UntagResourceCommandOutput,
|
|
379
|
-
|
|
446
|
+
| Cause.TimeoutException
|
|
447
|
+
| SdkError
|
|
448
|
+
| InternalServiceError
|
|
449
|
+
| InvalidParameterError
|
|
450
|
+
| InvalidRequestError
|
|
451
|
+
| ResourceNotFoundError
|
|
380
452
|
>;
|
|
381
453
|
|
|
382
454
|
/**
|
|
@@ -387,6 +459,7 @@ interface SecretsManagerService$ {
|
|
|
387
459
|
options?: HttpHandlerOptions,
|
|
388
460
|
): Effect.Effect<
|
|
389
461
|
UpdateSecretCommandOutput,
|
|
462
|
+
| Cause.TimeoutException
|
|
390
463
|
| SdkError
|
|
391
464
|
| DecryptionError
|
|
392
465
|
| EncryptionError
|
|
@@ -408,6 +481,7 @@ interface SecretsManagerService$ {
|
|
|
408
481
|
options?: HttpHandlerOptions,
|
|
409
482
|
): Effect.Effect<
|
|
410
483
|
UpdateSecretVersionStageCommandOutput,
|
|
484
|
+
| Cause.TimeoutException
|
|
411
485
|
| SdkError
|
|
412
486
|
| InternalServiceError
|
|
413
487
|
| InvalidParameterError
|
|
@@ -424,6 +498,7 @@ interface SecretsManagerService$ {
|
|
|
424
498
|
options?: HttpHandlerOptions,
|
|
425
499
|
): Effect.Effect<
|
|
426
500
|
ValidateResourcePolicyCommandOutput,
|
|
501
|
+
| Cause.TimeoutException
|
|
427
502
|
| SdkError
|
|
428
503
|
| InternalServiceError
|
|
429
504
|
| InvalidParameterError
|
|
@@ -440,7 +515,7 @@ interface SecretsManagerService$ {
|
|
|
440
515
|
export const makeSecretsManagerService = Effect.gen(function*() {
|
|
441
516
|
const client = yield* Instance.SecretsManagerClientInstance;
|
|
442
517
|
|
|
443
|
-
return Service.fromClientAndCommands<SecretsManagerService$>(
|
|
518
|
+
return yield* Service.fromClientAndCommands<SecretsManagerService$>(
|
|
444
519
|
client,
|
|
445
520
|
commands,
|
|
446
521
|
{
|