@aws-sdk/client-ec2 3.267.0 → 3.271.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 (68) hide show
  1. package/dist-cjs/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
  2. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +1 -2
  3. package/dist-cjs/endpoint/ruleset.js +3 -3
  4. package/dist-cjs/models/models_0.js +7 -7
  5. package/dist-cjs/models/models_1.js +18 -10
  6. package/dist-cjs/models/models_2.js +9 -9
  7. package/dist-cjs/models/models_3.js +10 -10
  8. package/dist-cjs/models/models_4.js +29 -10
  9. package/dist-cjs/models/models_5.js +9 -6
  10. package/dist-cjs/models/models_6.js +23 -10
  11. package/dist-cjs/models/models_7.js +5 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +10 -0
  13. package/dist-cjs/waiters/index.js +1 -0
  14. package/dist-cjs/waiters/waitForSnapshotImported.js +59 -0
  15. package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
  16. package/dist-es/commands/UnassignIpv6AddressesCommand.js +1 -2
  17. package/dist-es/endpoint/ruleset.js +3 -3
  18. package/dist-es/models/models_0.js +5 -5
  19. package/dist-es/models/models_1.js +12 -3
  20. package/dist-es/models/models_2.js +3 -3
  21. package/dist-es/models/models_3.js +3 -3
  22. package/dist-es/models/models_4.js +22 -3
  23. package/dist-es/models/models_5.js +7 -5
  24. package/dist-es/models/models_6.js +17 -3
  25. package/dist-es/models/models_7.js +3 -0
  26. package/dist-es/protocols/Aws_ec2.js +10 -0
  27. package/dist-es/waiters/index.js +1 -0
  28. package/dist-es/waiters/waitForSnapshotImported.js +54 -0
  29. package/dist-types/EC2.d.ts +6 -13
  30. package/dist-types/EC2Client.d.ts +15 -15
  31. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -2
  32. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -5
  34. package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -5
  35. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -2
  36. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  37. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  38. package/dist-types/models/models_0.d.ts +14 -5
  39. package/dist-types/models/models_1.d.ts +36 -40
  40. package/dist-types/models/models_2.d.ts +35 -12
  41. package/dist-types/models/models_3.d.ts +65 -304
  42. package/dist-types/models/models_4.d.ts +399 -148
  43. package/dist-types/models/models_5.d.ts +42 -23
  44. package/dist-types/models/models_6.d.ts +13 -21
  45. package/dist-types/models/models_7.d.ts +18 -0
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  47. package/dist-types/runtimeConfig.d.ts +1 -1
  48. package/dist-types/runtimeConfig.native.d.ts +4 -4
  49. package/dist-types/ts3.4/EC2Client.d.ts +4 -4
  50. package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  53. package/dist-types/ts3.4/models/models_0.d.ts +5 -4
  54. package/dist-types/ts3.4/models/models_1.d.ts +4 -13
  55. package/dist-types/ts3.4/models/models_2.d.ts +12 -7
  56. package/dist-types/ts3.4/models/models_3.d.ts +8 -61
  57. package/dist-types/ts3.4/models/models_4.d.ts +81 -8
  58. package/dist-types/ts3.4/models/models_5.d.ts +8 -5
  59. package/dist-types/ts3.4/models/models_6.d.ts +7 -10
  60. package/dist-types/ts3.4/models/models_7.d.ts +8 -0
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  64. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  65. package/dist-types/ts3.4/waiters/waitForSnapshotImported.d.ts +11 -0
  66. package/dist-types/waiters/index.d.ts +1 -0
  67. package/dist-types/waiters/waitForSnapshotImported.d.ts +14 -0
  68. package/package.json +31 -31
@@ -2,7 +2,20 @@ import { _InstanceType, AccessScopeAnalysisFinding, AddressAttribute, AddressTra
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, SnapshotDetail, SnapshotTaskDetail, StatisticType, VirtualizationType } from "./models_3";
5
- import { AnalysisStatus, ArchitectureType, VolumeStatusAction, VolumeStatusAttachmentStatus, VolumeStatusDetails, VolumeStatusEvent } from "./models_4";
5
+ import { AnalysisStatus, ArchitectureType, VolumeStatusAction, VolumeStatusAttachmentStatus, VolumeStatusEvent, VolumeStatusName } from "./models_4";
6
+ /**
7
+ * <p>Describes a volume status.</p>
8
+ */
9
+ export interface VolumeStatusDetails {
10
+ /**
11
+ * <p>The name of the volume status.</p>
12
+ */
13
+ Name?: VolumeStatusName | string;
14
+ /**
15
+ * <p>The intended status of the volume status.</p>
16
+ */
17
+ Status?: string;
18
+ }
6
19
  export declare enum VolumeStatusInfoStatus {
7
20
  impaired = "impaired",
8
21
  insufficient_data = "insufficient-data",
@@ -56,8 +69,8 @@ export interface VolumeStatusItem {
56
69
  }
57
70
  export interface DescribeVolumeStatusResult {
58
71
  /**
59
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
60
- * when there are no more results to return.</p>
72
+ * <p>The token to include in another request to get the next page of items.
73
+ * This value is <code>null</code> when there are no more items to return.</p>
61
74
  */
62
75
  NextToken?: string;
63
76
  /**
@@ -169,12 +182,13 @@ export interface DescribeVpcClassicLinkResult {
169
182
  }
170
183
  export interface DescribeVpcClassicLinkDnsSupportRequest {
171
184
  /**
172
- * <p>The maximum number of results to return with a single call.
173
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
185
+ * <p>The maximum number of items to return for this request.
186
+ * To get the next page of items, make another request with the token returned in the output.
187
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
174
188
  */
175
189
  MaxResults?: number;
176
190
  /**
177
- * <p>The token for the next page of results.</p>
191
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
178
192
  */
179
193
  NextToken?: string;
180
194
  /**
@@ -197,7 +211,7 @@ export interface ClassicLinkDnsSupport {
197
211
  }
198
212
  export interface DescribeVpcClassicLinkDnsSupportResult {
199
213
  /**
200
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
214
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
201
215
  */
202
216
  NextToken?: string;
203
217
  /**
@@ -789,12 +803,13 @@ export interface DescribeVpcPeeringConnectionsRequest {
789
803
  */
790
804
  VpcPeeringConnectionIds?: string[];
791
805
  /**
792
- * <p>The token for the next page of results.</p>
806
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
793
807
  */
794
808
  NextToken?: string;
795
809
  /**
796
- * <p>The maximum number of results to return with a single call.
797
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
810
+ * <p>The maximum number of items to return for this request.
811
+ * To get the next page of items, make another request with the token returned in the output.
812
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
798
813
  */
799
814
  MaxResults?: number;
800
815
  }
@@ -804,7 +819,7 @@ export interface DescribeVpcPeeringConnectionsResult {
804
819
  */
805
820
  VpcPeeringConnections?: VpcPeeringConnection[];
806
821
  /**
807
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
822
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
808
823
  */
809
824
  NextToken?: string;
810
825
  }
@@ -897,12 +912,13 @@ export interface DescribeVpcsRequest {
897
912
  */
898
913
  DryRun?: boolean;
899
914
  /**
900
- * <p>The token for the next page of results.</p>
915
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
901
916
  */
902
917
  NextToken?: string;
903
918
  /**
904
- * <p>The maximum number of results to return with a single call.
905
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
919
+ * <p>The maximum number of items to return for this request.
920
+ * To get the next page of items, make another request with the token returned in the output.
921
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
906
922
  */
907
923
  MaxResults?: number;
908
924
  }
@@ -912,7 +928,7 @@ export interface DescribeVpcsResult {
912
928
  */
913
929
  Vpcs?: Vpc[];
914
930
  /**
915
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
931
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
916
932
  */
917
933
  NextToken?: string;
918
934
  }
@@ -5687,12 +5703,14 @@ export interface ListImagesInRecycleBinResult {
5687
5703
  }
5688
5704
  export interface ListSnapshotsInRecycleBinRequest {
5689
5705
  /**
5690
- * <p>The maximum number of results to return with a single call.
5691
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
5706
+ * <p>The maximum number of items to return for this request.
5707
+ * To get the next page of items, make another request with the token returned in the output.
5708
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
5692
5709
  */
5693
5710
  MaxResults?: number;
5694
5711
  /**
5695
- * <p>The token for the next page of results.</p>
5712
+ * <p>The token returned from a previous paginated request.
5713
+ * Pagination continues from the end of the items returned by the previous request.</p>
5696
5714
  */
5697
5715
  NextToken?: string;
5698
5716
  /**
@@ -5738,7 +5756,8 @@ export interface ListSnapshotsInRecycleBinResult {
5738
5756
  */
5739
5757
  Snapshots?: SnapshotRecycleBinInfo[];
5740
5758
  /**
5741
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
5759
+ * <p>The token to include in another request to get the next page of items.
5760
+ * This value is <code>null</code> when there are no more items to return.</p>
5742
5761
  */
5743
5762
  NextToken?: string;
5744
5763
  }
@@ -5764,10 +5783,10 @@ export interface ModifyAddressAttributeResult {
5764
5783
  */
5765
5784
  Address?: AddressAttribute;
5766
5785
  }
5767
- export declare enum ModifyAvailabilityZoneOptInStatus {
5768
- not_opted_in = "not-opted-in",
5769
- opted_in = "opted-in"
5770
- }
5786
+ /**
5787
+ * @internal
5788
+ */
5789
+ export declare const VolumeStatusDetailsFilterSensitiveLog: (obj: VolumeStatusDetails) => any;
5771
5790
  /**
5772
5791
  * @internal
5773
5792
  */
@@ -1,9 +1,13 @@
1
- import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthorizationRuleStatus, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, SelfServicePortal, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, CreditSpecificationRequest, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RequestIpamResourceTag, RuleAction, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
1
+ import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthorizationRuleStatus, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, CreditSpecificationRequest, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ClientVpnConnectionStatus, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, Monitoring, PermissionGroup, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamResourceCidr, ModifyAvailabilityZoneOptInStatus, Purchase, UnlimitedSupportedInstanceFamily } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily } from "./models_5";
7
+ export declare enum ModifyAvailabilityZoneOptInStatus {
8
+ not_opted_in = "not-opted-in",
9
+ opted_in = "opted-in"
10
+ }
7
11
  export interface ModifyAvailabilityZoneGroupRequest {
8
12
  /**
9
13
  * <p>The name of the Availability Zone group, Local Zone group, or Wavelength Zone
@@ -451,6 +455,12 @@ export interface ModifyHostsRequest {
451
455
  * cannot specify <b>InstanceFamily</b> and <b>InstanceType</b> in the same request.</p>
452
456
  */
453
457
  InstanceFamily?: string;
458
+ /**
459
+ * <p>Indicates whether to enable or disable host maintenance for the Dedicated Host. For
460
+ * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html"> Host
461
+ * maintenance</a> in the <i>Amazon EC2 User Guide</i>.</p>
462
+ */
463
+ HostMaintenance?: HostMaintenance | string;
454
464
  }
455
465
  export interface ModifyHostsResult {
456
466
  /**
@@ -6355,20 +6365,6 @@ export interface TerminateInstancesResult {
6355
6365
  */
6356
6366
  TerminatingInstances?: InstanceStateChange[];
6357
6367
  }
6358
- export interface UnassignIpv6AddressesRequest {
6359
- /**
6360
- * <p>The IPv6 addresses to unassign from the network interface.</p>
6361
- */
6362
- Ipv6Addresses?: string[];
6363
- /**
6364
- * <p>The IPv6 prefixes to unassign from the network interface.</p>
6365
- */
6366
- Ipv6Prefixes?: string[];
6367
- /**
6368
- * <p>The ID of the network interface.</p>
6369
- */
6370
- NetworkInterfaceId: string | undefined;
6371
- }
6372
6368
  /**
6373
6369
  * @internal
6374
6370
  */
@@ -7513,7 +7509,3 @@ export declare const TerminateInstancesRequestFilterSensitiveLog: (obj: Terminat
7513
7509
  * @internal
7514
7510
  */
7515
7511
  export declare const TerminateInstancesResultFilterSensitiveLog: (obj: TerminateInstancesResult) => any;
7516
- /**
7517
- * @internal
7518
- */
7519
- export declare const UnassignIpv6AddressesRequestFilterSensitiveLog: (obj: UnassignIpv6AddressesRequest) => any;
@@ -1,5 +1,19 @@
1
1
  import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
2
2
  import { InstanceMonitoring } from "./models_6";
3
+ export interface UnassignIpv6AddressesRequest {
4
+ /**
5
+ * <p>The IPv6 addresses to unassign from the network interface.</p>
6
+ */
7
+ Ipv6Addresses?: string[];
8
+ /**
9
+ * <p>The IPv6 prefixes to unassign from the network interface.</p>
10
+ */
11
+ Ipv6Prefixes?: string[];
12
+ /**
13
+ * <p>The ID of the network interface.</p>
14
+ */
15
+ NetworkInterfaceId: string | undefined;
16
+ }
3
17
  export interface UnassignIpv6AddressesResult {
4
18
  /**
5
19
  * <p>The ID of the network interface.</p>
@@ -183,6 +197,10 @@ export interface WithdrawByoipCidrResult {
183
197
  */
184
198
  ByoipCidr?: ByoipCidr;
185
199
  }
200
+ /**
201
+ * @internal
202
+ */
203
+ export declare const UnassignIpv6AddressesRequestFilterSensitiveLog: (obj: UnassignIpv6AddressesRequest) => any;
186
204
  /**
187
205
  * @internal
188
206
  */
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
24
24
  utf8Decoder: import("@aws-sdk/types").Decoder;
25
25
  utf8Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
- logger: import("@aws-sdk/types").Logger;
28
27
  serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
29
  endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
24
24
  utf8Decoder: import("@aws-sdk/types").Decoder;
25
25
  utf8Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
- logger: import("@aws-sdk/types").Logger;
28
27
  serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
29
  endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -15,15 +15,15 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
15
15
  utf8Decoder: import("@aws-sdk/types").Decoder;
16
16
  utf8Encoder: import("@aws-sdk/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
- retryMode: string | import("@aws-sdk/types").Provider<string>;
20
- logger: import("@aws-sdk/types").Logger;
18
+ serviceId: string;
21
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
- serviceId: string;
24
21
  region: string | import("@aws-sdk/types").Provider<any>;
25
22
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
23
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ logger: import("@aws-sdk/types").Logger;
27
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
28
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -3598,15 +3598,15 @@ export interface ClientDefaults
3598
3598
  utf8Encoder?: __Encoder;
3599
3599
  runtime?: string;
3600
3600
  disableHostPrefix?: boolean;
3601
- maxAttempts?: number | __Provider<number>;
3602
- retryMode?: string | __Provider<string>;
3603
- logger?: __Logger;
3601
+ serviceId?: string;
3604
3602
  useDualstackEndpoint?: boolean | __Provider<boolean>;
3605
3603
  useFipsEndpoint?: boolean | __Provider<boolean>;
3606
- serviceId?: string;
3607
3604
  region?: string | __Provider<string>;
3608
3605
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
3609
3606
  defaultUserAgentProvider?: Provider<__UserAgent>;
3607
+ maxAttempts?: number | __Provider<number>;
3608
+ retryMode?: string | __Provider<string>;
3609
+ logger?: __Logger;
3610
3610
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
3611
3611
  }
3612
3612
  declare type EC2ClientConfigType = Partial<
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- DeleteTrafficMirrorSessionRequest,
16
- DeleteTrafficMirrorSessionResult,
17
- } from "../models/models_2";
14
+ import { DeleteTrafficMirrorSessionRequest } from "../models/models_2";
15
+ import { DeleteTrafficMirrorSessionResult } from "../models/models_3";
18
16
  export interface DeleteTrafficMirrorSessionCommandInput
19
17
  extends DeleteTrafficMirrorSessionRequest {}
20
18
  export interface DeleteTrafficMirrorSessionCommandOutput
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { UnassignIpv6AddressesRequest } from "../models/models_6";
15
- import { UnassignIpv6AddressesResult } from "../models/models_7";
14
+ import {
15
+ UnassignIpv6AddressesRequest,
16
+ UnassignIpv6AddressesResult,
17
+ } from "../models/models_7";
16
18
  export interface UnassignIpv6AddressesCommandInput
17
19
  extends UnassignIpv6AddressesRequest {}
18
20
  export interface UnassignIpv6AddressesCommandOutput
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -689,6 +689,10 @@ export declare enum AutoPlacement {
689
689
  off = "off",
690
690
  on = "on",
691
691
  }
692
+ export declare enum HostMaintenance {
693
+ off = "off",
694
+ on = "on",
695
+ }
692
696
  export declare enum HostRecovery {
693
697
  off = "off",
694
698
  on = "on",
@@ -703,6 +707,7 @@ export interface AllocateHostsRequest {
703
707
  TagSpecifications?: TagSpecification[];
704
708
  HostRecovery?: HostRecovery | string;
705
709
  OutpostArn?: string;
710
+ HostMaintenance?: HostMaintenance | string;
706
711
  }
707
712
  export interface AllocateHostsResult {
708
713
  HostIds?: string[];
@@ -2486,10 +2491,6 @@ export interface ConnectionLogOptions {
2486
2491
  CloudwatchLogGroup?: string;
2487
2492
  CloudwatchLogStream?: string;
2488
2493
  }
2489
- export declare enum SelfServicePortal {
2490
- disabled = "disabled",
2491
- enabled = "enabled",
2492
- }
2493
2494
  export declare const AcceleratorCountFilterSensitiveLog: (
2494
2495
  obj: AcceleratorCount
2495
2496
  ) => any;
@@ -25,8 +25,6 @@ import {
25
25
  Protocol,
26
26
  ReservedInstancesListing,
27
27
  ResourceType,
28
- RouteTableAssociationState,
29
- SelfServicePortal,
30
28
  SubnetIpv6CidrBlockAssociation,
31
29
  Tag,
32
30
  TagSpecification,
@@ -35,6 +33,10 @@ import {
35
33
  VpcIpv6CidrBlockAssociation,
36
34
  WeekDay,
37
35
  } from "./models_0";
36
+ export declare enum SelfServicePortal {
37
+ disabled = "disabled",
38
+ enabled = "enabled",
39
+ }
38
40
  export declare enum TransportProtocol {
39
41
  tcp = "tcp",
40
42
  udp = "udp",
@@ -1959,14 +1961,6 @@ export interface CreateRouteTableRequest {
1959
1961
  VpcId: string | undefined;
1960
1962
  TagSpecifications?: TagSpecification[];
1961
1963
  }
1962
- export interface RouteTableAssociation {
1963
- Main?: boolean;
1964
- RouteTableAssociationId?: string;
1965
- RouteTableId?: string;
1966
- SubnetId?: string;
1967
- GatewayId?: string;
1968
- AssociationState?: RouteTableAssociationState;
1969
- }
1970
1964
  export declare const CreateClientVpnEndpointRequestFilterSensitiveLog: (
1971
1965
  obj: CreateClientVpnEndpointRequest
1972
1966
  ) => any;
@@ -2622,6 +2616,3 @@ export declare const CreateRouteResultFilterSensitiveLog: (
2622
2616
  export declare const CreateRouteTableRequestFilterSensitiveLog: (
2623
2617
  obj: CreateRouteTableRequest
2624
2618
  ) => any;
2625
- export declare const RouteTableAssociationFilterSensitiveLog: (
2626
- obj: RouteTableAssociation
2627
- ) => any;
@@ -6,6 +6,7 @@ import {
6
6
  DynamicRoutingValue,
7
7
  InstanceEventWindowState,
8
8
  Ipv6SupportValue,
9
+ RouteTableAssociationState,
9
10
  Tag,
10
11
  TagSpecification,
11
12
  TransitGatewayAttachmentResourceType,
@@ -37,12 +38,19 @@ import {
37
38
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
38
39
  LocalGatewayRouteTableVpcAssociation,
39
40
  ManagedPrefixList,
40
- RouteTableAssociation,
41
41
  Subnet,
42
42
  Tenancy,
43
43
  VolumeType,
44
44
  Vpc,
45
45
  } from "./models_1";
46
+ export interface RouteTableAssociation {
47
+ Main?: boolean;
48
+ RouteTableAssociationId?: string;
49
+ RouteTableId?: string;
50
+ SubnetId?: string;
51
+ GatewayId?: string;
52
+ AssociationState?: RouteTableAssociationState;
53
+ }
46
54
  export interface PropagatingVgw {
47
55
  GatewayId?: string;
48
56
  }
@@ -1711,9 +1719,9 @@ export interface DeleteTrafficMirrorSessionRequest {
1711
1719
  TrafficMirrorSessionId: string | undefined;
1712
1720
  DryRun?: boolean;
1713
1721
  }
1714
- export interface DeleteTrafficMirrorSessionResult {
1715
- TrafficMirrorSessionId?: string;
1716
- }
1722
+ export declare const RouteTableAssociationFilterSensitiveLog: (
1723
+ obj: RouteTableAssociation
1724
+ ) => any;
1717
1725
  export declare const PropagatingVgwFilterSensitiveLog: (
1718
1726
  obj: PropagatingVgw
1719
1727
  ) => any;
@@ -2417,6 +2425,3 @@ export declare const DeleteTrafficMirrorFilterRuleResultFilterSensitiveLog: (
2417
2425
  export declare const DeleteTrafficMirrorSessionRequestFilterSensitiveLog: (
2418
2426
  obj: DeleteTrafficMirrorSessionRequest
2419
2427
  ) => any;
2420
- export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (
2421
- obj: DeleteTrafficMirrorSessionResult
2422
- ) => any;
@@ -23,8 +23,8 @@ import {
23
23
  FleetCapacityReservation,
24
24
  FleetCapacityReservationTenancy,
25
25
  FleetInstanceMatchCriteria,
26
+ HostMaintenance,
26
27
  HostRecovery,
27
- IamInstanceProfile,
28
28
  IamInstanceProfileAssociation,
29
29
  InstanceEventWindow,
30
30
  Tag,
@@ -63,7 +63,6 @@ import {
63
63
  LaunchTemplateAndOverridesResponse,
64
64
  LogDestinationType,
65
65
  NetworkInterfaceStatus,
66
- Placement,
67
66
  PlatformValues,
68
67
  SpotAllocationStrategy,
69
68
  SpotInstanceInterruptionBehavior,
@@ -86,6 +85,9 @@ import {
86
85
  VerifiedAccessEndpoint,
87
86
  VerifiedAccessGroup,
88
87
  } from "./models_2";
88
+ export interface DeleteTrafficMirrorSessionResult {
89
+ TrafficMirrorSessionId?: string;
90
+ }
89
91
  export interface DeleteTrafficMirrorTargetRequest {
90
92
  TrafficMirrorTargetId: string | undefined;
91
93
  DryRun?: boolean;
@@ -1315,6 +1317,7 @@ export interface Host {
1315
1317
  AvailabilityZoneId?: string;
1316
1318
  MemberOfServiceLinkedResourceGroup?: boolean;
1317
1319
  OutpostArn?: string;
1320
+ HostMaintenance?: HostMaintenance | string;
1318
1321
  }
1319
1322
  export interface DescribeHostsResult {
1320
1323
  Hosts?: Host[];
@@ -1786,64 +1789,9 @@ export interface InstanceState {
1786
1789
  Code?: number;
1787
1790
  Name?: InstanceStateName | string;
1788
1791
  }
1789
- export interface Instance {
1790
- AmiLaunchIndex?: number;
1791
- ImageId?: string;
1792
- InstanceId?: string;
1793
- InstanceType?: _InstanceType | string;
1794
- KernelId?: string;
1795
- KeyName?: string;
1796
- LaunchTime?: Date;
1797
- Monitoring?: Monitoring;
1798
- Placement?: Placement;
1799
- Platform?: PlatformValues | string;
1800
- PrivateDnsName?: string;
1801
- PrivateIpAddress?: string;
1802
- ProductCodes?: ProductCode[];
1803
- PublicDnsName?: string;
1804
- PublicIpAddress?: string;
1805
- RamdiskId?: string;
1806
- State?: InstanceState;
1807
- StateTransitionReason?: string;
1808
- SubnetId?: string;
1809
- VpcId?: string;
1810
- Architecture?: ArchitectureValues | string;
1811
- BlockDeviceMappings?: InstanceBlockDeviceMapping[];
1812
- ClientToken?: string;
1813
- EbsOptimized?: boolean;
1814
- EnaSupport?: boolean;
1815
- Hypervisor?: HypervisorType | string;
1816
- IamInstanceProfile?: IamInstanceProfile;
1817
- InstanceLifecycle?: InstanceLifecycleType | string;
1818
- ElasticGpuAssociations?: ElasticGpuAssociation[];
1819
- ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[];
1820
- NetworkInterfaces?: InstanceNetworkInterface[];
1821
- OutpostArn?: string;
1822
- RootDeviceName?: string;
1823
- RootDeviceType?: DeviceType | string;
1824
- SecurityGroups?: GroupIdentifier[];
1825
- SourceDestCheck?: boolean;
1826
- SpotInstanceRequestId?: string;
1827
- SriovNetSupport?: string;
1828
- StateReason?: StateReason;
1829
- Tags?: Tag[];
1830
- VirtualizationType?: VirtualizationType | string;
1831
- CpuOptions?: CpuOptions;
1832
- CapacityReservationId?: string;
1833
- CapacityReservationSpecification?: CapacityReservationSpecificationResponse;
1834
- HibernationOptions?: HibernationOptions;
1835
- Licenses?: LicenseConfiguration[];
1836
- MetadataOptions?: InstanceMetadataOptionsResponse;
1837
- EnclaveOptions?: EnclaveOptions;
1838
- BootMode?: BootModeValues | string;
1839
- PlatformDetails?: string;
1840
- UsageOperation?: string;
1841
- UsageOperationUpdateTime?: Date;
1842
- PrivateDnsNameOptions?: PrivateDnsNameOptionsResponse;
1843
- Ipv6Address?: string;
1844
- TpmSupport?: string;
1845
- MaintenanceOptions?: InstanceMaintenanceOptions;
1846
- }
1792
+ export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (
1793
+ obj: DeleteTrafficMirrorSessionResult
1794
+ ) => any;
1847
1795
  export declare const DeleteTrafficMirrorTargetRequestFilterSensitiveLog: (
1848
1796
  obj: DeleteTrafficMirrorTargetRequest
1849
1797
  ) => any;
@@ -2572,4 +2520,3 @@ export declare const PrivateDnsNameOptionsResponseFilterSensitiveLog: (
2572
2520
  export declare const InstanceStateFilterSensitiveLog: (
2573
2521
  obj: InstanceState
2574
2522
  ) => any;
2575
- export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;