@pgarbe/cdk-ecr-sync 0.5.26 → 0.5.29

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 (411) hide show
  1. package/.gitattributes +0 -1
  2. package/.jsii +5 -5
  3. package/.projenrc.ts +5 -3
  4. package/CHANGELOG.md +1 -1
  5. package/lib/ecr-sync.d.ts +1 -0
  6. package/lib/ecr-sync.d.ts.map +1 -0
  7. package/lib/ecr-sync.js +1 -1
  8. package/lib/image.d.ts +1 -0
  9. package/lib/image.d.ts.map +1 -0
  10. package/lib/index.d.ts +1 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/lambda/docker-adapter.d.ts +1 -0
  13. package/lib/lambda/docker-adapter.d.ts.map +1 -0
  14. package/lib/lambda/ecr-adapter.d.ts +1 -0
  15. package/lib/lambda/ecr-adapter.d.ts.map +1 -0
  16. package/lib/lambda/get-image-tags-handler.d.ts +1 -0
  17. package/lib/lambda/get-image-tags-handler.d.ts.map +1 -0
  18. package/node_modules/aws-sdk/CHANGELOG.md +384 -1
  19. package/node_modules/aws-sdk/README.md +1 -1
  20. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +56 -25
  21. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +68 -50
  22. package/node_modules/aws-sdk/apis/amplifybackend-2020-08-11.min.json +47 -7
  23. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +144 -65
  24. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +10 -0
  25. package/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json +5 -0
  26. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +177 -113
  27. package/node_modules/aws-sdk/apis/appmesh-2019-01-25.min.json +129 -121
  28. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +206 -44
  29. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +5 -0
  30. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +9 -0
  31. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +79 -33
  32. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +31 -46
  33. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +113 -90
  34. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +30 -0
  35. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +22 -11
  36. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +143 -94
  37. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.examples.json +5 -0
  38. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.min.json +1374 -0
  39. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.paginators.json +62 -0
  40. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.waiters2.json +4 -0
  41. package/node_modules/aws-sdk/apis/braket-2019-09-01.min.json +30 -27
  42. package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +107 -45
  43. package/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json +6 -0
  44. package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +206 -125
  45. package/node_modules/aws-sdk/apis/chime-2018-05-01.min.json +3 -0
  46. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.examples.json +5 -0
  47. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +330 -0
  48. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.paginators.json +9 -0
  49. package/node_modules/aws-sdk/apis/chime-sdk-meetings-2021-07-15.min.json +16 -11
  50. package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.paginators.json +4 -2
  51. package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.waiters2.json +23 -27
  52. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +42 -28
  53. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +25 -2
  54. package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.min.json +15 -8
  55. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +119 -118
  56. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +143 -2
  57. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.paginators.json +5 -0
  58. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +217 -113
  59. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +552 -134
  60. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +21 -0
  61. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +537 -200
  62. package/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +41 -38
  63. package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +83 -4
  64. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +144 -74
  65. package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +213 -119
  66. package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +67 -32
  67. package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +10 -2
  68. package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +10 -4
  69. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1098 -848
  70. package/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +18 -0
  71. package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +14 -11
  72. package/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +4 -1
  73. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +10 -0
  74. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +3 -0
  75. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +47 -35
  76. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +262 -19
  77. package/node_modules/aws-sdk/apis/evidently-2021-02-01.min.json +14 -0
  78. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +454 -7
  79. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.paginators.json +12 -0
  80. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +107 -15
  81. package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +265 -82
  82. package/node_modules/aws-sdk/apis/fms-2018-01-01.paginators.json +6 -0
  83. package/node_modules/aws-sdk/apis/forecast-2018-06-26.min.json +297 -61
  84. package/node_modules/aws-sdk/apis/forecast-2018-06-26.paginators.json +24 -0
  85. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +120 -98
  86. package/node_modules/aws-sdk/apis/fsx-2018-03-01.paginators.json +4 -2
  87. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.examples.json +5 -0
  88. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.min.json +1376 -0
  89. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.paginators.json +46 -0
  90. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +2257 -440
  91. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
  92. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +194 -19
  93. package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +37 -18
  94. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +107 -73
  95. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +280 -202
  96. package/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json +6 -0
  97. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +1 -1
  98. package/node_modules/aws-sdk/apis/iotevents-data-2018-10-23.min.json +45 -0
  99. package/node_modules/aws-sdk/apis/iotsecuretunneling-2018-10-05.min.json +28 -0
  100. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.min.json +516 -168
  101. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.paginators.json +14 -0
  102. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +75 -68
  103. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +401 -80
  104. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json +5 -0
  105. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.examples.json +5 -0
  106. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +443 -0
  107. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.paginators.json +9 -0
  108. package/node_modules/aws-sdk/apis/kafkaconnect-2021-09-14.min.json +95 -48
  109. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +324 -83
  110. package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +20 -0
  111. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.examples.json +5 -0
  112. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.min.json +562 -0
  113. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.paginators.json +22 -0
  114. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.waiters2.json +5 -0
  115. package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.min.json +64 -0
  116. package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.paginators.json +6 -0
  117. package/node_modules/aws-sdk/apis/kinesisvideo-2017-09-30.min.json +145 -8
  118. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +239 -9
  119. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +80 -12
  120. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +418 -149
  121. package/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json +6 -0
  122. package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +54 -2
  123. package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +117 -56
  124. package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +20 -12
  125. package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +2 -0
  126. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +274 -12
  127. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +5 -0
  128. package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +165 -41
  129. package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +0 -1
  130. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +31 -28
  131. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +83 -27
  132. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +151 -120
  133. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +222 -154
  134. package/node_modules/aws-sdk/apis/mediapackage-vod-2018-11-07.min.json +16 -13
  135. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +402 -153
  136. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.paginators.json +6 -0
  137. package/node_modules/aws-sdk/apis/metadata.json +20 -0
  138. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +15 -19
  139. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +0 -2
  140. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +47 -11
  141. package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +22 -7
  142. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +139 -53
  143. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +77 -62
  144. package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +74 -0
  145. package/node_modules/aws-sdk/apis/outposts-2019-12-03.paginators.json +10 -0
  146. package/node_modules/aws-sdk/apis/panorama-2019-07-24.min.json +414 -346
  147. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +197 -47
  148. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +2 -1
  149. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.examples.json +5 -0
  150. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1681 -0
  151. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +70 -0
  152. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.waiters2.json +5 -0
  153. package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +4 -1
  154. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +186 -44
  155. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +289 -413
  156. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +0 -12
  157. package/node_modules/aws-sdk/apis/rds-data-2018-08-01.min.json +4 -1
  158. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +41 -23
  159. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +247 -111
  160. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +125 -74
  161. package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +13 -3
  162. package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.min.json +49 -3
  163. package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.paginators.json +6 -0
  164. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +97 -97
  165. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +772 -239
  166. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +52 -51
  167. package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.min.json +64 -24
  168. package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.paginators.json +6 -0
  169. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +722 -689
  170. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.examples.json +15 -13
  171. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +378 -304
  172. package/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +16 -8
  173. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +8 -2
  174. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +333 -294
  175. package/node_modules/aws-sdk/apis/ssm-contacts-2021-05-03.examples.json +1 -1
  176. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +48 -37
  177. package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +41 -36
  178. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +82 -45
  179. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +31 -25
  180. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +59 -48
  181. package/node_modules/aws-sdk/apis/transfer-2018-11-05.paginators.json +27 -8
  182. package/node_modules/aws-sdk/apis/transfer-2018-11-05.waiters2.json +45 -0
  183. package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +19 -18
  184. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +313 -131
  185. package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +60 -19
  186. package/node_modules/aws-sdk/apis/worklink-2018-09-25.min.json +99 -33
  187. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +195 -27
  188. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +107 -36
  189. package/node_modules/aws-sdk/clients/acmpca.d.ts +72 -36
  190. package/node_modules/aws-sdk/clients/all.d.ts +6 -0
  191. package/node_modules/aws-sdk/clients/all.js +7 -1
  192. package/node_modules/aws-sdk/clients/amplify.d.ts +12 -7
  193. package/node_modules/aws-sdk/clients/amplifybackend.d.ts +48 -12
  194. package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +142 -18
  195. package/node_modules/aws-sdk/clients/appflow.d.ts +80 -1
  196. package/node_modules/aws-sdk/clients/appmesh.d.ts +70 -51
  197. package/node_modules/aws-sdk/clients/apprunner.d.ts +195 -11
  198. package/node_modules/aws-sdk/clients/appstream.d.ts +13 -1
  199. package/node_modules/aws-sdk/clients/athena.d.ts +70 -9
  200. package/node_modules/aws-sdk/clients/auditmanager.d.ts +8 -8
  201. package/node_modules/aws-sdk/clients/autoscaling.d.ts +62 -34
  202. package/node_modules/aws-sdk/clients/backup.d.ts +49 -25
  203. package/node_modules/aws-sdk/clients/batch.d.ts +120 -52
  204. package/node_modules/aws-sdk/clients/billingconductor.d.ts +1554 -0
  205. package/node_modules/aws-sdk/clients/billingconductor.js +19 -0
  206. package/node_modules/aws-sdk/clients/braket.d.ts +7 -2
  207. package/node_modules/aws-sdk/clients/budgets.d.ts +107 -48
  208. package/node_modules/aws-sdk/clients/chime.d.ts +10 -6
  209. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +348 -0
  210. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.js +18 -0
  211. package/node_modules/aws-sdk/clients/chimesdkmeetings.d.ts +31 -5
  212. package/node_modules/aws-sdk/clients/cloudcontrol.d.ts +24 -24
  213. package/node_modules/aws-sdk/clients/cloudformation.d.ts +1 -1
  214. package/node_modules/aws-sdk/clients/cloudfront.d.ts +15 -0
  215. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +34 -26
  216. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +44 -12
  217. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +4 -4
  218. package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +18 -5
  219. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +78 -73
  220. package/node_modules/aws-sdk/clients/comprehend.d.ts +218 -24
  221. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +3 -3
  222. package/node_modules/aws-sdk/clients/configservice.d.ts +220 -49
  223. package/node_modules/aws-sdk/clients/connect.d.ts +539 -9
  224. package/node_modules/aws-sdk/clients/costexplorer.d.ts +91 -5
  225. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +365 -2
  226. package/node_modules/aws-sdk/clients/databrew.d.ts +8 -3
  227. package/node_modules/aws-sdk/clients/dataexchange.d.ts +117 -0
  228. package/node_modules/aws-sdk/clients/datasync.d.ts +103 -16
  229. package/node_modules/aws-sdk/clients/devopsguru.d.ts +109 -3
  230. package/node_modules/aws-sdk/clients/discovery.d.ts +63 -26
  231. package/node_modules/aws-sdk/clients/docdb.d.ts +56 -40
  232. package/node_modules/aws-sdk/clients/dynamodb.d.ts +10 -2
  233. package/node_modules/aws-sdk/clients/ebs.d.ts +7 -7
  234. package/node_modules/aws-sdk/clients/ec2.d.ts +450 -138
  235. package/node_modules/aws-sdk/clients/ecr.d.ts +10 -5
  236. package/node_modules/aws-sdk/clients/ecs.d.ts +51 -35
  237. package/node_modules/aws-sdk/clients/efs.d.ts +40 -40
  238. package/node_modules/aws-sdk/clients/eks.d.ts +14 -14
  239. package/node_modules/aws-sdk/clients/elasticache.d.ts +14 -10
  240. package/node_modules/aws-sdk/clients/emr.d.ts +24 -0
  241. package/node_modules/aws-sdk/clients/eventbridge.d.ts +380 -7
  242. package/node_modules/aws-sdk/clients/eventbridge.js +1 -0
  243. package/node_modules/aws-sdk/clients/evidently.d.ts +19 -7
  244. package/node_modules/aws-sdk/clients/finspacedata.d.ts +520 -46
  245. package/node_modules/aws-sdk/clients/fis.d.ts +124 -0
  246. package/node_modules/aws-sdk/clients/fms.d.ts +333 -3
  247. package/node_modules/aws-sdk/clients/forecastservice.d.ts +355 -18
  248. package/node_modules/aws-sdk/clients/fsx.d.ts +95 -63
  249. package/node_modules/aws-sdk/clients/gamelift.d.ts +186 -186
  250. package/node_modules/aws-sdk/clients/gamesparks.d.ts +1344 -0
  251. package/node_modules/aws-sdk/clients/gamesparks.js +18 -0
  252. package/node_modules/aws-sdk/clients/glue.d.ts +2581 -181
  253. package/node_modules/aws-sdk/clients/grafana.d.ts +153 -6
  254. package/node_modules/aws-sdk/clients/greengrassv2.d.ts +55 -24
  255. package/node_modules/aws-sdk/clients/guardduty.d.ts +6 -3
  256. package/node_modules/aws-sdk/clients/iam.d.ts +10 -10
  257. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +55 -6
  258. package/node_modules/aws-sdk/clients/iot.d.ts +87 -21
  259. package/node_modules/aws-sdk/clients/iotdata.d.ts +7 -7
  260. package/node_modules/aws-sdk/clients/ioteventsdata.d.ts +50 -0
  261. package/node_modules/aws-sdk/clients/iotsecuretunneling.d.ts +52 -18
  262. package/node_modules/aws-sdk/clients/iotsitewise.d.ts +369 -0
  263. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +25 -8
  264. package/node_modules/aws-sdk/clients/iotwireless.d.ts +356 -25
  265. package/node_modules/aws-sdk/clients/ivschat.d.ts +523 -0
  266. package/node_modules/aws-sdk/clients/ivschat.js +18 -0
  267. package/node_modules/aws-sdk/clients/kafkaconnect.d.ts +50 -5
  268. package/node_modules/aws-sdk/clients/kendra.d.ts +408 -93
  269. package/node_modules/aws-sdk/clients/keyspaces.d.ts +652 -0
  270. package/node_modules/aws-sdk/clients/keyspaces.js +19 -0
  271. package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +177 -10
  272. package/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts +94 -0
  273. package/node_modules/aws-sdk/clients/kms.d.ts +209 -119
  274. package/node_modules/aws-sdk/clients/lakeformation.d.ts +1 -1
  275. package/node_modules/aws-sdk/clients/lambda.d.ts +319 -16
  276. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +2 -2
  277. package/node_modules/aws-sdk/clients/lightsail.d.ts +175 -64
  278. package/node_modules/aws-sdk/clients/location.d.ts +28 -19
  279. package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +295 -9
  280. package/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +165 -0
  281. package/node_modules/aws-sdk/clients/lookoutvision.d.ts +4 -4
  282. package/node_modules/aws-sdk/clients/macie.d.ts +50 -50
  283. package/node_modules/aws-sdk/clients/macie2.d.ts +7 -2
  284. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +47 -0
  285. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +63 -17
  286. package/node_modules/aws-sdk/clients/medialive.d.ts +79 -3
  287. package/node_modules/aws-sdk/clients/mediapackage.d.ts +4 -4
  288. package/node_modules/aws-sdk/clients/mediapackagevod.d.ts +5 -0
  289. package/node_modules/aws-sdk/clients/mediatailor.d.ts +316 -12
  290. package/node_modules/aws-sdk/clients/mgn.d.ts +63 -50
  291. package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.d.ts +17 -17
  292. package/node_modules/aws-sdk/clients/mq.d.ts +16 -1
  293. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +151 -21
  294. package/node_modules/aws-sdk/clients/organizations.d.ts +146 -131
  295. package/node_modules/aws-sdk/clients/outposts.d.ts +94 -22
  296. package/node_modules/aws-sdk/clients/panorama.d.ts +467 -406
  297. package/node_modules/aws-sdk/clients/personalize.d.ts +196 -30
  298. package/node_modules/aws-sdk/clients/pi.d.ts +26 -26
  299. package/node_modules/aws-sdk/clients/pinpoint.d.ts +4 -0
  300. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +2367 -0
  301. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.js +19 -0
  302. package/node_modules/aws-sdk/clients/polly.d.ts +3 -3
  303. package/node_modules/aws-sdk/clients/pricing.d.ts +3 -3
  304. package/node_modules/aws-sdk/clients/proton.d.ts +105 -101
  305. package/node_modules/aws-sdk/clients/quicksight.d.ts +151 -17
  306. package/node_modules/aws-sdk/clients/ram.d.ts +5 -5
  307. package/node_modules/aws-sdk/clients/rds.d.ts +587 -766
  308. package/node_modules/aws-sdk/clients/rdsdataservice.d.ts +22 -7
  309. package/node_modules/aws-sdk/clients/redshift.d.ts +68 -30
  310. package/node_modules/aws-sdk/clients/rekognition.d.ts +209 -53
  311. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +138 -58
  312. package/node_modules/aws-sdk/clients/robomaker.d.ts +7 -6
  313. package/node_modules/aws-sdk/clients/route53.d.ts +12 -12
  314. package/node_modules/aws-sdk/clients/route53recoverycluster.d.ts +82 -10
  315. package/node_modules/aws-sdk/clients/s3.d.ts +735 -204
  316. package/node_modules/aws-sdk/clients/s3control.d.ts +8 -3
  317. package/node_modules/aws-sdk/clients/s3outposts.d.ts +50 -18
  318. package/node_modules/aws-sdk/clients/sagemaker.d.ts +225 -175
  319. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +27 -27
  320. package/node_modules/aws-sdk/clients/securityhub.d.ts +151 -7
  321. package/node_modules/aws-sdk/clients/servicecatalog.d.ts +8 -4
  322. package/node_modules/aws-sdk/clients/sns.d.ts +2 -2
  323. package/node_modules/aws-sdk/clients/ssm.d.ts +90 -37
  324. package/node_modules/aws-sdk/clients/ssmcontacts.d.ts +2 -2
  325. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +21 -7
  326. package/node_modules/aws-sdk/clients/storagegateway.d.ts +24 -24
  327. package/node_modules/aws-sdk/clients/sts.d.ts +5 -5
  328. package/node_modules/aws-sdk/clients/synthetics.d.ts +10 -5
  329. package/node_modules/aws-sdk/clients/textract.d.ts +47 -14
  330. package/node_modules/aws-sdk/clients/timestreamquery.d.ts +1 -1
  331. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +113 -103
  332. package/node_modules/aws-sdk/clients/transfer.d.ts +82 -14
  333. package/node_modules/aws-sdk/clients/transfer.js +1 -0
  334. package/node_modules/aws-sdk/clients/translate.d.ts +2 -0
  335. package/node_modules/aws-sdk/clients/wafv2.d.ts +274 -34
  336. package/node_modules/aws-sdk/clients/wisdom.d.ts +77 -32
  337. package/node_modules/aws-sdk/clients/workspaces.d.ts +243 -4
  338. package/node_modules/aws-sdk/clients/workspacesweb.d.ts +38 -4
  339. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +11 -6
  340. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +1322 -1034
  341. package/node_modules/aws-sdk/dist/aws-sdk.js +6144 -3175
  342. package/node_modules/aws-sdk/dist/aws-sdk.min.js +94 -92
  343. package/node_modules/aws-sdk/lib/config-base.d.ts +1 -0
  344. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -0
  345. package/node_modules/aws-sdk/lib/core.d.ts +1 -0
  346. package/node_modules/aws-sdk/lib/core.js +1 -1
  347. package/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js +1 -0
  348. package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.d.ts +28 -18
  349. package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js +75 -18
  350. package/node_modules/aws-sdk/lib/credentials/sso_credentials.d.ts +14 -0
  351. package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +179 -0
  352. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +8 -0
  353. package/node_modules/aws-sdk/lib/model/operation.js +6 -1
  354. package/node_modules/aws-sdk/lib/node_loader.js +2 -0
  355. package/node_modules/aws-sdk/lib/param_validator.js +1 -2
  356. package/node_modules/aws-sdk/lib/region_config_data.json +10 -0
  357. package/node_modules/aws-sdk/lib/services/eventbridge.js +19 -0
  358. package/node_modules/aws-sdk/lib/services/s3.js +2 -1
  359. package/node_modules/aws-sdk/lib/services/s3util.js +6 -1
  360. package/node_modules/aws-sdk/package.json +1 -1
  361. package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +8 -5
  362. package/node_modules/jszip/.github/workflows/pr.yaml +41 -0
  363. package/node_modules/jszip/CHANGES.md +20 -1
  364. package/node_modules/jszip/LICENSE.markdown +1 -1
  365. package/node_modules/jszip/README.markdown +1 -3
  366. package/node_modules/jszip/dist/jszip.js +229 -16
  367. package/node_modules/jszip/dist/jszip.min.js +4 -4
  368. package/node_modules/jszip/index.d.ts +80 -15
  369. package/node_modules/jszip/lib/index.js +1 -1
  370. package/node_modules/jszip/lib/license_header.js +2 -2
  371. package/node_modules/jszip/lib/load.js +8 -1
  372. package/node_modules/jszip/lib/utils.js +28 -3
  373. package/node_modules/jszip/package.json +10 -9
  374. package/node_modules/jszip/tsconfig.json +101 -0
  375. package/node_modules/jszip/vendor/FileSaver.js +1 -1
  376. package/node_modules/setimmediate/LICENSE.txt +20 -0
  377. package/node_modules/setimmediate/package.json +30 -0
  378. package/node_modules/setimmediate/setImmediate.js +186 -0
  379. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/.npmignore +0 -0
  380. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/CHANGELOG.md +0 -0
  381. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/LICENSE +0 -0
  382. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/README.md +0 -0
  383. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/Utility.js +0 -0
  384. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLAttribute.js +0 -0
  385. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLCData.js +0 -0
  386. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLComment.js +0 -0
  387. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDAttList.js +0 -0
  388. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDElement.js +0 -0
  389. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDEntity.js +0 -0
  390. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDNotation.js +0 -0
  391. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDeclaration.js +0 -0
  392. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocType.js +0 -0
  393. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocument.js +0 -0
  394. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocumentCB.js +0 -0
  395. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLElement.js +0 -0
  396. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLNode.js +0 -0
  397. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLProcessingInstruction.js +0 -0
  398. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLRaw.js +0 -0
  399. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStreamWriter.js +0 -0
  400. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringWriter.js +0 -0
  401. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringifier.js +0 -0
  402. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLText.js +0 -0
  403. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLWriterBase.js +0 -0
  404. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/index.js +0 -0
  405. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/package.json +0 -0
  406. package/package.json +18 -13
  407. package/releasetag.txt +1 -1
  408. package/version.txt +1 -1
  409. package/node_modules/set-immediate-shim/index.js +0 -7
  410. package/node_modules/set-immediate-shim/package.json +0 -34
  411. package/node_modules/set-immediate-shim/readme.md +0 -31
@@ -52,11 +52,11 @@ declare class StorageGateway extends Service {
52
52
  */
53
53
  addWorkingStorage(callback?: (err: AWSError, data: StorageGateway.Types.AddWorkingStorageOutput) => void): Request<StorageGateway.Types.AddWorkingStorageOutput, AWSError>;
54
54
  /**
55
- * Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
55
+ * Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
56
56
  */
57
57
  assignTapePool(params: StorageGateway.Types.AssignTapePoolInput, callback?: (err: AWSError, data: StorageGateway.Types.AssignTapePoolOutput) => void): Request<StorageGateway.Types.AssignTapePoolOutput, AWSError>;
58
58
  /**
59
- * Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
59
+ * Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
60
60
  */
61
61
  assignTapePool(callback?: (err: AWSError, data: StorageGateway.Types.AssignTapePoolOutput) => void): Request<StorageGateway.Types.AssignTapePoolOutput, AWSError>;
62
62
  /**
@@ -204,11 +204,11 @@ declare class StorageGateway extends Service {
204
204
  */
205
205
  deleteGateway(callback?: (err: AWSError, data: StorageGateway.Types.DeleteGatewayOutput) => void): Request<StorageGateway.Types.DeleteGatewayOutput, AWSError>;
206
206
  /**
207
- * Deletes a snapshot of a volume. You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see Backing up your volumes. In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). This operation is only supported in stored and cached volume gateway types. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
207
+ * Deletes a snapshot of a volume. You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see Backing up your volumes. In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). This operation is only supported for cached volume gateway types. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
208
208
  */
209
209
  deleteSnapshotSchedule(params: StorageGateway.Types.DeleteSnapshotScheduleInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteSnapshotScheduleOutput) => void): Request<StorageGateway.Types.DeleteSnapshotScheduleOutput, AWSError>;
210
210
  /**
211
- * Deletes a snapshot of a volume. You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see Backing up your volumes. In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). This operation is only supported in stored and cached volume gateway types. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
211
+ * Deletes a snapshot of a volume. You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see Backing up your volumes. In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). This operation is only supported for cached volume gateway types. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
212
212
  */
213
213
  deleteSnapshotSchedule(callback?: (err: AWSError, data: StorageGateway.Types.DeleteSnapshotScheduleOutput) => void): Request<StorageGateway.Types.DeleteSnapshotScheduleOutput, AWSError>;
214
214
  /**
@@ -524,19 +524,19 @@ declare class StorageGateway extends Service {
524
524
  */
525
525
  listVolumes(callback?: (err: AWSError, data: StorageGateway.Types.ListVolumesOutput) => void): Request<StorageGateway.Types.ListVolumesOutput, AWSError>;
526
526
  /**
527
- * Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to Amazon S3. Storage Gateway can send a notification through Amazon CloudWatch Events when all files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you make a request for notification. When the upload is done, Storage Gateway sends you notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways. For more information, see Getting file upload notification in the Storage Gateway User Guide.
527
+ * Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to S3. Amazon S3. Storage Gateway can send a notification through Amazon CloudWatch Events when all files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you make a request for notification. When the upload is done, Storage Gateway sends you notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways. For more information, see Getting file upload notification in the Storage Gateway User Guide.
528
528
  */
529
529
  notifyWhenUploaded(params: StorageGateway.Types.NotifyWhenUploadedInput, callback?: (err: AWSError, data: StorageGateway.Types.NotifyWhenUploadedOutput) => void): Request<StorageGateway.Types.NotifyWhenUploadedOutput, AWSError>;
530
530
  /**
531
- * Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to Amazon S3. Storage Gateway can send a notification through Amazon CloudWatch Events when all files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you make a request for notification. When the upload is done, Storage Gateway sends you notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways. For more information, see Getting file upload notification in the Storage Gateway User Guide.
531
+ * Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to S3. Amazon S3. Storage Gateway can send a notification through Amazon CloudWatch Events when all files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you make a request for notification. When the upload is done, Storage Gateway sends you notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways. For more information, see Getting file upload notification in the Storage Gateway User Guide.
532
532
  */
533
533
  notifyWhenUploaded(callback?: (err: AWSError, data: StorageGateway.Types.NotifyWhenUploadedOutput) => void): Request<StorageGateway.Types.NotifyWhenUploadedOutput, AWSError>;
534
534
  /**
535
- * Refreshes the cached inventory of objects for the specified file share. This operation finds objects in the Amazon S3 bucket that were added, removed, or replaced since the gateway last listed the bucket's contents and cached the results. This operation does not import files into the S3 File Gateway cache storage. It only updates the cached inventory to reflect changes in the inventory of the objects in the S3 bucket. This operation is only supported in the S3 File Gateway types. You can subscribe to be notified through an Amazon CloudWatch event when your RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway User Guide. This operation is Only supported for S3 File Gateways. When this API is called, it only initiates the refresh operation. When the API call completes and returns a success code, it doesn't necessarily mean that the file refresh has completed. You should use the refresh-complete notification to determine that the operation has completed before you check for new files on the gateway file share. You can subscribe to be notified through a CloudWatch event when your RefreshCache operation completes. Throttle limit: This API is asynchronous, so the gateway will accept no more than two refreshes at any time. We recommend using the refresh-complete CloudWatch event notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway User Guide. If you invoke the RefreshCache API when two requests are already being processed, any new request will cause an InvalidGatewayRequestException error because too many requests were sent to the server. For more information, see Getting notified about file operations in the Storage Gateway User Guide.
535
+ * Refreshes the cached inventory of objects for the specified file share. This operation finds objects in the Amazon S3 bucket that were added, removed, or replaced since the gateway last listed the bucket's contents and cached the results. This operation does not import files into the S3 File Gateway cache storage. It only updates the cached inventory to reflect changes in the inventory of the objects in the S3 bucket. This operation is only supported in the S3 File Gateway types. You can subscribe to be notified through an Amazon CloudWatch event when your RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway User Guide. This operation is Only supported for S3 File Gateways. When this API is called, it only initiates the refresh operation. When the API call completes and returns a success code, it doesn't necessarily mean that the file refresh has completed. You should use the refresh-complete notification to determine that the operation has completed before you check for new files on the gateway file share. You can subscribe to be notified through a CloudWatch event when your RefreshCache operation completes. Throttle limit: This API is asynchronous, so the gateway will accept no more than two refreshes at any time. We recommend using the refresh-complete CloudWatch event notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway User Guide. Wait at least 60 seconds between consecutive RefreshCache API requests. RefreshCache does not evict cache entries if invoked consecutively within 60 seconds of a previous RefreshCache request. If you invoke the RefreshCache API when two requests are already being processed, any new request will cause an InvalidGatewayRequestException error because too many requests were sent to the server. The S3 bucket name does not need to be included when entering the list of folders in the FolderList parameter. For more information, see Getting notified about file operations in the Storage Gateway User Guide.
536
536
  */
537
537
  refreshCache(params: StorageGateway.Types.RefreshCacheInput, callback?: (err: AWSError, data: StorageGateway.Types.RefreshCacheOutput) => void): Request<StorageGateway.Types.RefreshCacheOutput, AWSError>;
538
538
  /**
539
- * Refreshes the cached inventory of objects for the specified file share. This operation finds objects in the Amazon S3 bucket that were added, removed, or replaced since the gateway last listed the bucket's contents and cached the results. This operation does not import files into the S3 File Gateway cache storage. It only updates the cached inventory to reflect changes in the inventory of the objects in the S3 bucket. This operation is only supported in the S3 File Gateway types. You can subscribe to be notified through an Amazon CloudWatch event when your RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway User Guide. This operation is Only supported for S3 File Gateways. When this API is called, it only initiates the refresh operation. When the API call completes and returns a success code, it doesn't necessarily mean that the file refresh has completed. You should use the refresh-complete notification to determine that the operation has completed before you check for new files on the gateway file share. You can subscribe to be notified through a CloudWatch event when your RefreshCache operation completes. Throttle limit: This API is asynchronous, so the gateway will accept no more than two refreshes at any time. We recommend using the refresh-complete CloudWatch event notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway User Guide. If you invoke the RefreshCache API when two requests are already being processed, any new request will cause an InvalidGatewayRequestException error because too many requests were sent to the server. For more information, see Getting notified about file operations in the Storage Gateway User Guide.
539
+ * Refreshes the cached inventory of objects for the specified file share. This operation finds objects in the Amazon S3 bucket that were added, removed, or replaced since the gateway last listed the bucket's contents and cached the results. This operation does not import files into the S3 File Gateway cache storage. It only updates the cached inventory to reflect changes in the inventory of the objects in the S3 bucket. This operation is only supported in the S3 File Gateway types. You can subscribe to be notified through an Amazon CloudWatch event when your RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway User Guide. This operation is Only supported for S3 File Gateways. When this API is called, it only initiates the refresh operation. When the API call completes and returns a success code, it doesn't necessarily mean that the file refresh has completed. You should use the refresh-complete notification to determine that the operation has completed before you check for new files on the gateway file share. You can subscribe to be notified through a CloudWatch event when your RefreshCache operation completes. Throttle limit: This API is asynchronous, so the gateway will accept no more than two refreshes at any time. We recommend using the refresh-complete CloudWatch event notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway User Guide. Wait at least 60 seconds between consecutive RefreshCache API requests. RefreshCache does not evict cache entries if invoked consecutively within 60 seconds of a previous RefreshCache request. If you invoke the RefreshCache API when two requests are already being processed, any new request will cause an InvalidGatewayRequestException error because too many requests were sent to the server. The S3 bucket name does not need to be included when entering the list of folders in the FolderList parameter. For more information, see Getting notified about file operations in the Storage Gateway User Guide.
540
540
  */
541
541
  refreshCache(callback?: (err: AWSError, data: StorageGateway.Types.RefreshCacheOutput) => void): Request<StorageGateway.Types.RefreshCacheOutput, AWSError>;
542
542
  /**
@@ -824,7 +824,7 @@ declare namespace StorageGateway {
824
824
  */
825
825
  TapeARN: TapeARN;
826
826
  /**
827
- * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
827
+ * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
828
828
  */
829
829
  PoolId: PoolId;
830
830
  /**
@@ -924,7 +924,7 @@ declare namespace StorageGateway {
924
924
  */
925
925
  TapeBarcodePrefix: TapeBarcodePrefix;
926
926
  /**
927
- * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
927
+ * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
928
928
  */
929
929
  PoolId: PoolId;
930
930
  /**
@@ -1026,7 +1026,7 @@ declare namespace StorageGateway {
1026
1026
  */
1027
1027
  CreatedDate?: CreatedDate;
1028
1028
  /**
1029
- * The size of the data stored on the volume in bytes. This value is calculated based on the number of blocks that are touched, instead of the actual amount of data written. This value can be useful for sequential write patterns but less accurate for random write patterns. VolumeUsedInBytes is different from the compressed size of the volume, which is the value that is used to calculate your bill. This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
1029
+ * The size of the data stored on the volume in bytes. This value is calculated based on the number of blocks that are touched, instead of the actual amount of data written. This value can be useful for sequential write patterns but less accurate for random write patterns. VolumeUsedInBytes is different from the compressed size of the volume, which is the value that is used to calculate your bill. This value is not available for volumes created prior to May 13, 2015, until you store data on the volume. If you use a delete tool that overwrites the data on your volume with random data, your usage will not be reduced. This is because the random data is not compressible. If you want to reduce the amount of billed storage on your volume, we recommend overwriting your files with zeros to compress the data to a negligible amount of actual storage.
1030
1030
  */
1031
1031
  VolumeUsedInBytes?: VolumeUsedInBytes;
1032
1032
  KMSKey?: KMSKey;
@@ -1164,7 +1164,7 @@ declare namespace StorageGateway {
1164
1164
  */
1165
1165
  LocationARN: LocationARN;
1166
1166
  /**
1167
- * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
1167
+ * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
1168
1168
  */
1169
1169
  DefaultStorageClass?: StorageClass;
1170
1170
  /**
@@ -1252,7 +1252,7 @@ declare namespace StorageGateway {
1252
1252
  */
1253
1253
  LocationARN: LocationARN;
1254
1254
  /**
1255
- * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
1255
+ * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
1256
1256
  */
1257
1257
  DefaultStorageClass?: StorageClass;
1258
1258
  /**
@@ -1489,7 +1489,7 @@ declare namespace StorageGateway {
1489
1489
  */
1490
1490
  KMSKey?: KMSKey;
1491
1491
  /**
1492
- * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
1492
+ * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Deep Archive) that corresponds to the pool.
1493
1493
  */
1494
1494
  PoolId?: PoolId;
1495
1495
  /**
@@ -1537,7 +1537,7 @@ declare namespace StorageGateway {
1537
1537
  */
1538
1538
  KMSKey?: KMSKey;
1539
1539
  /**
1540
- * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
1540
+ * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
1541
1541
  */
1542
1542
  PoolId?: PoolId;
1543
1543
  /**
@@ -1829,7 +1829,7 @@ declare namespace StorageGateway {
1829
1829
  */
1830
1830
  NextUpdateAvailabilityDate?: NextUpdateAvailabilityDate;
1831
1831
  /**
1832
- * The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
1832
+ * The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response. This only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM
1833
1833
  */
1834
1834
  LastSoftwareUpdate?: LastSoftwareUpdate;
1835
1835
  /**
@@ -1849,7 +1849,7 @@ declare namespace StorageGateway {
1849
1849
  */
1850
1850
  VPCEndpoint?: string;
1851
1851
  /**
1852
- * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor events in the gateway.
1852
+ * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor events in the gateway. This field only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM
1853
1853
  */
1854
1854
  CloudWatchLogGroupARN?: CloudWatchLogGroupARN;
1855
1855
  /**
@@ -2671,7 +2671,7 @@ declare namespace StorageGateway {
2671
2671
  Role?: Role;
2672
2672
  LocationARN?: LocationARN;
2673
2673
  /**
2674
- * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
2674
+ * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
2675
2675
  */
2676
2676
  DefaultStorageClass?: StorageClass;
2677
2677
  ObjectACL?: ObjectACL;
@@ -2875,7 +2875,7 @@ declare namespace StorageGateway {
2875
2875
  Role?: Role;
2876
2876
  LocationARN?: LocationARN;
2877
2877
  /**
2878
- * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
2878
+ * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
2879
2879
  */
2880
2880
  DefaultStorageClass?: StorageClass;
2881
2881
  ObjectACL?: ObjectACL;
@@ -3114,7 +3114,7 @@ declare namespace StorageGateway {
3114
3114
  TapeUsedInBytes?: TapeUsage;
3115
3115
  KMSKey?: KMSKey;
3116
3116
  /**
3117
- * The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
3117
+ * The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
3118
3118
  */
3119
3119
  PoolId?: PoolId;
3120
3120
  /**
@@ -3167,7 +3167,7 @@ declare namespace StorageGateway {
3167
3167
  TapeUsedInBytes?: TapeUsage;
3168
3168
  KMSKey?: KMSKey;
3169
3169
  /**
3170
- * The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool. Valid Values: GLACIER | DEEP_ARCHIVE
3170
+ * The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.
3171
3171
  */
3172
3172
  PoolId?: PoolId;
3173
3173
  /**
@@ -3210,7 +3210,7 @@ declare namespace StorageGateway {
3210
3210
  */
3211
3211
  GatewayARN?: GatewayARN;
3212
3212
  /**
3213
- * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. Valid Values: GLACIER | DEEP_ARCHIVE
3213
+ * The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
3214
3214
  */
3215
3215
  PoolId?: PoolId;
3216
3216
  /**
@@ -3408,7 +3408,7 @@ declare namespace StorageGateway {
3408
3408
  */
3409
3409
  NFSFileShareDefaults?: NFSFileShareDefaults;
3410
3410
  /**
3411
- * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
3411
+ * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
3412
3412
  */
3413
3413
  DefaultStorageClass?: StorageClass;
3414
3414
  /**
@@ -3472,7 +3472,7 @@ declare namespace StorageGateway {
3472
3472
  */
3473
3473
  KMSKey?: KMSKey;
3474
3474
  /**
3475
- * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
3475
+ * The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is S3_STANDARD. Optional. Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA
3476
3476
  */
3477
3477
  DefaultStorageClass?: StorageClass;
3478
3478
  /**
@@ -28,11 +28,11 @@ declare class STS extends Service {
28
28
  */
29
29
  assumeRoleWithSAML(callback?: (err: AWSError, data: STS.Types.AssumeRoleWithSAMLResponse) => void): Request<STS.Types.AssumeRoleWithSAMLResponse, AWSError>;
30
30
  /**
31
- * Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider. Example providers include Amazon Cognito, Login with Amazon, Facebook, Google, or any OpenID Connect-compatible identity provider. For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the Amazon Web Services SDK for iOS Developer Guide and the Amazon Web Services SDK for Android Developer Guide to uniquely identify a user. You can also supply the user with a consistent identity throughout the lifetime of an application. To learn more about Amazon Cognito, see Amazon Cognito Overview in Amazon Web Services SDK for Android Developer Guide and Amazon Cognito Overview in the Amazon Web Services SDK for iOS Developer Guide. Calling AssumeRoleWithWebIdentity does not require the use of Amazon Web Services security credentials. Therefore, you can distribute an application (for example, on mobile devices) that requests temporary security credentials without including long-term Amazon Web Services credentials in the application. You also don't need to deploy server-based proxy services that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by using a token from the web identity provider. For a comparison of AssumeRoleWithWebIdentity with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. The temporary security credentials returned by this API consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to Amazon Web Services service API operations. Session Duration By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, you can use the optional DurationSeconds parameter to specify the duration of your session. You can provide a value from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the Maximum Session Duration Setting for a Role in the IAM User Guide. The maximum session duration limit applies when you use the AssumeRole* API operations or the assume-role* CLI commands. However the limit does not apply when you use those operations to create a console URL. For more information, see Using IAM Roles in the IAM User Guide. Permissions The temporary security credentials created by AssumeRoleWithWebIdentity can be used to make API calls to any Amazon Web Services service with the following exception: you cannot call the STS GetFederationToken or GetSessionToken API operations. (Optional) You can pass inline or managed session policies to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plaintext that you use for both inline and managed session policies can't exceed 2,048 characters. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent Amazon Web Services API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide. Tags (Optional) You can configure your IdP to pass attributes into your web identity token as session tags. Each session tag consists of a key name and an associated value. For more information about session tags, see Passing Session Tags in STS in the IAM User Guide. You can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128 characters and the values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide. An Amazon Web Services conversion compresses the passed session policies and session tags into a packed binary format that has a separate limit. Your request can fail for this limit even if your plaintext meets the other requirements. The PackedPolicySize response element indicates by percentage how close the policies and tags for your request are to the upper size limit. You can pass a session tag with the same key as a tag that is attached to the role. When you do, the session tag overrides the role tag with the same key. An administrator must grant you the permissions necessary to pass session tags. The administrator can also create granular permissions to allow you to pass only specific session tags. For more information, see Tutorial: Using Tags for Attribute-Based Access Control in the IAM User Guide. You can set the session tags as transitive. Transitive tags persist during role chaining. For more information, see Chaining Roles with Session Tags in the IAM User Guide. Identities Before your application can call AssumeRoleWithWebIdentity, you must have an identity token from a supported identity provider and create a role that the application can assume. The role that your application assumes must trust the identity provider that is associated with the identity token. In other words, the identity provider must be specified in the role's trust policy. Calling AssumeRoleWithWebIdentity can result in an entry in your CloudTrail logs. The entry includes the Subject of the provided web identity token. We recommend that you avoid using any personally identifiable information (PII) in this field. For example, you could instead use a GUID or a pairwise identifier, as suggested in the OIDC specification. For more information about how to use web identity federation and the AssumeRoleWithWebIdentity API, see the following resources: Using Web Identity Federation API Operations for Mobile Apps and Federation Through a Web-based Identity Provider. Web Identity Federation Playground. Walk through the process of authenticating through Login with Amazon, Facebook, or Google, getting temporary security credentials, and then using those credentials to make a request to Amazon Web Services. Amazon Web Services SDK for iOS Developer Guide and Amazon Web Services SDK for Android Developer Guide. These toolkits contain sample apps that show how to invoke the identity providers. The toolkits then show how to use the information from these providers to get and use temporary security credentials. Web Identity Federation with Mobile Applications. This article discusses web identity federation and shows an example of how to use web identity federation to get access to content in Amazon S3.
31
+ * Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider. Example providers include the OAuth 2.0 providers Login with Amazon and Facebook, or any OpenID Connect-compatible identity provider such as Google or Amazon Cognito federated identities. For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the Amazon Web Services SDK for iOS Developer Guide and the Amazon Web Services SDK for Android Developer Guide to uniquely identify a user. You can also supply the user with a consistent identity throughout the lifetime of an application. To learn more about Amazon Cognito, see Amazon Cognito Overview in Amazon Web Services SDK for Android Developer Guide and Amazon Cognito Overview in the Amazon Web Services SDK for iOS Developer Guide. Calling AssumeRoleWithWebIdentity does not require the use of Amazon Web Services security credentials. Therefore, you can distribute an application (for example, on mobile devices) that requests temporary security credentials without including long-term Amazon Web Services credentials in the application. You also don't need to deploy server-based proxy services that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by using a token from the web identity provider. For a comparison of AssumeRoleWithWebIdentity with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. The temporary security credentials returned by this API consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to Amazon Web Services service API operations. Session Duration By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, you can use the optional DurationSeconds parameter to specify the duration of your session. You can provide a value from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the Maximum Session Duration Setting for a Role in the IAM User Guide. The maximum session duration limit applies when you use the AssumeRole* API operations or the assume-role* CLI commands. However the limit does not apply when you use those operations to create a console URL. For more information, see Using IAM Roles in the IAM User Guide. Permissions The temporary security credentials created by AssumeRoleWithWebIdentity can be used to make API calls to any Amazon Web Services service with the following exception: you cannot call the STS GetFederationToken or GetSessionToken API operations. (Optional) You can pass inline or managed session policies to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plaintext that you use for both inline and managed session policies can't exceed 2,048 characters. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent Amazon Web Services API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide. Tags (Optional) You can configure your IdP to pass attributes into your web identity token as session tags. Each session tag consists of a key name and an associated value. For more information about session tags, see Passing Session Tags in STS in the IAM User Guide. You can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128 characters and the values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide. An Amazon Web Services conversion compresses the passed session policies and session tags into a packed binary format that has a separate limit. Your request can fail for this limit even if your plaintext meets the other requirements. The PackedPolicySize response element indicates by percentage how close the policies and tags for your request are to the upper size limit. You can pass a session tag with the same key as a tag that is attached to the role. When you do, the session tag overrides the role tag with the same key. An administrator must grant you the permissions necessary to pass session tags. The administrator can also create granular permissions to allow you to pass only specific session tags. For more information, see Tutorial: Using Tags for Attribute-Based Access Control in the IAM User Guide. You can set the session tags as transitive. Transitive tags persist during role chaining. For more information, see Chaining Roles with Session Tags in the IAM User Guide. Identities Before your application can call AssumeRoleWithWebIdentity, you must have an identity token from a supported identity provider and create a role that the application can assume. The role that your application assumes must trust the identity provider that is associated with the identity token. In other words, the identity provider must be specified in the role's trust policy. Calling AssumeRoleWithWebIdentity can result in an entry in your CloudTrail logs. The entry includes the Subject of the provided web identity token. We recommend that you avoid using any personally identifiable information (PII) in this field. For example, you could instead use a GUID or a pairwise identifier, as suggested in the OIDC specification. For more information about how to use web identity federation and the AssumeRoleWithWebIdentity API, see the following resources: Using Web Identity Federation API Operations for Mobile Apps and Federation Through a Web-based Identity Provider. Web Identity Federation Playground. Walk through the process of authenticating through Login with Amazon, Facebook, or Google, getting temporary security credentials, and then using those credentials to make a request to Amazon Web Services. Amazon Web Services SDK for iOS Developer Guide and Amazon Web Services SDK for Android Developer Guide. These toolkits contain sample apps that show how to invoke the identity providers. The toolkits then show how to use the information from these providers to get and use temporary security credentials. Web Identity Federation with Mobile Applications. This article discusses web identity federation and shows an example of how to use web identity federation to get access to content in Amazon S3.
32
32
  */
33
33
  assumeRoleWithWebIdentity(params: STS.Types.AssumeRoleWithWebIdentityRequest, callback?: (err: AWSError, data: STS.Types.AssumeRoleWithWebIdentityResponse) => void): Request<STS.Types.AssumeRoleWithWebIdentityResponse, AWSError>;
34
34
  /**
35
- * Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider. Example providers include Amazon Cognito, Login with Amazon, Facebook, Google, or any OpenID Connect-compatible identity provider. For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the Amazon Web Services SDK for iOS Developer Guide and the Amazon Web Services SDK for Android Developer Guide to uniquely identify a user. You can also supply the user with a consistent identity throughout the lifetime of an application. To learn more about Amazon Cognito, see Amazon Cognito Overview in Amazon Web Services SDK for Android Developer Guide and Amazon Cognito Overview in the Amazon Web Services SDK for iOS Developer Guide. Calling AssumeRoleWithWebIdentity does not require the use of Amazon Web Services security credentials. Therefore, you can distribute an application (for example, on mobile devices) that requests temporary security credentials without including long-term Amazon Web Services credentials in the application. You also don't need to deploy server-based proxy services that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by using a token from the web identity provider. For a comparison of AssumeRoleWithWebIdentity with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. The temporary security credentials returned by this API consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to Amazon Web Services service API operations. Session Duration By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, you can use the optional DurationSeconds parameter to specify the duration of your session. You can provide a value from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the Maximum Session Duration Setting for a Role in the IAM User Guide. The maximum session duration limit applies when you use the AssumeRole* API operations or the assume-role* CLI commands. However the limit does not apply when you use those operations to create a console URL. For more information, see Using IAM Roles in the IAM User Guide. Permissions The temporary security credentials created by AssumeRoleWithWebIdentity can be used to make API calls to any Amazon Web Services service with the following exception: you cannot call the STS GetFederationToken or GetSessionToken API operations. (Optional) You can pass inline or managed session policies to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plaintext that you use for both inline and managed session policies can't exceed 2,048 characters. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent Amazon Web Services API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide. Tags (Optional) You can configure your IdP to pass attributes into your web identity token as session tags. Each session tag consists of a key name and an associated value. For more information about session tags, see Passing Session Tags in STS in the IAM User Guide. You can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128 characters and the values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide. An Amazon Web Services conversion compresses the passed session policies and session tags into a packed binary format that has a separate limit. Your request can fail for this limit even if your plaintext meets the other requirements. The PackedPolicySize response element indicates by percentage how close the policies and tags for your request are to the upper size limit. You can pass a session tag with the same key as a tag that is attached to the role. When you do, the session tag overrides the role tag with the same key. An administrator must grant you the permissions necessary to pass session tags. The administrator can also create granular permissions to allow you to pass only specific session tags. For more information, see Tutorial: Using Tags for Attribute-Based Access Control in the IAM User Guide. You can set the session tags as transitive. Transitive tags persist during role chaining. For more information, see Chaining Roles with Session Tags in the IAM User Guide. Identities Before your application can call AssumeRoleWithWebIdentity, you must have an identity token from a supported identity provider and create a role that the application can assume. The role that your application assumes must trust the identity provider that is associated with the identity token. In other words, the identity provider must be specified in the role's trust policy. Calling AssumeRoleWithWebIdentity can result in an entry in your CloudTrail logs. The entry includes the Subject of the provided web identity token. We recommend that you avoid using any personally identifiable information (PII) in this field. For example, you could instead use a GUID or a pairwise identifier, as suggested in the OIDC specification. For more information about how to use web identity federation and the AssumeRoleWithWebIdentity API, see the following resources: Using Web Identity Federation API Operations for Mobile Apps and Federation Through a Web-based Identity Provider. Web Identity Federation Playground. Walk through the process of authenticating through Login with Amazon, Facebook, or Google, getting temporary security credentials, and then using those credentials to make a request to Amazon Web Services. Amazon Web Services SDK for iOS Developer Guide and Amazon Web Services SDK for Android Developer Guide. These toolkits contain sample apps that show how to invoke the identity providers. The toolkits then show how to use the information from these providers to get and use temporary security credentials. Web Identity Federation with Mobile Applications. This article discusses web identity federation and shows an example of how to use web identity federation to get access to content in Amazon S3.
35
+ * Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider. Example providers include the OAuth 2.0 providers Login with Amazon and Facebook, or any OpenID Connect-compatible identity provider such as Google or Amazon Cognito federated identities. For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the Amazon Web Services SDK for iOS Developer Guide and the Amazon Web Services SDK for Android Developer Guide to uniquely identify a user. You can also supply the user with a consistent identity throughout the lifetime of an application. To learn more about Amazon Cognito, see Amazon Cognito Overview in Amazon Web Services SDK for Android Developer Guide and Amazon Cognito Overview in the Amazon Web Services SDK for iOS Developer Guide. Calling AssumeRoleWithWebIdentity does not require the use of Amazon Web Services security credentials. Therefore, you can distribute an application (for example, on mobile devices) that requests temporary security credentials without including long-term Amazon Web Services credentials in the application. You also don't need to deploy server-based proxy services that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by using a token from the web identity provider. For a comparison of AssumeRoleWithWebIdentity with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. The temporary security credentials returned by this API consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to Amazon Web Services service API operations. Session Duration By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, you can use the optional DurationSeconds parameter to specify the duration of your session. You can provide a value from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the Maximum Session Duration Setting for a Role in the IAM User Guide. The maximum session duration limit applies when you use the AssumeRole* API operations or the assume-role* CLI commands. However the limit does not apply when you use those operations to create a console URL. For more information, see Using IAM Roles in the IAM User Guide. Permissions The temporary security credentials created by AssumeRoleWithWebIdentity can be used to make API calls to any Amazon Web Services service with the following exception: you cannot call the STS GetFederationToken or GetSessionToken API operations. (Optional) You can pass inline or managed session policies to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plaintext that you use for both inline and managed session policies can't exceed 2,048 characters. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent Amazon Web Services API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide. Tags (Optional) You can configure your IdP to pass attributes into your web identity token as session tags. Each session tag consists of a key name and an associated value. For more information about session tags, see Passing Session Tags in STS in the IAM User Guide. You can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128 characters and the values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide. An Amazon Web Services conversion compresses the passed session policies and session tags into a packed binary format that has a separate limit. Your request can fail for this limit even if your plaintext meets the other requirements. The PackedPolicySize response element indicates by percentage how close the policies and tags for your request are to the upper size limit. You can pass a session tag with the same key as a tag that is attached to the role. When you do, the session tag overrides the role tag with the same key. An administrator must grant you the permissions necessary to pass session tags. The administrator can also create granular permissions to allow you to pass only specific session tags. For more information, see Tutorial: Using Tags for Attribute-Based Access Control in the IAM User Guide. You can set the session tags as transitive. Transitive tags persist during role chaining. For more information, see Chaining Roles with Session Tags in the IAM User Guide. Identities Before your application can call AssumeRoleWithWebIdentity, you must have an identity token from a supported identity provider and create a role that the application can assume. The role that your application assumes must trust the identity provider that is associated with the identity token. In other words, the identity provider must be specified in the role's trust policy. Calling AssumeRoleWithWebIdentity can result in an entry in your CloudTrail logs. The entry includes the Subject of the provided web identity token. We recommend that you avoid using any personally identifiable information (PII) in this field. For example, you could instead use a GUID or a pairwise identifier, as suggested in the OIDC specification. For more information about how to use web identity federation and the AssumeRoleWithWebIdentity API, see the following resources: Using Web Identity Federation API Operations for Mobile Apps and Federation Through a Web-based Identity Provider. Web Identity Federation Playground. Walk through the process of authenticating through Login with Amazon, Facebook, or Google, getting temporary security credentials, and then using those credentials to make a request to Amazon Web Services. Amazon Web Services SDK for iOS Developer Guide and Amazon Web Services SDK for Android Developer Guide. These toolkits contain sample apps that show how to invoke the identity providers. The toolkits then show how to use the information from these providers to get and use temporary security credentials. Web Identity Federation with Mobile Applications. This article discusses web identity federation and shows an example of how to use web identity federation to get access to content in Amazon S3.
36
36
  */
37
37
  assumeRoleWithWebIdentity(callback?: (err: AWSError, data: STS.Types.AssumeRoleWithWebIdentityResponse) => void): Request<STS.Types.AssumeRoleWithWebIdentityResponse, AWSError>;
38
38
  /**
@@ -68,11 +68,11 @@ declare class STS extends Service {
68
68
  */
69
69
  getFederationToken(callback?: (err: AWSError, data: STS.Types.GetFederationTokenResponse) => void): Request<STS.Types.GetFederationTokenResponse, AWSError>;
70
70
  /**
71
- * Returns a set of temporary credentials for an Amazon Web Services account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific Amazon Web Services API operations like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to API operations that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. Session Duration The GetSessionToken operation must be called by using the long-term Amazon Web Services security credentials of the Amazon Web Services account root user or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour. Permissions The temporary security credentials created by GetSessionToken can be used to make API calls to any Amazon Web Services service with the following exceptions: You cannot call any IAM API operations unless MFA authentication information is included in the request. You cannot call any STS API except AssumeRole or GetCallerIdentity. We recommend that you do not call GetSessionToken with Amazon Web Services account root user credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with Amazon Web Services. The credentials that are returned by GetSessionToken are based on permissions associated with the user whose credentials were used to call the operation. If GetSessionToken is called using Amazon Web Services account root user credentials, the temporary credentials have root user permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user. For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide.
71
+ * Returns a set of temporary credentials for an Amazon Web Services account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific Amazon Web Services API operations like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to API operations that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. No permissions are required for users to perform this operation. The purpose of the sts:GetSessionToken operation is to authenticate the user using MFA. You cannot use policies to control authentication operations. For more information, see Permissions for GetSessionToken in the IAM User Guide. Session Duration The GetSessionToken operation must be called by using the long-term Amazon Web Services security credentials of the Amazon Web Services account root user or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour. Permissions The temporary security credentials created by GetSessionToken can be used to make API calls to any Amazon Web Services service with the following exceptions: You cannot call any IAM API operations unless MFA authentication information is included in the request. You cannot call any STS API except AssumeRole or GetCallerIdentity. We recommend that you do not call GetSessionToken with Amazon Web Services account root user credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with Amazon Web Services. The credentials that are returned by GetSessionToken are based on permissions associated with the user whose credentials were used to call the operation. If GetSessionToken is called using Amazon Web Services account root user credentials, the temporary credentials have root user permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user. For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide.
72
72
  */
73
73
  getSessionToken(params: STS.Types.GetSessionTokenRequest, callback?: (err: AWSError, data: STS.Types.GetSessionTokenResponse) => void): Request<STS.Types.GetSessionTokenResponse, AWSError>;
74
74
  /**
75
- * Returns a set of temporary credentials for an Amazon Web Services account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific Amazon Web Services API operations like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to API operations that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. Session Duration The GetSessionToken operation must be called by using the long-term Amazon Web Services security credentials of the Amazon Web Services account root user or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour. Permissions The temporary security credentials created by GetSessionToken can be used to make API calls to any Amazon Web Services service with the following exceptions: You cannot call any IAM API operations unless MFA authentication information is included in the request. You cannot call any STS API except AssumeRole or GetCallerIdentity. We recommend that you do not call GetSessionToken with Amazon Web Services account root user credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with Amazon Web Services. The credentials that are returned by GetSessionToken are based on permissions associated with the user whose credentials were used to call the operation. If GetSessionToken is called using Amazon Web Services account root user credentials, the temporary credentials have root user permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user. For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide.
75
+ * Returns a set of temporary credentials for an Amazon Web Services account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific Amazon Web Services API operations like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to API operations that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide. No permissions are required for users to perform this operation. The purpose of the sts:GetSessionToken operation is to authenticate the user using MFA. You cannot use policies to control authentication operations. For more information, see Permissions for GetSessionToken in the IAM User Guide. Session Duration The GetSessionToken operation must be called by using the long-term Amazon Web Services security credentials of the Amazon Web Services account root user or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour. Permissions The temporary security credentials created by GetSessionToken can be used to make API calls to any Amazon Web Services service with the following exceptions: You cannot call any IAM API operations unless MFA authentication information is included in the request. You cannot call any STS API except AssumeRole or GetCallerIdentity. We recommend that you do not call GetSessionToken with Amazon Web Services account root user credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with Amazon Web Services. The credentials that are returned by GetSessionToken are based on permissions associated with the user whose credentials were used to call the operation. If GetSessionToken is called using Amazon Web Services account root user credentials, the temporary credentials have root user permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user. For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide.
76
76
  */
77
77
  getSessionToken(callback?: (err: AWSError, data: STS.Types.GetSessionTokenResponse) => void): Request<STS.Types.GetSessionTokenResponse, AWSError>;
78
78
  }
@@ -219,7 +219,7 @@ declare namespace STS {
219
219
  */
220
220
  WebIdentityToken: clientTokenType;
221
221
  /**
222
- * The fully qualified host component of the domain name of the identity provider. Specify this value only for OAuth 2.0 access tokens. Currently www.amazon.com and graph.facebook.com are the only supported identity providers for OAuth 2.0 access tokens. Do not include URL schemes and port numbers. Do not specify this value for OpenID Connect ID tokens.
222
+ * The fully qualified host component of the domain name of the OAuth 2.0 identity provider. Do not specify this value for an OpenID Connect identity provider. Currently www.amazon.com and graph.facebook.com are the only supported identity providers for OAuth 2.0 access tokens. Do not include URL schemes and port numbers. Do not specify this value for OpenID Connect ID tokens.
223
223
  */
224
224
  ProviderId?: urlType;
225
225
  /**
@@ -20,11 +20,11 @@ declare class Synthetics extends Service {
20
20
  */
21
21
  createCanary(callback?: (err: AWSError, data: Synthetics.Types.CreateCanaryResponse) => void): Request<Synthetics.Types.CreateCanaryResponse, AWSError>;
22
22
  /**
23
- * Permanently deletes the specified canary. When you delete a canary, resources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following: The Lambda functions and layers used by this canary. These have the prefix cwsyn-MyCanaryName . The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-SharpDrop-Alarm-MyCanaryName . Amazon S3 objects and buckets, such as the canary's artifact location. IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-MyCanaryName . Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
23
+ * Permanently deletes the specified canary. If you specify DeleteLambda to true, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary. Other esources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following: The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-SharpDrop-Alarm-MyCanaryName . Amazon S3 objects and buckets, such as the canary's artifact location. IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-MyCanaryName . Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
24
24
  */
25
25
  deleteCanary(params: Synthetics.Types.DeleteCanaryRequest, callback?: (err: AWSError, data: Synthetics.Types.DeleteCanaryResponse) => void): Request<Synthetics.Types.DeleteCanaryResponse, AWSError>;
26
26
  /**
27
- * Permanently deletes the specified canary. When you delete a canary, resources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following: The Lambda functions and layers used by this canary. These have the prefix cwsyn-MyCanaryName . The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-SharpDrop-Alarm-MyCanaryName . Amazon S3 objects and buckets, such as the canary's artifact location. IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-MyCanaryName . Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
27
+ * Permanently deletes the specified canary. If you specify DeleteLambda to true, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary. Other esources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following: The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-SharpDrop-Alarm-MyCanaryName . Amazon S3 objects and buckets, such as the canary's artifact location. IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-MyCanaryName . Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
28
28
  */
29
29
  deleteCanary(callback?: (err: AWSError, data: Synthetics.Types.DeleteCanaryResponse) => void): Request<Synthetics.Types.DeleteCanaryResponse, AWSError>;
30
30
  /**
@@ -225,9 +225,9 @@ declare namespace Synthetics {
225
225
  */
226
226
  ZipFile?: _Blob;
227
227
  /**
228
- * The entry point to use for the source code when running the canary. This value must end with the string .handler. The string is limited to 29 characters or fewer.
228
+ * The entry point to use for the source code when running the canary. For canaries that use the syn-python-selenium-1.0 runtime or a syn-nodejs.puppeteer runtime earlier than syn-nodejs.puppeteer-3.4, the handler must be specified as fileName.handler. For syn-python-selenium-1.1, syn-nodejs.puppeteer-3.4, and later runtimes, the handler can be specified as fileName.functionName , or you can specify a folder where canary scripts reside as folder/fileName.functionName .
229
229
  */
230
- Handler: String;
230
+ Handler: CodeHandler;
231
231
  }
232
232
  export interface CanaryCodeOutput {
233
233
  /**
@@ -352,7 +352,7 @@ declare namespace Synthetics {
352
352
  DurationInSeconds?: MaxOneYearInSeconds;
353
353
  }
354
354
  export type CanaryState = "CREATING"|"READY"|"STARTING"|"RUNNING"|"UPDATING"|"STOPPING"|"STOPPED"|"ERROR"|"DELETING"|string;
355
- export type CanaryStateReasonCode = "INVALID_PERMISSIONS"|string;
355
+ export type CanaryStateReasonCode = "INVALID_PERMISSIONS"|"CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_PENDING"|"UPDATE_IN_PROGRESS"|"UPDATE_COMPLETE"|"ROLLBACK_COMPLETE"|"ROLLBACK_FAILED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"SYNC_DELETE_IN_PROGRESS"|string;
356
356
  export interface CanaryStatus {
357
357
  /**
358
358
  * The current state of the canary.
@@ -385,6 +385,7 @@ declare namespace Synthetics {
385
385
  */
386
386
  LastStopped?: Timestamp;
387
387
  }
388
+ export type CodeHandler = string;
388
389
  export interface CreateCanaryRequest {
389
390
  /**
390
391
  * The name for this canary. Be sure to give it a descriptive name that distinguishes it from other canaries in your account. Do not include secrets or proprietary information in your canary names. The canary name makes up part of the canary ARN, and the ARN is included in outbound calls over the internet. For more information, see Security Considerations for Synthetics Canaries.
@@ -446,6 +447,10 @@ declare namespace Synthetics {
446
447
  * The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.
447
448
  */
448
449
  Name: CanaryName;
450
+ /**
451
+ * Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false. Type: Boolean
452
+ */
453
+ DeleteLambda?: boolean;
449
454
  }
450
455
  export interface DeleteCanaryResponse {
451
456
  }
@@ -12,11 +12,11 @@ declare class Textract extends Service {
12
12
  constructor(options?: Textract.Types.ClientConfiguration)
13
13
  config: Config & Textract.Types.ClientConfiguration;
14
14
  /**
15
- * Analyzes an input document for relationships between detected items. The types of information returned are as follows: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of FeatureTypes). Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. You can choose which type of analysis to perform by specifying the FeatureTypes list. The output is returned in a list of Block objects. AnalyzeDocument is a synchronous operation. To analyze documents asynchronously, use StartDocumentAnalysis. For more information, see Document Text Analysis.
15
+ * Analyzes an input document for relationships between detected items. The types of information returned are as follows: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of FeatureTypes). Queries.A QUERIES_RESULT Block object contains the answer to the query, the alias associated and an ID that connect it to the query asked. This Block also contains a location and attached confidence score. Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. You can choose which type of analysis to perform by specifying the FeatureTypes list. The output is returned in a list of Block objects. AnalyzeDocument is a synchronous operation. To analyze documents asynchronously, use StartDocumentAnalysis. For more information, see Document Text Analysis.
16
16
  */
17
17
  analyzeDocument(params: Textract.Types.AnalyzeDocumentRequest, callback?: (err: AWSError, data: Textract.Types.AnalyzeDocumentResponse) => void): Request<Textract.Types.AnalyzeDocumentResponse, AWSError>;
18
18
  /**
19
- * Analyzes an input document for relationships between detected items. The types of information returned are as follows: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of FeatureTypes). Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. You can choose which type of analysis to perform by specifying the FeatureTypes list. The output is returned in a list of Block objects. AnalyzeDocument is a synchronous operation. To analyze documents asynchronously, use StartDocumentAnalysis. For more information, see Document Text Analysis.
19
+ * Analyzes an input document for relationships between detected items. The types of information returned are as follows: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of FeatureTypes). Queries.A QUERIES_RESULT Block object contains the answer to the query, the alias associated and an ID that connect it to the query asked. This Block also contains a location and attached confidence score. Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. You can choose which type of analysis to perform by specifying the FeatureTypes list. The output is returned in a list of Block objects. AnalyzeDocument is a synchronous operation. To analyze documents asynchronously, use StartDocumentAnalysis. For more information, see Document Text Analysis.
20
20
  */
21
21
  analyzeDocument(callback?: (err: AWSError, data: Textract.Types.AnalyzeDocumentResponse) => void): Request<Textract.Types.AnalyzeDocumentResponse, AWSError>;
22
22
  /**
@@ -28,27 +28,27 @@ declare class Textract extends Service {
28
28
  */
29
29
  analyzeExpense(callback?: (err: AWSError, data: Textract.Types.AnalyzeExpenseResponse) => void): Request<Textract.Types.AnalyzeExpenseResponse, AWSError>;
30
30
  /**
31
- * Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text.
31
+ * Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text.Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.
32
32
  */
33
33
  analyzeID(params: Textract.Types.AnalyzeIDRequest, callback?: (err: AWSError, data: Textract.Types.AnalyzeIDResponse) => void): Request<Textract.Types.AnalyzeIDResponse, AWSError>;
34
34
  /**
35
- * Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text.
35
+ * Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text.Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.
36
36
  */
37
37
  analyzeID(callback?: (err: AWSError, data: Textract.Types.AnalyzeIDResponse) => void): Request<Textract.Types.AnalyzeIDResponse, AWSError>;
38
38
  /**
39
- * Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be an image in JPEG or PNG format. DetectDocumentText returns the detected text in an array of Block objects. Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD. DetectDocumentText is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection. For more information, see Document Text Detection.
39
+ * Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be an image in JPEG, PNG, PDF, or TIFF format. DetectDocumentText returns the detected text in an array of Block objects. Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD. DetectDocumentText is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection. For more information, see Document Text Detection.
40
40
  */
41
41
  detectDocumentText(params: Textract.Types.DetectDocumentTextRequest, callback?: (err: AWSError, data: Textract.Types.DetectDocumentTextResponse) => void): Request<Textract.Types.DetectDocumentTextResponse, AWSError>;
42
42
  /**
43
- * Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be an image in JPEG or PNG format. DetectDocumentText returns the detected text in an array of Block objects. Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD. DetectDocumentText is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection. For more information, see Document Text Detection.
43
+ * Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be an image in JPEG, PNG, PDF, or TIFF format. DetectDocumentText returns the detected text in an array of Block objects. Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD. DetectDocumentText is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection. For more information, see Document Text Detection.
44
44
  */
45
45
  detectDocumentText(callback?: (err: AWSError, data: Textract.Types.DetectDocumentTextResponse) => void): Request<Textract.Types.DetectDocumentTextResponse, AWSError>;
46
46
  /**
47
- * Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document. You start asynchronous text analysis by calling StartDocumentAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentAnalysis. To get the results of the text-detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. GetDocumentAnalysis returns an array of Block objects. The following types of information are returned: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of the StartDocumentAnalysis FeatureTypes input parameter). Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetDocumentAnalysis. For more information, see Document Text Analysis.
47
+ * Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document. You start asynchronous text analysis by calling StartDocumentAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentAnalysis. To get the results of the text-detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. GetDocumentAnalysis returns an array of Block objects. The following types of information are returned: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of the StartDocumentAnalysis FeatureTypes input parameter). Queries. A QUERIES_RESULT Block object contains the answer to the query, the alias associated and an ID that connect it to the query asked. This Block also contains a location and attached confidence score Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetDocumentAnalysis. For more information, see Document Text Analysis.
48
48
  */
49
49
  getDocumentAnalysis(params: Textract.Types.GetDocumentAnalysisRequest, callback?: (err: AWSError, data: Textract.Types.GetDocumentAnalysisResponse) => void): Request<Textract.Types.GetDocumentAnalysisResponse, AWSError>;
50
50
  /**
51
- * Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document. You start asynchronous text analysis by calling StartDocumentAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentAnalysis. To get the results of the text-detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. GetDocumentAnalysis returns an array of Block objects. The following types of information are returned: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of the StartDocumentAnalysis FeatureTypes input parameter). Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetDocumentAnalysis. For more information, see Document Text Analysis.
51
+ * Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document. You start asynchronous text analysis by calling StartDocumentAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentAnalysis. To get the results of the text-detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. GetDocumentAnalysis returns an array of Block objects. The following types of information are returned: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of the StartDocumentAnalysis FeatureTypes input parameter). Queries. A QUERIES_RESULT Block object contains the answer to the query, the alias associated and an ID that connect it to the query asked. This Block also contains a location and attached confidence score Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetDocumentAnalysis. For more information, see Document Text Analysis.
52
52
  */
53
53
  getDocumentAnalysis(callback?: (err: AWSError, data: Textract.Types.GetDocumentAnalysisResponse) => void): Request<Textract.Types.GetDocumentAnalysisResponse, AWSError>;
54
54
  /**
@@ -95,7 +95,7 @@ declare class Textract extends Service {
95
95
  declare namespace Textract {
96
96
  export interface AnalyzeDocumentRequest {
97
97
  /**
98
- * The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format. If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.
98
+ * The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format. If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.
99
99
  */
100
100
  Document: Document;
101
101
  /**
@@ -106,6 +106,10 @@ declare namespace Textract {
106
106
  * Sets the configuration for the human in the loop workflow for analyzing documents.
107
107
  */
108
108
  HumanLoopConfig?: HumanLoopConfig;
109
+ /**
110
+ * Contains Queries and the alias for those Queries, as determined by the input.
111
+ */
112
+ QueriesConfig?: QueriesConfig;
109
113
  }
110
114
  export interface AnalyzeDocumentResponse {
111
115
  /**
@@ -168,7 +172,7 @@ declare namespace Textract {
168
172
  }
169
173
  export interface Block {
170
174
  /**
171
- * The type of text item that's recognized. In operations for text detection, the following types are returned: PAGE - Contains a list of the LINE Block objects that are detected on a document page. WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. In text analysis operations, the following types are returned: PAGE - Contains a list of child Block objects that are detected on a document page. KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text that's detected on a document page. Use the EntityType field to determine if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object. WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each. CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell. SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus to determine the status of the selection element.
175
+ * The type of text item that's recognized. In operations for text detection, the following types are returned: PAGE - Contains a list of the LINE Block objects that are detected on a document page. WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. In text analysis operations, the following types are returned: PAGE - Contains a list of child Block objects that are detected on a document page. KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text that's detected on a document page. Use the EntityType field to determine if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object. WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each. CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell. SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus to determine the status of the selection element. QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attachs it to its answer. QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
172
176
  */
173
177
  BlockType?: BlockType;
174
178
  /**
@@ -223,9 +227,13 @@ declare namespace Textract {
223
227
  * The page on which a block was detected. Page is returned by asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG), even if it contains multiple document pages, is considered to be a single-page document. The value of Page is always 1. Synchronous operations don't return Page because every input document is considered to be a single-page document.
224
228
  */
225
229
  Page?: UInteger;
230
+ /**
231
+ *
232
+ */
233
+ Query?: Query;
226
234
  }
227
235
  export type BlockList = Block[];
228
- export type BlockType = "KEY_VALUE_SET"|"PAGE"|"LINE"|"WORD"|"TABLE"|"CELL"|"SELECTION_ELEMENT"|string;
236
+ export type BlockType = "KEY_VALUE_SET"|"PAGE"|"LINE"|"WORD"|"TABLE"|"CELL"|"SELECTION_ELEMENT"|"MERGED_CELL"|"TITLE"|"QUERY"|"QUERY_RESULT"|string;
229
237
  export interface BoundingBox {
230
238
  /**
231
239
  * The width of the bounding box as a ratio of the overall document page width.
@@ -290,7 +298,7 @@ declare namespace Textract {
290
298
  Pages?: UInteger;
291
299
  }
292
300
  export type DocumentPages = Document[];
293
- export type EntityType = "KEY"|"VALUE"|string;
301
+ export type EntityType = "KEY"|"VALUE"|"COLUMN_HEADER"|string;
294
302
  export type EntityTypes = EntityType[];
295
303
  export type ErrorCode = string;
296
304
  export interface ExpenseDetection {
@@ -348,7 +356,7 @@ declare namespace Textract {
348
356
  */
349
357
  Confidence?: Percent;
350
358
  }
351
- export type FeatureType = "TABLES"|"FORMS"|string;
359
+ export type FeatureType = "TABLES"|"FORMS"|"QUERIES"|string;
352
360
  export type FeatureTypes = FeatureType[];
353
361
  export type Float = number;
354
362
  export type FlowDefinitionArn = string;
@@ -619,6 +627,30 @@ declare namespace Textract {
619
627
  Y?: Float;
620
628
  }
621
629
  export type Polygon = Point[];
630
+ export type Queries = Query[];
631
+ export interface QueriesConfig {
632
+ /**
633
+ *
634
+ */
635
+ Queries: Queries;
636
+ }
637
+ export interface Query {
638
+ /**
639
+ * Question that Amazon Textract will apply to the document. An example would be "What is the customer's SSN?"
640
+ */
641
+ Text: QueryInput;
642
+ /**
643
+ * Alias attached to the query, for ease of location.
644
+ */
645
+ Alias?: QueryInput;
646
+ /**
647
+ * List of pages associated with the query. The following is a list of rules for using this parameter. If a page is not specified, it is set to ["1"] by default. The following characters are allowed in the parameter's string: 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed. When using * to indicate all pages, it must be the only element in the string. You can use page intervals, such as [“1-3”, “1-1”, “4-*”]. Where * indicates last page of document. Specified pages must be greater than 0 and less than or equal to the number of pages in the document.
648
+ */
649
+ Pages?: QueryPages;
650
+ }
651
+ export type QueryInput = string;
652
+ export type QueryPage = string;
653
+ export type QueryPages = QueryPage[];
622
654
  export interface Relationship {
623
655
  /**
624
656
  * The type of relationship that the blocks in the IDs array have with the current block. The relationship can be VALUE or CHILD. A relationship of type VALUE is a list that contains the ID of the VALUE block that's associated with the KEY of a key-value pair. A relationship of type CHILD is a list of IDs that identify WORD blocks in the case of lines Cell blocks in the case of Tables, and WORD blocks in the case of Selection Elements.
@@ -630,7 +662,7 @@ declare namespace Textract {
630
662
  Ids?: IdList;
631
663
  }
632
664
  export type RelationshipList = Relationship[];
633
- export type RelationshipType = "VALUE"|"CHILD"|"COMPLEX_FEATURES"|string;
665
+ export type RelationshipType = "VALUE"|"CHILD"|"COMPLEX_FEATURES"|"MERGED_CELL"|"TITLE"|"ANSWER"|string;
634
666
  export type RoleArn = string;
635
667
  export type S3Bucket = string;
636
668
  export interface S3Object {
@@ -680,6 +712,7 @@ declare namespace Textract {
680
712
  * The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.
681
713
  */
682
714
  KMSKeyId?: KMSKeyId;
715
+ QueriesConfig?: QueriesConfig;
683
716
  }
684
717
  export interface StartDocumentAnalysisResponse {
685
718
  /**