@effect-aws/client-kms 1.2.0 → 1.9.3
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/Errors/package.json +6 -0
- package/KMSClientInstance/package.json +6 -0
- package/KMSService/package.json +6 -0
- package/KMSServiceConfig/package.json +6 -0
- package/{lib → dist/cjs}/Errors.d.ts +7 -12
- package/dist/cjs/Errors.d.ts.map +1 -0
- package/dist/cjs/Errors.js +56 -0
- package/dist/cjs/Errors.js.map +1 -0
- package/dist/cjs/KMSClientInstance.d.ts +24 -0
- package/dist/cjs/KMSClientInstance.d.ts.map +1 -0
- package/dist/cjs/KMSClientInstance.js +50 -0
- package/dist/cjs/KMSClientInstance.js.map +1 -0
- package/dist/cjs/KMSService.d.ts +253 -0
- package/dist/cjs/KMSService.d.ts.map +1 -0
- package/dist/cjs/KMSService.js +112 -0
- package/dist/cjs/KMSService.js.map +1 -0
- package/dist/cjs/KMSServiceConfig.d.ts +25 -0
- package/dist/cjs/KMSServiceConfig.d.ts.map +1 -0
- package/dist/cjs/KMSServiceConfig.js +35 -0
- package/dist/cjs/KMSServiceConfig.js.map +1 -0
- package/dist/cjs/index.d.ts +39 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/Errors.d.ts +55 -0
- package/dist/dts/Errors.d.ts.map +1 -0
- package/dist/dts/KMSClientInstance.d.ts +24 -0
- package/dist/dts/KMSClientInstance.d.ts.map +1 -0
- package/dist/dts/KMSService.d.ts +253 -0
- package/dist/dts/KMSService.d.ts.map +1 -0
- package/dist/dts/KMSServiceConfig.d.ts +25 -0
- package/dist/dts/KMSServiceConfig.d.ts.map +1 -0
- package/dist/dts/index.d.ts +39 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/esm/Errors.js +53 -0
- package/dist/esm/Errors.js.map +1 -0
- package/dist/esm/KMSClientInstance.js +23 -0
- package/dist/esm/KMSClientInstance.js.map +1 -0
- package/dist/esm/KMSService.js +85 -0
- package/dist/esm/KMSService.js.map +1 -0
- package/dist/esm/KMSServiceConfig.js +31 -0
- package/dist/esm/KMSServiceConfig.js.map +1 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +4 -0
- package/package.json +60 -43
- package/src/Errors.ts +159 -0
- package/src/KMSClientInstance.ts +33 -0
- package/src/KMSService.ts +1231 -0
- package/src/KMSServiceConfig.ts +51 -0
- package/src/index.ts +44 -0
- package/CHANGELOG.md +0 -35
- package/docgen.json +0 -8
- package/lib/Errors.js +0 -56
- package/lib/KMSClientInstance.d.ts +0 -31
- package/lib/KMSClientInstance.js +0 -57
- package/lib/KMSClientInstanceConfig.d.ts +0 -23
- package/lib/KMSClientInstanceConfig.js +0 -44
- package/lib/KMSService.d.ts +0 -330
- package/lib/KMSService.js +0 -141
- package/lib/esm/Errors.js +0 -53
- package/lib/esm/KMSClientInstance.js +0 -30
- package/lib/esm/KMSClientInstanceConfig.js +0 -40
- package/lib/esm/KMSService.js +0 -137
- package/lib/esm/index.js +0 -5
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -21
- package/project.json +0 -77
- package/vitest.config.ts +0 -3
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.KMSService = exports.makeKMSService = void 0;
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
*/
|
|
30
|
+
const client_kms_1 = require("@aws-sdk/client-kms");
|
|
31
|
+
const commons_1 = require("@effect-aws/commons");
|
|
32
|
+
const effect_1 = require("effect");
|
|
33
|
+
const Errors_js_1 = require("./Errors.js");
|
|
34
|
+
const Instance = __importStar(require("./KMSClientInstance.js"));
|
|
35
|
+
const KMSServiceConfig = __importStar(require("./KMSServiceConfig.js"));
|
|
36
|
+
const commands = {
|
|
37
|
+
CancelKeyDeletionCommand: client_kms_1.CancelKeyDeletionCommand,
|
|
38
|
+
ConnectCustomKeyStoreCommand: client_kms_1.ConnectCustomKeyStoreCommand,
|
|
39
|
+
CreateAliasCommand: client_kms_1.CreateAliasCommand,
|
|
40
|
+
CreateCustomKeyStoreCommand: client_kms_1.CreateCustomKeyStoreCommand,
|
|
41
|
+
CreateGrantCommand: client_kms_1.CreateGrantCommand,
|
|
42
|
+
CreateKeyCommand: client_kms_1.CreateKeyCommand,
|
|
43
|
+
DecryptCommand: client_kms_1.DecryptCommand,
|
|
44
|
+
DeleteAliasCommand: client_kms_1.DeleteAliasCommand,
|
|
45
|
+
DeleteCustomKeyStoreCommand: client_kms_1.DeleteCustomKeyStoreCommand,
|
|
46
|
+
DeleteImportedKeyMaterialCommand: client_kms_1.DeleteImportedKeyMaterialCommand,
|
|
47
|
+
DeriveSharedSecretCommand: client_kms_1.DeriveSharedSecretCommand,
|
|
48
|
+
DescribeCustomKeyStoresCommand: client_kms_1.DescribeCustomKeyStoresCommand,
|
|
49
|
+
DescribeKeyCommand: client_kms_1.DescribeKeyCommand,
|
|
50
|
+
DisableKeyCommand: client_kms_1.DisableKeyCommand,
|
|
51
|
+
DisableKeyRotationCommand: client_kms_1.DisableKeyRotationCommand,
|
|
52
|
+
DisconnectCustomKeyStoreCommand: client_kms_1.DisconnectCustomKeyStoreCommand,
|
|
53
|
+
EnableKeyCommand: client_kms_1.EnableKeyCommand,
|
|
54
|
+
EnableKeyRotationCommand: client_kms_1.EnableKeyRotationCommand,
|
|
55
|
+
EncryptCommand: client_kms_1.EncryptCommand,
|
|
56
|
+
GenerateDataKeyCommand: client_kms_1.GenerateDataKeyCommand,
|
|
57
|
+
GenerateDataKeyPairCommand: client_kms_1.GenerateDataKeyPairCommand,
|
|
58
|
+
GenerateDataKeyPairWithoutPlaintextCommand: client_kms_1.GenerateDataKeyPairWithoutPlaintextCommand,
|
|
59
|
+
GenerateDataKeyWithoutPlaintextCommand: client_kms_1.GenerateDataKeyWithoutPlaintextCommand,
|
|
60
|
+
GenerateMacCommand: client_kms_1.GenerateMacCommand,
|
|
61
|
+
GenerateRandomCommand: client_kms_1.GenerateRandomCommand,
|
|
62
|
+
GetKeyPolicyCommand: client_kms_1.GetKeyPolicyCommand,
|
|
63
|
+
GetKeyRotationStatusCommand: client_kms_1.GetKeyRotationStatusCommand,
|
|
64
|
+
GetParametersForImportCommand: client_kms_1.GetParametersForImportCommand,
|
|
65
|
+
GetPublicKeyCommand: client_kms_1.GetPublicKeyCommand,
|
|
66
|
+
ImportKeyMaterialCommand: client_kms_1.ImportKeyMaterialCommand,
|
|
67
|
+
ListAliasesCommand: client_kms_1.ListAliasesCommand,
|
|
68
|
+
ListGrantsCommand: client_kms_1.ListGrantsCommand,
|
|
69
|
+
ListKeyPoliciesCommand: client_kms_1.ListKeyPoliciesCommand,
|
|
70
|
+
ListKeyRotationsCommand: client_kms_1.ListKeyRotationsCommand,
|
|
71
|
+
ListKeysCommand: client_kms_1.ListKeysCommand,
|
|
72
|
+
ListResourceTagsCommand: client_kms_1.ListResourceTagsCommand,
|
|
73
|
+
ListRetirableGrantsCommand: client_kms_1.ListRetirableGrantsCommand,
|
|
74
|
+
PutKeyPolicyCommand: client_kms_1.PutKeyPolicyCommand,
|
|
75
|
+
ReEncryptCommand: client_kms_1.ReEncryptCommand,
|
|
76
|
+
ReplicateKeyCommand: client_kms_1.ReplicateKeyCommand,
|
|
77
|
+
RetireGrantCommand: client_kms_1.RetireGrantCommand,
|
|
78
|
+
RevokeGrantCommand: client_kms_1.RevokeGrantCommand,
|
|
79
|
+
RotateKeyOnDemandCommand: client_kms_1.RotateKeyOnDemandCommand,
|
|
80
|
+
ScheduleKeyDeletionCommand: client_kms_1.ScheduleKeyDeletionCommand,
|
|
81
|
+
SignCommand: client_kms_1.SignCommand,
|
|
82
|
+
TagResourceCommand: client_kms_1.TagResourceCommand,
|
|
83
|
+
UntagResourceCommand: client_kms_1.UntagResourceCommand,
|
|
84
|
+
UpdateAliasCommand: client_kms_1.UpdateAliasCommand,
|
|
85
|
+
UpdateCustomKeyStoreCommand: client_kms_1.UpdateCustomKeyStoreCommand,
|
|
86
|
+
UpdateKeyDescriptionCommand: client_kms_1.UpdateKeyDescriptionCommand,
|
|
87
|
+
UpdatePrimaryRegionCommand: client_kms_1.UpdatePrimaryRegionCommand,
|
|
88
|
+
VerifyCommand: client_kms_1.VerifyCommand,
|
|
89
|
+
VerifyMacCommand: client_kms_1.VerifyMacCommand,
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @since 1.0.0
|
|
93
|
+
* @category constructors
|
|
94
|
+
*/
|
|
95
|
+
exports.makeKMSService = effect_1.Effect.gen(function* () {
|
|
96
|
+
const client = yield* Instance.KMSClientInstance;
|
|
97
|
+
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
98
|
+
errorTags: Errors_js_1.AllServiceErrors,
|
|
99
|
+
resolveClientConfig: KMSServiceConfig.toKMSClientConfig,
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
/**
|
|
103
|
+
* @since 1.0.0
|
|
104
|
+
* @category models
|
|
105
|
+
*/
|
|
106
|
+
class KMSService extends effect_1.Effect.Tag("@effect-aws/client-kms/KMSService")() {
|
|
107
|
+
static defaultLayer = effect_1.Layer.effect(this, exports.makeKMSService).pipe(effect_1.Layer.provide(Instance.layer));
|
|
108
|
+
static layer = (config) => effect_1.Layer.effect(this, exports.makeKMSService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(KMSServiceConfig.setKMSServiceConfig(config)));
|
|
109
|
+
static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeKMSService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.KMSClientInstance, effect_1.Effect.map(KMSServiceConfig.toKMSClientConfig, evaluate))));
|
|
110
|
+
}
|
|
111
|
+
exports.KMSService = KMSService;
|
|
112
|
+
//# sourceMappingURL=KMSService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KMSService.js","sourceRoot":"","sources":["../../src/KMSService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oDAkK6B;AAE7B,iDAA8C;AAC9C,mCAAuC;AAmDvC,2CAA+C;AAC/C,iEAAmD;AACnD,wEAA0D;AAE1D,MAAM,QAAQ,GAAG;IACf,wBAAwB,EAAxB,qCAAwB;IACxB,4BAA4B,EAA5B,yCAA4B;IAC5B,kBAAkB,EAAlB,+BAAkB;IAClB,2BAA2B,EAA3B,wCAA2B;IAC3B,kBAAkB,EAAlB,+BAAkB;IAClB,gBAAgB,EAAhB,6BAAgB;IAChB,cAAc,EAAd,2BAAc;I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EAAE,QAAQ,CAAC,CACzD,CACF,CACF,CAAC;;AApBN,gCAqBC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import type { KMSClientConfig } from "@aws-sdk/client-kms";
|
|
5
|
+
import { Effect, Layer } from "effect";
|
|
6
|
+
import type { KMSService } from "./KMSService.js";
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category kms service config
|
|
10
|
+
*/
|
|
11
|
+
export declare const withKMSServiceConfig: {
|
|
12
|
+
(config: KMSService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
13
|
+
<A, E, R>(effect: Effect.Effect<A, E, R>, config: KMSService.Config): Effect.Effect<A, E, R>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @since 1.0.0
|
|
17
|
+
* @category kms service config
|
|
18
|
+
*/
|
|
19
|
+
export declare const setKMSServiceConfig: (config: KMSService.Config) => Layer.Layer<never, never, never>;
|
|
20
|
+
/**
|
|
21
|
+
* @since 1.0.0
|
|
22
|
+
* @category adapters
|
|
23
|
+
*/
|
|
24
|
+
export declare const toKMSClientConfig: Effect.Effect<KMSClientConfig>;
|
|
25
|
+
//# sourceMappingURL=KMSServiceConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KMSServiceConfig.d.ts","sourceRoot":"","sources":["../../src/KMSServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAWlD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACjG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAK9F,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,WAAY,WAAW,MAAM,qCAAyD,CAAC;AAEvH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAQ3D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toKMSClientConfig = exports.setKMSServiceConfig = exports.withKMSServiceConfig = void 0;
|
|
4
|
+
const commons_1 = require("@effect-aws/commons");
|
|
5
|
+
const effect_1 = require("effect");
|
|
6
|
+
const Function_1 = require("effect/Function");
|
|
7
|
+
const GlobalValue_1 = require("effect/GlobalValue");
|
|
8
|
+
/**
|
|
9
|
+
* @since 1.0.0
|
|
10
|
+
* @category kms service config
|
|
11
|
+
*/
|
|
12
|
+
const currentKMSServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-kms/currentKMSServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category kms service config
|
|
16
|
+
*/
|
|
17
|
+
exports.withKMSServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentKMSServiceConfig, config));
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category kms service config
|
|
21
|
+
*/
|
|
22
|
+
const setKMSServiceConfig = (config) => effect_1.Layer.locallyScoped(currentKMSServiceConfig, config);
|
|
23
|
+
exports.setKMSServiceConfig = setKMSServiceConfig;
|
|
24
|
+
/**
|
|
25
|
+
* @since 1.0.0
|
|
26
|
+
* @category adapters
|
|
27
|
+
*/
|
|
28
|
+
exports.toKMSClientConfig = effect_1.Effect.gen(function* () {
|
|
29
|
+
const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentKMSServiceConfig);
|
|
30
|
+
const logger = serviceLogger === true
|
|
31
|
+
? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
|
|
32
|
+
: (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
|
|
33
|
+
return { logger, ...config };
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=KMSServiceConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KMSServiceConfig.js","sourceRoot":"","sources":["../../src/KMSServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,uBAAuB,GAAG,IAAA,yBAAW,EACzC,gDAAgD,EAChD,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAAoB,EAAE,CAAC,CACjD,CAAC;AAEF;;;GAGG;AACU,QAAA,oBAAoB,GAG7B,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAyB,EAA0B,EAAE,CAC7F,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,uBAAuB,EAAE,MAAM,CAAC,CAC1D,CAAC;AAEF;;;GAGG;AACI,MAAM,mBAAmB,GAAG,CAAC,MAAyB,EAAE,EAAE,CAAC,cAAK,CAAC,aAAa,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AAA1G,QAAA,mBAAmB,uBAAuF;AAEvH;;;GAGG;AACU,QAAA,iBAAiB,GAAmC,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnF,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;IAE1F,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { KMSService } from "./KMSService.js";
|
|
5
|
+
/**
|
|
6
|
+
* @since 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export * from "./Errors.js";
|
|
9
|
+
/**
|
|
10
|
+
* @since 1.0.0
|
|
11
|
+
*/
|
|
12
|
+
export * as KMSClientInstance from "./KMSClientInstance.js";
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
*/
|
|
16
|
+
export * as KMSServiceConfig from "./KMSServiceConfig.js";
|
|
17
|
+
/**
|
|
18
|
+
* @since 1.0.0
|
|
19
|
+
*/
|
|
20
|
+
export * from "./KMSService.js";
|
|
21
|
+
/**
|
|
22
|
+
* @since 1.0.0
|
|
23
|
+
* @category exports
|
|
24
|
+
* @alias KMSService
|
|
25
|
+
*/
|
|
26
|
+
export declare namespace KMS {
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
* @alias KMSService.Config
|
|
30
|
+
*/
|
|
31
|
+
type Config = KMSService.Config;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @since 1.0.0
|
|
35
|
+
* @category exports
|
|
36
|
+
* @alias KMSService
|
|
37
|
+
*/
|
|
38
|
+
export declare const KMS: typeof KMSService;
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAE5D;;GAEG;AACH,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAEhC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B;;;OAGG;IACH,KAAY,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;CACxC;AAED;;;;GAIG;AACH,eAAO,MAAM,GAAG,mBAAa,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.KMS = exports.KMSServiceConfig = exports.KMSClientInstance = void 0;
|
|
30
|
+
/**
|
|
31
|
+
* @since 1.0.0
|
|
32
|
+
*/
|
|
33
|
+
const KMSService_js_1 = require("./KMSService.js");
|
|
34
|
+
/**
|
|
35
|
+
* @since 1.0.0
|
|
36
|
+
*/
|
|
37
|
+
__exportStar(require("./Errors.js"), exports);
|
|
38
|
+
/**
|
|
39
|
+
* @since 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
exports.KMSClientInstance = __importStar(require("./KMSClientInstance.js"));
|
|
42
|
+
/**
|
|
43
|
+
* @since 1.0.0
|
|
44
|
+
*/
|
|
45
|
+
exports.KMSServiceConfig = __importStar(require("./KMSServiceConfig.js"));
|
|
46
|
+
/**
|
|
47
|
+
* @since 1.0.0
|
|
48
|
+
*/
|
|
49
|
+
__exportStar(require("./KMSService.js"), exports);
|
|
50
|
+
/**
|
|
51
|
+
* @since 1.0.0
|
|
52
|
+
* @category exports
|
|
53
|
+
* @alias KMSService
|
|
54
|
+
*/
|
|
55
|
+
exports.KMS = KMSService_js_1.KMSService;
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,mDAA6C;AAE7C;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,4EAA4D;AAE5D;;GAEG;AACH,0EAA0D;AAE1D;;GAEG;AACH,kDAAgC;AAehC;;;;GAIG;AACU,QAAA,GAAG,GAAG,0BAAU,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { AlreadyExistsException, CloudHsmClusterInUseException, CloudHsmClusterInvalidConfigurationException, CloudHsmClusterNotActiveException, CloudHsmClusterNotFoundException, CloudHsmClusterNotRelatedException, ConflictException, CustomKeyStoreHasCMKsException, CustomKeyStoreInvalidStateException, CustomKeyStoreNameInUseException, CustomKeyStoreNotFoundException, DependencyTimeoutException, DisabledException, DryRunOperationException, ExpiredImportTokenException, IncorrectKeyException, IncorrectKeyMaterialException, IncorrectTrustAnchorException, InvalidAliasNameException, InvalidArnException, InvalidCiphertextException, InvalidGrantIdException, InvalidGrantTokenException, InvalidImportTokenException, InvalidKeyUsageException, InvalidMarkerException, KeyUnavailableException, KMSInternalException, KMSInvalidMacException, KMSInvalidSignatureException, KMSInvalidStateException, LimitExceededException, MalformedPolicyDocumentException, NotFoundException, TagException, UnsupportedOperationException, XksKeyAlreadyInUseException, XksKeyInvalidConfigurationException, XksKeyNotFoundException, XksProxyIncorrectAuthenticationCredentialException, XksProxyInvalidConfigurationException, XksProxyInvalidResponseException, XksProxyUriEndpointInUseException, XksProxyUriInUseException, XksProxyUriUnreachableException, XksProxyVpcEndpointServiceInUseException, XksProxyVpcEndpointServiceInvalidConfigurationException, XksProxyVpcEndpointServiceNotFoundException } from "@aws-sdk/client-kms";
|
|
2
|
+
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
+
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
|
+
export declare const AllServiceErrors: readonly ["AlreadyExistsException", "CloudHsmClusterInUseException", "CloudHsmClusterInvalidConfigurationException", "CloudHsmClusterNotActiveException", "CloudHsmClusterNotFoundException", "CloudHsmClusterNotRelatedException", "ConflictException", "CustomKeyStoreHasCMKsException", "CustomKeyStoreInvalidStateException", "CustomKeyStoreNameInUseException", "CustomKeyStoreNotFoundException", "DependencyTimeoutException", "DisabledException", "DryRunOperationException", "ExpiredImportTokenException", "IncorrectKeyException", "IncorrectKeyMaterialException", "IncorrectTrustAnchorException", "InvalidAliasNameException", "InvalidArnException", "InvalidCiphertextException", "InvalidGrantIdException", "InvalidGrantTokenException", "InvalidImportTokenException", "InvalidKeyUsageException", "InvalidMarkerException", "KMSInternalException", "KMSInvalidMacException", "KMSInvalidSignatureException", "KMSInvalidStateException", "KeyUnavailableException", "LimitExceededException", "MalformedPolicyDocumentException", "NotFoundException", "TagException", "UnsupportedOperationException", "XksKeyAlreadyInUseException", "XksKeyInvalidConfigurationException", "XksKeyNotFoundException", "XksProxyIncorrectAuthenticationCredentialException", "XksProxyInvalidConfigurationException", "XksProxyInvalidResponseException", "XksProxyUriEndpointInUseException", "XksProxyUriInUseException", "XksProxyUriUnreachableException", "XksProxyVpcEndpointServiceInUseException", "XksProxyVpcEndpointServiceInvalidConfigurationException", "XksProxyVpcEndpointServiceNotFoundException"];
|
|
5
|
+
export type AlreadyExistsError = TaggedException<AlreadyExistsException>;
|
|
6
|
+
export type CloudHsmClusterInUseError = TaggedException<CloudHsmClusterInUseException>;
|
|
7
|
+
export type CloudHsmClusterInvalidConfigurationError = TaggedException<CloudHsmClusterInvalidConfigurationException>;
|
|
8
|
+
export type CloudHsmClusterNotActiveError = TaggedException<CloudHsmClusterNotActiveException>;
|
|
9
|
+
export type CloudHsmClusterNotFoundError = TaggedException<CloudHsmClusterNotFoundException>;
|
|
10
|
+
export type CloudHsmClusterNotRelatedError = TaggedException<CloudHsmClusterNotRelatedException>;
|
|
11
|
+
export type ConflictError = TaggedException<ConflictException>;
|
|
12
|
+
export type CustomKeyStoreHasCMKsError = TaggedException<CustomKeyStoreHasCMKsException>;
|
|
13
|
+
export type CustomKeyStoreInvalidStateError = TaggedException<CustomKeyStoreInvalidStateException>;
|
|
14
|
+
export type CustomKeyStoreNameInUseError = TaggedException<CustomKeyStoreNameInUseException>;
|
|
15
|
+
export type CustomKeyStoreNotFoundError = TaggedException<CustomKeyStoreNotFoundException>;
|
|
16
|
+
export type DependencyTimeoutError = TaggedException<DependencyTimeoutException>;
|
|
17
|
+
export type DisabledError = TaggedException<DisabledException>;
|
|
18
|
+
export type DryRunOperationError = TaggedException<DryRunOperationException>;
|
|
19
|
+
export type ExpiredImportTokenError = TaggedException<ExpiredImportTokenException>;
|
|
20
|
+
export type IncorrectKeyError = TaggedException<IncorrectKeyException>;
|
|
21
|
+
export type IncorrectKeyMaterialError = TaggedException<IncorrectKeyMaterialException>;
|
|
22
|
+
export type IncorrectTrustAnchorError = TaggedException<IncorrectTrustAnchorException>;
|
|
23
|
+
export type InvalidAliasNameError = TaggedException<InvalidAliasNameException>;
|
|
24
|
+
export type InvalidArnError = TaggedException<InvalidArnException>;
|
|
25
|
+
export type InvalidCiphertextError = TaggedException<InvalidCiphertextException>;
|
|
26
|
+
export type InvalidGrantIdError = TaggedException<InvalidGrantIdException>;
|
|
27
|
+
export type InvalidGrantTokenError = TaggedException<InvalidGrantTokenException>;
|
|
28
|
+
export type InvalidImportTokenError = TaggedException<InvalidImportTokenException>;
|
|
29
|
+
export type InvalidKeyUsageError = TaggedException<InvalidKeyUsageException>;
|
|
30
|
+
export type InvalidMarkerError = TaggedException<InvalidMarkerException>;
|
|
31
|
+
export type KMSInternalError = TaggedException<KMSInternalException>;
|
|
32
|
+
export type KMSInvalidMacError = TaggedException<KMSInvalidMacException>;
|
|
33
|
+
export type KMSInvalidSignatureError = TaggedException<KMSInvalidSignatureException>;
|
|
34
|
+
export type KMSInvalidStateError = TaggedException<KMSInvalidStateException>;
|
|
35
|
+
export type KeyUnavailableError = TaggedException<KeyUnavailableException>;
|
|
36
|
+
export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
37
|
+
export type MalformedPolicyDocumentError = TaggedException<MalformedPolicyDocumentException>;
|
|
38
|
+
export type NotFoundError = TaggedException<NotFoundException>;
|
|
39
|
+
export type TagError = TaggedException<TagException>;
|
|
40
|
+
export type UnsupportedOperationError = TaggedException<UnsupportedOperationException>;
|
|
41
|
+
export type XksKeyAlreadyInUseError = TaggedException<XksKeyAlreadyInUseException>;
|
|
42
|
+
export type XksKeyInvalidConfigurationError = TaggedException<XksKeyInvalidConfigurationException>;
|
|
43
|
+
export type XksKeyNotFoundError = TaggedException<XksKeyNotFoundException>;
|
|
44
|
+
export type XksProxyIncorrectAuthenticationCredentialError = TaggedException<XksProxyIncorrectAuthenticationCredentialException>;
|
|
45
|
+
export type XksProxyInvalidConfigurationError = TaggedException<XksProxyInvalidConfigurationException>;
|
|
46
|
+
export type XksProxyInvalidResponseError = TaggedException<XksProxyInvalidResponseException>;
|
|
47
|
+
export type XksProxyUriEndpointInUseError = TaggedException<XksProxyUriEndpointInUseException>;
|
|
48
|
+
export type XksProxyUriInUseError = TaggedException<XksProxyUriInUseException>;
|
|
49
|
+
export type XksProxyUriUnreachableError = TaggedException<XksProxyUriUnreachableException>;
|
|
50
|
+
export type XksProxyVpcEndpointServiceInUseError = TaggedException<XksProxyVpcEndpointServiceInUseException>;
|
|
51
|
+
export type XksProxyVpcEndpointServiceInvalidConfigurationError = TaggedException<XksProxyVpcEndpointServiceInvalidConfigurationException>;
|
|
52
|
+
export type XksProxyVpcEndpointServiceNotFoundError = TaggedException<XksProxyVpcEndpointServiceNotFoundException>;
|
|
53
|
+
export type SdkError = CommonSdkError;
|
|
54
|
+
export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
|
|
55
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,6BAA6B,EAC7B,4CAA4C,EAC5C,iCAAiC,EACjC,gCAAgC,EAChC,kCAAkC,EAClC,iBAAiB,EACjB,8BAA8B,EAC9B,mCAAmC,EACnC,gCAAgC,EAChC,+BAA+B,EAC/B,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,6BAA6B,EAC7B,6BAA6B,EAC7B,yBAAyB,EACzB,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACxB,sBAAsB,EACtB,gCAAgC,EAChC,iBAAiB,EACjB,YAAY,EACZ,6BAA6B,EAC7B,2BAA2B,EAC3B,mCAAmC,EACnC,uBAAuB,EACvB,kDAAkD,EAClD,qCAAqC,EACrC,gCAAgC,EAChC,iCAAiC,EACjC,yBAAyB,EACzB,+BAA+B,EAC/B,wCAAwC,EACxC,uDAAuD,EACvD,2CAA2C,EAC5C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB,+hDAiDnB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,yBAAyB,GAAG,eA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,GAAG,eAAe,CAC1E,kDAAkD,CACnD,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAC,qCAAqC,CAAC,CAAC;AACvG,MAAM,MAAM,4BAA4B,GAAG,eAAe,CAAC,gCAAgC,CAAC,CAAC;AAC7F,MAAM,MAAM,6BAA6B,GAAG,eAAe,CAAC,iCAAiC,CAAC,CAAC;AAC/F,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,oCAAoC,GAAG,eAAe,CAAC,wCAAwC,CAAC,CAAC;AAC7G,MAAM,MAAM,mDAAmD,GAAG,eAAe,CAC/E,uDAAuD,CACxD,CAAC;AACF,MAAM,MAAM,uCAAuC,GAAG,eAAe,CAAC,2CAA2C,CAAC,CAAC;AAEnH,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { KMSClient } from "@aws-sdk/client-kms";
|
|
5
|
+
import { Context, Effect, Layer } from "effect";
|
|
6
|
+
declare const KMSClientInstance_base: Context.TagClass<KMSClientInstance, "@effect-aws/client-kms/KMSClientInstance", KMSClient>;
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category tags
|
|
10
|
+
*/
|
|
11
|
+
export declare class KMSClientInstance extends KMSClientInstance_base {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category constructors
|
|
16
|
+
*/
|
|
17
|
+
export declare const make: Effect.Effect<KMSClient, never, import("effect/Scope").Scope>;
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category layers
|
|
21
|
+
*/
|
|
22
|
+
export declare const layer: Layer.Layer<KMSClientInstance, never, never>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=KMSClientInstance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KMSClientInstance.d.ts","sourceRoot":"","sources":["../../src/KMSClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEN;CAAG;AAEpC;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}
|