api-2.json 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2013-11-01",
  5. "endpointPrefix":"cloudtrail",
  6. "jsonVersion":"1.1",
  7. "protocol":"json",
  8. "serviceAbbreviation":"CloudTrail",
  9. "serviceFullName":"AWS CloudTrail",
  10. "signatureVersion":"v4",
  11. "targetPrefix":"com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101"
  12. },
  13. "operations":{
  14. "AddTags":{
  15. "name":"AddTags",
  16. "http":{
  17. "method":"POST",
  18. "requestUri":"/"
  19. },
  20. "input":{"shape":"AddTagsRequest"},
  21. "output":{"shape":"AddTagsResponse"},
  22. "errors":[
  23. {"shape":"ResourceNotFoundException"},
  24. {"shape":"CloudTrailARNInvalidException"},
  25. {"shape":"ResourceTypeNotSupportedException"},
  26. {"shape":"TagsLimitExceededException"},
  27. {"shape":"InvalidTrailNameException"},
  28. {"shape":"InvalidTagParameterException"},
  29. {"shape":"UnsupportedOperationException"},
  30. {"shape":"OperationNotPermittedException"}
  31. ],
  32. "idempotent":true
  33. },
  34. "CreateTrail":{
  35. "name":"CreateTrail",
  36. "http":{
  37. "method":"POST",
  38. "requestUri":"/"
  39. },
  40. "input":{"shape":"CreateTrailRequest"},
  41. "output":{"shape":"CreateTrailResponse"},
  42. "errors":[
  43. {"shape":"MaximumNumberOfTrailsExceededException"},
  44. {"shape":"TrailAlreadyExistsException"},
  45. {"shape":"S3BucketDoesNotExistException"},
  46. {"shape":"InsufficientS3BucketPolicyException"},
  47. {"shape":"InsufficientSnsTopicPolicyException"},
  48. {"shape":"InsufficientEncryptionPolicyException"},
  49. {"shape":"InvalidS3BucketNameException"},
  50. {"shape":"InvalidS3PrefixException"},
  51. {"shape":"InvalidSnsTopicNameException"},
  52. {"shape":"InvalidKmsKeyIdException"},
  53. {"shape":"InvalidTrailNameException"},
  54. {"shape":"TrailNotProvidedException"},
  55. {"shape":"InvalidParameterCombinationException"},
  56. {"shape":"KmsKeyNotFoundException"},
  57. {"shape":"KmsKeyDisabledException"},
  58. {"shape":"KmsException"},
  59. {"shape":"InvalidCloudWatchLogsLogGroupArnException"},
  60. {"shape":"InvalidCloudWatchLogsRoleArnException"},
  61. {"shape":"CloudWatchLogsDeliveryUnavailableException"},
  62. {"shape":"UnsupportedOperationException"},
  63. {"shape":"OperationNotPermittedException"}
  64. ],
  65. "idempotent":true
  66. },
  67. "DeleteTrail":{
  68. "name":"DeleteTrail",
  69. "http":{
  70. "method":"POST",
  71. "requestUri":"/"
  72. },
  73. "input":{"shape":"DeleteTrailRequest"},
  74. "output":{"shape":"DeleteTrailResponse"},
  75. "errors":[
  76. {"shape":"TrailNotFoundException"},
  77. {"shape":"InvalidTrailNameException"},
  78. {"shape":"InvalidHomeRegionException"}
  79. ],
  80. "idempotent":true
  81. },
  82. "DescribeTrails":{
  83. "name":"DescribeTrails",
  84. "http":{
  85. "method":"POST",
  86. "requestUri":"/"
  87. },
  88. "input":{"shape":"DescribeTrailsRequest"},
  89. "output":{"shape":"DescribeTrailsResponse"},
  90. "errors":[
  91. {"shape":"UnsupportedOperationException"},
  92. {"shape":"OperationNotPermittedException"}
  93. ],
  94. "idempotent":true
  95. },
  96. "GetTrailStatus":{
  97. "name":"GetTrailStatus",
  98. "http":{
  99. "method":"POST",
  100. "requestUri":"/"
  101. },
  102. "input":{"shape":"GetTrailStatusRequest"},
  103. "output":{"shape":"GetTrailStatusResponse"},
  104. "errors":[
  105. {"shape":"TrailNotFoundException"},
  106. {"shape":"InvalidTrailNameException"}
  107. ],
  108. "idempotent":true
  109. },
  110. "ListPublicKeys":{
  111. "name":"ListPublicKeys",
  112. "http":{
  113. "method":"POST",
  114. "requestUri":"/"
  115. },
  116. "input":{"shape":"ListPublicKeysRequest"},
  117. "output":{"shape":"ListPublicKeysResponse"},
  118. "errors":[
  119. {"shape":"InvalidTimeRangeException"},
  120. {"shape":"UnsupportedOperationException"},
  121. {"shape":"OperationNotPermittedException"},
  122. {"shape":"InvalidTokenException"}
  123. ],
  124. "idempotent":true
  125. },
  126. "ListTags":{
  127. "name":"ListTags",
  128. "http":{
  129. "method":"POST",
  130. "requestUri":"/"
  131. },
  132. "input":{"shape":"ListTagsRequest"},
  133. "output":{"shape":"ListTagsResponse"},
  134. "errors":[
  135. {"shape":"ResourceNotFoundException"},
  136. {"shape":"CloudTrailARNInvalidException"},
  137. {"shape":"ResourceTypeNotSupportedException"},
  138. {"shape":"InvalidTrailNameException"},
  139. {"shape":"UnsupportedOperationException"},
  140. {"shape":"OperationNotPermittedException"},
  141. {"shape":"InvalidTokenException"}
  142. ],
  143. "idempotent":true
  144. },
  145. "LookupEvents":{
  146. "name":"LookupEvents",
  147. "http":{
  148. "method":"POST",
  149. "requestUri":"/"
  150. },
  151. "input":{"shape":"LookupEventsRequest"},
  152. "output":{"shape":"LookupEventsResponse"},
  153. "errors":[
  154. {"shape":"InvalidLookupAttributesException"},
  155. {"shape":"InvalidTimeRangeException"},
  156. {"shape":"InvalidMaxResultsException"},
  157. {"shape":"InvalidNextTokenException"}
  158. ],
  159. "idempotent":true
  160. },
  161. "RemoveTags":{
  162. "name":"RemoveTags",
  163. "http":{
  164. "method":"POST",
  165. "requestUri":"/"
  166. },
  167. "input":{"shape":"RemoveTagsRequest"},
  168. "output":{"shape":"RemoveTagsResponse"},
  169. "errors":[
  170. {"shape":"ResourceNotFoundException"},
  171. {"shape":"CloudTrailARNInvalidException"},
  172. {"shape":"ResourceTypeNotSupportedException"},
  173. {"shape":"InvalidTrailNameException"},
  174. {"shape":"InvalidTagParameterException"},
  175. {"shape":"UnsupportedOperationException"},
  176. {"shape":"OperationNotPermittedException"}
  177. ],
  178. "idempotent":true
  179. },
  180. "StartLogging":{
  181. "name":"StartLogging",
  182. "http":{
  183. "method":"POST",
  184. "requestUri":"/"
  185. },
  186. "input":{"shape":"StartLoggingRequest"},
  187. "output":{"shape":"StartLoggingResponse"},
  188. "errors":[
  189. {"shape":"TrailNotFoundException"},
  190. {"shape":"InvalidTrailNameException"},
  191. {"shape":"InvalidHomeRegionException"}
  192. ],
  193. "idempotent":true
  194. },
  195. "StopLogging":{
  196. "name":"StopLogging",
  197. "http":{
  198. "method":"POST",
  199. "requestUri":"/"
  200. },
  201. "input":{"shape":"StopLoggingRequest"},
  202. "output":{"shape":"StopLoggingResponse"},
  203. "errors":[
  204. {"shape":"TrailNotFoundException"},
  205. {"shape":"InvalidTrailNameException"},
  206. {"shape":"InvalidHomeRegionException"}
  207. ],
  208. "idempotent":true
  209. },
  210. "UpdateTrail":{
  211. "name":"UpdateTrail",
  212. "http":{
  213. "method":"POST",
  214. "requestUri":"/"
  215. },
  216. "input":{"shape":"UpdateTrailRequest"},
  217. "output":{"shape":"UpdateTrailResponse"},
  218. "errors":[
  219. {"shape":"S3BucketDoesNotExistException"},
  220. {"shape":"InsufficientS3BucketPolicyException"},
  221. {"shape":"InsufficientSnsTopicPolicyException"},
  222. {"shape":"InsufficientEncryptionPolicyException"},
  223. {"shape":"TrailNotFoundException"},
  224. {"shape":"InvalidS3BucketNameException"},
  225. {"shape":"InvalidS3PrefixException"},
  226. {"shape":"InvalidSnsTopicNameException"},
  227. {"shape":"InvalidKmsKeyIdException"},
  228. {"shape":"InvalidTrailNameException"},
  229. {"shape":"TrailNotProvidedException"},
  230. {"shape":"InvalidParameterCombinationException"},
  231. {"shape":"InvalidHomeRegionException"},
  232. {"shape":"KmsKeyNotFoundException"},
  233. {"shape":"KmsKeyDisabledException"},
  234. {"shape":"KmsException"},
  235. {"shape":"InvalidCloudWatchLogsLogGroupArnException"},
  236. {"shape":"InvalidCloudWatchLogsRoleArnException"},
  237. {"shape":"CloudWatchLogsDeliveryUnavailableException"},
  238. {"shape":"UnsupportedOperationException"},
  239. {"shape":"OperationNotPermittedException"}
  240. ],
  241. "idempotent":true
  242. }
  243. },
  244. "shapes":{
  245. "AddTagsRequest":{
  246. "type":"structure",
  247. "required":["ResourceId"],
  248. "members":{
  249. "ResourceId":{"shape":"String"},
  250. "TagsList":{"shape":"TagsList"}
  251. }
  252. },
  253. "AddTagsResponse":{
  254. "type":"structure",
  255. "members":{
  256. }
  257. },
  258. "Boolean":{"type":"boolean"},
  259. "ByteBuffer":{"type":"blob"},
  260. "CloudTrailARNInvalidException":{
  261. "type":"structure",
  262. "members":{
  263. },
  264. "exception":true
  265. },
  266. "CloudWatchLogsDeliveryUnavailableException":{
  267. "type":"structure",
  268. "members":{
  269. },
  270. "exception":true
  271. },
  272. "CreateTrailRequest":{
  273. "type":"structure",
  274. "required":[
  275. "Name",
  276. "S3BucketName"
  277. ],
  278. "members":{
  279. "Name":{"shape":"String"},
  280. "S3BucketName":{"shape":"String"},
  281. "S3KeyPrefix":{"shape":"String"},
  282. "SnsTopicName":{"shape":"String"},
  283. "IncludeGlobalServiceEvents":{"shape":"Boolean"},
  284. "IsMultiRegionTrail":{"shape":"Boolean"},
  285. "EnableLogFileValidation":{"shape":"Boolean"},
  286. "CloudWatchLogsLogGroupArn":{"shape":"String"},
  287. "CloudWatchLogsRoleArn":{"shape":"String"},
  288. "KmsKeyId":{"shape":"String"}
  289. }
  290. },
  291. "CreateTrailResponse":{
  292. "type":"structure",
  293. "members":{
  294. "Name":{"shape":"String"},
  295. "S3BucketName":{"shape":"String"},
  296. "S3KeyPrefix":{"shape":"String"},
  297. "SnsTopicName":{
  298. "shape":"String",
  299. "deprecated":true
  300. },
  301. "SnsTopicARN":{"shape":"String"},
  302. "IncludeGlobalServiceEvents":{"shape":"Boolean"},
  303. "IsMultiRegionTrail":{"shape":"Boolean"},
  304. "TrailARN":{"shape":"String"},
  305. "LogFileValidationEnabled":{"shape":"Boolean"},
  306. "CloudWatchLogsLogGroupArn":{"shape":"String"},
  307. "CloudWatchLogsRoleArn":{"shape":"String"},
  308. "KmsKeyId":{"shape":"String"}
  309. }
  310. },
  311. "Date":{"type":"timestamp"},
  312. "DeleteTrailRequest":{
  313. "type":"structure",
  314. "required":["Name"],
  315. "members":{
  316. "Name":{"shape":"String"}
  317. }
  318. },
  319. "DeleteTrailResponse":{
  320. "type":"structure",
  321. "members":{
  322. }
  323. },
  324. "DescribeTrailsRequest":{
  325. "type":"structure",
  326. "members":{
  327. "trailNameList":{"shape":"TrailNameList"},
  328. "includeShadowTrails":{"shape":"Boolean"}
  329. }
  330. },
  331. "DescribeTrailsResponse":{
  332. "type":"structure",
  333. "members":{
  334. "trailList":{"shape":"TrailList"}
  335. }
  336. },
  337. "Event":{
  338. "type":"structure",
  339. "members":{
  340. "EventId":{"shape":"String"},
  341. "EventName":{"shape":"String"},
  342. "EventTime":{"shape":"Date"},
  343. "Username":{"shape":"String"},
  344. "Resources":{"shape":"ResourceList"},
  345. "CloudTrailEvent":{"shape":"String"}
  346. }
  347. },
  348. "EventsList":{
  349. "type":"list",
  350. "member":{"shape":"Event"}
  351. },
  352. "GetTrailStatusRequest":{
  353. "type":"structure",
  354. "required":["Name"],
  355. "members":{
  356. "Name":{"shape":"String"}
  357. }
  358. },
  359. "GetTrailStatusResponse":{
  360. "type":"structure",
  361. "members":{
  362. "IsLogging":{"shape":"Boolean"},
  363. "LatestDeliveryError":{"shape":"String"},
  364. "LatestNotificationError":{"shape":"String"},
  365. "LatestDeliveryTime":{"shape":"Date"},
  366. "LatestNotificationTime":{"shape":"Date"},
  367. "StartLoggingTime":{"shape":"Date"},
  368. "StopLoggingTime":{"shape":"Date"},
  369. "LatestCloudWatchLogsDeliveryError":{"shape":"String"},
  370. "LatestCloudWatchLogsDeliveryTime":{"shape":"Date"},
  371. "LatestDigestDeliveryTime":{"shape":"Date"},
  372. "LatestDigestDeliveryError":{"shape":"String"},
  373. "LatestDeliveryAttemptTime":{"shape":"String"},
  374. "LatestNotificationAttemptTime":{"shape":"String"},
  375. "LatestNotificationAttemptSucceeded":{"shape":"String"},
  376. "LatestDeliveryAttemptSucceeded":{"shape":"String"},
  377. "TimeLoggingStarted":{"shape":"String"},
  378. "TimeLoggingStopped":{"shape":"String"}
  379. }
  380. },
  381. "InsufficientEncryptionPolicyException":{
  382. "type":"structure",
  383. "members":{
  384. },
  385. "exception":true
  386. },
  387. "InsufficientS3BucketPolicyException":{
  388. "type":"structure",
  389. "members":{
  390. },
  391. "exception":true
  392. },
  393. "InsufficientSnsTopicPolicyException":{
  394. "type":"structure",
  395. "members":{
  396. },
  397. "exception":true
  398. },
  399. "InvalidCloudWatchLogsLogGroupArnException":{
  400. "type":"structure",
  401. "members":{
  402. },
  403. "exception":true
  404. },
  405. "InvalidCloudWatchLogsRoleArnException":{
  406. "type":"structure",
  407. "members":{
  408. },
  409. "exception":true
  410. },
  411. "InvalidHomeRegionException":{
  412. "type":"structure",
  413. "members":{
  414. },
  415. "exception":true
  416. },
  417. "InvalidKmsKeyIdException":{
  418. "type":"structure",
  419. "members":{
  420. },
  421. "exception":true
  422. },
  423. "InvalidLookupAttributesException":{
  424. "type":"structure",
  425. "members":{
  426. },
  427. "exception":true
  428. },
  429. "InvalidMaxResultsException":{
  430. "type":"structure",
  431. "members":{
  432. },
  433. "exception":true
  434. },
  435. "InvalidNextTokenException":{
  436. "type":"structure",
  437. "members":{
  438. },
  439. "exception":true
  440. },
  441. "InvalidParameterCombinationException":{
  442. "type":"structure",
  443. "members":{
  444. },
  445. "exception":true
  446. },
  447. "InvalidS3BucketNameException":{
  448. "type":"structure",
  449. "members":{
  450. },
  451. "exception":true
  452. },
  453. "InvalidS3PrefixException":{
  454. "type":"structure",
  455. "members":{
  456. },
  457. "exception":true
  458. },
  459. "InvalidSnsTopicNameException":{
  460. "type":"structure",
  461. "members":{
  462. },
  463. "exception":true
  464. },
  465. "InvalidTagParameterException":{
  466. "type":"structure",
  467. "members":{
  468. },
  469. "exception":true
  470. },
  471. "InvalidTimeRangeException":{
  472. "type":"structure",
  473. "members":{
  474. },
  475. "exception":true
  476. },
  477. "InvalidTokenException":{
  478. "type":"structure",
  479. "members":{
  480. },
  481. "exception":true
  482. },
  483. "InvalidTrailNameException":{
  484. "type":"structure",
  485. "members":{
  486. },
  487. "exception":true
  488. },
  489. "KmsException":{
  490. "type":"structure",
  491. "members":{
  492. },
  493. "exception":true
  494. },
  495. "KmsKeyDisabledException":{
  496. "type":"structure",
  497. "members":{
  498. },
  499. "deprecated":true,
  500. "exception":true
  501. },
  502. "KmsKeyNotFoundException":{
  503. "type":"structure",
  504. "members":{
  505. },
  506. "exception":true
  507. },
  508. "ListPublicKeysRequest":{
  509. "type":"structure",
  510. "members":{
  511. "StartTime":{"shape":"Date"},
  512. "EndTime":{"shape":"Date"},
  513. "NextToken":{"shape":"String"}
  514. }
  515. },
  516. "ListPublicKeysResponse":{
  517. "type":"structure",
  518. "members":{
  519. "PublicKeyList":{"shape":"PublicKeyList"},
  520. "NextToken":{"shape":"String"}
  521. }
  522. },
  523. "ListTagsRequest":{
  524. "type":"structure",
  525. "required":["ResourceIdList"],
  526. "members":{
  527. "ResourceIdList":{"shape":"ResourceIdList"},
  528. "NextToken":{"shape":"String"}
  529. }
  530. },
  531. "ListTagsResponse":{
  532. "type":"structure",
  533. "members":{
  534. "ResourceTagList":{"shape":"ResourceTagList"},
  535. "NextToken":{"shape":"String"}
  536. }
  537. },
  538. "LookupAttribute":{
  539. "type":"structure",
  540. "required":[
  541. "AttributeKey",
  542. "AttributeValue"
  543. ],
  544. "members":{
  545. "AttributeKey":{"shape":"LookupAttributeKey"},
  546. "AttributeValue":{"shape":"String"}
  547. }
  548. },
  549. "LookupAttributeKey":{
  550. "type":"string",
  551. "enum":[
  552. "EventId",
  553. "EventName",
  554. "Username",
  555. "ResourceType",
  556. "ResourceName"
  557. ]
  558. },
  559. "LookupAttributesList":{
  560. "type":"list",
  561. "member":{"shape":"LookupAttribute"}
  562. },
  563. "LookupEventsRequest":{
  564. "type":"structure",
  565. "members":{
  566. "LookupAttributes":{"shape":"LookupAttributesList"},
  567. "StartTime":{"shape":"Date"},
  568. "EndTime":{"shape":"Date"},
  569. "MaxResults":{"shape":"MaxResults"},
  570. "NextToken":{"shape":"NextToken"}
  571. }
  572. },
  573. "LookupEventsResponse":{
  574. "type":"structure",
  575. "members":{
  576. "Events":{"shape":"EventsList"},
  577. "NextToken":{"shape":"NextToken"}
  578. }
  579. },
  580. "MaxResults":{
  581. "type":"integer",
  582. "max":50,
  583. "min":1
  584. },
  585. "MaximumNumberOfTrailsExceededException":{
  586. "type":"structure",
  587. "members":{
  588. },
  589. "exception":true
  590. },
  591. "NextToken":{"type":"string"},
  592. "OperationNotPermittedException":{
  593. "type":"structure",
  594. "members":{
  595. },
  596. "exception":true
  597. },
  598. "PublicKey":{
  599. "type":"structure",
  600. "members":{
  601. "Value":{"shape":"ByteBuffer"},
  602. "ValidityStartTime":{"shape":"Date"},
  603. "ValidityEndTime":{"shape":"Date"},
  604. "Fingerprint":{"shape":"String"}
  605. }
  606. },
  607. "PublicKeyList":{
  608. "type":"list",
  609. "member":{"shape":"PublicKey"}
  610. },
  611. "RemoveTagsRequest":{
  612. "type":"structure",
  613. "required":["ResourceId"],
  614. "members":{
  615. "ResourceId":{"shape":"String"},
  616. "TagsList":{"shape":"TagsList"}
  617. }
  618. },
  619. "RemoveTagsResponse":{
  620. "type":"structure",
  621. "members":{
  622. }
  623. },
  624. "Resource":{
  625. "type":"structure",
  626. "members":{
  627. "ResourceType":{"shape":"String"},
  628. "ResourceName":{"shape":"String"}
  629. }
  630. },
  631. "ResourceIdList":{
  632. "type":"list",
  633. "member":{"shape":"String"}
  634. },
  635. "ResourceList":{
  636. "type":"list",
  637. "member":{"shape":"Resource"}
  638. },
  639. "ResourceNotFoundException":{
  640. "type":"structure",
  641. "members":{
  642. },
  643. "exception":true
  644. },
  645. "ResourceTag":{
  646. "type":"structure",
  647. "members":{
  648. "ResourceId":{"shape":"String"},
  649. "TagsList":{"shape":"TagsList"}
  650. }
  651. },
  652. "ResourceTagList":{
  653. "type":"list",
  654. "member":{"shape":"ResourceTag"}
  655. },
  656. "ResourceTypeNotSupportedException":{
  657. "type":"structure",
  658. "members":{
  659. },
  660. "exception":true
  661. },
  662. "S3BucketDoesNotExistException":{
  663. "type":"structure",
  664. "members":{
  665. },
  666. "exception":true
  667. },
  668. "StartLoggingRequest":{
  669. "type":"structure",
  670. "required":["Name"],
  671. "members":{
  672. "Name":{"shape":"String"}
  673. }
  674. },
  675. "StartLoggingResponse":{
  676. "type":"structure",
  677. "members":{
  678. }
  679. },
  680. "StopLoggingRequest":{
  681. "type":"structure",
  682. "required":["Name"],
  683. "members":{
  684. "Name":{"shape":"String"}
  685. }
  686. },
  687. "StopLoggingResponse":{
  688. "type":"structure",
  689. "members":{
  690. }
  691. },
  692. "String":{"type":"string"},
  693. "Tag":{
  694. "type":"structure",
  695. "required":["Key"],
  696. "members":{
  697. "Key":{"shape":"String"},
  698. "Value":{"shape":"String"}
  699. }
  700. },
  701. "TagsLimitExceededException":{
  702. "type":"structure",
  703. "members":{
  704. },
  705. "exception":true
  706. },
  707. "TagsList":{
  708. "type":"list",
  709. "member":{"shape":"Tag"}
  710. },
  711. "Trail":{
  712. "type":"structure",
  713. "members":{
  714. "Name":{"shape":"String"},
  715. "S3BucketName":{"shape":"String"},
  716. "S3KeyPrefix":{"shape":"String"},
  717. "SnsTopicName":{
  718. "shape":"String",
  719. "deprecated":true
  720. },
  721. "SnsTopicARN":{"shape":"String"},
  722. "IncludeGlobalServiceEvents":{"shape":"Boolean"},
  723. "IsMultiRegionTrail":{"shape":"Boolean"},
  724. "HomeRegion":{"shape":"String"},
  725. "TrailARN":{"shape":"String"},
  726. "LogFileValidationEnabled":{"shape":"Boolean"},
  727. "CloudWatchLogsLogGroupArn":{"shape":"String"},
  728. "CloudWatchLogsRoleArn":{"shape":"String"},
  729. "KmsKeyId":{"shape":"String"}
  730. }
  731. },
  732. "TrailAlreadyExistsException":{
  733. "type":"structure",
  734. "members":{
  735. },
  736. "exception":true
  737. },
  738. "TrailList":{
  739. "type":"list",
  740. "member":{"shape":"Trail"}
  741. },
  742. "TrailNameList":{
  743. "type":"list",
  744. "member":{"shape":"String"}
  745. },
  746. "TrailNotFoundException":{
  747. "type":"structure",
  748. "members":{
  749. },
  750. "exception":true
  751. },
  752. "TrailNotProvidedException":{
  753. "type":"structure",
  754. "members":{
  755. },
  756. "exception":true
  757. },
  758. "UnsupportedOperationException":{
  759. "type":"structure",
  760. "members":{
  761. },
  762. "exception":true
  763. },
  764. "UpdateTrailRequest":{
  765. "type":"structure",
  766. "required":["Name"],
  767. "members":{
  768. "Name":{"shape":"String"},
  769. "S3BucketName":{"shape":"String"},
  770. "S3KeyPrefix":{"shape":"String"},
  771. "SnsTopicName":{"shape":"String"},
  772. "IncludeGlobalServiceEvents":{"shape":"Boolean"},
  773. "IsMultiRegionTrail":{"shape":"Boolean"},
  774. "EnableLogFileValidation":{"shape":"Boolean"},
  775. "CloudWatchLogsLogGroupArn":{"shape":"String"},
  776. "CloudWatchLogsRoleArn":{"shape":"String"},
  777. "KmsKeyId":{"shape":"String"}
  778. }
  779. },
  780. "UpdateTrailResponse":{
  781. "type":"structure",
  782. "members":{
  783. "Name":{"shape":"String"},
  784. "S3BucketName":{"shape":"String"},
  785. "S3KeyPrefix":{"shape":"String"},
  786. "SnsTopicName":{
  787. "shape":"String",
  788. "deprecated":true
  789. },
  790. "SnsTopicARN":{"shape":"String"},
  791. "IncludeGlobalServiceEvents":{"shape":"Boolean"},
  792. "IsMultiRegionTrail":{"shape":"Boolean"},
  793. "TrailARN":{"shape":"String"},
  794. "LogFileValidationEnabled":{"shape":"Boolean"},
  795. "CloudWatchLogsLogGroupArn":{"shape":"String"},
  796. "CloudWatchLogsRoleArn":{"shape":"String"},
  797. "KmsKeyId":{"shape":"String"}
  798. }
  799. }
  800. }
  801. }