@aws-sdk/client-secrets-manager 3.369.0 → 3.370.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.
@@ -96,7 +96,7 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
96
96
  * const response = await client.send(command);
97
97
  * /* response ==
98
98
  * {
99
- * "ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseMasterSecret-a1b2c3",
99
+ * "ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseSecret-a1b2c3",
100
100
  * "Name": "MyTestDatabaseSecret"
101
101
  * }
102
102
  * *\/
@@ -47,8 +47,8 @@ export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __Metad
47
47
  * For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions">
48
48
  * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
49
49
  * and access control in Secrets Manager</a>.
50
- * If you use a customer managed key, you must also have <code>kms:GenerateDataKey</code> and
51
- * <code>kms:Decrypt</code> permissions on the key. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html">
50
+ * If you use a customer managed key, you must also have <code>kms:GenerateDataKey</code>, <code>kms:Encrypt</code>, and
51
+ * <code>kms:Decrypt</code> permissions on the key. If you change the KMS key and you don't have <code>kms:Encrypt</code> permission to the new key, Secrets Manager does not re-ecrypt existing secret versions with the new key. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html">
52
52
  * Secret encryption and decryption</a>.</p>
53
53
  * @example
54
54
  * Use a bare-bones client and the command you need to make an API call.
@@ -1542,8 +1542,7 @@ export interface UpdateSecretRequest {
1542
1542
  /**
1543
1543
  * <p>The ARN, key ID, or alias of the KMS key that Secrets Manager
1544
1544
  * uses to encrypt new secret versions as well as any existing versions with the staging labels
1545
- * <code>AWSCURRENT</code>, <code>AWSPENDING</code>, or <code>AWSPREVIOUS</code>.
1546
- * For more information about versions and staging labels, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version">Concepts: Version</a>.</p>
1545
+ * <code>AWSCURRENT</code>, <code>AWSPENDING</code>, or <code>AWSPREVIOUS</code>. If you don't have <code>kms:Encrypt</code> permission to the new key, Secrets Manager does not re-ecrypt existing secret versions with the new key. For more information about versions and staging labels, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version">Concepts: Version</a>.</p>
1547
1546
  * <p>A key alias is always prefixed by <code>alias/</code>, for example <code>alias/aws/secretsmanager</code>.
1548
1547
  * For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/alias-about.html">About aliases</a>.</p>
1549
1548
  * <p>If you set this to an empty string, Secrets Manager uses the Amazon Web Services managed key
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-secrets-manager",
3
3
  "description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
4
- "version": "3.369.0",
4
+ "version": "3.370.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,29 +21,29 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.369.0",
25
- "@aws-sdk/credential-provider-node": "3.369.0",
26
- "@aws-sdk/middleware-host-header": "3.369.0",
27
- "@aws-sdk/middleware-logger": "3.369.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.369.0",
29
- "@aws-sdk/middleware-signing": "3.369.0",
30
- "@aws-sdk/middleware-user-agent": "3.369.0",
31
- "@aws-sdk/types": "3.369.0",
32
- "@aws-sdk/util-endpoints": "3.369.0",
33
- "@aws-sdk/util-user-agent-browser": "3.369.0",
34
- "@aws-sdk/util-user-agent-node": "3.369.0",
24
+ "@aws-sdk/client-sts": "3.370.0",
25
+ "@aws-sdk/credential-provider-node": "3.370.0",
26
+ "@aws-sdk/middleware-host-header": "3.370.0",
27
+ "@aws-sdk/middleware-logger": "3.370.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.370.0",
29
+ "@aws-sdk/middleware-signing": "3.370.0",
30
+ "@aws-sdk/middleware-user-agent": "3.370.0",
31
+ "@aws-sdk/types": "3.370.0",
32
+ "@aws-sdk/util-endpoints": "3.370.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.370.0",
34
+ "@aws-sdk/util-user-agent-node": "3.370.0",
35
35
  "@smithy/config-resolver": "^1.0.1",
36
36
  "@smithy/fetch-http-handler": "^1.0.1",
37
37
  "@smithy/hash-node": "^1.0.1",
38
38
  "@smithy/invalid-dependency": "^1.0.1",
39
39
  "@smithy/middleware-content-length": "^1.0.1",
40
- "@smithy/middleware-endpoint": "^1.0.1",
41
- "@smithy/middleware-retry": "^1.0.2",
40
+ "@smithy/middleware-endpoint": "^1.0.2",
41
+ "@smithy/middleware-retry": "^1.0.3",
42
42
  "@smithy/middleware-serde": "^1.0.1",
43
43
  "@smithy/middleware-stack": "^1.0.1",
44
44
  "@smithy/node-config-provider": "^1.0.1",
45
45
  "@smithy/node-http-handler": "^1.0.2",
46
- "@smithy/protocol-http": "^1.0.1",
46
+ "@smithy/protocol-http": "^1.1.0",
47
47
  "@smithy/smithy-client": "^1.0.3",
48
48
  "@smithy/types": "^1.1.0",
49
49
  "@smithy/url-parser": "^1.0.1",
@@ -52,13 +52,12 @@
52
52
  "@smithy/util-body-length-node": "^1.0.1",
53
53
  "@smithy/util-defaults-mode-browser": "^1.0.1",
54
54
  "@smithy/util-defaults-mode-node": "^1.0.1",
55
- "@smithy/util-retry": "^1.0.2",
55
+ "@smithy/util-retry": "^1.0.3",
56
56
  "@smithy/util-utf8": "^1.0.1",
57
57
  "tslib": "^2.5.0",
58
58
  "uuid": "^8.3.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.310.0",
62
61
  "@smithy/service-client-documentation-generator": "^1.0.1",
63
62
  "@tsconfig/node14": "1.0.3",
64
63
  "@types/node": "^14.14.31",