@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
@@ -2,6 +2,66 @@ import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, Allo
2
2
  import { BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, VolumeType } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { AttributeBooleanValue, EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, IdFormat, PermissionGroup, ProductCode } from "./models_3";
5
+ export interface DescribeLocalGatewayVirtualInterfacesRequest {
6
+ /**
7
+ * <p>The IDs of the virtual interfaces.</p>
8
+ */
9
+ LocalGatewayVirtualInterfaceIds?: string[];
10
+ /**
11
+ * <p>One or more filters.</p>
12
+ * <ul>
13
+ * <li>
14
+ * <p>
15
+ * <code>local-address</code> - The local address.</p>
16
+ * </li>
17
+ * <li>
18
+ * <p>
19
+ * <code>local-bgp-asn</code> - The Border Gateway Protocol (BGP) Autonomous System Number (ASN)
20
+ * of the local gateway.</p>
21
+ * </li>
22
+ * <li>
23
+ * <p>
24
+ * <code>local-gateway-id</code> - The ID of the local gateway.</p>
25
+ * </li>
26
+ * <li>
27
+ * <p>
28
+ * <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
29
+ * </li>
30
+ * <li>
31
+ * <p>
32
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <code>peer-address</code> - The peer address.</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>
40
+ * <code>peer-bgp-asn</code> - The peer BGP ASN.</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <code>vlan</code> - The ID of the VLAN.</p>
45
+ * </li>
46
+ * </ul>
47
+ */
48
+ Filters?: Filter[];
49
+ /**
50
+ * <p>The maximum number of results to return with a single call.
51
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
52
+ */
53
+ MaxResults?: number;
54
+ /**
55
+ * <p>The token for the next page of results.</p>
56
+ */
57
+ NextToken?: string;
58
+ /**
59
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
60
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
61
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
62
+ */
63
+ DryRun?: boolean;
64
+ }
5
65
  /**
6
66
  * <p>Describes a local gateway virtual interface.</p>
7
67
  */
@@ -137,7 +197,10 @@ export interface DescribeMovingAddressesRequest {
137
197
  */
138
198
  PublicIps?: string[];
139
199
  }
140
- export declare type MoveStatus = "movingToVpc" | "restoringToClassic";
200
+ export declare enum MoveStatus {
201
+ movingToVpc = "movingToVpc",
202
+ restoringToClassic = "restoringToClassic"
203
+ }
141
204
  /**
142
205
  * <p>Describes the status of a moving Elastic IP address.</p>
143
206
  * <note>
@@ -386,7 +449,11 @@ export declare enum FindingsFound {
386
449
  true = "true",
387
450
  unknown = "unknown"
388
451
  }
389
- export declare type AnalysisStatus = "failed" | "running" | "succeeded";
452
+ export declare enum AnalysisStatus {
453
+ failed = "failed",
454
+ running = "running",
455
+ succeeded = "succeeded"
456
+ }
390
457
  /**
391
458
  * <p>Describes a Network Access Scope analysis.</p>
392
459
  */
@@ -892,7 +959,12 @@ export interface DescribeNetworkInsightsPathsResult {
892
959
  */
893
960
  NextToken?: string;
894
961
  }
895
- export declare type NetworkInterfaceAttribute = "attachment" | "description" | "groupSet" | "sourceDestCheck";
962
+ export declare enum NetworkInterfaceAttribute {
963
+ attachment = "attachment",
964
+ description = "description",
965
+ groupSet = "groupSet",
966
+ sourceDestCheck = "sourceDestCheck"
967
+ }
896
968
  /**
897
969
  * <p>Contains the parameters for DescribeNetworkInterfaceAttribute.</p>
898
970
  */
@@ -1588,7 +1660,14 @@ export declare enum OfferingClassType {
1588
1660
  CONVERTIBLE = "convertible",
1589
1661
  STANDARD = "standard"
1590
1662
  }
1591
- export declare type OfferingTypeValues = "All Upfront" | "Heavy Utilization" | "Light Utilization" | "Medium Utilization" | "No Upfront" | "Partial Upfront";
1663
+ export declare enum OfferingTypeValues {
1664
+ All_Upfront = "All Upfront",
1665
+ Heavy_Utilization = "Heavy Utilization",
1666
+ Light_Utilization = "Light Utilization",
1667
+ Medium_Utilization = "Medium Utilization",
1668
+ No_Upfront = "No Upfront",
1669
+ Partial_Upfront = "Partial Upfront"
1670
+ }
1592
1671
  /**
1593
1672
  * <p>Contains the parameters for DescribeReservedInstances.</p>
1594
1673
  */
@@ -1686,7 +1765,9 @@ export interface DescribeReservedInstancesRequest {
1686
1765
  OfferingType?: OfferingTypeValues | string;
1687
1766
  }
1688
1767
  export declare type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)";
1689
- export declare type RecurringChargeFrequency = "Hourly";
1768
+ export declare enum RecurringChargeFrequency {
1769
+ Hourly = "Hourly"
1770
+ }
1690
1771
  /**
1691
1772
  * <p>Describes a recurring charge.</p>
1692
1773
  */
@@ -1704,7 +1785,14 @@ export declare enum Scope {
1704
1785
  AVAILABILITY_ZONE = "Availability Zone",
1705
1786
  REGIONAL = "Region"
1706
1787
  }
1707
- export declare type ReservedInstanceState = "active" | "payment-failed" | "payment-pending" | "queued" | "queued-deleted" | "retired";
1788
+ export declare enum ReservedInstanceState {
1789
+ active = "active",
1790
+ payment_failed = "payment-failed",
1791
+ payment_pending = "payment-pending",
1792
+ queued = "queued",
1793
+ queued_deleted = "queued-deleted",
1794
+ retired = "retired"
1795
+ }
1708
1796
  /**
1709
1797
  * <p>Describes a Reserved Instance.</p>
1710
1798
  */
@@ -3037,7 +3125,10 @@ export interface DescribeSecurityGroupsResult {
3037
3125
  */
3038
3126
  NextToken?: string;
3039
3127
  }
3040
- export declare type SnapshotAttributeName = "createVolumePermission" | "productCodes";
3128
+ export declare enum SnapshotAttributeName {
3129
+ createVolumePermission = "createVolumePermission",
3130
+ productCodes = "productCodes"
3131
+ }
3041
3132
  export interface DescribeSnapshotAttributeRequest {
3042
3133
  /**
3043
3134
  * <p>The snapshot attribute you would like to view.</p>
@@ -4534,7 +4625,13 @@ export interface LaunchSpecification {
4534
4625
  */
4535
4626
  Monitoring?: RunInstancesMonitoringEnabled;
4536
4627
  }
4537
- export declare type SpotInstanceState = "active" | "cancelled" | "closed" | "failed" | "open";
4628
+ export declare enum SpotInstanceState {
4629
+ active = "active",
4630
+ cancelled = "cancelled",
4631
+ closed = "closed",
4632
+ failed = "failed",
4633
+ open = "open"
4634
+ }
4538
4635
  /**
4539
4636
  * <p>Describes the status of a Spot Instance request.</p>
4540
4637
  */
@@ -6020,7 +6117,10 @@ export interface DescribeTrunkInterfaceAssociationsResult {
6020
6117
  */
6021
6118
  NextToken?: string;
6022
6119
  }
6023
- export declare type VolumeAttributeName = "autoEnableIO" | "productCodes";
6120
+ export declare enum VolumeAttributeName {
6121
+ autoEnableIO = "autoEnableIO",
6122
+ productCodes = "productCodes"
6123
+ }
6024
6124
  export interface DescribeVolumeAttributeRequest {
6025
6125
  /**
6026
6126
  * <p>The attribute of the volume. This parameter is required.</p>
@@ -6258,7 +6358,12 @@ export interface DescribeVolumesModificationsRequest {
6258
6358
  */
6259
6359
  MaxResults?: number;
6260
6360
  }
6261
- export declare type VolumeModificationState = "completed" | "failed" | "modifying" | "optimizing";
6361
+ export declare enum VolumeModificationState {
6362
+ completed = "completed",
6363
+ failed = "failed",
6364
+ modifying = "modifying",
6365
+ optimizing = "optimizing"
6366
+ }
6262
6367
  /**
6263
6368
  * <p>Describes the modification status of an EBS volume.</p>
6264
6369
  * <p>If the volume has never been modified, some element values will be null.</p>
@@ -6499,7 +6604,10 @@ export interface VolumeStatusEvent {
6499
6604
  */
6500
6605
  InstanceId?: string;
6501
6606
  }
6502
- export declare type VolumeStatusName = "io-enabled" | "io-performance";
6607
+ export declare enum VolumeStatusName {
6608
+ io_enabled = "io-enabled",
6609
+ io_performance = "io-performance"
6610
+ }
6503
6611
  /**
6504
6612
  * <p>Describes a volume status.</p>
6505
6613
  */
@@ -6513,7 +6621,11 @@ export interface VolumeStatusDetails {
6513
6621
  */
6514
6622
  Status?: string;
6515
6623
  }
6516
- export declare type VolumeStatusInfoStatus = "impaired" | "insufficient-data" | "ok";
6624
+ export declare enum VolumeStatusInfoStatus {
6625
+ impaired = "impaired",
6626
+ insufficient_data = "insufficient-data",
6627
+ ok = "ok"
6628
+ }
6517
6629
  /**
6518
6630
  * <p>Describes the status of a volume.</p>
6519
6631
  */
@@ -6571,7 +6683,10 @@ export interface DescribeVolumeStatusResult {
6571
6683
  */
6572
6684
  VolumeStatuses?: VolumeStatusItem[];
6573
6685
  }
6574
- export declare type VpcAttributeName = "enableDnsHostnames" | "enableDnsSupport";
6686
+ export declare enum VpcAttributeName {
6687
+ enableDnsHostnames = "enableDnsHostnames",
6688
+ enableDnsSupport = "enableDnsSupport"
6689
+ }
6575
6690
  export interface DescribeVpcAttributeRequest {
6576
6691
  /**
6577
6692
  * <p>The VPC attribute.</p>
@@ -6859,6 +6974,14 @@ export interface VpcEndpointConnection {
6859
6974
  * <p>The IP address type for the endpoint.</p>
6860
6975
  */
6861
6976
  IpAddressType?: IpAddressType | string;
6977
+ /**
6978
+ * <p>The ID of the VPC endpoint connection.</p>
6979
+ */
6980
+ VpcEndpointConnectionId?: string;
6981
+ /**
6982
+ * <p>The tags.</p>
6983
+ */
6984
+ Tags?: Tag[];
6862
6985
  }
6863
6986
  export interface DescribeVpcEndpointConnectionsResult {
6864
6987
  /**
@@ -7157,7 +7280,7 @@ export interface ServiceDetail {
7157
7280
  */
7158
7281
  PrivateDnsName?: string;
7159
7282
  /**
7160
- * <p>The private DNS names assigned to the VPC endpoint service. </p>
7283
+ * <p>The private DNS names assigned to the VPC endpoint service.</p>
7161
7284
  */
7162
7285
  PrivateDnsNames?: PrivateDnsDetails[];
7163
7286
  /**
@@ -7971,7 +8094,12 @@ export interface DisableTransitGatewayRouteTablePropagationRequest {
7971
8094
  */
7972
8095
  TransitGatewayRouteTableAnnouncementId?: string;
7973
8096
  }
7974
- export declare type TransitGatewayPropagationState = "disabled" | "disabling" | "enabled" | "enabling";
8097
+ export declare enum TransitGatewayPropagationState {
8098
+ disabled = "disabled",
8099
+ disabling = "disabling",
8100
+ enabled = "enabled",
8101
+ enabling = "enabling"
8102
+ }
7975
8103
  /**
7976
8104
  * <p>Describes route propagation.</p>
7977
8105
  */
@@ -8539,18 +8667,9 @@ export interface EnableFastSnapshotRestoreStateErrorItem {
8539
8667
  Error?: EnableFastSnapshotRestoreStateError;
8540
8668
  }
8541
8669
  /**
8542
- * <p>Contains information about the errors that occurred when enabling fast snapshot restores.</p>
8670
+ * @internal
8543
8671
  */
8544
- export interface EnableFastSnapshotRestoreErrorItem {
8545
- /**
8546
- * <p>The ID of the snapshot.</p>
8547
- */
8548
- SnapshotId?: string;
8549
- /**
8550
- * <p>The errors.</p>
8551
- */
8552
- FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
8553
- }
8672
+ export declare const DescribeLocalGatewayVirtualInterfacesRequestFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfacesRequest) => any;
8554
8673
  /**
8555
8674
  * @internal
8556
8675
  */
@@ -9655,7 +9774,3 @@ export declare const EnableFastSnapshotRestoreStateErrorFilterSensitiveLog: (obj
9655
9774
  * @internal
9656
9775
  */
9657
9776
  export declare const EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreStateErrorItem) => any;
9658
- /**
9659
- * @internal
9660
- */
9661
- export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreErrorItem) => any;
@@ -1,8 +1,21 @@
1
- import { _InstanceType, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AttributeValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, HostnameType, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
1
+ import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AttributeValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, HostnameType, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
2
  import { CapacityReservationPreference, CapacityReservationTarget, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, Filter, IKEVersionsRequestListValue, IpAddressType, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
- import { AnalysisStatus, CreateVolumePermission, EnableFastSnapshotRestoreErrorItem, EnableFastSnapshotRestoreSuccessItem, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, TransitGatewayPropagation, TransitGatewayPropagationState, VolumeModification } from "./models_4";
5
+ import { AnalysisStatus, CreateVolumePermission, EnableFastSnapshotRestoreStateErrorItem, EnableFastSnapshotRestoreSuccessItem, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, TransitGatewayPropagation, TransitGatewayPropagationState, VolumeModification } from "./models_4";
6
+ /**
7
+ * <p>Contains information about the errors that occurred when enabling fast snapshot restores.</p>
8
+ */
9
+ export interface EnableFastSnapshotRestoreErrorItem {
10
+ /**
11
+ * <p>The ID of the snapshot.</p>
12
+ */
13
+ SnapshotId?: string;
14
+ /**
15
+ * <p>The errors.</p>
16
+ */
17
+ FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
18
+ }
6
19
  export interface EnableFastSnapshotRestoresResult {
7
20
  /**
8
21
  * <p>Information about the snapshots for which fast snapshot restores were successfully enabled.</p>
@@ -173,7 +186,10 @@ export interface ExportClientVpnClientCertificateRevocationListRequest {
173
186
  */
174
187
  DryRun?: boolean;
175
188
  }
176
- export declare type ClientCertificateRevocationListStatusCode = "active" | "pending";
189
+ export declare enum ClientCertificateRevocationListStatusCode {
190
+ active = "active",
191
+ pending = "pending"
192
+ }
177
193
  /**
178
194
  * <p>Describes the state of a client certificate revocation list.</p>
179
195
  */
@@ -683,7 +699,12 @@ export interface GetConsoleScreenshotResult {
683
699
  */
684
700
  InstanceId?: string;
685
701
  }
686
- export declare type UnlimitedSupportedInstanceFamily = "t2" | "t3" | "t3a" | "t4g";
702
+ export declare enum UnlimitedSupportedInstanceFamily {
703
+ t2 = "t2",
704
+ t3 = "t3",
705
+ t3a = "t3a",
706
+ t4g = "t4g"
707
+ }
687
708
  export interface GetDefaultCreditSpecificationRequest {
688
709
  /**
689
710
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -3136,7 +3157,10 @@ export interface ModifyAddressAttributeResult {
3136
3157
  */
3137
3158
  Address?: AddressAttribute;
3138
3159
  }
3139
- export declare type ModifyAvailabilityZoneOptInStatus = "not-opted-in" | "opted-in";
3160
+ export declare enum ModifyAvailabilityZoneOptInStatus {
3161
+ not_opted_in = "not-opted-in",
3162
+ opted_in = "opted-in"
3163
+ }
3140
3164
  export interface ModifyAvailabilityZoneGroupRequest {
3141
3165
  /**
3142
3166
  * <p>The name of the Availability Zone group, Local Zone group, or Wavelength Zone
@@ -3496,7 +3520,10 @@ export interface LoadPermissionModifications {
3496
3520
  */
3497
3521
  Remove?: LoadPermissionRequest[];
3498
3522
  }
3499
- export declare type OperationType = "add" | "remove";
3523
+ export declare enum OperationType {
3524
+ add = "add",
3525
+ remove = "remove"
3526
+ }
3500
3527
  export interface ModifyFpgaImageAttributeRequest {
3501
3528
  /**
3502
3529
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -4187,7 +4214,10 @@ export interface ModifyInstanceMetadataOptionsResult {
4187
4214
  */
4188
4215
  InstanceMetadataOptions?: InstanceMetadataOptionsResponse;
4189
4216
  }
4190
- export declare type HostTenancy = "dedicated" | "host";
4217
+ export declare enum HostTenancy {
4218
+ dedicated = "dedicated",
4219
+ host = "host"
4220
+ }
4191
4221
  export interface ModifyInstancePlacementRequest {
4192
4222
  /**
4193
4223
  * <p>The affinity setting for the instance.</p>
@@ -4936,7 +4966,12 @@ export interface ModifyTrafficMirrorFilterNetworkServicesResult {
4936
4966
  */
4937
4967
  TrafficMirrorFilter?: TrafficMirrorFilter;
4938
4968
  }
4939
- export declare type TrafficMirrorFilterRuleField = "description" | "destination-port-range" | "protocol" | "source-port-range";
4969
+ export declare enum TrafficMirrorFilterRuleField {
4970
+ description = "description",
4971
+ destination_port_range = "destination-port-range",
4972
+ protocol = "protocol",
4973
+ source_port_range = "source-port-range"
4974
+ }
4940
4975
  export interface ModifyTrafficMirrorFilterRuleRequest {
4941
4976
  /**
4942
4977
  * <p>The ID of the Traffic Mirror rule.</p>
@@ -4997,7 +5032,11 @@ export interface ModifyTrafficMirrorFilterRuleResult {
4997
5032
  */
4998
5033
  TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
4999
5034
  }
5000
- export declare type TrafficMirrorSessionField = "description" | "packet-length" | "virtual-network-id";
5035
+ export declare enum TrafficMirrorSessionField {
5036
+ description = "description",
5037
+ packet_length = "packet-length",
5038
+ virtual_network_id = "virtual-network-id"
5039
+ }
5001
5040
  export interface ModifyTrafficMirrorSessionRequest {
5002
5041
  /**
5003
5042
  * <p>The ID of the Traffic Mirror session.</p>
@@ -5518,6 +5557,10 @@ export interface ModifyVpcEndpointServicePermissionsRequest {
5518
5557
  RemoveAllowedPrincipals?: string[];
5519
5558
  }
5520
5559
  export interface ModifyVpcEndpointServicePermissionsResult {
5560
+ /**
5561
+ * <p>Information about the added principals.</p>
5562
+ */
5563
+ AddedPrincipals?: AddedPrincipal[];
5521
5564
  /**
5522
5565
  * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
5523
5566
  */
@@ -5598,7 +5641,9 @@ export interface ModifyVpcPeeringConnectionOptionsResult {
5598
5641
  */
5599
5642
  RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
5600
5643
  }
5601
- export declare type VpcTenancy = "default";
5644
+ export declare enum VpcTenancy {
5645
+ default = "default"
5646
+ }
5602
5647
  export interface ModifyVpcTenancyRequest {
5603
5648
  /**
5604
5649
  * <p>The ID of the VPC.</p>
@@ -5960,12 +6005,10 @@ export interface InstanceMonitoring {
5960
6005
  */
5961
6006
  Monitoring?: Monitoring;
5962
6007
  }
5963
- export interface MonitorInstancesResult {
5964
- /**
5965
- * <p>The monitoring information.</p>
5966
- */
5967
- InstanceMonitorings?: InstanceMonitoring[];
5968
- }
6008
+ /**
6009
+ * @internal
6010
+ */
6011
+ export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreErrorItem) => any;
5969
6012
  /**
5970
6013
  * @internal
5971
6014
  */
@@ -7098,7 +7141,3 @@ export declare const MonitorInstancesRequestFilterSensitiveLog: (obj: MonitorIns
7098
7141
  * @internal
7099
7142
  */
7100
7143
  export declare const InstanceMonitoringFilterSensitiveLog: (obj: InstanceMonitoring) => any;
7101
- /**
7102
- * @internal
7103
- */
7104
- export declare const MonitorInstancesResultFilterSensitiveLog: (obj: MonitorInstancesResult) => any;
@@ -4,6 +4,12 @@ import { Filter, InstanceTagNotificationAttribute, IpamPoolCidr, TransitGatewayR
4
4
  import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, TpmSupportValues } from "./models_3";
5
5
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
6
  import { CapacityReservationSpecification, InstanceMonitoring, Purchase } from "./models_5";
7
+ export interface MonitorInstancesResult {
8
+ /**
9
+ * <p>The monitoring information.</p>
10
+ */
11
+ InstanceMonitorings?: InstanceMonitoring[];
12
+ }
7
13
  export interface MoveAddressToVpcRequest {
8
14
  /**
9
15
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -961,8 +967,21 @@ export interface ReplaceTransitGatewayRouteResult {
961
967
  */
962
968
  Route?: TransitGatewayRoute;
963
969
  }
964
- export declare type ReportInstanceReasonCodes = "instance-stuck-in-state" | "not-accepting-credentials" | "other" | "password-not-available" | "performance-ebs-volume" | "performance-instance-store" | "performance-network" | "performance-other" | "unresponsive";
965
- export declare type ReportStatusType = "impaired" | "ok";
970
+ export declare enum ReportInstanceReasonCodes {
971
+ instance_stuck_in_state = "instance-stuck-in-state",
972
+ not_accepting_credentials = "not-accepting-credentials",
973
+ other = "other",
974
+ password_not_available = "password-not-available",
975
+ performance_ebs_volume = "performance-ebs-volume",
976
+ performance_instance_store = "performance-instance-store",
977
+ performance_network = "performance-network",
978
+ performance_other = "performance-other",
979
+ unresponsive = "unresponsive"
980
+ }
981
+ export declare enum ReportStatusType {
982
+ impaired = "impaired",
983
+ ok = "ok"
984
+ }
966
985
  export interface ReportInstanceStatusRequest {
967
986
  /**
968
987
  * <p>Descriptive text about the health state of your instance.</p>
@@ -1291,7 +1310,9 @@ export interface ResetEbsDefaultKmsKeyIdResult {
1291
1310
  */
1292
1311
  KmsKeyId?: string;
1293
1312
  }
1294
- export declare type ResetFpgaImageAttributeName = "loadPermission";
1313
+ export declare enum ResetFpgaImageAttributeName {
1314
+ loadPermission = "loadPermission"
1315
+ }
1295
1316
  export interface ResetFpgaImageAttributeRequest {
1296
1317
  /**
1297
1318
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -1314,7 +1335,9 @@ export interface ResetFpgaImageAttributeResult {
1314
1335
  */
1315
1336
  Return?: boolean;
1316
1337
  }
1317
- export declare type ResetImageAttributeName = "launchPermission";
1338
+ export declare enum ResetImageAttributeName {
1339
+ launchPermission = "launchPermission"
1340
+ }
1318
1341
  /**
1319
1342
  * <p>Contains the parameters for ResetImageAttribute.</p>
1320
1343
  */
@@ -2666,7 +2689,10 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
2666
2689
  */
2667
2690
  DryRun?: boolean;
2668
2691
  }
2669
- export declare type MembershipType = "igmp" | "static";
2692
+ export declare enum MembershipType {
2693
+ igmp = "igmp",
2694
+ static = "static"
2695
+ }
2670
2696
  /**
2671
2697
  * <p>Describes the transit gateway multicast group resources.</p>
2672
2698
  */
@@ -3199,6 +3225,10 @@ export interface WithdrawByoipCidrResult {
3199
3225
  */
3200
3226
  ByoipCidr?: ByoipCidr;
3201
3227
  }
3228
+ /**
3229
+ * @internal
3230
+ */
3231
+ export declare const MonitorInstancesResultFilterSensitiveLog: (obj: MonitorInstancesResult) => any;
3202
3232
  /**
3203
3233
  * @internal
3204
3234
  */
@@ -10,10 +10,8 @@ import {
10
10
  ServiceInputTypes,
11
11
  ServiceOutputTypes,
12
12
  } from "../EC2Client";
13
- import {
14
- CreateTrafficMirrorFilterRuleRequest,
15
- CreateTrafficMirrorFilterRuleResult,
16
- } from "../models/models_1";
13
+ import { CreateTrafficMirrorFilterRuleRequest } from "../models/models_1";
14
+ import { CreateTrafficMirrorFilterRuleResult } from "../models/models_2";
17
15
  export interface CreateTrafficMirrorFilterRuleCommandInput
18
16
  extends CreateTrafficMirrorFilterRuleRequest {}
19
17
  export interface CreateTrafficMirrorFilterRuleCommandOutput
@@ -10,8 +10,10 @@ import {
10
10
  ServiceInputTypes,
11
11
  ServiceOutputTypes,
12
12
  } from "../EC2Client";
13
- import { DescribeAggregateIdFormatRequest } from "../models/models_2";
14
- import { DescribeAggregateIdFormatResult } from "../models/models_3";
13
+ import {
14
+ DescribeAggregateIdFormatRequest,
15
+ DescribeAggregateIdFormatResult,
16
+ } from "../models/models_3";
15
17
  export interface DescribeAggregateIdFormatCommandInput
16
18
  extends DescribeAggregateIdFormatRequest {}
17
19
  export interface DescribeAggregateIdFormatCommandOutput
@@ -10,8 +10,10 @@ import {
10
10
  ServiceInputTypes,
11
11
  ServiceOutputTypes,
12
12
  } from "../EC2Client";
13
- import { DescribeLocalGatewayVirtualInterfacesRequest } from "../models/models_3";
14
- import { DescribeLocalGatewayVirtualInterfacesResult } from "../models/models_4";
13
+ import {
14
+ DescribeLocalGatewayVirtualInterfacesRequest,
15
+ DescribeLocalGatewayVirtualInterfacesResult,
16
+ } from "../models/models_4";
15
17
  export interface DescribeLocalGatewayVirtualInterfacesCommandInput
16
18
  extends DescribeLocalGatewayVirtualInterfacesRequest {}
17
19
  export interface DescribeLocalGatewayVirtualInterfacesCommandOutput
@@ -10,10 +10,8 @@ import {
10
10
  ServiceInputTypes,
11
11
  ServiceOutputTypes,
12
12
  } from "../EC2Client";
13
- import {
14
- MonitorInstancesRequest,
15
- MonitorInstancesResult,
16
- } from "../models/models_5";
13
+ import { MonitorInstancesRequest } from "../models/models_5";
14
+ import { MonitorInstancesResult } from "../models/models_6";
17
15
  export interface MonitorInstancesCommandInput extends MonitorInstancesRequest {}
18
16
  export interface MonitorInstancesCommandOutput
19
17
  extends MonitorInstancesResult,