@cdklabs/cdk-ssm-documents 0.0.64 → 0.0.66

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 (601) hide show
  1. package/.jsii +11 -11
  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/dist-cjs/flexible-checksums/getCrc32ChecksumAlgorithmFunction.browser.js +2 -6
  117. package/node_modules/@aws-sdk/checksums/dist-cjs/flexible-checksums/getCrc32ChecksumAlgorithmFunction.js +6 -11
  118. package/node_modules/@aws-sdk/checksums/dist-cjs/index.js +56 -56
  119. package/node_modules/@aws-sdk/checksums/package.json +7 -7
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +2 -5
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +7 -11
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +449 -469
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +4 -8
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/errors.js +59 -91
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +22 -26
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +30 -34
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.native.js +4 -7
  129. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +20 -24
  130. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/schemas/schemas_0.js +814 -533
  131. package/node_modules/@aws-sdk/client-cloudformation/package.json +9 -9
  132. package/node_modules/@aws-sdk/client-cloudwatch/README.md +21 -0
  133. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  134. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/endpoint/bdd.js +2 -5
  135. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/endpoint/endpointResolver.js +7 -11
  136. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +255 -233
  137. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/models/CloudWatchServiceException.js +4 -8
  138. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/models/errors.js +93 -68
  139. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.browser.js +25 -29
  140. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.js +33 -37
  141. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.native.js +4 -7
  142. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.shared.js +20 -24
  143. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/schemas/schemas_0.js +476 -259
  144. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/CloudWatch.js +6 -0
  145. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/AssociateDatasetKmsKeyCommand.js +16 -0
  146. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/DisassociateDatasetKmsKeyCommand.js +16 -0
  147. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/GetDatasetCommand.js +16 -0
  148. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/index.js +3 -0
  149. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/models/errors.js +68 -26
  150. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +73 -1
  151. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatch.d.ts +21 -0
  152. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatchClient.d.ts +5 -2
  153. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +161 -0
  154. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +105 -0
  155. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetDatasetCommand.d.ts +91 -0
  156. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/index.d.ts +3 -0
  157. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/errors.d.ts +74 -23
  158. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +90 -0
  159. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +12 -0
  160. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatch.d.ts +51 -0
  161. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatchClient.d.ts +18 -0
  162. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +53 -0
  163. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +53 -0
  164. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +49 -0
  165. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/index.d.ts +3 -0
  166. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/errors.d.ts +40 -16
  167. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +17 -0
  168. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  169. package/node_modules/@aws-sdk/client-cloudwatch/package.json +13 -13
  170. package/node_modules/@aws-sdk/client-ec2/README.md +14 -0
  171. package/node_modules/@aws-sdk/client-ec2/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  172. package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/bdd.js +2 -5
  173. package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/endpointResolver.js +7 -11
  174. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +2903 -2879
  175. package/node_modules/@aws-sdk/client-ec2/dist-cjs/models/EC2ServiceException.js +4 -8
  176. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.browser.js +22 -26
  177. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.js +30 -34
  178. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.native.js +4 -7
  179. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.shared.js +20 -24
  180. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +6980 -4554
  181. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +4 -0
  182. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
  183. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
  184. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
  185. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +5 -0
  186. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +108 -13
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +14 -0
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +4 -2
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CancelCapacityReservationCommand.d.ts +16 -10
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -2
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +8 -0
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +2 -1
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -2
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFlowLogsCommand.d.ts +8 -0
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -2
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -2
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +0 -5
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -2
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -2
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +0 -5
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +13 -0
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +38 -23
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +45 -128
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +128 -48
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +109 -161
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +169 -219
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +250 -353
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +351 -182
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +178 -2
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +9 -0
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +34 -0
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
  230. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
  231. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  232. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +4 -2
  233. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
  234. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +4 -2
  235. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
  236. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
  237. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  238. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  239. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +4 -2
  240. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
  241. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  242. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -2
  243. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
  244. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  245. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +4 -2
  246. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
  247. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +4 -2
  250. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
  251. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +7 -0
  252. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +9 -7
  253. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +13 -26
  254. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +29 -12
  255. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +25 -36
  256. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +40 -35
  257. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +49 -67
  258. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +66 -47
  259. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +40 -0
  260. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  261. package/node_modules/@aws-sdk/client-ec2/package.json +15 -15
  262. package/node_modules/@aws-sdk/client-iam/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  263. package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/bdd.js +2 -5
  264. package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/endpointResolver.js +7 -11
  265. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +634 -654
  266. package/node_modules/@aws-sdk/client-iam/dist-cjs/models/IAMServiceException.js +4 -8
  267. package/node_modules/@aws-sdk/client-iam/dist-cjs/models/errors.js +71 -109
  268. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.browser.js +22 -26
  269. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.js +30 -34
  270. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.native.js +4 -7
  271. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.shared.js +20 -24
  272. package/node_modules/@aws-sdk/client-iam/dist-cjs/schemas/schemas_0.js +1006 -665
  273. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +18 -3
  274. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +17 -2
  275. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +5 -2
  276. package/node_modules/@aws-sdk/client-iam/package.json +14 -14
  277. package/node_modules/@aws-sdk/client-lambda/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  278. package/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/bdd.js +2 -5
  279. package/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/endpointResolver.js +7 -11
  280. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +368 -386
  281. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +4 -8
  282. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +229 -145
  283. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.browser.js +24 -28
  284. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.js +32 -36
  285. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.native.js +4 -7
  286. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +20 -24
  287. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +959 -581
  288. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +2 -0
  289. package/node_modules/@aws-sdk/client-lambda/dist-es/models/errors.js +134 -0
  290. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +100 -31
  291. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +5 -2
  292. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts +3 -0
  293. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +28 -28
  294. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +14 -14
  295. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts +3 -0
  296. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +16 -16
  297. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +3 -0
  298. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteLayerVersionCommand.d.ts +6 -0
  299. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +16 -16
  300. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +3 -0
  301. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +8 -8
  302. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +8 -8
  303. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts +4 -4
  304. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts +4 -4
  305. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -1
  306. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +72 -0
  307. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts +21 -0
  308. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +6 -0
  309. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +16 -16
  310. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +8 -8
  311. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts +6 -6
  312. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts +6 -6
  313. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +8 -8
  314. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts +8 -8
  315. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +8 -8
  316. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
  317. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +3 -0
  318. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +3 -0
  319. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +3 -0
  320. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +3 -0
  321. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +32 -32
  322. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +12 -12
  323. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +9 -9
  324. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +2 -0
  325. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +173 -0
  326. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +158 -158
  327. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +9 -0
  328. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +2 -0
  329. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +88 -0
  330. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +33 -33
  331. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  332. package/node_modules/@aws-sdk/client-lambda/package.json +13 -13
  333. package/node_modules/@aws-sdk/client-s3/README.md +35 -0
  334. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +15 -19
  335. package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/bdd.js +2 -5
  336. package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +7 -11
  337. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +646 -535
  338. package/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +4 -8
  339. package/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +106 -52
  340. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +29 -33
  341. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +43 -47
  342. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +4 -7
  343. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +25 -29
  344. package/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +1256 -740
  345. package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +12 -0
  346. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectAnnotationCommand.js +23 -0
  347. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAnnotationCommand.js +28 -0
  348. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectAnnotationsCommand.js +23 -0
  349. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAnnotationCommand.js +29 -0
  350. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.js +27 -0
  351. package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +5 -0
  352. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +12 -1
  353. package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +76 -4
  354. package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectAnnotationsPaginator.js +4 -0
  355. package/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  356. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +260 -100
  357. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +42 -0
  358. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +7 -2
  359. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +1 -0
  360. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +27 -0
  361. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectAnnotationCommand.d.ts +119 -0
  362. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +11 -0
  363. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  364. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAnnotationCommand.d.ts +141 -0
  365. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectAnnotationsCommand.d.ts +138 -0
  366. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  367. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAnnotationCommand.d.ts +166 -0
  368. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +1 -1
  369. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -2
  370. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +110 -0
  371. package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +5 -0
  372. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +29 -2
  373. package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +76 -4
  374. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +925 -549
  375. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +380 -2
  376. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectAnnotationsPaginator.d.ts +7 -0
  377. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  378. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +24 -0
  379. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +98 -0
  380. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +30 -0
  381. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +53 -0
  382. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +61 -0
  383. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +53 -0
  384. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +61 -0
  385. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
  386. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
  387. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +49 -0
  388. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +5 -0
  389. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +18 -3
  390. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +41 -3
  391. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +138 -64
  392. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +75 -5
  393. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectAnnotationsPaginator.d.ts +11 -0
  394. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  395. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  396. package/node_modules/@aws-sdk/client-s3/package.json +21 -21
  397. package/node_modules/@aws-sdk/client-sns/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  398. package/node_modules/@aws-sdk/client-sns/dist-cjs/endpoint/bdd.js +2 -5
  399. package/node_modules/@aws-sdk/client-sns/dist-cjs/endpoint/endpointResolver.js +7 -11
  400. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +174 -194
  401. package/node_modules/@aws-sdk/client-sns/dist-cjs/models/SNSServiceException.js +4 -8
  402. package/node_modules/@aws-sdk/client-sns/dist-cjs/models/errors.js +69 -106
  403. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.browser.js +22 -26
  404. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.js +30 -34
  405. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.native.js +4 -7
  406. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.shared.js +20 -24
  407. package/node_modules/@aws-sdk/client-sns/dist-cjs/schemas/schemas_0.js +331 -218
  408. package/node_modules/@aws-sdk/client-sns/package.json +10 -10
  409. package/node_modules/@aws-sdk/client-sqs/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  410. package/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/bdd.js +2 -5
  411. package/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/endpointResolver.js +7 -11
  412. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +118 -138
  413. package/node_modules/@aws-sdk/client-sqs/dist-cjs/models/SQSServiceException.js +4 -8
  414. package/node_modules/@aws-sdk/client-sqs/dist-cjs/models/errors.js +57 -88
  415. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.browser.js +24 -28
  416. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.js +31 -35
  417. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.native.js +4 -7
  418. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.shared.js +20 -24
  419. package/node_modules/@aws-sdk/client-sqs/dist-cjs/schemas/schemas_0.js +222 -150
  420. package/node_modules/@aws-sdk/client-sqs/package.json +16 -16
  421. package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  422. package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/bdd.js +2 -5
  423. package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js +7 -11
  424. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +543 -563
  425. package/node_modules/@aws-sdk/client-ssm/dist-cjs/models/SSMServiceException.js +4 -8
  426. package/node_modules/@aws-sdk/client-ssm/dist-cjs/models/errors.js +279 -423
  427. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +22 -26
  428. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +30 -34
  429. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.native.js +4 -7
  430. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js +20 -24
  431. package/node_modules/@aws-sdk/client-ssm/dist-cjs/schemas/schemas_0.js +1693 -1109
  432. package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
  433. package/node_modules/@aws-sdk/core/dist-cjs/index.js +19 -2274
  434. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
  435. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +297 -23
  436. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +327 -52
  437. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +297 -23
  438. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
  439. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
  440. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
  441. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  442. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
  443. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
  444. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +5 -5
  445. package/node_modules/@aws-sdk/core/package.json +12 -12
  446. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
  447. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
  448. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +3 -7
  449. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +12 -16
  450. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +16 -21
  451. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +14 -18
  452. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +1 -5
  453. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +2 -5
  454. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +2 -7
  455. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -8
  456. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
  457. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
  458. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
  459. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  460. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
  461. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  462. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
  463. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  464. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
  465. package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
  466. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +26 -25
  467. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
  468. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +4 -1
  469. package/node_modules/@aws-sdk/credential-provider-sso/package.json +12 -10
  470. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +10 -14
  471. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -6
  472. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +3 -27
  473. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
  474. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +18 -23
  475. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +6 -6
  476. package/node_modules/@aws-sdk/middleware-sdk-ec2/dist-cjs/index.js +11 -13
  477. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +7 -7
  478. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +1 -518
  479. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.browser.js +31 -33
  480. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +37 -39
  481. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +14 -16
  482. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +1 -1
  483. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +2 -2
  484. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +2 -2
  485. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +17 -14
  486. package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.d.ts +7 -0
  487. package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.js +5 -0
  488. package/node_modules/@aws-sdk/middleware-sdk-s3/s3.d.ts +7 -0
  489. package/node_modules/@aws-sdk/middleware-sdk-s3/s3.js +5 -0
  490. package/node_modules/@aws-sdk/middleware-sdk-sqs/dist-cjs/index.js +9 -11
  491. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +7 -7
  492. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
  493. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
  494. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
  495. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
  496. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
  497. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
  498. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
  499. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
  500. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  501. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
  502. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  503. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +12 -0
  504. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  505. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +3 -0
  506. package/node_modules/@aws-sdk/nested-clients/package.json +11 -10
  507. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
  508. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +9 -8
  509. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
  510. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  511. package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
  512. package/node_modules/@aws-sdk/types/package.json +5 -5
  513. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
  514. package/node_modules/@aws-sdk/util-locate-window/package.json +5 -5
  515. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +2 -4
  516. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +4 -7
  517. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +2 -5
  518. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +7 -10
  519. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +8 -0
  520. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +9 -0
  521. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +7 -3
  522. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +9 -1
  523. package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
  524. package/node_modules/@nodable/entities/package.json +4 -1
  525. package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
  526. package/node_modules/@nodable/entities/src/index.d.ts +77 -0
  527. package/node_modules/@nodable/entities/src/index.js +1 -1
  528. package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
  529. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +543 -398
  530. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
  531. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
  532. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
  533. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +23 -24
  534. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
  535. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
  536. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
  537. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
  538. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
  539. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
  540. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
  541. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +68 -61
  542. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
  543. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
  544. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
  545. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
  546. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
  547. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
  548. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
  549. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  550. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
  551. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  552. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
  553. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
  554. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
  555. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
  556. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
  557. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -2
  558. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
  559. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
  560. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
  561. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
  562. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
  563. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  564. package/node_modules/@smithy/core/package.json +18 -17
  565. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
  566. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  567. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
  568. package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
  569. package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.browser.js +3 -7
  570. package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.js +2 -6
  571. package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.browser.js +4 -8
  572. package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.js +7 -11
  573. package/node_modules/@smithy/middleware-compression/dist-cjs/index.js +18 -20
  574. package/node_modules/@smithy/middleware-compression/package.json +6 -6
  575. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
  576. package/node_modules/@smithy/node-http-handler/package.json +8 -8
  577. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
  578. package/node_modules/@smithy/signature-v4/package.json +7 -7
  579. package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
  580. package/node_modules/@smithy/types/package.json +10 -10
  581. package/node_modules/anynum/LICENSE +21 -0
  582. package/node_modules/anynum/README.md +142 -0
  583. package/node_modules/anynum/anynum.js +135 -0
  584. package/node_modules/anynum/digitTable.js +116 -0
  585. package/node_modules/anynum/package.json +42 -0
  586. package/node_modules/path-expression-matcher/README.md +82 -7
  587. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  588. package/node_modules/path-expression-matcher/lib/pem.d.cts +83 -2
  589. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  590. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
  591. package/node_modules/path-expression-matcher/package.json +3 -2
  592. package/node_modules/path-expression-matcher/src/ExpressionSet.js +18 -2
  593. package/node_modules/path-expression-matcher/src/Matcher.js +93 -3
  594. package/node_modules/path-expression-matcher/src/index.d.ts +67 -1
  595. package/package.json +10 -10
  596. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
  597. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.browser.js +0 -34
  598. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.browser.js +0 -1
  599. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.browser.d.ts +0 -2
  600. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.browser.d.ts +0 -39
  601. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
@@ -0,0 +1,161 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
+ import type { AssociateDatasetKmsKeyInput, AssociateDatasetKmsKeyOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateDatasetKmsKeyCommand}.
14
+ */
15
+ export interface AssociateDatasetKmsKeyCommandInput extends AssociateDatasetKmsKeyInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateDatasetKmsKeyCommand}.
21
+ */
22
+ export interface AssociateDatasetKmsKeyCommandOutput extends AssociateDatasetKmsKeyOutput, __MetadataBearer {
23
+ }
24
+ declare const AssociateDatasetKmsKeyCommand_base: {
25
+ new (input: AssociateDatasetKmsKeyCommandInput): import("@smithy/core/client").CommandImpl<AssociateDatasetKmsKeyCommandInput, AssociateDatasetKmsKeyCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssociateDatasetKmsKeyCommandInput): import("@smithy/core/client").CommandImpl<AssociateDatasetKmsKeyCommandInput, AssociateDatasetKmsKeyCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Associates an Amazon Web Services Key Management Service (Amazon Web Services KMS)
33
+ * customer managed key with the specified dataset. After this operation completes, all
34
+ * data published to the dataset is encrypted at rest using the specified KMS key.
35
+ * Callers must have <code>kms:Decrypt</code> permission on the key to read the
36
+ * encrypted data.</p>
37
+ * <p>Only the <code>default</code> dataset is supported. The <code>default</code> dataset
38
+ * is implicit for every account in every Region — you do not need to create it before
39
+ * calling this operation.</p>
40
+ * <p>You can call <code>AssociateDatasetKmsKey</code> on a dataset that is already
41
+ * associated with a KMS key to replace the existing key with a different one. To replace
42
+ * a key, the caller must have <code>kms:Decrypt</code> permission on both the current
43
+ * key and the new key.</p>
44
+ * <p>The KMS key that you specify must meet all of the following requirements:</p>
45
+ * <ul>
46
+ * <li>
47
+ * <p>It must be a symmetric encryption KMS key (key spec
48
+ * <code>SYMMETRIC_DEFAULT</code>, key usage <code>ENCRYPT_DECRYPT</code>).
49
+ * Asymmetric keys, HMAC keys, and key material types other than
50
+ * <code>SYMMETRIC_DEFAULT</code> are not supported.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>It must be enabled and not pending deletion.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>Its key policy must grant the CloudWatch service principal
57
+ * (<code>cloudwatch.amazonaws.com</code>) these permissions:
58
+ * <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>,
59
+ * <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and
60
+ * <code>kms:ReEncrypt*</code>. Amazon CloudWatch requires these permissions
61
+ * to manage the data on your behalf.</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>The calling principal must have <code>kms:Decrypt</code> permission on the
65
+ * key.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>It must be specified as a fully qualified key ARN. Key IDs, aliases, and
69
+ * alias ARNs are not accepted.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>It must be in the same Amazon Web Services Region as the dataset.</p>
73
+ * </li>
74
+ * </ul>
75
+ * <p>Before completing the association, Amazon CloudWatch validates the key by
76
+ * performing a series of dry-run KMS operations. Service-principal checks run first to
77
+ * verify that the key policy grants the required access to Amazon CloudWatch. These
78
+ * checks include <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>,
79
+ * <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and <code>kms:ReEncrypt*</code>.
80
+ * After those succeed, a <code>kms:Decrypt</code> dry-run is run with the caller's
81
+ * credentials to verify that the calling principal can use the key. When you are
82
+ * replacing an existing key, the caller's <code>kms:Decrypt</code> dry-run is run on
83
+ * the current key first, and only then on the new key.</p>
84
+ * <p>If any of these checks fails, the operation fails and the existing key association
85
+ * (if any) remains unchanged. Common failure causes include the key being disabled, the
86
+ * key policy not granting the required permissions to Amazon CloudWatch, or the
87
+ * caller lacking <code>kms:Decrypt</code> permission on the key.</p>
88
+ * <p>For more information about using customer managed keys with Amazon CloudWatch,
89
+ * see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cmk-encryption.html">Encryption at rest
90
+ * with customer managed keys</a> in the <i>Amazon CloudWatch User
91
+ * Guide</i>.</p>
92
+ * @example
93
+ * Use a bare-bones client and the command you need to make an API call.
94
+ * ```javascript
95
+ * import { CloudWatchClient, AssociateDatasetKmsKeyCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
96
+ * // const { CloudWatchClient, AssociateDatasetKmsKeyCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
97
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
98
+ * const config = {}; // type is CloudWatchClientConfig
99
+ * const client = new CloudWatchClient(config);
100
+ * const input = { // AssociateDatasetKmsKeyInput
101
+ * DatasetIdentifier: "STRING_VALUE", // required
102
+ * KmsKeyArn: "STRING_VALUE", // required
103
+ * };
104
+ * const command = new AssociateDatasetKmsKeyCommand(input);
105
+ * const response = await client.send(command);
106
+ * // {};
107
+ *
108
+ * ```
109
+ *
110
+ * @param AssociateDatasetKmsKeyCommandInput - {@link AssociateDatasetKmsKeyCommandInput}
111
+ * @returns {@link AssociateDatasetKmsKeyCommandOutput}
112
+ * @see {@link AssociateDatasetKmsKeyCommandInput} for command's `input` shape.
113
+ * @see {@link AssociateDatasetKmsKeyCommandOutput} for command's `response` shape.
114
+ * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
115
+ *
116
+ * @throws {@link ConflictException} (client fault)
117
+ * <p>This operation attempted to create a resource that already exists.</p>
118
+ *
119
+ * @throws {@link KmsAccessDeniedException} (client fault)
120
+ * <p>The operation was denied because either the calling principal lacks the required
121
+ * Amazon Web Services Key Management Service (Amazon Web Services KMS) permission on the
122
+ * key, or the key policy does not grant Amazon CloudWatch the permissions it needs
123
+ * to use the key. Verify that the caller has <code>kms:Decrypt</code> permission on the
124
+ * key, and that the key policy grants the CloudWatch service principal the
125
+ * <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>,
126
+ * <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and <code>kms:ReEncrypt*</code>
127
+ * permissions described in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_AssociateDatasetKmsKey.html">AssociateDatasetKmsKey</a>.</p>
128
+ *
129
+ * @throws {@link KmsKeyDisabledException} (client fault)
130
+ * <p>The specified Amazon Web Services Key Management Service (Amazon Web Services KMS) key
131
+ * is disabled or pending deletion. Re-enable the key (or restore it, if it is pending
132
+ * deletion) and retry the operation.</p>
133
+ *
134
+ * @throws {@link KmsKeyNotFoundException} (client fault)
135
+ * <p>The specified Amazon Web Services Key Management Service (Amazon Web Services KMS) key
136
+ * could not be found. Verify that the key Amazon Resource Name (ARN) is correct, that
137
+ * the key exists, and that it is in the same Amazon Web Services Region as the
138
+ * resource.</p>
139
+ *
140
+ * @throws {@link ResourceNotFoundException} (client fault)
141
+ * <p>The named resource does not exist.</p>
142
+ *
143
+ * @throws {@link CloudWatchServiceException}
144
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
145
+ *
146
+ *
147
+ * @public
148
+ */
149
+ export declare class AssociateDatasetKmsKeyCommand extends AssociateDatasetKmsKeyCommand_base {
150
+ /** @internal type navigation helper, not in runtime. */
151
+ protected static __types: {
152
+ api: {
153
+ input: AssociateDatasetKmsKeyInput;
154
+ output: {};
155
+ };
156
+ sdk: {
157
+ input: AssociateDatasetKmsKeyCommandInput;
158
+ output: AssociateDatasetKmsKeyCommandOutput;
159
+ };
160
+ };
161
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
+ import type { DisassociateDatasetKmsKeyInput, DisassociateDatasetKmsKeyOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateDatasetKmsKeyCommand}.
14
+ */
15
+ export interface DisassociateDatasetKmsKeyCommandInput extends DisassociateDatasetKmsKeyInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateDatasetKmsKeyCommand}.
21
+ */
22
+ export interface DisassociateDatasetKmsKeyCommandOutput extends DisassociateDatasetKmsKeyOutput, __MetadataBearer {
23
+ }
24
+ declare const DisassociateDatasetKmsKeyCommand_base: {
25
+ new (input: DisassociateDatasetKmsKeyCommandInput): import("@smithy/core/client").CommandImpl<DisassociateDatasetKmsKeyCommandInput, DisassociateDatasetKmsKeyCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisassociateDatasetKmsKeyCommandInput): import("@smithy/core/client").CommandImpl<DisassociateDatasetKmsKeyCommandInput, DisassociateDatasetKmsKeyCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Removes the customer managed Amazon Web Services Key Management Service
33
+ * (Amazon Web Services KMS) key association from the specified dataset. After this
34
+ * operation completes, data that you publish to the dataset is encrypted at rest using
35
+ * an Amazon Web Services owned key managed by Amazon CloudWatch.</p>
36
+ * <p>Only the <code>default</code> dataset is supported. To call this operation, the
37
+ * dataset must currently have a customer managed KMS key associated with it. If the
38
+ * dataset has no associated KMS key, the operation fails with
39
+ * <code>ResourceNotFoundException</code>.</p>
40
+ * <p>Amazon CloudWatch performs a dry-run <code>kms:Decrypt</code> call on the key
41
+ * as part of this operation. This verifies that the caller is authorized to use the
42
+ * currently associated key. The caller must have <code>kms:Decrypt</code> permission on
43
+ * the currently associated key, and the key must be enabled and accessible. If the key
44
+ * has been disabled or scheduled for deletion, you must first re-enable or restore it
45
+ * before you can disassociate it from the dataset.</p>
46
+ * <important>
47
+ * <p>Disassociating a KMS key from a dataset does not immediately remove the
48
+ * <code>kms:Decrypt</code> requirement on data plane operations. For up to three
49
+ * hours after disassociation, callers must continue to have
50
+ * <code>kms:Decrypt</code> permission on the previously associated key. Some data
51
+ * may still be encrypted with that key during this window. After this enforcement
52
+ * window elapses, the <code>kms:Decrypt</code> requirement is lifted.</p>
53
+ * </important>
54
+ * <p>For more information about using customer managed keys with Amazon CloudWatch,
55
+ * see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cmk-encryption.html">Encryption at rest
56
+ * with customer managed keys</a> in the <i>Amazon CloudWatch User
57
+ * Guide</i>.</p>
58
+ * @example
59
+ * Use a bare-bones client and the command you need to make an API call.
60
+ * ```javascript
61
+ * import { CloudWatchClient, DisassociateDatasetKmsKeyCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
62
+ * // const { CloudWatchClient, DisassociateDatasetKmsKeyCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
63
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
64
+ * const config = {}; // type is CloudWatchClientConfig
65
+ * const client = new CloudWatchClient(config);
66
+ * const input = { // DisassociateDatasetKmsKeyInput
67
+ * DatasetIdentifier: "STRING_VALUE", // required
68
+ * };
69
+ * const command = new DisassociateDatasetKmsKeyCommand(input);
70
+ * const response = await client.send(command);
71
+ * // {};
72
+ *
73
+ * ```
74
+ *
75
+ * @param DisassociateDatasetKmsKeyCommandInput - {@link DisassociateDatasetKmsKeyCommandInput}
76
+ * @returns {@link DisassociateDatasetKmsKeyCommandOutput}
77
+ * @see {@link DisassociateDatasetKmsKeyCommandInput} for command's `input` shape.
78
+ * @see {@link DisassociateDatasetKmsKeyCommandOutput} for command's `response` shape.
79
+ * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
80
+ *
81
+ * @throws {@link ConflictException} (client fault)
82
+ * <p>This operation attempted to create a resource that already exists.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>The named resource does not exist.</p>
86
+ *
87
+ * @throws {@link CloudWatchServiceException}
88
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class DisassociateDatasetKmsKeyCommand extends DisassociateDatasetKmsKeyCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: DisassociateDatasetKmsKeyInput;
98
+ output: {};
99
+ };
100
+ sdk: {
101
+ input: DisassociateDatasetKmsKeyCommandInput;
102
+ output: DisassociateDatasetKmsKeyCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
+ import type { GetDatasetInput, GetDatasetOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDatasetCommand}.
14
+ */
15
+ export interface GetDatasetCommandInput extends GetDatasetInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDatasetCommand}.
21
+ */
22
+ export interface GetDatasetCommandOutput extends GetDatasetOutput, __MetadataBearer {
23
+ }
24
+ declare const GetDatasetCommand_base: {
25
+ new (input: GetDatasetCommandInput): import("@smithy/core/client").CommandImpl<GetDatasetCommandInput, GetDatasetCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetDatasetCommandInput): import("@smithy/core/client").CommandImpl<GetDatasetCommandInput, GetDatasetCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Returns information about the specified dataset. This includes its identifier,
33
+ * Amazon Resource Name (ARN), and any customer managed Amazon Web Services Key
34
+ * Management Service (Amazon Web Services KMS) key that is currently associated with
35
+ * it.</p>
36
+ * <p>Only the <code>default</code> dataset is supported. The <code>default</code> dataset
37
+ * is implicit for every account in every Region — you can call <code>GetDataset</code>
38
+ * for it without first creating it. If no customer managed KMS key has been associated
39
+ * with the dataset, the response omits the <code>KmsKeyArn</code> field, indicating that
40
+ * data is encrypted at rest using an Amazon Web Services owned key managed by
41
+ * Amazon CloudWatch.</p>
42
+ * <p>To associate a customer managed KMS key with a dataset, use <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_AssociateDatasetKmsKey.html">AssociateDatasetKmsKey</a>. To remove the association, use <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DisassociateDatasetKmsKey.html">DisassociateDatasetKmsKey</a>.</p>
43
+ * @example
44
+ * Use a bare-bones client and the command you need to make an API call.
45
+ * ```javascript
46
+ * import { CloudWatchClient, GetDatasetCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
47
+ * // const { CloudWatchClient, GetDatasetCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
48
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
49
+ * const config = {}; // type is CloudWatchClientConfig
50
+ * const client = new CloudWatchClient(config);
51
+ * const input = { // GetDatasetInput
52
+ * DatasetIdentifier: "STRING_VALUE", // required
53
+ * };
54
+ * const command = new GetDatasetCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // GetDatasetOutput
57
+ * // DatasetId: "STRING_VALUE", // required
58
+ * // Arn: "STRING_VALUE", // required
59
+ * // KmsKeyArn: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param GetDatasetCommandInput - {@link GetDatasetCommandInput}
65
+ * @returns {@link GetDatasetCommandOutput}
66
+ * @see {@link GetDatasetCommandInput} for command's `input` shape.
67
+ * @see {@link GetDatasetCommandOutput} for command's `response` shape.
68
+ * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The named resource does not exist.</p>
72
+ *
73
+ * @throws {@link CloudWatchServiceException}
74
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class GetDatasetCommand extends GetDatasetCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: GetDatasetInput;
84
+ output: GetDatasetOutput;
85
+ };
86
+ sdk: {
87
+ input: GetDatasetCommandInput;
88
+ output: GetDatasetCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./AssociateDatasetKmsKeyCommand";
1
2
  export * from "./DeleteAlarmMuteRuleCommand";
2
3
  export * from "./DeleteAlarmsCommand";
3
4
  export * from "./DeleteAnomalyDetectorCommand";
@@ -12,10 +13,12 @@ export * from "./DescribeAnomalyDetectorsCommand";
12
13
  export * from "./DescribeInsightRulesCommand";
13
14
  export * from "./DisableAlarmActionsCommand";
14
15
  export * from "./DisableInsightRulesCommand";
16
+ export * from "./DisassociateDatasetKmsKeyCommand";
15
17
  export * from "./EnableAlarmActionsCommand";
16
18
  export * from "./EnableInsightRulesCommand";
17
19
  export * from "./GetAlarmMuteRuleCommand";
18
20
  export * from "./GetDashboardCommand";
21
+ export * from "./GetDatasetCommand";
19
22
  export * from "./GetInsightRuleReportCommand";
20
23
  export * from "./GetMetricDataCommand";
21
24
  export * from "./GetMetricStatisticsCommand";
@@ -2,30 +2,96 @@ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/
2
2
  import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
3
3
  import type { DashboardValidationMessage } from "./models_0";
4
4
  /**
5
- * <p>More than one process tried to modify a resource at the same time.</p>
5
+ * <p>This operation attempted to create a resource that already exists.</p>
6
6
  * @public
7
7
  */
8
- export declare class ConcurrentModificationException extends __BaseException {
9
- readonly name: "ConcurrentModificationException";
8
+ export declare class ConflictException extends __BaseException {
9
+ readonly name: "ConflictException";
10
10
  readonly $fault: "client";
11
11
  Message?: string | undefined;
12
12
  /**
13
13
  * @internal
14
14
  */
15
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
16
  }
17
17
  /**
18
- * <p>This operation attempted to create a resource that already exists.</p>
18
+ * <p>The operation was denied because either the calling principal lacks the required
19
+ * Amazon Web Services Key Management Service (Amazon Web Services KMS) permission on the
20
+ * key, or the key policy does not grant Amazon CloudWatch the permissions it needs
21
+ * to use the key. Verify that the caller has <code>kms:Decrypt</code> permission on the
22
+ * key, and that the key policy grants the CloudWatch service principal the
23
+ * <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>,
24
+ * <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and <code>kms:ReEncrypt*</code>
25
+ * permissions described in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_AssociateDatasetKmsKey.html">AssociateDatasetKmsKey</a>.</p>
19
26
  * @public
20
27
  */
21
- export declare class ConflictException extends __BaseException {
22
- readonly name: "ConflictException";
28
+ export declare class KmsAccessDeniedException extends __BaseException {
29
+ readonly name: "KmsAccessDeniedException";
30
+ readonly $fault: "client";
31
+ Message: string | undefined;
32
+ /**
33
+ * @internal
34
+ */
35
+ constructor(opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>);
36
+ }
37
+ /**
38
+ * <p>The specified Amazon Web Services Key Management Service (Amazon Web Services KMS) key
39
+ * is disabled or pending deletion. Re-enable the key (or restore it, if it is pending
40
+ * deletion) and retry the operation.</p>
41
+ * @public
42
+ */
43
+ export declare class KmsKeyDisabledException extends __BaseException {
44
+ readonly name: "KmsKeyDisabledException";
45
+ readonly $fault: "client";
46
+ Message: string | undefined;
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>);
51
+ }
52
+ /**
53
+ * <p>The specified Amazon Web Services Key Management Service (Amazon Web Services KMS) key
54
+ * could not be found. Verify that the key Amazon Resource Name (ARN) is correct, that
55
+ * the key exists, and that it is in the same Amazon Web Services Region as the
56
+ * resource.</p>
57
+ * @public
58
+ */
59
+ export declare class KmsKeyNotFoundException extends __BaseException {
60
+ readonly name: "KmsKeyNotFoundException";
61
+ readonly $fault: "client";
62
+ Message: string | undefined;
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>);
67
+ }
68
+ /**
69
+ * <p>The named resource does not exist.</p>
70
+ * @public
71
+ */
72
+ export declare class ResourceNotFoundException extends __BaseException {
73
+ readonly name: "ResourceNotFoundException";
23
74
  readonly $fault: "client";
75
+ ResourceType?: string | undefined;
76
+ ResourceId?: string | undefined;
24
77
  Message?: string | undefined;
25
78
  /**
26
79
  * @internal
27
80
  */
28
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
81
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
82
+ }
83
+ /**
84
+ * <p>More than one process tried to modify a resource at the same time.</p>
85
+ * @public
86
+ */
87
+ export declare class ConcurrentModificationException extends __BaseException {
88
+ readonly name: "ConcurrentModificationException";
89
+ readonly $fault: "client";
90
+ Message?: string | undefined;
91
+ /**
92
+ * @internal
93
+ */
94
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
29
95
  }
30
96
  /**
31
97
  * <p>Some part of the dashboard data is invalid.</p>
@@ -118,21 +184,6 @@ export declare class MissingRequiredParameterException extends __BaseException {
118
184
  */
119
185
  constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
120
186
  }
121
- /**
122
- * <p>The named resource does not exist.</p>
123
- * @public
124
- */
125
- export declare class ResourceNotFoundException extends __BaseException {
126
- readonly name: "ResourceNotFoundException";
127
- readonly $fault: "client";
128
- ResourceType?: string | undefined;
129
- ResourceId?: string | undefined;
130
- Message?: string | undefined;
131
- /**
132
- * @internal
133
- */
134
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
135
- }
136
187
  /**
137
188
  * <p>The next token specified is invalid.</p>
138
189
  * @public
@@ -521,6 +521,39 @@ export interface AnomalyDetector {
521
521
  */
522
522
  MetricMathAnomalyDetector?: MetricMathAnomalyDetector | undefined;
523
523
  }
524
+ /**
525
+ * @public
526
+ */
527
+ export interface AssociateDatasetKmsKeyInput {
528
+ /**
529
+ * <p>Specifies the identifier of the dataset that you want to associate the KMS key
530
+ * with. For the <code>default</code> dataset, you can specify either
531
+ * <code>default</code> or the full dataset Amazon Resource Name (ARN) in the format
532
+ * <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/default</code>.</p>
533
+ * @public
534
+ */
535
+ DatasetIdentifier: string | undefined;
536
+ /**
537
+ * <p>Specifies the Amazon Resource Name (ARN) of the customer managed KMS key to
538
+ * associate with the dataset. The key must be a symmetric encryption KMS key
539
+ * (<code>SYMMETRIC_DEFAULT</code>) in the same Amazon Web Services Region as the
540
+ * dataset.</p>
541
+ * <p>The ARN must be in the format
542
+ * <code>arn:aws:kms:<i>Region</i>:<i>account-id</i>:key/<i>key-id</i>
543
+ * </code>.
544
+ * Key IDs, aliases, and alias ARNs are not accepted.</p>
545
+ * <p>For more information about KMS key ARNs, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">Key ARN</a> in
546
+ * the <i>Amazon Web Services Key Management Service Developer
547
+ * Guide</i>.</p>
548
+ * @public
549
+ */
550
+ KmsKeyArn: string | undefined;
551
+ }
552
+ /**
553
+ * @public
554
+ */
555
+ export interface AssociateDatasetKmsKeyOutput {
556
+ }
524
557
  /**
525
558
  * <p>This array is empty if the API operation was successful for all the rules specified in
526
559
  * the request. If the operation could not process one of the rules, the following data is
@@ -1632,6 +1665,24 @@ export interface DisableInsightRulesOutput {
1632
1665
  */
1633
1666
  Failures?: PartialFailure[] | undefined;
1634
1667
  }
1668
+ /**
1669
+ * @public
1670
+ */
1671
+ export interface DisassociateDatasetKmsKeyInput {
1672
+ /**
1673
+ * <p>Specifies the identifier of the dataset from which to remove the KMS key
1674
+ * association. For the <code>default</code> dataset, you can specify either
1675
+ * <code>default</code> or the full dataset Amazon Resource Name (ARN) in the format
1676
+ * <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/default</code>.</p>
1677
+ * @public
1678
+ */
1679
+ DatasetIdentifier: string | undefined;
1680
+ }
1681
+ /**
1682
+ * @public
1683
+ */
1684
+ export interface DisassociateDatasetKmsKeyOutput {
1685
+ }
1635
1686
  /**
1636
1687
  * @public
1637
1688
  */
@@ -2064,6 +2115,45 @@ export interface GetDashboardOutput {
2064
2115
  */
2065
2116
  DashboardName?: string | undefined;
2066
2117
  }
2118
+ /**
2119
+ * @public
2120
+ */
2121
+ export interface GetDatasetInput {
2122
+ /**
2123
+ * <p>Specifies the identifier of the dataset to retrieve. For the <code>default</code>
2124
+ * dataset, you can specify either <code>default</code> or the full dataset Amazon
2125
+ * Resource Name (ARN) in the format
2126
+ * <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/default</code>.</p>
2127
+ * @public
2128
+ */
2129
+ DatasetIdentifier: string | undefined;
2130
+ }
2131
+ /**
2132
+ * @public
2133
+ */
2134
+ export interface GetDatasetOutput {
2135
+ /**
2136
+ * <p>Returns the identifier of the dataset.</p>
2137
+ * @public
2138
+ */
2139
+ DatasetId: string | undefined;
2140
+ /**
2141
+ * <p>Returns the Amazon Resource Name (ARN) of the dataset, in the format
2142
+ * <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/<i>dataset-id</i>
2143
+ * </code>.</p>
2144
+ * @public
2145
+ */
2146
+ Arn: string | undefined;
2147
+ /**
2148
+ * <p>Returns the Amazon Resource Name (ARN) of the customer managed Amazon Web Services
2149
+ * KMS key that is currently associated with the dataset, if any. If the dataset is not
2150
+ * associated with a customer managed KMS key, this field is not included in the
2151
+ * response and the dataset is encrypted at rest using an Amazon Web Services owned
2152
+ * key.</p>
2153
+ * @public
2154
+ */
2155
+ KmsKeyArn?: string | undefined;
2156
+ }
2067
2157
  /**
2068
2158
  * @public
2069
2159
  */