@aws-sdk/client-ec2 3.925.0 → 3.927.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 (70) hide show
  1. package/dist-cjs/index.js +128 -25
  2. package/dist-es/models/models_1.js +15 -5
  3. package/dist-es/models/models_2.js +5 -0
  4. package/dist-es/models/models_3.js +0 -11
  5. package/dist-es/models/models_4.js +11 -9
  6. package/dist-es/models/models_5.js +9 -0
  7. package/dist-es/protocols/Aws_ec2.js +87 -0
  8. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  9. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  10. package/dist-types/commands/CreateIpamScopeCommand.d.ts +8 -0
  11. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  13. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +2 -1
  14. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -2
  15. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +8 -0
  16. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +4 -0
  17. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  19. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeIpamScopesCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  28. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  29. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +2 -1
  32. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +4 -0
  34. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +2 -1
  35. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -2
  36. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  37. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  38. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  39. package/dist-types/commands/ModifyIpamScopeCommand.d.ts +9 -0
  40. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  41. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  42. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +2 -1
  43. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +4 -0
  44. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  45. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  46. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  47. package/dist-types/models/models_1.d.ts +70 -188
  48. package/dist-types/models/models_2.d.ts +189 -110
  49. package/dist-types/models/models_3.d.ts +176 -61
  50. package/dist-types/models/models_4.d.ts +61 -66
  51. package/dist-types/models/models_5.d.ts +67 -77
  52. package/dist-types/models/models_6.d.ts +77 -58
  53. package/dist-types/models/models_7.d.ts +69 -41
  54. package/dist-types/models/models_8.d.ts +41 -4
  55. package/dist-types/ts3.4/commands/CreateVerifiedAccessEndpointCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/CreateVerifiedAccessGroupCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +4 -2
  61. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/models/models_1.d.ts +29 -38
  63. package/dist-types/ts3.4/models/models_2.d.ts +40 -27
  64. package/dist-types/ts3.4/models/models_3.d.ts +29 -21
  65. package/dist-types/ts3.4/models/models_4.d.ts +22 -23
  66. package/dist-types/ts3.4/models/models_5.d.ts +22 -23
  67. package/dist-types/ts3.4/models/models_6.d.ts +22 -16
  68. package/dist-types/ts3.4/models/models_7.d.ts +17 -13
  69. package/dist-types/ts3.4/models/models_8.d.ts +13 -8
  70. package/package.json +5 -5
@@ -30,7 +30,6 @@ import {
30
30
  CreditSpecificationRequest,
31
31
  ElasticGpuSpecification,
32
32
  HostnameType,
33
- InstanceBandwidthWeighting,
34
33
  InstanceInterruptionBehavior,
35
34
  IpAddressType,
36
35
  MarketType,
@@ -42,6 +41,7 @@ import {
42
41
  } from "./models_1";
43
42
  import {
44
43
  IcmpTypeCode,
44
+ InstanceBandwidthWeighting,
45
45
  InstanceIpv6Address,
46
46
  LocalGatewayRoute,
47
47
  ManagedPrefixList,
@@ -51,7 +51,6 @@ import {
51
51
  TransitGatewayRoute,
52
52
  VerifiedAccessEndpoint,
53
53
  VerifiedAccessEndpointProtocol,
54
- VerifiedAccessGroup,
55
54
  VerifiedAccessSseSpecificationRequest,
56
55
  } from "./models_2";
57
56
  import {
@@ -70,6 +69,7 @@ import {
70
69
  Phase2EncryptionAlgorithmsRequestListValue,
71
70
  Phase2IntegrityAlgorithmsRequestListValue,
72
71
  SubnetConfiguration,
72
+ VerifiedAccessGroup,
73
73
  VpcBlockPublicAccessExclusion,
74
74
  VpnConnection,
75
75
  VpnTunnelLogOptionsSpecification,
@@ -111,12 +111,17 @@ import {
111
111
  VolumeModification,
112
112
  VpcBlockPublicAccessOptions,
113
113
  } from "./models_6";
114
- import {
115
- CapacityReservationSpecification,
116
- ModifyVerifiedAccessEndpointCidrOptions,
117
- ModifyVerifiedAccessEndpointPortRange,
118
- Purchase,
119
- } from "./models_7";
114
+ import { CapacityReservationSpecification, Purchase } from "./models_7";
115
+ export interface ModifyTransitGatewayVpcAttachmentResult {
116
+ TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
117
+ }
118
+ export interface ModifyVerifiedAccessEndpointPortRange {
119
+ FromPort?: number | undefined;
120
+ ToPort?: number | undefined;
121
+ }
122
+ export interface ModifyVerifiedAccessEndpointCidrOptions {
123
+ PortRanges?: ModifyVerifiedAccessEndpointPortRange[] | undefined;
124
+ }
120
125
  export interface ModifyVerifiedAccessEndpointLoadBalancerOptions {
121
126
  SubnetIds?: string[] | undefined;
122
127
  Protocol?: VerifiedAccessEndpointProtocol | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.925.0",
4
+ "version": "3.927.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.922.0",
24
- "@aws-sdk/credential-provider-node": "3.925.0",
23
+ "@aws-sdk/core": "3.927.0",
24
+ "@aws-sdk/credential-provider-node": "3.927.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
28
  "@aws-sdk/middleware-sdk-ec2": "3.922.0",
29
- "@aws-sdk/middleware-user-agent": "3.922.0",
29
+ "@aws-sdk/middleware-user-agent": "3.927.0",
30
30
  "@aws-sdk/region-config-resolver": "3.925.0",
31
31
  "@aws-sdk/types": "3.922.0",
32
32
  "@aws-sdk/util-endpoints": "3.922.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.922.0",
34
- "@aws-sdk/util-user-agent-node": "3.922.0",
34
+ "@aws-sdk/util-user-agent-node": "3.927.0",
35
35
  "@smithy/config-resolver": "^4.4.2",
36
36
  "@smithy/core": "^3.17.2",
37
37
  "@smithy/fetch-http-handler": "^5.3.5",