@aws-sdk/client-ec2 3.171.0 → 3.172.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 (48) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +2 -1
  3. package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
  4. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  5. package/dist-cjs/commands/MonitorInstancesCommand.js +2 -1
  6. package/dist-cjs/models/models_0.js +970 -19
  7. package/dist-cjs/models/models_1.js +242 -10
  8. package/dist-cjs/models/models_2.js +144 -10
  9. package/dist-cjs/models/models_3.js +271 -10
  10. package/dist-cjs/models/models_4.js +98 -10
  11. package/dist-cjs/models/models_5.js +54 -10
  12. package/dist-cjs/models/models_6.js +38 -3
  13. package/dist-cjs/protocols/Aws_ec2.js +61 -0
  14. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +2 -1
  15. package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
  16. package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  17. package/dist-es/commands/MonitorInstancesCommand.js +2 -1
  18. package/dist-es/models/models_0.js +961 -10
  19. package/dist-es/models/models_1.js +233 -1
  20. package/dist-es/models/models_2.js +135 -1
  21. package/dist-es/models/models_3.js +262 -1
  22. package/dist-es/models/models_4.js +89 -1
  23. package/dist-es/models/models_5.js +45 -1
  24. package/dist-es/models/models_6.js +31 -0
  25. package/dist-es/protocols/Aws_ec2.js +61 -0
  26. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +2 -1
  27. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
  28. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
  29. package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -1
  30. package/dist-types/models/models_0.d.ts +950 -79
  31. package/dist-types/models/models_1.d.ts +222 -51
  32. package/dist-types/models/models_2.d.ts +126 -36
  33. package/dist-types/models/models_3.d.ts +235 -106
  34. package/dist-types/models/models_4.d.ts +145 -30
  35. package/dist-types/models/models_5.d.ts +59 -20
  36. package/dist-types/models/models_6.d.ts +35 -5
  37. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/models/models_0.d.ts +925 -834
  42. package/dist-types/ts3.4/models/models_1.d.ts +204 -130
  43. package/dist-types/ts3.4/models/models_2.d.ts +119 -64
  44. package/dist-types/ts3.4/models/models_3.d.ts +228 -153
  45. package/dist-types/ts3.4/models/models_4.d.ts +86 -57
  46. package/dist-types/ts3.4/models/models_5.d.ts +46 -30
  47. package/dist-types/ts3.4/models/models_6.d.ts +31 -14
  48. package/package.json +1 -1
@@ -1,5 +1,15 @@
1
1
  import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, ByoipCidr, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, DnsSupportValue, DynamicRoutingValue, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, VolumeType } from "./models_1";
2
+ import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, TrafficMirrorFilterRule, VolumeType } from "./models_1";
3
+ export interface CreateTrafficMirrorFilterRuleResult {
4
+ /**
5
+ * <p>The Traffic Mirror rule.</p>
6
+ */
7
+ TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
8
+ /**
9
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
10
+ */
11
+ ClientToken?: string;
12
+ }
3
13
  export interface CreateTrafficMirrorSessionRequest {
4
14
  /**
5
15
  * <p>The ID of the source network interface.</p>
@@ -141,7 +151,11 @@ export interface CreateTrafficMirrorTargetRequest {
141
151
  */
142
152
  GatewayLoadBalancerEndpointId?: string;
143
153
  }
144
- export declare type TrafficMirrorTargetType = "gateway-load-balancer-endpoint" | "network-interface" | "network-load-balancer";
154
+ export declare enum TrafficMirrorTargetType {
155
+ gateway_load_balancer_endpoint = "gateway-load-balancer-endpoint",
156
+ network_interface = "network-interface",
157
+ network_load_balancer = "network-load-balancer"
158
+ }
145
159
  /**
146
160
  * <p>Describes a Traffic Mirror target.</p>
147
161
  */
@@ -189,11 +203,26 @@ export interface CreateTrafficMirrorTargetResult {
189
203
  */
190
204
  ClientToken?: string;
191
205
  }
192
- export declare type AutoAcceptSharedAttachmentsValue = "disable" | "enable";
193
- export declare type DefaultRouteTableAssociationValue = "disable" | "enable";
194
- export declare type DefaultRouteTablePropagationValue = "disable" | "enable";
195
- export declare type MulticastSupportValue = "disable" | "enable";
196
- export declare type VpnEcmpSupportValue = "disable" | "enable";
206
+ export declare enum AutoAcceptSharedAttachmentsValue {
207
+ disable = "disable",
208
+ enable = "enable"
209
+ }
210
+ export declare enum DefaultRouteTableAssociationValue {
211
+ disable = "disable",
212
+ enable = "enable"
213
+ }
214
+ export declare enum DefaultRouteTablePropagationValue {
215
+ disable = "disable",
216
+ enable = "enable"
217
+ }
218
+ export declare enum MulticastSupportValue {
219
+ disable = "disable",
220
+ enable = "enable"
221
+ }
222
+ export declare enum VpnEcmpSupportValue {
223
+ disable = "disable",
224
+ enable = "enable"
225
+ }
197
226
  /**
198
227
  * <p>Describes the options for a transit gateway.</p>
199
228
  */
@@ -298,7 +327,13 @@ export interface TransitGatewayOptions {
298
327
  */
299
328
  MulticastSupport?: MulticastSupportValue | string;
300
329
  }
301
- export declare type TransitGatewayState = "available" | "deleted" | "deleting" | "modifying" | "pending";
330
+ export declare enum TransitGatewayState {
331
+ available = "available",
332
+ deleted = "deleted",
333
+ deleting = "deleting",
334
+ modifying = "modifying",
335
+ pending = "pending"
336
+ }
302
337
  /**
303
338
  * <p>Describes a transit gateway.</p>
304
339
  */
@@ -342,7 +377,9 @@ export interface CreateTransitGatewayResult {
342
377
  */
343
378
  TransitGateway?: TransitGateway;
344
379
  }
345
- export declare type ProtocolValue = "gre";
380
+ export declare enum ProtocolValue {
381
+ gre = "gre"
382
+ }
346
383
  /**
347
384
  * <p>The options for a Connect attachment.</p>
348
385
  */
@@ -467,7 +504,10 @@ export interface CreateTransitGatewayConnectPeerRequest {
467
504
  */
468
505
  DryRun?: boolean;
469
506
  }
470
- export declare type BgpStatus = "down" | "up";
507
+ export declare enum BgpStatus {
508
+ down = "down",
509
+ up = "up"
510
+ }
471
511
  /**
472
512
  * <p>The BGP configuration information.</p>
473
513
  */
@@ -518,7 +558,12 @@ export interface TransitGatewayConnectPeerConfiguration {
518
558
  */
519
559
  BgpConfigurations?: TransitGatewayAttachmentBgpConfiguration[];
520
560
  }
521
- export declare type TransitGatewayConnectPeerState = "available" | "deleted" | "deleting" | "pending";
561
+ export declare enum TransitGatewayConnectPeerState {
562
+ available = "available",
563
+ deleted = "deleted",
564
+ deleting = "deleting",
565
+ pending = "pending"
566
+ }
522
567
  /**
523
568
  * <p>Describes a transit gateway Connect peer.</p>
524
569
  */
@@ -554,9 +599,18 @@ export interface CreateTransitGatewayConnectPeerResult {
554
599
  */
555
600
  TransitGatewayConnectPeer?: TransitGatewayConnectPeer;
556
601
  }
557
- export declare type AutoAcceptSharedAssociationsValue = "disable" | "enable";
558
- export declare type Igmpv2SupportValue = "disable" | "enable";
559
- export declare type StaticSourcesSupportValue = "disable" | "enable";
602
+ export declare enum AutoAcceptSharedAssociationsValue {
603
+ disable = "disable",
604
+ enable = "enable"
605
+ }
606
+ export declare enum Igmpv2SupportValue {
607
+ disable = "disable",
608
+ enable = "enable"
609
+ }
610
+ export declare enum StaticSourcesSupportValue {
611
+ disable = "disable",
612
+ enable = "enable"
613
+ }
560
614
  /**
561
615
  * <p>The options for the transit gateway multicast domain.</p>
562
616
  */
@@ -611,7 +665,12 @@ export interface TransitGatewayMulticastDomainOptions {
611
665
  */
612
666
  AutoAcceptSharedAssociations?: AutoAcceptSharedAssociationsValue | string;
613
667
  }
614
- export declare type TransitGatewayMulticastDomainState = "available" | "deleted" | "deleting" | "pending";
668
+ export declare enum TransitGatewayMulticastDomainState {
669
+ available = "available",
670
+ deleted = "deleted",
671
+ deleting = "deleting",
672
+ pending = "pending"
673
+ }
615
674
  /**
616
675
  * <p>Describes the transit gateway multicast domain.</p>
617
676
  */
@@ -779,7 +838,12 @@ export interface CreateTransitGatewayPrefixListReferenceRequest {
779
838
  */
780
839
  DryRun?: boolean;
781
840
  }
782
- export declare type TransitGatewayPrefixListReferenceState = "available" | "deleting" | "modifying" | "pending";
841
+ export declare enum TransitGatewayPrefixListReferenceState {
842
+ available = "available",
843
+ deleting = "deleting",
844
+ modifying = "modifying",
845
+ pending = "pending"
846
+ }
783
847
  /**
784
848
  * <p>Describes a transit gateway prefix list attachment.</p>
785
849
  */
@@ -857,7 +921,13 @@ export interface CreateTransitGatewayRouteRequest {
857
921
  */
858
922
  DryRun?: boolean;
859
923
  }
860
- export declare type TransitGatewayRouteState = "active" | "blackhole" | "deleted" | "deleting" | "pending";
924
+ export declare enum TransitGatewayRouteState {
925
+ active = "active",
926
+ blackhole = "blackhole",
927
+ deleted = "deleted",
928
+ deleting = "deleting",
929
+ pending = "pending"
930
+ }
861
931
  /**
862
932
  * <p>Describes a route attachment.</p>
863
933
  */
@@ -875,7 +945,10 @@ export interface TransitGatewayRouteAttachment {
875
945
  */
876
946
  ResourceType?: TransitGatewayAttachmentResourceType | string;
877
947
  }
878
- export declare type TransitGatewayRouteType = "propagated" | "static";
948
+ export declare enum TransitGatewayRouteType {
949
+ propagated = "propagated",
950
+ static = "static"
951
+ }
879
952
  /**
880
953
  * <p>Describes a route for a transit gateway route table.</p>
881
954
  */
@@ -927,7 +1000,12 @@ export interface CreateTransitGatewayRouteTableRequest {
927
1000
  */
928
1001
  DryRun?: boolean;
929
1002
  }
930
- export declare type TransitGatewayRouteTableState = "available" | "deleted" | "deleting" | "pending";
1003
+ export declare enum TransitGatewayRouteTableState {
1004
+ available = "available",
1005
+ deleted = "deleted",
1006
+ deleting = "deleting",
1007
+ pending = "pending"
1008
+ }
931
1009
  /**
932
1010
  * <p>Describes a transit gateway route table.</p>
933
1011
  */
@@ -1268,7 +1346,14 @@ export interface CreateVolumeRequest {
1268
1346
  */
1269
1347
  ClientToken?: string;
1270
1348
  }
1271
- export declare type VolumeState = "available" | "creating" | "deleted" | "deleting" | "error" | "in-use";
1349
+ export declare enum VolumeState {
1350
+ available = "available",
1351
+ creating = "creating",
1352
+ deleted = "deleted",
1353
+ deleting = "deleting",
1354
+ error = "error",
1355
+ in_use = "in-use"
1356
+ }
1272
1357
  /**
1273
1358
  * <p>Describes a volume.</p>
1274
1359
  */
@@ -1969,7 +2054,10 @@ export interface CreateVpcPeeringConnectionResult {
1969
2054
  */
1970
2055
  VpcPeeringConnection?: VpcPeeringConnection;
1971
2056
  }
1972
- export declare type TunnelInsideIpVersion = "ipv4" | "ipv6";
2057
+ export declare enum TunnelInsideIpVersion {
2058
+ ipv4 = "ipv4",
2059
+ ipv6 = "ipv6"
2060
+ }
1973
2061
  /**
1974
2062
  * <p>The IKE version that is permitted for the VPN tunnel.</p>
1975
2063
  */
@@ -2607,8 +2695,15 @@ export interface VpnConnectionOptions {
2607
2695
  */
2608
2696
  TunnelOptions?: TunnelOption[];
2609
2697
  }
2610
- export declare type VpnStaticRouteSource = "Static";
2611
- export declare type VpnState = "available" | "deleted" | "deleting" | "pending";
2698
+ export declare enum VpnStaticRouteSource {
2699
+ Static = "Static"
2700
+ }
2701
+ export declare enum VpnState {
2702
+ available = "available",
2703
+ deleted = "deleted",
2704
+ deleting = "deleting",
2705
+ pending = "pending"
2706
+ }
2612
2707
  /**
2613
2708
  * <p>Describes a static route for a VPN connection.</p>
2614
2709
  */
@@ -2626,7 +2721,10 @@ export interface VpnStaticRoute {
2626
2721
  */
2627
2722
  State?: VpnState | string;
2628
2723
  }
2629
- export declare type TelemetryStatus = "DOWN" | "UP";
2724
+ export declare enum TelemetryStatus {
2725
+ DOWN = "DOWN",
2726
+ UP = "UP"
2727
+ }
2630
2728
  /**
2631
2729
  * <p>Describes telemetry for a VPN tunnel.</p>
2632
2730
  */
@@ -4679,14 +4777,10 @@ export interface DescribeAddressesAttributeResult {
4679
4777
  */
4680
4778
  NextToken?: string;
4681
4779
  }
4682
- export interface DescribeAggregateIdFormatRequest {
4683
- /**
4684
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4685
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4686
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4687
- */
4688
- DryRun?: boolean;
4689
- }
4780
+ /**
4781
+ * @internal
4782
+ */
4783
+ export declare const CreateTrafficMirrorFilterRuleResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleResult) => any;
4690
4784
  /**
4691
4785
  * @internal
4692
4786
  */
@@ -5707,7 +5801,3 @@ export declare const DescribeAddressesAttributeRequestFilterSensitiveLog: (obj:
5707
5801
  * @internal
5708
5802
  */
5709
5803
  export declare const DescribeAddressesAttributeResultFilterSensitiveLog: (obj: DescribeAddressesAttributeResult) => any;
5710
- /**
5711
- * @internal
5712
- */
5713
- export declare const DescribeAggregateIdFormatRequestFilterSensitiveLog: (obj: DescribeAggregateIdFormatRequest) => any;