1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2017-10-17",
|
5 | "endpointPrefix": "secretsmanager",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "json",
|
8 | "serviceFullName": "AWS Secrets Manager",
|
9 | "serviceId": "Secrets Manager",
|
10 | "signatureVersion": "v4",
|
11 | "signingName": "secretsmanager",
|
12 | "targetPrefix": "secretsmanager",
|
13 | "uid": "secretsmanager-2017-10-17"
|
14 | },
|
15 | "operations": {
|
16 | "CancelRotateSecret": {
|
17 | "input": {
|
18 | "type": "structure",
|
19 | "required": [
|
20 | "SecretId"
|
21 | ],
|
22 | "members": {
|
23 | "SecretId": {}
|
24 | }
|
25 | },
|
26 | "output": {
|
27 | "type": "structure",
|
28 | "members": {
|
29 | "ARN": {},
|
30 | "Name": {},
|
31 | "VersionId": {}
|
32 | }
|
33 | }
|
34 | },
|
35 | "CreateSecret": {
|
36 | "input": {
|
37 | "type": "structure",
|
38 | "required": [
|
39 | "Name"
|
40 | ],
|
41 | "members": {
|
42 | "Name": {},
|
43 | "ClientRequestToken": {
|
44 | "idempotencyToken": true
|
45 | },
|
46 | "Description": {},
|
47 | "KmsKeyId": {},
|
48 | "SecretBinary": {
|
49 | "shape": "Sc"
|
50 | },
|
51 | "SecretString": {
|
52 | "shape": "Sd"
|
53 | },
|
54 | "Tags": {
|
55 | "shape": "Se"
|
56 | }
|
57 | }
|
58 | },
|
59 | "output": {
|
60 | "type": "structure",
|
61 | "members": {
|
62 | "ARN": {},
|
63 | "Name": {},
|
64 | "VersionId": {}
|
65 | }
|
66 | }
|
67 | },
|
68 | "DeleteResourcePolicy": {
|
69 | "input": {
|
70 | "type": "structure",
|
71 | "required": [
|
72 | "SecretId"
|
73 | ],
|
74 | "members": {
|
75 | "SecretId": {}
|
76 | }
|
77 | },
|
78 | "output": {
|
79 | "type": "structure",
|
80 | "members": {
|
81 | "ARN": {},
|
82 | "Name": {}
|
83 | }
|
84 | }
|
85 | },
|
86 | "DeleteSecret": {
|
87 | "input": {
|
88 | "type": "structure",
|
89 | "required": [
|
90 | "SecretId"
|
91 | ],
|
92 | "members": {
|
93 | "SecretId": {},
|
94 | "RecoveryWindowInDays": {
|
95 | "type": "long"
|
96 | },
|
97 | "ForceDeleteWithoutRecovery": {
|
98 | "type": "boolean"
|
99 | }
|
100 | }
|
101 | },
|
102 | "output": {
|
103 | "type": "structure",
|
104 | "members": {
|
105 | "ARN": {},
|
106 | "Name": {},
|
107 | "DeletionDate": {
|
108 | "type": "timestamp"
|
109 | }
|
110 | }
|
111 | }
|
112 | },
|
113 | "DescribeSecret": {
|
114 | "input": {
|
115 | "type": "structure",
|
116 | "required": [
|
117 | "SecretId"
|
118 | ],
|
119 | "members": {
|
120 | "SecretId": {}
|
121 | }
|
122 | },
|
123 | "output": {
|
124 | "type": "structure",
|
125 | "members": {
|
126 | "ARN": {},
|
127 | "Name": {},
|
128 | "Description": {},
|
129 | "KmsKeyId": {},
|
130 | "RotationEnabled": {
|
131 | "type": "boolean"
|
132 | },
|
133 | "RotationLambdaARN": {},
|
134 | "RotationRules": {
|
135 | "shape": "Su"
|
136 | },
|
137 | "LastRotatedDate": {
|
138 | "type": "timestamp"
|
139 | },
|
140 | "LastChangedDate": {
|
141 | "type": "timestamp"
|
142 | },
|
143 | "LastAccessedDate": {
|
144 | "type": "timestamp"
|
145 | },
|
146 | "DeletedDate": {
|
147 | "type": "timestamp"
|
148 | },
|
149 | "Tags": {
|
150 | "shape": "Se"
|
151 | },
|
152 | "VersionIdsToStages": {
|
153 | "shape": "S10"
|
154 | }
|
155 | }
|
156 | }
|
157 | },
|
158 | "GetRandomPassword": {
|
159 | "input": {
|
160 | "type": "structure",
|
161 | "members": {
|
162 | "PasswordLength": {
|
163 | "type": "long"
|
164 | },
|
165 | "ExcludeCharacters": {},
|
166 | "ExcludeNumbers": {
|
167 | "type": "boolean"
|
168 | },
|
169 | "ExcludePunctuation": {
|
170 | "type": "boolean"
|
171 | },
|
172 | "ExcludeUppercase": {
|
173 | "type": "boolean"
|
174 | },
|
175 | "ExcludeLowercase": {
|
176 | "type": "boolean"
|
177 | },
|
178 | "IncludeSpace": {
|
179 | "type": "boolean"
|
180 | },
|
181 | "RequireEachIncludedType": {
|
182 | "type": "boolean"
|
183 | }
|
184 | }
|
185 | },
|
186 | "output": {
|
187 | "type": "structure",
|
188 | "members": {
|
189 | "RandomPassword": {}
|
190 | }
|
191 | }
|
192 | },
|
193 | "GetResourcePolicy": {
|
194 | "input": {
|
195 | "type": "structure",
|
196 | "required": [
|
197 | "SecretId"
|
198 | ],
|
199 | "members": {
|
200 | "SecretId": {}
|
201 | }
|
202 | },
|
203 | "output": {
|
204 | "type": "structure",
|
205 | "members": {
|
206 | "ARN": {},
|
207 | "Name": {},
|
208 | "ResourcePolicy": {}
|
209 | }
|
210 | }
|
211 | },
|
212 | "GetSecretValue": {
|
213 | "input": {
|
214 | "type": "structure",
|
215 | "required": [
|
216 | "SecretId"
|
217 | ],
|
218 | "members": {
|
219 | "SecretId": {},
|
220 | "VersionId": {},
|
221 | "VersionStage": {}
|
222 | }
|
223 | },
|
224 | "output": {
|
225 | "type": "structure",
|
226 | "members": {
|
227 | "ARN": {},
|
228 | "Name": {},
|
229 | "VersionId": {},
|
230 | "SecretBinary": {
|
231 | "shape": "Sc"
|
232 | },
|
233 | "SecretString": {
|
234 | "shape": "Sd"
|
235 | },
|
236 | "VersionStages": {
|
237 | "shape": "S11"
|
238 | },
|
239 | "CreatedDate": {
|
240 | "type": "timestamp"
|
241 | }
|
242 | }
|
243 | }
|
244 | },
|
245 | "ListSecretVersionIds": {
|
246 | "input": {
|
247 | "type": "structure",
|
248 | "required": [
|
249 | "SecretId"
|
250 | ],
|
251 | "members": {
|
252 | "SecretId": {},
|
253 | "MaxResults": {
|
254 | "type": "integer"
|
255 | },
|
256 | "NextToken": {},
|
257 | "IncludeDeprecated": {
|
258 | "type": "boolean"
|
259 | }
|
260 | }
|
261 | },
|
262 | "output": {
|
263 | "type": "structure",
|
264 | "members": {
|
265 | "Versions": {
|
266 | "type": "list",
|
267 | "member": {
|
268 | "type": "structure",
|
269 | "members": {
|
270 | "VersionId": {},
|
271 | "VersionStages": {
|
272 | "shape": "S11"
|
273 | },
|
274 | "LastAccessedDate": {
|
275 | "type": "timestamp"
|
276 | },
|
277 | "CreatedDate": {
|
278 | "type": "timestamp"
|
279 | }
|
280 | }
|
281 | }
|
282 | },
|
283 | "NextToken": {},
|
284 | "ARN": {},
|
285 | "Name": {}
|
286 | }
|
287 | }
|
288 | },
|
289 | "ListSecrets": {
|
290 | "input": {
|
291 | "type": "structure",
|
292 | "members": {
|
293 | "MaxResults": {
|
294 | "type": "integer"
|
295 | },
|
296 | "NextToken": {}
|
297 | }
|
298 | },
|
299 | "output": {
|
300 | "type": "structure",
|
301 | "members": {
|
302 | "SecretList": {
|
303 | "type": "list",
|
304 | "member": {
|
305 | "type": "structure",
|
306 | "members": {
|
307 | "ARN": {},
|
308 | "Name": {},
|
309 | "Description": {},
|
310 | "KmsKeyId": {},
|
311 | "RotationEnabled": {
|
312 | "type": "boolean"
|
313 | },
|
314 | "RotationLambdaARN": {},
|
315 | "RotationRules": {
|
316 | "shape": "Su"
|
317 | },
|
318 | "LastRotatedDate": {
|
319 | "type": "timestamp"
|
320 | },
|
321 | "LastChangedDate": {
|
322 | "type": "timestamp"
|
323 | },
|
324 | "LastAccessedDate": {
|
325 | "type": "timestamp"
|
326 | },
|
327 | "DeletedDate": {
|
328 | "type": "timestamp"
|
329 | },
|
330 | "Tags": {
|
331 | "shape": "Se"
|
332 | },
|
333 | "SecretVersionsToStages": {
|
334 | "shape": "S10"
|
335 | }
|
336 | }
|
337 | }
|
338 | },
|
339 | "NextToken": {}
|
340 | }
|
341 | }
|
342 | },
|
343 | "PutResourcePolicy": {
|
344 | "input": {
|
345 | "type": "structure",
|
346 | "required": [
|
347 | "SecretId",
|
348 | "ResourcePolicy"
|
349 | ],
|
350 | "members": {
|
351 | "SecretId": {},
|
352 | "ResourcePolicy": {}
|
353 | }
|
354 | },
|
355 | "output": {
|
356 | "type": "structure",
|
357 | "members": {
|
358 | "ARN": {},
|
359 | "Name": {}
|
360 | }
|
361 | }
|
362 | },
|
363 | "PutSecretValue": {
|
364 | "input": {
|
365 | "type": "structure",
|
366 | "required": [
|
367 | "SecretId"
|
368 | ],
|
369 | "members": {
|
370 | "SecretId": {},
|
371 | "ClientRequestToken": {
|
372 | "idempotencyToken": true
|
373 | },
|
374 | "SecretBinary": {
|
375 | "shape": "Sc"
|
376 | },
|
377 | "SecretString": {
|
378 | "shape": "Sd"
|
379 | },
|
380 | "VersionStages": {
|
381 | "shape": "S11"
|
382 | }
|
383 | }
|
384 | },
|
385 | "output": {
|
386 | "type": "structure",
|
387 | "members": {
|
388 | "ARN": {},
|
389 | "Name": {},
|
390 | "VersionId": {},
|
391 | "VersionStages": {
|
392 | "shape": "S11"
|
393 | }
|
394 | }
|
395 | }
|
396 | },
|
397 | "RestoreSecret": {
|
398 | "input": {
|
399 | "type": "structure",
|
400 | "required": [
|
401 | "SecretId"
|
402 | ],
|
403 | "members": {
|
404 | "SecretId": {}
|
405 | }
|
406 | },
|
407 | "output": {
|
408 | "type": "structure",
|
409 | "members": {
|
410 | "ARN": {},
|
411 | "Name": {}
|
412 | }
|
413 | }
|
414 | },
|
415 | "RotateSecret": {
|
416 | "input": {
|
417 | "type": "structure",
|
418 | "required": [
|
419 | "SecretId"
|
420 | ],
|
421 | "members": {
|
422 | "SecretId": {},
|
423 | "ClientRequestToken": {
|
424 | "idempotencyToken": true
|
425 | },
|
426 | "RotationLambdaARN": {},
|
427 | "RotationRules": {
|
428 | "shape": "Su"
|
429 | }
|
430 | }
|
431 | },
|
432 | "output": {
|
433 | "type": "structure",
|
434 | "members": {
|
435 | "ARN": {},
|
436 | "Name": {},
|
437 | "VersionId": {}
|
438 | }
|
439 | }
|
440 | },
|
441 | "TagResource": {
|
442 | "input": {
|
443 | "type": "structure",
|
444 | "required": [
|
445 | "SecretId",
|
446 | "Tags"
|
447 | ],
|
448 | "members": {
|
449 | "SecretId": {},
|
450 | "Tags": {
|
451 | "shape": "Se"
|
452 | }
|
453 | }
|
454 | }
|
455 | },
|
456 | "UntagResource": {
|
457 | "input": {
|
458 | "type": "structure",
|
459 | "required": [
|
460 | "SecretId",
|
461 | "TagKeys"
|
462 | ],
|
463 | "members": {
|
464 | "SecretId": {},
|
465 | "TagKeys": {
|
466 | "type": "list",
|
467 | "member": {}
|
468 | }
|
469 | }
|
470 | }
|
471 | },
|
472 | "UpdateSecret": {
|
473 | "input": {
|
474 | "type": "structure",
|
475 | "required": [
|
476 | "SecretId"
|
477 | ],
|
478 | "members": {
|
479 | "SecretId": {},
|
480 | "ClientRequestToken": {
|
481 | "idempotencyToken": true
|
482 | },
|
483 | "Description": {},
|
484 | "KmsKeyId": {},
|
485 | "SecretBinary": {
|
486 | "shape": "Sc"
|
487 | },
|
488 | "SecretString": {
|
489 | "shape": "Sd"
|
490 | }
|
491 | }
|
492 | },
|
493 | "output": {
|
494 | "type": "structure",
|
495 | "members": {
|
496 | "ARN": {},
|
497 | "Name": {},
|
498 | "VersionId": {}
|
499 | }
|
500 | }
|
501 | },
|
502 | "UpdateSecretVersionStage": {
|
503 | "input": {
|
504 | "type": "structure",
|
505 | "required": [
|
506 | "SecretId",
|
507 | "VersionStage"
|
508 | ],
|
509 | "members": {
|
510 | "SecretId": {},
|
511 | "VersionStage": {},
|
512 | "RemoveFromVersionId": {},
|
513 | "MoveToVersionId": {}
|
514 | }
|
515 | },
|
516 | "output": {
|
517 | "type": "structure",
|
518 | "members": {
|
519 | "ARN": {},
|
520 | "Name": {}
|
521 | }
|
522 | }
|
523 | }
|
524 | },
|
525 | "shapes": {
|
526 | "Sc": {
|
527 | "type": "blob",
|
528 | "sensitive": true
|
529 | },
|
530 | "Sd": {
|
531 | "type": "string",
|
532 | "sensitive": true
|
533 | },
|
534 | "Se": {
|
535 | "type": "list",
|
536 | "member": {
|
537 | "type": "structure",
|
538 | "members": {
|
539 | "Key": {},
|
540 | "Value": {}
|
541 | }
|
542 | }
|
543 | },
|
544 | "Su": {
|
545 | "type": "structure",
|
546 | "members": {
|
547 | "AutomaticallyAfterDays": {
|
548 | "type": "long"
|
549 | }
|
550 | }
|
551 | },
|
552 | "S10": {
|
553 | "type": "map",
|
554 | "key": {},
|
555 | "value": {
|
556 | "shape": "S11"
|
557 | }
|
558 | },
|
559 | "S11": {
|
560 | "type": "list",
|
561 | "member": {}
|
562 | }
|
563 | }
|
564 | } |
\ | No newline at end of file |