@pgarbe/cdk-ecr-sync 0.5.22 → 0.5.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/.gitattributes +20 -19
  2. package/.jsii +150 -6
  3. package/.projenrc.ts +4 -4
  4. package/CHANGELOG.md +1 -91
  5. package/lib/ecr-sync.d.ts +4 -22
  6. package/lib/ecr-sync.js +3 -10
  7. package/lib/image.d.ts +5 -8
  8. package/lib/image.js +1 -1
  9. package/node_modules/aws-sdk/CHANGELOG.md +184 -1
  10. package/node_modules/aws-sdk/README.md +1 -1
  11. package/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +3 -1
  12. package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json +11 -11
  13. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +677 -237
  14. package/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json +7 -1
  15. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +171 -15
  16. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +5 -0
  17. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +358 -148
  18. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +345 -102
  19. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +43 -30
  20. package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +5 -1
  21. package/node_modules/aws-sdk/apis/chime-sdk-messaging-2021-05-15.min.json +114 -110
  22. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +86 -25
  23. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +499 -61
  24. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +14 -0
  25. package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json +14 -2
  26. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +167 -79
  27. package/node_modules/aws-sdk/apis/comprehendmedical-2018-10-30.min.json +244 -29
  28. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +30 -15
  29. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +408 -133
  30. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +12 -0
  31. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +36 -23
  32. package/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +125 -124
  33. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +117 -68
  34. package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +101 -9
  35. package/node_modules/aws-sdk/apis/detective-2018-10-26.paginators.json +5 -0
  36. package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +18 -12
  37. package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.paginators.json +2 -1
  38. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1394 -1002
  39. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +12 -0
  40. package/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +18 -0
  41. package/node_modules/aws-sdk/apis/ec2-instance-connect-2018-04-02.min.json +1 -2
  42. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +54 -51
  43. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +149 -21
  44. package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +134 -49
  45. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +29 -20
  46. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +136 -30
  47. package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +5 -0
  48. package/node_modules/aws-sdk/apis/forecast-2018-06-26.min.json +3 -0
  49. package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json +212 -6
  50. package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json +5 -0
  51. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +4 -1
  52. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +604 -411
  53. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +5 -0
  54. package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +182 -29
  55. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +352 -77
  56. package/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json +141 -39
  57. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +131 -76
  58. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +326 -271
  59. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +132 -44
  60. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json +5 -0
  61. package/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +31 -16
  62. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +114 -94
  63. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +91 -57
  64. package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +5 -0
  65. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +129 -18
  66. package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +515 -196
  67. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +4 -1
  68. package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +61 -31
  69. package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.paginators.json +5 -0
  70. package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +208 -11
  71. package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.paginators.json +6 -0
  72. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +5 -1
  73. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +39 -0
  74. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +151 -127
  75. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +194 -191
  76. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +87 -56
  77. package/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +2 -1
  78. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +324 -159
  79. package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +7 -6
  80. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +74 -35
  81. package/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json +175 -123
  82. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +134 -49
  83. package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +29 -0
  84. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +3 -0
  85. package/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +141 -7
  86. package/node_modules/aws-sdk/apis/pi-2018-02-27.paginators.json +20 -0
  87. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +18 -12
  88. package/node_modules/aws-sdk/apis/qldb-2019-01-02.min.json +20 -18
  89. package/node_modules/aws-sdk/apis/ram-2018-01-04.min.json +27 -0
  90. package/node_modules/aws-sdk/apis/ram-2018-01-04.paginators.json +5 -0
  91. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +2 -1
  92. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +20 -19
  93. package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +135 -45
  94. package/node_modules/aws-sdk/apis/route53-recovery-control-config-2020-11-02.min.json +137 -39
  95. package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +132 -22
  96. package/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json +12 -0
  97. package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +41 -8
  98. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +138 -138
  99. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +152 -52
  100. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +377 -299
  101. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +15 -10
  102. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +747 -353
  103. package/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json +2 -2
  104. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +263 -255
  105. package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +11 -3
  106. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +44 -40
  107. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +47 -43
  108. package/node_modules/aws-sdk/apis/workmail-2017-10-01.min.json +82 -27
  109. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +139 -49
  110. package/node_modules/aws-sdk/clients/amplify.d.ts +7 -7
  111. package/node_modules/aws-sdk/clients/apigateway.d.ts +5 -5
  112. package/node_modules/aws-sdk/clients/appconfig.d.ts +13 -13
  113. package/node_modules/aws-sdk/clients/appconfigdata.d.ts +18 -18
  114. package/node_modules/aws-sdk/clients/appflow.d.ts +611 -3
  115. package/node_modules/aws-sdk/clients/applicationinsights.d.ts +1 -1
  116. package/node_modules/aws-sdk/clients/apprunner.d.ts +179 -12
  117. package/node_modules/aws-sdk/clients/appstream.d.ts +262 -0
  118. package/node_modules/aws-sdk/clients/appsync.d.ts +355 -109
  119. package/node_modules/aws-sdk/clients/athena.d.ts +31 -8
  120. package/node_modules/aws-sdk/clients/auditmanager.d.ts +2 -2
  121. package/node_modules/aws-sdk/clients/chimesdkmessaging.d.ts +12 -4
  122. package/node_modules/aws-sdk/clients/cloudformation.d.ts +407 -264
  123. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +615 -13
  124. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +6 -1
  125. package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +6 -5
  126. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +287 -287
  127. package/node_modules/aws-sdk/clients/comprehend.d.ts +138 -0
  128. package/node_modules/aws-sdk/clients/comprehendmedical.d.ts +306 -25
  129. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +45 -13
  130. package/node_modules/aws-sdk/clients/configservice.d.ts +1 -1
  131. package/node_modules/aws-sdk/clients/connect.d.ts +327 -10
  132. package/node_modules/aws-sdk/clients/costexplorer.d.ts +7 -7
  133. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +30 -13
  134. package/node_modules/aws-sdk/clients/databrew.d.ts +6 -1
  135. package/node_modules/aws-sdk/clients/datasync.d.ts +68 -3
  136. package/node_modules/aws-sdk/clients/detective.d.ts +144 -40
  137. package/node_modules/aws-sdk/clients/devopsguru.d.ts +5 -1
  138. package/node_modules/aws-sdk/clients/dynamodb.d.ts +5 -5
  139. package/node_modules/aws-sdk/clients/ebs.d.ts +6 -6
  140. package/node_modules/aws-sdk/clients/ec2.d.ts +506 -42
  141. package/node_modules/aws-sdk/clients/ec2instanceconnect.d.ts +1 -1
  142. package/node_modules/aws-sdk/clients/ecs.d.ts +5 -5
  143. package/node_modules/aws-sdk/clients/efs.d.ts +131 -4
  144. package/node_modules/aws-sdk/clients/eks.d.ts +15 -2
  145. package/node_modules/aws-sdk/clients/elasticache.d.ts +15 -15
  146. package/node_modules/aws-sdk/clients/emr.d.ts +14 -14
  147. package/node_modules/aws-sdk/clients/es.d.ts +110 -0
  148. package/node_modules/aws-sdk/clients/eventbridge.d.ts +8 -8
  149. package/node_modules/aws-sdk/clients/finspacedata.d.ts +32 -14
  150. package/node_modules/aws-sdk/clients/fis.d.ts +142 -22
  151. package/node_modules/aws-sdk/clients/fms.d.ts +6 -6
  152. package/node_modules/aws-sdk/clients/forecastservice.d.ts +43 -24
  153. package/node_modules/aws-sdk/clients/frauddetector.d.ts +308 -0
  154. package/node_modules/aws-sdk/clients/fsx.d.ts +15 -11
  155. package/node_modules/aws-sdk/clients/glue.d.ts +126 -7
  156. package/node_modules/aws-sdk/clients/greengrassv2.d.ts +133 -5
  157. package/node_modules/aws-sdk/clients/guardduty.d.ts +309 -44
  158. package/node_modules/aws-sdk/clients/health.d.ts +2 -2
  159. package/node_modules/aws-sdk/clients/honeycode.d.ts +83 -3
  160. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +100 -8
  161. package/node_modules/aws-sdk/clients/iot.d.ts +63 -2
  162. package/node_modules/aws-sdk/clients/ioteventsdata.d.ts +3 -3
  163. package/node_modules/aws-sdk/clients/iotwireless.d.ts +76 -0
  164. package/node_modules/aws-sdk/clients/ivs.d.ts +21 -1
  165. package/node_modules/aws-sdk/clients/kafka.d.ts +19 -1
  166. package/node_modules/aws-sdk/clients/kendra.d.ts +116 -63
  167. package/node_modules/aws-sdk/clients/lakeformation.d.ts +137 -2
  168. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +231 -24
  169. package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +28 -1
  170. package/node_modules/aws-sdk/clients/location.d.ts +306 -59
  171. package/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +104 -22
  172. package/node_modules/aws-sdk/clients/lookoutvision.d.ts +293 -23
  173. package/node_modules/aws-sdk/clients/macie2.d.ts +2 -2
  174. package/node_modules/aws-sdk/clients/marketplacemetering.d.ts +17 -12
  175. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +51 -7
  176. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +48 -9
  177. package/node_modules/aws-sdk/clients/medialive.d.ts +10 -1
  178. package/node_modules/aws-sdk/clients/mediatailor.d.ts +17 -2
  179. package/node_modules/aws-sdk/clients/mwaa.d.ts +101 -57
  180. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +68 -7
  181. package/node_modules/aws-sdk/clients/nimble.d.ts +76 -17
  182. package/node_modules/aws-sdk/clients/opensearch.d.ts +110 -0
  183. package/node_modules/aws-sdk/clients/outposts.d.ts +47 -3
  184. package/node_modules/aws-sdk/clients/personalize.d.ts +7 -3
  185. package/node_modules/aws-sdk/clients/pi.d.ts +202 -29
  186. package/node_modules/aws-sdk/clients/pinpoint.d.ts +4 -0
  187. package/node_modules/aws-sdk/clients/qldb.d.ts +28 -19
  188. package/node_modules/aws-sdk/clients/quicksight.d.ts +8 -8
  189. package/node_modules/aws-sdk/clients/ram.d.ts +33 -1
  190. package/node_modules/aws-sdk/clients/rbin.d.ts +41 -41
  191. package/node_modules/aws-sdk/clients/rds.d.ts +68 -68
  192. package/node_modules/aws-sdk/clients/redshift.d.ts +8 -4
  193. package/node_modules/aws-sdk/clients/rekognition.d.ts +13 -8
  194. package/node_modules/aws-sdk/clients/robomaker.d.ts +30 -30
  195. package/node_modules/aws-sdk/clients/route53.d.ts +11 -11
  196. package/node_modules/aws-sdk/clients/route53domains.d.ts +179 -49
  197. package/node_modules/aws-sdk/clients/route53recoverycontrolconfig.d.ts +185 -78
  198. package/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts +275 -230
  199. package/node_modules/aws-sdk/clients/s3.d.ts +6 -6
  200. package/node_modules/aws-sdk/clients/s3control.d.ts +136 -9
  201. package/node_modules/aws-sdk/clients/sagemaker.d.ts +142 -13
  202. package/node_modules/aws-sdk/clients/savingsplans.d.ts +1 -1
  203. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +193 -179
  204. package/node_modules/aws-sdk/clients/securityhub.d.ts +563 -3
  205. package/node_modules/aws-sdk/clients/sms.d.ts +31 -31
  206. package/node_modules/aws-sdk/clients/ssm.d.ts +22 -11
  207. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +1 -1
  208. package/node_modules/aws-sdk/clients/storagegateway.d.ts +10 -10
  209. package/node_modules/aws-sdk/clients/support.d.ts +62 -62
  210. package/node_modules/aws-sdk/clients/synthetics.d.ts +15 -5
  211. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +39 -33
  212. package/node_modules/aws-sdk/clients/transfer.d.ts +15 -6
  213. package/node_modules/aws-sdk/clients/workmail.d.ts +65 -0
  214. package/node_modules/aws-sdk/clients/workspaces.d.ts +130 -0
  215. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +35 -28
  216. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +132 -125
  217. package/node_modules/aws-sdk/dist/aws-sdk.js +4419 -2193
  218. package/node_modules/aws-sdk/dist/aws-sdk.min.js +90 -90
  219. package/node_modules/aws-sdk/lib/core.js +1 -1
  220. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
  221. package/node_modules/aws-sdk/lib/param_validator.js +2 -0
  222. package/node_modules/aws-sdk/package.json +2 -2
  223. package/node_modules/jmespath/jmespath.js +32 -27
  224. package/node_modules/jmespath/package.json +2 -7
  225. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/.travis.yml +0 -0
  226. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/CONTRIBUTING.md +0 -0
  227. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/GOVERNANCE.md +0 -0
  228. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/LICENSE +0 -0
  229. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/README.md +0 -0
  230. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/doc/wg-meetings/2015-01-30.md +0 -0
  231. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/duplex-browser.js +0 -0
  232. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/duplex.js +0 -0
  233. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_duplex.js +0 -0
  234. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_passthrough.js +0 -0
  235. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_readable.js +0 -0
  236. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_transform.js +0 -0
  237. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_writable.js +0 -0
  238. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/BufferList.js +0 -0
  239. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/destroy.js +0 -0
  240. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/stream-browser.js +0 -0
  241. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/stream.js +0 -0
  242. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/package.json +0 -0
  243. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/passthrough.js +0 -0
  244. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/readable-browser.js +0 -0
  245. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/readable.js +0 -0
  246. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/transform.js +0 -0
  247. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/writable-browser.js +0 -0
  248. package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/writable.js +0 -0
  249. package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/.travis.yml +0 -0
  250. package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/LICENSE +0 -0
  251. package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/README.md +0 -0
  252. package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/lib/string_decoder.js +0 -0
  253. package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/package.json +0 -0
  254. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/.npmignore +0 -0
  255. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/CHANGELOG.md +0 -0
  256. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/LICENSE +0 -0
  257. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/README.md +0 -0
  258. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/Utility.js +0 -0
  259. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLAttribute.js +0 -0
  260. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLCData.js +0 -0
  261. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLComment.js +0 -0
  262. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDAttList.js +0 -0
  263. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDElement.js +0 -0
  264. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDEntity.js +0 -0
  265. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDNotation.js +0 -0
  266. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDeclaration.js +0 -0
  267. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDocType.js +0 -0
  268. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDocument.js +0 -0
  269. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDocumentCB.js +0 -0
  270. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLElement.js +0 -0
  271. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLNode.js +0 -0
  272. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLProcessingInstruction.js +0 -0
  273. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLRaw.js +0 -0
  274. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLStreamWriter.js +0 -0
  275. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLStringWriter.js +0 -0
  276. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLStringifier.js +0 -0
  277. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLText.js +0 -0
  278. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLWriterBase.js +0 -0
  279. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/index.js +0 -0
  280. package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/package.json +0 -0
  281. package/package.json +22 -22
  282. package/releasetag.txt +1 -0
  283. package/version.txt +1 -0
  284. package/node_modules/jmespath/.eslintrc +0 -10
  285. package/node_modules/jmespath/.npmignore +0 -1
  286. package/node_modules/jmespath/.travis.yml +0 -6
  287. package/node_modules/jmespath/BASELINE +0 -15
  288. package/node_modules/jmespath/Gruntfile.js +0 -36
  289. package/node_modules/jmespath/g.sh +0 -5
  290. package/node_modules/jmespath/index.html +0 -93
  291. package/node_modules/jmespath/james.html +0 -7
  292. package/node_modules/jmespath/l.js +0 -189
  293. package/node_modules/jmespath/perf.js +0 -33
  294. package/node_modules/jmespath/reservedWords.json +0 -4
  295. package/node_modules/jmespath/test/compliance/basic.json +0 -96
  296. package/node_modules/jmespath/test/compliance/boolean.json +0 -257
  297. package/node_modules/jmespath/test/compliance/current.json +0 -25
  298. package/node_modules/jmespath/test/compliance/escape.json +0 -46
  299. package/node_modules/jmespath/test/compliance/filters.json +0 -468
  300. package/node_modules/jmespath/test/compliance/functions.json +0 -825
  301. package/node_modules/jmespath/test/compliance/identifiers.json +0 -1377
  302. package/node_modules/jmespath/test/compliance/indices.json +0 -346
  303. package/node_modules/jmespath/test/compliance/literal.json +0 -190
  304. package/node_modules/jmespath/test/compliance/multiselect.json +0 -393
  305. package/node_modules/jmespath/test/compliance/pipe.json +0 -131
  306. package/node_modules/jmespath/test/compliance/slice.json +0 -187
  307. package/node_modules/jmespath/test/compliance/syntax.json +0 -616
  308. package/node_modules/jmespath/test/compliance/unicode.json +0 -38
  309. package/node_modules/jmespath/test/compliance/wildcard.json +0 -460
  310. package/node_modules/jmespath/test/compliance.js +0 -56
  311. package/node_modules/jmespath/test/jmespath.js +0 -217
@@ -19,6 +19,22 @@ declare class CloudTrail extends Service {
19
19
  * Adds one or more tags to a trail, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique for a trail; you cannot have two keys with the same name but different values. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all Amazon Web Services Regions only from the Region in which the trail was created (also known as its home region).
20
20
  */
21
21
  addTags(callback?: (err: AWSError, data: CloudTrail.Types.AddTagsResponse) => void): Request<CloudTrail.Types.AddTagsResponse, AWSError>;
22
+ /**
23
+ * Cancels a query if the query is not in a terminated state, such as CANCELLED, FAILED or FINISHED. You must specify an ARN value for EventDataStore. The ID of the query that you want to cancel is also required. When you run CancelQuery, the query status might show as CANCELLED even if the operation is not yet finished.
24
+ */
25
+ cancelQuery(params: CloudTrail.Types.CancelQueryRequest, callback?: (err: AWSError, data: CloudTrail.Types.CancelQueryResponse) => void): Request<CloudTrail.Types.CancelQueryResponse, AWSError>;
26
+ /**
27
+ * Cancels a query if the query is not in a terminated state, such as CANCELLED, FAILED or FINISHED. You must specify an ARN value for EventDataStore. The ID of the query that you want to cancel is also required. When you run CancelQuery, the query status might show as CANCELLED even if the operation is not yet finished.
28
+ */
29
+ cancelQuery(callback?: (err: AWSError, data: CloudTrail.Types.CancelQueryResponse) => void): Request<CloudTrail.Types.CancelQueryResponse, AWSError>;
30
+ /**
31
+ * Creates a new event data store.
32
+ */
33
+ createEventDataStore(params: CloudTrail.Types.CreateEventDataStoreRequest, callback?: (err: AWSError, data: CloudTrail.Types.CreateEventDataStoreResponse) => void): Request<CloudTrail.Types.CreateEventDataStoreResponse, AWSError>;
34
+ /**
35
+ * Creates a new event data store.
36
+ */
37
+ createEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.CreateEventDataStoreResponse) => void): Request<CloudTrail.Types.CreateEventDataStoreResponse, AWSError>;
22
38
  /**
23
39
  * Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
24
40
  */
@@ -27,6 +43,14 @@ declare class CloudTrail extends Service {
27
43
  * Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
28
44
  */
29
45
  createTrail(callback?: (err: AWSError, data: CloudTrail.Types.CreateTrailResponse) => void): Request<CloudTrail.Types.CreateTrailResponse, AWSError>;
46
+ /**
47
+ * Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.
48
+ */
49
+ deleteEventDataStore(params: CloudTrail.Types.DeleteEventDataStoreRequest, callback?: (err: AWSError, data: CloudTrail.Types.DeleteEventDataStoreResponse) => void): Request<CloudTrail.Types.DeleteEventDataStoreResponse, AWSError>;
50
+ /**
51
+ * Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.
52
+ */
53
+ deleteEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.DeleteEventDataStoreResponse) => void): Request<CloudTrail.Types.DeleteEventDataStoreResponse, AWSError>;
30
54
  /**
31
55
  * Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
32
56
  */
@@ -35,6 +59,14 @@ declare class CloudTrail extends Service {
35
59
  * Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
36
60
  */
37
61
  deleteTrail(callback?: (err: AWSError, data: CloudTrail.Types.DeleteTrailResponse) => void): Request<CloudTrail.Types.DeleteTrailResponse, AWSError>;
62
+ /**
63
+ * Returns metadata about a query, including query run time in milliseconds, number of events scanned and matched, and query status. You must specify an ARN for EventDataStore, and a value for QueryID.
64
+ */
65
+ describeQuery(params: CloudTrail.Types.DescribeQueryRequest, callback?: (err: AWSError, data: CloudTrail.Types.DescribeQueryResponse) => void): Request<CloudTrail.Types.DescribeQueryResponse, AWSError>;
66
+ /**
67
+ * Returns metadata about a query, including query run time in milliseconds, number of events scanned and matched, and query status. You must specify an ARN for EventDataStore, and a value for QueryID.
68
+ */
69
+ describeQuery(callback?: (err: AWSError, data: CloudTrail.Types.DescribeQueryResponse) => void): Request<CloudTrail.Types.DescribeQueryResponse, AWSError>;
38
70
  /**
39
71
  * Retrieves settings for one or more trails associated with the current region for your account.
40
72
  */
@@ -43,6 +75,14 @@ declare class CloudTrail extends Service {
43
75
  * Retrieves settings for one or more trails associated with the current region for your account.
44
76
  */
45
77
  describeTrails(callback?: (err: AWSError, data: CloudTrail.Types.DescribeTrailsResponse) => void): Request<CloudTrail.Types.DescribeTrailsResponse, AWSError>;
78
+ /**
79
+ * Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
80
+ */
81
+ getEventDataStore(params: CloudTrail.Types.GetEventDataStoreRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetEventDataStoreResponse) => void): Request<CloudTrail.Types.GetEventDataStoreResponse, AWSError>;
82
+ /**
83
+ * Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
84
+ */
85
+ getEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.GetEventDataStoreResponse) => void): Request<CloudTrail.Types.GetEventDataStoreResponse, AWSError>;
46
86
  /**
47
87
  * Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information, see Logging Data and Management Events for Trails in the CloudTrail User Guide.
48
88
  */
@@ -59,6 +99,14 @@ declare class CloudTrail extends Service {
59
99
  * Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException For more information, see Logging CloudTrail Insights Events for Trails in the CloudTrail User Guide.
60
100
  */
61
101
  getInsightSelectors(callback?: (err: AWSError, data: CloudTrail.Types.GetInsightSelectorsResponse) => void): Request<CloudTrail.Types.GetInsightSelectorsResponse, AWSError>;
102
+ /**
103
+ * Gets event data results of a query. You must specify the QueryID value returned by the StartQuery operation, and an ARN for EventDataStore.
104
+ */
105
+ getQueryResults(params: CloudTrail.Types.GetQueryResultsRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetQueryResultsResponse) => void): Request<CloudTrail.Types.GetQueryResultsResponse, AWSError>;
106
+ /**
107
+ * Gets event data results of a query. You must specify the QueryID value returned by the StartQuery operation, and an ARN for EventDataStore.
108
+ */
109
+ getQueryResults(callback?: (err: AWSError, data: CloudTrail.Types.GetQueryResultsResponse) => void): Request<CloudTrail.Types.GetQueryResultsResponse, AWSError>;
62
110
  /**
63
111
  * Returns settings information for a specified trail.
64
112
  */
@@ -75,6 +123,14 @@ declare class CloudTrail extends Service {
75
123
  * Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region.
76
124
  */
77
125
  getTrailStatus(callback?: (err: AWSError, data: CloudTrail.Types.GetTrailStatusResponse) => void): Request<CloudTrail.Types.GetTrailStatusResponse, AWSError>;
126
+ /**
127
+ * Returns information about all event data stores in the account, in the current region.
128
+ */
129
+ listEventDataStores(params: CloudTrail.Types.ListEventDataStoresRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListEventDataStoresResponse) => void): Request<CloudTrail.Types.ListEventDataStoresResponse, AWSError>;
130
+ /**
131
+ * Returns information about all event data stores in the account, in the current region.
132
+ */
133
+ listEventDataStores(callback?: (err: AWSError, data: CloudTrail.Types.ListEventDataStoresResponse) => void): Request<CloudTrail.Types.ListEventDataStoresResponse, AWSError>;
78
134
  /**
79
135
  * Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key. CloudTrail uses different private and public key pairs per region. Each digest file is signed with a private key unique to its region. When you validate a digest file from a specific region, you must look in the same region for its corresponding public key.
80
136
  */
@@ -83,6 +139,14 @@ declare class CloudTrail extends Service {
83
139
  * Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key. CloudTrail uses different private and public key pairs per region. Each digest file is signed with a private key unique to its region. When you validate a digest file from a specific region, you must look in the same region for its corresponding public key.
84
140
  */
85
141
  listPublicKeys(callback?: (err: AWSError, data: CloudTrail.Types.ListPublicKeysResponse) => void): Request<CloudTrail.Types.ListPublicKeysResponse, AWSError>;
142
+ /**
143
+ * Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for EventDataStore. Optionally, to shorten the list of results, you can specify a time range, formatted as timestamps, by adding StartTime and EndTime parameters, and a QueryStatus value. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, or CANCELLED.
144
+ */
145
+ listQueries(params: CloudTrail.Types.ListQueriesRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListQueriesResponse) => void): Request<CloudTrail.Types.ListQueriesResponse, AWSError>;
146
+ /**
147
+ * Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for EventDataStore. Optionally, to shorten the list of results, you can specify a time range, formatted as timestamps, by adding StartTime and EndTime parameters, and a QueryStatus value. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, or CANCELLED.
148
+ */
149
+ listQueries(callback?: (err: AWSError, data: CloudTrail.Types.ListQueriesResponse) => void): Request<CloudTrail.Types.ListQueriesResponse, AWSError>;
86
150
  /**
87
151
  * Lists the tags for the trail in the current region.
88
152
  */
@@ -116,11 +180,11 @@ declare class CloudTrail extends Service {
116
180
  */
117
181
  putEventSelectors(callback?: (err: AWSError, data: CloudTrail.Types.PutEventSelectorsResponse) => void): Request<CloudTrail.Types.PutEventSelectorsResponse, AWSError>;
118
182
  /**
119
- * Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event type in this release is ApiCallRateInsight.
183
+ * Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event types in this release are ApiErrorRateInsight and ApiCallRateInsight.
120
184
  */
121
185
  putInsightSelectors(params: CloudTrail.Types.PutInsightSelectorsRequest, callback?: (err: AWSError, data: CloudTrail.Types.PutInsightSelectorsResponse) => void): Request<CloudTrail.Types.PutInsightSelectorsResponse, AWSError>;
122
186
  /**
123
- * Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event type in this release is ApiCallRateInsight.
187
+ * Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event types in this release are ApiErrorRateInsight and ApiCallRateInsight.
124
188
  */
125
189
  putInsightSelectors(callback?: (err: AWSError, data: CloudTrail.Types.PutInsightSelectorsResponse) => void): Request<CloudTrail.Types.PutInsightSelectorsResponse, AWSError>;
126
190
  /**
@@ -131,6 +195,14 @@ declare class CloudTrail extends Service {
131
195
  * Removes the specified tags from a trail.
132
196
  */
133
197
  removeTags(callback?: (err: AWSError, data: CloudTrail.Types.RemoveTagsResponse) => void): Request<CloudTrail.Types.RemoveTagsResponse, AWSError>;
198
+ /**
199
+ * Restores a deleted event data store specified by EventDataStore, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
200
+ */
201
+ restoreEventDataStore(params: CloudTrail.Types.RestoreEventDataStoreRequest, callback?: (err: AWSError, data: CloudTrail.Types.RestoreEventDataStoreResponse) => void): Request<CloudTrail.Types.RestoreEventDataStoreResponse, AWSError>;
202
+ /**
203
+ * Restores a deleted event data store specified by EventDataStore, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
204
+ */
205
+ restoreEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.RestoreEventDataStoreResponse) => void): Request<CloudTrail.Types.RestoreEventDataStoreResponse, AWSError>;
134
206
  /**
135
207
  * Starts the recording of Amazon Web Services API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
136
208
  */
@@ -139,6 +211,14 @@ declare class CloudTrail extends Service {
139
211
  * Starts the recording of Amazon Web Services API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
140
212
  */
141
213
  startLogging(callback?: (err: AWSError, data: CloudTrail.Types.StartLoggingResponse) => void): Request<CloudTrail.Types.StartLoggingResponse, AWSError>;
214
+ /**
215
+ * Starts a CloudTrail Lake query. The required QueryStatement parameter provides your SQL query, enclosed in single quotation marks.
216
+ */
217
+ startQuery(params: CloudTrail.Types.StartQueryRequest, callback?: (err: AWSError, data: CloudTrail.Types.StartQueryResponse) => void): Request<CloudTrail.Types.StartQueryResponse, AWSError>;
218
+ /**
219
+ * Starts a CloudTrail Lake query. The required QueryStatement parameter provides your SQL query, enclosed in single quotation marks.
220
+ */
221
+ startQuery(callback?: (err: AWSError, data: CloudTrail.Types.StartQueryResponse) => void): Request<CloudTrail.Types.StartQueryResponse, AWSError>;
142
222
  /**
143
223
  * Suspends the recording of Amazon Web Services API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions.
144
224
  */
@@ -147,6 +227,14 @@ declare class CloudTrail extends Service {
147
227
  * Suspends the recording of Amazon Web Services API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions.
148
228
  */
149
229
  stopLogging(callback?: (err: AWSError, data: CloudTrail.Types.StopLoggingResponse) => void): Request<CloudTrail.Types.StopLoggingResponse, AWSError>;
230
+ /**
231
+ * Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2555. By default, TerminationProtection is enabled. AdvancedEventSelectors includes or excludes management and data events in your event data store; for more information about AdvancedEventSelectors, see PutEventSelectorsRequest$AdvancedEventSelectors.
232
+ */
233
+ updateEventDataStore(params: CloudTrail.Types.UpdateEventDataStoreRequest, callback?: (err: AWSError, data: CloudTrail.Types.UpdateEventDataStoreResponse) => void): Request<CloudTrail.Types.UpdateEventDataStoreResponse, AWSError>;
234
+ /**
235
+ * Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2555. By default, TerminationProtection is enabled. AdvancedEventSelectors includes or excludes management and data events in your event data store; for more information about AdvancedEventSelectors, see PutEventSelectorsRequest$AdvancedEventSelectors.
236
+ */
237
+ updateEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.UpdateEventDataStoreResponse) => void): Request<CloudTrail.Types.UpdateEventDataStoreResponse, AWSError>;
150
238
  /**
151
239
  * Updates trail settings that control what events you are logging, and how to handle log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.
152
240
  */
@@ -165,7 +253,7 @@ declare namespace CloudTrail {
165
253
  /**
166
254
  * Contains a list of tags, up to a limit of 50
167
255
  */
168
- TagsList?: TagsList;
256
+ TagsList: TagsList;
169
257
  }
170
258
  export interface AddTagsResponse {
171
259
  }
@@ -182,7 +270,7 @@ declare namespace CloudTrail {
182
270
  export type AdvancedEventSelectors = AdvancedEventSelector[];
183
271
  export interface AdvancedFieldSelector {
184
272
  /**
185
- * A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN. readOnly - Optional. Can be set to Equals a value of true or false. A value of false logs both read and write events. eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com. eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas. eventCategory - This is required. It must be set to Equals, and the value must be Management or Data. resources.type - This field is required. resources.type can only use the Equals operator, and the value can be one of the following: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector. resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value. The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (&lt;&gt;) with resource-specific information. arn:&lt;partition&gt;:s3:::&lt;bucket_name&gt;/ arn:&lt;partition&gt;:s3:::&lt;bucket_name&gt;/&lt;object_path&gt;/ When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators. arn:&lt;partition&gt;:s3:&lt;region&gt;:&lt;account_ID&gt;:accesspoint/&lt;access_point_name&gt; arn:&lt;partition&gt;:s3:&lt;region&gt;:&lt;account_ID&gt;:accesspoint/&lt;access_point_name&gt;/object/&lt;object_path&gt; When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:lambda:&lt;region&gt;:&lt;account_ID&gt;:function:&lt;function_name&gt; When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:dynamodb:&lt;region&gt;:&lt;account_ID&gt;:table/&lt;table_name&gt; When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:s3-outposts:&lt;region&gt;:&lt;account_ID&gt;:&lt;object_path&gt; When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:managedblockchain:&lt;region&gt;:&lt;account_ID&gt;:nodes/&lt;node_ID&gt; When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:s3-object-lambda:&lt;region&gt;:&lt;account_ID&gt;:accesspoint/&lt;access_point_name&gt; When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:ec2:&lt;region&gt;::snapshot/&lt;snapshot_ID&gt; When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:dynamodb:&lt;region&gt;:&lt;account_ID&gt;:table/&lt;table_name&gt;/stream/&lt;date_time&gt;
273
+ * A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN. readOnly - Optional. Can be set to Equals a value of true or false. If you do not add this field, CloudTrail logs both both read and write events. A value of true logs only read events. A value of false logs only write events. eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com. eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas. eventCategory - This is required. It must be set to Equals, and the value must be Management or Data. resources.type - This field is required. resources.type can only use the Equals operator, and the value can be one of the following: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream AWS::Glue::Table You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector. resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value. The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (&lt;&gt;) with resource-specific information. arn:&lt;partition&gt;:s3:::&lt;bucket_name&gt;/ arn:&lt;partition&gt;:s3:::&lt;bucket_name&gt;/&lt;object_path&gt;/ When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators. arn:&lt;partition&gt;:s3:&lt;region&gt;:&lt;account_ID&gt;:accesspoint/&lt;access_point_name&gt; arn:&lt;partition&gt;:s3:&lt;region&gt;:&lt;account_ID&gt;:accesspoint/&lt;access_point_name&gt;/object/&lt;object_path&gt; When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:lambda:&lt;region&gt;:&lt;account_ID&gt;:function:&lt;function_name&gt; When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:dynamodb:&lt;region&gt;:&lt;account_ID&gt;:table/&lt;table_name&gt; When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:s3-outposts:&lt;region&gt;:&lt;account_ID&gt;:&lt;object_path&gt; When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:managedblockchain:&lt;region&gt;:&lt;account_ID&gt;:nodes/&lt;node_ID&gt; When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:s3-object-lambda:&lt;region&gt;:&lt;account_ID&gt;:accesspoint/&lt;access_point_name&gt; When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:ec2:&lt;region&gt;::snapshot/&lt;snapshot_ID&gt; When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:dynamodb:&lt;region&gt;:&lt;account_ID&gt;:table/&lt;table_name&gt;/stream/&lt;date_time&gt; When resources.type equals AWS::Glue::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:&lt;partition&gt;:glue:&lt;region&gt;:&lt;account_ID&gt;:table/&lt;database_name&gt;/&lt;table_name&gt;
186
274
  */
187
275
  Field: SelectorField;
188
276
  /**
@@ -213,6 +301,96 @@ declare namespace CloudTrail {
213
301
  export type AdvancedFieldSelectors = AdvancedFieldSelector[];
214
302
  export type Boolean = boolean;
215
303
  export type ByteBuffer = Buffer|Uint8Array|Blob|string;
304
+ export interface CancelQueryRequest {
305
+ /**
306
+ * The ARN (or the ID suffix of the ARN) of an event data store on which the specified query is running.
307
+ */
308
+ EventDataStore: EventDataStoreArn;
309
+ /**
310
+ * The ID of the query that you want to cancel. The QueryId comes from the response of a StartQuery operation.
311
+ */
312
+ QueryId: UUID;
313
+ }
314
+ export interface CancelQueryResponse {
315
+ /**
316
+ * The ID of the canceled query.
317
+ */
318
+ QueryId: UUID;
319
+ /**
320
+ * Shows the status of a query after a CancelQuery request. Typically, the values shown are either RUNNING or CANCELLED.
321
+ */
322
+ QueryStatus: QueryStatus;
323
+ }
324
+ export interface CreateEventDataStoreRequest {
325
+ /**
326
+ * The name of the event data store.
327
+ */
328
+ Name: EventDataStoreName;
329
+ /**
330
+ * The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.
331
+ */
332
+ AdvancedEventSelectors?: AdvancedEventSelectors;
333
+ /**
334
+ * Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created.
335
+ */
336
+ MultiRegionEnabled?: Boolean;
337
+ /**
338
+ * Specifies whether an event data store collects events logged for an organization in Organizations.
339
+ */
340
+ OrganizationEnabled?: Boolean;
341
+ /**
342
+ * The retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years.
343
+ */
344
+ RetentionPeriod?: RetentionPeriod;
345
+ /**
346
+ * Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled.
347
+ */
348
+ TerminationProtectionEnabled?: TerminationProtectionEnabled;
349
+ TagsList?: TagsList;
350
+ }
351
+ export interface CreateEventDataStoreResponse {
352
+ /**
353
+ * The ARN of the event data store.
354
+ */
355
+ EventDataStoreArn?: EventDataStoreArn;
356
+ /**
357
+ * The name of the event data store.
358
+ */
359
+ Name?: EventDataStoreName;
360
+ /**
361
+ * The status of event data store creation.
362
+ */
363
+ Status?: EventDataStoreStatus;
364
+ /**
365
+ * The advanced event selectors that were used to select the events for the data store.
366
+ */
367
+ AdvancedEventSelectors?: AdvancedEventSelectors;
368
+ /**
369
+ * Indicates whether the event data store collects events from all regions, or only from the region in which it was created.
370
+ */
371
+ MultiRegionEnabled?: Boolean;
372
+ /**
373
+ * Indicates whether an event data store is collecting logged events for an organization in Organizations.
374
+ */
375
+ OrganizationEnabled?: Boolean;
376
+ /**
377
+ * The retention period of an event data store, in days.
378
+ */
379
+ RetentionPeriod?: RetentionPeriod;
380
+ /**
381
+ * Indicates whether termination protection is enabled for the event data store.
382
+ */
383
+ TerminationProtectionEnabled?: TerminationProtectionEnabled;
384
+ TagsList?: TagsList;
385
+ /**
386
+ * The timestamp that shows when the event data store was created.
387
+ */
388
+ CreatedTimestamp?: _Date;
389
+ /**
390
+ * The timestamp that shows when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
391
+ */
392
+ UpdatedTimestamp?: _Date;
393
+ }
216
394
  export interface CreateTrailRequest {
217
395
  /**
218
396
  * Specifies the name of the trail. The name must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid. Not be in IP address format (for example, 192.168.5.4)
@@ -316,7 +494,7 @@ declare namespace CloudTrail {
316
494
  }
317
495
  export interface DataResource {
318
496
  /**
319
- * The resource type in which you want to log data events. You can specify the following basic event selector resource types: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table The following resource types are also availble through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector$Field. AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream
497
+ * The resource type in which you want to log data events. You can specify the following basic event selector resource types: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table The following resource types are also availble through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector$Field. AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream AWS::Glue::Table
320
498
  */
321
499
  Type?: String;
322
500
  /**
@@ -327,6 +505,14 @@ declare namespace CloudTrail {
327
505
  export type DataResourceValues = String[];
328
506
  export type DataResources = DataResource[];
329
507
  export type _Date = Date;
508
+ export interface DeleteEventDataStoreRequest {
509
+ /**
510
+ * The ARN (or the ID suffix of the ARN) of the event data store to delete.
511
+ */
512
+ EventDataStore: EventDataStoreArn;
513
+ }
514
+ export interface DeleteEventDataStoreResponse {
515
+ }
330
516
  export interface DeleteTrailRequest {
331
517
  /**
332
518
  * Specifies the name or the CloudTrail ARN of the trail to be deleted. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
@@ -335,6 +521,38 @@ declare namespace CloudTrail {
335
521
  }
336
522
  export interface DeleteTrailResponse {
337
523
  }
524
+ export interface DescribeQueryRequest {
525
+ /**
526
+ * The ARN (or the ID suffix of the ARN) of an event data store on which the specified query was run.
527
+ */
528
+ EventDataStore: EventDataStoreArn;
529
+ /**
530
+ * The query ID.
531
+ */
532
+ QueryId: UUID;
533
+ }
534
+ export interface DescribeQueryResponse {
535
+ /**
536
+ * The ID of the query.
537
+ */
538
+ QueryId?: UUID;
539
+ /**
540
+ * The SQL code of a query.
541
+ */
542
+ QueryString?: QueryStatement;
543
+ /**
544
+ * The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, or CANCELLED
545
+ */
546
+ QueryStatus?: QueryStatus;
547
+ /**
548
+ * Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
549
+ */
550
+ QueryStatistics?: QueryStatisticsForDescribeQuery;
551
+ /**
552
+ * The error message returned if a query failed.
553
+ */
554
+ ErrorMessage?: ErrorMessage;
555
+ }
338
556
  export interface DescribeTrailsRequest {
339
557
  /**
340
558
  * Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail If an empty list is specified, information for the trail in the current region is returned. If an empty list is specified and IncludeShadowTrails is false, then information for all trails in the current region is returned. If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned. If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region. To return information about a trail in another region, you must specify its trail ARN.
@@ -351,6 +569,7 @@ declare namespace CloudTrail {
351
569
  */
352
570
  trailList?: TrailList;
353
571
  }
572
+ export type ErrorMessage = string;
354
573
  export interface Event {
355
574
  /**
356
575
  * The CloudTrail ID of the event returned.
@@ -390,6 +609,52 @@ declare namespace CloudTrail {
390
609
  CloudTrailEvent?: String;
391
610
  }
392
611
  export type EventCategory = "insight"|string;
612
+ export interface EventDataStore {
613
+ /**
614
+ * The ARN of the event data store.
615
+ */
616
+ EventDataStoreArn?: EventDataStoreArn;
617
+ /**
618
+ * The name of the event data store.
619
+ */
620
+ Name?: EventDataStoreName;
621
+ /**
622
+ * Indicates whether the event data store is protected from termination.
623
+ */
624
+ TerminationProtectionEnabled?: TerminationProtectionEnabled;
625
+ /**
626
+ * The status of an event data store. Values are ENABLED and PENDING_DELETION.
627
+ */
628
+ Status?: EventDataStoreStatus;
629
+ /**
630
+ * The advanced event selectors that were used to select events for the data store.
631
+ */
632
+ AdvancedEventSelectors?: AdvancedEventSelectors;
633
+ /**
634
+ * Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
635
+ */
636
+ MultiRegionEnabled?: Boolean;
637
+ /**
638
+ * Indicates that an event data store is collecting logged events for an organization.
639
+ */
640
+ OrganizationEnabled?: Boolean;
641
+ /**
642
+ * The retention period, in days.
643
+ */
644
+ RetentionPeriod?: RetentionPeriod;
645
+ /**
646
+ * The timestamp of the event data store's creation.
647
+ */
648
+ CreatedTimestamp?: _Date;
649
+ /**
650
+ * The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
651
+ */
652
+ UpdatedTimestamp?: _Date;
653
+ }
654
+ export type EventDataStoreArn = string;
655
+ export type EventDataStoreName = string;
656
+ export type EventDataStoreStatus = "CREATED"|"ENABLED"|"PENDING_DELETION"|string;
657
+ export type EventDataStores = EventDataStore[];
393
658
  export interface EventSelector {
394
659
  /**
395
660
  * Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation. By default, the value is All.
@@ -404,13 +669,61 @@ declare namespace CloudTrail {
404
669
  */
405
670
  DataResources?: DataResources;
406
671
  /**
407
- * An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out Key Management Service or Amazon RDS Data API events by containing kms.amazonaws.com or rdsdata.amazonaws.com. By default, ExcludeManagementEventSources is empty, and KMS and Amazon RDS Data API events are logged to your trail.
672
+ * An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out Key Management Service or Amazon RDS Data API events by containing kms.amazonaws.com or rdsdata.amazonaws.com. By default, ExcludeManagementEventSources is empty, and KMS and Amazon RDS Data API events are logged to your trail. You can exclude management event sources only in regions that support the event source.
408
673
  */
409
674
  ExcludeManagementEventSources?: ExcludeManagementEventSources;
410
675
  }
411
676
  export type EventSelectors = EventSelector[];
412
677
  export type EventsList = Event[];
413
678
  export type ExcludeManagementEventSources = String[];
679
+ export interface GetEventDataStoreRequest {
680
+ /**
681
+ * The ARN (or ID suffix of the ARN) of the event data store about which you want information.
682
+ */
683
+ EventDataStore: EventDataStoreArn;
684
+ }
685
+ export interface GetEventDataStoreResponse {
686
+ /**
687
+ * The event data store Amazon Resource Number (ARN).
688
+ */
689
+ EventDataStoreArn?: EventDataStoreArn;
690
+ /**
691
+ * The name of the event data store.
692
+ */
693
+ Name?: EventDataStoreName;
694
+ /**
695
+ * The status of an event data store. Values can be ENABLED and PENDING_DELETION.
696
+ */
697
+ Status?: EventDataStoreStatus;
698
+ /**
699
+ * The advanced event selectors used to select events for the data store.
700
+ */
701
+ AdvancedEventSelectors?: AdvancedEventSelectors;
702
+ /**
703
+ * Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
704
+ */
705
+ MultiRegionEnabled?: Boolean;
706
+ /**
707
+ * Indicates whether an event data store is collecting logged events for an organization in Organizations.
708
+ */
709
+ OrganizationEnabled?: Boolean;
710
+ /**
711
+ * The retention period of the event data store, in days.
712
+ */
713
+ RetentionPeriod?: RetentionPeriod;
714
+ /**
715
+ * Indicates that termination protection is enabled.
716
+ */
717
+ TerminationProtectionEnabled?: TerminationProtectionEnabled;
718
+ /**
719
+ * The timestamp of the event data store's creation.
720
+ */
721
+ CreatedTimestamp?: _Date;
722
+ /**
723
+ * Shows the time that an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
724
+ */
725
+ UpdatedTimestamp?: _Date;
726
+ }
414
727
  export interface GetEventSelectorsRequest {
415
728
  /**
416
729
  * Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid. Not be in IP address format (for example, 192.168.5.4) If you specify a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
@@ -443,10 +756,50 @@ declare namespace CloudTrail {
443
756
  */
444
757
  TrailARN?: String;
445
758
  /**
446
- * A JSON string that contains the insight types you want to log on a trail. In this release, only ApiCallRateInsight is supported as an insight type.
759
+ * A JSON string that contains the insight types you want to log on a trail. In this release, ApiErrorRateInsight and ApiCallRateInsight are supported as insight types.
447
760
  */
448
761
  InsightSelectors?: InsightSelectors;
449
762
  }
763
+ export interface GetQueryResultsRequest {
764
+ /**
765
+ * The ARN (or ID suffix of the ARN) of the event data store against which the query was run.
766
+ */
767
+ EventDataStore: EventDataStoreArn;
768
+ /**
769
+ * The ID of the query for which you want to get results.
770
+ */
771
+ QueryId: UUID;
772
+ /**
773
+ * A token you can use to get the next page of query results.
774
+ */
775
+ NextToken?: PaginationToken;
776
+ /**
777
+ * The maximum number of query results to display on a single page.
778
+ */
779
+ MaxQueryResults?: MaxQueryResults;
780
+ }
781
+ export interface GetQueryResultsResponse {
782
+ /**
783
+ * The status of the query. Values include QUEUED, RUNNING, FINISHED, FAILED, or CANCELLED.
784
+ */
785
+ QueryStatus?: QueryStatus;
786
+ /**
787
+ * Shows the count of query results.
788
+ */
789
+ QueryStatistics?: QueryStatistics;
790
+ /**
791
+ * Contains the individual event results of the query.
792
+ */
793
+ QueryResultRows?: QueryResultRows;
794
+ /**
795
+ * A token you can use to get the next page of query results.
796
+ */
797
+ NextToken?: PaginationToken;
798
+ /**
799
+ * The error message returned if a query failed.
800
+ */
801
+ ErrorMessage?: ErrorMessage;
802
+ }
450
803
  export interface GetTrailRequest {
451
804
  /**
452
805
  * The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.
@@ -534,12 +887,34 @@ declare namespace CloudTrail {
534
887
  }
535
888
  export interface InsightSelector {
536
889
  /**
537
- * The type of Insights events to log on a trail. The valid Insights type in this release is ApiCallRateInsight.
890
+ * The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.
538
891
  */
539
892
  InsightType?: InsightType;
540
893
  }
541
894
  export type InsightSelectors = InsightSelector[];
542
895
  export type InsightType = "ApiCallRateInsight"|"ApiErrorRateInsight"|string;
896
+ export type Integer = number;
897
+ export type ListEventDataStoresMaxResultsCount = number;
898
+ export interface ListEventDataStoresRequest {
899
+ /**
900
+ * A token you can use to get the next page of event data store results.
901
+ */
902
+ NextToken?: PaginationToken;
903
+ /**
904
+ * The maximum number of event data stores to display on a single page.
905
+ */
906
+ MaxResults?: ListEventDataStoresMaxResultsCount;
907
+ }
908
+ export interface ListEventDataStoresResponse {
909
+ /**
910
+ * Contains information about event data stores in the account, in the current region.
911
+ */
912
+ EventDataStores?: EventDataStores;
913
+ /**
914
+ * A token you can use to get the next page of results.
915
+ */
916
+ NextToken?: PaginationToken;
917
+ }
543
918
  export interface ListPublicKeysRequest {
544
919
  /**
545
920
  * Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
@@ -564,6 +939,43 @@ declare namespace CloudTrail {
564
939
  */
565
940
  NextToken?: String;
566
941
  }
942
+ export type ListQueriesMaxResultsCount = number;
943
+ export interface ListQueriesRequest {
944
+ /**
945
+ * The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.
946
+ */
947
+ EventDataStore: EventDataStoreArn;
948
+ /**
949
+ * A token you can use to get the next page of results.
950
+ */
951
+ NextToken?: PaginationToken;
952
+ /**
953
+ * The maximum number of queries to show on a page.
954
+ */
955
+ MaxResults?: ListQueriesMaxResultsCount;
956
+ /**
957
+ * Use with EndTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.
958
+ */
959
+ StartTime?: _Date;
960
+ /**
961
+ * Use with StartTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.
962
+ */
963
+ EndTime?: _Date;
964
+ /**
965
+ * The status of queries that you want to return in results. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, or CANCELLED.
966
+ */
967
+ QueryStatus?: QueryStatus;
968
+ }
969
+ export interface ListQueriesResponse {
970
+ /**
971
+ * Lists matching query results, and shows query ID, status, and creation time of each query.
972
+ */
973
+ Queries?: Queries;
974
+ /**
975
+ * A token you can use to get the next page of results.
976
+ */
977
+ NextToken?: PaginationToken;
978
+ }
567
979
  export interface ListTagsRequest {
568
980
  /**
569
981
  * Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
@@ -600,6 +1012,7 @@ declare namespace CloudTrail {
600
1012
  */
601
1013
  NextToken?: String;
602
1014
  }
1015
+ export type Long = number;
603
1016
  export interface LookupAttribute {
604
1017
  /**
605
1018
  * Specifies an attribute on which to filter the events returned.
@@ -648,10 +1061,12 @@ declare namespace CloudTrail {
648
1061
  */
649
1062
  NextToken?: NextToken;
650
1063
  }
1064
+ export type MaxQueryResults = number;
651
1065
  export type MaxResults = number;
652
1066
  export type NextToken = string;
653
1067
  export type Operator = OperatorValue[];
654
1068
  export type OperatorValue = string;
1069
+ export type PaginationToken = string;
655
1070
  export interface PublicKey {
656
1071
  /**
657
1072
  * The DER encoded public key value in PKCS#1 format.
@@ -705,7 +1120,7 @@ declare namespace CloudTrail {
705
1120
  */
706
1121
  TrailName: String;
707
1122
  /**
708
- * A JSON string that contains the Insights types that you want to log on a trail. The valid Insights type in this release is ApiCallRateInsight.
1123
+ * A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.
709
1124
  */
710
1125
  InsightSelectors: InsightSelectors;
711
1126
  }
@@ -715,10 +1130,60 @@ declare namespace CloudTrail {
715
1130
  */
716
1131
  TrailARN?: String;
717
1132
  /**
718
- * A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights type in this release is ApiCallRateInsight.
1133
+ * A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights types in this release are ApiErrorRateInsight and ApiCallRateInsight.
719
1134
  */
720
1135
  InsightSelectors?: InsightSelectors;
721
1136
  }
1137
+ export type Queries = Query[];
1138
+ export interface Query {
1139
+ /**
1140
+ * The ID of a query.
1141
+ */
1142
+ QueryId?: UUID;
1143
+ /**
1144
+ * The status of the query. This can be QUEUED, RUNNING, FINISHED, FAILED, or CANCELLED.
1145
+ */
1146
+ QueryStatus?: QueryStatus;
1147
+ /**
1148
+ * The creation time of a query.
1149
+ */
1150
+ CreationTime?: _Date;
1151
+ }
1152
+ export type QueryResultColumn = {[key: string]: QueryResultValue};
1153
+ export type QueryResultKey = string;
1154
+ export type QueryResultRow = QueryResultColumn[];
1155
+ export type QueryResultRows = QueryResultRow[];
1156
+ export type QueryResultValue = string;
1157
+ export type QueryStatement = string;
1158
+ export interface QueryStatistics {
1159
+ /**
1160
+ * The number of results returned.
1161
+ */
1162
+ ResultsCount?: Integer;
1163
+ /**
1164
+ * The total number of results returned by a query.
1165
+ */
1166
+ TotalResultsCount?: Integer;
1167
+ }
1168
+ export interface QueryStatisticsForDescribeQuery {
1169
+ /**
1170
+ * The number of events that matched a query.
1171
+ */
1172
+ EventsMatched?: Long;
1173
+ /**
1174
+ * The number of events that the query scanned in the event data store.
1175
+ */
1176
+ EventsScanned?: Long;
1177
+ /**
1178
+ * The query's run time, in milliseconds.
1179
+ */
1180
+ ExecutionTimeInMillis?: Integer;
1181
+ /**
1182
+ * The creation time of the query.
1183
+ */
1184
+ CreationTime?: _Date;
1185
+ }
1186
+ export type QueryStatus = "QUEUED"|"RUNNING"|"FINISHED"|"FAILED"|"CANCELLED"|string;
722
1187
  export type ReadWriteType = "ReadOnly"|"WriteOnly"|"All"|string;
723
1188
  export interface RemoveTagsRequest {
724
1189
  /**
@@ -728,7 +1193,7 @@ declare namespace CloudTrail {
728
1193
  /**
729
1194
  * Specifies a list of tags to be removed.
730
1195
  */
731
- TagsList?: TagsList;
1196
+ TagsList: TagsList;
732
1197
  }
733
1198
  export interface RemoveTagsResponse {
734
1199
  }
@@ -755,6 +1220,55 @@ declare namespace CloudTrail {
755
1220
  TagsList?: TagsList;
756
1221
  }
757
1222
  export type ResourceTagList = ResourceTag[];
1223
+ export interface RestoreEventDataStoreRequest {
1224
+ /**
1225
+ * The ARN (or the ID suffix of the ARN) of the event data store that you want to restore.
1226
+ */
1227
+ EventDataStore: EventDataStoreArn;
1228
+ }
1229
+ export interface RestoreEventDataStoreResponse {
1230
+ /**
1231
+ * The event data store ARN.
1232
+ */
1233
+ EventDataStoreArn?: EventDataStoreArn;
1234
+ /**
1235
+ * The name of the event data store.
1236
+ */
1237
+ Name?: EventDataStoreName;
1238
+ /**
1239
+ * The status of the event data store.
1240
+ */
1241
+ Status?: EventDataStoreStatus;
1242
+ /**
1243
+ * The advanced event selectors that were used to select events.
1244
+ */
1245
+ AdvancedEventSelectors?: AdvancedEventSelectors;
1246
+ /**
1247
+ * Indicates whether the event data store is collecting events from all regions, or only from the region in which the event data store was created.
1248
+ */
1249
+ MultiRegionEnabled?: Boolean;
1250
+ /**
1251
+ * Indicates whether an event data store is collecting logged events for an organization in Organizations.
1252
+ */
1253
+ OrganizationEnabled?: Boolean;
1254
+ /**
1255
+ * The retention period, in days.
1256
+ */
1257
+ RetentionPeriod?: RetentionPeriod;
1258
+ /**
1259
+ * Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
1260
+ */
1261
+ TerminationProtectionEnabled?: TerminationProtectionEnabled;
1262
+ /**
1263
+ * The timestamp of an event data store's creation.
1264
+ */
1265
+ CreatedTimestamp?: _Date;
1266
+ /**
1267
+ * The timestamp that shows when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
1268
+ */
1269
+ UpdatedTimestamp?: _Date;
1270
+ }
1271
+ export type RetentionPeriod = number;
758
1272
  export type SelectorField = string;
759
1273
  export type SelectorName = string;
760
1274
  export interface StartLoggingRequest {
@@ -765,6 +1279,18 @@ declare namespace CloudTrail {
765
1279
  }
766
1280
  export interface StartLoggingResponse {
767
1281
  }
1282
+ export interface StartQueryRequest {
1283
+ /**
1284
+ * The SQL code of your query.
1285
+ */
1286
+ QueryStatement: QueryStatement;
1287
+ }
1288
+ export interface StartQueryResponse {
1289
+ /**
1290
+ * The ID of the started query.
1291
+ */
1292
+ QueryId?: UUID;
1293
+ }
768
1294
  export interface StopLoggingRequest {
769
1295
  /**
770
1296
  * Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
@@ -778,13 +1304,16 @@ declare namespace CloudTrail {
778
1304
  /**
779
1305
  * The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.
780
1306
  */
781
- Key: String;
1307
+ Key: TagKey;
782
1308
  /**
783
1309
  * The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.
784
1310
  */
785
- Value?: String;
1311
+ Value?: TagValue;
786
1312
  }
1313
+ export type TagKey = string;
1314
+ export type TagValue = string;
787
1315
  export type TagsList = Tag[];
1316
+ export type TerminationProtectionEnabled = boolean;
788
1317
  export interface Trail {
789
1318
  /**
790
1319
  * Name of the trail set by calling CreateTrail. The maximum length is 128 characters.
@@ -868,6 +1397,79 @@ declare namespace CloudTrail {
868
1397
  export type TrailList = Trail[];
869
1398
  export type TrailNameList = String[];
870
1399
  export type Trails = TrailInfo[];
1400
+ export type UUID = string;
1401
+ export interface UpdateEventDataStoreRequest {
1402
+ /**
1403
+ * The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
1404
+ */
1405
+ EventDataStore: EventDataStoreArn;
1406
+ /**
1407
+ * The event data store name.
1408
+ */
1409
+ Name?: EventDataStoreName;
1410
+ /**
1411
+ * The advanced event selectors used to select events for the event data store.
1412
+ */
1413
+ AdvancedEventSelectors?: AdvancedEventSelectors;
1414
+ /**
1415
+ * Specifies whether an event data store collects events from all regions, or only from the region in which it was created.
1416
+ */
1417
+ MultiRegionEnabled?: Boolean;
1418
+ /**
1419
+ * Specifies whether an event data store collects events logged for an organization in Organizations.
1420
+ */
1421
+ OrganizationEnabled?: Boolean;
1422
+ /**
1423
+ * The retention period, in days.
1424
+ */
1425
+ RetentionPeriod?: RetentionPeriod;
1426
+ /**
1427
+ * Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
1428
+ */
1429
+ TerminationProtectionEnabled?: TerminationProtectionEnabled;
1430
+ }
1431
+ export interface UpdateEventDataStoreResponse {
1432
+ /**
1433
+ * The ARN of the event data store.
1434
+ */
1435
+ EventDataStoreArn?: EventDataStoreArn;
1436
+ /**
1437
+ * The name of the event data store.
1438
+ */
1439
+ Name?: EventDataStoreName;
1440
+ /**
1441
+ * The status of an event data store. Values can be ENABLED and PENDING_DELETION.
1442
+ */
1443
+ Status?: EventDataStoreStatus;
1444
+ /**
1445
+ * The advanced event selectors that are applied to the event data store.
1446
+ */
1447
+ AdvancedEventSelectors?: AdvancedEventSelectors;
1448
+ /**
1449
+ * Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
1450
+ */
1451
+ MultiRegionEnabled?: Boolean;
1452
+ /**
1453
+ * Indicates whether an event data store is collecting logged events for an organization in Organizations.
1454
+ */
1455
+ OrganizationEnabled?: Boolean;
1456
+ /**
1457
+ * The retention period, in days.
1458
+ */
1459
+ RetentionPeriod?: RetentionPeriod;
1460
+ /**
1461
+ * Indicates whether termination protection is enabled for the event data store.
1462
+ */
1463
+ TerminationProtectionEnabled?: TerminationProtectionEnabled;
1464
+ /**
1465
+ * The timestamp that shows when an event data store was first created.
1466
+ */
1467
+ CreatedTimestamp?: _Date;
1468
+ /**
1469
+ * The timestamp that shows when the event data store was last updated. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
1470
+ */
1471
+ UpdatedTimestamp?: _Date;
1472
+ }
871
1473
  export interface UpdateTrailRequest {
872
1474
  /**
873
1475
  * Specifies the name of the trail or trail ARN. If Name is a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid. Not be in IP address format (for example, 192.168.5.4) If Name is a trail ARN, it must be in the following format. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail