@aws-sdk/client-kms 3.529.0 → 3.533.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/dist-types/commands/DecryptCommand.d.ts +4 -4
- package/dist-types/commands/EncryptCommand.d.ts +2 -2
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +4 -4
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +5 -5
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +2 -2
- package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +1 -1
- package/dist-types/commands/GenerateMacCommand.d.ts +2 -2
- package/dist-types/commands/GenerateRandomCommand.d.ts +3 -3
- package/dist-types/commands/GetParametersForImportCommand.d.ts +2 -2
- package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyMaterialCommand.d.ts +2 -2
- package/dist-types/commands/ReEncryptCommand.d.ts +2 -2
- package/dist-types/commands/SignCommand.d.ts +2 -2
- package/dist-types/commands/VerifyCommand.d.ts +2 -2
- package/dist-types/commands/VerifyMacCommand.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +37 -37
|
@@ -130,7 +130,7 @@ declare const DecryptCommand_base: {
|
|
|
130
130
|
* // const { KMSClient, DecryptCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
131
131
|
* const client = new KMSClient(config);
|
|
132
132
|
* const input = { // DecryptRequest
|
|
133
|
-
* CiphertextBlob: "
|
|
133
|
+
* CiphertextBlob: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
134
134
|
* EncryptionContext: { // EncryptionContextType
|
|
135
135
|
* "<keys>": "STRING_VALUE",
|
|
136
136
|
* },
|
|
@@ -141,7 +141,7 @@ declare const DecryptCommand_base: {
|
|
|
141
141
|
* EncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
|
|
142
142
|
* Recipient: { // RecipientInfo
|
|
143
143
|
* KeyEncryptionAlgorithm: "RSAES_OAEP_SHA_256",
|
|
144
|
-
* AttestationDocument: "
|
|
144
|
+
* AttestationDocument: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
145
145
|
* },
|
|
146
146
|
* DryRun: true || false,
|
|
147
147
|
* };
|
|
@@ -149,9 +149,9 @@ declare const DecryptCommand_base: {
|
|
|
149
149
|
* const response = await client.send(command);
|
|
150
150
|
* // { // DecryptResponse
|
|
151
151
|
* // KeyId: "STRING_VALUE",
|
|
152
|
-
* // Plaintext:
|
|
152
|
+
* // Plaintext: new Uint8Array(),
|
|
153
153
|
* // EncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
|
|
154
|
-
* // CiphertextForRecipient:
|
|
154
|
+
* // CiphertextForRecipient: new Uint8Array(),
|
|
155
155
|
* // };
|
|
156
156
|
*
|
|
157
157
|
* ```
|
|
@@ -146,7 +146,7 @@ declare const EncryptCommand_base: {
|
|
|
146
146
|
* const client = new KMSClient(config);
|
|
147
147
|
* const input = { // EncryptRequest
|
|
148
148
|
* KeyId: "STRING_VALUE", // required
|
|
149
|
-
* Plaintext: "
|
|
149
|
+
* Plaintext: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
150
150
|
* EncryptionContext: { // EncryptionContextType
|
|
151
151
|
* "<keys>": "STRING_VALUE",
|
|
152
152
|
* },
|
|
@@ -159,7 +159,7 @@ declare const EncryptCommand_base: {
|
|
|
159
159
|
* const command = new EncryptCommand(input);
|
|
160
160
|
* const response = await client.send(command);
|
|
161
161
|
* // { // EncryptResponse
|
|
162
|
-
* // CiphertextBlob:
|
|
162
|
+
* // CiphertextBlob: new Uint8Array(),
|
|
163
163
|
* // KeyId: "STRING_VALUE",
|
|
164
164
|
* // EncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
|
|
165
165
|
* // };
|
|
@@ -150,17 +150,17 @@ declare const GenerateDataKeyCommand_base: {
|
|
|
150
150
|
* ],
|
|
151
151
|
* Recipient: { // RecipientInfo
|
|
152
152
|
* KeyEncryptionAlgorithm: "RSAES_OAEP_SHA_256",
|
|
153
|
-
* AttestationDocument: "
|
|
153
|
+
* AttestationDocument: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
154
154
|
* },
|
|
155
155
|
* DryRun: true || false,
|
|
156
156
|
* };
|
|
157
157
|
* const command = new GenerateDataKeyCommand(input);
|
|
158
158
|
* const response = await client.send(command);
|
|
159
159
|
* // { // GenerateDataKeyResponse
|
|
160
|
-
* // CiphertextBlob:
|
|
161
|
-
* // Plaintext:
|
|
160
|
+
* // CiphertextBlob: new Uint8Array(),
|
|
161
|
+
* // Plaintext: new Uint8Array(),
|
|
162
162
|
* // KeyId: "STRING_VALUE",
|
|
163
|
-
* // CiphertextForRecipient:
|
|
163
|
+
* // CiphertextForRecipient: new Uint8Array(),
|
|
164
164
|
* // };
|
|
165
165
|
*
|
|
166
166
|
* ```
|
|
@@ -128,19 +128,19 @@ declare const GenerateDataKeyPairCommand_base: {
|
|
|
128
128
|
* ],
|
|
129
129
|
* Recipient: { // RecipientInfo
|
|
130
130
|
* KeyEncryptionAlgorithm: "RSAES_OAEP_SHA_256",
|
|
131
|
-
* AttestationDocument: "
|
|
131
|
+
* AttestationDocument: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
132
132
|
* },
|
|
133
133
|
* DryRun: true || false,
|
|
134
134
|
* };
|
|
135
135
|
* const command = new GenerateDataKeyPairCommand(input);
|
|
136
136
|
* const response = await client.send(command);
|
|
137
137
|
* // { // GenerateDataKeyPairResponse
|
|
138
|
-
* // PrivateKeyCiphertextBlob:
|
|
139
|
-
* // PrivateKeyPlaintext:
|
|
140
|
-
* // PublicKey:
|
|
138
|
+
* // PrivateKeyCiphertextBlob: new Uint8Array(),
|
|
139
|
+
* // PrivateKeyPlaintext: new Uint8Array(),
|
|
140
|
+
* // PublicKey: new Uint8Array(),
|
|
141
141
|
* // KeyId: "STRING_VALUE",
|
|
142
142
|
* // KeyPairSpec: "RSA_2048" || "RSA_3072" || "RSA_4096" || "ECC_NIST_P256" || "ECC_NIST_P384" || "ECC_NIST_P521" || "ECC_SECG_P256K1" || "SM2",
|
|
143
|
-
* // CiphertextForRecipient:
|
|
143
|
+
* // CiphertextForRecipient: new Uint8Array(),
|
|
144
144
|
* // };
|
|
145
145
|
*
|
|
146
146
|
* ```
|
|
@@ -113,8 +113,8 @@ declare const GenerateDataKeyPairWithoutPlaintextCommand_base: {
|
|
|
113
113
|
* const command = new GenerateDataKeyPairWithoutPlaintextCommand(input);
|
|
114
114
|
* const response = await client.send(command);
|
|
115
115
|
* // { // GenerateDataKeyPairWithoutPlaintextResponse
|
|
116
|
-
* // PrivateKeyCiphertextBlob:
|
|
117
|
-
* // PublicKey:
|
|
116
|
+
* // PrivateKeyCiphertextBlob: new Uint8Array(),
|
|
117
|
+
* // PublicKey: new Uint8Array(),
|
|
118
118
|
* // KeyId: "STRING_VALUE",
|
|
119
119
|
* // KeyPairSpec: "RSA_2048" || "RSA_3072" || "RSA_4096" || "ECC_NIST_P256" || "ECC_NIST_P384" || "ECC_NIST_P521" || "ECC_SECG_P256K1" || "SM2",
|
|
120
120
|
* // };
|
|
@@ -123,7 +123,7 @@ declare const GenerateDataKeyWithoutPlaintextCommand_base: {
|
|
|
123
123
|
* const command = new GenerateDataKeyWithoutPlaintextCommand(input);
|
|
124
124
|
* const response = await client.send(command);
|
|
125
125
|
* // { // GenerateDataKeyWithoutPlaintextResponse
|
|
126
|
-
* // CiphertextBlob:
|
|
126
|
+
* // CiphertextBlob: new Uint8Array(),
|
|
127
127
|
* // KeyId: "STRING_VALUE",
|
|
128
128
|
* // };
|
|
129
129
|
*
|
|
@@ -65,7 +65,7 @@ declare const GenerateMacCommand_base: {
|
|
|
65
65
|
* // const { KMSClient, GenerateMacCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
66
66
|
* const client = new KMSClient(config);
|
|
67
67
|
* const input = { // GenerateMacRequest
|
|
68
|
-
* Message: "
|
|
68
|
+
* Message: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
69
69
|
* KeyId: "STRING_VALUE", // required
|
|
70
70
|
* MacAlgorithm: "HMAC_SHA_224" || "HMAC_SHA_256" || "HMAC_SHA_384" || "HMAC_SHA_512", // required
|
|
71
71
|
* GrantTokens: [ // GrantTokenList
|
|
@@ -76,7 +76,7 @@ declare const GenerateMacCommand_base: {
|
|
|
76
76
|
* const command = new GenerateMacCommand(input);
|
|
77
77
|
* const response = await client.send(command);
|
|
78
78
|
* // { // GenerateMacResponse
|
|
79
|
-
* // Mac:
|
|
79
|
+
* // Mac: new Uint8Array(),
|
|
80
80
|
* // MacAlgorithm: "HMAC_SHA_224" || "HMAC_SHA_256" || "HMAC_SHA_384" || "HMAC_SHA_512",
|
|
81
81
|
* // KeyId: "STRING_VALUE",
|
|
82
82
|
* // };
|
|
@@ -61,14 +61,14 @@ declare const GenerateRandomCommand_base: {
|
|
|
61
61
|
* CustomKeyStoreId: "STRING_VALUE",
|
|
62
62
|
* Recipient: { // RecipientInfo
|
|
63
63
|
* KeyEncryptionAlgorithm: "RSAES_OAEP_SHA_256",
|
|
64
|
-
* AttestationDocument: "
|
|
64
|
+
* AttestationDocument: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
65
65
|
* },
|
|
66
66
|
* };
|
|
67
67
|
* const command = new GenerateRandomCommand(input);
|
|
68
68
|
* const response = await client.send(command);
|
|
69
69
|
* // { // GenerateRandomResponse
|
|
70
|
-
* // Plaintext:
|
|
71
|
-
* // CiphertextForRecipient:
|
|
70
|
+
* // Plaintext: new Uint8Array(),
|
|
71
|
+
* // CiphertextForRecipient: new Uint8Array(),
|
|
72
72
|
* // };
|
|
73
73
|
*
|
|
74
74
|
* ```
|
|
@@ -118,8 +118,8 @@ declare const GetParametersForImportCommand_base: {
|
|
|
118
118
|
* const response = await client.send(command);
|
|
119
119
|
* // { // GetParametersForImportResponse
|
|
120
120
|
* // KeyId: "STRING_VALUE",
|
|
121
|
-
* // ImportToken:
|
|
122
|
-
* // PublicKey:
|
|
121
|
+
* // ImportToken: new Uint8Array(),
|
|
122
|
+
* // PublicKey: new Uint8Array(),
|
|
123
123
|
* // ParametersValidTo: new Date("TIMESTAMP"),
|
|
124
124
|
* // };
|
|
125
125
|
*
|
|
@@ -93,7 +93,7 @@ declare const GetPublicKeyCommand_base: {
|
|
|
93
93
|
* const response = await client.send(command);
|
|
94
94
|
* // { // GetPublicKeyResponse
|
|
95
95
|
* // KeyId: "STRING_VALUE",
|
|
96
|
-
* // PublicKey:
|
|
96
|
+
* // PublicKey: new Uint8Array(),
|
|
97
97
|
* // CustomerMasterKeySpec: "RSA_2048" || "RSA_3072" || "RSA_4096" || "ECC_NIST_P256" || "ECC_NIST_P384" || "ECC_NIST_P521" || "ECC_SECG_P256K1" || "SYMMETRIC_DEFAULT" || "HMAC_224" || "HMAC_256" || "HMAC_384" || "HMAC_512" || "SM2",
|
|
98
98
|
* // KeySpec: "RSA_2048" || "RSA_3072" || "RSA_4096" || "ECC_NIST_P256" || "ECC_NIST_P384" || "ECC_NIST_P521" || "ECC_SECG_P256K1" || "SYMMETRIC_DEFAULT" || "HMAC_224" || "HMAC_256" || "HMAC_384" || "HMAC_512" || "SM2",
|
|
99
99
|
* // KeyUsage: "SIGN_VERIFY" || "ENCRYPT_DECRYPT" || "GENERATE_VERIFY_MAC",
|
|
@@ -139,8 +139,8 @@ declare const ImportKeyMaterialCommand_base: {
|
|
|
139
139
|
* const client = new KMSClient(config);
|
|
140
140
|
* const input = { // ImportKeyMaterialRequest
|
|
141
141
|
* KeyId: "STRING_VALUE", // required
|
|
142
|
-
* ImportToken: "
|
|
143
|
-
* EncryptedKeyMaterial: "
|
|
142
|
+
* ImportToken: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
143
|
+
* EncryptedKeyMaterial: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
144
144
|
* ValidTo: new Date("TIMESTAMP"),
|
|
145
145
|
* ExpirationModel: "KEY_MATERIAL_EXPIRES" || "KEY_MATERIAL_DOES_NOT_EXPIRE",
|
|
146
146
|
* };
|
|
@@ -131,7 +131,7 @@ declare const ReEncryptCommand_base: {
|
|
|
131
131
|
* // const { KMSClient, ReEncryptCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
132
132
|
* const client = new KMSClient(config);
|
|
133
133
|
* const input = { // ReEncryptRequest
|
|
134
|
-
* CiphertextBlob: "
|
|
134
|
+
* CiphertextBlob: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
135
135
|
* SourceEncryptionContext: { // EncryptionContextType
|
|
136
136
|
* "<keys>": "STRING_VALUE",
|
|
137
137
|
* },
|
|
@@ -150,7 +150,7 @@ declare const ReEncryptCommand_base: {
|
|
|
150
150
|
* const command = new ReEncryptCommand(input);
|
|
151
151
|
* const response = await client.send(command);
|
|
152
152
|
* // { // ReEncryptResponse
|
|
153
|
-
* // CiphertextBlob:
|
|
153
|
+
* // CiphertextBlob: new Uint8Array(),
|
|
154
154
|
* // SourceKeyId: "STRING_VALUE",
|
|
155
155
|
* // KeyId: "STRING_VALUE",
|
|
156
156
|
* // SourceEncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
|
|
@@ -89,7 +89,7 @@ declare const SignCommand_base: {
|
|
|
89
89
|
* const client = new KMSClient(config);
|
|
90
90
|
* const input = { // SignRequest
|
|
91
91
|
* KeyId: "STRING_VALUE", // required
|
|
92
|
-
* Message: "
|
|
92
|
+
* Message: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
93
93
|
* MessageType: "RAW" || "DIGEST",
|
|
94
94
|
* GrantTokens: [ // GrantTokenList
|
|
95
95
|
* "STRING_VALUE",
|
|
@@ -101,7 +101,7 @@ declare const SignCommand_base: {
|
|
|
101
101
|
* const response = await client.send(command);
|
|
102
102
|
* // { // SignResponse
|
|
103
103
|
* // KeyId: "STRING_VALUE",
|
|
104
|
-
* // Signature:
|
|
104
|
+
* // Signature: new Uint8Array(),
|
|
105
105
|
* // SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA",
|
|
106
106
|
* // };
|
|
107
107
|
*
|
|
@@ -72,9 +72,9 @@ declare const VerifyCommand_base: {
|
|
|
72
72
|
* const client = new KMSClient(config);
|
|
73
73
|
* const input = { // VerifyRequest
|
|
74
74
|
* KeyId: "STRING_VALUE", // required
|
|
75
|
-
* Message: "
|
|
75
|
+
* Message: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
76
76
|
* MessageType: "RAW" || "DIGEST",
|
|
77
|
-
* Signature: "
|
|
77
|
+
* Signature: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
78
78
|
* SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA", // required
|
|
79
79
|
* GrantTokens: [ // GrantTokenList
|
|
80
80
|
* "STRING_VALUE",
|
|
@@ -57,10 +57,10 @@ declare const VerifyMacCommand_base: {
|
|
|
57
57
|
* // const { KMSClient, VerifyMacCommand } = require("@aws-sdk/client-kms"); // CommonJS import
|
|
58
58
|
* const client = new KMSClient(config);
|
|
59
59
|
* const input = { // VerifyMacRequest
|
|
60
|
-
* Message: "
|
|
60
|
+
* Message: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
61
61
|
* KeyId: "STRING_VALUE", // required
|
|
62
62
|
* MacAlgorithm: "HMAC_SHA_224" || "HMAC_SHA_256" || "HMAC_SHA_384" || "HMAC_SHA_512", // required
|
|
63
|
-
* Mac: "
|
|
63
|
+
* Mac: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
64
64
|
* GrantTokens: [ // GrantTokenList
|
|
65
65
|
* "STRING_VALUE",
|
|
66
66
|
* ],
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
base64Encoder:
|
|
14
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
15
15
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
utf8Encoder:
|
|
16
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { KMSClientConfig } from "./KMSClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
|
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
25
25
|
apiVersion: string;
|
|
26
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
|
-
base64Encoder:
|
|
28
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
29
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
-
utf8Encoder:
|
|
30
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
31
31
|
disableHostPrefix: boolean;
|
|
32
32
|
serviceId: string;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
29
29
|
apiVersion: string;
|
|
30
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
31
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
|
-
base64Encoder:
|
|
32
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
33
33
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
34
|
-
utf8Encoder:
|
|
34
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
35
35
|
disableHostPrefix: boolean;
|
|
36
36
|
serviceId: string;
|
|
37
37
|
logger: import("@smithy/types").Logger;
|
|
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
13
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
14
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
15
15
|
base64Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
base64Encoder:
|
|
16
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
17
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
18
|
-
utf8Encoder:
|
|
18
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
19
19
|
disableHostPrefix: boolean;
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -2,7 +2,7 @@ import { KMSClientConfig } from "./KMSClient";
|
|
|
2
2
|
export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
4
|
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
-
base64Encoder:
|
|
5
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
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.
|
|
4
|
+
"version": "3.533.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kms",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.4.
|
|
47
|
-
"@smithy/protocol-http": "^3.2.
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.533.0",
|
|
24
|
+
"@aws-sdk/core": "3.533.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.533.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.533.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.533.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.533.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.533.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.533.0",
|
|
31
|
+
"@aws-sdk/types": "3.533.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.533.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.533.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.533.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.5",
|
|
36
|
+
"@smithy/core": "^1.3.8",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.5",
|
|
38
|
+
"@smithy/hash-node": "^2.1.4",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.4",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.4",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.6",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.7",
|
|
43
|
+
"@smithy/middleware-serde": "^2.2.1",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.4",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.5",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.3",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.2",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.5",
|
|
49
|
+
"@smithy/types": "^2.11.0",
|
|
50
|
+
"@smithy/url-parser": "^2.1.4",
|
|
51
|
+
"@smithy/util-base64": "^2.2.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
53
|
+
"@smithy/util-body-length-node": "^2.2.2",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.7",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.7",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.5",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.4",
|
|
58
|
+
"@smithy/util-retry": "^2.1.4",
|
|
59
|
+
"@smithy/util-utf8": "^2.2.0",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|