@aws-sdk/client-ec2 3.927.0 → 3.929.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 (45) hide show
  1. package/dist-cjs/index.js +27 -3
  2. package/dist-es/models/models_3.js +4 -3
  3. package/dist-es/models/models_4.js +3 -0
  4. package/dist-es/protocols/Aws_ec2.js +19 -0
  5. package/dist-types/commands/CreateFleetCommand.d.ts +3 -0
  6. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
  7. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -0
  8. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  9. package/dist-types/commands/DescribeFleetsCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -2
  11. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -0
  12. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -0
  13. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -2
  14. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -0
  15. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -2
  16. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -0
  17. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -0
  18. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -0
  19. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -0
  20. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -0
  21. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -2
  22. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  23. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  24. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  25. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -0
  26. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -0
  27. package/dist-types/models/models_1.d.ts +18 -0
  28. package/dist-types/models/models_3.d.ts +29 -11
  29. package/dist-types/models/models_4.d.ts +12 -320
  30. package/dist-types/models/models_5.d.ts +319 -43
  31. package/dist-types/models/models_6.d.ts +45 -29
  32. package/dist-types/models/models_7.d.ts +28 -33
  33. package/dist-types/models/models_8.d.ts +33 -1
  34. package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +4 -2
  36. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +4 -2
  37. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  39. package/dist-types/ts3.4/models/models_3.d.ts +8 -4
  40. package/dist-types/ts3.4/models/models_4.d.ts +4 -8
  41. package/dist-types/ts3.4/models/models_5.d.ts +7 -7
  42. package/dist-types/ts3.4/models/models_6.d.ts +8 -7
  43. package/dist-types/ts3.4/models/models_7.d.ts +7 -7
  44. package/dist-types/ts3.4/models/models_8.d.ts +12 -1
  45. package/package.json +5 -5
@@ -458,6 +458,12 @@ export interface CreateVpcPeeringConnectionRequest {
458
458
  export interface CreateVpcPeeringConnectionResult {
459
459
  VpcPeeringConnection?: VpcPeeringConnection | undefined;
460
460
  }
461
+ export declare const VpnTunnelBandwidth: {
462
+ readonly large: "large";
463
+ readonly standard: "standard";
464
+ };
465
+ export type VpnTunnelBandwidth =
466
+ (typeof VpnTunnelBandwidth)[keyof typeof VpnTunnelBandwidth];
461
467
  export declare const TunnelInsideIpVersion: {
462
468
  readonly ipv4: "ipv4";
463
469
  readonly ipv6: "ipv6";
@@ -533,6 +539,7 @@ export interface VpnConnectionOptionsSpecification {
533
539
  RemoteIpv6NetworkCidr?: string | undefined;
534
540
  OutsideIpAddressType?: string | undefined;
535
541
  TransportTransitGatewayAttachmentId?: string | undefined;
542
+ TunnelBandwidth?: VpnTunnelBandwidth | undefined;
536
543
  StaticRoutesOnly?: boolean | undefined;
537
544
  }
538
545
  export interface CreateVpnConnectionRequest {
@@ -620,6 +627,7 @@ export interface VpnConnectionOptions {
620
627
  TransportTransitGatewayAttachmentId?: string | undefined;
621
628
  TunnelInsideIpVersion?: TunnelInsideIpVersion | undefined;
622
629
  TunnelOptions?: TunnelOption[] | undefined;
630
+ TunnelBandwidth?: VpnTunnelBandwidth | undefined;
623
631
  }
624
632
  export declare const VpnStaticRouteSource: {
625
633
  readonly Static: "Static";
@@ -1613,10 +1621,6 @@ export interface DescribeAwsNetworkPerformanceMetricSubscriptionsRequest {
1613
1621
  Filters?: Filter[] | undefined;
1614
1622
  DryRun?: boolean | undefined;
1615
1623
  }
1616
- export declare const MetricType: {
1617
- readonly aggregate_latency: "aggregate-latency";
1618
- };
1619
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
1620
1624
  export declare const CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
1621
1625
  obj: CreateVerifiedAccessNativeApplicationOidcOptions
1622
1626
  ) => any;
@@ -78,8 +78,11 @@ import {
78
78
  FleetStateCode,
79
79
  IdFormat,
80
80
  InstanceTagNotificationAttribute,
81
- MetricType,
82
81
  } from "./models_3";
82
+ export declare const MetricType: {
83
+ readonly aggregate_latency: "aggregate-latency";
84
+ };
85
+ export type MetricType = (typeof MetricType)[keyof typeof MetricType];
83
86
  export declare const PeriodType: {
84
87
  readonly fifteen_minutes: "fifteen-minutes";
85
88
  readonly five_minutes: "five-minutes";
@@ -2182,13 +2185,6 @@ export interface DescribeInstanceTypeOfferingsResult {
2182
2185
  InstanceTypeOfferings?: InstanceTypeOffering[] | undefined;
2183
2186
  NextToken?: string | undefined;
2184
2187
  }
2185
- export interface DescribeInstanceTypesRequest {
2186
- DryRun?: boolean | undefined;
2187
- InstanceTypes?: _InstanceType[] | undefined;
2188
- Filters?: Filter[] | undefined;
2189
- MaxResults?: number | undefined;
2190
- NextToken?: string | undefined;
2191
- }
2192
2188
  export declare const DescribeBundleTasksResultFilterSensitiveLog: (
2193
2189
  obj: DescribeBundleTasksResult
2194
2190
  ) => any;
@@ -100,6 +100,13 @@ import {
100
100
  ProductCode,
101
101
  VirtualizationType,
102
102
  } from "./models_4";
103
+ export interface DescribeInstanceTypesRequest {
104
+ DryRun?: boolean | undefined;
105
+ InstanceTypes?: _InstanceType[] | undefined;
106
+ Filters?: Filter[] | undefined;
107
+ MaxResults?: number | undefined;
108
+ NextToken?: string | undefined;
109
+ }
103
110
  export declare const AttachmentLimitType: {
104
111
  readonly DEDICATED: "dedicated";
105
112
  readonly SHARED: "shared";
@@ -2039,13 +2046,6 @@ export interface DescribeTransitGatewayVpcAttachmentsResult {
2039
2046
  TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[] | undefined;
2040
2047
  NextToken?: string | undefined;
2041
2048
  }
2042
- export interface DescribeTrunkInterfaceAssociationsRequest {
2043
- AssociationIds?: string[] | undefined;
2044
- DryRun?: boolean | undefined;
2045
- Filters?: Filter[] | undefined;
2046
- NextToken?: string | undefined;
2047
- MaxResults?: number | undefined;
2048
- }
2049
2049
  export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2050
2050
  obj: DescribeLaunchTemplateVersionsResult
2051
2051
  ) => any;
@@ -43,7 +43,6 @@ import {
43
43
  DnsEntry,
44
44
  DnsNameState,
45
45
  Filter,
46
- MetricType,
47
46
  PayerResponsibility,
48
47
  ServiceConfiguration,
49
48
  ServiceConnectivityType,
@@ -63,11 +62,19 @@ import {
63
62
  FastLaunchSnapshotConfigurationResponse,
64
63
  FastLaunchStateCode,
65
64
  FastSnapshotRestoreStateCode,
65
+ MetricType,
66
66
  PeriodType,
67
67
  ProductCode,
68
68
  ReservationState,
69
69
  StatisticType,
70
70
  } from "./models_4";
71
+ export interface DescribeTrunkInterfaceAssociationsRequest {
72
+ AssociationIds?: string[] | undefined;
73
+ DryRun?: boolean | undefined;
74
+ Filters?: Filter[] | undefined;
75
+ NextToken?: string | undefined;
76
+ MaxResults?: number | undefined;
77
+ }
71
78
  export interface DescribeTrunkInterfaceAssociationsResult {
72
79
  InterfaceAssociations?: TrunkInterfaceAssociation[] | undefined;
73
80
  NextToken?: string | undefined;
@@ -1698,12 +1705,6 @@ export interface AthenaIntegration {
1698
1705
  export interface IntegrateServices {
1699
1706
  AthenaIntegrations?: AthenaIntegration[] | undefined;
1700
1707
  }
1701
- export interface GetFlowLogsIntegrationTemplateRequest {
1702
- DryRun?: boolean | undefined;
1703
- FlowLogId: string | undefined;
1704
- ConfigDeliveryS3DestinationArn: string | undefined;
1705
- IntegrateServices: IntegrateServices | undefined;
1706
- }
1707
1708
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1708
1709
  obj: DescribeVerifiedAccessTrustProvidersResult
1709
1710
  ) => any;
@@ -128,12 +128,19 @@ import {
128
128
  } from "./models_5";
129
129
  import {
130
130
  InstanceFamilyCreditSpecification,
131
+ IntegrateServices,
131
132
  ManagedBy,
132
133
  RouteServerPropagation,
133
134
  SnapshotBlockPublicAccessState,
134
135
  TransitGatewayPropagationState,
135
136
  UnlimitedSupportedInstanceFamily,
136
137
  } from "./models_6";
138
+ export interface GetFlowLogsIntegrationTemplateRequest {
139
+ DryRun?: boolean | undefined;
140
+ FlowLogId: string | undefined;
141
+ ConfigDeliveryS3DestinationArn: string | undefined;
142
+ IntegrateServices: IntegrateServices | undefined;
143
+ }
137
144
  export interface GetFlowLogsIntegrationTemplateResult {
138
145
  Result?: string | undefined;
139
146
  }
@@ -1930,13 +1937,6 @@ export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
1930
1937
  Ipv6Support?: Ipv6SupportValue | undefined;
1931
1938
  ApplianceModeSupport?: ApplianceModeSupportValue | undefined;
1932
1939
  }
1933
- export interface ModifyTransitGatewayVpcAttachmentRequest {
1934
- TransitGatewayAttachmentId: string | undefined;
1935
- AddSubnetIds?: string[] | undefined;
1936
- RemoveSubnetIds?: string[] | undefined;
1937
- Options?: ModifyTransitGatewayVpcAttachmentRequestOptions | undefined;
1938
- DryRun?: boolean | undefined;
1939
- }
1940
1940
  export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
1941
1941
  obj: GetInstanceTpmEkPubResult
1942
1942
  ) => any;
@@ -111,7 +111,18 @@ import {
111
111
  VolumeModification,
112
112
  VpcBlockPublicAccessOptions,
113
113
  } from "./models_6";
114
- import { CapacityReservationSpecification, Purchase } from "./models_7";
114
+ import {
115
+ CapacityReservationSpecification,
116
+ ModifyTransitGatewayVpcAttachmentRequestOptions,
117
+ Purchase,
118
+ } from "./models_7";
119
+ export interface ModifyTransitGatewayVpcAttachmentRequest {
120
+ TransitGatewayAttachmentId: string | undefined;
121
+ AddSubnetIds?: string[] | undefined;
122
+ RemoveSubnetIds?: string[] | undefined;
123
+ Options?: ModifyTransitGatewayVpcAttachmentRequestOptions | undefined;
124
+ DryRun?: boolean | undefined;
125
+ }
115
126
  export interface ModifyTransitGatewayVpcAttachmentResult {
116
127
  TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
117
128
  }
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.927.0",
4
+ "version": "3.929.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.927.0",
24
- "@aws-sdk/credential-provider-node": "3.927.0",
23
+ "@aws-sdk/core": "3.928.0",
24
+ "@aws-sdk/credential-provider-node": "3.929.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.927.0",
29
+ "@aws-sdk/middleware-user-agent": "3.928.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.927.0",
34
+ "@aws-sdk/util-user-agent-node": "3.928.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",