UNPKG

11.9 kBJSONView Raw
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 "OwningService": {}
156 }
157 }
158 },
159 "GetRandomPassword": {
160 "input": {
161 "type": "structure",
162 "members": {
163 "PasswordLength": {
164 "type": "long"
165 },
166 "ExcludeCharacters": {},
167 "ExcludeNumbers": {
168 "type": "boolean"
169 },
170 "ExcludePunctuation": {
171 "type": "boolean"
172 },
173 "ExcludeUppercase": {
174 "type": "boolean"
175 },
176 "ExcludeLowercase": {
177 "type": "boolean"
178 },
179 "IncludeSpace": {
180 "type": "boolean"
181 },
182 "RequireEachIncludedType": {
183 "type": "boolean"
184 }
185 }
186 },
187 "output": {
188 "type": "structure",
189 "members": {
190 "RandomPassword": {
191 "type": "string",
192 "sensitive": true
193 }
194 }
195 }
196 },
197 "GetResourcePolicy": {
198 "input": {
199 "type": "structure",
200 "required": [
201 "SecretId"
202 ],
203 "members": {
204 "SecretId": {}
205 }
206 },
207 "output": {
208 "type": "structure",
209 "members": {
210 "ARN": {},
211 "Name": {},
212 "ResourcePolicy": {}
213 }
214 }
215 },
216 "GetSecretValue": {
217 "input": {
218 "type": "structure",
219 "required": [
220 "SecretId"
221 ],
222 "members": {
223 "SecretId": {},
224 "VersionId": {},
225 "VersionStage": {}
226 }
227 },
228 "output": {
229 "type": "structure",
230 "members": {
231 "ARN": {},
232 "Name": {},
233 "VersionId": {},
234 "SecretBinary": {
235 "shape": "Sc"
236 },
237 "SecretString": {
238 "shape": "Sd"
239 },
240 "VersionStages": {
241 "shape": "S11"
242 },
243 "CreatedDate": {
244 "type": "timestamp"
245 }
246 }
247 }
248 },
249 "ListSecretVersionIds": {
250 "input": {
251 "type": "structure",
252 "required": [
253 "SecretId"
254 ],
255 "members": {
256 "SecretId": {},
257 "MaxResults": {
258 "type": "integer"
259 },
260 "NextToken": {},
261 "IncludeDeprecated": {
262 "type": "boolean"
263 }
264 }
265 },
266 "output": {
267 "type": "structure",
268 "members": {
269 "Versions": {
270 "type": "list",
271 "member": {
272 "type": "structure",
273 "members": {
274 "VersionId": {},
275 "VersionStages": {
276 "shape": "S11"
277 },
278 "LastAccessedDate": {
279 "type": "timestamp"
280 },
281 "CreatedDate": {
282 "type": "timestamp"
283 }
284 }
285 }
286 },
287 "NextToken": {},
288 "ARN": {},
289 "Name": {}
290 }
291 }
292 },
293 "ListSecrets": {
294 "input": {
295 "type": "structure",
296 "members": {
297 "MaxResults": {
298 "type": "integer"
299 },
300 "NextToken": {}
301 }
302 },
303 "output": {
304 "type": "structure",
305 "members": {
306 "SecretList": {
307 "type": "list",
308 "member": {
309 "type": "structure",
310 "members": {
311 "ARN": {},
312 "Name": {},
313 "Description": {},
314 "KmsKeyId": {},
315 "RotationEnabled": {
316 "type": "boolean"
317 },
318 "RotationLambdaARN": {},
319 "RotationRules": {
320 "shape": "Su"
321 },
322 "LastRotatedDate": {
323 "type": "timestamp"
324 },
325 "LastChangedDate": {
326 "type": "timestamp"
327 },
328 "LastAccessedDate": {
329 "type": "timestamp"
330 },
331 "DeletedDate": {
332 "type": "timestamp"
333 },
334 "Tags": {
335 "shape": "Se"
336 },
337 "SecretVersionsToStages": {
338 "shape": "S10"
339 },
340 "OwningService": {}
341 }
342 }
343 },
344 "NextToken": {}
345 }
346 }
347 },
348 "PutResourcePolicy": {
349 "input": {
350 "type": "structure",
351 "required": [
352 "SecretId",
353 "ResourcePolicy"
354 ],
355 "members": {
356 "SecretId": {},
357 "ResourcePolicy": {}
358 }
359 },
360 "output": {
361 "type": "structure",
362 "members": {
363 "ARN": {},
364 "Name": {}
365 }
366 }
367 },
368 "PutSecretValue": {
369 "input": {
370 "type": "structure",
371 "required": [
372 "SecretId"
373 ],
374 "members": {
375 "SecretId": {},
376 "ClientRequestToken": {
377 "idempotencyToken": true
378 },
379 "SecretBinary": {
380 "shape": "Sc"
381 },
382 "SecretString": {
383 "shape": "Sd"
384 },
385 "VersionStages": {
386 "shape": "S11"
387 }
388 }
389 },
390 "output": {
391 "type": "structure",
392 "members": {
393 "ARN": {},
394 "Name": {},
395 "VersionId": {},
396 "VersionStages": {
397 "shape": "S11"
398 }
399 }
400 }
401 },
402 "RestoreSecret": {
403 "input": {
404 "type": "structure",
405 "required": [
406 "SecretId"
407 ],
408 "members": {
409 "SecretId": {}
410 }
411 },
412 "output": {
413 "type": "structure",
414 "members": {
415 "ARN": {},
416 "Name": {}
417 }
418 }
419 },
420 "RotateSecret": {
421 "input": {
422 "type": "structure",
423 "required": [
424 "SecretId"
425 ],
426 "members": {
427 "SecretId": {},
428 "ClientRequestToken": {
429 "idempotencyToken": true
430 },
431 "RotationLambdaARN": {},
432 "RotationRules": {
433 "shape": "Su"
434 }
435 }
436 },
437 "output": {
438 "type": "structure",
439 "members": {
440 "ARN": {},
441 "Name": {},
442 "VersionId": {}
443 }
444 }
445 },
446 "TagResource": {
447 "input": {
448 "type": "structure",
449 "required": [
450 "SecretId",
451 "Tags"
452 ],
453 "members": {
454 "SecretId": {},
455 "Tags": {
456 "shape": "Se"
457 }
458 }
459 }
460 },
461 "UntagResource": {
462 "input": {
463 "type": "structure",
464 "required": [
465 "SecretId",
466 "TagKeys"
467 ],
468 "members": {
469 "SecretId": {},
470 "TagKeys": {
471 "type": "list",
472 "member": {}
473 }
474 }
475 }
476 },
477 "UpdateSecret": {
478 "input": {
479 "type": "structure",
480 "required": [
481 "SecretId"
482 ],
483 "members": {
484 "SecretId": {},
485 "ClientRequestToken": {
486 "idempotencyToken": true
487 },
488 "Description": {},
489 "KmsKeyId": {},
490 "SecretBinary": {
491 "shape": "Sc"
492 },
493 "SecretString": {
494 "shape": "Sd"
495 }
496 }
497 },
498 "output": {
499 "type": "structure",
500 "members": {
501 "ARN": {},
502 "Name": {},
503 "VersionId": {}
504 }
505 }
506 },
507 "UpdateSecretVersionStage": {
508 "input": {
509 "type": "structure",
510 "required": [
511 "SecretId",
512 "VersionStage"
513 ],
514 "members": {
515 "SecretId": {},
516 "VersionStage": {},
517 "RemoveFromVersionId": {},
518 "MoveToVersionId": {}
519 }
520 },
521 "output": {
522 "type": "structure",
523 "members": {
524 "ARN": {},
525 "Name": {}
526 }
527 }
528 }
529 },
530 "shapes": {
531 "Sc": {
532 "type": "blob",
533 "sensitive": true
534 },
535 "Sd": {
536 "type": "string",
537 "sensitive": true
538 },
539 "Se": {
540 "type": "list",
541 "member": {
542 "type": "structure",
543 "members": {
544 "Key": {},
545 "Value": {}
546 }
547 }
548 },
549 "Su": {
550 "type": "structure",
551 "members": {
552 "AutomaticallyAfterDays": {
553 "type": "long"
554 }
555 }
556 },
557 "S10": {
558 "type": "map",
559 "key": {},
560 "value": {
561 "shape": "S11"
562 }
563 },
564 "S11": {
565 "type": "list",
566 "member": {}
567 }
568 }
569}
\No newline at end of file