@aws-sdk/client-ec2 3.712.0 → 3.714.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 (43) hide show
  1. package/dist-cjs/index.js +27 -9
  2. package/dist-cjs/runtimeConfig.js +8 -6
  3. package/dist-es/models/models_2.js +4 -0
  4. package/dist-es/models/models_4.js +0 -8
  5. package/dist-es/models/models_5.js +8 -0
  6. package/dist-es/protocols/Aws_ec2.js +12 -0
  7. package/dist-es/runtimeConfig.js +8 -6
  8. package/dist-types/EC2Client.d.ts +18 -0
  9. package/dist-types/commands/CreateSnapshotCommand.d.ts +20 -8
  10. package/dist-types/commands/CreateSnapshotsCommand.d.ts +22 -10
  11. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  13. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
  14. package/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
  15. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -2
  16. package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -2
  17. package/dist-types/models/models_2.d.ts +80 -52
  18. package/dist-types/models/models_3.d.ts +25 -36
  19. package/dist-types/models/models_4.d.ts +37 -17
  20. package/dist-types/models/models_5.d.ts +17 -11
  21. package/dist-types/models/models_6.d.ts +12 -62
  22. package/dist-types/models/models_7.d.ts +61 -18
  23. package/dist-types/models/models_8.d.ts +17 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  25. package/dist-types/runtimeConfig.d.ts +1 -0
  26. package/dist-types/runtimeConfig.native.d.ts +1 -0
  27. package/dist-types/ts3.4/EC2Client.d.ts +1 -0
  28. package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -4
  30. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -4
  31. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +4 -2
  32. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/models/models_2.d.ts +10 -6
  34. package/dist-types/ts3.4/models/models_3.d.ts +6 -7
  35. package/dist-types/ts3.4/models/models_4.d.ts +8 -10
  36. package/dist-types/ts3.4/models/models_5.d.ts +10 -4
  37. package/dist-types/ts3.4/models/models_6.d.ts +4 -8
  38. package/dist-types/ts3.4/models/models_7.d.ts +8 -4
  39. package/dist-types/ts3.4/models/models_8.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  43. package/package.json +15 -15
@@ -2584,6 +2584,18 @@ export interface CreateSecurityGroupResult {
2584
2584
  */
2585
2585
  SecurityGroupArn?: string | undefined;
2586
2586
  }
2587
+ /**
2588
+ * @public
2589
+ * @enum
2590
+ */
2591
+ export declare const SnapshotLocationEnum: {
2592
+ readonly LOCAL: "local";
2593
+ readonly REGIONAL: "regional";
2594
+ };
2595
+ /**
2596
+ * @public
2597
+ */
2598
+ export type SnapshotLocationEnum = (typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
2587
2599
  /**
2588
2600
  * @public
2589
2601
  */
@@ -2594,22 +2606,17 @@ export interface CreateSnapshotRequest {
2594
2606
  */
2595
2607
  Description?: string | undefined;
2596
2608
  /**
2597
- * <p>The Amazon Resource Name (ARN) of the Outpost on which to create a local
2598
- * snapshot.</p>
2609
+ * <note>
2610
+ * <p>Only supported for volumes on Outposts. If the source volume is not on an Outpost,
2611
+ * omit this parameter.</p>
2612
+ * </note>
2599
2613
  * <ul>
2600
2614
  * <li>
2601
- * <p>To create a snapshot of a volume in a Region, omit this parameter. The snapshot
2602
- * is created in the same Region as the volume.</p>
2603
- * </li>
2604
- * <li>
2605
- * <p>To create a snapshot of a volume on an Outpost and store the snapshot in the
2606
- * Region, omit this parameter. The snapshot is created in the Region for the
2607
- * Outpost.</p>
2615
+ * <p>To create the snapshot on the same Outpost as the source volume, specify the
2616
+ * ARN of that Outpost. The snapshot must be created on the same Outpost as the volume.</p>
2608
2617
  * </li>
2609
2618
  * <li>
2610
- * <p>To create a snapshot of a volume on an Outpost and store the snapshot on an
2611
- * Outpost, specify the ARN of the destination Outpost. The snapshot must be created on
2612
- * the same Outpost as the volume.</p>
2619
+ * <p>To create the snapshot in the parent Region of the Outpost, omit this parameter.</p>
2613
2620
  * </li>
2614
2621
  * </ul>
2615
2622
  * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot">Create local snapshots from volumes on an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
@@ -2626,6 +2633,26 @@ export interface CreateSnapshotRequest {
2626
2633
  * @public
2627
2634
  */
2628
2635
  TagSpecifications?: TagSpecification[] | undefined;
2636
+ /**
2637
+ * <note>
2638
+ * <p>Only supported for volumes in Local Zones. If the source volume is not in a Local Zone,
2639
+ * omit this parameter.</p>
2640
+ * </note>
2641
+ * <ul>
2642
+ * <li>
2643
+ * <p>To create a local snapshot in the same Local Zone as the source volume, specify
2644
+ * <code>local</code>.</p>
2645
+ * </li>
2646
+ * <li>
2647
+ * <p>To create a regional snapshot in the parent Region of the Local Zone, specify
2648
+ * <code>regional</code> or omit this parameter.</p>
2649
+ * </li>
2650
+ * </ul>
2651
+ * <p>Default value: <code>regional</code>
2652
+ * </p>
2653
+ * @public
2654
+ */
2655
+ Location?: SnapshotLocationEnum | undefined;
2629
2656
  /**
2630
2657
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
2631
2658
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -2727,6 +2754,12 @@ export interface Snapshot {
2727
2754
  * @public
2728
2755
  */
2729
2756
  SseType?: SSEType | undefined;
2757
+ /**
2758
+ * <p>The Availability Zone or Local Zone of the snapshot. For example, <code>us-west-1a</code>
2759
+ * (Availability Zone) or <code>us-west-2-lax-1a</code> (Local Zone).</p>
2760
+ * @public
2761
+ */
2762
+ AvailabilityZone?: string | undefined;
2730
2763
  /**
2731
2764
  * <note>
2732
2765
  * <p>Only for snapshot copies.</p>
@@ -2884,27 +2917,21 @@ export interface CreateSnapshotsRequest {
2884
2917
  */
2885
2918
  InstanceSpecification: InstanceSpecification | undefined;
2886
2919
  /**
2887
- * <p>The Amazon Resource Name (ARN) of the Outpost on which to create the local
2888
- * snapshots.</p>
2920
+ * <note>
2921
+ * <p>Only supported for instances on Outposts. If the source instance is not on an Outpost,
2922
+ * omit this parameter.</p>
2923
+ * </note>
2889
2924
  * <ul>
2890
2925
  * <li>
2891
- * <p>To create snapshots from an instance in a Region, omit this parameter. The
2892
- * snapshots are created in the same Region as the instance.</p>
2893
- * </li>
2894
- * <li>
2895
- * <p>To create snapshots from an instance on an Outpost and store the snapshots
2896
- * in the Region, omit this parameter. The snapshots are created in the Region
2897
- * for the Outpost.</p>
2926
+ * <p>To create the snapshots on the same Outpost as the source instance, specify the
2927
+ * ARN of that Outpost. The snapshots must be created on the same Outpost as the instance.</p>
2898
2928
  * </li>
2899
2929
  * <li>
2900
- * <p>To create snapshots from an instance on an Outpost and store the snapshots
2901
- * on an Outpost, specify the ARN of the destination Outpost. The snapshots must
2902
- * be created on the same Outpost as the instance.</p>
2930
+ * <p>To create the snapshots in the parent Region of the Outpost, omit this parameter.</p>
2903
2931
  * </li>
2904
2932
  * </ul>
2905
- * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-multivol-snapshot">
2906
- * Create multi-volume local snapshots from instances on an Outpost</a> in the
2907
- * <i>Amazon EBS User Guide</i>.</p>
2933
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot">
2934
+ * Create local snapshots from volumes on an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
2908
2935
  * @public
2909
2936
  */
2910
2937
  OutpostArn?: string | undefined;
@@ -2925,6 +2952,26 @@ export interface CreateSnapshotsRequest {
2925
2952
  * @public
2926
2953
  */
2927
2954
  CopyTagsFromSource?: CopyTagsFromSource | undefined;
2955
+ /**
2956
+ * <note>
2957
+ * <p>Only supported for instances in Local Zones. If the source instance is not in a Local Zone,
2958
+ * omit this parameter.</p>
2959
+ * </note>
2960
+ * <ul>
2961
+ * <li>
2962
+ * <p>To create local snapshots in the same Local Zone as the source instance, specify
2963
+ * <code>local</code>.</p>
2964
+ * </li>
2965
+ * <li>
2966
+ * <p>To create a regional snapshots in the parent Region of the Local Zone, specify
2967
+ * <code>regional</code> or omit this parameter.</p>
2968
+ * </li>
2969
+ * </ul>
2970
+ * <p>Default value: <code>regional</code>
2971
+ * </p>
2972
+ * @public
2973
+ */
2974
+ Location?: SnapshotLocationEnum | undefined;
2928
2975
  }
2929
2976
  /**
2930
2977
  * <p>Information about a snapshot.</p>
@@ -2994,6 +3041,12 @@ export interface SnapshotInfo {
2994
3041
  * @public
2995
3042
  */
2996
3043
  SseType?: SSEType | undefined;
3044
+ /**
3045
+ * <p>The Availability Zone or Local Zone of the snapshots. For example, <code>us-west-1a</code>
3046
+ * (Availability Zone) or <code>us-west-2-lax-1a</code> (Local Zone).</p>
3047
+ * @public
3048
+ */
3049
+ AvailabilityZone?: string | undefined;
2997
3050
  }
2998
3051
  /**
2999
3052
  * @public
@@ -8921,31 +8974,6 @@ export interface DeleteClientVpnEndpointResult {
8921
8974
  */
8922
8975
  Status?: ClientVpnEndpointStatus | undefined;
8923
8976
  }
8924
- /**
8925
- * @public
8926
- */
8927
- export interface DeleteClientVpnRouteRequest {
8928
- /**
8929
- * <p>The ID of the Client VPN endpoint from which the route is to be deleted.</p>
8930
- * @public
8931
- */
8932
- ClientVpnEndpointId: string | undefined;
8933
- /**
8934
- * <p>The ID of the target subnet used by the route.</p>
8935
- * @public
8936
- */
8937
- TargetVpcSubnetId?: string | undefined;
8938
- /**
8939
- * <p>The IPv4 address range, in CIDR notation, of the route to be deleted.</p>
8940
- * @public
8941
- */
8942
- DestinationCidrBlock: string | undefined;
8943
- /**
8944
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8945
- * @public
8946
- */
8947
- DryRun?: boolean | undefined;
8948
- }
8949
8977
  /**
8950
8978
  * @internal
8951
8979
  */
@@ -1,6 +1,31 @@
1
1
  import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, CustomerGateway, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, PlatformValues, TransportProtocol } from "./models_1";
3
3
  import { GroupIdentifier, ManagedPrefixList, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteClientVpnRouteRequest {
8
+ /**
9
+ * <p>The ID of the Client VPN endpoint from which the route is to be deleted.</p>
10
+ * @public
11
+ */
12
+ ClientVpnEndpointId: string | undefined;
13
+ /**
14
+ * <p>The ID of the target subnet used by the route.</p>
15
+ * @public
16
+ */
17
+ TargetVpcSubnetId?: string | undefined;
18
+ /**
19
+ * <p>The IPv4 address range, in CIDR notation, of the route to be deleted.</p>
20
+ * @public
21
+ */
22
+ DestinationCidrBlock: string | undefined;
23
+ /**
24
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
25
+ * @public
26
+ */
27
+ DryRun?: boolean | undefined;
28
+ }
4
29
  /**
5
30
  * @public
6
31
  */
@@ -6943,42 +6968,6 @@ export interface HistoryRecordEntry {
6943
6968
  */
6944
6969
  Timestamp?: Date | undefined;
6945
6970
  }
6946
- /**
6947
- * @public
6948
- */
6949
- export interface DescribeFleetHistoryResult {
6950
- /**
6951
- * <p>Information about the events in the history of the EC2 Fleet.</p>
6952
- * @public
6953
- */
6954
- HistoryRecords?: HistoryRecordEntry[] | undefined;
6955
- /**
6956
- * <p>The last date and time for the events, in UTC format (for example,
6957
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
6958
- * All records up to this time were retrieved.</p>
6959
- * <p>If <code>nextToken</code> indicates that there are more items, this value is not
6960
- * present.</p>
6961
- * @public
6962
- */
6963
- LastEvaluatedTime?: Date | undefined;
6964
- /**
6965
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
6966
- * are no more items to return.</p>
6967
- * @public
6968
- */
6969
- NextToken?: string | undefined;
6970
- /**
6971
- * <p>The ID of the EC Fleet.</p>
6972
- * @public
6973
- */
6974
- FleetId?: string | undefined;
6975
- /**
6976
- * <p>The start date and time for the events, in UTC format (for example,
6977
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
6978
- * @public
6979
- */
6980
- StartTime?: Date | undefined;
6981
- }
6982
6971
  /**
6983
6972
  * @internal
6984
6973
  */
@@ -1,7 +1,43 @@
1
1
  import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, PathComponent, Tag } from "./models_0";
2
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, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
4
+ import { Byoasn, Filter, FleetStateCode, HistoryRecordEntry, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeFleetHistoryResult {
9
+ /**
10
+ * <p>Information about the events in the history of the EC2 Fleet.</p>
11
+ * @public
12
+ */
13
+ HistoryRecords?: HistoryRecordEntry[] | undefined;
14
+ /**
15
+ * <p>The last date and time for the events, in UTC format (for example,
16
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
17
+ * All records up to this time were retrieved.</p>
18
+ * <p>If <code>nextToken</code> indicates that there are more items, this value is not
19
+ * present.</p>
20
+ * @public
21
+ */
22
+ LastEvaluatedTime?: Date | undefined;
23
+ /**
24
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
25
+ * are no more items to return.</p>
26
+ * @public
27
+ */
28
+ NextToken?: string | undefined;
29
+ /**
30
+ * <p>The ID of the EC Fleet.</p>
31
+ * @public
32
+ */
33
+ FleetId?: string | undefined;
34
+ /**
35
+ * <p>The start date and time for the events, in UTC format (for example,
36
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
37
+ * @public
38
+ */
39
+ StartTime?: Date | undefined;
40
+ }
5
41
  /**
6
42
  * @public
7
43
  */
@@ -11110,22 +11146,6 @@ export declare const OfferingClassType: {
11110
11146
  * @public
11111
11147
  */
11112
11148
  export type OfferingClassType = (typeof OfferingClassType)[keyof typeof OfferingClassType];
11113
- /**
11114
- * @public
11115
- * @enum
11116
- */
11117
- export declare const OfferingTypeValues: {
11118
- readonly All_Upfront: "All Upfront";
11119
- readonly Heavy_Utilization: "Heavy Utilization";
11120
- readonly Light_Utilization: "Light Utilization";
11121
- readonly Medium_Utilization: "Medium Utilization";
11122
- readonly No_Upfront: "No Upfront";
11123
- readonly Partial_Upfront: "Partial Upfront";
11124
- };
11125
- /**
11126
- * @public
11127
- */
11128
- export type OfferingTypeValues = (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
11129
11149
  /**
11130
11150
  * @internal
11131
11151
  */
@@ -2,7 +2,23 @@ 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 } from "./models_4";
5
+ import { AttributeBooleanValue, OfferingClassType, PermissionGroup, ProductCode } from "./models_4";
6
+ /**
7
+ * @public
8
+ * @enum
9
+ */
10
+ export declare const OfferingTypeValues: {
11
+ readonly All_Upfront: "All Upfront";
12
+ readonly Heavy_Utilization: "Heavy Utilization";
13
+ readonly Light_Utilization: "Light Utilization";
14
+ readonly Medium_Utilization: "Medium Utilization";
15
+ readonly No_Upfront: "No Upfront";
16
+ readonly Partial_Upfront: "Partial Upfront";
17
+ };
18
+ /**
19
+ * @public
20
+ */
21
+ export type OfferingTypeValues = (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
6
22
  /**
7
23
  * <p>Contains the parameters for DescribeReservedInstances.</p>
8
24
  * @public
@@ -9858,16 +9874,6 @@ export interface EnableAddressTransferRequest {
9858
9874
  */
9859
9875
  DryRun?: boolean | undefined;
9860
9876
  }
9861
- /**
9862
- * @public
9863
- */
9864
- export interface EnableAddressTransferResult {
9865
- /**
9866
- * <p>An Elastic IP address transfer.</p>
9867
- * @public
9868
- */
9869
- AddressTransfer?: AddressTransfer | undefined;
9870
- }
9871
9877
  /**
9872
9878
  * @internal
9873
9879
  */
@@ -1,9 +1,19 @@
1
- import { AccessScopeAnalysisFinding, AddressAttribute, AllowedImagesSettingsEnabledState, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem, UserTrustProviderType } from "./models_0";
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";
1
+ import { AccessScopeAnalysisFinding, AddressAttribute, AddressTransfer, AllowedImagesSettingsEnabledState, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem, UserTrustProviderType } from "./models_0";
2
+ import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationState, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, 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
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 EnableAddressTransferResult {
11
+ /**
12
+ * <p>An Elastic IP address transfer.</p>
13
+ * @public
14
+ */
15
+ AddressTransfer?: AddressTransfer | undefined;
16
+ }
7
17
  /**
8
18
  * @public
9
19
  */
@@ -7856,66 +7866,6 @@ export interface ModifyInstanceEventStartTimeResult {
7856
7866
  */
7857
7867
  Event?: InstanceStatusEvent | undefined;
7858
7868
  }
7859
- /**
7860
- * @public
7861
- */
7862
- export interface ModifyInstanceEventWindowRequest {
7863
- /**
7864
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7865
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7866
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7867
- * @public
7868
- */
7869
- DryRun?: boolean | undefined;
7870
- /**
7871
- * <p>The name of the event window.</p>
7872
- * @public
7873
- */
7874
- Name?: string | undefined;
7875
- /**
7876
- * <p>The ID of the event window.</p>
7877
- * @public
7878
- */
7879
- InstanceEventWindowId: string | undefined;
7880
- /**
7881
- * <p>The time ranges of the event window.</p>
7882
- * @public
7883
- */
7884
- TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
7885
- /**
7886
- * <p>The cron expression of the event window, for example, <code>* 0-4,20-23 * * 1,5</code>.</p>
7887
- * <p>Constraints:</p>
7888
- * <ul>
7889
- * <li>
7890
- * <p>Only hour and day of the week values are supported.</p>
7891
- * </li>
7892
- * <li>
7893
- * <p>For day of the week values, you can specify either integers <code>0</code> through
7894
- * <code>6</code>, or alternative single values <code>SUN</code> through
7895
- * <code>SAT</code>.</p>
7896
- * </li>
7897
- * <li>
7898
- * <p>The minute, month, and year must be specified by <code>*</code>.</p>
7899
- * </li>
7900
- * <li>
7901
- * <p>The hour value must be one or a multiple range, for example, <code>0-4</code> or
7902
- * <code>0-4,20-23</code>.</p>
7903
- * </li>
7904
- * <li>
7905
- * <p>Each hour range must be >= 2 hours, for example, <code>0-2</code> or
7906
- * <code>20-23</code>.</p>
7907
- * </li>
7908
- * <li>
7909
- * <p>The event window must be >= 4 hours. The combined total time ranges in the event
7910
- * window must be >= 4 hours.</p>
7911
- * </li>
7912
- * </ul>
7913
- * <p>For more information about cron expressions, see <a href="https://en.wikipedia.org/wiki/Cron">cron</a> on the <i>Wikipedia
7914
- * website</i>.</p>
7915
- * @public
7916
- */
7917
- CronExpression?: string | undefined;
7918
- }
7919
7869
  /**
7920
7870
  * @internal
7921
7871
  */
@@ -1,10 +1,70 @@
1
1
  import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, ManagedPrefixList, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { Byoasn, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
5
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, TpmSupportValues } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, LaunchTemplateConfig, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
7
  import { CapacityReservationSpecification, IpamResourceCidr, OperationType, Purchase } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyInstanceEventWindowRequest {
12
+ /**
13
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
14
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
15
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
16
+ * @public
17
+ */
18
+ DryRun?: boolean | undefined;
19
+ /**
20
+ * <p>The name of the event window.</p>
21
+ * @public
22
+ */
23
+ Name?: string | undefined;
24
+ /**
25
+ * <p>The ID of the event window.</p>
26
+ * @public
27
+ */
28
+ InstanceEventWindowId: string | undefined;
29
+ /**
30
+ * <p>The time ranges of the event window.</p>
31
+ * @public
32
+ */
33
+ TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
34
+ /**
35
+ * <p>The cron expression of the event window, for example, <code>* 0-4,20-23 * * 1,5</code>.</p>
36
+ * <p>Constraints:</p>
37
+ * <ul>
38
+ * <li>
39
+ * <p>Only hour and day of the week values are supported.</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>For day of the week values, you can specify either integers <code>0</code> through
43
+ * <code>6</code>, or alternative single values <code>SUN</code> through
44
+ * <code>SAT</code>.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>The minute, month, and year must be specified by <code>*</code>.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>The hour value must be one or a multiple range, for example, <code>0-4</code> or
51
+ * <code>0-4,20-23</code>.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>Each hour range must be >= 2 hours, for example, <code>0-2</code> or
55
+ * <code>20-23</code>.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>The event window must be >= 4 hours. The combined total time ranges in the event
59
+ * window must be >= 4 hours.</p>
60
+ * </li>
61
+ * </ul>
62
+ * <p>For more information about cron expressions, see <a href="https://en.wikipedia.org/wiki/Cron">cron</a> on the <i>Wikipedia
63
+ * website</i>.</p>
64
+ * @public
65
+ */
66
+ CronExpression?: string | undefined;
67
+ }
8
68
  /**
9
69
  * @public
10
70
  */
@@ -8247,23 +8307,6 @@ export interface UnassignPrivateNatGatewayAddressResult {
8247
8307
  */
8248
8308
  NatGatewayAddresses?: NatGatewayAddress[] | undefined;
8249
8309
  }
8250
- /**
8251
- * @public
8252
- */
8253
- export interface UnlockSnapshotRequest {
8254
- /**
8255
- * <p>The ID of the snapshot to unlock.</p>
8256
- * @public
8257
- */
8258
- SnapshotId: string | undefined;
8259
- /**
8260
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8261
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8262
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8263
- * @public
8264
- */
8265
- DryRun?: boolean | undefined;
8266
- }
8267
8310
  /**
8268
8311
  * @internal
8269
8312
  */
@@ -1,5 +1,22 @@
1
1
  import { ByoipCidr, IpPermission } from "./models_0";
2
2
  import { InstanceMonitoring } from "./models_7";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface UnlockSnapshotRequest {
7
+ /**
8
+ * <p>The ID of the snapshot to unlock.</p>
9
+ * @public
10
+ */
11
+ SnapshotId: string | undefined;
12
+ /**
13
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
14
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
15
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
16
+ * @public
17
+ */
18
+ DryRun?: boolean | undefined;
19
+ }
3
20
  /**
4
21
  * @public
5
22
  */
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -4019,6 +4019,7 @@ export interface ClientDefaults
4019
4019
  useDualstackEndpoint?: boolean | __Provider<boolean>;
4020
4020
  useFipsEndpoint?: boolean | __Provider<boolean>;
4021
4021
  region?: string | __Provider<string>;
4022
+ profile?: string;
4022
4023
  defaultUserAgentProvider?: Provider<__UserAgent>;
4023
4024
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
4024
4025
  maxAttempts?: number | __Provider<number>;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DeleteClientVpnRouteRequest } from "../models/models_2";
9
- import { DeleteClientVpnRouteResult } from "../models/models_3";
8
+ import {
9
+ DeleteClientVpnRouteRequest,
10
+ DeleteClientVpnRouteResult,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteClientVpnRouteCommandInput