@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.
Files changed (69) hide show
  1. package/Errors/package.json +6 -0
  2. package/KMSClientInstance/package.json +6 -0
  3. package/KMSService/package.json +6 -0
  4. package/KMSServiceConfig/package.json +6 -0
  5. package/{lib → dist/cjs}/Errors.d.ts +7 -12
  6. package/dist/cjs/Errors.d.ts.map +1 -0
  7. package/dist/cjs/Errors.js +56 -0
  8. package/dist/cjs/Errors.js.map +1 -0
  9. package/dist/cjs/KMSClientInstance.d.ts +24 -0
  10. package/dist/cjs/KMSClientInstance.d.ts.map +1 -0
  11. package/dist/cjs/KMSClientInstance.js +50 -0
  12. package/dist/cjs/KMSClientInstance.js.map +1 -0
  13. package/dist/cjs/KMSService.d.ts +253 -0
  14. package/dist/cjs/KMSService.d.ts.map +1 -0
  15. package/dist/cjs/KMSService.js +112 -0
  16. package/dist/cjs/KMSService.js.map +1 -0
  17. package/dist/cjs/KMSServiceConfig.d.ts +25 -0
  18. package/dist/cjs/KMSServiceConfig.d.ts.map +1 -0
  19. package/dist/cjs/KMSServiceConfig.js +35 -0
  20. package/dist/cjs/KMSServiceConfig.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/Errors.d.ts +55 -0
  26. package/dist/dts/Errors.d.ts.map +1 -0
  27. package/dist/dts/KMSClientInstance.d.ts +24 -0
  28. package/dist/dts/KMSClientInstance.d.ts.map +1 -0
  29. package/dist/dts/KMSService.d.ts +253 -0
  30. package/dist/dts/KMSService.d.ts.map +1 -0
  31. package/dist/dts/KMSServiceConfig.d.ts +25 -0
  32. package/dist/dts/KMSServiceConfig.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/Errors.js +53 -0
  36. package/dist/esm/Errors.js.map +1 -0
  37. package/dist/esm/KMSClientInstance.js +23 -0
  38. package/dist/esm/KMSClientInstance.js.map +1 -0
  39. package/dist/esm/KMSService.js +85 -0
  40. package/dist/esm/KMSService.js.map +1 -0
  41. package/dist/esm/KMSServiceConfig.js +31 -0
  42. package/dist/esm/KMSServiceConfig.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/Errors.ts +159 -0
  48. package/src/KMSClientInstance.ts +33 -0
  49. package/src/KMSService.ts +1231 -0
  50. package/src/KMSServiceConfig.ts +51 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -35
  53. package/docgen.json +0 -8
  54. package/lib/Errors.js +0 -56
  55. package/lib/KMSClientInstance.d.ts +0 -31
  56. package/lib/KMSClientInstance.js +0 -57
  57. package/lib/KMSClientInstanceConfig.d.ts +0 -23
  58. package/lib/KMSClientInstanceConfig.js +0 -44
  59. package/lib/KMSService.d.ts +0 -330
  60. package/lib/KMSService.js +0 -141
  61. package/lib/esm/Errors.js +0 -53
  62. package/lib/esm/KMSClientInstance.js +0 -30
  63. package/lib/esm/KMSClientInstanceConfig.js +0 -40
  64. package/lib/esm/KMSService.js +0 -137
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -0,0 +1,253 @@
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$> & Effect.Tag.Proxy<KMSService, KMSService$> & {
230
+ use: <X>(body: (_: KMSService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, KMSService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, import("effect/Cause").UnknownException, KMSService> : Effect.Effect<X, never, KMSService>;
231
+ };
232
+ /**
233
+ * @since 1.0.0
234
+ * @category models
235
+ */
236
+ export declare class KMSService extends KMSService_base {
237
+ static readonly defaultLayer: Layer.Layer<KMSService, never, never>;
238
+ static readonly layer: (config: KMSService.Config) => Layer.Layer<KMSService, never, never>;
239
+ static readonly baseLayer: (evaluate: (defaultConfig: KMSClientConfig) => KMSClient) => Layer.Layer<KMSService, never, never>;
240
+ }
241
+ /**
242
+ * @since 1.0.0
243
+ */
244
+ export declare namespace KMSService {
245
+ /**
246
+ * @since 1.0.0
247
+ */
248
+ interface Config extends Omit<KMSClientConfig, "logger"> {
249
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
250
+ }
251
+ }
252
+ export {};
253
+ //# 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,KA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,kBAAkB,GAClB,oBAAoB,GACpB,aAAa,CAChB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,+DAWzB,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,UAAW,SAAQ,eAG7B;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,wCAA0E;IACtG,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,WAAW,MAAM,2CAI9C;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,eAAe,KAAK,SAAS,2CASrD;CACL;AAED;;GAEG;AACH,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"}
@@ -0,0 +1,53 @@
1
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
2
+ export const AllServiceErrors = [
3
+ "AlreadyExistsException",
4
+ "CloudHsmClusterInUseException",
5
+ "CloudHsmClusterInvalidConfigurationException",
6
+ "CloudHsmClusterNotActiveException",
7
+ "CloudHsmClusterNotFoundException",
8
+ "CloudHsmClusterNotRelatedException",
9
+ "ConflictException",
10
+ "CustomKeyStoreHasCMKsException",
11
+ "CustomKeyStoreInvalidStateException",
12
+ "CustomKeyStoreNameInUseException",
13
+ "CustomKeyStoreNotFoundException",
14
+ "DependencyTimeoutException",
15
+ "DisabledException",
16
+ "DryRunOperationException",
17
+ "ExpiredImportTokenException",
18
+ "IncorrectKeyException",
19
+ "IncorrectKeyMaterialException",
20
+ "IncorrectTrustAnchorException",
21
+ "InvalidAliasNameException",
22
+ "InvalidArnException",
23
+ "InvalidCiphertextException",
24
+ "InvalidGrantIdException",
25
+ "InvalidGrantTokenException",
26
+ "InvalidImportTokenException",
27
+ "InvalidKeyUsageException",
28
+ "InvalidMarkerException",
29
+ "KMSInternalException",
30
+ "KMSInvalidMacException",
31
+ "KMSInvalidSignatureException",
32
+ "KMSInvalidStateException",
33
+ "KeyUnavailableException",
34
+ "LimitExceededException",
35
+ "MalformedPolicyDocumentException",
36
+ "NotFoundException",
37
+ "TagException",
38
+ "UnsupportedOperationException",
39
+ "XksKeyAlreadyInUseException",
40
+ "XksKeyInvalidConfigurationException",
41
+ "XksKeyNotFoundException",
42
+ "XksProxyIncorrectAuthenticationCredentialException",
43
+ "XksProxyInvalidConfigurationException",
44
+ "XksProxyInvalidResponseException",
45
+ "XksProxyUriEndpointInUseException",
46
+ "XksProxyUriInUseException",
47
+ "XksProxyUriUnreachableException",
48
+ "XksProxyVpcEndpointServiceInUseException",
49
+ "XksProxyVpcEndpointServiceInvalidConfigurationException",
50
+ "XksProxyVpcEndpointServiceNotFoundException",
51
+ ];
52
+ export const SdkError = CommonSdkError;
53
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAmDA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,wBAAwB;IACxB,+BAA+B;IAC/B,8CAA8C;IAC9C,mCAAmC;IACnC,kCAAkC;IAClC,oCAAoC;IACpC,mBAAmB;IACnB,gCAAgC;IAChC,qCAAqC;IACrC,kCAAkC;IAClC,iCAAiC;IACjC,4BAA4B;IAC5B,mBAAmB;IACnB,0BAA0B;IAC1B,6BAA6B;IAC7B,uBAAuB;IACvB,+BAA+B;IAC/B,+BAA+B;IAC/B,2BAA2B;IAC3B,qBAAqB;IACrB,4BAA4B;IAC5B,yBAAyB;IACzB,4BAA4B;IAC5B,6BAA6B;IAC7B,0BAA0B;IAC1B,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,8BAA8B;IAC9B,0BAA0B;IAC1B,yBAAyB;IACzB,wBAAwB;IACxB,kCAAkC;IAClC,mBAAmB;IACnB,cAAc;IACd,+BAA+B;IAC/B,6BAA6B;IAC7B,qCAAqC;IACrC,yBAAyB;IACzB,oDAAoD;IACpD,uCAAuC;IACvC,kCAAkC;IAClC,mCAAmC;IACnC,2BAA2B;IAC3B,iCAAiC;IACjC,0CAA0C;IAC1C,yDAAyD;IACzD,6CAA6C;CACrC,CAAC;AAwDX,MAAM,CAAC,MAAM,QAAQ,GAAG,cAAc,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { KMSClient } from "@aws-sdk/client-kms";
5
+ import { Context, Effect, Layer } from "effect";
6
+ import * as KMSServiceConfig from "./KMSServiceConfig.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export class KMSClientInstance extends Context.Tag("@effect-aws/client-kms/KMSClientInstance")() {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export const make = Effect.flatMap(KMSServiceConfig.toKMSClientConfig, (config) => Effect.acquireRelease(Effect.sync(() => new KMSClient(config)), (client) => Effect.sync(() => client.destroy())));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export const layer = Layer.scoped(KMSClientInstance, make);
23
+ //# sourceMappingURL=KMSClientInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KMSClientInstance.js","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;AAChD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;;GAGG;AACH,MAAM,OAAO,iBAAkB,SAAQ,OAAO,CAAC,GAAG,CAChD,0CAA0C,CAC3C,EAAgC;CAAG;AAEpC;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,gBAAgB,CAAC,iBAAiB,EAClC,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC,EACxC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC"}
@@ -0,0 +1,85 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { CancelKeyDeletionCommand, ConnectCustomKeyStoreCommand, CreateAliasCommand, CreateCustomKeyStoreCommand, CreateGrantCommand, CreateKeyCommand, DecryptCommand, DeleteAliasCommand, DeleteCustomKeyStoreCommand, DeleteImportedKeyMaterialCommand, DeriveSharedSecretCommand, DescribeCustomKeyStoresCommand, DescribeKeyCommand, DisableKeyCommand, DisableKeyRotationCommand, DisconnectCustomKeyStoreCommand, EnableKeyCommand, EnableKeyRotationCommand, EncryptCommand, GenerateDataKeyCommand, GenerateDataKeyPairCommand, GenerateDataKeyPairWithoutPlaintextCommand, GenerateDataKeyWithoutPlaintextCommand, GenerateMacCommand, GenerateRandomCommand, GetKeyPolicyCommand, GetKeyRotationStatusCommand, GetParametersForImportCommand, GetPublicKeyCommand, ImportKeyMaterialCommand, ListAliasesCommand, ListGrantsCommand, ListKeyPoliciesCommand, ListKeyRotationsCommand, ListKeysCommand, ListResourceTagsCommand, ListRetirableGrantsCommand, PutKeyPolicyCommand, ReEncryptCommand, ReplicateKeyCommand, RetireGrantCommand, RevokeGrantCommand, RotateKeyOnDemandCommand, ScheduleKeyDeletionCommand, SignCommand, TagResourceCommand, UntagResourceCommand, UpdateAliasCommand, UpdateCustomKeyStoreCommand, UpdateKeyDescriptionCommand, UpdatePrimaryRegionCommand, VerifyCommand, VerifyMacCommand, } from "@aws-sdk/client-kms";
5
+ import { Service } from "@effect-aws/commons";
6
+ import { Effect, Layer } from "effect";
7
+ import { AllServiceErrors } from "./Errors.js";
8
+ import * as Instance from "./KMSClientInstance.js";
9
+ import * as KMSServiceConfig from "./KMSServiceConfig.js";
10
+ const commands = {
11
+ CancelKeyDeletionCommand,
12
+ ConnectCustomKeyStoreCommand,
13
+ CreateAliasCommand,
14
+ CreateCustomKeyStoreCommand,
15
+ CreateGrantCommand,
16
+ CreateKeyCommand,
17
+ DecryptCommand,
18
+ DeleteAliasCommand,
19
+ DeleteCustomKeyStoreCommand,
20
+ DeleteImportedKeyMaterialCommand,
21
+ DeriveSharedSecretCommand,
22
+ DescribeCustomKeyStoresCommand,
23
+ DescribeKeyCommand,
24
+ DisableKeyCommand,
25
+ DisableKeyRotationCommand,
26
+ DisconnectCustomKeyStoreCommand,
27
+ EnableKeyCommand,
28
+ EnableKeyRotationCommand,
29
+ EncryptCommand,
30
+ GenerateDataKeyCommand,
31
+ GenerateDataKeyPairCommand,
32
+ GenerateDataKeyPairWithoutPlaintextCommand,
33
+ GenerateDataKeyWithoutPlaintextCommand,
34
+ GenerateMacCommand,
35
+ GenerateRandomCommand,
36
+ GetKeyPolicyCommand,
37
+ GetKeyRotationStatusCommand,
38
+ GetParametersForImportCommand,
39
+ GetPublicKeyCommand,
40
+ ImportKeyMaterialCommand,
41
+ ListAliasesCommand,
42
+ ListGrantsCommand,
43
+ ListKeyPoliciesCommand,
44
+ ListKeyRotationsCommand,
45
+ ListKeysCommand,
46
+ ListResourceTagsCommand,
47
+ ListRetirableGrantsCommand,
48
+ PutKeyPolicyCommand,
49
+ ReEncryptCommand,
50
+ ReplicateKeyCommand,
51
+ RetireGrantCommand,
52
+ RevokeGrantCommand,
53
+ RotateKeyOnDemandCommand,
54
+ ScheduleKeyDeletionCommand,
55
+ SignCommand,
56
+ TagResourceCommand,
57
+ UntagResourceCommand,
58
+ UpdateAliasCommand,
59
+ UpdateCustomKeyStoreCommand,
60
+ UpdateKeyDescriptionCommand,
61
+ UpdatePrimaryRegionCommand,
62
+ VerifyCommand,
63
+ VerifyMacCommand,
64
+ };
65
+ /**
66
+ * @since 1.0.0
67
+ * @category constructors
68
+ */
69
+ export const makeKMSService = Effect.gen(function* () {
70
+ const client = yield* Instance.KMSClientInstance;
71
+ return Service.fromClientAndCommands(client, commands, {
72
+ errorTags: AllServiceErrors,
73
+ resolveClientConfig: KMSServiceConfig.toKMSClientConfig,
74
+ });
75
+ });
76
+ /**
77
+ * @since 1.0.0
78
+ * @category models
79
+ */
80
+ export class KMSService extends Effect.Tag("@effect-aws/client-kms/KMSService")() {
81
+ static defaultLayer = Layer.effect(this, makeKMSService).pipe(Layer.provide(Instance.layer));
82
+ static layer = (config) => Layer.effect(this, makeKMSService).pipe(Layer.provide(Instance.layer), Layer.provide(KMSServiceConfig.setKMSServiceConfig(config)));
83
+ static baseLayer = (evaluate) => Layer.effect(this, makeKMSService).pipe(Layer.provide(Layer.effect(Instance.KMSClientInstance, Effect.map(KMSServiceConfig.toKMSClientConfig, evaluate))));
84
+ }
85
+ //# sourceMappingURL=KMSService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KMSService.js","sourceRoot":"","sources":["../../src/KMSService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,wBAAwB,EAGxB,4BAA4B,EAG5B,kBAAkB,EAGlB,2BAA2B,EAG3B,kBAAkB,EAGlB,gBAAgB,E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CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,IAAI,CACrC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAC5D,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAuD,EACvD,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,IAAI,CACrC,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,iBAAiB,EAC1B,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CACzD,CACF,CACF,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { ServiceLogger } from "@effect-aws/commons";
2
+ import { Effect, FiberRef, Layer } from "effect";
3
+ import { dual } from "effect/Function";
4
+ import { globalValue } from "effect/GlobalValue";
5
+ /**
6
+ * @since 1.0.0
7
+ * @category kms service config
8
+ */
9
+ const currentKMSServiceConfig = globalValue("@effect-aws/client-kms/currentKMSServiceConfig", () => FiberRef.unsafeMake({}));
10
+ /**
11
+ * @since 1.0.0
12
+ * @category kms service config
13
+ */
14
+ export const withKMSServiceConfig = dual(2, (effect, config) => Effect.locally(effect, currentKMSServiceConfig, config));
15
+ /**
16
+ * @since 1.0.0
17
+ * @category kms service config
18
+ */
19
+ export const setKMSServiceConfig = (config) => Layer.locallyScoped(currentKMSServiceConfig, config);
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export const toKMSClientConfig = Effect.gen(function* () {
25
+ const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentKMSServiceConfig);
26
+ const logger = serviceLogger === true
27
+ ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
28
+ : (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
29
+ return { logger, ...config };
30
+ });
31
+ //# sourceMappingURL=KMSServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KMSServiceConfig.js","sourceRoot":"","sources":["../../src/KMSServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD;;;GAGG;AACH,MAAM,uBAAuB,GAAG,WAAW,CACzC,gDAAgD,EAChD,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAoB,EAAE,CAAC,CACjD,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAG7B,IAAI,CACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAyB,EAA0B,EAAE,CAC7F,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,uBAAuB,EAAE,MAAM,CAAC,CAC1D,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAyB,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AAEvH;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAmC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnF,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;IAE1F,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,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,27 @@
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 const KMS = KMSService;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","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,MAAM,GAAG,GAAG,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": []
4
+ }