@aws-sdk/client-secrets-manager 3.315.0 → 3.317.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.
- package/dist-cjs/SecretsManager.js +26 -308
- package/dist-cjs/protocols/Aws_json1_1.js +4 -4
- package/dist-es/SecretsManager.js +26 -308
- package/dist-es/protocols/Aws_json1_1.js +4 -4
- package/dist-types/SecretsManager.d.ts +54 -436
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +29 -0
- package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +8 -8
- package/dist-types/ts3.4/SecretsManager.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SecretsManager = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CancelRotateSecretCommand_1 = require("./commands/CancelRotateSecretCommand");
|
|
5
6
|
const CreateSecretCommand_1 = require("./commands/CreateSecretCommand");
|
|
6
7
|
const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
|
|
@@ -24,314 +25,31 @@ const UpdateSecretCommand_1 = require("./commands/UpdateSecretCommand");
|
|
|
24
25
|
const UpdateSecretVersionStageCommand_1 = require("./commands/UpdateSecretVersionStageCommand");
|
|
25
26
|
const ValidateResourcePolicyCommand_1 = require("./commands/ValidateResourcePolicyCommand");
|
|
26
27
|
const SecretsManagerClient_1 = require("./SecretsManagerClient");
|
|
28
|
+
const commands = {
|
|
29
|
+
CancelRotateSecretCommand: CancelRotateSecretCommand_1.CancelRotateSecretCommand,
|
|
30
|
+
CreateSecretCommand: CreateSecretCommand_1.CreateSecretCommand,
|
|
31
|
+
DeleteResourcePolicyCommand: DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand,
|
|
32
|
+
DeleteSecretCommand: DeleteSecretCommand_1.DeleteSecretCommand,
|
|
33
|
+
DescribeSecretCommand: DescribeSecretCommand_1.DescribeSecretCommand,
|
|
34
|
+
GetRandomPasswordCommand: GetRandomPasswordCommand_1.GetRandomPasswordCommand,
|
|
35
|
+
GetResourcePolicyCommand: GetResourcePolicyCommand_1.GetResourcePolicyCommand,
|
|
36
|
+
GetSecretValueCommand: GetSecretValueCommand_1.GetSecretValueCommand,
|
|
37
|
+
ListSecretsCommand: ListSecretsCommand_1.ListSecretsCommand,
|
|
38
|
+
ListSecretVersionIdsCommand: ListSecretVersionIdsCommand_1.ListSecretVersionIdsCommand,
|
|
39
|
+
PutResourcePolicyCommand: PutResourcePolicyCommand_1.PutResourcePolicyCommand,
|
|
40
|
+
PutSecretValueCommand: PutSecretValueCommand_1.PutSecretValueCommand,
|
|
41
|
+
RemoveRegionsFromReplicationCommand: RemoveRegionsFromReplicationCommand_1.RemoveRegionsFromReplicationCommand,
|
|
42
|
+
ReplicateSecretToRegionsCommand: ReplicateSecretToRegionsCommand_1.ReplicateSecretToRegionsCommand,
|
|
43
|
+
RestoreSecretCommand: RestoreSecretCommand_1.RestoreSecretCommand,
|
|
44
|
+
RotateSecretCommand: RotateSecretCommand_1.RotateSecretCommand,
|
|
45
|
+
StopReplicationToReplicaCommand: StopReplicationToReplicaCommand_1.StopReplicationToReplicaCommand,
|
|
46
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
47
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
48
|
+
UpdateSecretCommand: UpdateSecretCommand_1.UpdateSecretCommand,
|
|
49
|
+
UpdateSecretVersionStageCommand: UpdateSecretVersionStageCommand_1.UpdateSecretVersionStageCommand,
|
|
50
|
+
ValidateResourcePolicyCommand: ValidateResourcePolicyCommand_1.ValidateResourcePolicyCommand,
|
|
51
|
+
};
|
|
27
52
|
class SecretsManager extends SecretsManagerClient_1.SecretsManagerClient {
|
|
28
|
-
cancelRotateSecret(args, optionsOrCb, cb) {
|
|
29
|
-
const command = new CancelRotateSecretCommand_1.CancelRotateSecretCommand(args);
|
|
30
|
-
if (typeof optionsOrCb === "function") {
|
|
31
|
-
this.send(command, optionsOrCb);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof cb === "function") {
|
|
34
|
-
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
36
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
return this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
createSecret(args, optionsOrCb, cb) {
|
|
43
|
-
const command = new CreateSecretCommand_1.CreateSecretCommand(args);
|
|
44
|
-
if (typeof optionsOrCb === "function") {
|
|
45
|
-
this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
else if (typeof cb === "function") {
|
|
48
|
-
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
57
|
-
const command = new DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand(args);
|
|
58
|
-
if (typeof optionsOrCb === "function") {
|
|
59
|
-
this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
else if (typeof cb === "function") {
|
|
62
|
-
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
deleteSecret(args, optionsOrCb, cb) {
|
|
71
|
-
const command = new DeleteSecretCommand_1.DeleteSecretCommand(args);
|
|
72
|
-
if (typeof optionsOrCb === "function") {
|
|
73
|
-
this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
else if (typeof cb === "function") {
|
|
76
|
-
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
describeSecret(args, optionsOrCb, cb) {
|
|
85
|
-
const command = new DescribeSecretCommand_1.DescribeSecretCommand(args);
|
|
86
|
-
if (typeof optionsOrCb === "function") {
|
|
87
|
-
this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
else if (typeof cb === "function") {
|
|
90
|
-
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
getRandomPassword(args, optionsOrCb, cb) {
|
|
99
|
-
const command = new GetRandomPasswordCommand_1.GetRandomPasswordCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
else if (typeof cb === "function") {
|
|
104
|
-
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
return this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
getResourcePolicy(args, optionsOrCb, cb) {
|
|
113
|
-
const command = new GetResourcePolicyCommand_1.GetResourcePolicyCommand(args);
|
|
114
|
-
if (typeof optionsOrCb === "function") {
|
|
115
|
-
this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
else if (typeof cb === "function") {
|
|
118
|
-
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
return this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
getSecretValue(args, optionsOrCb, cb) {
|
|
127
|
-
const command = new GetSecretValueCommand_1.GetSecretValueCommand(args);
|
|
128
|
-
if (typeof optionsOrCb === "function") {
|
|
129
|
-
this.send(command, optionsOrCb);
|
|
130
|
-
}
|
|
131
|
-
else if (typeof cb === "function") {
|
|
132
|
-
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
return this.send(command, optionsOrCb);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
listSecrets(args, optionsOrCb, cb) {
|
|
141
|
-
const command = new ListSecretsCommand_1.ListSecretsCommand(args);
|
|
142
|
-
if (typeof optionsOrCb === "function") {
|
|
143
|
-
this.send(command, optionsOrCb);
|
|
144
|
-
}
|
|
145
|
-
else if (typeof cb === "function") {
|
|
146
|
-
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
return this.send(command, optionsOrCb);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
listSecretVersionIds(args, optionsOrCb, cb) {
|
|
155
|
-
const command = new ListSecretVersionIdsCommand_1.ListSecretVersionIdsCommand(args);
|
|
156
|
-
if (typeof optionsOrCb === "function") {
|
|
157
|
-
this.send(command, optionsOrCb);
|
|
158
|
-
}
|
|
159
|
-
else if (typeof cb === "function") {
|
|
160
|
-
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
return this.send(command, optionsOrCb);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
putResourcePolicy(args, optionsOrCb, cb) {
|
|
169
|
-
const command = new PutResourcePolicyCommand_1.PutResourcePolicyCommand(args);
|
|
170
|
-
if (typeof optionsOrCb === "function") {
|
|
171
|
-
this.send(command, optionsOrCb);
|
|
172
|
-
}
|
|
173
|
-
else if (typeof cb === "function") {
|
|
174
|
-
if (typeof optionsOrCb !== "object")
|
|
175
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
176
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
return this.send(command, optionsOrCb);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
putSecretValue(args, optionsOrCb, cb) {
|
|
183
|
-
const command = new PutSecretValueCommand_1.PutSecretValueCommand(args);
|
|
184
|
-
if (typeof optionsOrCb === "function") {
|
|
185
|
-
this.send(command, optionsOrCb);
|
|
186
|
-
}
|
|
187
|
-
else if (typeof cb === "function") {
|
|
188
|
-
if (typeof optionsOrCb !== "object")
|
|
189
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
return this.send(command, optionsOrCb);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
removeRegionsFromReplication(args, optionsOrCb, cb) {
|
|
197
|
-
const command = new RemoveRegionsFromReplicationCommand_1.RemoveRegionsFromReplicationCommand(args);
|
|
198
|
-
if (typeof optionsOrCb === "function") {
|
|
199
|
-
this.send(command, optionsOrCb);
|
|
200
|
-
}
|
|
201
|
-
else if (typeof cb === "function") {
|
|
202
|
-
if (typeof optionsOrCb !== "object")
|
|
203
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
204
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
205
|
-
}
|
|
206
|
-
else {
|
|
207
|
-
return this.send(command, optionsOrCb);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
replicateSecretToRegions(args, optionsOrCb, cb) {
|
|
211
|
-
const command = new ReplicateSecretToRegionsCommand_1.ReplicateSecretToRegionsCommand(args);
|
|
212
|
-
if (typeof optionsOrCb === "function") {
|
|
213
|
-
this.send(command, optionsOrCb);
|
|
214
|
-
}
|
|
215
|
-
else if (typeof cb === "function") {
|
|
216
|
-
if (typeof optionsOrCb !== "object")
|
|
217
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
218
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
219
|
-
}
|
|
220
|
-
else {
|
|
221
|
-
return this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
restoreSecret(args, optionsOrCb, cb) {
|
|
225
|
-
const command = new RestoreSecretCommand_1.RestoreSecretCommand(args);
|
|
226
|
-
if (typeof optionsOrCb === "function") {
|
|
227
|
-
this.send(command, optionsOrCb);
|
|
228
|
-
}
|
|
229
|
-
else if (typeof cb === "function") {
|
|
230
|
-
if (typeof optionsOrCb !== "object")
|
|
231
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
232
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
233
|
-
}
|
|
234
|
-
else {
|
|
235
|
-
return this.send(command, optionsOrCb);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
rotateSecret(args, optionsOrCb, cb) {
|
|
239
|
-
const command = new RotateSecretCommand_1.RotateSecretCommand(args);
|
|
240
|
-
if (typeof optionsOrCb === "function") {
|
|
241
|
-
this.send(command, optionsOrCb);
|
|
242
|
-
}
|
|
243
|
-
else if (typeof cb === "function") {
|
|
244
|
-
if (typeof optionsOrCb !== "object")
|
|
245
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
246
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
247
|
-
}
|
|
248
|
-
else {
|
|
249
|
-
return this.send(command, optionsOrCb);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
stopReplicationToReplica(args, optionsOrCb, cb) {
|
|
253
|
-
const command = new StopReplicationToReplicaCommand_1.StopReplicationToReplicaCommand(args);
|
|
254
|
-
if (typeof optionsOrCb === "function") {
|
|
255
|
-
this.send(command, optionsOrCb);
|
|
256
|
-
}
|
|
257
|
-
else if (typeof cb === "function") {
|
|
258
|
-
if (typeof optionsOrCb !== "object")
|
|
259
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
261
|
-
}
|
|
262
|
-
else {
|
|
263
|
-
return this.send(command, optionsOrCb);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
tagResource(args, optionsOrCb, cb) {
|
|
267
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
268
|
-
if (typeof optionsOrCb === "function") {
|
|
269
|
-
this.send(command, optionsOrCb);
|
|
270
|
-
}
|
|
271
|
-
else if (typeof cb === "function") {
|
|
272
|
-
if (typeof optionsOrCb !== "object")
|
|
273
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
274
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
275
|
-
}
|
|
276
|
-
else {
|
|
277
|
-
return this.send(command, optionsOrCb);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
untagResource(args, optionsOrCb, cb) {
|
|
281
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
282
|
-
if (typeof optionsOrCb === "function") {
|
|
283
|
-
this.send(command, optionsOrCb);
|
|
284
|
-
}
|
|
285
|
-
else if (typeof cb === "function") {
|
|
286
|
-
if (typeof optionsOrCb !== "object")
|
|
287
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
289
|
-
}
|
|
290
|
-
else {
|
|
291
|
-
return this.send(command, optionsOrCb);
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
updateSecret(args, optionsOrCb, cb) {
|
|
295
|
-
const command = new UpdateSecretCommand_1.UpdateSecretCommand(args);
|
|
296
|
-
if (typeof optionsOrCb === "function") {
|
|
297
|
-
this.send(command, optionsOrCb);
|
|
298
|
-
}
|
|
299
|
-
else if (typeof cb === "function") {
|
|
300
|
-
if (typeof optionsOrCb !== "object")
|
|
301
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
302
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
303
|
-
}
|
|
304
|
-
else {
|
|
305
|
-
return this.send(command, optionsOrCb);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
updateSecretVersionStage(args, optionsOrCb, cb) {
|
|
309
|
-
const command = new UpdateSecretVersionStageCommand_1.UpdateSecretVersionStageCommand(args);
|
|
310
|
-
if (typeof optionsOrCb === "function") {
|
|
311
|
-
this.send(command, optionsOrCb);
|
|
312
|
-
}
|
|
313
|
-
else if (typeof cb === "function") {
|
|
314
|
-
if (typeof optionsOrCb !== "object")
|
|
315
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
316
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
317
|
-
}
|
|
318
|
-
else {
|
|
319
|
-
return this.send(command, optionsOrCb);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
validateResourcePolicy(args, optionsOrCb, cb) {
|
|
323
|
-
const command = new ValidateResourcePolicyCommand_1.ValidateResourcePolicyCommand(args);
|
|
324
|
-
if (typeof optionsOrCb === "function") {
|
|
325
|
-
this.send(command, optionsOrCb);
|
|
326
|
-
}
|
|
327
|
-
else if (typeof cb === "function") {
|
|
328
|
-
if (typeof optionsOrCb !== "object")
|
|
329
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
330
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
331
|
-
}
|
|
332
|
-
else {
|
|
333
|
-
return this.send(command, optionsOrCb);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
53
|
}
|
|
337
54
|
exports.SecretsManager = SecretsManager;
|
|
55
|
+
(0, smithy_client_1.createAggregatedClient)(commands, SecretsManager);
|
|
@@ -1243,7 +1243,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1243
1243
|
const se_CreateSecretRequest = (input, context) => {
|
|
1244
1244
|
return (0, smithy_client_1.take)(input, {
|
|
1245
1245
|
AddReplicaRegions: smithy_client_1._json,
|
|
1246
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1246
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1247
1247
|
Description: [],
|
|
1248
1248
|
ForceOverwriteReplicaSecret: [],
|
|
1249
1249
|
KmsKeyId: [],
|
|
@@ -1255,7 +1255,7 @@ const se_CreateSecretRequest = (input, context) => {
|
|
|
1255
1255
|
};
|
|
1256
1256
|
const se_PutSecretValueRequest = (input, context) => {
|
|
1257
1257
|
return (0, smithy_client_1.take)(input, {
|
|
1258
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1258
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1259
1259
|
SecretBinary: context.base64Encoder,
|
|
1260
1260
|
SecretId: [],
|
|
1261
1261
|
SecretString: [],
|
|
@@ -1264,7 +1264,7 @@ const se_PutSecretValueRequest = (input, context) => {
|
|
|
1264
1264
|
};
|
|
1265
1265
|
const se_RotateSecretRequest = (input, context) => {
|
|
1266
1266
|
return (0, smithy_client_1.take)(input, {
|
|
1267
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1267
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1268
1268
|
RotateImmediately: [],
|
|
1269
1269
|
RotationLambdaARN: [],
|
|
1270
1270
|
RotationRules: smithy_client_1._json,
|
|
@@ -1273,7 +1273,7 @@ const se_RotateSecretRequest = (input, context) => {
|
|
|
1273
1273
|
};
|
|
1274
1274
|
const se_UpdateSecretRequest = (input, context) => {
|
|
1275
1275
|
return (0, smithy_client_1.take)(input, {
|
|
1276
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1276
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1277
1277
|
Description: [],
|
|
1278
1278
|
KmsKeyId: [],
|
|
1279
1279
|
SecretBinary: context.base64Encoder,
|