@aws-sdk/client-secrets-manager 3.490.0 → 3.491.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.
|
@@ -127,6 +127,58 @@ declare const BatchGetSecretValueCommand_base: {
|
|
|
127
127
|
* @throws {@link SecretsManagerServiceException}
|
|
128
128
|
* <p>Base exception class for all service exceptions from SecretsManager service.</p>
|
|
129
129
|
*
|
|
130
|
+
* @example To retrieve the secret values for a group of secrets listed by name
|
|
131
|
+
* ```javascript
|
|
132
|
+
* // The following example gets the values for three secrets.
|
|
133
|
+
* const input = {
|
|
134
|
+
* "SecretIdList": [
|
|
135
|
+
* "MySecret1",
|
|
136
|
+
* "MySecret2",
|
|
137
|
+
* "MySecret3"
|
|
138
|
+
* ]
|
|
139
|
+
* };
|
|
140
|
+
* const command = new BatchGetSecretValueCommand(input);
|
|
141
|
+
* const response = await client.send(command);
|
|
142
|
+
* /* response ==
|
|
143
|
+
* {
|
|
144
|
+
* "Errors": [],
|
|
145
|
+
* "SecretValues": [
|
|
146
|
+
* {
|
|
147
|
+
* "ARN": "®ion-arn;&asm-service-name;:us-west-2:&ExampleAccountId;:secret:MySecret1-a1b2c3",
|
|
148
|
+
* "CreatedDate": 1700591229.801,
|
|
149
|
+
* "Name": "MySecret1",
|
|
150
|
+
* "SecretString": "{\"username\":\"diego_ramirez\",\"password\":\"EXAMPLE-PASSWORD\",\"engine\":\"mysql\",\"host\":\"secretsmanagertutorial.cluster.us-west-2.rds.amazonaws.com\",\"port\":3306,\"dbClusterIdentifier\":\"secretsmanagertutorial\"}",
|
|
151
|
+
* "VersionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
|
|
152
|
+
* "VersionStages": [
|
|
153
|
+
* "AWSCURRENT"
|
|
154
|
+
* ]
|
|
155
|
+
* },
|
|
156
|
+
* {
|
|
157
|
+
* "ARN": "®ion-arn;&asm-service-name;:us-west-2:&ExampleAccountId;:secret:MySecret2-a1b2c3",
|
|
158
|
+
* "CreatedDate": 1699911394.105,
|
|
159
|
+
* "Name": "MySecret2",
|
|
160
|
+
* "SecretString": "{\"username\":\"akua_mansa\",\"password\":\"EXAMPLE-PASSWORD\"",
|
|
161
|
+
* "VersionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLEbbbbb",
|
|
162
|
+
* "VersionStages": [
|
|
163
|
+
* "AWSCURRENT"
|
|
164
|
+
* ]
|
|
165
|
+
* },
|
|
166
|
+
* {
|
|
167
|
+
* "ARN": "®ion-arn;&asm-service-name;:us-west-2:&ExampleAccountId;:secret:MySecret3-a1b2c3",
|
|
168
|
+
* "CreatedDate": 1699911394.105,
|
|
169
|
+
* "Name": "MySecret3",
|
|
170
|
+
* "SecretString": "{\"username\":\"jie_liu\",\"password\":\"EXAMPLE-PASSWORD\"",
|
|
171
|
+
* "VersionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLEccccc",
|
|
172
|
+
* "VersionStages": [
|
|
173
|
+
* "AWSCURRENT"
|
|
174
|
+
* ]
|
|
175
|
+
* }
|
|
176
|
+
* ]
|
|
177
|
+
* }
|
|
178
|
+
* *\/
|
|
179
|
+
* // example id: to-retrieve-the-secret-values-for-a-group-of-secrets-listed-by-name-1704846593341
|
|
180
|
+
* ```
|
|
181
|
+
*
|
|
130
182
|
*/
|
|
131
183
|
export declare class BatchGetSecretValueCommand extends BatchGetSecretValueCommand_base {
|
|
132
184
|
}
|
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.
|
|
4
|
+
"version": "3.491.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",
|