api-2.json 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2014-03-28",
  5. "endpointPrefix":"logs",
  6. "jsonVersion":"1.1",
  7. "protocol":"json",
  8. "serviceFullName":"Amazon CloudWatch Logs",
  9. "signatureVersion":"v4",
  10. "targetPrefix":"Logs_20140328"
  11. },
  12. "operations":{
  13. "CancelExportTask":{
  14. "name":"CancelExportTask",
  15. "http":{
  16. "method":"POST",
  17. "requestUri":"/"
  18. },
  19. "input":{"shape":"CancelExportTaskRequest"},
  20. "errors":[
  21. {"shape":"InvalidParameterException"},
  22. {"shape":"ResourceNotFoundException"},
  23. {"shape":"InvalidOperationException"},
  24. {"shape":"ServiceUnavailableException"}
  25. ]
  26. },
  27. "CreateExportTask":{
  28. "name":"CreateExportTask",
  29. "http":{
  30. "method":"POST",
  31. "requestUri":"/"
  32. },
  33. "input":{"shape":"CreateExportTaskRequest"},
  34. "output":{"shape":"CreateExportTaskResponse"},
  35. "errors":[
  36. {"shape":"InvalidParameterException"},
  37. {"shape":"LimitExceededException"},
  38. {"shape":"OperationAbortedException"},
  39. {"shape":"ServiceUnavailableException"},
  40. {"shape":"ResourceNotFoundException"},
  41. {"shape":"ResourceAlreadyExistsException"}
  42. ]
  43. },
  44. "CreateLogGroup":{
  45. "name":"CreateLogGroup",
  46. "http":{
  47. "method":"POST",
  48. "requestUri":"/"
  49. },
  50. "input":{"shape":"CreateLogGroupRequest"},
  51. "errors":[
  52. {"shape":"InvalidParameterException"},
  53. {"shape":"ResourceAlreadyExistsException"},
  54. {"shape":"LimitExceededException"},
  55. {"shape":"OperationAbortedException"},
  56. {"shape":"ServiceUnavailableException"}
  57. ]
  58. },
  59. "CreateLogStream":{
  60. "name":"CreateLogStream",
  61. "http":{
  62. "method":"POST",
  63. "requestUri":"/"
  64. },
  65. "input":{"shape":"CreateLogStreamRequest"},
  66. "errors":[
  67. {"shape":"InvalidParameterException"},
  68. {"shape":"ResourceAlreadyExistsException"},
  69. {"shape":"ResourceNotFoundException"},
  70. {"shape":"ServiceUnavailableException"}
  71. ]
  72. },
  73. "DeleteDestination":{
  74. "name":"DeleteDestination",
  75. "http":{
  76. "method":"POST",
  77. "requestUri":"/"
  78. },
  79. "input":{"shape":"DeleteDestinationRequest"},
  80. "errors":[
  81. {"shape":"InvalidParameterException"},
  82. {"shape":"ResourceNotFoundException"},
  83. {"shape":"OperationAbortedException"},
  84. {"shape":"ServiceUnavailableException"}
  85. ]
  86. },
  87. "DeleteLogGroup":{
  88. "name":"DeleteLogGroup",
  89. "http":{
  90. "method":"POST",
  91. "requestUri":"/"
  92. },
  93. "input":{"shape":"DeleteLogGroupRequest"},
  94. "errors":[
  95. {"shape":"InvalidParameterException"},
  96. {"shape":"ResourceNotFoundException"},
  97. {"shape":"OperationAbortedException"},
  98. {"shape":"ServiceUnavailableException"}
  99. ]
  100. },
  101. "DeleteLogStream":{
  102. "name":"DeleteLogStream",
  103. "http":{
  104. "method":"POST",
  105. "requestUri":"/"
  106. },
  107. "input":{"shape":"DeleteLogStreamRequest"},
  108. "errors":[
  109. {"shape":"InvalidParameterException"},
  110. {"shape":"ResourceNotFoundException"},
  111. {"shape":"OperationAbortedException"},
  112. {"shape":"ServiceUnavailableException"}
  113. ]
  114. },
  115. "DeleteMetricFilter":{
  116. "name":"DeleteMetricFilter",
  117. "http":{
  118. "method":"POST",
  119. "requestUri":"/"
  120. },
  121. "input":{"shape":"DeleteMetricFilterRequest"},
  122. "errors":[
  123. {"shape":"InvalidParameterException"},
  124. {"shape":"ResourceNotFoundException"},
  125. {"shape":"OperationAbortedException"},
  126. {"shape":"ServiceUnavailableException"}
  127. ]
  128. },
  129. "DeleteRetentionPolicy":{
  130. "name":"DeleteRetentionPolicy",
  131. "http":{
  132. "method":"POST",
  133. "requestUri":"/"
  134. },
  135. "input":{"shape":"DeleteRetentionPolicyRequest"},
  136. "errors":[
  137. {"shape":"InvalidParameterException"},
  138. {"shape":"ResourceNotFoundException"},
  139. {"shape":"OperationAbortedException"},
  140. {"shape":"ServiceUnavailableException"}
  141. ]
  142. },
  143. "DeleteSubscriptionFilter":{
  144. "name":"DeleteSubscriptionFilter",
  145. "http":{
  146. "method":"POST",
  147. "requestUri":"/"
  148. },
  149. "input":{"shape":"DeleteSubscriptionFilterRequest"},
  150. "errors":[
  151. {"shape":"InvalidParameterException"},
  152. {"shape":"ResourceNotFoundException"},
  153. {"shape":"OperationAbortedException"},
  154. {"shape":"ServiceUnavailableException"}
  155. ]
  156. },
  157. "DescribeDestinations":{
  158. "name":"DescribeDestinations",
  159. "http":{
  160. "method":"POST",
  161. "requestUri":"/"
  162. },
  163. "input":{"shape":"DescribeDestinationsRequest"},
  164. "output":{"shape":"DescribeDestinationsResponse"},
  165. "errors":[
  166. {"shape":"InvalidParameterException"},
  167. {"shape":"ServiceUnavailableException"}
  168. ]
  169. },
  170. "DescribeExportTasks":{
  171. "name":"DescribeExportTasks",
  172. "http":{
  173. "method":"POST",
  174. "requestUri":"/"
  175. },
  176. "input":{"shape":"DescribeExportTasksRequest"},
  177. "output":{"shape":"DescribeExportTasksResponse"},
  178. "errors":[
  179. {"shape":"InvalidParameterException"},
  180. {"shape":"ServiceUnavailableException"}
  181. ]
  182. },
  183. "DescribeLogGroups":{
  184. "name":"DescribeLogGroups",
  185. "http":{
  186. "method":"POST",
  187. "requestUri":"/"
  188. },
  189. "input":{"shape":"DescribeLogGroupsRequest"},
  190. "output":{"shape":"DescribeLogGroupsResponse"},
  191. "errors":[
  192. {"shape":"InvalidParameterException"},
  193. {"shape":"ServiceUnavailableException"}
  194. ]
  195. },
  196. "DescribeLogStreams":{
  197. "name":"DescribeLogStreams",
  198. "http":{
  199. "method":"POST",
  200. "requestUri":"/"
  201. },
  202. "input":{"shape":"DescribeLogStreamsRequest"},
  203. "output":{"shape":"DescribeLogStreamsResponse"},
  204. "errors":[
  205. {"shape":"InvalidParameterException"},
  206. {"shape":"ResourceNotFoundException"},
  207. {"shape":"ServiceUnavailableException"}
  208. ]
  209. },
  210. "DescribeMetricFilters":{
  211. "name":"DescribeMetricFilters",
  212. "http":{
  213. "method":"POST",
  214. "requestUri":"/"
  215. },
  216. "input":{"shape":"DescribeMetricFiltersRequest"},
  217. "output":{"shape":"DescribeMetricFiltersResponse"},
  218. "errors":[
  219. {"shape":"InvalidParameterException"},
  220. {"shape":"ResourceNotFoundException"},
  221. {"shape":"ServiceUnavailableException"}
  222. ]
  223. },
  224. "DescribeSubscriptionFilters":{
  225. "name":"DescribeSubscriptionFilters",
  226. "http":{
  227. "method":"POST",
  228. "requestUri":"/"
  229. },
  230. "input":{"shape":"DescribeSubscriptionFiltersRequest"},
  231. "output":{"shape":"DescribeSubscriptionFiltersResponse"},
  232. "errors":[
  233. {"shape":"InvalidParameterException"},
  234. {"shape":"ResourceNotFoundException"},
  235. {"shape":"ServiceUnavailableException"}
  236. ]
  237. },
  238. "FilterLogEvents":{
  239. "name":"FilterLogEvents",
  240. "http":{
  241. "method":"POST",
  242. "requestUri":"/"
  243. },
  244. "input":{"shape":"FilterLogEventsRequest"},
  245. "output":{"shape":"FilterLogEventsResponse"},
  246. "errors":[
  247. {"shape":"InvalidParameterException"},
  248. {"shape":"ResourceNotFoundException"},
  249. {"shape":"ServiceUnavailableException"}
  250. ]
  251. },
  252. "GetLogEvents":{
  253. "name":"GetLogEvents",
  254. "http":{
  255. "method":"POST",
  256. "requestUri":"/"
  257. },
  258. "input":{"shape":"GetLogEventsRequest"},
  259. "output":{"shape":"GetLogEventsResponse"},
  260. "errors":[
  261. {"shape":"InvalidParameterException"},
  262. {"shape":"ResourceNotFoundException"},
  263. {"shape":"ServiceUnavailableException"}
  264. ]
  265. },
  266. "PutDestination":{
  267. "name":"PutDestination",
  268. "http":{
  269. "method":"POST",
  270. "requestUri":"/"
  271. },
  272. "input":{"shape":"PutDestinationRequest"},
  273. "output":{"shape":"PutDestinationResponse"},
  274. "errors":[
  275. {"shape":"InvalidParameterException"},
  276. {"shape":"OperationAbortedException"},
  277. {"shape":"ServiceUnavailableException"}
  278. ]
  279. },
  280. "PutDestinationPolicy":{
  281. "name":"PutDestinationPolicy",
  282. "http":{
  283. "method":"POST",
  284. "requestUri":"/"
  285. },
  286. "input":{"shape":"PutDestinationPolicyRequest"},
  287. "errors":[
  288. {"shape":"InvalidParameterException"},
  289. {"shape":"OperationAbortedException"},
  290. {"shape":"ServiceUnavailableException"}
  291. ]
  292. },
  293. "PutLogEvents":{
  294. "name":"PutLogEvents",
  295. "http":{
  296. "method":"POST",
  297. "requestUri":"/"
  298. },
  299. "input":{"shape":"PutLogEventsRequest"},
  300. "output":{"shape":"PutLogEventsResponse"},
  301. "errors":[
  302. {"shape":"InvalidParameterException"},
  303. {"shape":"InvalidSequenceTokenException"},
  304. {"shape":"DataAlreadyAcceptedException"},
  305. {"shape":"ResourceNotFoundException"},
  306. {"shape":"ServiceUnavailableException"}
  307. ]
  308. },
  309. "PutMetricFilter":{
  310. "name":"PutMetricFilter",
  311. "http":{
  312. "method":"POST",
  313. "requestUri":"/"
  314. },
  315. "input":{"shape":"PutMetricFilterRequest"},
  316. "errors":[
  317. {"shape":"InvalidParameterException"},
  318. {"shape":"ResourceNotFoundException"},
  319. {"shape":"OperationAbortedException"},
  320. {"shape":"LimitExceededException"},
  321. {"shape":"ServiceUnavailableException"}
  322. ]
  323. },
  324. "PutRetentionPolicy":{
  325. "name":"PutRetentionPolicy",
  326. "http":{
  327. "method":"POST",
  328. "requestUri":"/"
  329. },
  330. "input":{"shape":"PutRetentionPolicyRequest"},
  331. "errors":[
  332. {"shape":"InvalidParameterException"},
  333. {"shape":"ResourceNotFoundException"},
  334. {"shape":"OperationAbortedException"},
  335. {"shape":"ServiceUnavailableException"}
  336. ]
  337. },
  338. "PutSubscriptionFilter":{
  339. "name":"PutSubscriptionFilter",
  340. "http":{
  341. "method":"POST",
  342. "requestUri":"/"
  343. },
  344. "input":{"shape":"PutSubscriptionFilterRequest"},
  345. "errors":[
  346. {"shape":"InvalidParameterException"},
  347. {"shape":"ResourceNotFoundException"},
  348. {"shape":"OperationAbortedException"},
  349. {"shape":"LimitExceededException"},
  350. {"shape":"ServiceUnavailableException"}
  351. ]
  352. },
  353. "TestMetricFilter":{
  354. "name":"TestMetricFilter",
  355. "http":{
  356. "method":"POST",
  357. "requestUri":"/"
  358. },
  359. "input":{"shape":"TestMetricFilterRequest"},
  360. "output":{"shape":"TestMetricFilterResponse"},
  361. "errors":[
  362. {"shape":"InvalidParameterException"},
  363. {"shape":"ServiceUnavailableException"}
  364. ]
  365. }
  366. },
  367. "shapes":{
  368. "AccessPolicy":{
  369. "type":"string",
  370. "min":1
  371. },
  372. "Arn":{"type":"string"},
  373. "CancelExportTaskRequest":{
  374. "type":"structure",
  375. "required":["taskId"],
  376. "members":{
  377. "taskId":{"shape":"ExportTaskId"}
  378. }
  379. },
  380. "CreateExportTaskRequest":{
  381. "type":"structure",
  382. "required":[
  383. "logGroupName",
  384. "from",
  385. "to",
  386. "destination"
  387. ],
  388. "members":{
  389. "taskName":{"shape":"ExportTaskName"},
  390. "logGroupName":{"shape":"LogGroupName"},
  391. "logStreamNamePrefix":{"shape":"LogStreamName"},
  392. "from":{"shape":"Timestamp"},
  393. "to":{"shape":"Timestamp"},
  394. "destination":{"shape":"ExportDestinationBucket"},
  395. "destinationPrefix":{"shape":"ExportDestinationPrefix"}
  396. }
  397. },
  398. "CreateExportTaskResponse":{
  399. "type":"structure",
  400. "members":{
  401. "taskId":{"shape":"ExportTaskId"}
  402. }
  403. },
  404. "CreateLogGroupRequest":{
  405. "type":"structure",
  406. "required":["logGroupName"],
  407. "members":{
  408. "logGroupName":{"shape":"LogGroupName"}
  409. }
  410. },
  411. "CreateLogStreamRequest":{
  412. "type":"structure",
  413. "required":[
  414. "logGroupName",
  415. "logStreamName"
  416. ],
  417. "members":{
  418. "logGroupName":{"shape":"LogGroupName"},
  419. "logStreamName":{"shape":"LogStreamName"}
  420. }
  421. },
  422. "DataAlreadyAcceptedException":{
  423. "type":"structure",
  424. "members":{
  425. "expectedSequenceToken":{"shape":"SequenceToken"}
  426. },
  427. "exception":true
  428. },
  429. "Days":{"type":"integer"},
  430. "DefaultValue":{"type":"double"},
  431. "DeleteDestinationRequest":{
  432. "type":"structure",
  433. "required":["destinationName"],
  434. "members":{
  435. "destinationName":{"shape":"DestinationName"}
  436. }
  437. },
  438. "DeleteLogGroupRequest":{
  439. "type":"structure",
  440. "required":["logGroupName"],
  441. "members":{
  442. "logGroupName":{"shape":"LogGroupName"}
  443. }
  444. },
  445. "DeleteLogStreamRequest":{
  446. "type":"structure",
  447. "required":[
  448. "logGroupName",
  449. "logStreamName"
  450. ],
  451. "members":{
  452. "logGroupName":{"shape":"LogGroupName"},
  453. "logStreamName":{"shape":"LogStreamName"}
  454. }
  455. },
  456. "DeleteMetricFilterRequest":{
  457. "type":"structure",
  458. "required":[
  459. "logGroupName",
  460. "filterName"
  461. ],
  462. "members":{
  463. "logGroupName":{"shape":"LogGroupName"},
  464. "filterName":{"shape":"FilterName"}
  465. }
  466. },
  467. "DeleteRetentionPolicyRequest":{
  468. "type":"structure",
  469. "required":["logGroupName"],
  470. "members":{
  471. "logGroupName":{"shape":"LogGroupName"}
  472. }
  473. },
  474. "DeleteSubscriptionFilterRequest":{
  475. "type":"structure",
  476. "required":[
  477. "logGroupName",
  478. "filterName"
  479. ],
  480. "members":{
  481. "logGroupName":{"shape":"LogGroupName"},
  482. "filterName":{"shape":"FilterName"}
  483. }
  484. },
  485. "Descending":{"type":"boolean"},
  486. "DescribeDestinationsRequest":{
  487. "type":"structure",
  488. "members":{
  489. "DestinationNamePrefix":{"shape":"DestinationName"},
  490. "nextToken":{"shape":"NextToken"},
  491. "limit":{"shape":"DescribeLimit"}
  492. }
  493. },
  494. "DescribeDestinationsResponse":{
  495. "type":"structure",
  496. "members":{
  497. "destinations":{"shape":"Destinations"},
  498. "nextToken":{"shape":"NextToken"}
  499. }
  500. },
  501. "DescribeExportTasksRequest":{
  502. "type":"structure",
  503. "members":{
  504. "taskId":{"shape":"ExportTaskId"},
  505. "statusCode":{"shape":"ExportTaskStatusCode"},
  506. "nextToken":{"shape":"NextToken"},
  507. "limit":{"shape":"DescribeLimit"}
  508. }
  509. },
  510. "DescribeExportTasksResponse":{
  511. "type":"structure",
  512. "members":{
  513. "exportTasks":{"shape":"ExportTasks"},
  514. "nextToken":{"shape":"NextToken"}
  515. }
  516. },
  517. "DescribeLimit":{
  518. "type":"integer",
  519. "max":50,
  520. "min":1
  521. },
  522. "DescribeLogGroupsRequest":{
  523. "type":"structure",
  524. "members":{
  525. "logGroupNamePrefix":{"shape":"LogGroupName"},
  526. "nextToken":{"shape":"NextToken"},
  527. "limit":{"shape":"DescribeLimit"}
  528. }
  529. },
  530. "DescribeLogGroupsResponse":{
  531. "type":"structure",
  532. "members":{
  533. "logGroups":{"shape":"LogGroups"},
  534. "nextToken":{"shape":"NextToken"}
  535. }
  536. },
  537. "DescribeLogStreamsRequest":{
  538. "type":"structure",
  539. "required":["logGroupName"],
  540. "members":{
  541. "logGroupName":{"shape":"LogGroupName"},
  542. "logStreamNamePrefix":{"shape":"LogStreamName"},
  543. "orderBy":{"shape":"OrderBy"},
  544. "descending":{"shape":"Descending"},
  545. "nextToken":{"shape":"NextToken"},
  546. "limit":{"shape":"DescribeLimit"}
  547. }
  548. },
  549. "DescribeLogStreamsResponse":{
  550. "type":"structure",
  551. "members":{
  552. "logStreams":{"shape":"LogStreams"},
  553. "nextToken":{"shape":"NextToken"}
  554. }
  555. },
  556. "DescribeMetricFiltersRequest":{
  557. "type":"structure",
  558. "required":["logGroupName"],
  559. "members":{
  560. "logGroupName":{"shape":"LogGroupName"},
  561. "filterNamePrefix":{"shape":"FilterName"},
  562. "nextToken":{"shape":"NextToken"},
  563. "limit":{"shape":"DescribeLimit"}
  564. }
  565. },
  566. "DescribeMetricFiltersResponse":{
  567. "type":"structure",
  568. "members":{
  569. "metricFilters":{"shape":"MetricFilters"},
  570. "nextToken":{"shape":"NextToken"}
  571. }
  572. },
  573. "DescribeSubscriptionFiltersRequest":{
  574. "type":"structure",
  575. "required":["logGroupName"],
  576. "members":{
  577. "logGroupName":{"shape":"LogGroupName"},
  578. "filterNamePrefix":{"shape":"FilterName"},
  579. "nextToken":{"shape":"NextToken"},
  580. "limit":{"shape":"DescribeLimit"}
  581. }
  582. },
  583. "DescribeSubscriptionFiltersResponse":{
  584. "type":"structure",
  585. "members":{
  586. "subscriptionFilters":{"shape":"SubscriptionFilters"},
  587. "nextToken":{"shape":"NextToken"}
  588. }
  589. },
  590. "Destination":{
  591. "type":"structure",
  592. "members":{
  593. "destinationName":{"shape":"DestinationName"},
  594. "targetArn":{"shape":"TargetArn"},
  595. "roleArn":{"shape":"RoleArn"},
  596. "accessPolicy":{"shape":"AccessPolicy"},
  597. "arn":{"shape":"Arn"},
  598. "creationTime":{"shape":"Timestamp"}
  599. }
  600. },
  601. "DestinationArn":{
  602. "type":"string",
  603. "min":1
  604. },
  605. "DestinationName":{
  606. "type":"string",
  607. "max":512,
  608. "min":1,
  609. "pattern":"[^:*]*"
  610. },
  611. "Destinations":{
  612. "type":"list",
  613. "member":{"shape":"Destination"}
  614. },
  615. "EventId":{"type":"string"},
  616. "EventMessage":{
  617. "type":"string",
  618. "min":1
  619. },
  620. "EventNumber":{"type":"long"},
  621. "EventsLimit":{
  622. "type":"integer",
  623. "max":10000,
  624. "min":1
  625. },
  626. "ExportDestinationBucket":{
  627. "type":"string",
  628. "max":512,
  629. "min":1
  630. },
  631. "ExportDestinationPrefix":{"type":"string"},
  632. "ExportTask":{
  633. "type":"structure",
  634. "members":{
  635. "taskId":{"shape":"ExportTaskId"},
  636. "taskName":{"shape":"ExportTaskName"},
  637. "logGroupName":{"shape":"LogGroupName"},
  638. "from":{"shape":"Timestamp"},
  639. "to":{"shape":"Timestamp"},
  640. "destination":{"shape":"ExportDestinationBucket"},
  641. "destinationPrefix":{"shape":"ExportDestinationPrefix"},
  642. "status":{"shape":"ExportTaskStatus"},
  643. "executionInfo":{"shape":"ExportTaskExecutionInfo"}
  644. }
  645. },
  646. "ExportTaskExecutionInfo":{
  647. "type":"structure",
  648. "members":{
  649. "creationTime":{"shape":"Timestamp"},
  650. "completionTime":{"shape":"Timestamp"}
  651. }
  652. },
  653. "ExportTaskId":{
  654. "type":"string",
  655. "max":512,
  656. "min":1
  657. },
  658. "ExportTaskName":{
  659. "type":"string",
  660. "max":512,
  661. "min":1
  662. },
  663. "ExportTaskStatus":{
  664. "type":"structure",
  665. "members":{
  666. "code":{"shape":"ExportTaskStatusCode"},
  667. "message":{"shape":"ExportTaskStatusMessage"}
  668. }
  669. },
  670. "ExportTaskStatusCode":{
  671. "type":"string",
  672. "enum":[
  673. "CANCELLED",
  674. "COMPLETED",
  675. "FAILED",
  676. "PENDING",
  677. "PENDING_CANCEL",
  678. "RUNNING"
  679. ]
  680. },
  681. "ExportTaskStatusMessage":{"type":"string"},
  682. "ExportTasks":{
  683. "type":"list",
  684. "member":{"shape":"ExportTask"}
  685. },
  686. "ExtractedValues":{
  687. "type":"map",
  688. "key":{"shape":"Token"},
  689. "value":{"shape":"Value"}
  690. },
  691. "FilterCount":{"type":"integer"},
  692. "FilterLogEventsRequest":{
  693. "type":"structure",
  694. "required":["logGroupName"],
  695. "members":{
  696. "logGroupName":{"shape":"LogGroupName"},
  697. "logStreamNames":{"shape":"InputLogStreamNames"},
  698. "startTime":{"shape":"Timestamp"},
  699. "endTime":{"shape":"Timestamp"},
  700. "filterPattern":{"shape":"FilterPattern"},
  701. "nextToken":{"shape":"NextToken"},
  702. "limit":{"shape":"EventsLimit"},
  703. "interleaved":{"shape":"Interleaved"}
  704. }
  705. },
  706. "FilterLogEventsResponse":{
  707. "type":"structure",
  708. "members":{
  709. "events":{"shape":"FilteredLogEvents"},
  710. "searchedLogStreams":{"shape":"SearchedLogStreams"},
  711. "nextToken":{"shape":"NextToken"}
  712. }
  713. },
  714. "FilterName":{
  715. "type":"string",
  716. "max":512,
  717. "min":1,
  718. "pattern":"[^:*]*"
  719. },
  720. "FilterPattern":{
  721. "type":"string",
  722. "max":1024,
  723. "min":0
  724. },
  725. "FilteredLogEvent":{
  726. "type":"structure",
  727. "members":{
  728. "logStreamName":{"shape":"LogStreamName"},
  729. "timestamp":{"shape":"Timestamp"},
  730. "message":{"shape":"EventMessage"},
  731. "ingestionTime":{"shape":"Timestamp"},
  732. "eventId":{"shape":"EventId"}
  733. }
  734. },
  735. "FilteredLogEvents":{
  736. "type":"list",
  737. "member":{"shape":"FilteredLogEvent"}
  738. },
  739. "GetLogEventsRequest":{
  740. "type":"structure",
  741. "required":[
  742. "logGroupName",
  743. "logStreamName"
  744. ],
  745. "members":{
  746. "logGroupName":{"shape":"LogGroupName"},
  747. "logStreamName":{"shape":"LogStreamName"},
  748. "startTime":{"shape":"Timestamp"},
  749. "endTime":{"shape":"Timestamp"},
  750. "nextToken":{"shape":"NextToken"},
  751. "limit":{"shape":"EventsLimit"},
  752. "startFromHead":{"shape":"StartFromHead"}
  753. }
  754. },
  755. "GetLogEventsResponse":{
  756. "type":"structure",
  757. "members":{
  758. "events":{"shape":"OutputLogEvents"},
  759. "nextForwardToken":{"shape":"NextToken"},
  760. "nextBackwardToken":{"shape":"NextToken"}
  761. }
  762. },
  763. "InputLogEvent":{
  764. "type":"structure",
  765. "required":[
  766. "timestamp",
  767. "message"
  768. ],
  769. "members":{
  770. "timestamp":{"shape":"Timestamp"},
  771. "message":{"shape":"EventMessage"}
  772. }
  773. },
  774. "InputLogEvents":{
  775. "type":"list",
  776. "member":{"shape":"InputLogEvent"},
  777. "max":10000,
  778. "min":1
  779. },
  780. "InputLogStreamNames":{
  781. "type":"list",
  782. "member":{"shape":"LogStreamName"},
  783. "max":100,
  784. "min":1
  785. },
  786. "Interleaved":{"type":"boolean"},
  787. "InvalidOperationException":{
  788. "type":"structure",
  789. "members":{
  790. },
  791. "exception":true
  792. },
  793. "InvalidParameterException":{
  794. "type":"structure",
  795. "members":{
  796. },
  797. "exception":true
  798. },
  799. "InvalidSequenceTokenException":{
  800. "type":"structure",
  801. "members":{
  802. "expectedSequenceToken":{"shape":"SequenceToken"}
  803. },
  804. "exception":true
  805. },
  806. "LimitExceededException":{
  807. "type":"structure",
  808. "members":{
  809. },
  810. "exception":true
  811. },
  812. "LogEventIndex":{"type":"integer"},
  813. "LogGroup":{
  814. "type":"structure",
  815. "members":{
  816. "logGroupName":{"shape":"LogGroupName"},
  817. "creationTime":{"shape":"Timestamp"},
  818. "retentionInDays":{"shape":"Days"},
  819. "metricFilterCount":{"shape":"FilterCount"},
  820. "arn":{"shape":"Arn"},
  821. "storedBytes":{"shape":"StoredBytes"}
  822. }
  823. },
  824. "LogGroupName":{
  825. "type":"string",
  826. "max":512,
  827. "min":1,
  828. "pattern":"[\\.\\-_/#A-Za-z0-9]+"
  829. },
  830. "LogGroups":{
  831. "type":"list",
  832. "member":{"shape":"LogGroup"}
  833. },
  834. "LogStream":{
  835. "type":"structure",
  836. "members":{
  837. "logStreamName":{"shape":"LogStreamName"},
  838. "creationTime":{"shape":"Timestamp"},
  839. "firstEventTimestamp":{"shape":"Timestamp"},
  840. "lastEventTimestamp":{"shape":"Timestamp"},
  841. "lastIngestionTime":{"shape":"Timestamp"},
  842. "uploadSequenceToken":{"shape":"SequenceToken"},
  843. "arn":{"shape":"Arn"},
  844. "storedBytes":{"shape":"StoredBytes"}
  845. }
  846. },
  847. "LogStreamName":{
  848. "type":"string",
  849. "max":512,
  850. "min":1,
  851. "pattern":"[^:*]*"
  852. },
  853. "LogStreamSearchedCompletely":{"type":"boolean"},
  854. "LogStreams":{
  855. "type":"list",
  856. "member":{"shape":"LogStream"}
  857. },
  858. "MetricFilter":{
  859. "type":"structure",
  860. "members":{
  861. "filterName":{"shape":"FilterName"},
  862. "filterPattern":{"shape":"FilterPattern"},
  863. "metricTransformations":{"shape":"MetricTransformations"},
  864. "creationTime":{"shape":"Timestamp"}
  865. }
  866. },
  867. "MetricFilterMatchRecord":{
  868. "type":"structure",
  869. "members":{
  870. "eventNumber":{"shape":"EventNumber"},
  871. "eventMessage":{"shape":"EventMessage"},
  872. "extractedValues":{"shape":"ExtractedValues"}
  873. }
  874. },
  875. "MetricFilterMatches":{
  876. "type":"list",
  877. "member":{"shape":"MetricFilterMatchRecord"}
  878. },
  879. "MetricFilters":{
  880. "type":"list",
  881. "member":{"shape":"MetricFilter"}
  882. },
  883. "MetricName":{
  884. "type":"string",
  885. "max":255,
  886. "pattern":"[^:*$]*"
  887. },
  888. "MetricNamespace":{
  889. "type":"string",
  890. "max":255,
  891. "pattern":"[^:*$]*"
  892. },
  893. "MetricTransformation":{
  894. "type":"structure",
  895. "required":[
  896. "metricName",
  897. "metricNamespace",
  898. "metricValue"
  899. ],
  900. "members":{
  901. "metricName":{"shape":"MetricName"},
  902. "metricNamespace":{"shape":"MetricNamespace"},
  903. "metricValue":{"shape":"MetricValue"},
  904. "defaultValue":{"shape":"DefaultValue"}
  905. }
  906. },
  907. "MetricTransformations":{
  908. "type":"list",
  909. "member":{"shape":"MetricTransformation"},
  910. "max":1,
  911. "min":1
  912. },
  913. "MetricValue":{
  914. "type":"string",
  915. "max":100
  916. },
  917. "NextToken":{
  918. "type":"string",
  919. "min":1
  920. },
  921. "OperationAbortedException":{
  922. "type":"structure",
  923. "members":{
  924. },
  925. "exception":true
  926. },
  927. "OrderBy":{
  928. "type":"string",
  929. "enum":[
  930. "LogStreamName",
  931. "LastEventTime"
  932. ]
  933. },
  934. "OutputLogEvent":{
  935. "type":"structure",
  936. "members":{
  937. "timestamp":{"shape":"Timestamp"},
  938. "message":{"shape":"EventMessage"},
  939. "ingestionTime":{"shape":"Timestamp"}
  940. }
  941. },
  942. "OutputLogEvents":{
  943. "type":"list",
  944. "member":{"shape":"OutputLogEvent"}
  945. },
  946. "PutDestinationPolicyRequest":{
  947. "type":"structure",
  948. "required":[
  949. "destinationName",
  950. "accessPolicy"
  951. ],
  952. "members":{
  953. "destinationName":{"shape":"DestinationName"},
  954. "accessPolicy":{"shape":"AccessPolicy"}
  955. }
  956. },
  957. "PutDestinationRequest":{
  958. "type":"structure",
  959. "required":[
  960. "destinationName",
  961. "targetArn",
  962. "roleArn"
  963. ],
  964. "members":{
  965. "destinationName":{"shape":"DestinationName"},
  966. "targetArn":{"shape":"TargetArn"},
  967. "roleArn":{"shape":"RoleArn"}
  968. }
  969. },
  970. "PutDestinationResponse":{
  971. "type":"structure",
  972. "members":{
  973. "destination":{"shape":"Destination"}
  974. }
  975. },
  976. "PutLogEventsRequest":{
  977. "type":"structure",
  978. "required":[
  979. "logGroupName",
  980. "logStreamName",
  981. "logEvents"
  982. ],
  983. "members":{
  984. "logGroupName":{"shape":"LogGroupName"},
  985. "logStreamName":{"shape":"LogStreamName"},
  986. "logEvents":{"shape":"InputLogEvents"},
  987. "sequenceToken":{"shape":"SequenceToken"}
  988. }
  989. },
  990. "PutLogEventsResponse":{
  991. "type":"structure",
  992. "members":{
  993. "nextSequenceToken":{"shape":"SequenceToken"},
  994. "rejectedLogEventsInfo":{"shape":"RejectedLogEventsInfo"}
  995. }
  996. },
  997. "PutMetricFilterRequest":{
  998. "type":"structure",
  999. "required":[
  1000. "logGroupName",
  1001. "filterName",
  1002. "filterPattern",
  1003. "metricTransformations"
  1004. ],
  1005. "members":{
  1006. "logGroupName":{"shape":"LogGroupName"},
  1007. "filterName":{"shape":"FilterName"},
  1008. "filterPattern":{"shape":"FilterPattern"},
  1009. "metricTransformations":{"shape":"MetricTransformations"}
  1010. }
  1011. },
  1012. "PutRetentionPolicyRequest":{
  1013. "type":"structure",
  1014. "required":[
  1015. "logGroupName",
  1016. "retentionInDays"
  1017. ],
  1018. "members":{
  1019. "logGroupName":{"shape":"LogGroupName"},
  1020. "retentionInDays":{"shape":"Days"}
  1021. }
  1022. },
  1023. "PutSubscriptionFilterRequest":{
  1024. "type":"structure",
  1025. "required":[
  1026. "logGroupName",
  1027. "filterName",
  1028. "filterPattern",
  1029. "destinationArn"
  1030. ],
  1031. "members":{
  1032. "logGroupName":{"shape":"LogGroupName"},
  1033. "filterName":{"shape":"FilterName"},
  1034. "filterPattern":{"shape":"FilterPattern"},
  1035. "destinationArn":{"shape":"DestinationArn"},
  1036. "roleArn":{"shape":"RoleArn"}
  1037. }
  1038. },
  1039. "RejectedLogEventsInfo":{
  1040. "type":"structure",
  1041. "members":{
  1042. "tooNewLogEventStartIndex":{"shape":"LogEventIndex"},
  1043. "tooOldLogEventEndIndex":{"shape":"LogEventIndex"},
  1044. "expiredLogEventEndIndex":{"shape":"LogEventIndex"}
  1045. }
  1046. },
  1047. "ResourceAlreadyExistsException":{
  1048. "type":"structure",
  1049. "members":{
  1050. },
  1051. "exception":true
  1052. },
  1053. "ResourceNotFoundException":{
  1054. "type":"structure",
  1055. "members":{
  1056. },
  1057. "exception":true
  1058. },
  1059. "RoleArn":{
  1060. "type":"string",
  1061. "min":1
  1062. },
  1063. "SearchedLogStream":{
  1064. "type":"structure",
  1065. "members":{
  1066. "logStreamName":{"shape":"LogStreamName"},
  1067. "searchedCompletely":{"shape":"LogStreamSearchedCompletely"}
  1068. }
  1069. },
  1070. "SearchedLogStreams":{
  1071. "type":"list",
  1072. "member":{"shape":"SearchedLogStream"}
  1073. },
  1074. "SequenceToken":{
  1075. "type":"string",
  1076. "min":1
  1077. },
  1078. "ServiceUnavailableException":{
  1079. "type":"structure",
  1080. "members":{
  1081. },
  1082. "exception":true,
  1083. "fault":true
  1084. },
  1085. "StartFromHead":{"type":"boolean"},
  1086. "StoredBytes":{
  1087. "type":"long",
  1088. "min":0
  1089. },
  1090. "SubscriptionFilter":{
  1091. "type":"structure",
  1092. "members":{
  1093. "filterName":{"shape":"FilterName"},
  1094. "logGroupName":{"shape":"LogGroupName"},
  1095. "filterPattern":{"shape":"FilterPattern"},
  1096. "destinationArn":{"shape":"DestinationArn"},
  1097. "roleArn":{"shape":"RoleArn"},
  1098. "creationTime":{"shape":"Timestamp"}
  1099. }
  1100. },
  1101. "SubscriptionFilters":{
  1102. "type":"list",
  1103. "member":{"shape":"SubscriptionFilter"}
  1104. },
  1105. "TargetArn":{
  1106. "type":"string",
  1107. "min":1
  1108. },
  1109. "TestEventMessages":{
  1110. "type":"list",
  1111. "member":{"shape":"EventMessage"},
  1112. "max":50,
  1113. "min":1
  1114. },
  1115. "TestMetricFilterRequest":{
  1116. "type":"structure",
  1117. "required":[
  1118. "filterPattern",
  1119. "logEventMessages"
  1120. ],
  1121. "members":{
  1122. "filterPattern":{"shape":"FilterPattern"},
  1123. "logEventMessages":{"shape":"TestEventMessages"}
  1124. }
  1125. },
  1126. "TestMetricFilterResponse":{
  1127. "type":"structure",
  1128. "members":{
  1129. "matches":{"shape":"MetricFilterMatches"}
  1130. }
  1131. },
  1132. "Timestamp":{
  1133. "type":"long",
  1134. "min":0
  1135. },
  1136. "Token":{"type":"string"},
  1137. "Value":{"type":"string"}
  1138. }
  1139. }