@aws-sdk/client-secrets-manager 3.31.0 → 3.35.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 (347) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/SecretsManager.js +2 -2
  3. package/dist-cjs/SecretsManager.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/SecretsManagerClient.js +14 -14
  5. package/dist-cjs/SecretsManagerClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/CancelRotateSecretCommand.js +5 -5
  7. package/dist-cjs/commands/CancelRotateSecretCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/CreateSecretCommand.js +5 -5
  9. package/dist-cjs/commands/CreateSecretCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/DeleteResourcePolicyCommand.js +5 -5
  11. package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/DeleteSecretCommand.js +5 -5
  13. package/dist-cjs/commands/DeleteSecretCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/DescribeSecretCommand.js +5 -5
  15. package/dist-cjs/commands/DescribeSecretCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetRandomPasswordCommand.js +5 -5
  17. package/dist-cjs/commands/GetRandomPasswordCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/GetResourcePolicyCommand.js +5 -5
  19. package/dist-cjs/commands/GetResourcePolicyCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/GetSecretValueCommand.js +5 -5
  21. package/dist-cjs/commands/GetSecretValueCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/ListSecretVersionIdsCommand.js +5 -5
  23. package/dist-cjs/commands/ListSecretVersionIdsCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/ListSecretsCommand.js +5 -5
  25. package/dist-cjs/commands/ListSecretsCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/PutResourcePolicyCommand.js +5 -5
  27. package/dist-cjs/commands/PutResourcePolicyCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/PutSecretValueCommand.js +5 -5
  29. package/dist-cjs/commands/PutSecretValueCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/RemoveRegionsFromReplicationCommand.js +5 -5
  31. package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/ReplicateSecretToRegionsCommand.js +5 -5
  33. package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/RestoreSecretCommand.js +5 -5
  35. package/dist-cjs/commands/RestoreSecretCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/RotateSecretCommand.js +5 -5
  37. package/dist-cjs/commands/RotateSecretCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/StopReplicationToReplicaCommand.js +5 -5
  39. package/dist-cjs/commands/StopReplicationToReplicaCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  41. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  43. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/UpdateSecretCommand.js +5 -5
  45. package/dist-cjs/commands/UpdateSecretCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/UpdateSecretVersionStageCommand.js +5 -5
  47. package/dist-cjs/commands/UpdateSecretVersionStageCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/ValidateResourcePolicyCommand.js +5 -5
  49. package/dist-cjs/commands/ValidateResourcePolicyCommand.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  51. package/dist-cjs/endpoints.js.map +1 -0
  52. package/dist-cjs/index.js +32 -0
  53. package/dist-cjs/index.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  55. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  56. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  57. package/dist-cjs/models/models_0.js.map +1 -0
  58. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  59. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  60. package/{dist/cjs → dist-cjs}/pagination/ListSecretVersionIdsPaginator.js +1 -1
  61. package/dist-cjs/pagination/ListSecretVersionIdsPaginator.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/pagination/ListSecretsPaginator.js +1 -1
  63. package/dist-cjs/pagination/ListSecretsPaginator.js.map +1 -0
  64. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +100 -100
  65. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  67. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  69. package/dist-cjs/runtimeConfig.js.map +1 -0
  70. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  71. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  73. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  74. package/{dist/es → dist-es}/SecretsManager.js +3 -68
  75. package/dist-es/SecretsManager.js.map +1 -0
  76. package/dist-es/SecretsManagerClient.js +38 -0
  77. package/dist-es/SecretsManagerClient.js.map +1 -0
  78. package/dist-es/commands/CancelRotateSecretCommand.js +40 -0
  79. package/dist-es/commands/CancelRotateSecretCommand.js.map +1 -0
  80. package/dist-es/commands/CreateSecretCommand.js +40 -0
  81. package/dist-es/commands/CreateSecretCommand.js.map +1 -0
  82. package/dist-es/commands/DeleteResourcePolicyCommand.js +40 -0
  83. package/dist-es/commands/DeleteResourcePolicyCommand.js.map +1 -0
  84. package/dist-es/commands/DeleteSecretCommand.js +40 -0
  85. package/dist-es/commands/DeleteSecretCommand.js.map +1 -0
  86. package/dist-es/commands/DescribeSecretCommand.js +40 -0
  87. package/dist-es/commands/DescribeSecretCommand.js.map +1 -0
  88. package/{dist/es → dist-es}/commands/GetRandomPasswordCommand.js +4 -41
  89. package/dist-es/commands/GetRandomPasswordCommand.js.map +1 -0
  90. package/dist-es/commands/GetResourcePolicyCommand.js +40 -0
  91. package/dist-es/commands/GetResourcePolicyCommand.js.map +1 -0
  92. package/dist-es/commands/GetSecretValueCommand.js +40 -0
  93. package/dist-es/commands/GetSecretValueCommand.js.map +1 -0
  94. package/dist-es/commands/ListSecretVersionIdsCommand.js +40 -0
  95. package/dist-es/commands/ListSecretVersionIdsCommand.js.map +1 -0
  96. package/dist-es/commands/ListSecretsCommand.js +40 -0
  97. package/dist-es/commands/ListSecretsCommand.js.map +1 -0
  98. package/dist-es/commands/PutResourcePolicyCommand.js +40 -0
  99. package/dist-es/commands/PutResourcePolicyCommand.js.map +1 -0
  100. package/dist-es/commands/PutSecretValueCommand.js +40 -0
  101. package/dist-es/commands/PutSecretValueCommand.js.map +1 -0
  102. package/{dist/es → dist-es}/commands/RemoveRegionsFromReplicationCommand.js +4 -29
  103. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js.map +1 -0
  104. package/{dist/es → dist-es}/commands/ReplicateSecretToRegionsCommand.js +4 -30
  105. package/dist-es/commands/ReplicateSecretToRegionsCommand.js.map +1 -0
  106. package/{dist/es → dist-es}/commands/RestoreSecretCommand.js +4 -47
  107. package/dist-es/commands/RestoreSecretCommand.js.map +1 -0
  108. package/dist-es/commands/RotateSecretCommand.js +40 -0
  109. package/dist-es/commands/RotateSecretCommand.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/StopReplicationToReplicaCommand.js +4 -29
  111. package/dist-es/commands/StopReplicationToReplicaCommand.js.map +1 -0
  112. package/dist-es/commands/TagResourceCommand.js +40 -0
  113. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  114. package/dist-es/commands/UntagResourceCommand.js +40 -0
  115. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  116. package/dist-es/commands/UpdateSecretCommand.js +40 -0
  117. package/dist-es/commands/UpdateSecretCommand.js.map +1 -0
  118. package/dist-es/commands/UpdateSecretVersionStageCommand.js +40 -0
  119. package/dist-es/commands/UpdateSecretVersionStageCommand.js.map +1 -0
  120. package/dist-es/commands/ValidateResourcePolicyCommand.js +40 -0
  121. package/dist-es/commands/ValidateResourcePolicyCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/endpoints.js +1 -1
  123. package/dist-es/endpoints.js.map +1 -0
  124. package/{dist/es → dist-es}/index.js +0 -0
  125. package/dist-es/index.js.map +1 -0
  126. package/{dist/es → dist-es}/models/index.js +0 -0
  127. package/dist-es/models/index.js.map +1 -0
  128. package/{dist/es → dist-es}/models/models_0.js +0 -186
  129. package/dist-es/models/models_0.js.map +1 -0
  130. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  131. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  132. package/{dist/es → dist-es}/pagination/ListSecretVersionIdsPaginator.js +17 -29
  133. package/dist-es/pagination/ListSecretVersionIdsPaginator.js.map +1 -0
  134. package/{dist/es → dist-es}/pagination/ListSecretsPaginator.js +17 -29
  135. package/dist-es/pagination/ListSecretsPaginator.js.map +1 -0
  136. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +580 -585
  137. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  138. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  139. package/dist-es/runtimeConfig.browser.js.map +1 -0
  140. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  141. package/dist-es/runtimeConfig.js.map +1 -0
  142. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  143. package/dist-es/runtimeConfig.native.js.map +1 -0
  144. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  145. package/dist-es/runtimeConfig.shared.js.map +1 -0
  146. package/{dist/types → dist-types}/SecretsManager.d.ts +3 -3
  147. package/{dist/types → dist-types}/SecretsManagerClient.d.ts +9 -9
  148. package/{dist/types → dist-types}/commands/CancelRotateSecretCommand.d.ts +3 -3
  149. package/{dist/types → dist-types}/commands/CreateSecretCommand.d.ts +3 -3
  150. package/{dist/types → dist-types}/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  151. package/{dist/types → dist-types}/commands/DeleteSecretCommand.d.ts +3 -3
  152. package/{dist/types → dist-types}/commands/DescribeSecretCommand.d.ts +3 -3
  153. package/{dist/types → dist-types}/commands/GetRandomPasswordCommand.d.ts +3 -3
  154. package/{dist/types → dist-types}/commands/GetResourcePolicyCommand.d.ts +3 -3
  155. package/{dist/types → dist-types}/commands/GetSecretValueCommand.d.ts +3 -3
  156. package/{dist/types → dist-types}/commands/ListSecretVersionIdsCommand.d.ts +3 -3
  157. package/{dist/types → dist-types}/commands/ListSecretsCommand.d.ts +3 -3
  158. package/{dist/types → dist-types}/commands/PutResourcePolicyCommand.d.ts +3 -3
  159. package/{dist/types → dist-types}/commands/PutSecretValueCommand.d.ts +3 -3
  160. package/{dist/types → dist-types}/commands/RemoveRegionsFromReplicationCommand.d.ts +3 -3
  161. package/{dist/types → dist-types}/commands/ReplicateSecretToRegionsCommand.d.ts +3 -3
  162. package/{dist/types → dist-types}/commands/RestoreSecretCommand.d.ts +3 -3
  163. package/{dist/types → dist-types}/commands/RotateSecretCommand.d.ts +3 -3
  164. package/{dist/types → dist-types}/commands/StopReplicationToReplicaCommand.d.ts +3 -3
  165. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  166. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  167. package/{dist/types → dist-types}/commands/UpdateSecretCommand.d.ts +3 -3
  168. package/{dist/types → dist-types}/commands/UpdateSecretVersionStageCommand.d.ts +3 -3
  169. package/{dist/types → dist-types}/commands/ValidateResourcePolicyCommand.d.ts +3 -3
  170. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  171. package/{dist/types → dist-types}/index.d.ts +0 -0
  172. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  173. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  174. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  175. package/{dist/types → dist-types}/pagination/ListSecretVersionIdsPaginator.d.ts +1 -1
  176. package/{dist/types → dist-types}/pagination/ListSecretsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
  178. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  179. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  180. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  181. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  182. package/{dist/types → dist-types}/ts3.4/SecretsManager.d.ts +3 -3
  183. package/{dist/types → dist-types}/ts3.4/SecretsManagerClient.d.ts +9 -9
  184. package/{dist/types → dist-types}/ts3.4/commands/CancelRotateSecretCommand.d.ts +3 -3
  185. package/{dist/types → dist-types}/ts3.4/commands/CreateSecretCommand.d.ts +3 -3
  186. package/{dist/types → dist-types}/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  187. package/{dist/types → dist-types}/ts3.4/commands/DeleteSecretCommand.d.ts +3 -3
  188. package/{dist/types → dist-types}/ts3.4/commands/DescribeSecretCommand.d.ts +3 -3
  189. package/{dist/types → dist-types}/ts3.4/commands/GetRandomPasswordCommand.d.ts +3 -3
  190. package/{dist/types → dist-types}/ts3.4/commands/GetResourcePolicyCommand.d.ts +3 -3
  191. package/{dist/types → dist-types}/ts3.4/commands/GetSecretValueCommand.d.ts +3 -3
  192. package/{dist/types → dist-types}/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +3 -3
  193. package/{dist/types → dist-types}/ts3.4/commands/ListSecretsCommand.d.ts +3 -3
  194. package/{dist/types → dist-types}/ts3.4/commands/PutResourcePolicyCommand.d.ts +3 -3
  195. package/{dist/types → dist-types}/ts3.4/commands/PutSecretValueCommand.d.ts +3 -3
  196. package/{dist/types → dist-types}/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +3 -3
  197. package/{dist/types → dist-types}/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +3 -3
  198. package/{dist/types → dist-types}/ts3.4/commands/RestoreSecretCommand.d.ts +3 -3
  199. package/{dist/types → dist-types}/ts3.4/commands/RotateSecretCommand.d.ts +3 -3
  200. package/{dist/types → dist-types}/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +3 -3
  201. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  202. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  203. package/{dist/types → dist-types}/ts3.4/commands/UpdateSecretCommand.d.ts +3 -3
  204. package/{dist/types → dist-types}/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +3 -3
  205. package/{dist/types → dist-types}/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +3 -3
  206. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  207. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  208. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  209. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  210. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  211. package/{dist/types → dist-types}/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +1 -1
  212. package/{dist/types → dist-types}/ts3.4/pagination/ListSecretsPaginator.d.ts +1 -1
  213. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
  214. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  215. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  216. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  217. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  218. package/package.json +50 -50
  219. package/{SecretsManager.ts → src/SecretsManager.ts} +4 -3
  220. package/{SecretsManagerClient.ts → src/SecretsManagerClient.ts} +58 -57
  221. package/{commands → src/commands}/CancelRotateSecretCommand.ts +8 -7
  222. package/{commands → src/commands}/CreateSecretCommand.ts +8 -7
  223. package/{commands → src/commands}/DeleteResourcePolicyCommand.ts +8 -7
  224. package/{commands → src/commands}/DeleteSecretCommand.ts +8 -7
  225. package/{commands → src/commands}/DescribeSecretCommand.ts +8 -7
  226. package/{commands → src/commands}/GetRandomPasswordCommand.ts +8 -7
  227. package/{commands → src/commands}/GetResourcePolicyCommand.ts +8 -7
  228. package/{commands → src/commands}/GetSecretValueCommand.ts +8 -7
  229. package/{commands → src/commands}/ListSecretVersionIdsCommand.ts +8 -7
  230. package/{commands → src/commands}/ListSecretsCommand.ts +8 -7
  231. package/{commands → src/commands}/PutResourcePolicyCommand.ts +8 -7
  232. package/{commands → src/commands}/PutSecretValueCommand.ts +8 -7
  233. package/{commands → src/commands}/RemoveRegionsFromReplicationCommand.ts +8 -7
  234. package/{commands → src/commands}/ReplicateSecretToRegionsCommand.ts +8 -7
  235. package/{commands → src/commands}/RestoreSecretCommand.ts +8 -7
  236. package/{commands → src/commands}/RotateSecretCommand.ts +8 -7
  237. package/{commands → src/commands}/StopReplicationToReplicaCommand.ts +8 -7
  238. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  239. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  240. package/{commands → src/commands}/UpdateSecretCommand.ts +8 -7
  241. package/{commands → src/commands}/UpdateSecretVersionStageCommand.ts +8 -7
  242. package/{commands → src/commands}/ValidateResourcePolicyCommand.ts +8 -7
  243. package/{endpoints.ts → src/endpoints.ts} +1 -1
  244. package/{index.ts → src/index.ts} +0 -0
  245. package/{models → src/models}/index.ts +0 -0
  246. package/{models → src/models}/models_0.ts +0 -0
  247. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  248. package/{pagination → src/pagination}/ListSecretVersionIdsPaginator.ts +4 -3
  249. package/{pagination → src/pagination}/ListSecretsPaginator.ts +3 -2
  250. package/{protocols → src/protocols}/Aws_json1_1.ts +44 -43
  251. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +4 -3
  252. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +2 -1
  253. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  254. package/{runtimeConfig.ts → src/runtimeConfig.ts} +5 -4
  255. package/tsconfig.es.json +1 -3
  256. package/tsconfig.json +7 -7
  257. package/tsconfig.types.json +9 -0
  258. package/dist/cjs/SecretsManager.js.map +0 -1
  259. package/dist/cjs/SecretsManagerClient.js.map +0 -1
  260. package/dist/cjs/commands/CancelRotateSecretCommand.js.map +0 -1
  261. package/dist/cjs/commands/CreateSecretCommand.js.map +0 -1
  262. package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  263. package/dist/cjs/commands/DeleteSecretCommand.js.map +0 -1
  264. package/dist/cjs/commands/DescribeSecretCommand.js.map +0 -1
  265. package/dist/cjs/commands/GetRandomPasswordCommand.js.map +0 -1
  266. package/dist/cjs/commands/GetResourcePolicyCommand.js.map +0 -1
  267. package/dist/cjs/commands/GetSecretValueCommand.js.map +0 -1
  268. package/dist/cjs/commands/ListSecretVersionIdsCommand.js.map +0 -1
  269. package/dist/cjs/commands/ListSecretsCommand.js.map +0 -1
  270. package/dist/cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  271. package/dist/cjs/commands/PutSecretValueCommand.js.map +0 -1
  272. package/dist/cjs/commands/RemoveRegionsFromReplicationCommand.js.map +0 -1
  273. package/dist/cjs/commands/ReplicateSecretToRegionsCommand.js.map +0 -1
  274. package/dist/cjs/commands/RestoreSecretCommand.js.map +0 -1
  275. package/dist/cjs/commands/RotateSecretCommand.js.map +0 -1
  276. package/dist/cjs/commands/StopReplicationToReplicaCommand.js.map +0 -1
  277. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  278. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  279. package/dist/cjs/commands/UpdateSecretCommand.js.map +0 -1
  280. package/dist/cjs/commands/UpdateSecretVersionStageCommand.js.map +0 -1
  281. package/dist/cjs/commands/ValidateResourcePolicyCommand.js.map +0 -1
  282. package/dist/cjs/endpoints.js.map +0 -1
  283. package/dist/cjs/index.js +0 -32
  284. package/dist/cjs/index.js.map +0 -1
  285. package/dist/cjs/models/models_0.js.map +0 -1
  286. package/dist/cjs/package.json +0 -93
  287. package/dist/cjs/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
  288. package/dist/cjs/pagination/ListSecretsPaginator.js.map +0 -1
  289. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  290. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  291. package/dist/cjs/runtimeConfig.js.map +0 -1
  292. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  293. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  294. package/dist/es/SecretsManager.js.map +0 -1
  295. package/dist/es/SecretsManagerClient.js +0 -108
  296. package/dist/es/SecretsManagerClient.js.map +0 -1
  297. package/dist/es/commands/CancelRotateSecretCommand.js +0 -117
  298. package/dist/es/commands/CancelRotateSecretCommand.js.map +0 -1
  299. package/dist/es/commands/CreateSecretCommand.js +0 -152
  300. package/dist/es/commands/CreateSecretCommand.js.map +0 -1
  301. package/dist/es/commands/DeleteResourcePolicyCommand.js +0 -88
  302. package/dist/es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  303. package/dist/es/commands/DeleteSecretCommand.js +0 -110
  304. package/dist/es/commands/DeleteSecretCommand.js.map +0 -1
  305. package/dist/es/commands/DescribeSecretCommand.js +0 -92
  306. package/dist/es/commands/DescribeSecretCommand.js.map +0 -1
  307. package/dist/es/commands/GetRandomPasswordCommand.js.map +0 -1
  308. package/dist/es/commands/GetResourcePolicyCommand.js +0 -91
  309. package/dist/es/commands/GetResourcePolicyCommand.js.map +0 -1
  310. package/dist/es/commands/GetSecretValueCommand.js +0 -92
  311. package/dist/es/commands/GetSecretValueCommand.js.map +0 -1
  312. package/dist/es/commands/ListSecretVersionIdsCommand.js +0 -93
  313. package/dist/es/commands/ListSecretVersionIdsCommand.js.map +0 -1
  314. package/dist/es/commands/ListSecretsCommand.js +0 -94
  315. package/dist/es/commands/ListSecretsCommand.js.map +0 -1
  316. package/dist/es/commands/PutResourcePolicyCommand.js +0 -96
  317. package/dist/es/commands/PutResourcePolicyCommand.js.map +0 -1
  318. package/dist/es/commands/PutSecretValueCommand.js +0 -152
  319. package/dist/es/commands/PutSecretValueCommand.js.map +0 -1
  320. package/dist/es/commands/RemoveRegionsFromReplicationCommand.js.map +0 -1
  321. package/dist/es/commands/ReplicateSecretToRegionsCommand.js.map +0 -1
  322. package/dist/es/commands/RestoreSecretCommand.js.map +0 -1
  323. package/dist/es/commands/RotateSecretCommand.js +0 -126
  324. package/dist/es/commands/RotateSecretCommand.js.map +0 -1
  325. package/dist/es/commands/StopReplicationToReplicaCommand.js.map +0 -1
  326. package/dist/es/commands/TagResourceCommand.js +0 -120
  327. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  328. package/dist/es/commands/UntagResourceCommand.js +0 -93
  329. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  330. package/dist/es/commands/UpdateSecretCommand.js +0 -149
  331. package/dist/es/commands/UpdateSecretCommand.js.map +0 -1
  332. package/dist/es/commands/UpdateSecretVersionStageCommand.js +0 -101
  333. package/dist/es/commands/UpdateSecretVersionStageCommand.js.map +0 -1
  334. package/dist/es/commands/ValidateResourcePolicyCommand.js +0 -99
  335. package/dist/es/commands/ValidateResourcePolicyCommand.js.map +0 -1
  336. package/dist/es/endpoints.js.map +0 -1
  337. package/dist/es/index.js.map +0 -1
  338. package/dist/es/models/index.js.map +0 -1
  339. package/dist/es/models/models_0.js.map +0 -1
  340. package/dist/es/package.json +0 -93
  341. package/dist/es/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
  342. package/dist/es/pagination/ListSecretsPaginator.js.map +0 -1
  343. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  344. package/dist/es/runtimeConfig.browser.js.map +0 -1
  345. package/dist/es/runtimeConfig.js.map +0 -1
  346. package/dist/es/runtimeConfig.native.js.map +0 -1
  347. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { ReplicateSecretToRegionsRequest, ReplicateSecretToRegionsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ReplicateSecretToRegionsRequest, ReplicateSecretToRegionsResponse } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface ReplicateSecretToRegionsCommandInput extends ReplicateSecretToRegionsRequest {
6
6
  }
7
7
  export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretToRegionsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { RestoreSecretRequest, RestoreSecretResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { RestoreSecretRequest, RestoreSecretResponse } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface RestoreSecretCommandInput extends RestoreSecretRequest {
6
6
  }
7
7
  export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { RotateSecretRequest, RotateSecretResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { RotateSecretRequest, RotateSecretResponse } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface RotateSecretCommandInput extends RotateSecretRequest {
6
6
  }
7
7
  export interface RotateSecretCommandOutput extends RotateSecretResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface StopReplicationToReplicaCommandInput extends StopReplicationToReplicaRequest {
6
6
  }
7
7
  export interface StopReplicationToReplicaCommandOutput extends StopReplicationToReplicaResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { TagResourceRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { TagResourceRequest } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface TagResourceCommandInput extends TagResourceRequest {
6
6
  }
7
7
  export interface TagResourceCommandOutput extends __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { UntagResourceRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UntagResourceRequest } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface UntagResourceCommandInput extends UntagResourceRequest {
6
6
  }
7
7
  export interface UntagResourceCommandOutput extends __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { UpdateSecretRequest, UpdateSecretResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateSecretRequest, UpdateSecretResponse } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface UpdateSecretCommandInput extends UpdateSecretRequest {
6
6
  }
7
7
  export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface UpdateSecretVersionStageCommandInput extends UpdateSecretVersionStageRequest {
6
6
  }
7
7
  export interface UpdateSecretVersionStageCommandOutput extends UpdateSecretVersionStageResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
2
- import { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } from "../models/models_0";
4
+ import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
5
5
  export interface ValidateResourcePolicyCommandInput extends ValidateResourcePolicyRequest {
6
6
  }
7
7
  export interface ValidateResourcePolicyCommandOutput extends ValidateResourcePolicyResponse, __MetadataBearer {
File without changes
File without changes
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { SecretsManager } from "../SecretsManager";
2
3
  import { SecretsManagerClient } from "../SecretsManagerClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface SecretsManagerPaginationConfiguration extends PaginationConfiguration {
5
5
  client: SecretsManager | SecretsManagerClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput } from "../commands/ListSecretVersionIdsCommand";
2
3
  import { SecretsManagerPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListSecretVersionIds(config: SecretsManagerPaginationConfiguration, input: ListSecretVersionIdsCommandInput, ...additionalArguments: any): Paginator<ListSecretVersionIdsCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
2
3
  import { SecretsManagerPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListSecrets(config: SecretsManagerPaginationConfiguration, input: ListSecretsCommandInput, ...additionalArguments: any): Paginator<ListSecretsCommandOutput>;
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "../commands/CancelRotateSecretCommand";
2
4
  import { CreateSecretCommandInput, CreateSecretCommandOutput } from "../commands/CreateSecretCommand";
3
5
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
@@ -6,8 +8,8 @@ import { DescribeSecretCommandInput, DescribeSecretCommandOutput } from "../comm
6
8
  import { GetRandomPasswordCommandInput, GetRandomPasswordCommandOutput } from "../commands/GetRandomPasswordCommand";
7
9
  import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
8
10
  import { GetSecretValueCommandInput, GetSecretValueCommandOutput } from "../commands/GetSecretValueCommand";
9
- import { ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput } from "../commands/ListSecretVersionIdsCommand";
10
11
  import { ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
12
+ import { ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput } from "../commands/ListSecretVersionIdsCommand";
11
13
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
12
14
  import { PutSecretValueCommandInput, PutSecretValueCommandOutput } from "../commands/PutSecretValueCommand";
13
15
  import { RemoveRegionsFromReplicationCommandInput, RemoveRegionsFromReplicationCommandOutput } from "../commands/RemoveRegionsFromReplicationCommand";
@@ -20,8 +22,6 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
20
22
  import { UpdateSecretCommandInput, UpdateSecretCommandOutput } from "../commands/UpdateSecretCommand";
21
23
  import { UpdateSecretVersionStageCommandInput, UpdateSecretVersionStageCommandOutput } from "../commands/UpdateSecretVersionStageCommand";
22
24
  import { ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput } from "../commands/ValidateResourcePolicyCommand";
23
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
24
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
25
25
  export declare const serializeAws_json1_1CancelRotateSecretCommand: (input: CancelRotateSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
26
  export declare const serializeAws_json1_1CreateSecretCommand: (input: CreateSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
27
  export declare const serializeAws_json1_1DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -1,36 +1,37 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
- import { SecretsManagerClientConfig } from "./SecretsManagerClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
7
- runtime: string;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
- bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
- region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
- retryMode: string | import("@aws-sdk/types").Provider<string>;
17
- sha256: import("@aws-sdk/types").HashConstructor;
18
- streamCollector: import("@aws-sdk/types").StreamCollector;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
21
- apiVersion: string;
22
- urlParser: import("@aws-sdk/types").UrlParser;
23
- disableHostPrefix: boolean;
24
- logger: import("@aws-sdk/types").Logger;
25
- serviceId: string;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
- tls?: boolean | undefined;
29
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
- signingEscapePath?: boolean | undefined;
33
- systemClockOffset?: number | undefined;
34
- signingRegion?: string | undefined;
35
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
- };
1
+ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { SecretsManagerClientConfig } from "./SecretsManagerClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
7
+ runtime: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
10
+ bodyLengthChecker: (body: any) => number | undefined;
11
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
+ region: string | import("@aws-sdk/types").Provider<any>;
15
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
17
+ sha256: import("@aws-sdk/types").HashConstructor;
18
+ streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ apiVersion: string;
22
+ urlParser: import("@aws-sdk/types").UrlParser;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ serviceId: string;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -1,36 +1,37 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
- import { SecretsManagerClientConfig } from "./SecretsManagerClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
7
- runtime: string;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
- bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
- region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
- retryMode: string | import("@aws-sdk/types").Provider<string>;
17
- sha256: import("@aws-sdk/types").HashConstructor;
18
- streamCollector: import("@aws-sdk/types").StreamCollector;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
21
- apiVersion: string;
22
- urlParser: import("@aws-sdk/types").UrlParser;
23
- disableHostPrefix: boolean;
24
- logger: import("@aws-sdk/types").Logger;
25
- serviceId: string;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
- tls?: boolean | undefined;
29
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
- signingEscapePath?: boolean | undefined;
33
- systemClockOffset?: number | undefined;
34
- signingRegion?: string | undefined;
35
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
- };
1
+ import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
+ import { SecretsManagerClientConfig } from "./SecretsManagerClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
7
+ runtime: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
10
+ bodyLengthChecker: (body: any) => number | undefined;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
+ region: string | import("@aws-sdk/types").Provider<string>;
15
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
17
+ sha256: import("@aws-sdk/types").HashConstructor;
18
+ streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ apiVersion: string;
22
+ urlParser: import("@aws-sdk/types").UrlParser;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ serviceId: string;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -1,35 +1,36 @@
1
- import { SecretsManagerClientConfig } from "./SecretsManagerClient";
2
- /**
3
- * @internal
4
- */
5
- export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
6
- runtime: string;
7
- sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
- urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
12
- streamCollector: import("@aws-sdk/types").StreamCollector;
13
- base64Decoder: import("@aws-sdk/types").Decoder;
14
- base64Encoder: import("@aws-sdk/types").Encoder;
15
- utf8Decoder: import("@aws-sdk/types").Decoder;
16
- utf8Encoder: import("@aws-sdk/types").Encoder;
17
- disableHostPrefix: boolean;
18
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
- retryMode: string | import("@aws-sdk/types").Provider<string>;
20
- logger: import("@aws-sdk/types").Logger;
21
- serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
- tls?: boolean | undefined;
28
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
29
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
30
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
31
- signingEscapePath?: boolean | undefined;
32
- systemClockOffset?: number | undefined;
33
- signingRegion?: string | undefined;
34
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
35
- };
1
+ import { SecretsManagerClientConfig } from "./SecretsManagerClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: (body: any) => number | undefined;
12
+ streamCollector: import("@aws-sdk/types").StreamCollector;
13
+ base64Decoder: import("@aws-sdk/types").Decoder;
14
+ base64Encoder: import("@aws-sdk/types").Encoder;
15
+ utf8Decoder: import("@aws-sdk/types").Decoder;
16
+ utf8Encoder: import("@aws-sdk/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
20
+ logger: import("@aws-sdk/types").Logger;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
+ tls?: boolean | undefined;
28
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
29
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
30
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
31
+ signingEscapePath?: boolean | undefined;
32
+ systemClockOffset?: number | undefined;
33
+ signingRegion?: string | undefined;
34
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
+ };
package/package.json CHANGED
@@ -1,65 +1,59 @@
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.31.0",
4
+ "version": "3.35.0",
5
5
  "scripts": {
6
- "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
- "build-documentation": "yarn remove-documentation && typedoc ./",
8
- "remove-definitions": "rimraf ./types",
9
- "remove-dist": "rimraf ./dist",
10
- "remove-documentation": "rimraf ./docs",
11
- "test": "exit 0",
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
12
7
  "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
13
9
  "build:es": "tsc -p tsconfig.es.json",
14
- "build": "yarn build:cjs && yarn build:es",
15
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
16
- },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
+ "test": "exit 0"
25
16
  },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.0.0",
29
23
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.31.0",
31
- "@aws-sdk/config-resolver": "3.30.0",
32
- "@aws-sdk/credential-provider-node": "3.31.0",
33
- "@aws-sdk/fetch-http-handler": "3.29.0",
34
- "@aws-sdk/hash-node": "3.29.0",
35
- "@aws-sdk/invalid-dependency": "3.29.0",
36
- "@aws-sdk/middleware-content-length": "3.29.0",
37
- "@aws-sdk/middleware-host-header": "3.29.0",
38
- "@aws-sdk/middleware-logger": "3.29.0",
39
- "@aws-sdk/middleware-retry": "3.29.0",
40
- "@aws-sdk/middleware-serde": "3.29.0",
41
- "@aws-sdk/middleware-signing": "3.30.0",
42
- "@aws-sdk/middleware-stack": "3.29.0",
43
- "@aws-sdk/middleware-user-agent": "3.29.0",
44
- "@aws-sdk/node-config-provider": "3.29.0",
45
- "@aws-sdk/node-http-handler": "3.29.0",
46
- "@aws-sdk/protocol-http": "3.29.0",
47
- "@aws-sdk/smithy-client": "3.31.0",
48
- "@aws-sdk/types": "3.29.0",
49
- "@aws-sdk/url-parser": "3.29.0",
50
- "@aws-sdk/util-base64-browser": "3.29.0",
51
- "@aws-sdk/util-base64-node": "3.29.0",
52
- "@aws-sdk/util-body-length-browser": "3.29.0",
53
- "@aws-sdk/util-body-length-node": "3.29.0",
54
- "@aws-sdk/util-user-agent-browser": "3.29.0",
55
- "@aws-sdk/util-user-agent-node": "3.29.0",
56
- "@aws-sdk/util-utf8-browser": "3.29.0",
57
- "@aws-sdk/util-utf8-node": "3.29.0",
24
+ "@aws-sdk/client-sts": "3.35.0",
25
+ "@aws-sdk/config-resolver": "3.35.0",
26
+ "@aws-sdk/credential-provider-node": "3.35.0",
27
+ "@aws-sdk/fetch-http-handler": "3.35.0",
28
+ "@aws-sdk/hash-node": "3.35.0",
29
+ "@aws-sdk/invalid-dependency": "3.35.0",
30
+ "@aws-sdk/middleware-content-length": "3.35.0",
31
+ "@aws-sdk/middleware-host-header": "3.35.0",
32
+ "@aws-sdk/middleware-logger": "3.35.0",
33
+ "@aws-sdk/middleware-retry": "3.35.0",
34
+ "@aws-sdk/middleware-serde": "3.35.0",
35
+ "@aws-sdk/middleware-signing": "3.35.0",
36
+ "@aws-sdk/middleware-stack": "3.35.0",
37
+ "@aws-sdk/middleware-user-agent": "3.35.0",
38
+ "@aws-sdk/node-config-provider": "3.35.0",
39
+ "@aws-sdk/node-http-handler": "3.35.0",
40
+ "@aws-sdk/protocol-http": "3.35.0",
41
+ "@aws-sdk/smithy-client": "3.35.0",
42
+ "@aws-sdk/types": "3.35.0",
43
+ "@aws-sdk/url-parser": "3.35.0",
44
+ "@aws-sdk/util-base64-browser": "3.35.0",
45
+ "@aws-sdk/util-base64-node": "3.35.0",
46
+ "@aws-sdk/util-body-length-browser": "3.35.0",
47
+ "@aws-sdk/util-body-length-node": "3.35.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.35.0",
49
+ "@aws-sdk/util-user-agent-node": "3.35.0",
50
+ "@aws-sdk/util-utf8-browser": "3.35.0",
51
+ "@aws-sdk/util-utf8-node": "3.35.0",
58
52
  "tslib": "^2.3.0",
59
53
  "uuid": "^8.3.2"
60
54
  },
61
55
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.29.0",
56
+ "@aws-sdk/client-documentation-generator": "3.35.0",
63
57
  "@types/node": "^12.7.5",
64
58
  "@types/uuid": "^8.3.0",
65
59
  "downlevel-dts": "0.7.0",
@@ -67,15 +61,15 @@
67
61
  "rimraf": "^3.0.0",
68
62
  "ts-jest": "^26.4.1",
69
63
  "typedoc": "^0.19.2",
70
- "typescript": "~4.4.2"
64
+ "typescript": "~4.3.5"
71
65
  },
72
66
  "engines": {
73
67
  "node": ">=10.0.0"
74
68
  },
75
69
  "typesVersions": {
76
70
  "<4.0": {
77
- "dist/types/*": [
78
- "dist/types/ts3.4/*"
71
+ "dist-types/*": [
72
+ "dist-types/ts3.4/*"
79
73
  ]
80
74
  }
81
75
  },
@@ -84,6 +78,12 @@
84
78
  "url": "https://aws.amazon.com/javascript/"
85
79
  },
86
80
  "license": "Apache-2.0",
81
+ "browser": {
82
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
83
+ },
84
+ "react-native": {
85
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
86
+ },
87
87
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-secrets-manager",
88
88
  "repository": {
89
89
  "type": "git",
@@ -1,4 +1,5 @@
1
- import { SecretsManagerClient } from "./SecretsManagerClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
2
3
  import {
3
4
  CancelRotateSecretCommand,
4
5
  CancelRotateSecretCommandInput,
@@ -39,12 +40,12 @@ import {
39
40
  GetSecretValueCommandInput,
40
41
  GetSecretValueCommandOutput,
41
42
  } from "./commands/GetSecretValueCommand";
43
+ import { ListSecretsCommand, ListSecretsCommandInput, ListSecretsCommandOutput } from "./commands/ListSecretsCommand";
42
44
  import {
43
45
  ListSecretVersionIdsCommand,
44
46
  ListSecretVersionIdsCommandInput,
45
47
  ListSecretVersionIdsCommandOutput,
46
48
  } from "./commands/ListSecretVersionIdsCommand";
47
- import { ListSecretsCommand, ListSecretsCommandInput, ListSecretsCommandOutput } from "./commands/ListSecretsCommand";
48
49
  import {
49
50
  PutResourcePolicyCommand,
50
51
  PutResourcePolicyCommandInput,
@@ -101,7 +102,7 @@ import {
101
102
  ValidateResourcePolicyCommandInput,
102
103
  ValidateResourcePolicyCommandOutput,
103
104
  } from "./commands/ValidateResourcePolicyCommand";
104
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
105
+ import { SecretsManagerClient } from "./SecretsManagerClient";
105
106
 
106
107
  /**
107
108
  * <fullname>Amazon Web Services Secrets Manager</fullname>