@aws-sdk/client-kms 3.36.1 → 3.40.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.
@@ -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";
@@ -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.36.1",
4
+ "version": "3.40.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.36.1",
25
- "@aws-sdk/config-resolver": "3.36.0",
26
- "@aws-sdk/credential-provider-node": "3.36.1",
27
- "@aws-sdk/fetch-http-handler": "3.36.0",
28
- "@aws-sdk/hash-node": "3.36.0",
29
- "@aws-sdk/invalid-dependency": "3.36.0",
30
- "@aws-sdk/middleware-content-length": "3.36.0",
31
- "@aws-sdk/middleware-host-header": "3.36.0",
32
- "@aws-sdk/middleware-logger": "3.36.0",
33
- "@aws-sdk/middleware-retry": "3.36.0",
34
- "@aws-sdk/middleware-serde": "3.36.0",
35
- "@aws-sdk/middleware-signing": "3.36.0",
36
- "@aws-sdk/middleware-stack": "3.36.0",
37
- "@aws-sdk/middleware-user-agent": "3.36.0",
38
- "@aws-sdk/node-config-provider": "3.36.0",
39
- "@aws-sdk/node-http-handler": "3.36.0",
40
- "@aws-sdk/protocol-http": "3.36.0",
41
- "@aws-sdk/smithy-client": "3.36.0",
42
- "@aws-sdk/types": "3.36.0",
43
- "@aws-sdk/url-parser": "3.36.0",
44
- "@aws-sdk/util-base64-browser": "3.36.0",
45
- "@aws-sdk/util-base64-node": "3.36.0",
46
- "@aws-sdk/util-body-length-browser": "3.36.0",
47
- "@aws-sdk/util-body-length-node": "3.36.0",
48
- "@aws-sdk/util-user-agent-browser": "3.36.0",
49
- "@aws-sdk/util-user-agent-node": "3.36.0",
50
- "@aws-sdk/util-utf8-browser": "3.36.0",
51
- "@aws-sdk/util-utf8-node": "3.36.0",
22
+ "@aws-crypto/sha256-browser": "2.0.0",
23
+ "@aws-crypto/sha256-js": "2.0.0",
24
+ "@aws-sdk/client-sts": "3.40.0",
25
+ "@aws-sdk/config-resolver": "3.40.0",
26
+ "@aws-sdk/credential-provider-node": "3.40.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.40.0",
42
+ "@aws-sdk/types": "3.40.0",
43
+ "@aws-sdk/url-parser": "3.40.0",
44
+ "@aws-sdk/util-base64-browser": "3.37.0",
45
+ "@aws-sdk/util-base64-node": "3.37.0",
46
+ "@aws-sdk/util-body-length-browser": "3.37.0",
47
+ "@aws-sdk/util-body-length-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
+ "@aws-sdk/util-utf8-browser": "3.37.0",
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.36.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",