@aws-sdk/client-secrets-manager 3.337.0 → 3.338.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
@@ -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 { CreateSecretRequest, CreateSecretResponse } 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
  *
@@ -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 { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } 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
  *
@@ -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 { DeleteSecretRequest, DeleteSecretResponse } 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
  *
@@ -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 { DescribeSecretRequest, DescribeSecretResponse } 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
  *
@@ -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 { GetRandomPasswordRequest, GetRandomPasswordResponse } 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
  *
@@ -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 { GetResourcePolicyRequest, GetResourcePolicyResponse } 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
  *
@@ -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 { GetSecretValueRequest, GetSecretValueResponse } 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
  *
@@ -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 { ListSecretVersionIdsRequest, ListSecretVersionIdsResponse } 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
  *
@@ -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 { ListSecretsRequest, ListSecretsResponse } 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
  *
@@ -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 { PutResourcePolicyRequest, PutResourcePolicyResponse } 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
  *
@@ -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 { PutSecretValueRequest, PutSecretValueResponse } 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
  *
@@ -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 { RemoveRegionsFromReplicationRequest, RemoveRegionsFromReplicationResponse } 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
  *
@@ -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 { ReplicateSecretToRegionsRequest, ReplicateSecretToRegionsResponse } 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
  *
@@ -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 { RestoreSecretRequest, RestoreSecretResponse } 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
  *
@@ -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 { RotateSecretRequest, RotateSecretResponse } 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
  *
@@ -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 { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } 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
  *
@@ -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 { TagResourceRequest } 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
  *
@@ -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 { UntagResourceRequest } 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
  *
@@ -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 { UpdateSecretRequest, UpdateSecretResponse } 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
  *
@@ -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 { UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse } 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
  *
@@ -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 { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } 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
  *
@@ -1,6 +1,36 @@
1
- export * from "./SecretsManager";
1
+ /**
2
+ * <fullname>Amazon Web Services Secrets Manager</fullname>
3
+ * <p>Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.</p>
4
+ * <p>This guide provides descriptions of the Secrets Manager API. For more information about using this
5
+ * service, see the <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/introduction.html">Amazon Web Services Secrets Manager User Guide</a>.</p>
6
+ * <p>
7
+ * <b>API Version</b>
8
+ * </p>
9
+ * <p>This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.</p>
10
+ * <p>For a list of endpoints, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/asm_access.html#endpoints">Amazon Web Services Secrets Manager
11
+ * endpoints</a>.</p>
12
+ * <p>
13
+ * <b>Support and Feedback for Amazon Web Services Secrets Manager</b>
14
+ * </p>
15
+ * <p>We welcome your feedback. Send your comments to <a href="mailto:awssecretsmanager-feedback@amazon.com">awssecretsmanager-feedback@amazon.com</a>, or post your feedback and questions in the <a href="http://forums.aws.amazon.com/forum.jspa?forumID=296">Amazon Web Services Secrets Manager Discussion Forum</a>. For more
16
+ * information about the Amazon Web Services Discussion Forums, see <a href="http://forums.aws.amazon.com/help.jspa">Forums
17
+ * Help</a>.</p>
18
+ * <p>
19
+ * <b>Logging API Requests</b>
20
+ * </p>
21
+ * <p>Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services
22
+ * account and delivers log files to an Amazon S3 bucket. By using information that's collected
23
+ * by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the
24
+ * request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services
25
+ * CloudTrail, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring.html#monitoring_cloudtrail">Logging
26
+ * Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Secrets Manager User Guide</i>.
27
+ * To learn more about CloudTrail, including enabling it and find your log files, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">Amazon Web Services CloudTrail User Guide</a>.</p>
28
+ *
29
+ * @packageDocumentation
30
+ */
2
31
  export * from "./SecretsManagerClient";
32
+ export * from "./SecretsManager";
3
33
  export * from "./commands";
4
- export * from "./models";
5
34
  export * from "./pagination";
35
+ export * from "./models";
6
36
  export { SecretsManagerServiceException } from "./models/SecretsManagerServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -139,6 +139,7 @@ import {
139
139
  ClientResolvedEndpointParameters,
140
140
  EndpointParameters,
141
141
  } from "./endpoint/EndpointParameters";
142
+ export { __Client };
142
143
  export type ServiceInputTypes =
143
144
  | CancelRotateSecretCommandInput
144
145
  | CreateSecretCommandInput
@@ -209,7 +210,7 @@ export interface ClientDefaults
209
210
  logger?: __Logger;
210
211
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
211
212
  }
212
- type SecretsManagerClientConfigType = Partial<
213
+ export type SecretsManagerClientConfigType = Partial<
213
214
  __SmithyConfiguration<__HttpHandlerOptions>
214
215
  > &
215
216
  ClientDefaults &
@@ -222,7 +223,7 @@ type SecretsManagerClientConfigType = Partial<
222
223
  ClientInputEndpointParameters;
223
224
  export interface SecretsManagerClientConfig
224
225
  extends SecretsManagerClientConfigType {}
225
- type SecretsManagerClientResolvedConfigType =
226
+ export type SecretsManagerClientResolvedConfigType =
226
227
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
227
228
  Required<ClientDefaults> &
228
229
  RegionResolvedConfig &
@@ -244,4 +245,3 @@ export declare class SecretsManagerClient extends __Client<
244
245
  constructor(configuration: SecretsManagerClientConfig);
245
246
  destroy(): void;
246
247
  }
247
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CancelRotateSecretCommandInput
19
20
  extends CancelRotateSecretRequest {}
20
21
  export interface CancelRotateSecretCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SecretsManagerClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface CreateSecretCommandInput extends CreateSecretRequest {}
16
17
  export interface CreateSecretCommandOutput
17
18
  extends CreateSecretResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteResourcePolicyCommandInput
19
20
  extends DeleteResourcePolicyRequest {}
20
21
  export interface DeleteResourcePolicyCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SecretsManagerClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DeleteSecretCommandInput extends DeleteSecretRequest {}
16
17
  export interface DeleteSecretCommandOutput
17
18
  extends DeleteSecretResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeSecretCommandInput extends DescribeSecretRequest {}
19
20
  export interface DescribeSecretCommandOutput
20
21
  extends DescribeSecretResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetRandomPasswordCommandInput
19
20
  extends GetRandomPasswordRequest {}
20
21
  export interface GetRandomPasswordCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetResourcePolicyCommandInput
19
20
  extends GetResourcePolicyRequest {}
20
21
  export interface GetResourcePolicyCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetSecretValueCommandInput extends GetSecretValueRequest {}
19
20
  export interface GetSecretValueCommandOutput
20
21
  extends GetSecretValueResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListSecretVersionIdsCommandInput
19
20
  extends ListSecretVersionIdsRequest {}
20
21
  export interface ListSecretVersionIdsCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SecretsManagerClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface ListSecretsCommandInput extends ListSecretsRequest {}
16
17
  export interface ListSecretsCommandOutput
17
18
  extends ListSecretsResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface PutResourcePolicyCommandInput
19
20
  extends PutResourcePolicyRequest {}
20
21
  export interface PutResourcePolicyCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface PutSecretValueCommandInput extends PutSecretValueRequest {}
19
20
  export interface PutSecretValueCommandOutput
20
21
  extends PutSecretValueResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface RemoveRegionsFromReplicationCommandInput
19
20
  extends RemoveRegionsFromReplicationRequest {}
20
21
  export interface RemoveRegionsFromReplicationCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ReplicateSecretToRegionsCommandInput
19
20
  extends ReplicateSecretToRegionsRequest {}
20
21
  export interface ReplicateSecretToRegionsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface RestoreSecretCommandInput extends RestoreSecretRequest {}
19
20
  export interface RestoreSecretCommandOutput
20
21
  extends RestoreSecretResponse,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SecretsManagerClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface RotateSecretCommandInput extends RotateSecretRequest {}
16
17
  export interface RotateSecretCommandOutput
17
18
  extends RotateSecretResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface StopReplicationToReplicaCommandInput
19
20
  extends StopReplicationToReplicaRequest {}
20
21
  export interface StopReplicationToReplicaCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SecretsManagerClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface TagResourceCommandInput extends TagResourceRequest {}
16
17
  export interface TagResourceCommandOutput extends __MetadataBearer {}
17
18
  export declare class TagResourceCommand extends $Command<
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SecretsManagerClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
16
17
  export interface UntagResourceCommandOutput extends __MetadataBearer {}
17
18
  export declare class UntagResourceCommand extends $Command<
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SecretsManagerClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface UpdateSecretCommandInput extends UpdateSecretRequest {}
16
17
  export interface UpdateSecretCommandOutput
17
18
  extends UpdateSecretResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateSecretVersionStageCommandInput
19
20
  extends UpdateSecretVersionStageRequest {}
20
21
  export interface UpdateSecretVersionStageCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SecretsManagerClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ValidateResourcePolicyCommandInput
19
20
  extends ValidateResourcePolicyRequest {}
20
21
  export interface ValidateResourcePolicyCommandOutput
@@ -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";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class SecretsManagerServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-secrets-manager",
3
3
  "description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
4
- "version": "3.337.0",
4
+ "version": "3.338.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.337.0",
25
- "@aws-sdk/config-resolver": "3.337.0",
26
- "@aws-sdk/credential-provider-node": "3.337.0",
27
- "@aws-sdk/fetch-http-handler": "3.337.0",
28
- "@aws-sdk/hash-node": "3.337.0",
29
- "@aws-sdk/invalid-dependency": "3.337.0",
30
- "@aws-sdk/middleware-content-length": "3.337.0",
31
- "@aws-sdk/middleware-endpoint": "3.337.0",
32
- "@aws-sdk/middleware-host-header": "3.337.0",
33
- "@aws-sdk/middleware-logger": "3.337.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.337.0",
35
- "@aws-sdk/middleware-retry": "3.337.0",
36
- "@aws-sdk/middleware-serde": "3.337.0",
37
- "@aws-sdk/middleware-signing": "3.337.0",
38
- "@aws-sdk/middleware-stack": "3.337.0",
39
- "@aws-sdk/middleware-user-agent": "3.337.0",
40
- "@aws-sdk/node-config-provider": "3.337.0",
41
- "@aws-sdk/node-http-handler": "3.337.0",
42
- "@aws-sdk/smithy-client": "3.337.0",
43
- "@aws-sdk/types": "3.337.0",
44
- "@aws-sdk/url-parser": "3.337.0",
24
+ "@aws-sdk/client-sts": "3.338.0",
25
+ "@aws-sdk/config-resolver": "3.338.0",
26
+ "@aws-sdk/credential-provider-node": "3.338.0",
27
+ "@aws-sdk/fetch-http-handler": "3.338.0",
28
+ "@aws-sdk/hash-node": "3.338.0",
29
+ "@aws-sdk/invalid-dependency": "3.338.0",
30
+ "@aws-sdk/middleware-content-length": "3.338.0",
31
+ "@aws-sdk/middleware-endpoint": "3.338.0",
32
+ "@aws-sdk/middleware-host-header": "3.338.0",
33
+ "@aws-sdk/middleware-logger": "3.338.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.338.0",
35
+ "@aws-sdk/middleware-retry": "3.338.0",
36
+ "@aws-sdk/middleware-serde": "3.338.0",
37
+ "@aws-sdk/middleware-signing": "3.338.0",
38
+ "@aws-sdk/middleware-stack": "3.338.0",
39
+ "@aws-sdk/middleware-user-agent": "3.338.0",
40
+ "@aws-sdk/node-config-provider": "3.338.0",
41
+ "@aws-sdk/node-http-handler": "3.338.0",
42
+ "@aws-sdk/smithy-client": "3.338.0",
43
+ "@aws-sdk/types": "3.338.0",
44
+ "@aws-sdk/url-parser": "3.338.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.337.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.337.0",
50
- "@aws-sdk/util-endpoints": "3.337.0",
51
- "@aws-sdk/util-retry": "3.337.0",
52
- "@aws-sdk/util-user-agent-browser": "3.337.0",
53
- "@aws-sdk/util-user-agent-node": "3.337.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.338.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.338.0",
50
+ "@aws-sdk/util-endpoints": "3.338.0",
51
+ "@aws-sdk/util-retry": "3.338.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.338.0",
53
+ "@aws-sdk/util-user-agent-node": "3.338.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",