@aws-sdk/client-kms 3.598.0 → 3.606.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.
@@ -239,6 +239,27 @@ declare const DeriveSharedSecretCommand_base: {
239
239
  * // example id: to-derive-a-shared-secret-1716220614829
240
240
  * ```
241
241
  *
242
+ * @example To derive a shared secret
243
+ * ```javascript
244
+ * // The following example derives a shared secret using a key agreement algorithm.
245
+ * const input = {
246
+ * "KeyAgreementAlgorithm": "ECDH",
247
+ * "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
248
+ * "PublicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvH3Yj0wbkLEpUl95Cv1cJVjsVNSjwGq3tCLnzXfhVwVvmzGN8pYj3U8nKwgouaHbBWNJYjP5VutbbkKS4Kv4GojwZBJyHN17kmxo8yTjRmjR15SKIQ8cqRA2uaERMLnpztIXdZp232PQPbWGxDyXYJ0aJ5EFSag"
249
+ * };
250
+ * const command = new DeriveSharedSecretCommand(input);
251
+ * const response = await client.send(command);
252
+ * /* response ==
253
+ * {
254
+ * "KeyAgreementAlgorithm": "ECDH",
255
+ * "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
256
+ * "KeyOrigin": "AWS_KMS",
257
+ * "SharedSecret": "MEYCIQCKZLWyTk5runarx6XiAkU9gv3lbwPO/pHa+DXFehzdDwIhANwpsIV2g/9SPWLLsF6p/hiSskuIXMTRwqrMdVKWTMHG"
258
+ * }
259
+ * *\/
260
+ * // example id: to-derive-a-shared-secret-1718381818754
261
+ * ```
262
+ *
242
263
  */
243
264
  export declare class DeriveSharedSecretCommand extends DeriveSharedSecretCommand_base {
244
265
  }
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.598.0",
4
+ "version": "3.606.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,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.598.0",
24
- "@aws-sdk/client-sts": "3.598.0",
23
+ "@aws-sdk/client-sso-oidc": "3.606.0",
24
+ "@aws-sdk/client-sts": "3.606.0",
25
25
  "@aws-sdk/core": "3.598.0",
26
- "@aws-sdk/credential-provider-node": "3.598.0",
26
+ "@aws-sdk/credential-provider-node": "3.600.0",
27
27
  "@aws-sdk/middleware-host-header": "3.598.0",
28
28
  "@aws-sdk/middleware-logger": "3.598.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.598.0",