@effect-aws/client-kms 1.1.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Errors/package.json +6 -0
- package/KMSClientInstance/package.json +6 -0
- package/KMSService/package.json +6 -0
- package/KMSServiceConfig/package.json +6 -0
- package/LICENSE +1 -1
- 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/{lib → dist/cjs}/KMSService.d.ts +16 -38
- package/dist/cjs/KMSService.d.ts.map +1 -0
- package/dist/cjs/KMSService.js +109 -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 +308 -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 +82 -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 +1224 -0
- package/src/KMSServiceConfig.ts +51 -0
- package/src/index.ts +44 -0
- package/CHANGELOG.md +0 -29
- 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.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,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
|
|
@@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AAM,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"}
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { type CancelKeyDeletionCommandInput, type CancelKeyDeletionCommandOutput, type ConnectCustomKeyStoreCommandInput, type ConnectCustomKeyStoreCommandOutput, type CreateAliasCommandInput, type CreateAliasCommandOutput, type CreateCustomKeyStoreCommandInput, type CreateCustomKeyStoreCommandOutput, type CreateGrantCommandInput, type CreateGrantCommandOutput, type CreateKeyCommandInput, type CreateKeyCommandOutput, type DecryptCommandInput, type DecryptCommandOutput, type DeleteAliasCommandInput, type DeleteAliasCommandOutput, type DeleteCustomKeyStoreCommandInput, type DeleteCustomKeyStoreCommandOutput, type DeleteImportedKeyMaterialCommandInput, type DeleteImportedKeyMaterialCommandOutput, type DeriveSharedSecretCommandInput, type DeriveSharedSecretCommandOutput, type DescribeCustomKeyStoresCommandInput, type DescribeCustomKeyStoresCommandOutput, type DescribeKeyCommandInput, type DescribeKeyCommandOutput, type DisableKeyCommandInput, type DisableKeyCommandOutput, type DisableKeyRotationCommandInput, type DisableKeyRotationCommandOutput, type DisconnectCustomKeyStoreCommandInput, type DisconnectCustomKeyStoreCommandOutput, type EnableKeyCommandInput, type EnableKeyCommandOutput, type EnableKeyRotationCommandInput, type EnableKeyRotationCommandOutput, type EncryptCommandInput, type EncryptCommandOutput, type GenerateDataKeyCommandInput, type GenerateDataKeyCommandOutput, type GenerateDataKeyPairCommandInput, type GenerateDataKeyPairCommandOutput, type GenerateDataKeyPairWithoutPlaintextCommandInput, type GenerateDataKeyPairWithoutPlaintextCommandOutput, type GenerateDataKeyWithoutPlaintextCommandInput, type GenerateDataKeyWithoutPlaintextCommandOutput, type GenerateMacCommandInput, type GenerateMacCommandOutput, type GenerateRandomCommandInput, type GenerateRandomCommandOutput, type GetKeyPolicyCommandInput, type GetKeyPolicyCommandOutput, type GetKeyRotationStatusCommandInput, type GetKeyRotationStatusCommandOutput, type GetParametersForImportCommandInput, type GetParametersForImportCommandOutput, type GetPublicKeyCommandInput, type GetPublicKeyCommandOutput, type ImportKeyMaterialCommandInput, type ImportKeyMaterialCommandOutput, type KMSClient, type KMSClientConfig, type ListAliasesCommandInput, type ListAliasesCommandOutput, type ListGrantsCommandInput, type ListGrantsCommandOutput, type ListKeyPoliciesCommandInput, type ListKeyPoliciesCommandOutput, type ListKeyRotationsCommandInput, type ListKeyRotationsCommandOutput, type ListKeysCommandInput, type ListKeysCommandOutput, type ListResourceTagsCommandInput, type ListResourceTagsCommandOutput, type ListRetirableGrantsCommandInput, type ListRetirableGrantsCommandOutput, type PutKeyPolicyCommandInput, type PutKeyPolicyCommandOutput, type ReEncryptCommandInput, type ReEncryptCommandOutput, type ReplicateKeyCommandInput, type ReplicateKeyCommandOutput, type RetireGrantCommandInput, type RetireGrantCommandOutput, type RevokeGrantCommandInput, type RevokeGrantCommandOutput, type RotateKeyOnDemandCommandInput, type RotateKeyOnDemandCommandOutput, type ScheduleKeyDeletionCommandInput, type ScheduleKeyDeletionCommandOutput, type SignCommandInput, type SignCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAliasCommandInput, type UpdateAliasCommandOutput, type UpdateCustomKeyStoreCommandInput, type UpdateCustomKeyStoreCommandOutput, type UpdateKeyDescriptionCommandInput, type UpdateKeyDescriptionCommandOutput, type UpdatePrimaryRegionCommandInput, type UpdatePrimaryRegionCommandOutput, type VerifyCommandInput, type VerifyCommandOutput, type VerifyMacCommandInput, type VerifyMacCommandOutput } from "@aws-sdk/client-kms";
|
|
5
|
+
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import { Effect, Layer } from "effect";
|
|
7
|
+
import type { AlreadyExistsError, CloudHsmClusterInUseError, CloudHsmClusterInvalidConfigurationError, CloudHsmClusterNotActiveError, CloudHsmClusterNotFoundError, CloudHsmClusterNotRelatedError, ConflictError, CustomKeyStoreHasCMKsError, CustomKeyStoreInvalidStateError, CustomKeyStoreNameInUseError, CustomKeyStoreNotFoundError, DependencyTimeoutError, DisabledError, DryRunOperationError, ExpiredImportTokenError, IncorrectKeyError, IncorrectKeyMaterialError, IncorrectTrustAnchorError, InvalidAliasNameError, InvalidArnError, InvalidCiphertextError, InvalidGrantIdError, InvalidGrantTokenError, InvalidImportTokenError, InvalidKeyUsageError, InvalidMarkerError, KeyUnavailableError, KMSInternalError, KMSInvalidMacError, KMSInvalidSignatureError, KMSInvalidStateError, LimitExceededError, MalformedPolicyDocumentError, NotFoundError, TagError, UnsupportedOperationError, XksKeyAlreadyInUseError, XksKeyInvalidConfigurationError, XksKeyNotFoundError, XksProxyIncorrectAuthenticationCredentialError, XksProxyInvalidConfigurationError, XksProxyInvalidResponseError, XksProxyUriEndpointInUseError, XksProxyUriInUseError, XksProxyUriUnreachableError, XksProxyVpcEndpointServiceInUseError, XksProxyVpcEndpointServiceInvalidConfigurationError, XksProxyVpcEndpointServiceNotFoundError } from "./Errors.js";
|
|
8
|
+
import * as Instance from "./KMSClientInstance.js";
|
|
9
|
+
interface KMSService$ {
|
|
10
|
+
readonly _: unique symbol;
|
|
11
|
+
/**
|
|
12
|
+
* @see {@link CancelKeyDeletionCommand}
|
|
13
|
+
*/
|
|
14
|
+
cancelKeyDeletion(args: CancelKeyDeletionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelKeyDeletionCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link ConnectCustomKeyStoreCommand}
|
|
17
|
+
*/
|
|
18
|
+
connectCustomKeyStore(args: ConnectCustomKeyStoreCommandInput, options?: HttpHandlerOptions): Effect.Effect<ConnectCustomKeyStoreCommandOutput, SdkError | CloudHsmClusterInvalidConfigurationError | CloudHsmClusterNotActiveError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError>;
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link CreateAliasCommand}
|
|
21
|
+
*/
|
|
22
|
+
createAlias(args: CreateAliasCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAliasCommandOutput, SdkError | AlreadyExistsError | DependencyTimeoutError | InvalidAliasNameError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError>;
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link CreateCustomKeyStoreCommand}
|
|
25
|
+
*/
|
|
26
|
+
createCustomKeyStore(args: CreateCustomKeyStoreCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCustomKeyStoreCommandOutput, SdkError | CloudHsmClusterInUseError | CloudHsmClusterInvalidConfigurationError | CloudHsmClusterNotActiveError | CloudHsmClusterNotFoundError | CustomKeyStoreNameInUseError | IncorrectTrustAnchorError | KMSInternalError | LimitExceededError | XksProxyIncorrectAuthenticationCredentialError | XksProxyInvalidConfigurationError | XksProxyInvalidResponseError | XksProxyUriEndpointInUseError | XksProxyUriInUseError | XksProxyUriUnreachableError | XksProxyVpcEndpointServiceInUseError | XksProxyVpcEndpointServiceInvalidConfigurationError | XksProxyVpcEndpointServiceNotFoundError>;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CreateGrantCommand}
|
|
29
|
+
*/
|
|
30
|
+
createGrant(args: CreateGrantCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateGrantCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidArnError | InvalidGrantTokenError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError>;
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link CreateKeyCommand}
|
|
33
|
+
*/
|
|
34
|
+
createKey(args: CreateKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateKeyCommandOutput, SdkError | CloudHsmClusterInvalidConfigurationError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | DependencyTimeoutError | InvalidArnError | KMSInternalError | LimitExceededError | MalformedPolicyDocumentError | TagError | UnsupportedOperationError | XksKeyAlreadyInUseError | XksKeyInvalidConfigurationError | XksKeyNotFoundError>;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link DecryptCommand}
|
|
37
|
+
*/
|
|
38
|
+
decrypt(args: DecryptCommandInput, options?: HttpHandlerOptions): Effect.Effect<DecryptCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | IncorrectKeyError | InvalidCiphertextError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link DeleteAliasCommand}
|
|
41
|
+
*/
|
|
42
|
+
deleteAlias(args: DeleteAliasCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAliasCommandOutput, SdkError | DependencyTimeoutError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link DeleteCustomKeyStoreCommand}
|
|
45
|
+
*/
|
|
46
|
+
deleteCustomKeyStore(args: DeleteCustomKeyStoreCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCustomKeyStoreCommandOutput, SdkError | CustomKeyStoreHasCMKsError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError>;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link DeleteImportedKeyMaterialCommand}
|
|
49
|
+
*/
|
|
50
|
+
deleteImportedKeyMaterial(args: DeleteImportedKeyMaterialCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteImportedKeyMaterialCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link DeriveSharedSecretCommand}
|
|
53
|
+
*/
|
|
54
|
+
deriveSharedSecret(args: DeriveSharedSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeriveSharedSecretCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link DescribeCustomKeyStoresCommand}
|
|
57
|
+
*/
|
|
58
|
+
describeCustomKeyStores(args: DescribeCustomKeyStoresCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeCustomKeyStoresCommandOutput, SdkError | CustomKeyStoreNotFoundError | InvalidMarkerError | KMSInternalError>;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link DescribeKeyCommand}
|
|
61
|
+
*/
|
|
62
|
+
describeKey(args: DescribeKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeKeyCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | NotFoundError>;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link DisableKeyCommand}
|
|
65
|
+
*/
|
|
66
|
+
disableKey(args: DisableKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisableKeyCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link DisableKeyRotationCommand}
|
|
69
|
+
*/
|
|
70
|
+
disableKeyRotation(args: DisableKeyRotationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisableKeyRotationCommandOutput, SdkError | DependencyTimeoutError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link DisconnectCustomKeyStoreCommand}
|
|
73
|
+
*/
|
|
74
|
+
disconnectCustomKeyStore(args: DisconnectCustomKeyStoreCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisconnectCustomKeyStoreCommandOutput, SdkError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError>;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link EnableKeyCommand}
|
|
77
|
+
*/
|
|
78
|
+
enableKey(args: EnableKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableKeyCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError>;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link EnableKeyRotationCommand}
|
|
81
|
+
*/
|
|
82
|
+
enableKeyRotation(args: EnableKeyRotationCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableKeyRotationCommandOutput, SdkError | DependencyTimeoutError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link EncryptCommand}
|
|
85
|
+
*/
|
|
86
|
+
encrypt(args: EncryptCommandInput, options?: HttpHandlerOptions): Effect.Effect<EncryptCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link GenerateDataKeyCommand}
|
|
89
|
+
*/
|
|
90
|
+
generateDataKey(args: GenerateDataKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GenerateDataKeyCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link GenerateDataKeyPairCommand}
|
|
93
|
+
*/
|
|
94
|
+
generateDataKeyPair(args: GenerateDataKeyPairCommandInput, options?: HttpHandlerOptions): Effect.Effect<GenerateDataKeyPairCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link GenerateDataKeyPairWithoutPlaintextCommand}
|
|
97
|
+
*/
|
|
98
|
+
generateDataKeyPairWithoutPlaintext(args: GenerateDataKeyPairWithoutPlaintextCommandInput, options?: HttpHandlerOptions): Effect.Effect<GenerateDataKeyPairWithoutPlaintextCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link GenerateDataKeyWithoutPlaintextCommand}
|
|
101
|
+
*/
|
|
102
|
+
generateDataKeyWithoutPlaintext(args: GenerateDataKeyWithoutPlaintextCommandInput, options?: HttpHandlerOptions): Effect.Effect<GenerateDataKeyWithoutPlaintextCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link GenerateMacCommand}
|
|
105
|
+
*/
|
|
106
|
+
generateMac(args: GenerateMacCommandInput, options?: HttpHandlerOptions): Effect.Effect<GenerateMacCommandOutput, SdkError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link GenerateRandomCommand}
|
|
109
|
+
*/
|
|
110
|
+
generateRandom(args: GenerateRandomCommandInput, options?: HttpHandlerOptions): Effect.Effect<GenerateRandomCommandOutput, SdkError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | DependencyTimeoutError | KMSInternalError | UnsupportedOperationError>;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link GetKeyPolicyCommand}
|
|
113
|
+
*/
|
|
114
|
+
getKeyPolicy(args: GetKeyPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetKeyPolicyCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
115
|
+
/**
|
|
116
|
+
* @see {@link GetKeyRotationStatusCommand}
|
|
117
|
+
*/
|
|
118
|
+
getKeyRotationStatus(args: GetKeyRotationStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetKeyRotationStatusCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link GetParametersForImportCommand}
|
|
121
|
+
*/
|
|
122
|
+
getParametersForImport(args: GetParametersForImportCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetParametersForImportCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link GetPublicKeyCommand}
|
|
125
|
+
*/
|
|
126
|
+
getPublicKey(args: GetPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPublicKeyCommandOutput, SdkError | DependencyTimeoutError | DisabledError | InvalidArnError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link ImportKeyMaterialCommand}
|
|
129
|
+
*/
|
|
130
|
+
importKeyMaterial(args: ImportKeyMaterialCommandInput, options?: HttpHandlerOptions): Effect.Effect<ImportKeyMaterialCommandOutput, SdkError | DependencyTimeoutError | ExpiredImportTokenError | IncorrectKeyMaterialError | InvalidArnError | InvalidCiphertextError | InvalidImportTokenError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link ListAliasesCommand}
|
|
133
|
+
*/
|
|
134
|
+
listAliases(args: ListAliasesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAliasesCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError>;
|
|
135
|
+
/**
|
|
136
|
+
* @see {@link ListGrantsCommand}
|
|
137
|
+
*/
|
|
138
|
+
listGrants(args: ListGrantsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListGrantsCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | InvalidGrantIdError | InvalidMarkerError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link ListKeyPoliciesCommand}
|
|
141
|
+
*/
|
|
142
|
+
listKeyPolicies(args: ListKeyPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListKeyPoliciesCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
143
|
+
/**
|
|
144
|
+
* @see {@link ListKeyRotationsCommand}
|
|
145
|
+
*/
|
|
146
|
+
listKeyRotations(args: ListKeyRotationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListKeyRotationsCommandOutput, SdkError | InvalidArnError | InvalidMarkerError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link ListKeysCommand}
|
|
149
|
+
*/
|
|
150
|
+
listKeys(args: ListKeysCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListKeysCommandOutput, SdkError | DependencyTimeoutError | InvalidMarkerError | KMSInternalError>;
|
|
151
|
+
/**
|
|
152
|
+
* @see {@link ListResourceTagsCommand}
|
|
153
|
+
*/
|
|
154
|
+
listResourceTags(args: ListResourceTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListResourceTagsCommandOutput, SdkError | InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError>;
|
|
155
|
+
/**
|
|
156
|
+
* @see {@link ListRetirableGrantsCommand}
|
|
157
|
+
*/
|
|
158
|
+
listRetirableGrants(args: ListRetirableGrantsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRetirableGrantsCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError>;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link PutKeyPolicyCommand}
|
|
161
|
+
*/
|
|
162
|
+
putKeyPolicy(args: PutKeyPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutKeyPolicyCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | MalformedPolicyDocumentError | NotFoundError | UnsupportedOperationError>;
|
|
163
|
+
/**
|
|
164
|
+
* @see {@link ReEncryptCommand}
|
|
165
|
+
*/
|
|
166
|
+
reEncrypt(args: ReEncryptCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReEncryptCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | IncorrectKeyError | InvalidCiphertextError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link ReplicateKeyCommand}
|
|
169
|
+
*/
|
|
170
|
+
replicateKey(args: ReplicateKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReplicateKeyCommandOutput, SdkError | AlreadyExistsError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | MalformedPolicyDocumentError | NotFoundError | TagError | UnsupportedOperationError>;
|
|
171
|
+
/**
|
|
172
|
+
* @see {@link RetireGrantCommand}
|
|
173
|
+
*/
|
|
174
|
+
retireGrant(args: RetireGrantCommandInput, options?: HttpHandlerOptions): Effect.Effect<RetireGrantCommandOutput, SdkError | DependencyTimeoutError | DryRunOperationError | InvalidArnError | InvalidGrantIdError | InvalidGrantTokenError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link RevokeGrantCommand}
|
|
177
|
+
*/
|
|
178
|
+
revokeGrant(args: RevokeGrantCommandInput, options?: HttpHandlerOptions): Effect.Effect<RevokeGrantCommandOutput, SdkError | DependencyTimeoutError | DryRunOperationError | InvalidArnError | InvalidGrantIdError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link RotateKeyOnDemandCommand}
|
|
181
|
+
*/
|
|
182
|
+
rotateKeyOnDemand(args: RotateKeyOnDemandCommandInput, options?: HttpHandlerOptions): Effect.Effect<RotateKeyOnDemandCommandOutput, SdkError | ConflictError | DependencyTimeoutError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | UnsupportedOperationError>;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link ScheduleKeyDeletionCommand}
|
|
185
|
+
*/
|
|
186
|
+
scheduleKeyDeletion(args: ScheduleKeyDeletionCommandInput, options?: HttpHandlerOptions): Effect.Effect<ScheduleKeyDeletionCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
187
|
+
/**
|
|
188
|
+
* @see {@link SignCommand}
|
|
189
|
+
*/
|
|
190
|
+
sign(args: SignCommandInput, options?: HttpHandlerOptions): Effect.Effect<SignCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link TagResourceCommand}
|
|
193
|
+
*/
|
|
194
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | TagError>;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link UntagResourceCommand}
|
|
197
|
+
*/
|
|
198
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | TagError>;
|
|
199
|
+
/**
|
|
200
|
+
* @see {@link UpdateAliasCommand}
|
|
201
|
+
*/
|
|
202
|
+
updateAlias(args: UpdateAliasCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAliasCommandOutput, SdkError | DependencyTimeoutError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError>;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link UpdateCustomKeyStoreCommand}
|
|
205
|
+
*/
|
|
206
|
+
updateCustomKeyStore(args: UpdateCustomKeyStoreCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCustomKeyStoreCommandOutput, SdkError | CloudHsmClusterInvalidConfigurationError | CloudHsmClusterNotActiveError | CloudHsmClusterNotFoundError | CloudHsmClusterNotRelatedError | CustomKeyStoreInvalidStateError | CustomKeyStoreNameInUseError | CustomKeyStoreNotFoundError | KMSInternalError | XksProxyIncorrectAuthenticationCredentialError | XksProxyInvalidConfigurationError | XksProxyInvalidResponseError | XksProxyUriEndpointInUseError | XksProxyUriInUseError | XksProxyUriUnreachableError | XksProxyVpcEndpointServiceInUseError | XksProxyVpcEndpointServiceInvalidConfigurationError | XksProxyVpcEndpointServiceNotFoundError>;
|
|
207
|
+
/**
|
|
208
|
+
* @see {@link UpdateKeyDescriptionCommand}
|
|
209
|
+
*/
|
|
210
|
+
updateKeyDescription(args: UpdateKeyDescriptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateKeyDescriptionCommandOutput, SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError>;
|
|
211
|
+
/**
|
|
212
|
+
* @see {@link UpdatePrimaryRegionCommand}
|
|
213
|
+
*/
|
|
214
|
+
updatePrimaryRegion(args: UpdatePrimaryRegionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdatePrimaryRegionCommandOutput, SdkError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError>;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link VerifyCommand}
|
|
217
|
+
*/
|
|
218
|
+
verify(args: VerifyCommandInput, options?: HttpHandlerOptions): Effect.Effect<VerifyCommandOutput, SdkError | DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidSignatureError | KMSInvalidStateError | NotFoundError>;
|
|
219
|
+
/**
|
|
220
|
+
* @see {@link VerifyMacCommand}
|
|
221
|
+
*/
|
|
222
|
+
verifyMac(args: VerifyMacCommandInput, options?: HttpHandlerOptions): Effect.Effect<VerifyMacCommandOutput, SdkError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KeyUnavailableError | KMSInternalError | KMSInvalidMacError | KMSInvalidStateError | NotFoundError>;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @since 1.0.0
|
|
226
|
+
* @category constructors
|
|
227
|
+
*/
|
|
228
|
+
export declare const makeKMSService: Effect.Effect<KMSService$, never, Instance.KMSClientInstance>;
|
|
229
|
+
declare const KMSService_base: import("effect/Context").TagClass<KMSService, "@effect-aws/client-kms/KMSService", KMSService$> & {
|
|
230
|
+
readonly _: Effect.Effect<KMSService$["_"], never, KMSService>;
|
|
231
|
+
cancelKeyDeletion: (args: CancelKeyDeletionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CancelKeyDeletionCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
232
|
+
connectCustomKeyStore: (args: ConnectCustomKeyStoreCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ConnectCustomKeyStoreCommandOutput, CloudHsmClusterInvalidConfigurationError | CloudHsmClusterNotActiveError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError | SdkError, KMSService>;
|
|
233
|
+
createAlias: (args: CreateAliasCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateAliasCommandOutput, AlreadyExistsError | DependencyTimeoutError | InvalidAliasNameError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | SdkError, KMSService>;
|
|
234
|
+
createCustomKeyStore: (args: CreateCustomKeyStoreCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateCustomKeyStoreCommandOutput, CloudHsmClusterInUseError | CloudHsmClusterInvalidConfigurationError | CloudHsmClusterNotActiveError | CloudHsmClusterNotFoundError | CustomKeyStoreNameInUseError | IncorrectTrustAnchorError | KMSInternalError | LimitExceededError | XksProxyIncorrectAuthenticationCredentialError | XksProxyInvalidConfigurationError | XksProxyInvalidResponseError | XksProxyUriEndpointInUseError | XksProxyUriInUseError | XksProxyUriUnreachableError | XksProxyVpcEndpointServiceInUseError | XksProxyVpcEndpointServiceInvalidConfigurationError | XksProxyVpcEndpointServiceNotFoundError | SdkError, KMSService>;
|
|
235
|
+
createGrant: (args: CreateGrantCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateGrantCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidArnError | InvalidGrantTokenError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | SdkError, KMSService>;
|
|
236
|
+
createKey: (args: CreateKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateKeyCommandOutput, CloudHsmClusterInvalidConfigurationError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | DependencyTimeoutError | InvalidArnError | KMSInternalError | LimitExceededError | MalformedPolicyDocumentError | TagError | UnsupportedOperationError | XksKeyAlreadyInUseError | XksKeyInvalidConfigurationError | XksKeyNotFoundError | SdkError, KMSService>;
|
|
237
|
+
decrypt: (args: DecryptCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DecryptCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | IncorrectKeyError | InvalidCiphertextError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
238
|
+
deleteAlias: (args: DeleteAliasCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteAliasCommandOutput, DependencyTimeoutError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
239
|
+
deleteCustomKeyStore: (args: DeleteCustomKeyStoreCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteCustomKeyStoreCommandOutput, CustomKeyStoreHasCMKsError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError | SdkError, KMSService>;
|
|
240
|
+
deleteImportedKeyMaterial: (args: DeleteImportedKeyMaterialCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteImportedKeyMaterialCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
241
|
+
deriveSharedSecret: (args: DeriveSharedSecretCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeriveSharedSecretCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
242
|
+
describeCustomKeyStores: (args: DescribeCustomKeyStoresCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeCustomKeyStoresCommandOutput, CustomKeyStoreNotFoundError | InvalidMarkerError | KMSInternalError | SdkError, KMSService>;
|
|
243
|
+
describeKey: (args: DescribeKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeKeyCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | NotFoundError | SdkError, KMSService>;
|
|
244
|
+
disableKey: (args: DisableKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisableKeyCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
245
|
+
disableKeyRotation: (args: DisableKeyRotationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisableKeyRotationCommandOutput, DependencyTimeoutError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
246
|
+
disconnectCustomKeyStore: (args: DisconnectCustomKeyStoreCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisconnectCustomKeyStoreCommandOutput, CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError | SdkError, KMSService>;
|
|
247
|
+
enableKey: (args: EnableKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableKeyCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | SdkError, KMSService>;
|
|
248
|
+
enableKeyRotation: (args: EnableKeyRotationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableKeyRotationCommandOutput, DependencyTimeoutError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
249
|
+
encrypt: (args: EncryptCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EncryptCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
250
|
+
generateDataKey: (args: GenerateDataKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateDataKeyCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
251
|
+
generateDataKeyPair: (args: GenerateDataKeyPairCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateDataKeyPairCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
252
|
+
generateDataKeyPairWithoutPlaintext: (args: GenerateDataKeyPairWithoutPlaintextCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateDataKeyPairWithoutPlaintextCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
253
|
+
generateDataKeyWithoutPlaintext: (args: GenerateDataKeyWithoutPlaintextCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateDataKeyWithoutPlaintextCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
254
|
+
generateMac: (args: GenerateMacCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateMacCommandOutput, DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
255
|
+
generateRandom: (args: GenerateRandomCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateRandomCommandOutput, CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | DependencyTimeoutError | KMSInternalError | UnsupportedOperationError | SdkError, KMSService>;
|
|
256
|
+
getKeyPolicy: (args: GetKeyPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetKeyPolicyCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
257
|
+
getKeyRotationStatus: (args: GetKeyRotationStatusCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetKeyRotationStatusCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
258
|
+
getParametersForImport: (args: GetParametersForImportCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetParametersForImportCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
259
|
+
getPublicKey: (args: GetPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetPublicKeyCommandOutput, DependencyTimeoutError | DisabledError | InvalidArnError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
260
|
+
importKeyMaterial: (args: ImportKeyMaterialCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ImportKeyMaterialCommandOutput, DependencyTimeoutError | ExpiredImportTokenError | IncorrectKeyMaterialError | InvalidArnError | InvalidCiphertextError | InvalidImportTokenError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
261
|
+
listAliases: (args: ListAliasesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListAliasesCommandOutput, DependencyTimeoutError | InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError | SdkError, KMSService>;
|
|
262
|
+
listGrants: (args: ListGrantsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListGrantsCommandOutput, DependencyTimeoutError | InvalidArnError | InvalidGrantIdError | InvalidMarkerError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
263
|
+
listKeyPolicies: (args: ListKeyPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListKeyPoliciesCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
264
|
+
listKeyRotations: (args: ListKeyRotationsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListKeyRotationsCommandOutput, InvalidArnError | InvalidMarkerError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
265
|
+
listKeys: (args: ListKeysCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListKeysCommandOutput, DependencyTimeoutError | InvalidMarkerError | KMSInternalError | SdkError, KMSService>;
|
|
266
|
+
listResourceTags: (args: ListResourceTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListResourceTagsCommandOutput, InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError | SdkError, KMSService>;
|
|
267
|
+
listRetirableGrants: (args: ListRetirableGrantsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListRetirableGrantsCommandOutput, DependencyTimeoutError | InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError | SdkError, KMSService>;
|
|
268
|
+
putKeyPolicy: (args: PutKeyPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutKeyPolicyCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | MalformedPolicyDocumentError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
269
|
+
reEncrypt: (args: ReEncryptCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ReEncryptCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | IncorrectKeyError | InvalidCiphertextError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
270
|
+
replicateKey: (args: ReplicateKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ReplicateKeyCommandOutput, AlreadyExistsError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | MalformedPolicyDocumentError | NotFoundError | TagError | UnsupportedOperationError | SdkError, KMSService>;
|
|
271
|
+
retireGrant: (args: RetireGrantCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RetireGrantCommandOutput, DependencyTimeoutError | DryRunOperationError | InvalidArnError | InvalidGrantIdError | InvalidGrantTokenError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
272
|
+
revokeGrant: (args: RevokeGrantCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RevokeGrantCommandOutput, DependencyTimeoutError | DryRunOperationError | InvalidArnError | InvalidGrantIdError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
273
|
+
rotateKeyOnDemand: (args: RotateKeyOnDemandCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RotateKeyOnDemandCommandOutput, ConflictError | DependencyTimeoutError | DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
274
|
+
scheduleKeyDeletion: (args: ScheduleKeyDeletionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ScheduleKeyDeletionCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
275
|
+
sign: (args: SignCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SignCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
276
|
+
tagResource: (args: TagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, InvalidArnError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | TagError | SdkError, KMSService>;
|
|
277
|
+
untagResource: (args: UntagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | TagError | SdkError, KMSService>;
|
|
278
|
+
updateAlias: (args: UpdateAliasCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateAliasCommandOutput, DependencyTimeoutError | KMSInternalError | KMSInvalidStateError | LimitExceededError | NotFoundError | SdkError, KMSService>;
|
|
279
|
+
updateCustomKeyStore: (args: UpdateCustomKeyStoreCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateCustomKeyStoreCommandOutput, CloudHsmClusterInvalidConfigurationError | CloudHsmClusterNotActiveError | CloudHsmClusterNotFoundError | CloudHsmClusterNotRelatedError | CustomKeyStoreInvalidStateError | CustomKeyStoreNameInUseError | CustomKeyStoreNotFoundError | KMSInternalError | XksProxyIncorrectAuthenticationCredentialError | XksProxyInvalidConfigurationError | XksProxyInvalidResponseError | XksProxyUriEndpointInUseError | XksProxyUriInUseError | XksProxyUriUnreachableError | XksProxyVpcEndpointServiceInUseError | XksProxyVpcEndpointServiceInvalidConfigurationError | XksProxyVpcEndpointServiceNotFoundError | SdkError, KMSService>;
|
|
280
|
+
updateKeyDescription: (args: UpdateKeyDescriptionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateKeyDescriptionCommandOutput, DependencyTimeoutError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | SdkError, KMSService>;
|
|
281
|
+
updatePrimaryRegion: (args: UpdatePrimaryRegionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdatePrimaryRegionCommandOutput, DisabledError | InvalidArnError | KMSInternalError | KMSInvalidStateError | NotFoundError | UnsupportedOperationError | SdkError, KMSService>;
|
|
282
|
+
verify: (args: VerifyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<VerifyCommandOutput, DependencyTimeoutError | DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidSignatureError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
283
|
+
verifyMac: (args: VerifyMacCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<VerifyMacCommandOutput, DisabledError | DryRunOperationError | InvalidGrantTokenError | InvalidKeyUsageError | KMSInternalError | KMSInvalidMacError | KMSInvalidStateError | KeyUnavailableError | NotFoundError | SdkError, KMSService>;
|
|
284
|
+
} & {
|
|
285
|
+
use: <X>(body: (_: KMSService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, KMSService | R> : Effect.Effect<X, never, KMSService>;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* @since 1.0.0
|
|
289
|
+
* @category models
|
|
290
|
+
*/
|
|
291
|
+
export declare class KMSService extends KMSService_base {
|
|
292
|
+
static readonly defaultLayer: Layer.Layer<KMSService, never, never>;
|
|
293
|
+
static readonly layer: (config: KMSService.Config) => Layer.Layer<KMSService, never, never>;
|
|
294
|
+
static readonly baseLayer: (evaluate: (defaultConfig: KMSClientConfig) => KMSClient) => Layer.Layer<KMSService, never, never>;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @since 1.0.0
|
|
298
|
+
*/
|
|
299
|
+
export declare namespace KMSService {
|
|
300
|
+
/**
|
|
301
|
+
* @since 1.0.0
|
|
302
|
+
*/
|
|
303
|
+
interface Config extends Omit<KMSClientConfig, "logger"> {
|
|
304
|
+
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
export {};
|
|
308
|
+
//# sourceMappingURL=KMSService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KMSService.d.ts","sourceRoot":"","sources":["../../src/KMSService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAEzB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE3B,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAEzB,KAAK,2BAA2B,EAChC,KAAK,4BAA4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,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC;QAC7D,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -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,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"}
|