@cdklabs/cdk-ssm-documents 0.0.77 → 0.0.79

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 (558) hide show
  1. package/.jsii +12 -12
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/checksums/package.json +5 -5
  117. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3 -3
  118. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +2 -2
  119. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +187 -181
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +184 -180
  121. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  122. package/node_modules/@aws-sdk/client-cloudwatch/README.md +35 -0
  123. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +188 -14
  124. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/CloudWatch.js +10 -0
  125. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/CreateResourceMetricsConfigurationCommand.js +4 -0
  126. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/DeleteResourceMetricsConfigurationCommand.js +4 -0
  127. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/GetResourceMetricsConfigurationCommand.js +4 -0
  128. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/UpdateOTelEnrichmentCommand.js +4 -0
  129. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/UpdateResourceMetricsConfigurationCommand.js +4 -0
  130. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/index.js +5 -0
  131. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/models/errors.js +12 -0
  132. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +133 -14
  133. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatch.d.ts +143 -101
  134. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatchClient.d.ts +7 -2
  135. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/CreateResourceMetricsConfigurationCommand.d.ts +108 -0
  136. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DeleteResourceMetricsConfigurationCommand.d.ts +82 -0
  137. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetDashboardCommand.d.ts +7 -0
  138. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetMetricDataCommand.d.ts +4 -2
  139. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetOTelEnrichmentCommand.d.ts +18 -0
  140. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetResourceMetricsConfigurationCommand.d.ts +93 -0
  141. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/ListDashboardsCommand.d.ts +7 -0
  142. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/StartOTelEnrichmentCommand.d.ts +49 -4
  143. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/UpdateOTelEnrichmentCommand.d.ts +118 -0
  144. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/UpdateResourceMetricsConfigurationCommand.d.ts +104 -0
  145. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/index.d.ts +5 -0
  146. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/errors.d.ts +13 -0
  147. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +301 -0
  148. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +19 -0
  149. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatch.d.ts +190 -100
  150. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatchClient.d.ts +32 -2
  151. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/CreateResourceMetricsConfigurationCommand.d.ts +42 -0
  152. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DeleteResourceMetricsConfigurationCommand.d.ts +42 -0
  153. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetResourceMetricsConfigurationCommand.d.ts +42 -0
  154. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +2 -2
  155. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/UpdateOTelEnrichmentCommand.d.ts +39 -0
  156. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/UpdateResourceMetricsConfigurationCommand.d.ts +42 -0
  157. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/index.d.ts +5 -0
  158. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/errors.d.ts +5 -0
  159. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +61 -2
  160. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
  161. package/node_modules/@aws-sdk/client-cloudwatch/package.json +8 -8
  162. package/node_modules/@aws-sdk/client-ec2/README.md +14 -0
  163. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +244 -31
  164. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +6 -0
  165. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateCapacityReservationDateChangeQuoteCommand.js +4 -0
  166. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeCapacityReservationDateChangeQuotesCommand.js +4 -0
  167. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
  168. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +46 -0
  169. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeCapacityReservationDateChangeQuotesPaginator.js +4 -0
  170. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
  171. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +168 -30
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +1633 -1605
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +4 -2
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +5 -1
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +21 -1
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +1 -1
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +11 -1
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +116 -0
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +3 -3
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +5 -5
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +2 -1
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -4
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  230. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  231. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -2
  232. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  233. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  234. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  235. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  236. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  237. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  238. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  239. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  240. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  241. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
  242. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  243. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  244. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  245. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  247. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  250. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  251. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  252. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  253. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  254. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  255. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  256. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  257. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  258. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  259. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  261. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  262. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  263. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  264. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  265. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +3 -1
  266. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  267. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  268. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
  269. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +5 -5
  270. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  271. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  272. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
  273. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  274. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  275. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
  276. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  277. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -1
  278. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  279. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationDateChangeQuotesCommand.d.ts +113 -0
  280. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  281. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +10 -0
  282. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  283. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +2 -2
  284. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
  285. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  286. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypesCommand.d.ts +5 -2
  287. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  288. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -2
  289. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  290. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  291. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  292. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeRouteServerPeersCommand.d.ts +2 -1
  293. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeRouteServersCommand.d.ts +1 -1
  294. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  295. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +1 -2
  296. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -4
  297. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  298. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  299. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  300. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesCommand.d.ts +2 -0
  301. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -2
  302. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +3 -3
  303. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
  304. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -1
  305. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  306. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  307. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableCapacityManagerCommand.d.ts +1 -1
  308. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
  309. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +2 -2
  310. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
  311. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +2 -2
  312. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportInstanceCommand.d.ts +2 -2
  313. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  314. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  315. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyCapacityReservationCommand.d.ts +15 -0
  316. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +2 -2
  317. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  318. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  319. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  320. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcEndpointPayerResponsibilityCommand.d.ts +4 -4
  321. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +20 -0
  322. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  323. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +11 -1
  324. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  325. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  326. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  327. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  328. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  329. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  330. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
  331. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
  332. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +4 -4
  333. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
  334. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +3 -3
  335. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  336. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  337. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  338. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ValidateSecurityGroupQuotasForInterfaceCommand.d.ts +2 -2
  339. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
  340. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +78 -0
  341. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +290 -130
  342. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +148 -297
  343. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +298 -116
  344. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +163 -508
  345. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +513 -371
  346. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +371 -174
  347. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +176 -397
  348. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +4632 -4572
  349. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +374 -6
  350. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeCapacityReservationDateChangeQuotesPaginator.d.ts +7 -0
  351. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
  352. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +11 -0
  353. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +1650 -1604
  354. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
  355. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +42 -0
  356. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +2 -1
  357. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
  358. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  359. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -1
  360. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  361. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationDateChangeQuotesCommand.d.ts +42 -0
  362. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRouteServerPeersCommand.d.ts +2 -4
  363. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRouteServersCommand.d.ts +1 -1
  364. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRouteTablesCommand.d.ts +1 -1
  365. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -2
  366. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -1
  367. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -1
  368. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  369. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  370. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableCapacityManagerCommand.d.ts +1 -1
  371. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportImageCommand.d.ts +1 -1
  372. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportInstanceCommand.d.ts +1 -1
  373. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  374. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceRouteCommand.d.ts +1 -1
  375. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  376. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  377. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
  378. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReportInstanceStatusCommand.d.ts +1 -1
  379. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
  380. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +54 -0
  381. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +51 -28
  382. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +30 -69
  383. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +68 -36
  384. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +51 -82
  385. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +94 -60
  386. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +59 -47
  387. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +47 -87
  388. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +94 -81
  389. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +75 -0
  390. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeCapacityReservationDateChangeQuotesPaginator.d.ts +11 -0
  391. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
  392. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  393. package/node_modules/@aws-sdk/client-ec2/package.json +9 -9
  394. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +3 -3
  395. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +2 -2
  396. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +367 -361
  397. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +364 -363
  398. package/node_modules/@aws-sdk/client-iam/package.json +8 -8
  399. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +3 -3
  400. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +2 -2
  401. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +183 -177
  402. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  403. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +2 -2
  404. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +180 -176
  405. package/node_modules/@aws-sdk/client-lambda/package.json +8 -8
  406. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +40 -17
  407. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +7 -0
  408. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +30 -16
  409. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +231 -225
  410. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +3 -0
  411. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -0
  412. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  413. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  414. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +3 -0
  415. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -0
  416. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -0
  417. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -0
  418. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  419. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  420. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  421. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +3 -0
  422. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -0
  423. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -0
  424. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  425. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +15 -0
  426. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +186 -49
  427. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +43 -1
  428. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +1 -0
  429. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +228 -224
  430. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  431. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +8 -0
  432. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +23 -7
  433. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +14 -1
  434. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  435. package/node_modules/@aws-sdk/client-s3/package.json +12 -12
  436. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +3 -3
  437. package/node_modules/@aws-sdk/client-sns/dist-es/schemas/schemas_0.js +2 -2
  438. package/node_modules/@aws-sdk/client-sns/dist-types/SNS.d.ts +91 -85
  439. package/node_modules/@aws-sdk/client-sns/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -1
  440. package/node_modules/@aws-sdk/client-sns/dist-types/commands/PublishBatchCommand.d.ts +10 -3
  441. package/node_modules/@aws-sdk/client-sns/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +6 -1
  442. package/node_modules/@aws-sdk/client-sns/dist-types/models/models_0.d.ts +67 -10
  443. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/SNS.d.ts +88 -84
  444. package/node_modules/@aws-sdk/client-sns/package.json +8 -8
  445. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +3 -3
  446. package/node_modules/@aws-sdk/client-sqs/dist-es/schemas/schemas_0.js +2 -2
  447. package/node_modules/@aws-sdk/client-sqs/dist-types/SQS.d.ts +53 -47
  448. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/SQS.d.ts +50 -49
  449. package/node_modules/@aws-sdk/client-sqs/package.json +9 -9
  450. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +3 -3
  451. package/node_modules/@aws-sdk/client-ssm/dist-es/schemas/schemas_0.js +2 -2
  452. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +311 -305
  453. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +308 -304
  454. package/node_modules/@aws-sdk/client-ssm/package.json +8 -8
  455. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
  456. package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
  457. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
  458. package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
  459. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
  460. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
  461. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
  462. package/node_modules/@aws-sdk/core/package.json +6 -6
  463. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  464. package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  465. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  466. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  467. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  468. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  469. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  470. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  471. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
  472. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +2 -1
  473. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-region-redirect/region-redirect-middleware.js +2 -0
  474. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -6
  475. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
  476. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
  477. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
  478. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
  479. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
  480. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
  481. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
  482. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
  483. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
  484. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
  485. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
  486. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
  487. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
  488. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
  489. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  490. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
  491. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
  492. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
  493. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
  494. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
  495. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
  496. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
  497. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
  498. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
  499. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  500. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
  501. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
  502. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  503. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  504. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  505. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
  506. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
  507. package/node_modules/@aws-sdk/types/package.json +2 -2
  508. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  509. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
  510. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +26 -4
  511. package/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
  512. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
  513. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
  514. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
  515. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +12 -7
  516. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
  517. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
  518. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
  519. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
  520. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
  521. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  522. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
  523. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +18 -3
  524. package/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
  525. package/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
  526. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
  527. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
  528. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +12 -7
  529. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
  530. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
  531. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  532. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  533. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  534. package/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
  535. package/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
  536. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  537. package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  538. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  539. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  540. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  541. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  542. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
  543. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
  544. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  545. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  546. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  547. package/node_modules/@smithy/core/errors.d.ts +5 -0
  548. package/node_modules/@smithy/core/errors.js +5 -0
  549. package/node_modules/@smithy/core/package.json +11 -2
  550. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -1
  551. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +4 -1
  552. package/node_modules/@smithy/signature-v4/package.json +3 -3
  553. package/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
  554. package/node_modules/@smithy/types/dist-types/middleware.d.ts +5 -0
  555. package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
  556. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +5 -0
  557. package/node_modules/@smithy/types/package.json +1 -1
  558. package/package.json +10 -10
@@ -1,14 +1,20 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
3
6
  import {
4
7
  AssumeRoleWithWebIdentityCommandInput,
5
8
  AssumeRoleWithWebIdentityCommandOutput,
6
9
  } from "./commands/AssumeRoleWithWebIdentityCommand";
7
10
  import { STSClient } from "./STSClient";
11
+ export interface STSRequestOptions extends __HttpHandlerOptions {
12
+ metricsRecorder?: __MetricsRecorder<unknown>;
13
+ }
8
14
  export interface STS {
9
15
  assumeRole(
10
16
  args: AssumeRoleCommandInput,
11
- options?: __HttpHandlerOptions,
17
+ options?: STSRequestOptions,
12
18
  ): Promise<AssumeRoleCommandOutput>;
13
19
  assumeRole(
14
20
  args: AssumeRoleCommandInput,
@@ -16,12 +22,12 @@ export interface STS {
16
22
  ): void;
17
23
  assumeRole(
18
24
  args: AssumeRoleCommandInput,
19
- options: __HttpHandlerOptions,
25
+ options: STSRequestOptions,
20
26
  cb: (err: any, data?: AssumeRoleCommandOutput) => void,
21
27
  ): void;
22
28
  assumeRoleWithWebIdentity(
23
29
  args: AssumeRoleWithWebIdentityCommandInput,
24
- options?: __HttpHandlerOptions,
30
+ options?: STSRequestOptions,
25
31
  ): Promise<AssumeRoleWithWebIdentityCommandOutput>;
26
32
  assumeRoleWithWebIdentity(
27
33
  args: AssumeRoleWithWebIdentityCommandInput,
@@ -29,7 +35,7 @@ export interface STS {
29
35
  ): void;
30
36
  assumeRoleWithWebIdentity(
31
37
  args: AssumeRoleWithWebIdentityCommandInput,
32
- options: __HttpHandlerOptions,
38
+ options: STSRequestOptions,
33
39
  cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
34
40
  ): void;
35
41
  }
@@ -26,6 +26,7 @@ export interface AssumeRoleRequest {
26
26
  TokenCode?: string | undefined;
27
27
  SourceIdentity?: string | undefined;
28
28
  ProvidedContexts?: ProvidedContext[] | undefined;
29
+ MinimumSessionTokenSize?: number | undefined;
29
30
  }
30
31
  export interface Credentials {
31
32
  AccessKeyId: string | undefined;
@@ -38,6 +39,8 @@ export interface AssumeRoleResponse {
38
39
  AssumedRoleUser?: AssumedRoleUser | undefined;
39
40
  PackedPolicySize?: number | undefined;
40
41
  SourceIdentity?: string | undefined;
42
+ SessionTokenUtilization?: number | undefined;
43
+ SessionTokenSize?: number | undefined;
41
44
  }
42
45
  export interface AssumeRoleWithWebIdentityRequest {
43
46
  RoleArn: string | undefined;
@@ -47,6 +50,7 @@ export interface AssumeRoleWithWebIdentityRequest {
47
50
  PolicyArns?: PolicyDescriptorType[] | undefined;
48
51
  Policy?: string | undefined;
49
52
  DurationSeconds?: number | undefined;
53
+ MinimumSessionTokenSize?: number | undefined;
50
54
  }
51
55
  export interface AssumeRoleWithWebIdentityResponse {
52
56
  Credentials?: Credentials | undefined;
@@ -56,4 +60,6 @@ export interface AssumeRoleWithWebIdentityResponse {
56
60
  Provider?: string | undefined;
57
61
  Audience?: string | undefined;
58
62
  SourceIdentity?: string | undefined;
63
+ SessionTokenUtilization?: number | undefined;
64
+ SessionTokenSize?: number | undefined;
59
65
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.44",
3
+ "version": "3.997.46",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
6
6
  "license": "Apache-2.0",
@@ -100,13 +100,13 @@
100
100
  "test:watch": "yarn g:vitest watch"
101
101
  },
102
102
  "dependencies": {
103
- "@aws-sdk/core": "^3.977.9",
104
- "@aws-sdk/signature-v4-multi-region": "^3.996.46",
105
- "@aws-sdk/types": "^3.974.5",
106
- "@smithy/core": "^3.33.3",
107
- "@smithy/fetch-http-handler": "^5.7.2",
108
- "@smithy/node-http-handler": "^4.11.3",
109
- "@smithy/types": "^4.17.2",
103
+ "@aws-sdk/core": "^3.978.1",
104
+ "@aws-sdk/signature-v4-multi-region": "^3.996.47",
105
+ "@aws-sdk/types": "^3.974.6",
106
+ "@smithy/core": "^3.35.0",
107
+ "@smithy/fetch-http-handler": "^5.8.0",
108
+ "@smithy/node-http-handler": "^4.12.1",
109
+ "@smithy/types": "^4.19.0",
110
110
  "tslib": "^2.6.2"
111
111
  },
112
112
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.996.46",
3
+ "version": "3.996.47",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -42,9 +42,9 @@
42
42
  "test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
43
43
  },
44
44
  "dependencies": {
45
- "@aws-sdk/types": "^3.974.5",
46
- "@smithy/signature-v4": "^5.6.12",
47
- "@smithy/types": "^4.17.2",
45
+ "@aws-sdk/types": "^3.974.6",
46
+ "@smithy/signature-v4": "^5.7.3",
47
+ "@smithy/types": "^4.19.0",
48
48
  "tslib": "^2.6.2"
49
49
  },
50
50
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1116.0",
3
+ "version": "3.1138.0",
4
4
  "description": "A collection of token providers",
5
5
  "keywords": [
6
6
  "aws",
@@ -48,11 +48,11 @@
48
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.977.9",
52
- "@aws-sdk/nested-clients": "^3.997.44",
53
- "@aws-sdk/types": "^3.974.5",
54
- "@smithy/core": "^3.33.3",
55
- "@smithy/types": "^4.17.2",
51
+ "@aws-sdk/core": "^3.978.1",
52
+ "@aws-sdk/nested-clients": "^3.997.46",
53
+ "@aws-sdk/types": "^3.974.6",
54
+ "@smithy/core": "^3.35.0",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {
@@ -28,6 +28,7 @@ export type AwsSdkFeatures = Partial<{
28
28
  FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
29
29
  FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
30
30
  DDB_MAPPER: "d";
31
+ S3_REGION_REDIRECT: "Ah";
31
32
  }> & AwsSdkCredentialsFeatures & AwsSdkTokenFeatures;
32
33
  /**
33
34
  * @internal
@@ -25,6 +25,7 @@ export type AwsSdkFeatures = Partial<{
25
25
  FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
26
26
  FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
27
27
  DDB_MAPPER: "d";
28
+ S3_REGION_REDIRECT: "Ah";
28
29
  }> &
29
30
  AwsSdkCredentialsFeatures &
30
31
  AwsSdkTokenFeatures;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.974.5",
3
+ "version": "3.974.6",
4
4
  "description": "Types for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "test": "tsc -p tsconfig.test.json"
42
42
  },
43
43
  "dependencies": {
44
- "@smithy/types": "^4.17.2",
44
+ "@smithy/types": "^4.19.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.972.40",
3
+ "version": "3.972.41",
4
4
  "description": "XML utilities for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  "test:fuzz": "jazzer tests/xml-parser.fuzz.js corpus --sync -i xml-parser -- -max_total_time=300"
48
48
  },
49
49
  "dependencies": {
50
- "@smithy/types": "^4.17.2",
50
+ "@smithy/types": "^4.19.0",
51
51
  "tslib": "^2.6.2"
52
52
  },
53
53
  "devDependencies": {
@@ -902,26 +902,11 @@ const loadSmithyRpcV2CborErrorCode = (output, data) => {
902
902
  if (cleanValue.indexOf(":") >= 0) {
903
903
  cleanValue = cleanValue.split(":")[0];
904
904
  }
905
- if (cleanValue.indexOf("#") >= 0) {
906
- cleanValue = cleanValue.split("#")[1];
907
- }
908
905
  return cleanValue;
909
906
  };
910
907
  if (data["__type"] !== undefined) {
911
908
  return sanitizeErrorCode(data["__type"]);
912
909
  }
913
- let codeKey;
914
- for (const key in data) {
915
- if (!hasOwn(data, key))
916
- continue;
917
- if (key.toLowerCase() === "code") {
918
- codeKey = key;
919
- break;
920
- }
921
- }
922
- if (codeKey && data[codeKey] !== undefined) {
923
- return sanitizeErrorCode(data[codeKey]);
924
- }
925
910
  };
926
911
  const checkCborResponse = (response) => {
927
912
  if (String(response.headers["smithy-protocol"]).toLowerCase() !== "rpc-v2-cbor") {
@@ -2278,37 +2263,37 @@ class SmithyRpcV2CborProtocol extends RpcProtocol {
2278
2263
  return super.deserializeResponse(operationSchema, context, response);
2279
2264
  }
2280
2265
  async handleError(operationSchema, context, response, dataObject, metadata) {
2281
- const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
2266
+ const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
2267
+ const preferredNamespaces = ["*"];
2268
+ const { defaultNamespace } = this.options;
2269
+ preferredNamespaces.unshift(defaultNamespace);
2270
+ const [namespace, errorShapeName] = (() => {
2271
+ if (errorIdentifier.includes("#")) {
2272
+ return errorIdentifier.split("#");
2273
+ }
2274
+ return [undefined, errorIdentifier];
2275
+ })();
2276
+ if (namespace) {
2277
+ preferredNamespaces.unshift(namespace);
2278
+ }
2282
2279
  const errorMetadata = {
2283
2280
  $metadata: metadata,
2284
- $fault: response.statusCode <= 500 ? "client" : "server",
2281
+ $fault: response.statusCode < 500 ? "client" : "server",
2285
2282
  };
2286
- let namespace = this.options.defaultNamespace;
2287
- if (errorName.includes("#")) {
2288
- [namespace] = errorName.split("#");
2289
- }
2290
- const registry = this.compositeErrorRegistry;
2291
- const nsRegistry = TypeRegistry.for(namespace);
2292
- registry.copyFrom(nsRegistry);
2293
- let errorSchema;
2294
- try {
2295
- errorSchema = registry.getSchema(errorName);
2283
+ const preferredRegistries = [this.compositeErrorRegistry];
2284
+ if (namespace) {
2285
+ preferredRegistries.push(TypeRegistry.for(namespace));
2296
2286
  }
2297
- catch (ignored) {
2287
+ preferredRegistries.push(TypeRegistry.for(defaultNamespace));
2288
+ const [errorSchema, ErrorCtor, errorMode] = this.resolveError(errorShapeName, preferredNamespaces, preferredRegistries);
2289
+ if (errorMode === "native" || errorMode === "synthetic") {
2298
2290
  if (dataObject.Message) {
2299
2291
  dataObject.message = dataObject.Message;
2300
2292
  }
2301
- const syntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
2302
- registry.copyFrom(syntheticRegistry);
2303
- const baseExceptionSchema = registry.getBaseException();
2304
- if (baseExceptionSchema) {
2305
- const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);
2306
- throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
2307
- }
2308
- throw Object.assign(new Error(errorName), errorMetadata, dataObject);
2293
+ const error = errorMode === "synthetic" ? new ErrorCtor({ name: errorShapeName }) : new Error(errorShapeName);
2294
+ throw Object.assign(error, errorMetadata, dataObject);
2309
2295
  }
2310
2296
  const ns = NormalizedSchema.of(errorSchema);
2311
- const ErrorCtor = registry.getErrorCtor(errorSchema);
2312
2297
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
2313
2298
  const exception = new ErrorCtor({});
2314
2299
  const output = {};
@@ -590,20 +590,27 @@ class Command {
590
590
  }
591
591
  const stack = clientStack.concat(this.middlewareStack);
592
592
  const { logger } = configuration;
593
+ const additionalSmithyContext = additionalContext[SMITHY_CONTEXT_KEY];
593
594
  const handlerExecutionContext = {
594
595
  logger,
595
596
  clientName,
596
597
  commandName,
597
598
  inputFilterSensitiveLog,
598
599
  outputFilterSensitiveLog,
600
+ ...additionalContext,
599
601
  [SMITHY_CONTEXT_KEY]: {
602
+ ...additionalSmithyContext,
600
603
  commandInstance: this,
601
604
  ...smithyContext,
605
+ ...(options?.metricsRecorder === undefined ? {} : { metricsRecorder: options.metricsRecorder }),
602
606
  },
603
- ...additionalContext,
604
607
  };
605
608
  const { requestHandler } = configuration;
606
609
  let requestOptions = options ?? {};
610
+ if (requestOptions.metricsRecorder) {
611
+ requestOptions = { ...requestOptions };
612
+ delete requestOptions.metricsRecorder;
613
+ }
607
614
  if (smithyContext.eventStream) {
608
615
  requestOptions = {
609
616
  isEventStream: true,
@@ -786,10 +793,25 @@ class ServiceException extends Error {
786
793
  return ServiceException.isInstance(instance);
787
794
  }
788
795
  if (ServiceException.isInstance(instance)) {
789
- if (candidate.name && this.name) {
790
- return this.prototype.isPrototypeOf(instance) || candidate.name === this.name;
796
+ if (this.prototype.isPrototypeOf(instance)) {
797
+ return true;
798
+ }
799
+ const targetName = this.name;
800
+ if (!targetName || !candidate.name) {
801
+ return false;
791
802
  }
792
- return this.prototype.isPrototypeOf(instance);
803
+ if (candidate.name === targetName) {
804
+ return true;
805
+ }
806
+ let proto = Object.getPrototypeOf(candidate);
807
+ while (proto && proto !== Object.prototype) {
808
+ const ctorName = proto.constructor?.name;
809
+ if (ctorName && ctorName !== "Error" && ctorName === targetName) {
810
+ return true;
811
+ }
812
+ proto = Object.getPrototypeOf(proto);
813
+ }
814
+ return false;
793
815
  }
794
816
  return false;
795
817
  }
@@ -0,0 +1,20 @@
1
+ class SmithyError extends Error {
2
+ name = "SmithyError";
3
+ $source = errors.$source;
4
+ }
5
+ class SmithyTypeError extends TypeError {
6
+ name = "SmithyTypeError";
7
+ $source = errors.$source;
8
+ }
9
+ class SmithyRangeError extends RangeError {
10
+ name = "SmithyRangeError";
11
+ $source = errors.$source;
12
+ }
13
+ const errors = {
14
+ $source: "smithy",
15
+ Error: SmithyError,
16
+ TypeError: SmithyTypeError,
17
+ RangeError: SmithyRangeError,
18
+ };
19
+
20
+ exports.errors = errors;
@@ -39,7 +39,7 @@ class HttpProtocol extends SerdeContext {
39
39
  constructor(options) {
40
40
  super();
41
41
  this.options = options;
42
- this.compositeErrorRegistry = TypeRegistry.for(options.defaultNamespace);
42
+ this.compositeErrorRegistry = new TypeRegistry(options.defaultNamespace);
43
43
  for (const etr of options.errorTypeRegistries ?? []) {
44
44
  this.compositeErrorRegistry.copyFrom(etr);
45
45
  }
@@ -134,6 +134,47 @@ class HttpProtocol extends SerdeContext {
134
134
  cfId: output.headers["x-amz-cf-id"],
135
135
  };
136
136
  }
137
+ resolveError(name, namespaces, registries) {
138
+ const defaultErrorSchema = [-3, "", "Error", 0, [], [], 0];
139
+ let schema;
140
+ for (const registry of registries) {
141
+ for (const ns of namespaces) {
142
+ try {
143
+ if (ns === "*") {
144
+ schema = registry.getSchema(name);
145
+ }
146
+ else {
147
+ schema = registry.getSchema(ns + "#" + name);
148
+ }
149
+ const errorCtor = registry.getErrorCtor(schema);
150
+ if (errorCtor) {
151
+ return [schema, errorCtor, "modeled"];
152
+ }
153
+ else {
154
+ const syntheticErrorSchema = registry.getBaseException();
155
+ if (syntheticErrorSchema) {
156
+ const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);
157
+ if (syntheticErrorCtor) {
158
+ return [schema, syntheticErrorCtor, "synthetic"];
159
+ }
160
+ }
161
+ }
162
+ }
163
+ catch (ignored) {
164
+ }
165
+ }
166
+ }
167
+ for (const registry of registries) {
168
+ const syntheticErrorSchema = registry.getBaseException();
169
+ if (syntheticErrorSchema) {
170
+ const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);
171
+ if (syntheticErrorCtor) {
172
+ return [syntheticErrorSchema, syntheticErrorCtor, "synthetic"];
173
+ }
174
+ }
175
+ }
176
+ return [defaultErrorSchema, Error, "native"];
177
+ }
137
178
  async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
138
179
  const eventStreamSerde = await this.loadEventStreamCapability();
139
180
  return eventStreamSerde.serializeEventStream({
@@ -162,13 +203,6 @@ class HttpProtocol extends SerdeContext {
162
203
  compositeErrorRegistry: this.compositeErrorRegistry,
163
204
  });
164
205
  }
165
- resolveEventStreamMarshaller(importedProvider) {
166
- const context = this.serdeContext;
167
- if (context.eventStreamMarshaller) {
168
- return context.eventStreamMarshaller;
169
- }
170
- return importedProvider(this.serdeContext);
171
- }
172
206
  getDefaultContentType() {
173
207
  throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);
174
208
  }
@@ -182,6 +216,13 @@ class HttpProtocol extends SerdeContext {
182
216
  }
183
217
  return context.eventStreamMarshaller;
184
218
  }
219
+ resolveEventStreamMarshaller(importedProvider) {
220
+ const context = this.serdeContext;
221
+ if (context.eventStreamMarshaller) {
222
+ return context.eventStreamMarshaller;
223
+ }
224
+ return importedProvider(this.serdeContext);
225
+ }
185
226
  }
186
227
 
187
228
  class HttpBindingProtocol extends HttpProtocol {
@@ -55,16 +55,17 @@ const isBrowserNetworkError = (error) => {
55
55
  const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||
56
56
  THROTTLING_ERROR_CODES.includes(error.name) ||
57
57
  error.$retryable?.throttling == true;
58
- const isTransientError = (error, depth = 0) => isRetryableByTrait(error) ||
59
- isClockSkewCorrectedError(error) ||
60
- (error.name === "InvalidSignatureException" && error.message?.includes("Signature expired")) ||
61
- TRANSIENT_ERROR_CODES.includes(error.name) ||
62
- NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
63
- NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
64
- TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
65
- isBrowserNetworkError(error) ||
66
- isNodeJsHttp2TransientError(error) ||
67
- (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1));
58
+ const isTransientError = (error, depth = 0) => error?.name !== "AbortError" &&
59
+ (isRetryableByTrait(error) ||
60
+ isClockSkewCorrectedError(error) ||
61
+ (error.name === "InvalidSignatureException" && error.message?.includes("Signature expired")) ||
62
+ TRANSIENT_ERROR_CODES.includes(error.name) ||
63
+ NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
64
+ NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
65
+ TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
66
+ isBrowserNetworkError(error) ||
67
+ isNodeJsHttp2TransientError(error) ||
68
+ (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1)));
68
69
  const isServerError = (error) => {
69
70
  if (error.$metadata?.httpStatusCode !== undefined) {
70
71
  const statusCode = error.$metadata.httpStatusCode;
@@ -57,16 +57,17 @@ const isBrowserNetworkError = (error) => {
57
57
  const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||
58
58
  THROTTLING_ERROR_CODES.includes(error.name) ||
59
59
  error.$retryable?.throttling == true;
60
- const isTransientError = (error, depth = 0) => isRetryableByTrait(error) ||
61
- isClockSkewCorrectedError(error) ||
62
- (error.name === "InvalidSignatureException" && error.message?.includes("Signature expired")) ||
63
- TRANSIENT_ERROR_CODES.includes(error.name) ||
64
- NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
65
- NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
66
- TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
67
- isBrowserNetworkError(error) ||
68
- isNodeJsHttp2TransientError(error) ||
69
- (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1));
60
+ const isTransientError = (error, depth = 0) => error?.name !== "AbortError" &&
61
+ (isRetryableByTrait(error) ||
62
+ isClockSkewCorrectedError(error) ||
63
+ (error.name === "InvalidSignatureException" && error.message?.includes("Signature expired")) ||
64
+ TRANSIENT_ERROR_CODES.includes(error.name) ||
65
+ NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
66
+ NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
67
+ TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
68
+ isBrowserNetworkError(error) ||
69
+ isNodeJsHttp2TransientError(error) ||
70
+ (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1)));
70
71
  const isServerError = (error) => {
71
72
  if (error.$metadata?.httpStatusCode !== undefined) {
72
73
  const statusCode = error.$metadata.httpStatusCode;
@@ -579,12 +579,12 @@ class TypeRegistry {
579
579
  this.namespace = namespace;
580
580
  this.schemas = schemas;
581
581
  this.exceptions = exceptions;
582
- }
583
- static for(namespace) {
584
582
  if (!TypeRegistry.registries.has(namespace)) {
585
- TypeRegistry.registries.set(namespace, new TypeRegistry(namespace));
583
+ TypeRegistry.registries.set(namespace, this);
586
584
  }
587
- return TypeRegistry.registries.get(namespace);
585
+ }
586
+ static for(namespace) {
587
+ return TypeRegistry.registries.get(namespace) ?? new TypeRegistry(namespace);
588
588
  }
589
589
  copyFrom(other) {
590
590
  const { schemas, exceptions } = this;
@@ -602,7 +602,9 @@ class TypeRegistry {
602
602
  register(shapeId, schema) {
603
603
  const qualifiedName = this.normalizeShapeId(shapeId);
604
604
  for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) {
605
- r.schemas.set(qualifiedName, schema);
605
+ if (!r.schemas.has(qualifiedName)) {
606
+ r.schemas.set(qualifiedName, schema);
607
+ }
606
608
  }
607
609
  }
608
610
  getSchema(shapeId) {
@@ -627,9 +629,12 @@ class TypeRegistry {
627
629
  registerError(es, ctor) {
628
630
  const $error = es;
629
631
  const ns = $error[1];
632
+ const qualifiedName = ns + "#" + $error[2];
630
633
  for (const r of [this, TypeRegistry.for(ns)]) {
631
- r.schemas.set(ns + "#" + $error[2], $error);
632
- r.exceptions.set($error, ctor);
634
+ if (!r.schemas.has(qualifiedName) && !r.exceptions.has($error)) {
635
+ r.schemas.set(qualifiedName, $error);
636
+ r.exceptions.set($error, ctor);
637
+ }
633
638
  }
634
639
  }
635
640
  getErrorCtor(es) {
@@ -1170,6 +1170,8 @@ const getAwsChunkedEncodingStream = (readableStream, options) => {
1170
1170
  checksumLocationName !== undefined &&
1171
1171
  streamHasher !== undefined;
1172
1172
  const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
1173
+ Promise.resolve(digest).catch(() => {
1174
+ });
1173
1175
  const reader = readableStream.getReader();
1174
1176
  return new ReadableStream({
1175
1177
  async pull(controller) {
@@ -1352,6 +1352,8 @@ const getAwsChunkedEncodingStream$1 = (readableStream, options) => {
1352
1352
  checksumLocationName !== undefined &&
1353
1353
  streamHasher !== undefined;
1354
1354
  const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
1355
+ Promise.resolve(digest).catch(() => {
1356
+ });
1355
1357
  const reader = readableStream.getReader();
1356
1358
  return new ReadableStream({
1357
1359
  async pull(controller) {
@@ -1384,8 +1386,12 @@ function getAwsChunkedEncodingStream(stream, options) {
1384
1386
  checksumLocationName !== undefined &&
1385
1387
  streamHasher !== undefined;
1386
1388
  const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined;
1389
+ Promise.resolve(digest).catch(() => {
1390
+ });
1387
1391
  const awsChunkedEncodingStream = new Readable({
1388
- read: () => { },
1392
+ read() {
1393
+ readable.resume();
1394
+ },
1389
1395
  });
1390
1396
  readable.on("data", (data) => {
1391
1397
  const length = bodyLengthChecker(data) || 0;
@@ -1394,16 +1400,27 @@ function getAwsChunkedEncodingStream(stream, options) {
1394
1400
  }
1395
1401
  awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`);
1396
1402
  awsChunkedEncodingStream.push(data);
1397
- awsChunkedEncodingStream.push("\r\n");
1403
+ if (!awsChunkedEncodingStream.push("\r\n")) {
1404
+ readable.pause();
1405
+ }
1398
1406
  });
1407
+ readable.on("error", (err) => {
1408
+ awsChunkedEncodingStream.destroy(err);
1409
+ });
1410
+ readable.pause();
1399
1411
  readable.on("end", async () => {
1400
- awsChunkedEncodingStream.push(`0\r\n`);
1401
- if (checksumRequired) {
1402
- const checksum = base64Encoder(await digest);
1403
- awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r\n`);
1404
- awsChunkedEncodingStream.push(`\r\n`);
1412
+ try {
1413
+ awsChunkedEncodingStream.push(`0\r\n`);
1414
+ if (checksumRequired) {
1415
+ const checksum = base64Encoder(await digest);
1416
+ awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r\n`);
1417
+ awsChunkedEncodingStream.push(`\r\n`);
1418
+ }
1419
+ awsChunkedEncodingStream.push(null);
1420
+ }
1421
+ catch (err) {
1422
+ awsChunkedEncodingStream.destroy(err);
1405
1423
  }
1406
- awsChunkedEncodingStream.push(null);
1407
1424
  });
1408
1425
  return awsChunkedEncodingStream;
1409
1426
  }
@@ -1170,6 +1170,8 @@ const getAwsChunkedEncodingStream = (readableStream, options) => {
1170
1170
  checksumLocationName !== undefined &&
1171
1171
  streamHasher !== undefined;
1172
1172
  const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
1173
+ Promise.resolve(digest).catch(() => {
1174
+ });
1173
1175
  const reader = readableStream.getReader();
1174
1176
  return new ReadableStream({
1175
1177
  async pull(controller) {