@aws-sdk/client-kms 3.37.0 → 3.41.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.
Files changed (76) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/commands/index.js +51 -0
  3. package/dist-cjs/endpoints.js +414 -11
  4. package/dist-cjs/index.js +4 -55
  5. package/dist-cjs/pagination/index.js +8 -0
  6. package/dist-cjs/runtimeConfig.browser.js +6 -3
  7. package/dist-cjs/runtimeConfig.js +5 -3
  8. package/dist-es/commands/index.js +48 -0
  9. package/dist-es/endpoints.js +414 -11
  10. package/dist-es/index.js +4 -55
  11. package/dist-es/pagination/index.js +5 -0
  12. package/dist-es/runtimeConfig.browser.js +3 -2
  13. package/dist-es/runtimeConfig.js +3 -3
  14. package/dist-types/KMSClient.d.ts +8 -0
  15. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +1 -1
  16. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateGrantCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateKeyCommand.d.ts +1 -1
  21. package/dist-types/commands/DecryptCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeKeyCommand.d.ts +1 -1
  27. package/dist-types/commands/DisableKeyCommand.d.ts +1 -1
  28. package/dist-types/commands/DisableKeyRotationCommand.d.ts +1 -1
  29. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +1 -1
  30. package/dist-types/commands/EnableKeyCommand.d.ts +1 -1
  31. package/dist-types/commands/EnableKeyRotationCommand.d.ts +1 -1
  32. package/dist-types/commands/EncryptCommand.d.ts +1 -1
  33. package/dist-types/commands/GenerateDataKeyCommand.d.ts +1 -1
  34. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +1 -1
  35. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +1 -1
  36. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +1 -1
  37. package/dist-types/commands/GenerateRandomCommand.d.ts +1 -1
  38. package/dist-types/commands/GetKeyPolicyCommand.d.ts +1 -1
  39. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +1 -1
  40. package/dist-types/commands/GetParametersForImportCommand.d.ts +1 -1
  41. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  42. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +1 -1
  43. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  44. package/dist-types/commands/ListGrantsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +1 -1
  46. package/dist-types/commands/ListKeysCommand.d.ts +1 -1
  47. package/dist-types/commands/ListResourceTagsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +1 -1
  49. package/dist-types/commands/PutKeyPolicyCommand.d.ts +1 -1
  50. package/dist-types/commands/ReEncryptCommand.d.ts +1 -1
  51. package/dist-types/commands/ReplicateKeyCommand.d.ts +1 -1
  52. package/dist-types/commands/RetireGrantCommand.d.ts +1 -1
  53. package/dist-types/commands/RevokeGrantCommand.d.ts +1 -1
  54. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +1 -1
  55. package/dist-types/commands/SignCommand.d.ts +1 -1
  56. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +1 -1
  62. package/dist-types/commands/VerifyCommand.d.ts +1 -1
  63. package/dist-types/commands/index.d.ts +48 -0
  64. package/dist-types/index.d.ts +4 -55
  65. package/dist-types/pagination/index.d.ts +5 -0
  66. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  67. package/dist-types/runtimeConfig.d.ts +2 -0
  68. package/dist-types/runtimeConfig.native.d.ts +2 -0
  69. package/dist-types/ts3.4/KMSClient.d.ts +4 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  71. package/dist-types/ts3.4/index.d.ts +4 -55
  72. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  76. package/package.json +26 -26
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAliasesPaginator";
3
+ export * from "./ListGrantsPaginator";
4
+ export * from "./ListKeyPoliciesPaginator";
5
+ export * from "./ListKeysPaginator";
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
18
18
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
20
20
  logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
23
  serviceId: string;
22
24
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
@@ -86,6 +86,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
86
86
 
87
87
  logger?: __Logger;
88
88
 
89
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
90
+
91
+ useFipsEndpoint?: boolean | __Provider<boolean>;
92
+
89
93
  serviceId?: string;
90
94
 
91
95
  region?: string | __Provider<string>;
@@ -0,0 +1,48 @@
1
+ export * from "./CancelKeyDeletionCommand";
2
+ export * from "./ConnectCustomKeyStoreCommand";
3
+ export * from "./CreateAliasCommand";
4
+ export * from "./CreateCustomKeyStoreCommand";
5
+ export * from "./CreateGrantCommand";
6
+ export * from "./CreateKeyCommand";
7
+ export * from "./DecryptCommand";
8
+ export * from "./DeleteAliasCommand";
9
+ export * from "./DeleteCustomKeyStoreCommand";
10
+ export * from "./DeleteImportedKeyMaterialCommand";
11
+ export * from "./DescribeCustomKeyStoresCommand";
12
+ export * from "./DescribeKeyCommand";
13
+ export * from "./DisableKeyCommand";
14
+ export * from "./DisableKeyRotationCommand";
15
+ export * from "./DisconnectCustomKeyStoreCommand";
16
+ export * from "./EnableKeyCommand";
17
+ export * from "./EnableKeyRotationCommand";
18
+ export * from "./EncryptCommand";
19
+ export * from "./GenerateDataKeyCommand";
20
+ export * from "./GenerateDataKeyPairCommand";
21
+ export * from "./GenerateDataKeyPairWithoutPlaintextCommand";
22
+ export * from "./GenerateDataKeyWithoutPlaintextCommand";
23
+ export * from "./GenerateRandomCommand";
24
+ export * from "./GetKeyPolicyCommand";
25
+ export * from "./GetKeyRotationStatusCommand";
26
+ export * from "./GetParametersForImportCommand";
27
+ export * from "./GetPublicKeyCommand";
28
+ export * from "./ImportKeyMaterialCommand";
29
+ export * from "./ListAliasesCommand";
30
+ export * from "./ListGrantsCommand";
31
+ export * from "./ListKeyPoliciesCommand";
32
+ export * from "./ListKeysCommand";
33
+ export * from "./ListResourceTagsCommand";
34
+ export * from "./ListRetirableGrantsCommand";
35
+ export * from "./PutKeyPolicyCommand";
36
+ export * from "./ReEncryptCommand";
37
+ export * from "./ReplicateKeyCommand";
38
+ export * from "./RetireGrantCommand";
39
+ export * from "./RevokeGrantCommand";
40
+ export * from "./ScheduleKeyDeletionCommand";
41
+ export * from "./SignCommand";
42
+ export * from "./TagResourceCommand";
43
+ export * from "./UntagResourceCommand";
44
+ export * from "./UpdateAliasCommand";
45
+ export * from "./UpdateCustomKeyStoreCommand";
46
+ export * from "./UpdateKeyDescriptionCommand";
47
+ export * from "./UpdatePrimaryRegionCommand";
48
+ export * from "./VerifyCommand";
@@ -1,56 +1,5 @@
1
- export * from "./KMSClient";
2
1
  export * from "./KMS";
3
- export * from "./commands/CancelKeyDeletionCommand";
4
- export * from "./commands/ConnectCustomKeyStoreCommand";
5
- export * from "./commands/CreateAliasCommand";
6
- export * from "./commands/CreateCustomKeyStoreCommand";
7
- export * from "./commands/CreateGrantCommand";
8
- export * from "./commands/CreateKeyCommand";
9
- export * from "./commands/DecryptCommand";
10
- export * from "./commands/DeleteAliasCommand";
11
- export * from "./commands/DeleteCustomKeyStoreCommand";
12
- export * from "./commands/DeleteImportedKeyMaterialCommand";
13
- export * from "./commands/DescribeCustomKeyStoresCommand";
14
- export * from "./commands/DescribeKeyCommand";
15
- export * from "./commands/DisableKeyCommand";
16
- export * from "./commands/DisableKeyRotationCommand";
17
- export * from "./commands/DisconnectCustomKeyStoreCommand";
18
- export * from "./commands/EnableKeyCommand";
19
- export * from "./commands/EnableKeyRotationCommand";
20
- export * from "./commands/EncryptCommand";
21
- export * from "./commands/GenerateDataKeyCommand";
22
- export * from "./commands/GenerateDataKeyPairCommand";
23
- export * from "./commands/GenerateDataKeyPairWithoutPlaintextCommand";
24
- export * from "./commands/GenerateDataKeyWithoutPlaintextCommand";
25
- export * from "./commands/GenerateRandomCommand";
26
- export * from "./commands/GetKeyPolicyCommand";
27
- export * from "./commands/GetKeyRotationStatusCommand";
28
- export * from "./commands/GetParametersForImportCommand";
29
- export * from "./commands/GetPublicKeyCommand";
30
- export * from "./commands/ImportKeyMaterialCommand";
31
- export * from "./commands/ListAliasesCommand";
32
- export * from "./pagination/ListAliasesPaginator";
33
- export * from "./commands/ListGrantsCommand";
34
- export * from "./pagination/ListGrantsPaginator";
35
- export * from "./commands/ListKeyPoliciesCommand";
36
- export * from "./pagination/ListKeyPoliciesPaginator";
37
- export * from "./commands/ListKeysCommand";
38
- export * from "./pagination/ListKeysPaginator";
39
- export * from "./commands/ListResourceTagsCommand";
40
- export * from "./commands/ListRetirableGrantsCommand";
41
- export * from "./commands/PutKeyPolicyCommand";
42
- export * from "./commands/ReEncryptCommand";
43
- export * from "./commands/ReplicateKeyCommand";
44
- export * from "./commands/RetireGrantCommand";
45
- export * from "./commands/RevokeGrantCommand";
46
- export * from "./commands/ScheduleKeyDeletionCommand";
47
- export * from "./commands/SignCommand";
48
- export * from "./commands/TagResourceCommand";
49
- export * from "./commands/UntagResourceCommand";
50
- export * from "./commands/UpdateAliasCommand";
51
- export * from "./commands/UpdateCustomKeyStoreCommand";
52
- export * from "./commands/UpdateKeyDescriptionCommand";
53
- export * from "./commands/UpdatePrimaryRegionCommand";
54
- export * from "./commands/VerifyCommand";
55
- export * from "./pagination/Interfaces";
56
- export * from "./models/index";
2
+ export * from "./KMSClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAliasesPaginator";
3
+ export * from "./ListGrantsPaginator";
4
+ export * from "./ListKeyPoliciesPaginator";
5
+ export * from "./ListKeysPaginator";
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
16
16
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
18
  logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  serviceId: string;
20
22
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
21
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kms",
3
3
  "description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
4
- "version": "3.37.0",
4
+ "version": "3.41.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -19,40 +19,40 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "^1.0.0",
23
- "@aws-crypto/sha256-js": "^1.0.0",
24
- "@aws-sdk/client-sts": "3.37.0",
25
- "@aws-sdk/config-resolver": "3.37.0",
26
- "@aws-sdk/credential-provider-node": "3.37.0",
27
- "@aws-sdk/fetch-http-handler": "3.37.0",
28
- "@aws-sdk/hash-node": "3.37.0",
29
- "@aws-sdk/invalid-dependency": "3.37.0",
30
- "@aws-sdk/middleware-content-length": "3.37.0",
31
- "@aws-sdk/middleware-host-header": "3.37.0",
32
- "@aws-sdk/middleware-logger": "3.37.0",
33
- "@aws-sdk/middleware-retry": "3.37.0",
34
- "@aws-sdk/middleware-serde": "3.37.0",
35
- "@aws-sdk/middleware-signing": "3.37.0",
36
- "@aws-sdk/middleware-stack": "3.37.0",
37
- "@aws-sdk/middleware-user-agent": "3.37.0",
38
- "@aws-sdk/node-config-provider": "3.37.0",
39
- "@aws-sdk/node-http-handler": "3.37.0",
40
- "@aws-sdk/protocol-http": "3.37.0",
41
- "@aws-sdk/smithy-client": "3.37.0",
42
- "@aws-sdk/types": "3.37.0",
43
- "@aws-sdk/url-parser": "3.37.0",
22
+ "@aws-crypto/sha256-browser": "2.0.0",
23
+ "@aws-crypto/sha256-js": "2.0.0",
24
+ "@aws-sdk/client-sts": "3.41.0",
25
+ "@aws-sdk/config-resolver": "3.40.0",
26
+ "@aws-sdk/credential-provider-node": "3.41.0",
27
+ "@aws-sdk/fetch-http-handler": "3.40.0",
28
+ "@aws-sdk/hash-node": "3.40.0",
29
+ "@aws-sdk/invalid-dependency": "3.40.0",
30
+ "@aws-sdk/middleware-content-length": "3.40.0",
31
+ "@aws-sdk/middleware-host-header": "3.40.0",
32
+ "@aws-sdk/middleware-logger": "3.40.0",
33
+ "@aws-sdk/middleware-retry": "3.40.0",
34
+ "@aws-sdk/middleware-serde": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.40.0",
36
+ "@aws-sdk/middleware-stack": "3.40.0",
37
+ "@aws-sdk/middleware-user-agent": "3.40.0",
38
+ "@aws-sdk/node-config-provider": "3.40.0",
39
+ "@aws-sdk/node-http-handler": "3.40.0",
40
+ "@aws-sdk/protocol-http": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
+ "@aws-sdk/types": "3.40.0",
43
+ "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",
45
45
  "@aws-sdk/util-base64-node": "3.37.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.37.0",
47
47
  "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.37.0",
49
- "@aws-sdk/util-user-agent-node": "3.37.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.40.0",
49
+ "@aws-sdk/util-user-agent-node": "3.40.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.37.0",
51
51
  "@aws-sdk/util-utf8-node": "3.37.0",
52
52
  "tslib": "^2.3.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/client-documentation-generator": "3.37.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
56
  "@types/node": "^12.7.5",
57
57
  "downlevel-dts": "0.7.0",
58
58
  "jest": "^26.1.0",