@aws-sdk/client-secrets-manager 3.337.0 → 3.341.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 (101) hide show
  1. package/dist-cjs/SecretsManagerClient.js +2 -1
  2. package/dist-cjs/commands/CancelRotateSecretCommand.js +2 -1
  3. package/dist-cjs/commands/CreateSecretCommand.js +2 -1
  4. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -1
  5. package/dist-cjs/commands/DeleteSecretCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeSecretCommand.js +2 -1
  7. package/dist-cjs/commands/GetRandomPasswordCommand.js +2 -1
  8. package/dist-cjs/commands/GetResourcePolicyCommand.js +2 -1
  9. package/dist-cjs/commands/GetSecretValueCommand.js +2 -1
  10. package/dist-cjs/commands/ListSecretVersionIdsCommand.js +2 -1
  11. package/dist-cjs/commands/ListSecretsCommand.js +2 -1
  12. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -1
  13. package/dist-cjs/commands/PutSecretValueCommand.js +2 -1
  14. package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +2 -1
  15. package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +2 -1
  16. package/dist-cjs/commands/RestoreSecretCommand.js +2 -1
  17. package/dist-cjs/commands/RotateSecretCommand.js +2 -1
  18. package/dist-cjs/commands/StopReplicationToReplicaCommand.js +2 -1
  19. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  20. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  21. package/dist-cjs/commands/UpdateSecretCommand.js +2 -1
  22. package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +2 -1
  23. package/dist-cjs/commands/ValidateResourcePolicyCommand.js +2 -1
  24. package/dist-cjs/index.js +2 -2
  25. package/dist-cjs/models/SecretsManagerServiceException.js +2 -1
  26. package/dist-es/SecretsManagerClient.js +1 -0
  27. package/dist-es/commands/CancelRotateSecretCommand.js +1 -0
  28. package/dist-es/commands/CreateSecretCommand.js +1 -0
  29. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -0
  30. package/dist-es/commands/DeleteSecretCommand.js +1 -0
  31. package/dist-es/commands/DescribeSecretCommand.js +1 -0
  32. package/dist-es/commands/GetRandomPasswordCommand.js +1 -0
  33. package/dist-es/commands/GetResourcePolicyCommand.js +1 -0
  34. package/dist-es/commands/GetSecretValueCommand.js +1 -0
  35. package/dist-es/commands/ListSecretVersionIdsCommand.js +1 -0
  36. package/dist-es/commands/ListSecretsCommand.js +1 -0
  37. package/dist-es/commands/PutResourcePolicyCommand.js +1 -0
  38. package/dist-es/commands/PutSecretValueCommand.js +1 -0
  39. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +1 -0
  40. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +1 -0
  41. package/dist-es/commands/RestoreSecretCommand.js +1 -0
  42. package/dist-es/commands/RotateSecretCommand.js +1 -0
  43. package/dist-es/commands/StopReplicationToReplicaCommand.js +1 -0
  44. package/dist-es/commands/TagResourceCommand.js +1 -0
  45. package/dist-es/commands/UntagResourceCommand.js +1 -0
  46. package/dist-es/commands/UpdateSecretCommand.js +1 -0
  47. package/dist-es/commands/UpdateSecretVersionStageCommand.js +1 -0
  48. package/dist-es/commands/ValidateResourcePolicyCommand.js +1 -0
  49. package/dist-es/index.js +2 -2
  50. package/dist-es/models/SecretsManagerServiceException.js +1 -0
  51. package/dist-types/SecretsManagerClient.d.ts +3 -3
  52. package/dist-types/commands/CancelRotateSecretCommand.d.ts +4 -0
  53. package/dist-types/commands/CreateSecretCommand.d.ts +4 -0
  54. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  55. package/dist-types/commands/DeleteSecretCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeSecretCommand.d.ts +4 -0
  57. package/dist-types/commands/GetRandomPasswordCommand.d.ts +4 -0
  58. package/dist-types/commands/GetResourcePolicyCommand.d.ts +4 -0
  59. package/dist-types/commands/GetSecretValueCommand.d.ts +4 -0
  60. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +4 -0
  61. package/dist-types/commands/ListSecretsCommand.d.ts +4 -0
  62. package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
  63. package/dist-types/commands/PutSecretValueCommand.d.ts +4 -0
  64. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +4 -0
  65. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +4 -0
  66. package/dist-types/commands/RestoreSecretCommand.d.ts +4 -0
  67. package/dist-types/commands/RotateSecretCommand.d.ts +4 -0
  68. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +4 -0
  69. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  70. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  71. package/dist-types/commands/UpdateSecretCommand.d.ts +4 -0
  72. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +4 -0
  73. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +4 -0
  74. package/dist-types/index.d.ts +32 -2
  75. package/dist-types/models/SecretsManagerServiceException.d.ts +1 -0
  76. package/dist-types/ts3.4/SecretsManagerClient.d.ts +3 -3
  77. package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +1 -0
  78. package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +1 -0
  79. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +1 -0
  80. package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +1 -0
  81. package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +1 -0
  82. package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +1 -0
  83. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +1 -0
  84. package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +1 -0
  85. package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +1 -0
  86. package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +1 -0
  87. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +1 -0
  88. package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +1 -0
  89. package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +1 -0
  90. package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +1 -0
  91. package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +1 -0
  92. package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +1 -0
  93. package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +1 -0
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  95. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  96. package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +1 -0
  97. package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +1 -0
  98. package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +1 -0
  99. package/dist-types/ts3.4/index.d.ts +2 -2
  100. package/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +1 -0
  101. package/package.json +28 -28
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SecretsManagerClient = void 0;
3
+ exports.SecretsManagerClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class SecretsManagerClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CancelRotateSecretCommand = void 0;
3
+ exports.CancelRotateSecretCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class CancelRotateSecretCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateSecretCommand = void 0;
3
+ exports.CreateSecretCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateSecretCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteResourcePolicyCommand = void 0;
3
+ exports.DeleteResourcePolicyCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DeleteResourcePolicyCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteSecretCommand = void 0;
3
+ exports.DeleteSecretCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DeleteSecretCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeSecretCommand = void 0;
3
+ exports.DescribeSecretCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DescribeSecretCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetRandomPasswordCommand = void 0;
3
+ exports.GetRandomPasswordCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetRandomPasswordCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetResourcePolicyCommand = void 0;
3
+ exports.GetResourcePolicyCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class GetResourcePolicyCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSecretValueCommand = void 0;
3
+ exports.GetSecretValueCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetSecretValueCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListSecretVersionIdsCommand = void 0;
3
+ exports.ListSecretVersionIdsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListSecretVersionIdsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListSecretsCommand = void 0;
3
+ exports.ListSecretsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListSecretsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutResourcePolicyCommand = void 0;
3
+ exports.PutResourcePolicyCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class PutResourcePolicyCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutSecretValueCommand = void 0;
3
+ exports.PutSecretValueCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class PutSecretValueCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemoveRegionsFromReplicationCommand = void 0;
3
+ exports.RemoveRegionsFromReplicationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class RemoveRegionsFromReplicationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicateSecretToRegionsCommand = void 0;
3
+ exports.ReplicateSecretToRegionsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ReplicateSecretToRegionsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RestoreSecretCommand = void 0;
3
+ exports.RestoreSecretCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class RestoreSecretCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RotateSecretCommand = void 0;
3
+ exports.RotateSecretCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class RotateSecretCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopReplicationToReplicaCommand = void 0;
3
+ exports.StopReplicationToReplicaCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class StopReplicationToReplicaCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = void 0;
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class TagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = void 0;
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class UntagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateSecretCommand = void 0;
3
+ exports.UpdateSecretCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class UpdateSecretCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateSecretVersionStageCommand = void 0;
3
+ exports.UpdateSecretVersionStageCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class UpdateSecretVersionStageCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidateResourcePolicyCommand = void 0;
3
+ exports.ValidateResourcePolicyCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ValidateResourcePolicyCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SecretsManagerServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./SecretsManager"), exports);
6
5
  tslib_1.__exportStar(require("./SecretsManagerClient"), exports);
6
+ tslib_1.__exportStar(require("./SecretsManager"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
10
  var SecretsManagerServiceException_1 = require("./models/SecretsManagerServiceException");
11
11
  Object.defineProperty(exports, "SecretsManagerServiceException", { enumerable: true, get: function () { return SecretsManagerServiceException_1.SecretsManagerServiceException; } });
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SecretsManagerServiceException = void 0;
3
+ exports.SecretsManagerServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class SecretsManagerServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class SecretsManagerClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CancelRotateSecretCommand, se_CancelRotateSecretCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class CancelRotateSecretCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateSecretRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_CreateSecretCommand, se_CreateSecretCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
6
7
  export class CreateSecretCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DeleteResourcePolicyCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteSecretCommand, se_DeleteSecretCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DeleteSecretCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeSecretCommand, se_DescribeSecretCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DescribeSecretCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetRandomPasswordResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_GetRandomPasswordCommand, se_GetRandomPasswordCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
6
7
  export class GetRandomPasswordCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class GetResourcePolicyCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetSecretValueResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_GetSecretValueCommand, se_GetSecretValueCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
6
7
  export class GetSecretValueCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListSecretVersionIdsCommand, se_ListSecretVersionIdsCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListSecretVersionIdsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListSecretsCommand, se_ListSecretsCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListSecretsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class PutResourcePolicyCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutSecretValueRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_PutSecretValueCommand, se_PutSecretValueCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
6
7
  export class PutSecretValueCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_RemoveRegionsFromReplicationCommand, se_RemoveRegionsFromReplicationCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class RemoveRegionsFromReplicationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ReplicateSecretToRegionsCommand, se_ReplicateSecretToRegionsCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ReplicateSecretToRegionsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_RestoreSecretCommand, se_RestoreSecretCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class RestoreSecretCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_RotateSecretCommand, se_RotateSecretCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class RotateSecretCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_StopReplicationToReplicaCommand, se_StopReplicationToReplicaCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class StopReplicationToReplicaCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class TagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class UntagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateSecretRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_UpdateSecretCommand, se_UpdateSecretCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
6
7
  export class UpdateSecretCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateSecretVersionStageCommand, se_UpdateSecretVersionStageCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class UpdateSecretVersionStageCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ValidateResourcePolicyCommand, se_ValidateResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ValidateResourcePolicyCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./SecretsManager";
2
1
  export * from "./SecretsManagerClient";
2
+ export * from "./SecretsManager";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { SecretsManagerServiceException } from "./models/SecretsManagerServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class SecretsManagerServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -31,6 +31,7 @@ import { UpdateSecretCommandInput, UpdateSecretCommandOutput } from "./commands/
31
31
  import { UpdateSecretVersionStageCommandInput, UpdateSecretVersionStageCommandOutput } from "./commands/UpdateSecretVersionStageCommand";
32
32
  import { ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput } from "./commands/ValidateResourcePolicyCommand";
33
33
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
34
+ export { __Client };
34
35
  /**
35
36
  * @public
36
37
  */
@@ -145,7 +146,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
145
146
  /**
146
147
  * @public
147
148
  */
148
- type SecretsManagerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
149
+ export type SecretsManagerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
149
150
  /**
150
151
  * @public
151
152
  *
@@ -156,7 +157,7 @@ export interface SecretsManagerClientConfig extends SecretsManagerClientConfigTy
156
157
  /**
157
158
  * @public
158
159
  */
159
- type SecretsManagerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
160
+ export type SecretsManagerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
160
161
  /**
161
162
  * @public
162
163
  *
@@ -206,4 +207,3 @@ export declare class SecretsManagerClient extends __Client<__HttpHandlerOptions,
206
207
  */
207
208
  destroy(): void;
208
209
  }
209
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CancelRotateSecretRequest, CancelRotateSecretResponse } from "../models/models_0";
5
5
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *