@aws-sdk/client-kms 3.825.0 → 3.828.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-cjs/index.js CHANGED
@@ -3263,8 +3263,7 @@ var de_EncryptResponse = /* @__PURE__ */ __name((output, context) => {
3263
3263
  return (0, import_smithy_client.take)(output, {
3264
3264
  CiphertextBlob: context.base64Decoder,
3265
3265
  EncryptionAlgorithm: import_smithy_client.expectString,
3266
- KeyId: import_smithy_client.expectString,
3267
- KeyMaterialId: import_smithy_client.expectString
3266
+ KeyId: import_smithy_client.expectString
3268
3267
  });
3269
3268
  }, "de_EncryptResponse");
3270
3269
  var de_GenerateDataKeyPairResponse = /* @__PURE__ */ __name((output, context) => {
@@ -1768,7 +1768,6 @@ const de_EncryptResponse = (output, context) => {
1768
1768
  CiphertextBlob: context.base64Decoder,
1769
1769
  EncryptionAlgorithm: __expectString,
1770
1770
  KeyId: __expectString,
1771
- KeyMaterialId: __expectString,
1772
1771
  });
1773
1772
  };
1774
1773
  const de_GenerateDataKeyPairResponse = (output, context) => {
@@ -163,7 +163,6 @@ declare const EncryptCommand_base: {
163
163
  * // CiphertextBlob: new Uint8Array(),
164
164
  * // KeyId: "STRING_VALUE",
165
165
  * // EncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
166
- * // KeyMaterialId: "STRING_VALUE",
167
166
  * // };
168
167
  *
169
168
  * ```
@@ -2535,7 +2535,8 @@ export interface DecryptResponse {
2535
2535
  CiphertextForRecipient?: Uint8Array | undefined;
2536
2536
  /**
2537
2537
  * <p>The identifier of the key material used to decrypt the ciphertext. This field is present only when
2538
- * the operation uses a symmetric encryption KMS key.</p>
2538
+ * the operation uses a symmetric encryption KMS key. This field is omitted if the request includes
2539
+ * the <code>Recipient</code> parameter.</p>
2539
2540
  * @public
2540
2541
  */
2541
2542
  KeyMaterialId?: string | undefined;
@@ -3170,12 +3171,6 @@ export interface EncryptResponse {
3170
3171
  * @public
3171
3172
  */
3172
3173
  EncryptionAlgorithm?: EncryptionAlgorithmSpec | undefined;
3173
- /**
3174
- * <p>The identifier of the key material used to encrypt the ciphertext. This field is present only when
3175
- * the operation uses a symmetric encryption KMS key.</p>
3176
- * @public
3177
- */
3178
- KeyMaterialId?: string | undefined;
3179
3174
  }
3180
3175
  /**
3181
3176
  * <p>The request was rejected because the specified import token is expired. Use <a>GetParametersForImport</a> to get a new import token and public key, use the new
@@ -3315,7 +3310,8 @@ export interface GenerateDataKeyResponse {
3315
3310
  */
3316
3311
  CiphertextForRecipient?: Uint8Array | undefined;
3317
3312
  /**
3318
- * <p>The identifier of the key material used to encrypt the data key.</p>
3313
+ * <p>The identifier of the key material used to encrypt the data key. This field is omitted if the request
3314
+ * includes the <code>Recipient</code> parameter.</p>
3319
3315
  * @public
3320
3316
  */
3321
3317
  KeyMaterialId?: string | undefined;
@@ -3446,7 +3442,8 @@ export interface GenerateDataKeyPairResponse {
3446
3442
  */
3447
3443
  CiphertextForRecipient?: Uint8Array | undefined;
3448
3444
  /**
3449
- * <p>The identifier of the key material used to encrypt the private key.</p>
3445
+ * <p>The identifier of the key material used to encrypt the private key. This field is omitted if the request
3446
+ * includes the <code>Recipient</code> parameter.</p>
3450
3447
  * @public
3451
3448
  */
3452
3449
  KeyMaterialId?: string | undefined;
@@ -778,7 +778,6 @@ export interface EncryptResponse {
778
778
  CiphertextBlob?: Uint8Array | undefined;
779
779
  KeyId?: string | undefined;
780
780
  EncryptionAlgorithm?: EncryptionAlgorithmSpec | undefined;
781
- KeyMaterialId?: string | undefined;
782
781
  }
783
782
  export declare class ExpiredImportTokenException extends __BaseException {
784
783
  readonly name: "ExpiredImportTokenException";
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.825.0",
4
+ "version": "3.828.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.825.0",
24
- "@aws-sdk/credential-provider-node": "3.825.0",
23
+ "@aws-sdk/core": "3.826.0",
24
+ "@aws-sdk/credential-provider-node": "3.828.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.825.0",
28
+ "@aws-sdk/middleware-user-agent": "3.828.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
- "@aws-sdk/util-endpoints": "3.821.0",
31
+ "@aws-sdk/util-endpoints": "3.828.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.825.0",
33
+ "@aws-sdk/util-user-agent-node": "3.828.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.5.2",
35
+ "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.10",
41
- "@smithy/middleware-retry": "^4.1.11",
40
+ "@smithy/middleware-endpoint": "^4.1.11",
41
+ "@smithy/middleware-retry": "^4.1.12",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.2",
47
+ "@smithy/smithy-client": "^4.4.3",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.18",
54
- "@smithy/util-defaults-mode-node": "^4.0.18",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.19",
54
+ "@smithy/util-defaults-mode-node": "^4.0.19",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.5",