cdk-lambda-subminute 2.0.441 → 2.0.443

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 (404) hide show
  1. package/.jsii +96 -7
  2. package/README.md +4 -4
  3. package/lib/cdk-lambda-subminute.js +5 -5
  4. package/lib/demo/typescript/typescript-stack.js +2 -2
  5. package/lib/index.js +7 -3
  6. package/lib/resources/iterator/iterator_agent.js +3 -2
  7. package/node_modules/aws-sdk/README.md +1 -1
  8. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.examples.json +196 -0
  9. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +254 -111
  10. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +6 -0
  11. package/node_modules/aws-sdk/apis/account-2021-02-01.min.json +101 -19
  12. package/node_modules/aws-sdk/apis/acm-2015-12-08.min.json +7 -1
  13. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +20 -13
  14. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.paginators.json +4 -4
  15. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.waiters2.json +62 -59
  16. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +3 -0
  17. package/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +7 -1
  18. package/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json +7 -1
  19. package/node_modules/aws-sdk/apis/application-signals-2024-04-15.min.json +975 -0
  20. package/node_modules/aws-sdk/apis/application-signals-2024-04-15.paginators.json +34 -0
  21. package/node_modules/aws-sdk/apis/apptest-2022-12-06.min.json +1917 -0
  22. package/node_modules/aws-sdk/apis/apptest-2022-12-06.paginators.json +40 -0
  23. package/node_modules/aws-sdk/apis/apptest-2022-12-06.waiters2.json +5 -0
  24. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +62 -10
  25. package/node_modules/aws-sdk/apis/artifact-2018-05-10.examples.json +113 -0
  26. package/node_modules/aws-sdk/apis/artifact-2018-05-10.min.json +47 -41
  27. package/node_modules/aws-sdk/apis/artifact-2018-05-10.waiters2.json +5 -0
  28. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +7 -1
  29. package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +57 -38
  30. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +7 -1
  31. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +8 -1
  32. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +115 -60
  33. package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +140 -86
  34. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2122 -231
  35. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +24 -0
  36. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +809 -190
  37. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +6 -0
  38. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +898 -44
  39. package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +102 -21
  40. package/node_modules/aws-sdk/apis/chatbot-2017-10-11.min.json +138 -24
  41. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +10 -1
  42. package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.min.json +6 -2
  43. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +48 -43
  44. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +7 -1
  45. package/node_modules/aws-sdk/apis/cloudhsmv2-2017-04-28.min.json +79 -20
  46. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +44 -24
  47. package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +7 -1
  48. package/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json +80 -38
  49. package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +7 -1
  50. package/node_modules/aws-sdk/apis/codeguru-security-2018-05-10.min.json +6 -0
  51. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +4 -1
  52. package/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json +23 -5
  53. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +111 -27
  54. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +447 -134
  55. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +7 -1
  56. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1266 -499
  57. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +24 -0
  58. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +205 -63
  59. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +150 -5
  60. package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +12 -0
  61. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +310 -262
  62. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.waiters2.json +5 -0
  63. package/node_modules/aws-sdk/apis/cur-2017-01-06.min.json +7 -1
  64. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +52 -25
  65. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +3 -0
  66. package/node_modules/aws-sdk/apis/datazone-2018-05-10.min.json +1064 -444
  67. package/node_modules/aws-sdk/apis/datazone-2018-05-10.paginators.json +12 -0
  68. package/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +7 -1
  69. package/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json +7 -1
  70. package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +3 -0
  71. package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +7 -1
  72. package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +7 -1
  73. package/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +7 -1
  74. package/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json +7 -1
  75. package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +256 -181
  76. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +397 -283
  77. package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +7 -1
  78. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +290 -256
  79. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +151 -84
  80. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +7 -1
  81. package/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json +7 -1
  82. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +7 -1
  83. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +3 -0
  84. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +15 -3
  85. package/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json +7 -1
  86. package/node_modules/aws-sdk/apis/email-2010-12-01.min.json +7 -1
  87. package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.min.json +172 -14
  88. package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.paginators.json +6 -0
  89. package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +7 -1
  90. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +87 -28
  91. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +209 -160
  92. package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +63 -59
  93. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +206 -164
  94. package/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +7 -1
  95. package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.min.json +13 -1
  96. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +886 -574
  97. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +22 -8
  98. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +317 -15
  99. package/node_modules/aws-sdk/apis/grafana-2020-08-18.paginators.json +12 -0
  100. package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +17 -3
  101. package/node_modules/aws-sdk/apis/groundstation-2019-05-23.min.json +7 -1
  102. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +429 -124
  103. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +3 -0
  104. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +122 -96
  105. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +18 -10
  106. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +3 -1
  107. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +7 -1
  108. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +396 -242
  109. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +6 -0
  110. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.waiters2.json +5 -0
  111. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +36 -6
  112. package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.min.json +266 -110
  113. package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.paginators.json +24 -0
  114. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +31 -0
  115. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +79 -23
  116. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +43 -25
  117. package/node_modules/aws-sdk/apis/launch-wizard-2018-05-10.min.json +159 -0
  118. package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.min.json +236 -16
  119. package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json +6 -0
  120. package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +11 -2
  121. package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +1036 -754
  122. package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +6 -0
  123. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +254 -143
  124. package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +6 -0
  125. package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.min.json +1836 -0
  126. package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.paginators.json +58 -0
  127. package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +3 -0
  128. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +106 -94
  129. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +208 -131
  130. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.paginators.json +6 -0
  131. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +367 -364
  132. package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.examples.json +1271 -0
  133. package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.min.json +108 -71
  134. package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.min.json +8 -5
  135. package/node_modules/aws-sdk/apis/metadata.json +20 -9
  136. package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +4 -4
  137. package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +178 -158
  138. package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.min.json +320 -176
  139. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +36 -22
  140. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +190 -115
  141. package/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json +3 -0
  142. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +7 -1
  143. package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +77 -28
  144. package/node_modules/aws-sdk/apis/payment-cryptography-2021-09-14.min.json +10 -1
  145. package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.min.json +544 -383
  146. package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.waiters2.json +5 -0
  147. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.examples.json +5 -0
  148. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.min.json +456 -0
  149. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.paginators.json +16 -0
  150. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.waiters2.json +5 -0
  151. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +153 -44
  152. package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +9 -1
  153. package/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +28 -18
  154. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +403 -378
  155. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +521 -99
  156. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +6 -0
  157. package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +632 -555
  158. package/node_modules/aws-sdk/apis/pipes-2015-10-07.waiters2.json +5 -0
  159. package/node_modules/aws-sdk/apis/polly-2016-06-10.min.json +7 -1
  160. package/node_modules/aws-sdk/apis/qapps-2023-11-27.examples.json +583 -0
  161. package/node_modules/aws-sdk/apis/qapps-2023-11-27.min.json +1312 -0
  162. package/node_modules/aws-sdk/apis/qapps-2023-11-27.paginators.json +16 -0
  163. package/node_modules/aws-sdk/apis/qapps-2023-11-27.waiters2.json +5 -0
  164. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +2 -3
  165. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +813 -689
  166. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +1 -1
  167. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.waiters2.json +5 -0
  168. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +335 -108
  169. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +6 -0
  170. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +2113 -1354
  171. package/node_modules/aws-sdk/apis/rds-2013-01-10.min.json +4 -1
  172. package/node_modules/aws-sdk/apis/rds-2013-02-12.min.json +4 -1
  173. package/node_modules/aws-sdk/apis/rds-2013-09-09.min.json +4 -1
  174. package/node_modules/aws-sdk/apis/rds-2014-09-01.min.json +4 -1
  175. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +25 -10
  176. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +7 -1
  177. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +7 -1
  178. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +15 -3
  179. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +63 -14
  180. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.paginators.json +6 -0
  181. package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +7 -1
  182. package/node_modules/aws-sdk/apis/route53profiles-2018-05-10.min.json +3 -0
  183. package/node_modules/aws-sdk/apis/route53resolver-2018-04-01.min.json +62 -53
  184. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +76 -76
  185. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +46 -5
  186. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1958 -1211
  187. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +12 -0
  188. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +11 -1
  189. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +7 -1
  190. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +7 -1
  191. package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +148 -136
  192. package/node_modules/aws-sdk/apis/shield-2016-06-02.min.json +7 -1
  193. package/node_modules/aws-sdk/apis/signer-2017-08-25.min.json +3 -0
  194. package/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +7 -1
  195. package/node_modules/aws-sdk/apis/sns-2010-03-31.min.json +7 -1
  196. package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +24 -14
  197. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +14 -3
  198. package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.min.json +95 -0
  199. package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.paginators.json +6 -0
  200. package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +9 -0
  201. package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +32 -9
  202. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +4 -1
  203. package/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +30 -14
  204. package/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +104 -68
  205. package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.examples.json +5 -0
  206. package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.min.json +658 -0
  207. package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.paginators.json +10 -0
  208. package/node_modules/aws-sdk/apis/timestream-query-2018-11-01.min.json +71 -23
  209. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +101 -76
  210. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +19 -8
  211. package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +107 -46
  212. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +345 -83
  213. package/node_modules/aws-sdk/apis/waf-2015-08-24.min.json +7 -1
  214. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +46 -33
  215. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +513 -76
  216. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +30 -13
  217. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +8 -1
  218. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +162 -3
  219. package/node_modules/aws-sdk/clients/account.d.ts +84 -9
  220. package/node_modules/aws-sdk/clients/acm.d.ts +8 -8
  221. package/node_modules/aws-sdk/clients/acmpca.d.ts +40 -40
  222. package/node_modules/aws-sdk/clients/all.d.ts +6 -3
  223. package/node_modules/aws-sdk/clients/all.js +7 -4
  224. package/node_modules/aws-sdk/clients/amplify.d.ts +15 -14
  225. package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +43 -43
  226. package/node_modules/aws-sdk/clients/applicationsignals.d.ts +955 -0
  227. package/node_modules/aws-sdk/clients/applicationsignals.js +18 -0
  228. package/node_modules/aws-sdk/clients/apptest.d.ts +2019 -0
  229. package/node_modules/aws-sdk/clients/apptest.js +19 -0
  230. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +66 -29
  231. package/node_modules/aws-sdk/clients/artifact.d.ts +68 -64
  232. package/node_modules/aws-sdk/clients/artifact.js +1 -0
  233. package/node_modules/aws-sdk/clients/athena.d.ts +5 -5
  234. package/node_modules/aws-sdk/clients/auditmanager.d.ts +45 -33
  235. package/node_modules/aws-sdk/clients/autoscaling.d.ts +67 -67
  236. package/node_modules/aws-sdk/clients/b2bi.d.ts +8 -8
  237. package/node_modules/aws-sdk/clients/batch.d.ts +54 -1
  238. package/node_modules/aws-sdk/clients/bedrock.d.ts +63 -14
  239. package/node_modules/aws-sdk/clients/bedrockagent.d.ts +2327 -211
  240. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +666 -28
  241. package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +849 -4
  242. package/node_modules/aws-sdk/clients/budgets.d.ts +84 -1
  243. package/node_modules/aws-sdk/clients/chatbot.d.ts +100 -0
  244. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +19 -15
  245. package/node_modules/aws-sdk/clients/chimesdkvoice.d.ts +9 -9
  246. package/node_modules/aws-sdk/clients/cloudformation.d.ts +11 -2
  247. package/node_modules/aws-sdk/clients/cloudfront.d.ts +7 -7
  248. package/node_modules/aws-sdk/clients/cloudhsmv2.d.ts +134 -34
  249. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +29 -12
  250. package/node_modules/aws-sdk/clients/codeartifact.d.ts +28 -28
  251. package/node_modules/aws-sdk/clients/codebuild.d.ts +71 -24
  252. package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +60 -55
  253. package/node_modules/aws-sdk/clients/codepipeline.d.ts +4 -4
  254. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +1 -1
  255. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +449 -47
  256. package/node_modules/aws-sdk/clients/connect.d.ts +935 -35
  257. package/node_modules/aws-sdk/clients/connectcases.d.ts +124 -1
  258. package/node_modules/aws-sdk/clients/controltower.d.ts +244 -44
  259. package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +380 -328
  260. package/node_modules/aws-sdk/clients/costoptimizationhub.js +1 -0
  261. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +35 -5
  262. package/node_modules/aws-sdk/clients/datasync.d.ts +7 -7
  263. package/node_modules/aws-sdk/clients/datazone.d.ts +667 -5
  264. package/node_modules/aws-sdk/clients/directconnect.d.ts +40 -25
  265. package/node_modules/aws-sdk/clients/dynamodb.d.ts +114 -45
  266. package/node_modules/aws-sdk/clients/ec2.d.ts +423 -284
  267. package/node_modules/aws-sdk/clients/ecr.d.ts +2 -2
  268. package/node_modules/aws-sdk/clients/ecs.d.ts +47 -5
  269. package/node_modules/aws-sdk/clients/eks.d.ts +100 -20
  270. package/node_modules/aws-sdk/clients/elasticache.d.ts +6 -6
  271. package/node_modules/aws-sdk/clients/elbv2.d.ts +6 -6
  272. package/node_modules/aws-sdk/clients/emr.d.ts +12 -4
  273. package/node_modules/aws-sdk/clients/emrserverless.d.ts +191 -0
  274. package/node_modules/aws-sdk/clients/eventbridge.d.ts +111 -20
  275. package/node_modules/aws-sdk/clients/firehose.d.ts +73 -10
  276. package/node_modules/aws-sdk/clients/fms.d.ts +12 -7
  277. package/node_modules/aws-sdk/clients/fsx.d.ts +84 -36
  278. package/node_modules/aws-sdk/clients/globalaccelerator.d.ts +8 -0
  279. package/node_modules/aws-sdk/clients/glue.d.ts +504 -23
  280. package/node_modules/aws-sdk/clients/grafana.d.ts +297 -11
  281. package/node_modules/aws-sdk/clients/greengrassv2.d.ts +15 -5
  282. package/node_modules/aws-sdk/clients/guardduty.d.ts +277 -5
  283. package/node_modules/aws-sdk/clients/inspector2.d.ts +49 -3
  284. package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +11 -1
  285. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +1 -1
  286. package/node_modules/aws-sdk/clients/iotwireless.d.ts +2 -2
  287. package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +433 -235
  288. package/node_modules/aws-sdk/clients/ivsrealtime.js +1 -0
  289. package/node_modules/aws-sdk/clients/kafka.d.ts +35 -0
  290. package/node_modules/aws-sdk/clients/kinesisanalyticsv2.d.ts +147 -3
  291. package/node_modules/aws-sdk/clients/kms.d.ts +78 -12
  292. package/node_modules/aws-sdk/clients/lakeformation.d.ts +17 -0
  293. package/node_modules/aws-sdk/clients/launchwizard.d.ts +181 -8
  294. package/node_modules/aws-sdk/clients/licensemanagerlinuxsubscriptions.d.ts +249 -10
  295. package/node_modules/aws-sdk/clients/lightsail.d.ts +29 -25
  296. package/node_modules/aws-sdk/clients/location.d.ts +981 -677
  297. package/node_modules/aws-sdk/clients/macie2.d.ts +149 -44
  298. package/node_modules/aws-sdk/clients/mailmanager.d.ts +2320 -0
  299. package/node_modules/aws-sdk/clients/mailmanager.js +18 -0
  300. package/node_modules/aws-sdk/clients/managedblockchain.d.ts +4 -4
  301. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +13 -0
  302. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +77 -6
  303. package/node_modules/aws-sdk/clients/medialive.d.ts +8 -0
  304. package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +57 -4
  305. package/node_modules/aws-sdk/clients/medicalimaging.d.ts +7 -2
  306. package/node_modules/aws-sdk/clients/mq.d.ts +15 -15
  307. package/node_modules/aws-sdk/clients/mwaa.d.ts +215 -189
  308. package/node_modules/aws-sdk/clients/networkmanager.d.ts +237 -11
  309. package/node_modules/aws-sdk/clients/omics.d.ts +89 -53
  310. package/node_modules/aws-sdk/clients/opensearch.d.ts +120 -3
  311. package/node_modules/aws-sdk/clients/opsworks.d.ts +117 -117
  312. package/node_modules/aws-sdk/clients/organizations.d.ts +2 -2
  313. package/node_modules/aws-sdk/clients/osis.d.ts +89 -5
  314. package/node_modules/aws-sdk/clients/paymentcryptography.d.ts +3 -3
  315. package/node_modules/aws-sdk/clients/paymentcryptographydata.d.ts +358 -311
  316. package/node_modules/aws-sdk/clients/paymentcryptographydata.js +1 -0
  317. package/node_modules/aws-sdk/clients/pcaconnectorscep.d.ts +486 -0
  318. package/node_modules/aws-sdk/clients/pcaconnectorscep.js +19 -0
  319. package/node_modules/aws-sdk/clients/personalize.d.ts +160 -1
  320. package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +6 -0
  321. package/node_modules/aws-sdk/clients/pi.d.ts +17 -10
  322. package/node_modules/aws-sdk/clients/pinpoint.d.ts +27 -0
  323. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +514 -8
  324. package/node_modules/aws-sdk/clients/pipes.d.ts +455 -348
  325. package/node_modules/aws-sdk/clients/pipes.js +1 -0
  326. package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
  327. package/node_modules/aws-sdk/clients/qapps.d.ts +1442 -0
  328. package/node_modules/aws-sdk/clients/qapps.js +19 -0
  329. package/node_modules/aws-sdk/clients/qbusiness.d.ts +855 -699
  330. package/node_modules/aws-sdk/clients/qbusiness.js +1 -0
  331. package/node_modules/aws-sdk/clients/qconnect.d.ts +219 -1
  332. package/node_modules/aws-sdk/clients/quicksight.d.ts +901 -14
  333. package/node_modules/aws-sdk/clients/rds.d.ts +67 -19
  334. package/node_modules/aws-sdk/clients/redshift.d.ts +16 -16
  335. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +17 -7
  336. package/node_modules/aws-sdk/clients/rekognition.d.ts +11 -3
  337. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +80 -15
  338. package/node_modules/aws-sdk/clients/route53profiles.d.ts +4 -4
  339. package/node_modules/aws-sdk/clients/route53resolver.d.ts +18 -5
  340. package/node_modules/aws-sdk/clients/s3.d.ts +34 -10
  341. package/node_modules/aws-sdk/clients/sagemaker.d.ts +1065 -59
  342. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +20 -15
  343. package/node_modules/aws-sdk/clients/securityhub.d.ts +71 -71
  344. package/node_modules/aws-sdk/clients/securitylake.d.ts +3 -3
  345. package/node_modules/aws-sdk/clients/sesv2.d.ts +28 -10
  346. package/node_modules/aws-sdk/clients/signer.d.ts +3 -3
  347. package/node_modules/aws-sdk/clients/sns.d.ts +7 -7
  348. package/node_modules/aws-sdk/clients/sqs.d.ts +24 -19
  349. package/node_modules/aws-sdk/clients/ssmsap.d.ts +121 -1
  350. package/node_modules/aws-sdk/clients/ssooidc.d.ts +32 -4
  351. package/node_modules/aws-sdk/clients/storagegateway.d.ts +37 -22
  352. package/node_modules/aws-sdk/clients/swf.d.ts +38 -2
  353. package/node_modules/aws-sdk/clients/taxsettings.d.ts +809 -0
  354. package/node_modules/aws-sdk/clients/taxsettings.js +18 -0
  355. package/node_modules/aws-sdk/clients/timestreamquery.d.ts +54 -0
  356. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +32 -0
  357. package/node_modules/aws-sdk/clients/transfer.d.ts +5 -5
  358. package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +66 -2
  359. package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +300 -14
  360. package/node_modules/aws-sdk/clients/vpclattice.d.ts +81 -81
  361. package/node_modules/aws-sdk/clients/wafv2.d.ts +35 -5
  362. package/node_modules/aws-sdk/clients/workspaces.d.ts +598 -6
  363. package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +15 -0
  364. package/node_modules/aws-sdk/clients/workspacesweb.d.ts +21 -1
  365. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +9 -5
  366. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2141 -1908
  367. package/node_modules/aws-sdk/dist/aws-sdk.js +4544 -2431
  368. package/node_modules/aws-sdk/dist/aws-sdk.min.js +107 -106
  369. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -6
  370. package/node_modules/aws-sdk/lib/core.js +1 -1
  371. package/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js +9 -0
  372. package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +1 -1
  373. package/node_modules/aws-sdk/lib/credentials/token_file_web_identity_credentials.d.ts +2 -2
  374. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +86 -17
  375. package/node_modules/aws-sdk/lib/metadata_service.d.ts +4 -0
  376. package/node_modules/aws-sdk/lib/metadata_service.js +1 -2
  377. package/node_modules/aws-sdk/lib/protocol/rest_json.js +2 -1
  378. package/node_modules/aws-sdk/lib/query/query_param_serializer.js +3 -1
  379. package/node_modules/aws-sdk/lib/region_config.js +2 -1
  380. package/node_modules/aws-sdk/lib/services/s3.js +51 -6
  381. package/node_modules/aws-sdk/lib/shared-ini/ini-loader.d.ts +24 -1
  382. package/node_modules/aws-sdk/lib/shared-ini/ini-loader.js +0 -6
  383. package/node_modules/aws-sdk/package.json +1 -1
  384. package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +10 -10
  385. package/node_modules/xml2js/node_modules/sax/LICENSE +2 -2
  386. package/node_modules/xml2js/node_modules/sax/README.md +3 -0
  387. package/node_modules/xml2js/node_modules/sax/lib/sax.js +33 -10
  388. package/node_modules/xml2js/node_modules/sax/package.json +1 -1
  389. package/package.json +17 -15
  390. package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.min.json +0 -2905
  391. package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.paginators.json +0 -94
  392. package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.min.json +0 -522
  393. package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.paginators.json +0 -14
  394. package/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json +0 -962
  395. package/node_modules/aws-sdk/apis/honeycode-2020-03-01.paginators.json +0 -27
  396. package/node_modules/aws-sdk/clients/alexaforbusiness.d.ts +0 -3862
  397. package/node_modules/aws-sdk/clients/alexaforbusiness.js +0 -18
  398. package/node_modules/aws-sdk/clients/backupstorage.d.ts +0 -469
  399. package/node_modules/aws-sdk/clients/backupstorage.js +0 -18
  400. package/node_modules/aws-sdk/clients/honeycode.d.ts +0 -910
  401. package/node_modules/aws-sdk/clients/honeycode.js +0 -18
  402. /package/node_modules/aws-sdk/apis/{alexaforbusiness-2017-11-09.examples.json → application-signals-2024-04-15.examples.json} +0 -0
  403. /package/node_modules/aws-sdk/apis/{backupstorage-2018-04-10.examples.json → apptest-2022-12-06.examples.json} +0 -0
  404. /package/node_modules/aws-sdk/apis/{honeycode-2020-03-01.examples.json → mailmanager-2023-10-17.examples.json} +0 -0
@@ -31,11 +31,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
31
31
  */
32
32
  batchGetItem(callback?: (err: AWSError, data: DynamoDB.Types.BatchGetItemOutput) => void): Request<DynamoDB.Types.BatchGetItemOutput, AWSError>;
33
33
  /**
34
- * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types. BatchWriteItem cannot update items. If you perform a BatchWriteItem operation on an existing item, that item's values will be overwritten by the operation and it will appear like it was updated. To update items, we recommend you use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB.
34
+ * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types. BatchWriteItem cannot update items. If you perform a BatchWriteItem operation on an existing item, that item's values will be overwritten by the operation and it will appear like it was updated. To update items, we recommend you use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. Any individual items with keys exceeding the key length limits. For a partition key, the limit is 2048 bytes and for a sort key, the limit is 1024 bytes.
35
35
  */
36
36
  batchWriteItem(params: DynamoDB.Types.BatchWriteItemInput, callback?: (err: AWSError, data: DynamoDB.Types.BatchWriteItemOutput) => void): Request<DynamoDB.Types.BatchWriteItemOutput, AWSError>;
37
37
  /**
38
- * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types. BatchWriteItem cannot update items. If you perform a BatchWriteItem operation on an existing item, that item's values will be overwritten by the operation and it will appear like it was updated. To update items, we recommend you use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB.
38
+ * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types. BatchWriteItem cannot update items. If you perform a BatchWriteItem operation on an existing item, that item's values will be overwritten by the operation and it will appear like it was updated. To update items, we recommend you use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. Any individual items with keys exceeding the key length limits. For a partition key, the limit is 2048 bytes and for a sort key, the limit is 1024 bytes.
39
39
  */
40
40
  batchWriteItem(callback?: (err: AWSError, data: DynamoDB.Types.BatchWriteItemOutput) => void): Request<DynamoDB.Types.BatchWriteItemOutput, AWSError>;
41
41
  /**
@@ -47,11 +47,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
47
47
  */
48
48
  createBackup(callback?: (err: AWSError, data: DynamoDB.Types.CreateBackupOutput) => void): Request<DynamoDB.Types.CreateBackupOutput, AWSError>;
49
49
  /**
50
- * Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables. If you want to add a new replica table to a global table, each of the following conditions must be true: The table must have the same primary key as all of the other replicas. The table must have the same name as all of the other replicas. The table must have DynamoDB Streams enabled, with the stream containing both the new and the old images of the item. None of the replica tables in the global table can contain any data. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). If local secondary indexes are specified, then the following conditions must also be met: The local secondary indexes must have the same name. The local secondary indexes must have the same hash key and sort key (if present). Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes. If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.
50
+ * Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables. If you want to add a new replica table to a global table, each of the following conditions must be true: The table must have the same primary key as all of the other replicas. The table must have the same name as all of the other replicas. The table must have DynamoDB Streams enabled, with the stream containing both the new and the old images of the item. None of the replica tables in the global table can contain any data. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). If local secondary indexes are specified, then the following conditions must also be met: The local secondary indexes must have the same name. The local secondary indexes must have the same hash key and sort key (if present). Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes. If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.
51
51
  */
52
52
  createGlobalTable(params: DynamoDB.Types.CreateGlobalTableInput, callback?: (err: AWSError, data: DynamoDB.Types.CreateGlobalTableOutput) => void): Request<DynamoDB.Types.CreateGlobalTableOutput, AWSError>;
53
53
  /**
54
- * Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables. If you want to add a new replica table to a global table, each of the following conditions must be true: The table must have the same primary key as all of the other replicas. The table must have the same name as all of the other replicas. The table must have DynamoDB Streams enabled, with the stream containing both the new and the old images of the item. None of the replica tables in the global table can contain any data. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). If local secondary indexes are specified, then the following conditions must also be met: The local secondary indexes must have the same name. The local secondary indexes must have the same hash key and sort key (if present). Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes. If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.
54
+ * Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables. If you want to add a new replica table to a global table, each of the following conditions must be true: The table must have the same primary key as all of the other replicas. The table must have the same name as all of the other replicas. The table must have DynamoDB Streams enabled, with the stream containing both the new and the old images of the item. None of the replica tables in the global table can contain any data. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). If local secondary indexes are specified, then the following conditions must also be met: The local secondary indexes must have the same name. The local secondary indexes must have the same hash key and sort key (if present). Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes. If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.
55
55
  */
56
56
  createGlobalTable(callback?: (err: AWSError, data: DynamoDB.Types.CreateGlobalTableOutput) => void): Request<DynamoDB.Types.CreateGlobalTableOutput, AWSError>;
57
57
  /**
@@ -87,11 +87,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
87
87
  */
88
88
  deleteResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.DeleteResourcePolicyOutput) => void): Request<DynamoDB.Types.DeleteResourcePolicyOutput, AWSError>;
89
89
  /**
90
- * The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned. This operation only applies to Version 2019.11.21 (Current) of global tables. DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete. When you delete a table, any indexes on that table are also deleted. If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the DISABLED state, and the stream is automatically deleted after 24 hours. Use the DescribeTable action to check the status of the table.
90
+ * The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete. When you delete a table, any indexes on that table are also deleted. If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the DISABLED state, and the stream is automatically deleted after 24 hours. Use the DescribeTable action to check the status of the table.
91
91
  */
92
92
  deleteTable(params: DynamoDB.Types.DeleteTableInput, callback?: (err: AWSError, data: DynamoDB.Types.DeleteTableOutput) => void): Request<DynamoDB.Types.DeleteTableOutput, AWSError>;
93
93
  /**
94
- * The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned. This operation only applies to Version 2019.11.21 (Current) of global tables. DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete. When you delete a table, any indexes on that table are also deleted. If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the DISABLED state, and the stream is automatically deleted after 24 hours. Use the DescribeTable action to check the status of the table.
94
+ * The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete. When you delete a table, any indexes on that table are also deleted. If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the DISABLED state, and the stream is automatically deleted after 24 hours. Use the DescribeTable action to check the status of the table.
95
95
  */
96
96
  deleteTable(callback?: (err: AWSError, data: DynamoDB.Types.DeleteTableOutput) => void): Request<DynamoDB.Types.DeleteTableOutput, AWSError>;
97
97
  /**
@@ -135,19 +135,19 @@ declare class DynamoDB extends DynamoDBCustomizations {
135
135
  */
136
136
  describeExport(callback?: (err: AWSError, data: DynamoDB.Types.DescribeExportOutput) => void): Request<DynamoDB.Types.DescribeExportOutput, AWSError>;
137
137
  /**
138
- * Returns information about the specified global table. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
138
+ * Returns information about the specified global table. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
139
139
  */
140
140
  describeGlobalTable(params: DynamoDB.Types.DescribeGlobalTableInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeGlobalTableOutput) => void): Request<DynamoDB.Types.DescribeGlobalTableOutput, AWSError>;
141
141
  /**
142
- * Returns information about the specified global table. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
142
+ * Returns information about the specified global table. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
143
143
  */
144
144
  describeGlobalTable(callback?: (err: AWSError, data: DynamoDB.Types.DescribeGlobalTableOutput) => void): Request<DynamoDB.Types.DescribeGlobalTableOutput, AWSError>;
145
145
  /**
146
- * Describes Region-specific settings for a global table. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
146
+ * Describes Region-specific settings for a global table. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
147
147
  */
148
148
  describeGlobalTableSettings(params: DynamoDB.Types.DescribeGlobalTableSettingsInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeGlobalTableSettingsOutput) => void): Request<DynamoDB.Types.DescribeGlobalTableSettingsOutput, AWSError>;
149
149
  /**
150
- * Describes Region-specific settings for a global table. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
150
+ * Describes Region-specific settings for a global table. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
151
151
  */
152
152
  describeGlobalTableSettings(callback?: (err: AWSError, data: DynamoDB.Types.DescribeGlobalTableSettingsOutput) => void): Request<DynamoDB.Types.DescribeGlobalTableSettingsOutput, AWSError>;
153
153
  /**
@@ -175,19 +175,19 @@ declare class DynamoDB extends DynamoDBCustomizations {
175
175
  */
176
176
  describeLimits(callback?: (err: AWSError, data: DynamoDB.Types.DescribeLimitsOutput) => void): Request<DynamoDB.Types.DescribeLimitsOutput, AWSError>;
177
177
  /**
178
- * Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table. This operation only applies to Version 2019.11.21 (Current) of global tables. If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again.
178
+ * Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again.
179
179
  */
180
180
  describeTable(params: DynamoDB.Types.DescribeTableInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request<DynamoDB.Types.DescribeTableOutput, AWSError>;
181
181
  /**
182
- * Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table. This operation only applies to Version 2019.11.21 (Current) of global tables. If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again.
182
+ * Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again.
183
183
  */
184
184
  describeTable(callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request<DynamoDB.Types.DescribeTableOutput, AWSError>;
185
185
  /**
186
- * Describes auto scaling settings across replicas of the global table at once. This operation only applies to Version 2019.11.21 (Current) of global tables.
186
+ * Describes auto scaling settings across replicas of the global table at once. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
187
187
  */
188
188
  describeTableReplicaAutoScaling(params: DynamoDB.Types.DescribeTableReplicaAutoScalingInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableReplicaAutoScalingOutput) => void): Request<DynamoDB.Types.DescribeTableReplicaAutoScalingOutput, AWSError>;
189
189
  /**
190
- * Describes auto scaling settings across replicas of the global table at once. This operation only applies to Version 2019.11.21 (Current) of global tables.
190
+ * Describes auto scaling settings across replicas of the global table at once. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
191
191
  */
192
192
  describeTableReplicaAutoScaling(callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableReplicaAutoScalingOutput) => void): Request<DynamoDB.Types.DescribeTableReplicaAutoScalingOutput, AWSError>;
193
193
  /**
@@ -247,11 +247,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
247
247
  */
248
248
  getItem(callback?: (err: AWSError, data: DynamoDB.Types.GetItemOutput) => void): Request<DynamoDB.Types.GetItemOutput, AWSError>;
249
249
  /**
250
- * Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request, you can assume the policy will start getting applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable request will always be applied to all requests for that table.
250
+ * Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request, the policy will be applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable request will always be applied to all requests for that table.
251
251
  */
252
252
  getResourcePolicy(params: DynamoDB.Types.GetResourcePolicyInput, callback?: (err: AWSError, data: DynamoDB.Types.GetResourcePolicyOutput) => void): Request<DynamoDB.Types.GetResourcePolicyOutput, AWSError>;
253
253
  /**
254
- * Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request, you can assume the policy will start getting applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable request will always be applied to all requests for that table.
254
+ * Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request, the policy will be applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable request will always be applied to all requests for that table.
255
255
  */
256
256
  getResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.GetResourcePolicyOutput) => void): Request<DynamoDB.Types.GetResourcePolicyOutput, AWSError>;
257
257
  /**
@@ -287,11 +287,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
287
287
  */
288
288
  listExports(callback?: (err: AWSError, data: DynamoDB.Types.ListExportsOutput) => void): Request<DynamoDB.Types.ListExportsOutput, AWSError>;
289
289
  /**
290
- * Lists all global tables that have a replica in the specified Region. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
290
+ * Lists all global tables that have a replica in the specified Region. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
291
291
  */
292
292
  listGlobalTables(params: DynamoDB.Types.ListGlobalTablesInput, callback?: (err: AWSError, data: DynamoDB.Types.ListGlobalTablesOutput) => void): Request<DynamoDB.Types.ListGlobalTablesOutput, AWSError>;
293
293
  /**
294
- * Lists all global tables that have a replica in the specified Region. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
294
+ * Lists all global tables that have a replica in the specified Region. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
295
295
  */
296
296
  listGlobalTables(callback?: (err: AWSError, data: DynamoDB.Types.ListGlobalTablesOutput) => void): Request<DynamoDB.Types.ListGlobalTablesOutput, AWSError>;
297
297
  /**
@@ -327,11 +327,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
327
327
  */
328
328
  putItem(callback?: (err: AWSError, data: DynamoDB.Types.PutItemOutput) => void): Request<DynamoDB.Types.PutItemOutput, AWSError>;
329
329
  /**
330
- * Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId which doesn't match the current policy's RevisionId, the PolicyNotFoundException will be returned. PutResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException. This is because GetResourcePolicy uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy request again.
330
+ * Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId that doesn't match the current policy's RevisionId, the PolicyNotFoundException will be returned. PutResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException. This is because GetResourcePolicy uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy request again.
331
331
  */
332
332
  putResourcePolicy(params: DynamoDB.Types.PutResourcePolicyInput, callback?: (err: AWSError, data: DynamoDB.Types.PutResourcePolicyOutput) => void): Request<DynamoDB.Types.PutResourcePolicyOutput, AWSError>;
333
333
  /**
334
- * Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId which doesn't match the current policy's RevisionId, the PolicyNotFoundException will be returned. PutResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException. This is because GetResourcePolicy uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy request again.
334
+ * Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId that doesn't match the current policy's RevisionId, the PolicyNotFoundException will be returned. PutResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException. This is because GetResourcePolicy uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy request again.
335
335
  */
336
336
  putResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.PutResourcePolicyOutput) => void): Request<DynamoDB.Types.PutResourcePolicyOutput, AWSError>;
337
337
  /**
@@ -415,19 +415,19 @@ declare class DynamoDB extends DynamoDBCustomizations {
415
415
  */
416
416
  updateContributorInsights(callback?: (err: AWSError, data: DynamoDB.Types.UpdateContributorInsightsOutput) => void): Request<DynamoDB.Types.UpdateContributorInsightsOutput, AWSError>;
417
417
  /**
418
- * Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables. This operation only applies to Version 2017.11.29 of global tables. If you are using global tables Version 2019.11.21 you can use UpdateTable instead. Although you can use UpdateGlobalTable to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). The global secondary indexes must have the same provisioned and maximum write capacity units.
418
+ * Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). If you are using global tables Version 2019.11.21 you can use UpdateTable instead. Although you can use UpdateGlobalTable to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). The global secondary indexes must have the same provisioned and maximum write capacity units.
419
419
  */
420
420
  updateGlobalTable(params: DynamoDB.Types.UpdateGlobalTableInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateGlobalTableOutput) => void): Request<DynamoDB.Types.UpdateGlobalTableOutput, AWSError>;
421
421
  /**
422
- * Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables. This operation only applies to Version 2017.11.29 of global tables. If you are using global tables Version 2019.11.21 you can use UpdateTable instead. Although you can use UpdateGlobalTable to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). The global secondary indexes must have the same provisioned and maximum write capacity units.
422
+ * Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). If you are using global tables Version 2019.11.21 you can use UpdateTable instead. Although you can use UpdateGlobalTable to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). The global secondary indexes must have the same provisioned and maximum write capacity units.
423
423
  */
424
424
  updateGlobalTable(callback?: (err: AWSError, data: DynamoDB.Types.UpdateGlobalTableOutput) => void): Request<DynamoDB.Types.UpdateGlobalTableOutput, AWSError>;
425
425
  /**
426
- * Updates settings for a global table. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
426
+ * Updates settings for a global table. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
427
427
  */
428
428
  updateGlobalTableSettings(params: DynamoDB.Types.UpdateGlobalTableSettingsInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateGlobalTableSettingsOutput) => void): Request<DynamoDB.Types.UpdateGlobalTableSettingsOutput, AWSError>;
429
429
  /**
430
- * Updates settings for a global table. This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.
430
+ * Updates settings for a global table. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
431
431
  */
432
432
  updateGlobalTableSettings(callback?: (err: AWSError, data: DynamoDB.Types.UpdateGlobalTableSettingsOutput) => void): Request<DynamoDB.Types.UpdateGlobalTableSettingsOutput, AWSError>;
433
433
  /**
@@ -447,19 +447,19 @@ declare class DynamoDB extends DynamoDBCustomizations {
447
447
  */
448
448
  updateKinesisStreamingDestination(callback?: (err: AWSError, data: DynamoDB.Types.UpdateKinesisStreamingDestinationOutput) => void): Request<DynamoDB.Types.UpdateKinesisStreamingDestinationOutput, AWSError>;
449
449
  /**
450
- * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. This operation only applies to Version 2019.11.21 (Current) of global tables. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
450
+ * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
451
451
  */
452
452
  updateTable(params: DynamoDB.Types.UpdateTableInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableOutput) => void): Request<DynamoDB.Types.UpdateTableOutput, AWSError>;
453
453
  /**
454
- * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. This operation only applies to Version 2019.11.21 (Current) of global tables. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
454
+ * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version). You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
455
455
  */
456
456
  updateTable(callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableOutput) => void): Request<DynamoDB.Types.UpdateTableOutput, AWSError>;
457
457
  /**
458
- * Updates auto scaling settings on your global tables at once. This operation only applies to Version 2019.11.21 (Current) of global tables.
458
+ * Updates auto scaling settings on your global tables at once. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
459
459
  */
460
460
  updateTableReplicaAutoScaling(params: DynamoDB.Types.UpdateTableReplicaAutoScalingInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableReplicaAutoScalingOutput) => void): Request<DynamoDB.Types.UpdateTableReplicaAutoScalingOutput, AWSError>;
461
461
  /**
462
- * Updates auto scaling settings on your global tables at once. This operation only applies to Version 2019.11.21 (Current) of global tables.
462
+ * Updates auto scaling settings on your global tables at once. For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
463
463
  */
464
464
  updateTableReplicaAutoScaling(callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableReplicaAutoScalingOutput) => void): Request<DynamoDB.Types.UpdateTableReplicaAutoScalingOutput, AWSError>;
465
465
  /**
@@ -1058,6 +1058,10 @@ declare namespace DynamoDB {
1058
1058
  * Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
1059
1059
  */
1060
1060
  ProvisionedThroughput?: ProvisionedThroughput;
1061
+ /**
1062
+ * The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
1063
+ */
1064
+ OnDemandThroughput?: OnDemandThroughput;
1061
1065
  }
1062
1066
  export interface CreateGlobalTableInput {
1063
1067
  /**
@@ -1094,6 +1098,10 @@ declare namespace DynamoDB {
1094
1098
  * Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
1095
1099
  */
1096
1100
  ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
1101
+ /**
1102
+ * The maximum on-demand throughput settings for the specified replica table being created. You can only modify MaxReadRequestUnits, because you can't modify MaxWriteRequestUnits for individual replica tables.
1103
+ */
1104
+ OnDemandThroughputOverride?: OnDemandThroughputOverride;
1097
1105
  /**
1098
1106
  * Replica-specific global secondary index settings.
1099
1107
  */
@@ -1125,7 +1133,7 @@ declare namespace DynamoDB {
1125
1133
  */
1126
1134
  GlobalSecondaryIndexes?: GlobalSecondaryIndexList;
1127
1135
  /**
1128
- * Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
1136
+ * Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-demand capacity mode.
1129
1137
  */
1130
1138
  BillingMode?: BillingMode;
1131
1139
  /**
@@ -1153,9 +1161,13 @@ declare namespace DynamoDB {
1153
1161
  */
1154
1162
  DeletionProtectionEnabled?: DeletionProtectionEnabled;
1155
1163
  /**
1156
- * An Amazon Web Services resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy creation is strongly consistent. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. You can’t request an increase for this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.
1164
+ * An Amazon Web Services resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy application is strongly consistent. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see Resource-based policy considerations. You need to specify the CreateTable and PutResourcePolicy IAM actions for authorizing a user to create a table with a resource-based policy.
1157
1165
  */
1158
1166
  ResourcePolicy?: ResourcePolicy;
1167
+ /**
1168
+ * Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
1169
+ */
1170
+ OnDemandThroughput?: OnDemandThroughput;
1159
1171
  }
1160
1172
  export interface CreateTableOutput {
1161
1173
  /**
@@ -1270,7 +1282,7 @@ declare namespace DynamoDB {
1270
1282
  */
1271
1283
  Attributes?: AttributeMap;
1272
1284
  /**
1273
- * The capacity units consumed by the DeleteItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
1285
+ * The capacity units consumed by the DeleteItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned capacity mode in the Amazon DynamoDB Developer Guide.
1274
1286
  */
1275
1287
  ConsumedCapacity?: ConsumedCapacity;
1276
1288
  /**
@@ -1308,7 +1320,7 @@ declare namespace DynamoDB {
1308
1320
  }
1309
1321
  export interface DeleteResourcePolicyOutput {
1310
1322
  /**
1311
- * A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic. This value will be empty if you make a request against a resource without a policy.
1323
+ * A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic. This value will be empty if you make a request against a resource without a policy.
1312
1324
  */
1313
1325
  RevisionId?: PolicyRevisionId;
1314
1326
  }
@@ -1857,7 +1869,7 @@ declare namespace DynamoDB {
1857
1869
  */
1858
1870
  Item?: AttributeMap;
1859
1871
  /**
1860
- * The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
1872
+ * The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
1861
1873
  */
1862
1874
  ConsumedCapacity?: ConsumedCapacity;
1863
1875
  }
@@ -1873,7 +1885,7 @@ declare namespace DynamoDB {
1873
1885
  */
1874
1886
  Policy?: ResourcePolicy;
1875
1887
  /**
1876
- * A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
1888
+ * A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
1877
1889
  */
1878
1890
  RevisionId?: PolicyRevisionId;
1879
1891
  }
@@ -1894,6 +1906,10 @@ declare namespace DynamoDB {
1894
1906
  * Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
1895
1907
  */
1896
1908
  ProvisionedThroughput?: ProvisionedThroughput;
1909
+ /**
1910
+ * The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
1911
+ */
1912
+ OnDemandThroughput?: OnDemandThroughput;
1897
1913
  }
1898
1914
  export interface GlobalSecondaryIndexAutoScalingUpdate {
1899
1915
  /**
@@ -1940,6 +1956,10 @@ declare namespace DynamoDB {
1940
1956
  * The Amazon Resource Name (ARN) that uniquely identifies the index.
1941
1957
  */
1942
1958
  IndexArn?: String;
1959
+ /**
1960
+ * The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
1961
+ */
1962
+ OnDemandThroughput?: OnDemandThroughput;
1943
1963
  }
1944
1964
  export type GlobalSecondaryIndexDescriptionList = GlobalSecondaryIndexDescription[];
1945
1965
  export interface GlobalSecondaryIndexInfo {
@@ -1959,6 +1979,7 @@ declare namespace DynamoDB {
1959
1979
  * Represents the provisioned throughput settings for the specified global secondary index.
1960
1980
  */
1961
1981
  ProvisionedThroughput?: ProvisionedThroughput;
1982
+ OnDemandThroughput?: OnDemandThroughput;
1962
1983
  }
1963
1984
  export type GlobalSecondaryIndexList = GlobalSecondaryIndex[];
1964
1985
  export interface GlobalSecondaryIndexUpdate {
@@ -2565,6 +2586,22 @@ declare namespace DynamoDB {
2565
2586
  export type NullAttributeValue = boolean;
2566
2587
  export type NumberAttributeValue = string;
2567
2588
  export type NumberSetAttributeValue = NumberAttributeValue[];
2589
+ export interface OnDemandThroughput {
2590
+ /**
2591
+ * Maximum number of read request units for the specified table. To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.
2592
+ */
2593
+ MaxReadRequestUnits?: LongObject;
2594
+ /**
2595
+ * Maximum number of write request units for the specified table. To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.
2596
+ */
2597
+ MaxWriteRequestUnits?: LongObject;
2598
+ }
2599
+ export interface OnDemandThroughputOverride {
2600
+ /**
2601
+ * Maximum number of read request units for the specified replica table.
2602
+ */
2603
+ MaxReadRequestUnits?: LongObject;
2604
+ }
2568
2605
  export interface ParameterizedStatement {
2569
2606
  /**
2570
2607
  * A PartiQL statement that uses parameters.
@@ -2736,7 +2773,7 @@ declare namespace DynamoDB {
2736
2773
  */
2737
2774
  Attributes?: AttributeMap;
2738
2775
  /**
2739
- * The capacity units consumed by the PutItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
2776
+ * The capacity units consumed by the PutItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unity consumption for write operations in the Amazon DynamoDB Developer Guide.
2740
2777
  */
2741
2778
  ConsumedCapacity?: ConsumedCapacity;
2742
2779
  /**
@@ -2756,11 +2793,11 @@ declare namespace DynamoDB {
2756
2793
  */
2757
2794
  ResourceArn: ResourceArnString;
2758
2795
  /**
2759
- * An Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.
2796
+ * An Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. Within a resource-based policy, if the action for a DynamoDB service-linked role (SLR) to replicate data for a global table is denied, adding or deleting a replica will fail with an error. For a full list of all considerations that apply while attaching a resource-based policy, see Resource-based policy considerations.
2760
2797
  */
2761
2798
  Policy: ResourcePolicy;
2762
2799
  /**
2763
- * A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a PolicyNotFoundException. To conditionally put a policy when no policy exists for the resource, specify NO_POLICY for the revision ID.
2800
+ * A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a PolicyNotFoundException. To conditionally attach a policy when no policy exists for the resource, specify NO_POLICY for the revision ID.
2764
2801
  */
2765
2802
  ExpectedRevisionId?: PolicyRevisionId;
2766
2803
  /**
@@ -2770,7 +2807,7 @@ declare namespace DynamoDB {
2770
2807
  }
2771
2808
  export interface PutResourcePolicyOutput {
2772
2809
  /**
2773
- * A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
2810
+ * A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
2774
2811
  */
2775
2812
  RevisionId?: PolicyRevisionId;
2776
2813
  }
@@ -2859,7 +2896,7 @@ declare namespace DynamoDB {
2859
2896
  */
2860
2897
  LastEvaluatedKey?: Key;
2861
2898
  /**
2862
- * The capacity units consumed by the Query operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
2899
+ * The capacity units consumed by the Query operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
2863
2900
  */
2864
2901
  ConsumedCapacity?: ConsumedCapacity;
2865
2902
  }
@@ -2924,6 +2961,10 @@ declare namespace DynamoDB {
2924
2961
  * Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
2925
2962
  */
2926
2963
  ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
2964
+ /**
2965
+ * Overrides the maximum on-demand throughput settings for the specified replica table.
2966
+ */
2967
+ OnDemandThroughputOverride?: OnDemandThroughputOverride;
2927
2968
  /**
2928
2969
  * Replica-specific global secondary index settings.
2929
2970
  */
@@ -2944,6 +2985,10 @@ declare namespace DynamoDB {
2944
2985
  * Replica table GSI-specific provisioned throughput. If not specified, uses the source table GSI's read capacity settings.
2945
2986
  */
2946
2987
  ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
2988
+ /**
2989
+ * Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.
2990
+ */
2991
+ OnDemandThroughputOverride?: OnDemandThroughputOverride;
2947
2992
  }
2948
2993
  export interface ReplicaGlobalSecondaryIndexAutoScalingDescription {
2949
2994
  /**
@@ -2975,6 +3020,10 @@ declare namespace DynamoDB {
2975
3020
  * If not described, uses the source table GSI's read capacity settings.
2976
3021
  */
2977
3022
  ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
3023
+ /**
3024
+ * Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
3025
+ */
3026
+ OnDemandThroughputOverride?: OnDemandThroughputOverride;
2978
3027
  }
2979
3028
  export type ReplicaGlobalSecondaryIndexDescriptionList = ReplicaGlobalSecondaryIndexDescription[];
2980
3029
  export type ReplicaGlobalSecondaryIndexList = ReplicaGlobalSecondaryIndex[];
@@ -3155,6 +3204,7 @@ declare namespace DynamoDB {
3155
3204
  * Provisioned throughput settings for the restored table.
3156
3205
  */
3157
3206
  ProvisionedThroughputOverride?: ProvisionedThroughput;
3207
+ OnDemandThroughputOverride?: OnDemandThroughput;
3158
3208
  /**
3159
3209
  * The new server-side encryption settings for the restored table.
3160
3210
  */
@@ -3203,6 +3253,7 @@ declare namespace DynamoDB {
3203
3253
  * Provisioned throughput settings for the restored table.
3204
3254
  */
3205
3255
  ProvisionedThroughputOverride?: ProvisionedThroughput;
3256
+ OnDemandThroughputOverride?: OnDemandThroughput;
3206
3257
  /**
3207
3258
  * The new server-side encryption settings for the restored table.
3208
3259
  */
@@ -3354,7 +3405,7 @@ declare namespace DynamoDB {
3354
3405
  */
3355
3406
  LastEvaluatedKey?: Key;
3356
3407
  /**
3357
- * The capacity units consumed by the Scan operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
3408
+ * The capacity units consumed by the Scan operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
3358
3409
  */
3359
3410
  ConsumedCapacity?: ConsumedCapacity;
3360
3411
  }
@@ -3391,6 +3442,7 @@ declare namespace DynamoDB {
3391
3442
  * Read IOPs and Write IOPS on the table when the backup was created.
3392
3443
  */
3393
3444
  ProvisionedThroughput: ProvisionedThroughput;
3445
+ OnDemandThroughput?: OnDemandThroughput;
3394
3446
  /**
3395
3447
  * Number of items in the table. Note that this is an approximate value.
3396
3448
  */
@@ -3483,6 +3535,7 @@ declare namespace DynamoDB {
3483
3535
  */
3484
3536
  BillingMode?: BillingMode;
3485
3537
  ProvisionedThroughput?: ProvisionedThroughput;
3538
+ OnDemandThroughput?: OnDemandThroughput;
3486
3539
  SSESpecification?: SSESpecification;
3487
3540
  /**
3488
3541
  * The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
@@ -3582,6 +3635,10 @@ declare namespace DynamoDB {
3582
3635
  * Indicates whether deletion protection is enabled (true) or disabled (false) on the table.
3583
3636
  */
3584
3637
  DeletionProtectionEnabled?: DeletionProtectionEnabled;
3638
+ /**
3639
+ * The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
3640
+ */
3641
+ OnDemandThroughput?: OnDemandThroughput;
3585
3642
  }
3586
3643
  export type TableId = string;
3587
3644
  export type TableName = string;
@@ -3800,7 +3857,11 @@ declare namespace DynamoDB {
3800
3857
  /**
3801
3858
  * Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
3802
3859
  */
3803
- ProvisionedThroughput: ProvisionedThroughput;
3860
+ ProvisionedThroughput?: ProvisionedThroughput;
3861
+ /**
3862
+ * Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
3863
+ */
3864
+ OnDemandThroughput?: OnDemandThroughput;
3804
3865
  }
3805
3866
  export interface UpdateGlobalTableInput {
3806
3867
  /**
@@ -3824,7 +3885,7 @@ declare namespace DynamoDB {
3824
3885
  */
3825
3886
  GlobalTableName: TableName;
3826
3887
  /**
3827
- * The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
3888
+ * The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-demand capacity mode.
3828
3889
  */
3829
3890
  GlobalTableBillingMode?: BillingMode;
3830
3891
  /**
@@ -3911,7 +3972,7 @@ declare namespace DynamoDB {
3911
3972
  */
3912
3973
  Attributes?: AttributeMap;
3913
3974
  /**
3914
- * The capacity units consumed by the UpdateItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
3975
+ * The capacity units consumed by the UpdateItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unity consumption for write operations in the Amazon DynamoDB Developer Guide.
3915
3976
  */
3916
3977
  ConsumedCapacity?: ConsumedCapacity;
3917
3978
  /**
@@ -3970,6 +4031,10 @@ declare namespace DynamoDB {
3970
4031
  * Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
3971
4032
  */
3972
4033
  ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
4034
+ /**
4035
+ * Overrides the maximum on-demand throughput for the replica table.
4036
+ */
4037
+ OnDemandThroughputOverride?: OnDemandThroughputOverride;
3973
4038
  /**
3974
4039
  * Replica-specific global secondary index settings.
3975
4040
  */
@@ -3989,7 +4054,7 @@ declare namespace DynamoDB {
3989
4054
  */
3990
4055
  TableName: TableArn;
3991
4056
  /**
3992
- * Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
4057
+ * Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-demand capacity mode.
3993
4058
  */
3994
4059
  BillingMode?: BillingMode;
3995
4060
  /**
@@ -4009,7 +4074,7 @@ declare namespace DynamoDB {
4009
4074
  */
4010
4075
  SSESpecification?: SSESpecification;
4011
4076
  /**
4012
- * A list of replica update actions (create, delete, or update) for the table. This property only applies to Version 2019.11.21 (Current) of global tables.
4077
+ * A list of replica update actions (create, delete, or update) for the table. For global tables, this property only applies to global tables using Version 2019.11.21 (Current version).
4013
4078
  */
4014
4079
  ReplicaUpdates?: ReplicationGroupUpdateList;
4015
4080
  /**
@@ -4020,6 +4085,10 @@ declare namespace DynamoDB {
4020
4085
  * Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
4021
4086
  */
4022
4087
  DeletionProtectionEnabled?: DeletionProtectionEnabled;
4088
+ /**
4089
+ * Updates the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
4090
+ */
4091
+ OnDemandThroughput?: OnDemandThroughput;
4023
4092
  }
4024
4093
  export interface UpdateTableOutput {
4025
4094
  /**