@aws-sdk/client-ec2 3.45.0 → 3.47.2

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 (69) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +3 -3
  3. package/dist-cjs/EC2.js +15 -0
  4. package/dist-cjs/commands/GetIpamResourceCidrsCommand.js +2 -1
  5. package/dist-cjs/commands/GetLaunchTemplateDataCommand.js +1 -2
  6. package/dist-cjs/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +1 -0
  8. package/dist-cjs/endpoints.js +0 -32
  9. package/dist-cjs/models/models_1.js +10 -11
  10. package/dist-cjs/models/models_2.js +16 -12
  11. package/dist-cjs/models/models_3.js +17 -24
  12. package/dist-cjs/models/models_4.js +24 -24
  13. package/dist-cjs/models/models_5.js +36 -36
  14. package/dist-cjs/models/models_6.js +32 -2
  15. package/dist-cjs/protocols/Aws_ec2.js +123 -13
  16. package/dist-cjs/runtimeConfig.browser.js +7 -2
  17. package/dist-cjs/runtimeConfig.js +9 -3
  18. package/dist-es/EC2.js +15 -0
  19. package/dist-es/commands/GetIpamResourceCidrsCommand.js +2 -1
  20. package/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -2
  21. package/dist-es/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +39 -0
  22. package/dist-es/commands/index.js +1 -0
  23. package/dist-es/endpoints.js +0 -32
  24. package/dist-es/models/models_1.js +5 -4
  25. package/dist-es/models/models_2.js +8 -4
  26. package/dist-es/models/models_3.js +9 -12
  27. package/dist-es/models/models_4.js +12 -12
  28. package/dist-es/models/models_5.js +20 -20
  29. package/dist-es/models/models_6.js +20 -0
  30. package/dist-es/protocols/Aws_ec2.js +112 -0
  31. package/dist-es/runtimeConfig.browser.js +12 -3
  32. package/dist-es/runtimeConfig.js +13 -6
  33. package/dist-types/EC2.d.ts +15 -5
  34. package/dist-types/EC2Client.d.ts +11 -6
  35. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -1
  37. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +2 -1
  38. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -2
  39. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +35 -0
  40. package/dist-types/commands/index.d.ts +1 -0
  41. package/dist-types/models/models_0.d.ts +16 -0
  42. package/dist-types/models/models_1.d.ts +32 -38
  43. package/dist-types/models/models_2.d.ts +46 -40
  44. package/dist-types/models/models_3.d.ts +86 -88
  45. package/dist-types/models/models_4.d.ts +99 -115
  46. package/dist-types/models/models_5.d.ts +163 -144
  47. package/dist-types/models/models_6.d.ts +149 -8
  48. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  49. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  50. package/dist-types/runtimeConfig.d.ts +4 -3
  51. package/dist-types/runtimeConfig.native.d.ts +1 -0
  52. package/dist-types/ts3.4/EC2.d.ts +5 -0
  53. package/dist-types/ts3.4/EC2Client.d.ts +6 -3
  54. package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +2 -1
  55. package/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -2
  56. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +4 -0
  59. package/dist-types/ts3.4/models/models_1.d.ts +10 -17
  60. package/dist-types/ts3.4/models/models_2.d.ts +23 -19
  61. package/dist-types/ts3.4/models/models_3.d.ts +25 -46
  62. package/dist-types/ts3.4/models/models_4.d.ts +50 -60
  63. package/dist-types/ts3.4/models/models_5.d.ts +86 -64
  64. package/dist-types/ts3.4/models/models_6.d.ts +62 -3
  65. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  69. package/package.json +41 -48
@@ -1,5 +1,36 @@
1
1
  import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, DnsSupportValue, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { DiskImageFormat, GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, PlatformValues, ProtocolValue, SubnetCidrReservation, TransitGateway, TransitGatewayAttachmentBgpConfiguration, TransitGatewayConnect, VolumeType } from "./models_1";
2
+ import { BgpStatus, DiskImageFormat, GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, PlatformValues, ProtocolValue, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, VolumeType } from "./models_1";
3
+ /**
4
+ * <p>The BGP configuration information.</p>
5
+ */
6
+ export interface TransitGatewayAttachmentBgpConfiguration {
7
+ /**
8
+ * <p>The transit gateway Autonomous System Number (ASN).</p>
9
+ */
10
+ TransitGatewayAsn?: number;
11
+ /**
12
+ * <p>The peer Autonomous System Number (ASN).</p>
13
+ */
14
+ PeerAsn?: number;
15
+ /**
16
+ * <p>The interior BGP peer IP address for the transit gateway.</p>
17
+ */
18
+ TransitGatewayAddress?: string;
19
+ /**
20
+ * <p>The interior BGP peer IP address for the appliance.</p>
21
+ */
22
+ PeerAddress?: string;
23
+ /**
24
+ * <p>The BGP status.</p>
25
+ */
26
+ BgpStatus?: BgpStatus | string;
27
+ }
28
+ export declare namespace TransitGatewayAttachmentBgpConfiguration {
29
+ /**
30
+ * @internal
31
+ */
32
+ const filterSensitiveLog: (obj: TransitGatewayAttachmentBgpConfiguration) => any;
33
+ }
3
34
  /**
4
35
  * <p>Describes the Connect peer details.</p>
5
36
  */
@@ -1325,6 +1356,9 @@ export declare namespace CreateVpcEndpointServiceConfigurationRequest {
1325
1356
  */
1326
1357
  const filterSensitiveLog: (obj: CreateVpcEndpointServiceConfigurationRequest) => any;
1327
1358
  }
1359
+ export declare enum PayerResponsibility {
1360
+ ServiceOwner = "ServiceOwner"
1361
+ }
1328
1362
  export declare enum DnsNameState {
1329
1363
  Failed = "failed",
1330
1364
  PendingVerification = "pendingVerification",
@@ -1443,6 +1477,10 @@ export interface ServiceConfiguration {
1443
1477
  * <p>Information about the endpoint service private DNS name configuration.</p>
1444
1478
  */
1445
1479
  PrivateDnsNameConfiguration?: PrivateDnsNameConfiguration;
1480
+ /**
1481
+ * <p>The payer responsibility.</p>
1482
+ */
1483
+ PayerResponsibility?: PayerResponsibility | string;
1446
1484
  /**
1447
1485
  * <p>Any tags assigned to the service.</p>
1448
1486
  */
@@ -1738,7 +1776,7 @@ export interface VpnTunnelOptionsSpecification {
1738
1776
  ReplayWindowSize?: number;
1739
1777
  /**
1740
1778
  * <p>The number of seconds after which a DPD timeout occurs.</p>
1741
- * <p>Constraints: A value between 0 and 30.</p>
1779
+ * <p>Constraints: A value greater than or equal to 30.</p>
1742
1780
  * <p>Default: <code>30</code>
1743
1781
  * </p>
1744
1782
  */
@@ -4842,6 +4880,8 @@ export declare namespace DescribeAccountAttributesResult {
4842
4880
  /**
4843
4881
  * <p>A filter name and value pair that is used to return a more specific list of results from a describe operation.
4844
4882
  * Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>
4883
+ * <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
4884
+ * results that match all of the specified filters.</p>
4845
4885
  */
4846
4886
  export interface Filter {
4847
4887
  /**
@@ -4849,7 +4889,9 @@ export interface Filter {
4849
4889
  */
4850
4890
  Name?: string;
4851
4891
  /**
4852
- * <p>The filter values. Filter values are case-sensitive.</p>
4892
+ * <p>The filter values. Filter values are case-sensitive. If you specify multiple values for a
4893
+ * filter, the values are joined with an <code>OR</code>, and the request returns all results
4894
+ * that match any of the specified values.</p>
4853
4895
  */
4854
4896
  Values?: string[];
4855
4897
  }
@@ -5574,15 +5616,11 @@ export interface DescribeCapacityReservationsRequest {
5574
5616
  * </li>
5575
5617
  * <li>
5576
5618
  * <p>
5577
- * <code>availability-zone-id</code> - The Availability Zone ID of the Capacity Reservation.</p>
5578
- * </li>
5579
- * <li>
5580
- * <p>
5581
5619
  * <code>instance-platform</code> - The type of operating system for which the Capacity Reservation reserves capacity.</p>
5582
5620
  * </li>
5583
5621
  * <li>
5584
5622
  * <p>
5585
- * <code>availability-zone</code> - The Availability Zone ID of the Capacity Reservation.</p>
5623
+ * <code>availability-zone</code> - The Availability Zone of the Capacity Reservation.</p>
5586
5624
  * </li>
5587
5625
  * <li>
5588
5626
  * <p>
@@ -6861,35 +6899,3 @@ export declare namespace ImportInstanceTaskDetails {
6861
6899
  */
6862
6900
  const filterSensitiveLog: (obj: ImportInstanceTaskDetails) => any;
6863
6901
  }
6864
- /**
6865
- * <p>Describes an import volume task.</p>
6866
- */
6867
- export interface ImportVolumeTaskDetails {
6868
- /**
6869
- * <p>The Availability Zone where the resulting volume will reside.</p>
6870
- */
6871
- AvailabilityZone?: string;
6872
- /**
6873
- * <p>The number of bytes converted so far.</p>
6874
- */
6875
- BytesConverted?: number;
6876
- /**
6877
- * <p>The description you provided when starting the import volume task.</p>
6878
- */
6879
- Description?: string;
6880
- /**
6881
- * <p>The image.</p>
6882
- */
6883
- Image?: DiskImageDescription;
6884
- /**
6885
- * <p>The volume.</p>
6886
- */
6887
- Volume?: DiskImageVolumeDescription;
6888
- }
6889
- export declare namespace ImportVolumeTaskDetails {
6890
- /**
6891
- * @internal
6892
- */
6893
- const filterSensitiveLog: (obj: ImportVolumeTaskDetails) => any;
6894
- }
6895
- export declare type ConversionTaskState = "active" | "cancelled" | "cancelling" | "completed";
@@ -1,6 +1,38 @@
1
1
  import { _InstanceType, ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AttachmentStatus, AttributeValue, AutoPlacement, CurrencyCodeValues, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, PathComponent, PortRange, ReservedInstancesListing, Tag, Tenancy } from "./models_0";
2
2
  import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, ExportTask, FleetCapacityReservationUsageStrategy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlacementGroup, PlatformValues, ReplaceRootVolumeTask, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType } from "./models_1";
3
- import { ConversionTaskState, Filter, FleetStateCode, IdFormat, ImportInstanceTaskDetails, ImportVolumeTaskDetails, InstanceTagNotificationAttribute } from "./models_2";
3
+ import { DiskImageDescription, DiskImageVolumeDescription, Filter, FleetStateCode, IdFormat, ImportInstanceTaskDetails, InstanceTagNotificationAttribute } from "./models_2";
4
+ /**
5
+ * <p>Describes an import volume task.</p>
6
+ */
7
+ export interface ImportVolumeTaskDetails {
8
+ /**
9
+ * <p>The Availability Zone where the resulting volume will reside.</p>
10
+ */
11
+ AvailabilityZone?: string;
12
+ /**
13
+ * <p>The number of bytes converted so far.</p>
14
+ */
15
+ BytesConverted?: number;
16
+ /**
17
+ * <p>The description you provided when starting the import volume task.</p>
18
+ */
19
+ Description?: string;
20
+ /**
21
+ * <p>The image.</p>
22
+ */
23
+ Image?: DiskImageDescription;
24
+ /**
25
+ * <p>The volume.</p>
26
+ */
27
+ Volume?: DiskImageVolumeDescription;
28
+ }
29
+ export declare namespace ImportVolumeTaskDetails {
30
+ /**
31
+ * @internal
32
+ */
33
+ const filterSensitiveLog: (obj: ImportVolumeTaskDetails) => any;
34
+ }
35
+ export declare type ConversionTaskState = "active" | "cancelled" | "cancelling" | "completed";
4
36
  /**
5
37
  * <p>Describes a conversion task.</p>
6
38
  */
@@ -1255,7 +1287,8 @@ export interface FleetSpotCapacityRebalance {
1255
1287
  /**
1256
1288
  * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
1257
1289
  * Instance after launching a new replacement Spot Instance.</p>
1258
- * <p>Valid only when <code>replacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
1290
+ * <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
1291
+ * <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
1259
1292
  * <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
1260
1293
  */
1261
1294
  TerminationDelay?: number;
@@ -4702,6 +4735,10 @@ export declare enum HttpTokensState {
4702
4735
  optional = "optional",
4703
4736
  required = "required"
4704
4737
  }
4738
+ export declare enum InstanceMetadataTagsState {
4739
+ disabled = "disabled",
4740
+ enabled = "enabled"
4741
+ }
4705
4742
  export declare type InstanceMetadataOptionsState = "applied" | "pending";
4706
4743
  /**
4707
4744
  * <p>The metadata options for the instance.</p>
@@ -4718,8 +4755,7 @@ export interface InstanceMetadataOptionsResponse {
4718
4755
  */
4719
4756
  State?: InstanceMetadataOptionsState | string;
4720
4757
  /**
4721
- * <p>The state of token usage for your instance metadata requests. If the parameter is not
4722
- * specified in the request, the default state is <code>optional</code>.</p>
4758
+ * <p>The state of token usage for your instance metadata requests.</p>
4723
4759
  * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
4724
4760
  * with or without a signed token header on your request. If you retrieve the IAM role
4725
4761
  * credentials without a token, the version 1.0 role credentials are returned. If you
@@ -4729,6 +4765,8 @@ export interface InstanceMetadataOptionsResponse {
4729
4765
  * instance metadata retrieval requests. In this state, retrieving the IAM role credential
4730
4766
  * always returns the version 2.0 credentials; the version 1.0 credentials are not
4731
4767
  * available.</p>
4768
+ * <p>Default: <code>optional</code>
4769
+ * </p>
4732
4770
  */
4733
4771
  HttpTokens?: HttpTokensState | string;
4734
4772
  /**
@@ -4739,13 +4777,22 @@ export interface InstanceMetadataOptionsResponse {
4739
4777
  */
4740
4778
  HttpPutResponseHopLimit?: number;
4741
4779
  /**
4742
- * <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.</p>
4780
+ * <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or
4781
+ * disabled.</p>
4782
+ * <p>If the value is <code>disabled</code>, you cannot access your
4783
+ * instance metadata.</p>
4743
4784
  */
4744
4785
  HttpEndpoint?: InstanceMetadataEndpointState | string;
4745
4786
  /**
4746
4787
  * <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.</p>
4747
4788
  */
4748
4789
  HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
4790
+ /**
4791
+ * <p>Indicates whether access to instance tags from the instance metadata is enabled or
4792
+ * disabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
4793
+ * instance tags using the instance metadata</a>.</p>
4794
+ */
4795
+ InstanceMetadataTags?: InstanceMetadataTagsState | string;
4749
4796
  }
4750
4797
  export declare namespace InstanceMetadataOptionsResponse {
4751
4798
  /**
@@ -7128,6 +7175,27 @@ export interface DescribeLaunchTemplateVersionsRequest {
7128
7175
  * </li>
7129
7176
  * <li>
7130
7177
  * <p>
7178
+ * <code>http-endpoint</code> - Indicates whether the HTTP metadata endpoint on
7179
+ * your instances is enabled (<code>enabled</code> | <code>disabled</code>).</p>
7180
+ * </li>
7181
+ * <li>
7182
+ * <p>
7183
+ * <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
7184
+ * instance metadata service is enabled (<code>enabled</code> |
7185
+ * <code>disabled</code>).</p>
7186
+ * </li>
7187
+ * <li>
7188
+ * <p>
7189
+ * <code>host-resource-group-arn</code> - The ARN of the host resource group in
7190
+ * which to launch the instances.</p>
7191
+ * </li>
7192
+ * <li>
7193
+ * <p>
7194
+ * <code>http-tokens</code> - The state of token usage for your instance metadata
7195
+ * requests (<code>optional</code> | <code>required</code>).</p>
7196
+ * </li>
7197
+ * <li>
7198
+ * <p>
7131
7199
  * <code>iam-instance-profile</code> - The ARN of the IAM instance
7132
7200
  * profile.</p>
7133
7201
  * </li>
@@ -7150,6 +7218,15 @@ export interface DescribeLaunchTemplateVersionsRequest {
7150
7218
  * </li>
7151
7219
  * <li>
7152
7220
  * <p>
7221
+ * <code>license-configuration-arn</code> - The ARN of the license
7222
+ * configuration.</p>
7223
+ * </li>
7224
+ * <li>
7225
+ * <p>
7226
+ * <code>network-card-index</code> - The index of the network card.</p>
7227
+ * </li>
7228
+ * <li>
7229
+ * <p>
7153
7230
  * <code>ram-disk-id</code> - The RAM disk ID.</p>
7154
7231
  * </li>
7155
7232
  * </ul>
@@ -9050,6 +9127,10 @@ export interface DescribePlacementGroupsRequest {
9050
9127
  * </li>
9051
9128
  * <li>
9052
9129
  * <p>
9130
+ * <code>group-arn</code> - The Amazon Resource Name (ARN) of the placement group.</p>
9131
+ * </li>
9132
+ * <li>
9133
+ * <p>
9053
9134
  * <code>state</code> - The state of the placement group (<code>pending</code> |
9054
9135
  * <code>available</code> | <code>deleting</code> |
9055
9136
  * <code>deleted</code>).</p>
@@ -9913,86 +9994,3 @@ export declare namespace ReservedInstancesConfiguration {
9913
9994
  */
9914
9995
  const filterSensitiveLog: (obj: ReservedInstancesConfiguration) => any;
9915
9996
  }
9916
- /**
9917
- * <p>Describes the modification request/s.</p>
9918
- */
9919
- export interface ReservedInstancesModificationResult {
9920
- /**
9921
- * <p>The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.</p>
9922
- */
9923
- ReservedInstancesId?: string;
9924
- /**
9925
- * <p>The target Reserved Instances configurations supplied as part of the modification request.</p>
9926
- */
9927
- TargetConfiguration?: ReservedInstancesConfiguration;
9928
- }
9929
- export declare namespace ReservedInstancesModificationResult {
9930
- /**
9931
- * @internal
9932
- */
9933
- const filterSensitiveLog: (obj: ReservedInstancesModificationResult) => any;
9934
- }
9935
- /**
9936
- * <p>Describes the ID of a Reserved Instance.</p>
9937
- */
9938
- export interface ReservedInstancesId {
9939
- /**
9940
- * <p>The ID of the Reserved Instance.</p>
9941
- */
9942
- ReservedInstancesId?: string;
9943
- }
9944
- export declare namespace ReservedInstancesId {
9945
- /**
9946
- * @internal
9947
- */
9948
- const filterSensitiveLog: (obj: ReservedInstancesId) => any;
9949
- }
9950
- /**
9951
- * <p>Describes a Reserved Instance modification.</p>
9952
- */
9953
- export interface ReservedInstancesModification {
9954
- /**
9955
- * <p>A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.
9956
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
9957
- * Idempotency</a>.</p>
9958
- */
9959
- ClientToken?: string;
9960
- /**
9961
- * <p>The time when the modification request was created.</p>
9962
- */
9963
- CreateDate?: Date;
9964
- /**
9965
- * <p>The time for the modification to become effective.</p>
9966
- */
9967
- EffectiveDate?: Date;
9968
- /**
9969
- * <p>Contains target configurations along with their corresponding new Reserved Instance IDs.</p>
9970
- */
9971
- ModificationResults?: ReservedInstancesModificationResult[];
9972
- /**
9973
- * <p>The IDs of one or more Reserved Instances.</p>
9974
- */
9975
- ReservedInstancesIds?: ReservedInstancesId[];
9976
- /**
9977
- * <p>A unique ID for the Reserved Instance modification.</p>
9978
- */
9979
- ReservedInstancesModificationId?: string;
9980
- /**
9981
- * <p>The status of the Reserved Instances modification request.</p>
9982
- */
9983
- Status?: string;
9984
- /**
9985
- * <p>The reason for the status.</p>
9986
- */
9987
- StatusMessage?: string;
9988
- /**
9989
- * <p>The time when the modification request was last updated.</p>
9990
- */
9991
- UpdateDate?: Date;
9992
- }
9993
- export declare namespace ReservedInstancesModification {
9994
- /**
9995
- * @internal
9996
- */
9997
- const filterSensitiveLog: (obj: ReservedInstancesModification) => any;
9998
- }
@@ -1,7 +1,90 @@
1
1
  import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AssociationStatus, BatchState, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamPoolAllocation, IpPermission, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, Tenancy, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
- import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InstanceRequirementsRequest, IpamResourceTag, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, RequestIpamResourceTag, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, VolumeType } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpamPoolCidr, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { ArchitectureType, AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastSnapshotRestoreStateCode, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, ProductCode, RecurringCharge, ReservedInstancesModification, RIProductDescription, Scope, VirtualizationType } from "./models_3";
2
+ import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InstanceRequirementsRequest, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, RequestIpamResourceTag, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, VolumeType } from "./models_1";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpamPoolCidr, PayerResponsibility, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
+ import { ArchitectureType, AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastSnapshotRestoreStateCode, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, ProductCode, RecurringCharge, ReservedInstancesConfiguration, RIProductDescription, Scope, VirtualizationType } from "./models_3";
5
+ /**
6
+ * <p>Describes the modification request/s.</p>
7
+ */
8
+ export interface ReservedInstancesModificationResult {
9
+ /**
10
+ * <p>The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.</p>
11
+ */
12
+ ReservedInstancesId?: string;
13
+ /**
14
+ * <p>The target Reserved Instances configurations supplied as part of the modification request.</p>
15
+ */
16
+ TargetConfiguration?: ReservedInstancesConfiguration;
17
+ }
18
+ export declare namespace ReservedInstancesModificationResult {
19
+ /**
20
+ * @internal
21
+ */
22
+ const filterSensitiveLog: (obj: ReservedInstancesModificationResult) => any;
23
+ }
24
+ /**
25
+ * <p>Describes the ID of a Reserved Instance.</p>
26
+ */
27
+ export interface ReservedInstancesId {
28
+ /**
29
+ * <p>The ID of the Reserved Instance.</p>
30
+ */
31
+ ReservedInstancesId?: string;
32
+ }
33
+ export declare namespace ReservedInstancesId {
34
+ /**
35
+ * @internal
36
+ */
37
+ const filterSensitiveLog: (obj: ReservedInstancesId) => any;
38
+ }
39
+ /**
40
+ * <p>Describes a Reserved Instance modification.</p>
41
+ */
42
+ export interface ReservedInstancesModification {
43
+ /**
44
+ * <p>A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.
45
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
46
+ * Idempotency</a>.</p>
47
+ */
48
+ ClientToken?: string;
49
+ /**
50
+ * <p>The time when the modification request was created.</p>
51
+ */
52
+ CreateDate?: Date;
53
+ /**
54
+ * <p>The time for the modification to become effective.</p>
55
+ */
56
+ EffectiveDate?: Date;
57
+ /**
58
+ * <p>Contains target configurations along with their corresponding new Reserved Instance IDs.</p>
59
+ */
60
+ ModificationResults?: ReservedInstancesModificationResult[];
61
+ /**
62
+ * <p>The IDs of one or more Reserved Instances.</p>
63
+ */
64
+ ReservedInstancesIds?: ReservedInstancesId[];
65
+ /**
66
+ * <p>A unique ID for the Reserved Instance modification.</p>
67
+ */
68
+ ReservedInstancesModificationId?: string;
69
+ /**
70
+ * <p>The status of the Reserved Instances modification request.</p>
71
+ */
72
+ Status?: string;
73
+ /**
74
+ * <p>The reason for the status.</p>
75
+ */
76
+ StatusMessage?: string;
77
+ /**
78
+ * <p>The time when the modification request was last updated.</p>
79
+ */
80
+ UpdateDate?: Date;
81
+ }
82
+ export declare namespace ReservedInstancesModification {
83
+ /**
84
+ * @internal
85
+ */
86
+ const filterSensitiveLog: (obj: ReservedInstancesModification) => any;
87
+ }
5
88
  /**
6
89
  * <p>Contains the output of DescribeReservedInstancesModifications.</p>
7
90
  */
@@ -1390,8 +1473,9 @@ export interface DescribeSnapshotTierStatusRequest {
1390
1473
  * </li>
1391
1474
  * <li>
1392
1475
  * <p>
1393
- * <code>last-tiering-operation</code> - The state of the last archive or restore action. (<code>archiving</code> | <code>archival_error</code> |
1394
- * <code>archival_complete</code> | <code>restoring</code> | <code>restore_error</code> | <code>restore_complete</code>)</p>
1476
+ * <code>last-tiering-operation</code> - The state of the last archive or restore action. (<code>archival-in-progress</code> | <code>archival-completed</code> |
1477
+ * <code>archival-failed</code> | <code>permanent-restore-in-progress</code> | <code>permanent-restore-completed</code> | <code>permanent-restore-failed</code> |
1478
+ * <code>temporary-restore-in-progress</code> | <code>temporary-restore-completed</code> | <code>temporary-restore-failed</code>)</p>
1395
1479
  * </li>
1396
1480
  * </ul>
1397
1481
  */
@@ -2233,7 +2317,7 @@ export declare enum ReplacementStrategy {
2233
2317
  /**
2234
2318
  * <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your
2235
2319
  * Spot Instance is at an elevated risk of being interrupted. For more information, see
2236
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#spot-fleet-capacity-rebalance">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2320
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2237
2321
  */
2238
2322
  export interface SpotCapacityRebalance {
2239
2323
  /**
@@ -2255,7 +2339,8 @@ export interface SpotCapacityRebalance {
2255
2339
  /**
2256
2340
  * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
2257
2341
  * Instance after launching a new replacement Spot Instance.</p>
2258
- * <p>Valid only when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
2342
+ * <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
2343
+ * <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
2259
2344
  * <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
2260
2345
  */
2261
2346
  TerminationDelay?: number;
@@ -2272,8 +2357,9 @@ export declare namespace SpotCapacityRebalance {
2272
2357
  */
2273
2358
  export interface SpotMaintenanceStrategies {
2274
2359
  /**
2275
- * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
2276
- * elevated risk of being interrupted.</p>
2360
+ * <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your
2361
+ * Spot Instance is at an elevated risk of being interrupted. For more information, see
2362
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2277
2363
  */
2278
2364
  CapacityRebalance?: SpotCapacityRebalance;
2279
2365
  }
@@ -5892,6 +5978,10 @@ export interface ServiceDetail {
5892
5978
  * endpoints using the VPC endpoint API is restricted.</p>
5893
5979
  */
5894
5980
  ManagesVpcEndpoints?: boolean;
5981
+ /**
5982
+ * <p>The payer responsibility.</p>
5983
+ */
5984
+ PayerResponsibility?: PayerResponsibility | string;
5895
5985
  /**
5896
5986
  * <p>Any tags assigned to the service.</p>
5897
5987
  */
@@ -9095,109 +9185,3 @@ export declare enum IpamManagementState {
9095
9185
  managed = "managed",
9096
9186
  unmanaged = "unmanaged"
9097
9187
  }
9098
- /**
9099
- * <p>The CIDR for an IPAM resource.</p>
9100
- */
9101
- export interface IpamResourceCidr {
9102
- /**
9103
- * <p>The IPAM ID for an IPAM resource.</p>
9104
- */
9105
- IpamId?: string;
9106
- /**
9107
- * <p>The scope ID for an IPAM resource.</p>
9108
- */
9109
- IpamScopeId?: string;
9110
- /**
9111
- * <p>The pool ID for an IPAM resource.</p>
9112
- */
9113
- IpamPoolId?: string;
9114
- /**
9115
- * <p>The Amazon Web Services Region for an IPAM resource.</p>
9116
- */
9117
- ResourceRegion?: string;
9118
- /**
9119
- * <p>The Amazon Web Services account number of the owner of an IPAM resource.</p>
9120
- */
9121
- ResourceOwnerId?: string;
9122
- /**
9123
- * <p>The ID of an IPAM resource.</p>
9124
- */
9125
- ResourceId?: string;
9126
- /**
9127
- * <p>The name of an IPAM resource.</p>
9128
- */
9129
- ResourceName?: string;
9130
- /**
9131
- * <p>The CIDR for an IPAM resource.</p>
9132
- */
9133
- ResourceCidr?: string;
9134
- /**
9135
- * <p>The type of IPAM resource.</p>
9136
- */
9137
- ResourceType?: IpamResourceType | string;
9138
- /**
9139
- * <p>The tags for an IPAM resource.</p>
9140
- */
9141
- ResourceTags?: IpamResourceTag[];
9142
- /**
9143
- * <p>The IP address space in the IPAM pool that is allocated to this resource. To convert the decimal to a percentage, multiply the decimal by 100.</p>
9144
- */
9145
- IpUsage?: number;
9146
- /**
9147
- * <p>The compliance status of the IPAM resource. For more information on compliance statuses, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
9148
- */
9149
- ComplianceStatus?: IpamComplianceStatus | string;
9150
- /**
9151
- * <p>The management state of the resource. For more information about management states, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
9152
- */
9153
- ManagementState?: IpamManagementState | string;
9154
- /**
9155
- * <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
9156
- */
9157
- OverlapStatus?: IpamOverlapStatus | string;
9158
- /**
9159
- * <p>The ID of a VPC.</p>
9160
- */
9161
- VpcId?: string;
9162
- }
9163
- export declare namespace IpamResourceCidr {
9164
- /**
9165
- * @internal
9166
- */
9167
- const filterSensitiveLog: (obj: IpamResourceCidr) => any;
9168
- }
9169
- export interface GetIpamResourceCidrsResult {
9170
- /**
9171
- * <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>
9172
- */
9173
- NextToken?: string;
9174
- /**
9175
- * <p>The resource CIDRs.</p>
9176
- */
9177
- IpamResourceCidrs?: IpamResourceCidr[];
9178
- }
9179
- export declare namespace GetIpamResourceCidrsResult {
9180
- /**
9181
- * @internal
9182
- */
9183
- const filterSensitiveLog: (obj: GetIpamResourceCidrsResult) => any;
9184
- }
9185
- export interface GetLaunchTemplateDataRequest {
9186
- /**
9187
- * <p>Checks whether you have the required permissions for the action, without actually
9188
- * making the request, and provides an error response. If you have the required
9189
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
9190
- * <code>UnauthorizedOperation</code>.</p>
9191
- */
9192
- DryRun?: boolean;
9193
- /**
9194
- * <p>The ID of the instance.</p>
9195
- */
9196
- InstanceId: string | undefined;
9197
- }
9198
- export declare namespace GetLaunchTemplateDataRequest {
9199
- /**
9200
- * @internal
9201
- */
9202
- const filterSensitiveLog: (obj: GetLaunchTemplateDataRequest) => any;
9203
- }