mwaa-2020-07-01.min.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2020-07-01",
  5. "endpointPrefix": "airflow",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "AmazonMWAA",
  9. "serviceId": "MWAA",
  10. "signatureVersion": "v4",
  11. "signingName": "airflow",
  12. "uid": "mwaa-2020-07-01"
  13. },
  14. "operations": {
  15. "CreateCliToken": {
  16. "http": {
  17. "requestUri": "/clitoken/{Name}",
  18. "responseCode": 200
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "Name"
  24. ],
  25. "members": {
  26. "Name": {
  27. "location": "uri",
  28. "locationName": "Name"
  29. }
  30. }
  31. },
  32. "output": {
  33. "type": "structure",
  34. "members": {
  35. "CliToken": {
  36. "shape": "S4"
  37. },
  38. "WebServerHostname": {}
  39. }
  40. },
  41. "endpoint": {
  42. "hostPrefix": "env."
  43. }
  44. },
  45. "CreateEnvironment": {
  46. "http": {
  47. "method": "PUT",
  48. "requestUri": "/environments/{Name}",
  49. "responseCode": 200
  50. },
  51. "input": {
  52. "type": "structure",
  53. "required": [
  54. "DagS3Path",
  55. "ExecutionRoleArn",
  56. "Name",
  57. "NetworkConfiguration",
  58. "SourceBucketArn"
  59. ],
  60. "members": {
  61. "AirflowConfigurationOptions": {
  62. "shape": "S7"
  63. },
  64. "AirflowVersion": {},
  65. "DagS3Path": {},
  66. "EndpointManagement": {},
  67. "EnvironmentClass": {},
  68. "ExecutionRoleArn": {},
  69. "KmsKey": {},
  70. "LoggingConfiguration": {
  71. "shape": "Sg"
  72. },
  73. "MaxWorkers": {
  74. "type": "integer"
  75. },
  76. "MinWorkers": {
  77. "type": "integer"
  78. },
  79. "Name": {
  80. "location": "uri",
  81. "locationName": "Name"
  82. },
  83. "NetworkConfiguration": {
  84. "shape": "Sm"
  85. },
  86. "PluginsS3ObjectVersion": {},
  87. "PluginsS3Path": {},
  88. "RequirementsS3ObjectVersion": {},
  89. "RequirementsS3Path": {},
  90. "Schedulers": {
  91. "type": "integer"
  92. },
  93. "SourceBucketArn": {},
  94. "StartupScriptS3ObjectVersion": {},
  95. "StartupScriptS3Path": {},
  96. "Tags": {
  97. "shape": "Su"
  98. },
  99. "WebserverAccessMode": {},
  100. "WeeklyMaintenanceWindowStart": {}
  101. }
  102. },
  103. "output": {
  104. "type": "structure",
  105. "members": {
  106. "Arn": {}
  107. }
  108. },
  109. "endpoint": {
  110. "hostPrefix": "api."
  111. },
  112. "idempotent": true
  113. },
  114. "CreateWebLoginToken": {
  115. "http": {
  116. "requestUri": "/webtoken/{Name}",
  117. "responseCode": 200
  118. },
  119. "input": {
  120. "type": "structure",
  121. "required": [
  122. "Name"
  123. ],
  124. "members": {
  125. "Name": {
  126. "location": "uri",
  127. "locationName": "Name"
  128. }
  129. }
  130. },
  131. "output": {
  132. "type": "structure",
  133. "members": {
  134. "AirflowIdentity": {},
  135. "IamIdentity": {},
  136. "WebServerHostname": {},
  137. "WebToken": {
  138. "shape": "S4"
  139. }
  140. }
  141. },
  142. "endpoint": {
  143. "hostPrefix": "env."
  144. },
  145. "idempotent": true
  146. },
  147. "DeleteEnvironment": {
  148. "http": {
  149. "method": "DELETE",
  150. "requestUri": "/environments/{Name}",
  151. "responseCode": 200
  152. },
  153. "input": {
  154. "type": "structure",
  155. "required": [
  156. "Name"
  157. ],
  158. "members": {
  159. "Name": {
  160. "location": "uri",
  161. "locationName": "Name"
  162. }
  163. }
  164. },
  165. "output": {
  166. "type": "structure",
  167. "members": {}
  168. },
  169. "endpoint": {
  170. "hostPrefix": "api."
  171. },
  172. "idempotent": true
  173. },
  174. "GetEnvironment": {
  175. "http": {
  176. "method": "GET",
  177. "requestUri": "/environments/{Name}",
  178. "responseCode": 200
  179. },
  180. "input": {
  181. "type": "structure",
  182. "required": [
  183. "Name"
  184. ],
  185. "members": {
  186. "Name": {
  187. "location": "uri",
  188. "locationName": "Name"
  189. }
  190. }
  191. },
  192. "output": {
  193. "type": "structure",
  194. "members": {
  195. "Environment": {
  196. "type": "structure",
  197. "members": {
  198. "AirflowConfigurationOptions": {
  199. "shape": "S7"
  200. },
  201. "AirflowVersion": {},
  202. "Arn": {},
  203. "CeleryExecutorQueue": {},
  204. "CreatedAt": {
  205. "type": "timestamp"
  206. },
  207. "DagS3Path": {},
  208. "DatabaseVpcEndpointService": {},
  209. "EndpointManagement": {},
  210. "EnvironmentClass": {},
  211. "ExecutionRoleArn": {},
  212. "KmsKey": {},
  213. "LastUpdate": {
  214. "type": "structure",
  215. "members": {
  216. "CreatedAt": {
  217. "type": "timestamp"
  218. },
  219. "Error": {
  220. "type": "structure",
  221. "members": {
  222. "ErrorCode": {},
  223. "ErrorMessage": {}
  224. }
  225. },
  226. "Source": {},
  227. "Status": {}
  228. }
  229. },
  230. "LoggingConfiguration": {
  231. "type": "structure",
  232. "members": {
  233. "DagProcessingLogs": {
  234. "shape": "S1l"
  235. },
  236. "SchedulerLogs": {
  237. "shape": "S1l"
  238. },
  239. "TaskLogs": {
  240. "shape": "S1l"
  241. },
  242. "WebserverLogs": {
  243. "shape": "S1l"
  244. },
  245. "WorkerLogs": {
  246. "shape": "S1l"
  247. }
  248. }
  249. },
  250. "MaxWorkers": {
  251. "type": "integer"
  252. },
  253. "MinWorkers": {
  254. "type": "integer"
  255. },
  256. "Name": {},
  257. "NetworkConfiguration": {
  258. "shape": "Sm"
  259. },
  260. "PluginsS3ObjectVersion": {},
  261. "PluginsS3Path": {},
  262. "RequirementsS3ObjectVersion": {},
  263. "RequirementsS3Path": {},
  264. "Schedulers": {
  265. "type": "integer"
  266. },
  267. "ServiceRoleArn": {},
  268. "SourceBucketArn": {},
  269. "StartupScriptS3ObjectVersion": {},
  270. "StartupScriptS3Path": {},
  271. "Status": {},
  272. "Tags": {
  273. "shape": "Su"
  274. },
  275. "WebserverAccessMode": {},
  276. "WebserverUrl": {},
  277. "WebserverVpcEndpointService": {},
  278. "WeeklyMaintenanceWindowStart": {}
  279. }
  280. }
  281. }
  282. },
  283. "endpoint": {
  284. "hostPrefix": "api."
  285. }
  286. },
  287. "ListEnvironments": {
  288. "http": {
  289. "method": "GET",
  290. "requestUri": "/environments",
  291. "responseCode": 200
  292. },
  293. "input": {
  294. "type": "structure",
  295. "members": {
  296. "MaxResults": {
  297. "location": "querystring",
  298. "locationName": "MaxResults",
  299. "type": "integer"
  300. },
  301. "NextToken": {
  302. "location": "querystring",
  303. "locationName": "NextToken"
  304. }
  305. }
  306. },
  307. "output": {
  308. "type": "structure",
  309. "required": [
  310. "Environments"
  311. ],
  312. "members": {
  313. "Environments": {
  314. "type": "list",
  315. "member": {}
  316. },
  317. "NextToken": {}
  318. }
  319. },
  320. "endpoint": {
  321. "hostPrefix": "api."
  322. }
  323. },
  324. "ListTagsForResource": {
  325. "http": {
  326. "method": "GET",
  327. "requestUri": "/tags/{ResourceArn}",
  328. "responseCode": 200
  329. },
  330. "input": {
  331. "type": "structure",
  332. "required": [
  333. "ResourceArn"
  334. ],
  335. "members": {
  336. "ResourceArn": {
  337. "location": "uri",
  338. "locationName": "ResourceArn"
  339. }
  340. }
  341. },
  342. "output": {
  343. "type": "structure",
  344. "members": {
  345. "Tags": {
  346. "shape": "Su"
  347. }
  348. }
  349. },
  350. "endpoint": {
  351. "hostPrefix": "api."
  352. }
  353. },
  354. "PublishMetrics": {
  355. "http": {
  356. "requestUri": "/metrics/environments/{EnvironmentName}",
  357. "responseCode": 200
  358. },
  359. "input": {
  360. "type": "structure",
  361. "required": [
  362. "EnvironmentName",
  363. "MetricData"
  364. ],
  365. "members": {
  366. "EnvironmentName": {
  367. "location": "uri",
  368. "locationName": "EnvironmentName"
  369. },
  370. "MetricData": {
  371. "type": "list",
  372. "member": {
  373. "type": "structure",
  374. "required": [
  375. "MetricName",
  376. "Timestamp"
  377. ],
  378. "members": {
  379. "Dimensions": {
  380. "type": "list",
  381. "member": {
  382. "type": "structure",
  383. "required": [
  384. "Name",
  385. "Value"
  386. ],
  387. "members": {
  388. "Name": {},
  389. "Value": {}
  390. },
  391. "deprecated": true,
  392. "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
  393. },
  394. "deprecated": true,
  395. "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
  396. },
  397. "MetricName": {},
  398. "StatisticValues": {
  399. "type": "structure",
  400. "members": {
  401. "Maximum": {
  402. "type": "double"
  403. },
  404. "Minimum": {
  405. "type": "double"
  406. },
  407. "SampleCount": {
  408. "type": "integer"
  409. },
  410. "Sum": {
  411. "type": "double"
  412. }
  413. },
  414. "deprecated": true,
  415. "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
  416. },
  417. "Timestamp": {
  418. "type": "timestamp"
  419. },
  420. "Unit": {},
  421. "Value": {
  422. "type": "double"
  423. }
  424. },
  425. "deprecated": true,
  426. "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
  427. },
  428. "deprecated": true,
  429. "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
  430. }
  431. },
  432. "deprecated": true,
  433. "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
  434. },
  435. "output": {
  436. "type": "structure",
  437. "members": {},
  438. "deprecated": true,
  439. "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
  440. },
  441. "deprecated": true,
  442. "deprecatedMessage": "This API is for internal use and not meant for public use, and is no longer available.",
  443. "endpoint": {
  444. "hostPrefix": "ops."
  445. }
  446. },
  447. "TagResource": {
  448. "http": {
  449. "requestUri": "/tags/{ResourceArn}",
  450. "responseCode": 200
  451. },
  452. "input": {
  453. "type": "structure",
  454. "required": [
  455. "ResourceArn",
  456. "Tags"
  457. ],
  458. "members": {
  459. "ResourceArn": {
  460. "location": "uri",
  461. "locationName": "ResourceArn"
  462. },
  463. "Tags": {
  464. "shape": "Su"
  465. }
  466. }
  467. },
  468. "output": {
  469. "type": "structure",
  470. "members": {}
  471. },
  472. "endpoint": {
  473. "hostPrefix": "api."
  474. }
  475. },
  476. "UntagResource": {
  477. "http": {
  478. "method": "DELETE",
  479. "requestUri": "/tags/{ResourceArn}",
  480. "responseCode": 200
  481. },
  482. "input": {
  483. "type": "structure",
  484. "required": [
  485. "ResourceArn",
  486. "tagKeys"
  487. ],
  488. "members": {
  489. "ResourceArn": {
  490. "location": "uri",
  491. "locationName": "ResourceArn"
  492. },
  493. "tagKeys": {
  494. "location": "querystring",
  495. "locationName": "tagKeys",
  496. "type": "list",
  497. "member": {}
  498. }
  499. }
  500. },
  501. "output": {
  502. "type": "structure",
  503. "members": {}
  504. },
  505. "endpoint": {
  506. "hostPrefix": "api."
  507. },
  508. "idempotent": true
  509. },
  510. "UpdateEnvironment": {
  511. "http": {
  512. "method": "PATCH",
  513. "requestUri": "/environments/{Name}",
  514. "responseCode": 200
  515. },
  516. "input": {
  517. "type": "structure",
  518. "required": [
  519. "Name"
  520. ],
  521. "members": {
  522. "AirflowConfigurationOptions": {
  523. "shape": "S7"
  524. },
  525. "AirflowVersion": {},
  526. "DagS3Path": {},
  527. "EnvironmentClass": {},
  528. "ExecutionRoleArn": {},
  529. "LoggingConfiguration": {
  530. "shape": "Sg"
  531. },
  532. "MaxWorkers": {
  533. "type": "integer"
  534. },
  535. "MinWorkers": {
  536. "type": "integer"
  537. },
  538. "Name": {
  539. "location": "uri",
  540. "locationName": "Name"
  541. },
  542. "NetworkConfiguration": {
  543. "type": "structure",
  544. "required": [
  545. "SecurityGroupIds"
  546. ],
  547. "members": {
  548. "SecurityGroupIds": {
  549. "shape": "Sn"
  550. }
  551. }
  552. },
  553. "PluginsS3ObjectVersion": {},
  554. "PluginsS3Path": {},
  555. "RequirementsS3ObjectVersion": {},
  556. "RequirementsS3Path": {},
  557. "Schedulers": {
  558. "type": "integer"
  559. },
  560. "SourceBucketArn": {},
  561. "StartupScriptS3ObjectVersion": {},
  562. "StartupScriptS3Path": {},
  563. "WebserverAccessMode": {},
  564. "WeeklyMaintenanceWindowStart": {}
  565. }
  566. },
  567. "output": {
  568. "type": "structure",
  569. "members": {
  570. "Arn": {}
  571. }
  572. },
  573. "endpoint": {
  574. "hostPrefix": "api."
  575. }
  576. }
  577. },
  578. "shapes": {
  579. "S4": {
  580. "type": "string",
  581. "sensitive": true
  582. },
  583. "S7": {
  584. "type": "map",
  585. "key": {},
  586. "value": {
  587. "type": "string",
  588. "sensitive": true
  589. },
  590. "sensitive": true
  591. },
  592. "Sg": {
  593. "type": "structure",
  594. "members": {
  595. "DagProcessingLogs": {
  596. "shape": "Sh"
  597. },
  598. "SchedulerLogs": {
  599. "shape": "Sh"
  600. },
  601. "TaskLogs": {
  602. "shape": "Sh"
  603. },
  604. "WebserverLogs": {
  605. "shape": "Sh"
  606. },
  607. "WorkerLogs": {
  608. "shape": "Sh"
  609. }
  610. }
  611. },
  612. "Sh": {
  613. "type": "structure",
  614. "required": [
  615. "Enabled",
  616. "LogLevel"
  617. ],
  618. "members": {
  619. "Enabled": {
  620. "type": "boolean"
  621. },
  622. "LogLevel": {}
  623. }
  624. },
  625. "Sm": {
  626. "type": "structure",
  627. "members": {
  628. "SecurityGroupIds": {
  629. "shape": "Sn"
  630. },
  631. "SubnetIds": {
  632. "type": "list",
  633. "member": {}
  634. }
  635. }
  636. },
  637. "Sn": {
  638. "type": "list",
  639. "member": {}
  640. },
  641. "Su": {
  642. "type": "map",
  643. "key": {},
  644. "value": {}
  645. },
  646. "S1l": {
  647. "type": "structure",
  648. "members": {
  649. "CloudWatchLogGroupArn": {},
  650. "Enabled": {
  651. "type": "boolean"
  652. },
  653. "LogLevel": {}
  654. }
  655. }
  656. }
  657. }