dlm-2018-01-12.min.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-01-12",
  5. "endpointPrefix": "dlm",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceAbbreviation": "Amazon DLM",
  9. "serviceFullName": "Amazon Data Lifecycle Manager",
  10. "serviceId": "DLM",
  11. "signatureVersion": "v4",
  12. "signingName": "dlm",
  13. "uid": "dlm-2018-01-12"
  14. },
  15. "operations": {
  16. "CreateLifecyclePolicy": {
  17. "http": {
  18. "requestUri": "/policies"
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "ExecutionRoleArn",
  24. "Description",
  25. "State"
  26. ],
  27. "members": {
  28. "ExecutionRoleArn": {},
  29. "Description": {},
  30. "State": {},
  31. "PolicyDetails": {
  32. "shape": "S5"
  33. },
  34. "Tags": {
  35. "shape": "S2g"
  36. },
  37. "DefaultPolicy": {},
  38. "CreateInterval": {
  39. "type": "integer"
  40. },
  41. "RetainInterval": {
  42. "type": "integer"
  43. },
  44. "CopyTags": {
  45. "type": "boolean"
  46. },
  47. "ExtendDeletion": {
  48. "type": "boolean"
  49. },
  50. "CrossRegionCopyTargets": {
  51. "shape": "S28"
  52. },
  53. "Exclusions": {
  54. "shape": "S2b"
  55. }
  56. }
  57. },
  58. "output": {
  59. "type": "structure",
  60. "members": {
  61. "PolicyId": {}
  62. }
  63. }
  64. },
  65. "DeleteLifecyclePolicy": {
  66. "http": {
  67. "method": "DELETE",
  68. "requestUri": "/policies/{policyId}"
  69. },
  70. "input": {
  71. "type": "structure",
  72. "required": [
  73. "PolicyId"
  74. ],
  75. "members": {
  76. "PolicyId": {
  77. "location": "uri",
  78. "locationName": "policyId"
  79. }
  80. }
  81. },
  82. "output": {
  83. "type": "structure",
  84. "members": {}
  85. }
  86. },
  87. "GetLifecyclePolicies": {
  88. "http": {
  89. "method": "GET",
  90. "requestUri": "/policies"
  91. },
  92. "input": {
  93. "type": "structure",
  94. "members": {
  95. "PolicyIds": {
  96. "location": "querystring",
  97. "locationName": "policyIds",
  98. "type": "list",
  99. "member": {}
  100. },
  101. "State": {
  102. "location": "querystring",
  103. "locationName": "state"
  104. },
  105. "ResourceTypes": {
  106. "shape": "S7",
  107. "location": "querystring",
  108. "locationName": "resourceTypes"
  109. },
  110. "TargetTags": {
  111. "location": "querystring",
  112. "locationName": "targetTags",
  113. "type": "list",
  114. "member": {}
  115. },
  116. "TagsToAdd": {
  117. "location": "querystring",
  118. "locationName": "tagsToAdd",
  119. "type": "list",
  120. "member": {}
  121. },
  122. "DefaultPolicyType": {
  123. "location": "querystring",
  124. "locationName": "defaultPolicyType"
  125. }
  126. }
  127. },
  128. "output": {
  129. "type": "structure",
  130. "members": {
  131. "Policies": {
  132. "type": "list",
  133. "member": {
  134. "type": "structure",
  135. "members": {
  136. "PolicyId": {},
  137. "Description": {},
  138. "State": {},
  139. "Tags": {
  140. "shape": "S2g"
  141. },
  142. "PolicyType": {},
  143. "DefaultPolicy": {
  144. "type": "boolean"
  145. }
  146. }
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "GetLifecyclePolicy": {
  153. "http": {
  154. "method": "GET",
  155. "requestUri": "/policies/{policyId}"
  156. },
  157. "input": {
  158. "type": "structure",
  159. "required": [
  160. "PolicyId"
  161. ],
  162. "members": {
  163. "PolicyId": {
  164. "location": "uri",
  165. "locationName": "policyId"
  166. }
  167. }
  168. },
  169. "output": {
  170. "type": "structure",
  171. "members": {
  172. "Policy": {
  173. "type": "structure",
  174. "members": {
  175. "PolicyId": {},
  176. "Description": {},
  177. "State": {},
  178. "StatusMessage": {},
  179. "ExecutionRoleArn": {},
  180. "DateCreated": {
  181. "shape": "S33"
  182. },
  183. "DateModified": {
  184. "shape": "S33"
  185. },
  186. "PolicyDetails": {
  187. "shape": "S5"
  188. },
  189. "Tags": {
  190. "shape": "S2g"
  191. },
  192. "PolicyArn": {},
  193. "DefaultPolicy": {
  194. "type": "boolean"
  195. }
  196. }
  197. }
  198. }
  199. }
  200. },
  201. "ListTagsForResource": {
  202. "http": {
  203. "method": "GET",
  204. "requestUri": "/tags/{resourceArn}"
  205. },
  206. "input": {
  207. "type": "structure",
  208. "required": [
  209. "ResourceArn"
  210. ],
  211. "members": {
  212. "ResourceArn": {
  213. "location": "uri",
  214. "locationName": "resourceArn"
  215. }
  216. }
  217. },
  218. "output": {
  219. "type": "structure",
  220. "members": {
  221. "Tags": {
  222. "shape": "S2g"
  223. }
  224. }
  225. }
  226. },
  227. "TagResource": {
  228. "http": {
  229. "requestUri": "/tags/{resourceArn}"
  230. },
  231. "input": {
  232. "type": "structure",
  233. "required": [
  234. "ResourceArn",
  235. "Tags"
  236. ],
  237. "members": {
  238. "ResourceArn": {
  239. "location": "uri",
  240. "locationName": "resourceArn"
  241. },
  242. "Tags": {
  243. "shape": "S2g"
  244. }
  245. }
  246. },
  247. "output": {
  248. "type": "structure",
  249. "members": {}
  250. }
  251. },
  252. "UntagResource": {
  253. "http": {
  254. "method": "DELETE",
  255. "requestUri": "/tags/{resourceArn}"
  256. },
  257. "input": {
  258. "type": "structure",
  259. "required": [
  260. "ResourceArn",
  261. "TagKeys"
  262. ],
  263. "members": {
  264. "ResourceArn": {
  265. "location": "uri",
  266. "locationName": "resourceArn"
  267. },
  268. "TagKeys": {
  269. "location": "querystring",
  270. "locationName": "tagKeys",
  271. "type": "list",
  272. "member": {}
  273. }
  274. }
  275. },
  276. "output": {
  277. "type": "structure",
  278. "members": {}
  279. }
  280. },
  281. "UpdateLifecyclePolicy": {
  282. "http": {
  283. "method": "PATCH",
  284. "requestUri": "/policies/{policyId}"
  285. },
  286. "input": {
  287. "type": "structure",
  288. "required": [
  289. "PolicyId"
  290. ],
  291. "members": {
  292. "PolicyId": {
  293. "location": "uri",
  294. "locationName": "policyId"
  295. },
  296. "ExecutionRoleArn": {},
  297. "State": {},
  298. "Description": {},
  299. "PolicyDetails": {
  300. "shape": "S5"
  301. },
  302. "CreateInterval": {
  303. "type": "integer"
  304. },
  305. "RetainInterval": {
  306. "type": "integer"
  307. },
  308. "CopyTags": {
  309. "type": "boolean"
  310. },
  311. "ExtendDeletion": {
  312. "type": "boolean"
  313. },
  314. "CrossRegionCopyTargets": {
  315. "shape": "S28"
  316. },
  317. "Exclusions": {
  318. "shape": "S2b"
  319. }
  320. }
  321. },
  322. "output": {
  323. "type": "structure",
  324. "members": {}
  325. }
  326. }
  327. },
  328. "shapes": {
  329. "S5": {
  330. "type": "structure",
  331. "members": {
  332. "PolicyType": {},
  333. "ResourceTypes": {
  334. "shape": "S7"
  335. },
  336. "ResourceLocations": {
  337. "type": "list",
  338. "member": {}
  339. },
  340. "TargetTags": {
  341. "type": "list",
  342. "member": {
  343. "shape": "Sc"
  344. }
  345. },
  346. "Schedules": {
  347. "type": "list",
  348. "member": {
  349. "type": "structure",
  350. "members": {
  351. "Name": {},
  352. "CopyTags": {
  353. "type": "boolean"
  354. },
  355. "TagsToAdd": {
  356. "type": "list",
  357. "member": {
  358. "shape": "Sc"
  359. }
  360. },
  361. "VariableTags": {
  362. "type": "list",
  363. "member": {
  364. "shape": "Sc"
  365. }
  366. },
  367. "CreateRule": {
  368. "type": "structure",
  369. "members": {
  370. "Location": {},
  371. "Interval": {
  372. "type": "integer"
  373. },
  374. "IntervalUnit": {},
  375. "Times": {
  376. "type": "list",
  377. "member": {}
  378. },
  379. "CronExpression": {},
  380. "Scripts": {
  381. "type": "list",
  382. "member": {
  383. "type": "structure",
  384. "required": [
  385. "ExecutionHandler"
  386. ],
  387. "members": {
  388. "Stages": {
  389. "type": "list",
  390. "member": {}
  391. },
  392. "ExecutionHandlerService": {},
  393. "ExecutionHandler": {},
  394. "ExecuteOperationOnScriptFailure": {
  395. "type": "boolean"
  396. },
  397. "ExecutionTimeout": {
  398. "type": "integer"
  399. },
  400. "MaximumRetryCount": {
  401. "type": "integer"
  402. }
  403. }
  404. }
  405. }
  406. }
  407. },
  408. "RetainRule": {
  409. "type": "structure",
  410. "members": {
  411. "Count": {
  412. "type": "integer"
  413. },
  414. "Interval": {
  415. "type": "integer"
  416. },
  417. "IntervalUnit": {}
  418. }
  419. },
  420. "FastRestoreRule": {
  421. "type": "structure",
  422. "required": [
  423. "AvailabilityZones"
  424. ],
  425. "members": {
  426. "Count": {
  427. "type": "integer"
  428. },
  429. "Interval": {
  430. "type": "integer"
  431. },
  432. "IntervalUnit": {},
  433. "AvailabilityZones": {
  434. "type": "list",
  435. "member": {}
  436. }
  437. }
  438. },
  439. "CrossRegionCopyRules": {
  440. "type": "list",
  441. "member": {
  442. "type": "structure",
  443. "required": [
  444. "Encrypted"
  445. ],
  446. "members": {
  447. "TargetRegion": {},
  448. "Target": {},
  449. "Encrypted": {
  450. "type": "boolean"
  451. },
  452. "CmkArn": {},
  453. "CopyTags": {
  454. "type": "boolean"
  455. },
  456. "RetainRule": {
  457. "shape": "S1f"
  458. },
  459. "DeprecateRule": {
  460. "type": "structure",
  461. "members": {
  462. "Interval": {
  463. "type": "integer"
  464. },
  465. "IntervalUnit": {}
  466. }
  467. }
  468. }
  469. }
  470. },
  471. "ShareRules": {
  472. "type": "list",
  473. "member": {
  474. "type": "structure",
  475. "required": [
  476. "TargetAccounts"
  477. ],
  478. "members": {
  479. "TargetAccounts": {
  480. "type": "list",
  481. "member": {}
  482. },
  483. "UnshareInterval": {
  484. "type": "integer"
  485. },
  486. "UnshareIntervalUnit": {}
  487. }
  488. }
  489. },
  490. "DeprecateRule": {
  491. "type": "structure",
  492. "members": {
  493. "Count": {
  494. "type": "integer"
  495. },
  496. "Interval": {
  497. "type": "integer"
  498. },
  499. "IntervalUnit": {}
  500. }
  501. },
  502. "ArchiveRule": {
  503. "type": "structure",
  504. "required": [
  505. "RetainRule"
  506. ],
  507. "members": {
  508. "RetainRule": {
  509. "type": "structure",
  510. "required": [
  511. "RetentionArchiveTier"
  512. ],
  513. "members": {
  514. "RetentionArchiveTier": {
  515. "type": "structure",
  516. "members": {
  517. "Count": {
  518. "type": "integer"
  519. },
  520. "Interval": {
  521. "type": "integer"
  522. },
  523. "IntervalUnit": {}
  524. }
  525. }
  526. }
  527. }
  528. }
  529. }
  530. }
  531. }
  532. },
  533. "Parameters": {
  534. "type": "structure",
  535. "members": {
  536. "ExcludeBootVolume": {
  537. "type": "boolean"
  538. },
  539. "NoReboot": {
  540. "type": "boolean"
  541. },
  542. "ExcludeDataVolumeTags": {
  543. "type": "list",
  544. "member": {
  545. "shape": "Sc"
  546. }
  547. }
  548. }
  549. },
  550. "EventSource": {
  551. "type": "structure",
  552. "required": [
  553. "Type"
  554. ],
  555. "members": {
  556. "Type": {},
  557. "Parameters": {
  558. "type": "structure",
  559. "required": [
  560. "EventType",
  561. "SnapshotOwner",
  562. "DescriptionRegex"
  563. ],
  564. "members": {
  565. "EventType": {},
  566. "SnapshotOwner": {
  567. "type": "list",
  568. "member": {}
  569. },
  570. "DescriptionRegex": {}
  571. }
  572. }
  573. }
  574. },
  575. "Actions": {
  576. "type": "list",
  577. "member": {
  578. "type": "structure",
  579. "required": [
  580. "Name",
  581. "CrossRegionCopy"
  582. ],
  583. "members": {
  584. "Name": {},
  585. "CrossRegionCopy": {
  586. "type": "list",
  587. "member": {
  588. "type": "structure",
  589. "required": [
  590. "Target",
  591. "EncryptionConfiguration"
  592. ],
  593. "members": {
  594. "Target": {},
  595. "EncryptionConfiguration": {
  596. "type": "structure",
  597. "required": [
  598. "Encrypted"
  599. ],
  600. "members": {
  601. "Encrypted": {
  602. "type": "boolean"
  603. },
  604. "CmkArn": {}
  605. }
  606. },
  607. "RetainRule": {
  608. "shape": "S1f"
  609. }
  610. }
  611. }
  612. }
  613. }
  614. }
  615. },
  616. "PolicyLanguage": {},
  617. "ResourceType": {},
  618. "CreateInterval": {
  619. "type": "integer"
  620. },
  621. "RetainInterval": {
  622. "type": "integer"
  623. },
  624. "CopyTags": {
  625. "type": "boolean"
  626. },
  627. "CrossRegionCopyTargets": {
  628. "shape": "S28"
  629. },
  630. "ExtendDeletion": {
  631. "type": "boolean"
  632. },
  633. "Exclusions": {
  634. "shape": "S2b"
  635. }
  636. }
  637. },
  638. "S7": {
  639. "type": "list",
  640. "member": {}
  641. },
  642. "Sc": {
  643. "type": "structure",
  644. "required": [
  645. "Key",
  646. "Value"
  647. ],
  648. "members": {
  649. "Key": {},
  650. "Value": {}
  651. }
  652. },
  653. "S1f": {
  654. "type": "structure",
  655. "members": {
  656. "Interval": {
  657. "type": "integer"
  658. },
  659. "IntervalUnit": {}
  660. }
  661. },
  662. "S28": {
  663. "type": "list",
  664. "member": {
  665. "type": "structure",
  666. "members": {
  667. "TargetRegion": {}
  668. }
  669. }
  670. },
  671. "S2b": {
  672. "type": "structure",
  673. "members": {
  674. "ExcludeBootVolumes": {
  675. "type": "boolean"
  676. },
  677. "ExcludeVolumeTypes": {
  678. "type": "list",
  679. "member": {}
  680. },
  681. "ExcludeTags": {
  682. "type": "list",
  683. "member": {
  684. "shape": "Sc"
  685. }
  686. }
  687. }
  688. },
  689. "S2g": {
  690. "type": "map",
  691. "key": {},
  692. "value": {}
  693. },
  694. "S33": {
  695. "type": "timestamp",
  696. "timestampFormat": "iso8601"
  697. }
  698. }
  699. }