@aws-sdk/client-secrets-manager 3.35.0 → 3.38.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.
Files changed (229) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/SecretsManager.js +0 -66
  3. package/dist-cjs/SecretsManagerClient.js +0 -71
  4. package/dist-cjs/commands/CancelRotateSecretCommand.js +0 -77
  5. package/dist-cjs/commands/CreateSecretCommand.js +0 -112
  6. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -48
  7. package/dist-cjs/commands/DeleteSecretCommand.js +0 -70
  8. package/dist-cjs/commands/DescribeSecretCommand.js +0 -52
  9. package/dist-cjs/commands/GetRandomPasswordCommand.js +0 -37
  10. package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -51
  11. package/dist-cjs/commands/GetSecretValueCommand.js +0 -52
  12. package/dist-cjs/commands/ListSecretVersionIdsCommand.js +0 -53
  13. package/dist-cjs/commands/ListSecretsCommand.js +0 -54
  14. package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -56
  15. package/dist-cjs/commands/PutSecretValueCommand.js +0 -112
  16. package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +0 -25
  17. package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +0 -26
  18. package/dist-cjs/commands/RestoreSecretCommand.js +0 -43
  19. package/dist-cjs/commands/RotateSecretCommand.js +0 -86
  20. package/dist-cjs/commands/StopReplicationToReplicaCommand.js +0 -25
  21. package/dist-cjs/commands/TagResourceCommand.js +0 -80
  22. package/dist-cjs/commands/UntagResourceCommand.js +0 -53
  23. package/dist-cjs/commands/UpdateSecretCommand.js +0 -109
  24. package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +0 -61
  25. package/dist-cjs/commands/ValidateResourcePolicyCommand.js +0 -59
  26. package/dist-cjs/commands/index.js +25 -0
  27. package/dist-cjs/endpoints.js +1 -2
  28. package/dist-cjs/index.js +4 -28
  29. package/dist-cjs/models/index.js +0 -1
  30. package/dist-cjs/models/models_0.js +0 -187
  31. package/dist-cjs/pagination/Interfaces.js +0 -1
  32. package/dist-cjs/pagination/ListSecretVersionIdsPaginator.js +0 -11
  33. package/dist-cjs/pagination/ListSecretsPaginator.js +0 -11
  34. package/dist-cjs/pagination/index.js +6 -0
  35. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  36. package/dist-cjs/runtimeConfig.browser.js +1 -6
  37. package/dist-cjs/runtimeConfig.js +2 -7
  38. package/dist-cjs/runtimeConfig.native.js +0 -4
  39. package/dist-cjs/runtimeConfig.shared.js +0 -4
  40. package/dist-es/SecretsManager.js +0 -1
  41. package/dist-es/SecretsManagerClient.js +0 -1
  42. package/dist-es/commands/CancelRotateSecretCommand.js +0 -1
  43. package/dist-es/commands/CreateSecretCommand.js +0 -1
  44. package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
  45. package/dist-es/commands/DeleteSecretCommand.js +0 -1
  46. package/dist-es/commands/DescribeSecretCommand.js +0 -1
  47. package/dist-es/commands/GetRandomPasswordCommand.js +0 -1
  48. package/dist-es/commands/GetResourcePolicyCommand.js +0 -1
  49. package/dist-es/commands/GetSecretValueCommand.js +0 -1
  50. package/dist-es/commands/ListSecretVersionIdsCommand.js +0 -1
  51. package/dist-es/commands/ListSecretsCommand.js +0 -1
  52. package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
  53. package/dist-es/commands/PutSecretValueCommand.js +0 -1
  54. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +0 -1
  55. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +0 -1
  56. package/dist-es/commands/RestoreSecretCommand.js +0 -1
  57. package/dist-es/commands/RotateSecretCommand.js +0 -1
  58. package/dist-es/commands/StopReplicationToReplicaCommand.js +0 -1
  59. package/dist-es/commands/TagResourceCommand.js +0 -1
  60. package/dist-es/commands/UntagResourceCommand.js +0 -1
  61. package/dist-es/commands/UpdateSecretCommand.js +0 -1
  62. package/dist-es/commands/UpdateSecretVersionStageCommand.js +0 -1
  63. package/dist-es/commands/ValidateResourcePolicyCommand.js +0 -1
  64. package/dist-es/commands/index.js +22 -0
  65. package/dist-es/endpoints.js +1 -2
  66. package/dist-es/index.js +4 -28
  67. package/dist-es/models/index.js +0 -1
  68. package/dist-es/models/models_0.js +0 -1
  69. package/dist-es/pagination/Interfaces.js +0 -1
  70. package/dist-es/pagination/ListSecretVersionIdsPaginator.js +0 -1
  71. package/dist-es/pagination/ListSecretsPaginator.js +0 -1
  72. package/dist-es/pagination/index.js +3 -0
  73. package/dist-es/protocols/Aws_json1_1.js +0 -1
  74. package/dist-es/runtimeConfig.browser.js +1 -2
  75. package/dist-es/runtimeConfig.js +2 -3
  76. package/dist-es/runtimeConfig.native.js +0 -1
  77. package/dist-es/runtimeConfig.shared.js +0 -1
  78. package/dist-types/SecretsManager.d.ts +16 -10
  79. package/dist-types/commands/PutSecretValueCommand.d.ts +6 -5
  80. package/dist-types/commands/UpdateSecretCommand.d.ts +10 -5
  81. package/dist-types/commands/index.d.ts +22 -0
  82. package/dist-types/index.d.ts +4 -27
  83. package/dist-types/models/models_0.d.ts +54 -268
  84. package/dist-types/pagination/index.d.ts +3 -0
  85. package/dist-types/ts3.4/SecretsManager.d.ts +23 -922
  86. package/dist-types/ts3.4/SecretsManagerClient.d.ts +24 -151
  87. package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +2 -72
  88. package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +2 -107
  89. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -43
  90. package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +2 -65
  91. package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +2 -47
  92. package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +2 -32
  93. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -46
  94. package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +2 -47
  95. package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +2 -48
  96. package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +2 -49
  97. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -51
  98. package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +2 -107
  99. package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +2 -38
  102. package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +2 -81
  103. package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -75
  105. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -48
  106. package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +2 -104
  107. package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +2 -56
  108. package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +2 -54
  109. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  110. package/dist-types/ts3.4/index.d.ts +4 -27
  111. package/dist-types/ts3.4/models/models_0.d.ts +256 -1506
  112. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  113. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  114. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  115. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  116. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  117. package/package.json +33 -30
  118. package/dist-cjs/SecretsManager.js.map +0 -1
  119. package/dist-cjs/SecretsManagerClient.js.map +0 -1
  120. package/dist-cjs/commands/CancelRotateSecretCommand.js.map +0 -1
  121. package/dist-cjs/commands/CreateSecretCommand.js.map +0 -1
  122. package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  123. package/dist-cjs/commands/DeleteSecretCommand.js.map +0 -1
  124. package/dist-cjs/commands/DescribeSecretCommand.js.map +0 -1
  125. package/dist-cjs/commands/GetRandomPasswordCommand.js.map +0 -1
  126. package/dist-cjs/commands/GetResourcePolicyCommand.js.map +0 -1
  127. package/dist-cjs/commands/GetSecretValueCommand.js.map +0 -1
  128. package/dist-cjs/commands/ListSecretVersionIdsCommand.js.map +0 -1
  129. package/dist-cjs/commands/ListSecretsCommand.js.map +0 -1
  130. package/dist-cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  131. package/dist-cjs/commands/PutSecretValueCommand.js.map +0 -1
  132. package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js.map +0 -1
  133. package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js.map +0 -1
  134. package/dist-cjs/commands/RestoreSecretCommand.js.map +0 -1
  135. package/dist-cjs/commands/RotateSecretCommand.js.map +0 -1
  136. package/dist-cjs/commands/StopReplicationToReplicaCommand.js.map +0 -1
  137. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  138. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  139. package/dist-cjs/commands/UpdateSecretCommand.js.map +0 -1
  140. package/dist-cjs/commands/UpdateSecretVersionStageCommand.js.map +0 -1
  141. package/dist-cjs/commands/ValidateResourcePolicyCommand.js.map +0 -1
  142. package/dist-cjs/endpoints.js.map +0 -1
  143. package/dist-cjs/index.js.map +0 -1
  144. package/dist-cjs/models/index.js.map +0 -1
  145. package/dist-cjs/models/models_0.js.map +0 -1
  146. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  147. package/dist-cjs/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
  148. package/dist-cjs/pagination/ListSecretsPaginator.js.map +0 -1
  149. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  150. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  151. package/dist-cjs/runtimeConfig.js.map +0 -1
  152. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  153. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  154. package/dist-es/SecretsManager.js.map +0 -1
  155. package/dist-es/SecretsManagerClient.js.map +0 -1
  156. package/dist-es/commands/CancelRotateSecretCommand.js.map +0 -1
  157. package/dist-es/commands/CreateSecretCommand.js.map +0 -1
  158. package/dist-es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  159. package/dist-es/commands/DeleteSecretCommand.js.map +0 -1
  160. package/dist-es/commands/DescribeSecretCommand.js.map +0 -1
  161. package/dist-es/commands/GetRandomPasswordCommand.js.map +0 -1
  162. package/dist-es/commands/GetResourcePolicyCommand.js.map +0 -1
  163. package/dist-es/commands/GetSecretValueCommand.js.map +0 -1
  164. package/dist-es/commands/ListSecretVersionIdsCommand.js.map +0 -1
  165. package/dist-es/commands/ListSecretsCommand.js.map +0 -1
  166. package/dist-es/commands/PutResourcePolicyCommand.js.map +0 -1
  167. package/dist-es/commands/PutSecretValueCommand.js.map +0 -1
  168. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js.map +0 -1
  169. package/dist-es/commands/ReplicateSecretToRegionsCommand.js.map +0 -1
  170. package/dist-es/commands/RestoreSecretCommand.js.map +0 -1
  171. package/dist-es/commands/RotateSecretCommand.js.map +0 -1
  172. package/dist-es/commands/StopReplicationToReplicaCommand.js.map +0 -1
  173. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  174. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  175. package/dist-es/commands/UpdateSecretCommand.js.map +0 -1
  176. package/dist-es/commands/UpdateSecretVersionStageCommand.js.map +0 -1
  177. package/dist-es/commands/ValidateResourcePolicyCommand.js.map +0 -1
  178. package/dist-es/endpoints.js.map +0 -1
  179. package/dist-es/index.js.map +0 -1
  180. package/dist-es/models/index.js.map +0 -1
  181. package/dist-es/models/models_0.js.map +0 -1
  182. package/dist-es/pagination/Interfaces.js.map +0 -1
  183. package/dist-es/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
  184. package/dist-es/pagination/ListSecretsPaginator.js.map +0 -1
  185. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  186. package/dist-es/runtimeConfig.browser.js.map +0 -1
  187. package/dist-es/runtimeConfig.js.map +0 -1
  188. package/dist-es/runtimeConfig.native.js.map +0 -1
  189. package/dist-es/runtimeConfig.shared.js.map +0 -1
  190. package/jest.config.js +0 -4
  191. package/src/SecretsManager.ts +0 -1643
  192. package/src/SecretsManagerClient.ts +0 -385
  193. package/src/commands/CancelRotateSecretCommand.ts +0 -147
  194. package/src/commands/CreateSecretCommand.ts +0 -182
  195. package/src/commands/DeleteResourcePolicyCommand.ts +0 -118
  196. package/src/commands/DeleteSecretCommand.ts +0 -140
  197. package/src/commands/DescribeSecretCommand.ts +0 -122
  198. package/src/commands/GetRandomPasswordCommand.ts +0 -107
  199. package/src/commands/GetResourcePolicyCommand.ts +0 -121
  200. package/src/commands/GetSecretValueCommand.ts +0 -122
  201. package/src/commands/ListSecretVersionIdsCommand.ts +0 -123
  202. package/src/commands/ListSecretsCommand.ts +0 -124
  203. package/src/commands/PutResourcePolicyCommand.ts +0 -126
  204. package/src/commands/PutSecretValueCommand.ts +0 -182
  205. package/src/commands/RemoveRegionsFromReplicationCommand.ts +0 -100
  206. package/src/commands/ReplicateSecretToRegionsCommand.ts +0 -96
  207. package/src/commands/RestoreSecretCommand.ts +0 -113
  208. package/src/commands/RotateSecretCommand.ts +0 -156
  209. package/src/commands/StopReplicationToReplicaCommand.ts +0 -95
  210. package/src/commands/TagResourceCommand.ts +0 -150
  211. package/src/commands/UntagResourceCommand.ts +0 -123
  212. package/src/commands/UpdateSecretCommand.ts +0 -179
  213. package/src/commands/UpdateSecretVersionStageCommand.ts +0 -131
  214. package/src/commands/ValidateResourcePolicyCommand.ts +0 -129
  215. package/src/endpoints.ts +0 -86
  216. package/src/index.ts +0 -28
  217. package/src/models/index.ts +0 -1
  218. package/src/models/models_0.ts +0 -2422
  219. package/src/pagination/Interfaces.ts +0 -8
  220. package/src/pagination/ListSecretVersionIdsPaginator.ts +0 -59
  221. package/src/pagination/ListSecretsPaginator.ts +0 -55
  222. package/src/protocols/Aws_json1_1.ts +0 -3422
  223. package/src/runtimeConfig.browser.ts +0 -41
  224. package/src/runtimeConfig.native.ts +0 -17
  225. package/src/runtimeConfig.shared.ts +0 -17
  226. package/src/runtimeConfig.ts +0 -46
  227. package/tsconfig.es.json +0 -10
  228. package/tsconfig.json +0 -33
  229. package/tsconfig.types.json +0 -9
@@ -4,22 +4,13 @@ exports.paginateListSecrets = void 0;
4
4
  const ListSecretsCommand_1 = require("../commands/ListSecretsCommand");
5
5
  const SecretsManager_1 = require("../SecretsManager");
6
6
  const SecretsManagerClient_1 = require("../SecretsManagerClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListSecretsCommand_1.ListSecretsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listSecrets(input, ...args);
20
12
  };
21
13
  async function* paginateListSecrets(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateListSecrets(config, input, ...additionalArguments) {
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListSecrets = paginateListSecrets;
46
- //# sourceMappingURL=ListSecretsPaginator.js.map
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListSecretVersionIdsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListSecretsPaginator"), exports);
@@ -2749,14 +2749,12 @@ const deserializeMetadata = (output) => {
2749
2749
  cfId: output.headers["x-amz-cf-id"],
2750
2750
  });
2751
2751
  };
2752
- // Collect low-level response body stream to Uint8Array.
2753
2752
  const collectBody = (streamBody = new Uint8Array(), context) => {
2754
2753
  if (streamBody instanceof Uint8Array) {
2755
2754
  return Promise.resolve(streamBody);
2756
2755
  }
2757
2756
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
2758
2757
  };
2759
- // Encode Uint8Array data into string with utf-8.
2760
2758
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2761
2759
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
2762
2760
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -2782,9 +2780,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
2782
2780
  }
2783
2781
  return {};
2784
2782
  });
2785
- /**
2786
- * Load an error code for the aws.rest-json-1.1 protocol.
2787
- */
2788
2783
  const loadRestJsonErrorCode = (output, data) => {
2789
2784
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2790
2785
  const sanitizeErrorCode = (rawValue) => {
@@ -2809,4 +2804,3 @@ const loadRestJsonErrorCode = (output, data) => {
2809
2804
  }
2810
2805
  return "";
2811
2806
  };
2812
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
6
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
7
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
10
11
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
12
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
13
- // @ts-ignore: package.json will be imported from dist folders
14
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
39
35
  };
40
36
  };
41
37
  exports.getRuntimeConfig = getRuntimeConfig;
42
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const client_sts_1 = require("@aws-sdk/client-sts");
6
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
11
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
11
12
  const node_http_handler_1 = require("@aws-sdk/node-http-handler");
12
- const smithy_client_1 = require("@aws-sdk/smithy-client");
13
13
  const util_base64_node_1 = require("@aws-sdk/util-base64-node");
14
14
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
- // @ts-ignore: package.json will be imported from dist folders
18
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
19
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
- /**
21
- * @internal
22
- */
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
44
40
  };
45
41
  };
46
42
  exports.getRuntimeConfig = getRuntimeConfig;
47
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -338,4 +338,3 @@ var SecretsManager = (function (_super) {
338
338
  return SecretsManager;
339
339
  }(SecretsManagerClient));
340
340
  export { SecretsManager };
341
- //# sourceMappingURL=SecretsManager.js.map
@@ -35,4 +35,3 @@ var SecretsManagerClient = (function (_super) {
35
35
  return SecretsManagerClient;
36
36
  }(__Client));
37
37
  export { SecretsManagerClient };
38
- //# sourceMappingURL=SecretsManagerClient.js.map
@@ -37,4 +37,3 @@ var CancelRotateSecretCommand = (function (_super) {
37
37
  return CancelRotateSecretCommand;
38
38
  }($Command));
39
39
  export { CancelRotateSecretCommand };
40
- //# sourceMappingURL=CancelRotateSecretCommand.js.map
@@ -37,4 +37,3 @@ var CreateSecretCommand = (function (_super) {
37
37
  return CreateSecretCommand;
38
38
  }($Command));
39
39
  export { CreateSecretCommand };
40
- //# sourceMappingURL=CreateSecretCommand.js.map
@@ -37,4 +37,3 @@ var DeleteResourcePolicyCommand = (function (_super) {
37
37
  return DeleteResourcePolicyCommand;
38
38
  }($Command));
39
39
  export { DeleteResourcePolicyCommand };
40
- //# sourceMappingURL=DeleteResourcePolicyCommand.js.map
@@ -37,4 +37,3 @@ var DeleteSecretCommand = (function (_super) {
37
37
  return DeleteSecretCommand;
38
38
  }($Command));
39
39
  export { DeleteSecretCommand };
40
- //# sourceMappingURL=DeleteSecretCommand.js.map
@@ -37,4 +37,3 @@ var DescribeSecretCommand = (function (_super) {
37
37
  return DescribeSecretCommand;
38
38
  }($Command));
39
39
  export { DescribeSecretCommand };
40
- //# sourceMappingURL=DescribeSecretCommand.js.map
@@ -37,4 +37,3 @@ var GetRandomPasswordCommand = (function (_super) {
37
37
  return GetRandomPasswordCommand;
38
38
  }($Command));
39
39
  export { GetRandomPasswordCommand };
40
- //# sourceMappingURL=GetRandomPasswordCommand.js.map
@@ -37,4 +37,3 @@ var GetResourcePolicyCommand = (function (_super) {
37
37
  return GetResourcePolicyCommand;
38
38
  }($Command));
39
39
  export { GetResourcePolicyCommand };
40
- //# sourceMappingURL=GetResourcePolicyCommand.js.map
@@ -37,4 +37,3 @@ var GetSecretValueCommand = (function (_super) {
37
37
  return GetSecretValueCommand;
38
38
  }($Command));
39
39
  export { GetSecretValueCommand };
40
- //# sourceMappingURL=GetSecretValueCommand.js.map
@@ -37,4 +37,3 @@ var ListSecretVersionIdsCommand = (function (_super) {
37
37
  return ListSecretVersionIdsCommand;
38
38
  }($Command));
39
39
  export { ListSecretVersionIdsCommand };
40
- //# sourceMappingURL=ListSecretVersionIdsCommand.js.map
@@ -37,4 +37,3 @@ var ListSecretsCommand = (function (_super) {
37
37
  return ListSecretsCommand;
38
38
  }($Command));
39
39
  export { ListSecretsCommand };
40
- //# sourceMappingURL=ListSecretsCommand.js.map
@@ -37,4 +37,3 @@ var PutResourcePolicyCommand = (function (_super) {
37
37
  return PutResourcePolicyCommand;
38
38
  }($Command));
39
39
  export { PutResourcePolicyCommand };
40
- //# sourceMappingURL=PutResourcePolicyCommand.js.map
@@ -37,4 +37,3 @@ var PutSecretValueCommand = (function (_super) {
37
37
  return PutSecretValueCommand;
38
38
  }($Command));
39
39
  export { PutSecretValueCommand };
40
- //# sourceMappingURL=PutSecretValueCommand.js.map
@@ -37,4 +37,3 @@ var RemoveRegionsFromReplicationCommand = (function (_super) {
37
37
  return RemoveRegionsFromReplicationCommand;
38
38
  }($Command));
39
39
  export { RemoveRegionsFromReplicationCommand };
40
- //# sourceMappingURL=RemoveRegionsFromReplicationCommand.js.map
@@ -37,4 +37,3 @@ var ReplicateSecretToRegionsCommand = (function (_super) {
37
37
  return ReplicateSecretToRegionsCommand;
38
38
  }($Command));
39
39
  export { ReplicateSecretToRegionsCommand };
40
- //# sourceMappingURL=ReplicateSecretToRegionsCommand.js.map
@@ -37,4 +37,3 @@ var RestoreSecretCommand = (function (_super) {
37
37
  return RestoreSecretCommand;
38
38
  }($Command));
39
39
  export { RestoreSecretCommand };
40
- //# sourceMappingURL=RestoreSecretCommand.js.map
@@ -37,4 +37,3 @@ var RotateSecretCommand = (function (_super) {
37
37
  return RotateSecretCommand;
38
38
  }($Command));
39
39
  export { RotateSecretCommand };
40
- //# sourceMappingURL=RotateSecretCommand.js.map
@@ -37,4 +37,3 @@ var StopReplicationToReplicaCommand = (function (_super) {
37
37
  return StopReplicationToReplicaCommand;
38
38
  }($Command));
39
39
  export { StopReplicationToReplicaCommand };
40
- //# sourceMappingURL=StopReplicationToReplicaCommand.js.map
@@ -37,4 +37,3 @@ var TagResourceCommand = (function (_super) {
37
37
  return TagResourceCommand;
38
38
  }($Command));
39
39
  export { TagResourceCommand };
40
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -37,4 +37,3 @@ var UntagResourceCommand = (function (_super) {
37
37
  return UntagResourceCommand;
38
38
  }($Command));
39
39
  export { UntagResourceCommand };
40
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -37,4 +37,3 @@ var UpdateSecretCommand = (function (_super) {
37
37
  return UpdateSecretCommand;
38
38
  }($Command));
39
39
  export { UpdateSecretCommand };
40
- //# sourceMappingURL=UpdateSecretCommand.js.map
@@ -37,4 +37,3 @@ var UpdateSecretVersionStageCommand = (function (_super) {
37
37
  return UpdateSecretVersionStageCommand;
38
38
  }($Command));
39
39
  export { UpdateSecretVersionStageCommand };
40
- //# sourceMappingURL=UpdateSecretVersionStageCommand.js.map
@@ -37,4 +37,3 @@ var ValidateResourcePolicyCommand = (function (_super) {
37
37
  return ValidateResourcePolicyCommand;
38
38
  }($Command));
39
39
  export { ValidateResourcePolicyCommand };
40
- //# sourceMappingURL=ValidateResourcePolicyCommand.js.map
@@ -0,0 +1,22 @@
1
+ export * from "./CancelRotateSecretCommand";
2
+ export * from "./CreateSecretCommand";
3
+ export * from "./DeleteResourcePolicyCommand";
4
+ export * from "./DeleteSecretCommand";
5
+ export * from "./DescribeSecretCommand";
6
+ export * from "./GetRandomPasswordCommand";
7
+ export * from "./GetResourcePolicyCommand";
8
+ export * from "./GetSecretValueCommand";
9
+ export * from "./ListSecretVersionIdsCommand";
10
+ export * from "./ListSecretsCommand";
11
+ export * from "./PutResourcePolicyCommand";
12
+ export * from "./PutSecretValueCommand";
13
+ export * from "./RemoveRegionsFromReplicationCommand";
14
+ export * from "./ReplicateSecretToRegionsCommand";
15
+ export * from "./RestoreSecretCommand";
16
+ export * from "./RotateSecretCommand";
17
+ export * from "./StopReplicationToReplicaCommand";
18
+ export * from "./TagResourceCommand";
19
+ export * from "./UntagResourceCommand";
20
+ export * from "./UpdateSecretCommand";
21
+ export * from "./UpdateSecretVersionStageCommand";
22
+ export * from "./ValidateResourcePolicyCommand";
@@ -62,7 +62,7 @@ var partitionHash = {
62
62
  hostname: "secretsmanager.{region}.amazonaws.com.cn",
63
63
  },
64
64
  "aws-iso": {
65
- regions: ["us-iso-east-1"],
65
+ regions: ["us-iso-east-1", "us-iso-west-1"],
66
66
  hostname: "secretsmanager.{region}.c2s.ic.gov",
67
67
  },
68
68
  "aws-iso-b": {
@@ -79,4 +79,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
79
79
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "secretsmanager", regionHash: regionHash, partitionHash: partitionHash }))];
80
80
  });
81
81
  }); };
82
- //# sourceMappingURL=endpoints.js.map
package/dist-es/index.js CHANGED
@@ -1,29 +1,5 @@
1
- export * from "./SecretsManagerClient";
2
1
  export * from "./SecretsManager";
3
- export * from "./commands/CancelRotateSecretCommand";
4
- export * from "./commands/CreateSecretCommand";
5
- export * from "./commands/DeleteResourcePolicyCommand";
6
- export * from "./commands/DeleteSecretCommand";
7
- export * from "./commands/DescribeSecretCommand";
8
- export * from "./commands/GetRandomPasswordCommand";
9
- export * from "./commands/GetResourcePolicyCommand";
10
- export * from "./commands/GetSecretValueCommand";
11
- export * from "./commands/ListSecretsCommand";
12
- export * from "./pagination/ListSecretsPaginator";
13
- export * from "./commands/ListSecretVersionIdsCommand";
14
- export * from "./pagination/ListSecretVersionIdsPaginator";
15
- export * from "./commands/PutResourcePolicyCommand";
16
- export * from "./commands/PutSecretValueCommand";
17
- export * from "./commands/RemoveRegionsFromReplicationCommand";
18
- export * from "./commands/ReplicateSecretToRegionsCommand";
19
- export * from "./commands/RestoreSecretCommand";
20
- export * from "./commands/RotateSecretCommand";
21
- export * from "./commands/StopReplicationToReplicaCommand";
22
- export * from "./commands/TagResourceCommand";
23
- export * from "./commands/UntagResourceCommand";
24
- export * from "./commands/UpdateSecretCommand";
25
- export * from "./commands/UpdateSecretVersionStageCommand";
26
- export * from "./commands/ValidateResourcePolicyCommand";
27
- export * from "./pagination/Interfaces";
28
- export * from "./models/index";
29
- //# sourceMappingURL=index.js.map
2
+ export * from "./SecretsManagerClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -1,2 +1 @@
1
1
  export * from "./models_0";
2
- //# sourceMappingURL=index.js.map
@@ -259,4 +259,3 @@ export var ValidateResourcePolicyResponse;
259
259
  (function (ValidateResourcePolicyResponse) {
260
260
  ValidateResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
261
261
  })(ValidateResourcePolicyResponse || (ValidateResourcePolicyResponse = {}));
262
- //# sourceMappingURL=models_0.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=Interfaces.js.map
@@ -72,4 +72,3 @@ export function paginateListSecretVersionIds(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=ListSecretVersionIdsPaginator.js.map
@@ -72,4 +72,3 @@ export function paginateListSecrets(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=ListSecretsPaginator.js.map
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListSecretVersionIdsPaginator";
3
+ export * from "./ListSecretsPaginator";
@@ -2912,4 +2912,3 @@ var loadRestJsonErrorCode = function (output, data) {
2912
2912
  }
2913
2913
  return "";
2914
2914
  };
2915
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
4
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
7
8
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
- import packageInfo from "../package.json";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
12
  export var getRuntimeConfig = function (config) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
6
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
9
  import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
- import packageInfo from "../package.json";
15
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -546,11 +546,12 @@ export declare class SecretsManager extends SecretsManagerClient {
546
546
  * creates a new version and attaches it to the secret. The version can contain a new
547
547
  * <code>SecretString</code> value or a new <code>SecretBinary</code> value. You can also
548
548
  * specify the staging labels that are initially attached to the new version.</p>
549
- * <note>
550
- * <p>The Secrets Manager console uses only the <code>SecretString</code> field. To add binary data to a
551
- * secret with the <code>SecretBinary</code> field you must use the Amazon Web Services CLI or one of the
552
- * Amazon Web Services SDKs.</p>
553
- * </note>
549
+ * <p>We recommend you avoid calling <code>PutSecretValue</code> at a sustained rate of more than
550
+ * once every 10 minutes. When you update the secret value, Secrets Manager creates a new version
551
+ * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not
552
+ * remove versions created less than 24 hours ago. If you call <code>PutSecretValue</code> more
553
+ * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach
554
+ * the quota for secret versions.</p>
554
555
  * <ul>
555
556
  * <li>
556
557
  * <p>If this operation creates the first version for the secret then Secrets Manager
@@ -840,12 +841,17 @@ export declare class SecretsManager extends SecretsManagerClient {
840
841
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
841
842
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
842
843
  /**
843
- * <p>Modifies many of the details of the specified secret. If you include a
844
- * <code>ClientRequestToken</code> and <i>either</i>
845
- * <code>SecretString</code> or <code>SecretBinary</code> then it also creates a new version
846
- * attached to the secret.</p>
847
- * <p>To modify the rotation configuration of a secret, use <a>RotateSecret</a>
844
+ * <p>Modifies many of the details of the specified secret. </p>
845
+ * <p>To change the secret value, you can also use <a>PutSecretValue</a>.</p>
846
+ * <p>To change the rotation configuration of a secret, use <a>RotateSecret</a>
848
847
  * instead.</p>
848
+ *
849
+ * <p>We recommend you avoid calling <code>UpdateSecret</code> at a sustained rate of more than
850
+ * once every 10 minutes. When you call <code>UpdateSecret</code> to update the secret value, Secrets Manager creates a new version
851
+ * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not
852
+ * remove versions created less than 24 hours ago. If you update the secret value more
853
+ * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach
854
+ * the quota for secret versions.</p>
849
855
  * <note>
850
856
  * <p>The Secrets Manager console uses only the <code>SecretString</code> parameter and therefore limits
851
857
  * you to encrypting and storing only a text string. To encrypt and store binary data as part
@@ -11,11 +11,12 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M
11
11
  * creates a new version and attaches it to the secret. The version can contain a new
12
12
  * <code>SecretString</code> value or a new <code>SecretBinary</code> value. You can also
13
13
  * specify the staging labels that are initially attached to the new version.</p>
14
- * <note>
15
- * <p>The Secrets Manager console uses only the <code>SecretString</code> field. To add binary data to a
16
- * secret with the <code>SecretBinary</code> field you must use the Amazon Web Services CLI or one of the
17
- * Amazon Web Services SDKs.</p>
18
- * </note>
14
+ * <p>We recommend you avoid calling <code>PutSecretValue</code> at a sustained rate of more than
15
+ * once every 10 minutes. When you update the secret value, Secrets Manager creates a new version
16
+ * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not
17
+ * remove versions created less than 24 hours ago. If you call <code>PutSecretValue</code> more
18
+ * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach
19
+ * the quota for secret versions.</p>
19
20
  * <ul>
20
21
  * <li>
21
22
  * <p>If this operation creates the first version for the secret then Secrets Manager
@@ -7,12 +7,17 @@ export interface UpdateSecretCommandInput extends UpdateSecretRequest {
7
7
  export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Modifies many of the details of the specified secret. If you include a
11
- * <code>ClientRequestToken</code> and <i>either</i>
12
- * <code>SecretString</code> or <code>SecretBinary</code> then it also creates a new version
13
- * attached to the secret.</p>
14
- * <p>To modify the rotation configuration of a secret, use <a>RotateSecret</a>
10
+ * <p>Modifies many of the details of the specified secret. </p>
11
+ * <p>To change the secret value, you can also use <a>PutSecretValue</a>.</p>
12
+ * <p>To change the rotation configuration of a secret, use <a>RotateSecret</a>
15
13
  * instead.</p>
14
+ *
15
+ * <p>We recommend you avoid calling <code>UpdateSecret</code> at a sustained rate of more than
16
+ * once every 10 minutes. When you call <code>UpdateSecret</code> to update the secret value, Secrets Manager creates a new version
17
+ * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not
18
+ * remove versions created less than 24 hours ago. If you update the secret value more
19
+ * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach
20
+ * the quota for secret versions.</p>
16
21
  * <note>
17
22
  * <p>The Secrets Manager console uses only the <code>SecretString</code> parameter and therefore limits
18
23
  * you to encrypting and storing only a text string. To encrypt and store binary data as part
@@ -0,0 +1,22 @@
1
+ export * from "./CancelRotateSecretCommand";
2
+ export * from "./CreateSecretCommand";
3
+ export * from "./DeleteResourcePolicyCommand";
4
+ export * from "./DeleteSecretCommand";
5
+ export * from "./DescribeSecretCommand";
6
+ export * from "./GetRandomPasswordCommand";
7
+ export * from "./GetResourcePolicyCommand";
8
+ export * from "./GetSecretValueCommand";
9
+ export * from "./ListSecretVersionIdsCommand";
10
+ export * from "./ListSecretsCommand";
11
+ export * from "./PutResourcePolicyCommand";
12
+ export * from "./PutSecretValueCommand";
13
+ export * from "./RemoveRegionsFromReplicationCommand";
14
+ export * from "./ReplicateSecretToRegionsCommand";
15
+ export * from "./RestoreSecretCommand";
16
+ export * from "./RotateSecretCommand";
17
+ export * from "./StopReplicationToReplicaCommand";
18
+ export * from "./TagResourceCommand";
19
+ export * from "./UntagResourceCommand";
20
+ export * from "./UpdateSecretCommand";
21
+ export * from "./UpdateSecretVersionStageCommand";
22
+ export * from "./ValidateResourcePolicyCommand";