@aws-sdk/client-ec2 3.703.0 → 3.709.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 (76) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +207 -65
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/ModifyInstanceNetworkPerformanceOptionsCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_1.js +5 -14
  7. package/dist-es/models/models_2.js +14 -0
  8. package/dist-es/models/models_3.js +0 -6
  9. package/dist-es/models/models_4.js +11 -21
  10. package/dist-es/models/models_5.js +21 -0
  11. package/dist-es/models/models_6.js +0 -15
  12. package/dist-es/models/models_7.js +15 -0
  13. package/dist-es/protocols/Aws_ec2.js +114 -0
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -0
  17. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -0
  18. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +2 -1
  21. package/dist-types/commands/DeleteCoipCidrCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +3 -0
  26. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -0
  28. package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +2 -1
  29. package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  30. package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  31. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +3 -0
  32. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +75 -0
  34. package/dist-types/commands/RunInstancesCommand.d.ts +6 -0
  35. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
  38. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -2
  39. package/dist-types/commands/index.d.ts +1 -0
  40. package/dist-types/models/models_1.d.ts +69 -81
  41. package/dist-types/models/models_2.d.ts +82 -48
  42. package/dist-types/models/models_3.d.ts +48 -107
  43. package/dist-types/models/models_4.d.ts +157 -83
  44. package/dist-types/models/models_5.d.ts +70 -76
  45. package/dist-types/models/models_6.d.ts +77 -81
  46. package/dist-types/models/models_7.d.ts +168 -158
  47. package/dist-types/models/models_8.d.ts +158 -1
  48. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  49. package/dist-types/ts3.4/EC2.d.ts +23 -0
  50. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  51. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/CreateManagedPrefixListCommand.d.ts +4 -2
  53. package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/DeleteCoipCidrCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  67. package/dist-types/ts3.4/models/models_1.d.ts +19 -31
  68. package/dist-types/ts3.4/models/models_2.d.ts +32 -14
  69. package/dist-types/ts3.4/models/models_3.d.ts +12 -21
  70. package/dist-types/ts3.4/models/models_4.d.ts +34 -33
  71. package/dist-types/ts3.4/models/models_5.d.ts +32 -23
  72. package/dist-types/ts3.4/models/models_6.d.ts +20 -31
  73. package/dist-types/ts3.4/models/models_7.d.ts +46 -38
  74. package/dist-types/ts3.4/models/models_8.d.ts +37 -1
  75. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  76. package/package.json +37 -37
@@ -1,7 +1,112 @@
1
- import { AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, PathComponent, Tag } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, Ec2InstanceConnectEndpoint, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
1
+ import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, PathComponent, Tag } from "./models_0";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, Ec2InstanceConnectEndpoint, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
3
  import { GroupIdentifier, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask } from "./models_2";
4
- import { Byoasn, Filter, FleetActivityStatus, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
4
+ import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeFleetInstancesResult {
9
+ /**
10
+ * <p>The running instances. This list is refreshed periodically and might be out of
11
+ * date.</p>
12
+ * @public
13
+ */
14
+ ActiveInstances?: ActiveInstance[] | undefined;
15
+ /**
16
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
17
+ * are no more items to return.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ /**
22
+ * <p>The ID of the EC2 Fleet.</p>
23
+ * @public
24
+ */
25
+ FleetId?: string | undefined;
26
+ }
27
+ /**
28
+ * @public
29
+ */
30
+ export interface DescribeFleetsRequest {
31
+ /**
32
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
33
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
34
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
35
+ * @public
36
+ */
37
+ DryRun?: boolean | undefined;
38
+ /**
39
+ * <p>The maximum number of items to return for this request.
40
+ * To get the next page of items, make another request with the token returned in the output.
41
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
42
+ * @public
43
+ */
44
+ MaxResults?: number | undefined;
45
+ /**
46
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
47
+ * @public
48
+ */
49
+ NextToken?: string | undefined;
50
+ /**
51
+ * <p>The IDs of the EC2 Fleets.</p>
52
+ * <note>
53
+ * <p>If a fleet is of type <code>instant</code>, you must specify the fleet ID, otherwise
54
+ * it does not appear in the response.</p>
55
+ * </note>
56
+ * @public
57
+ */
58
+ FleetIds?: string[] | undefined;
59
+ /**
60
+ * <p>The filters.</p>
61
+ * <ul>
62
+ * <li>
63
+ * <p>
64
+ * <code>activity-status</code> - The progress of the EC2 Fleet ( <code>error</code> |
65
+ * <code>pending-fulfillment</code> | <code>pending-termination</code> |
66
+ * <code>fulfilled</code>).</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>excess-capacity-termination-policy</code> - Indicates whether to terminate
71
+ * running instances if the target capacity is decreased below the current EC2 Fleet size
72
+ * (<code>true</code> | <code>false</code>).</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>fleet-state</code> - The state of the EC2 Fleet (<code>submitted</code> |
77
+ * <code>active</code> | <code>deleted</code> | <code>failed</code> |
78
+ * <code>deleted-running</code> | <code>deleted-terminating</code> |
79
+ * <code>modifying</code>).</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>
83
+ * <code>replace-unhealthy-instances</code> - Indicates whether EC2 Fleet should replace
84
+ * unhealthy instances (<code>true</code> | <code>false</code>).</p>
85
+ * </li>
86
+ * <li>
87
+ * <p>
88
+ * <code>type</code> - The type of request (<code>instant</code> |
89
+ * <code>request</code> | <code>maintain</code>).</p>
90
+ * </li>
91
+ * </ul>
92
+ * @public
93
+ */
94
+ Filters?: Filter[] | undefined;
95
+ }
96
+ /**
97
+ * @public
98
+ * @enum
99
+ */
100
+ export declare const FleetActivityStatus: {
101
+ readonly ERROR: "error";
102
+ readonly FULFILLED: "fulfilled";
103
+ readonly PENDING_FULFILLMENT: "pending_fulfillment";
104
+ readonly PENDING_TERMINATION: "pending_termination";
105
+ };
106
+ /**
107
+ * @public
108
+ */
109
+ export type FleetActivityStatus = (typeof FleetActivityStatus)[keyof typeof FleetActivityStatus];
5
110
  /**
6
111
  * <p>Describes the instances that could not be launched by the fleet.</p>
7
112
  * @public
@@ -4363,6 +4468,12 @@ export interface DescribeInstancesRequest {
4363
4468
  * </li>
4364
4469
  * <li>
4365
4470
  * <p>
4471
+ * <code>network-performance-options.bandwidth-weighting</code> - Where the performance boost
4472
+ * is applied, if applicable. Valid values: <code>default</code>, <code>vpc-1</code>,
4473
+ * <code>ebs-1</code>.</p>
4474
+ * </li>
4475
+ * <li>
4476
+ * <p>
4366
4477
  * <code>operator.managed</code> - A Boolean that indicates whether this is a
4367
4478
  * managed instance.</p>
4368
4479
  * </li>
@@ -5225,6 +5336,20 @@ export interface InstanceNetworkInterface {
5225
5336
  */
5226
5337
  Operator?: OperatorResponse | undefined;
5227
5338
  }
5339
+ /**
5340
+ * <p>With network performance options, you can adjust your bandwidth preferences to meet
5341
+ * the needs of the workload that runs on your instance.</p>
5342
+ * @public
5343
+ */
5344
+ export interface InstanceNetworkPerformanceOptions {
5345
+ /**
5346
+ * <p>When you configure network bandwidth weighting, you can boost your baseline bandwidth for either
5347
+ * networking or EBS by up to 25%. The total available baseline bandwidth for your instance remains
5348
+ * the same. The default option uses the standard bandwidth configuration for your instance type.</p>
5349
+ * @public
5350
+ */
5351
+ BandwidthWeighting?: InstanceBandwidthWeighting | undefined;
5352
+ }
5228
5353
  /**
5229
5354
  * <p>Describes the options for instance hostnames.</p>
5230
5355
  * @public
@@ -5468,6 +5593,11 @@ export interface Instance {
5468
5593
  * @public
5469
5594
  */
5470
5595
  CurrentInstanceBootMode?: InstanceBootModeValues | undefined;
5596
+ /**
5597
+ * <p>Contains settings for the network performance options for your instance.</p>
5598
+ * @public
5599
+ */
5600
+ NetworkPerformanceOptions?: InstanceNetworkPerformanceOptions | undefined;
5471
5601
  /**
5472
5602
  * <p>The service provider that manages the instance.</p>
5473
5603
  * @public
@@ -6404,6 +6534,11 @@ export interface DescribeInstanceTypesRequest {
6404
6534
  * </li>
6405
6535
  * <li>
6406
6536
  * <p>
6537
+ * <code>network-info.bandwidth-weightings</code> - For instances that support bandwidth
6538
+ * weighting to boost performance (<code>default</code>, <code>vpc-1</code>, <code>ebs-1</code>).</p>
6539
+ * </li>
6540
+ * <li>
6541
+ * <p>
6407
6542
  * <code>network-info.efa-info.maximum-efa-interfaces</code> - The maximum number of Elastic
6408
6543
  * Fabric Adapters (EFAs) per instance.</p>
6409
6544
  * </li>
@@ -6978,6 +7113,19 @@ export interface MemoryInfo {
6978
7113
  */
6979
7114
  SizeInMiB?: number | undefined;
6980
7115
  }
7116
+ /**
7117
+ * @public
7118
+ * @enum
7119
+ */
7120
+ export declare const BandwidthWeightingType: {
7121
+ readonly DEFAULT: "default";
7122
+ readonly EBS_1: "ebs-1";
7123
+ readonly VPC_1: "vpc-1";
7124
+ };
7125
+ /**
7126
+ * @public
7127
+ */
7128
+ export type BandwidthWeightingType = (typeof BandwidthWeightingType)[keyof typeof BandwidthWeightingType];
6981
7129
  /**
6982
7130
  * <p>Describes the Elastic Fabric Adapters for the instance type.</p>
6983
7131
  * @public
@@ -7105,6 +7253,12 @@ export interface NetworkInfo {
7105
7253
  * @public
7106
7254
  */
7107
7255
  EnaSrdSupported?: boolean | undefined;
7256
+ /**
7257
+ * <p>A list of valid settings for configurable bandwidth weighting for the instance
7258
+ * type, if supported.</p>
7259
+ * @public
7260
+ */
7261
+ BandwidthWeightings?: BandwidthWeightingType[] | undefined;
7108
7262
  }
7109
7263
  /**
7110
7264
  * <p>Describes the cores available to the neuron accelerator.</p>
@@ -10346,17 +10500,6 @@ export interface DescribeNetworkInterfacesRequest {
10346
10500
  * </li>
10347
10501
  * <li>
10348
10502
  * <p>
10349
- * <code>operator.managed</code> - A Boolean that indicates whether this is a
10350
- * managed network interface.</p>
10351
- * </li>
10352
- * <li>
10353
- * <p>
10354
- * <code>operator.principal</code> - The principal that manages the network
10355
- * interface. Only valid for managed network interfaces, where <code>managed</code>
10356
- * is <code>true</code>.</p>
10357
- * </li>
10358
- * <li>
10359
- * <p>
10360
10503
  * <code>owner-id</code> - The Amazon Web Services account ID of the network interface owner.</p>
10361
10504
  * </li>
10362
10505
  * <li>
@@ -11040,75 +11183,6 @@ export interface DescribeReservedInstancesRequest {
11040
11183
  */
11041
11184
  OfferingType?: OfferingTypeValues | undefined;
11042
11185
  }
11043
- /**
11044
- * @public
11045
- * @enum
11046
- */
11047
- export declare const RIProductDescription: {
11048
- readonly Linux_UNIX: "Linux/UNIX";
11049
- readonly Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)";
11050
- readonly Windows: "Windows";
11051
- readonly Windows_Amazon_VPC_: "Windows (Amazon VPC)";
11052
- };
11053
- /**
11054
- * @public
11055
- */
11056
- export type RIProductDescription = (typeof RIProductDescription)[keyof typeof RIProductDescription];
11057
- /**
11058
- * @public
11059
- * @enum
11060
- */
11061
- export declare const RecurringChargeFrequency: {
11062
- readonly Hourly: "Hourly";
11063
- };
11064
- /**
11065
- * @public
11066
- */
11067
- export type RecurringChargeFrequency = (typeof RecurringChargeFrequency)[keyof typeof RecurringChargeFrequency];
11068
- /**
11069
- * <p>Describes a recurring charge.</p>
11070
- * @public
11071
- */
11072
- export interface RecurringCharge {
11073
- /**
11074
- * <p>The amount of the recurring charge.</p>
11075
- * @public
11076
- */
11077
- Amount?: number | undefined;
11078
- /**
11079
- * <p>The frequency of the recurring charge.</p>
11080
- * @public
11081
- */
11082
- Frequency?: RecurringChargeFrequency | undefined;
11083
- }
11084
- /**
11085
- * @public
11086
- * @enum
11087
- */
11088
- export declare const Scope: {
11089
- readonly AVAILABILITY_ZONE: "Availability Zone";
11090
- readonly REGIONAL: "Region";
11091
- };
11092
- /**
11093
- * @public
11094
- */
11095
- export type Scope = (typeof Scope)[keyof typeof Scope];
11096
- /**
11097
- * @public
11098
- * @enum
11099
- */
11100
- export declare const ReservedInstanceState: {
11101
- readonly active: "active";
11102
- readonly payment_failed: "payment-failed";
11103
- readonly payment_pending: "payment-pending";
11104
- readonly queued: "queued";
11105
- readonly queued_deleted: "queued-deleted";
11106
- readonly retired: "retired";
11107
- };
11108
- /**
11109
- * @public
11110
- */
11111
- export type ReservedInstanceState = (typeof ReservedInstanceState)[keyof typeof ReservedInstanceState];
11112
11186
  /**
11113
11187
  * @internal
11114
11188
  */
@@ -2,7 +2,76 @@ import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, Al
2
2
  import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, RouteTable, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, StatisticType } from "./models_3";
5
- import { AttributeBooleanValue, OfferingClassType, OfferingTypeValues, PermissionGroup, ProductCode, RecurringCharge, ReservedInstanceState, RIProductDescription, Scope } from "./models_4";
5
+ import { AttributeBooleanValue, OfferingClassType, OfferingTypeValues, PermissionGroup, ProductCode } from "./models_4";
6
+ /**
7
+ * @public
8
+ * @enum
9
+ */
10
+ export declare const RIProductDescription: {
11
+ readonly Linux_UNIX: "Linux/UNIX";
12
+ readonly Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)";
13
+ readonly Windows: "Windows";
14
+ readonly Windows_Amazon_VPC_: "Windows (Amazon VPC)";
15
+ };
16
+ /**
17
+ * @public
18
+ */
19
+ export type RIProductDescription = (typeof RIProductDescription)[keyof typeof RIProductDescription];
20
+ /**
21
+ * @public
22
+ * @enum
23
+ */
24
+ export declare const RecurringChargeFrequency: {
25
+ readonly Hourly: "Hourly";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type RecurringChargeFrequency = (typeof RecurringChargeFrequency)[keyof typeof RecurringChargeFrequency];
31
+ /**
32
+ * <p>Describes a recurring charge.</p>
33
+ * @public
34
+ */
35
+ export interface RecurringCharge {
36
+ /**
37
+ * <p>The amount of the recurring charge.</p>
38
+ * @public
39
+ */
40
+ Amount?: number | undefined;
41
+ /**
42
+ * <p>The frequency of the recurring charge.</p>
43
+ * @public
44
+ */
45
+ Frequency?: RecurringChargeFrequency | undefined;
46
+ }
47
+ /**
48
+ * @public
49
+ * @enum
50
+ */
51
+ export declare const Scope: {
52
+ readonly AVAILABILITY_ZONE: "Availability Zone";
53
+ readonly REGIONAL: "Region";
54
+ };
55
+ /**
56
+ * @public
57
+ */
58
+ export type Scope = (typeof Scope)[keyof typeof Scope];
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const ReservedInstanceState: {
64
+ readonly active: "active";
65
+ readonly payment_failed: "payment-failed";
66
+ readonly payment_pending: "payment-pending";
67
+ readonly queued: "queued";
68
+ readonly queued_deleted: "queued-deleted";
69
+ readonly retired: "retired";
70
+ };
71
+ /**
72
+ * @public
73
+ */
74
+ export type ReservedInstanceState = (typeof ReservedInstanceState)[keyof typeof ReservedInstanceState];
6
75
  /**
7
76
  * <p>Describes a Reserved Instance.</p>
8
77
  * @public
@@ -9721,81 +9790,6 @@ export interface EnableAllowedImagesSettingsRequest {
9721
9790
  */
9722
9791
  DryRun?: boolean | undefined;
9723
9792
  }
9724
- /**
9725
- * @public
9726
- */
9727
- export interface EnableAllowedImagesSettingsResult {
9728
- /**
9729
- * <p>Returns <code>enabled</code> or <code>audit-mode</code> if the request succeeds;
9730
- * otherwise, it returns an error.</p>
9731
- * @public
9732
- */
9733
- AllowedImagesSettingsState?: AllowedImagesSettingsEnabledState | undefined;
9734
- }
9735
- /**
9736
- * @public
9737
- */
9738
- export interface EnableAwsNetworkPerformanceMetricSubscriptionRequest {
9739
- /**
9740
- * <p>The source Region (like <code>us-east-1</code>) or Availability Zone ID (like <code>use1-az1</code>) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.</p>
9741
- * @public
9742
- */
9743
- Source?: string | undefined;
9744
- /**
9745
- * <p>The target Region (like <code>us-east-2</code>) or Availability Zone ID (like <code>use2-az2</code>) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.</p>
9746
- * @public
9747
- */
9748
- Destination?: string | undefined;
9749
- /**
9750
- * <p>The metric used for the enabled subscription.</p>
9751
- * @public
9752
- */
9753
- Metric?: MetricType | undefined;
9754
- /**
9755
- * <p>The statistic used for the enabled subscription.</p>
9756
- * @public
9757
- */
9758
- Statistic?: StatisticType | undefined;
9759
- /**
9760
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9761
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9762
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9763
- * @public
9764
- */
9765
- DryRun?: boolean | undefined;
9766
- }
9767
- /**
9768
- * @public
9769
- */
9770
- export interface EnableAwsNetworkPerformanceMetricSubscriptionResult {
9771
- /**
9772
- * <p>Indicates whether the subscribe action was successful.</p>
9773
- * @public
9774
- */
9775
- Output?: boolean | undefined;
9776
- }
9777
- /**
9778
- * @public
9779
- */
9780
- export interface EnableEbsEncryptionByDefaultRequest {
9781
- /**
9782
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9783
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9784
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9785
- * @public
9786
- */
9787
- DryRun?: boolean | undefined;
9788
- }
9789
- /**
9790
- * @public
9791
- */
9792
- export interface EnableEbsEncryptionByDefaultResult {
9793
- /**
9794
- * <p>The updated status of encryption by default.</p>
9795
- * @public
9796
- */
9797
- EbsEncryptionByDefault?: boolean | undefined;
9798
- }
9799
9793
  /**
9800
9794
  * @internal
9801
9795
  */
@@ -1,9 +1,84 @@
1
- import { AccessScopeAnalysisFinding, AddressAttribute, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem, UserTrustProviderType } from "./models_0";
1
+ import { AccessScopeAnalysisFinding, AddressAttribute, AllowedImagesSettingsEnabledState, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem, UserTrustProviderType } from "./models_0";
2
2
  import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationState, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, InstanceRequirementsRequest, IpamResourceTag, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
3
3
  import { NetworkInsightsAccessScopeContent, SSEType, SubnetCidrReservation, TransitGatewayPrefixListReference } from "./models_2";
4
4
  import { ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType } from "./models_3";
5
- import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
5
+ import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
6
  import { ManagedBy, SnapshotBlockPublicAccessState, TransitGatewayPropagation, TransitGatewayPropagationState } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface EnableAllowedImagesSettingsResult {
11
+ /**
12
+ * <p>Returns <code>enabled</code> or <code>audit-mode</code> if the request succeeds;
13
+ * otherwise, it returns an error.</p>
14
+ * @public
15
+ */
16
+ AllowedImagesSettingsState?: AllowedImagesSettingsEnabledState | undefined;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface EnableAwsNetworkPerformanceMetricSubscriptionRequest {
22
+ /**
23
+ * <p>The source Region (like <code>us-east-1</code>) or Availability Zone ID (like <code>use1-az1</code>) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.</p>
24
+ * @public
25
+ */
26
+ Source?: string | undefined;
27
+ /**
28
+ * <p>The target Region (like <code>us-east-2</code>) or Availability Zone ID (like <code>use2-az2</code>) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.</p>
29
+ * @public
30
+ */
31
+ Destination?: string | undefined;
32
+ /**
33
+ * <p>The metric used for the enabled subscription.</p>
34
+ * @public
35
+ */
36
+ Metric?: MetricType | undefined;
37
+ /**
38
+ * <p>The statistic used for the enabled subscription.</p>
39
+ * @public
40
+ */
41
+ Statistic?: StatisticType | undefined;
42
+ /**
43
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
44
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
45
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
46
+ * @public
47
+ */
48
+ DryRun?: boolean | undefined;
49
+ }
50
+ /**
51
+ * @public
52
+ */
53
+ export interface EnableAwsNetworkPerformanceMetricSubscriptionResult {
54
+ /**
55
+ * <p>Indicates whether the subscribe action was successful.</p>
56
+ * @public
57
+ */
58
+ Output?: boolean | undefined;
59
+ }
60
+ /**
61
+ * @public
62
+ */
63
+ export interface EnableEbsEncryptionByDefaultRequest {
64
+ /**
65
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
66
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
67
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
68
+ * @public
69
+ */
70
+ DryRun?: boolean | undefined;
71
+ }
72
+ /**
73
+ * @public
74
+ */
75
+ export interface EnableEbsEncryptionByDefaultResult {
76
+ /**
77
+ * <p>The updated status of encryption by default.</p>
78
+ * @public
79
+ */
80
+ EbsEncryptionByDefault?: boolean | undefined;
81
+ }
7
82
  /**
8
83
  * <p>Request to create a launch template for a Windows fast launch enabled AMI.</p>
9
84
  * <note>
@@ -7832,85 +7907,6 @@ export interface ModifyInstanceEventWindowResult {
7832
7907
  */
7833
7908
  InstanceEventWindow?: InstanceEventWindow | undefined;
7834
7909
  }
7835
- /**
7836
- * @public
7837
- */
7838
- export interface ModifyInstanceMaintenanceOptionsRequest {
7839
- /**
7840
- * <p>The ID of the instance.</p>
7841
- * @public
7842
- */
7843
- InstanceId: string | undefined;
7844
- /**
7845
- * <p>Disables the automatic recovery behavior of your instance or sets it to
7846
- * default.</p>
7847
- * @public
7848
- */
7849
- AutoRecovery?: InstanceAutoRecoveryState | undefined;
7850
- /**
7851
- * <p>Checks whether you have the required permissions for the action, without actually
7852
- * making the request, and provides an error response. If you have the required
7853
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
7854
- * <code>UnauthorizedOperation</code>.</p>
7855
- * @public
7856
- */
7857
- DryRun?: boolean | undefined;
7858
- }
7859
- /**
7860
- * @public
7861
- */
7862
- export interface ModifyInstanceMaintenanceOptionsResult {
7863
- /**
7864
- * <p>The ID of the instance.</p>
7865
- * @public
7866
- */
7867
- InstanceId?: string | undefined;
7868
- /**
7869
- * <p>Provides information on the current automatic recovery behavior of your
7870
- * instance.</p>
7871
- * @public
7872
- */
7873
- AutoRecovery?: InstanceAutoRecoveryState | undefined;
7874
- }
7875
- /**
7876
- * @public
7877
- * @enum
7878
- */
7879
- export declare const DefaultInstanceMetadataEndpointState: {
7880
- readonly disabled: "disabled";
7881
- readonly enabled: "enabled";
7882
- readonly no_preference: "no-preference";
7883
- };
7884
- /**
7885
- * @public
7886
- */
7887
- export type DefaultInstanceMetadataEndpointState = (typeof DefaultInstanceMetadataEndpointState)[keyof typeof DefaultInstanceMetadataEndpointState];
7888
- /**
7889
- * @public
7890
- * @enum
7891
- */
7892
- export declare const MetadataDefaultHttpTokensState: {
7893
- readonly no_preference: "no-preference";
7894
- readonly optional: "optional";
7895
- readonly required: "required";
7896
- };
7897
- /**
7898
- * @public
7899
- */
7900
- export type MetadataDefaultHttpTokensState = (typeof MetadataDefaultHttpTokensState)[keyof typeof MetadataDefaultHttpTokensState];
7901
- /**
7902
- * @public
7903
- * @enum
7904
- */
7905
- export declare const DefaultInstanceMetadataTagsState: {
7906
- readonly disabled: "disabled";
7907
- readonly enabled: "enabled";
7908
- readonly no_preference: "no-preference";
7909
- };
7910
- /**
7911
- * @public
7912
- */
7913
- export type DefaultInstanceMetadataTagsState = (typeof DefaultInstanceMetadataTagsState)[keyof typeof DefaultInstanceMetadataTagsState];
7914
7910
  /**
7915
7911
  * @internal
7916
7912
  */