@aws-sdk/client-ec2 3.139.0 → 3.142.0

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 (40) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/protocols/Aws_ec2.js +6902 -11162
  4. package/dist-es/protocols/Aws_ec2.js +7436 -11163
  5. package/dist-types/EC2.d.ts +95 -7
  6. package/dist-types/commands/AllocateAddressCommand.d.ts +3 -0
  7. package/dist-types/commands/AssociateAddressCommand.d.ts +4 -0
  8. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +4 -1
  9. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeAddressesCommand.d.ts +3 -0
  11. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +3 -0
  12. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
  13. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -0
  14. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +3 -0
  15. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +3 -0
  16. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -0
  17. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +4 -0
  18. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -0
  19. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +4 -1
  20. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -1
  21. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +3 -0
  22. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +4 -0
  23. package/dist-types/commands/DisassociateAddressCommand.d.ts +4 -0
  24. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +4 -1
  25. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +4 -1
  26. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -0
  27. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +4 -1
  28. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +4 -1
  29. package/dist-types/commands/ReleaseAddressCommand.d.ts +3 -0
  30. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -0
  31. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +3 -0
  32. package/dist-types/commands/RunInstancesCommand.d.ts +4 -0
  33. package/dist-types/models/models_0.d.ts +5 -2
  34. package/dist-types/models/models_2.d.ts +4 -1
  35. package/dist-types/models/models_3.d.ts +7 -0
  36. package/dist-types/models/models_4.d.ts +20 -1
  37. package/dist-types/models/models_5.d.ts +8 -2
  38. package/dist-types/models/models_6.d.ts +6 -2
  39. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  40. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,39 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.140.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.139.0...v3.140.0) (2022-07-29)
29
+
30
+
31
+ ### Features
32
+
33
+ * **client-ec2:** Documentation updates for Amazon EC2. ([504891a](https://github.com/aws/aws-sdk-js-v3/commit/504891a60f4cf5f642a8092f32747fad0d8d3f99))
34
+
35
+
36
+
37
+
38
+
6
39
  # [3.139.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.138.0...v3.139.0) (2022-07-28)
7
40
 
8
41
  **Note:** Version bump only for package @aws-sdk/client-ec2
package/README.md CHANGED
@@ -191,7 +191,7 @@ try {
191
191
  const data = await client.send(command);
192
192
  // process data.
193
193
  } catch (error) {
194
- const { requestId, cfId, extendedRequestId } = error.$metadata;
194
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
195
195
  console.log({ requestId, cfId, extendedRequestId });
196
196
  /**
197
197
  * The keys within exceptions are also parsed.