@aws-sdk/client-ec2 3.56.0 → 3.60.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 (116) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/EC2.js +15 -0
  3. package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
  4. package/dist-cjs/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
  7. package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
  9. package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
  10. package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +3 -3
  11. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
  12. package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
  13. package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
  14. package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
  15. package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
  16. package/dist-cjs/commands/ResetImageAttributeCommand.js +2 -2
  17. package/dist-cjs/commands/index.js +1 -0
  18. package/dist-cjs/models/models_0.js +18 -17
  19. package/dist-cjs/models/models_1.js +34 -36
  20. package/dist-cjs/models/models_2.js +36 -36
  21. package/dist-cjs/models/models_3.js +47 -29
  22. package/dist-cjs/models/models_4.js +29 -48
  23. package/dist-cjs/models/models_5.js +60 -48
  24. package/dist-cjs/models/models_6.js +50 -2
  25. package/dist-cjs/protocols/Aws_ec2.js +226 -13
  26. package/dist-es/EC2.js +15 -0
  27. package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
  28. package/dist-es/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
  29. package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
  30. package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
  31. package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
  32. package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
  33. package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
  34. package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -1
  35. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
  36. package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
  37. package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
  38. package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
  39. package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
  40. package/dist-es/commands/ResetImageAttributeCommand.js +1 -1
  41. package/dist-es/commands/index.js +1 -0
  42. package/dist-es/models/models_0.js +8 -11
  43. package/dist-es/models/models_1.js +24 -20
  44. package/dist-es/models/models_2.js +20 -20
  45. package/dist-es/models/models_3.js +29 -17
  46. package/dist-es/models/models_4.js +17 -28
  47. package/dist-es/models/models_5.js +36 -28
  48. package/dist-es/models/models_6.js +32 -0
  49. package/dist-es/protocols/Aws_ec2.js +224 -0
  50. package/dist-types/EC2.d.ts +91 -65
  51. package/dist-types/EC2Client.d.ts +3 -2
  52. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  53. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  54. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
  55. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  56. package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  57. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
  58. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
  59. package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
  60. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  62. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
  63. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  64. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  65. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
  66. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
  67. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  68. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
  69. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
  70. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
  71. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
  72. package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
  73. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  74. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  75. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  76. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  77. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
  78. package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
  79. package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
  80. package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
  81. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
  82. package/dist-types/commands/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +93 -25
  84. package/dist-types/models/models_1.d.ts +353 -372
  85. package/dist-types/models/models_2.d.ts +128 -118
  86. package/dist-types/models/models_3.d.ts +230 -225
  87. package/dist-types/models/models_4.d.ts +169 -189
  88. package/dist-types/models/models_5.d.ts +277 -166
  89. package/dist-types/models/models_6.d.ts +217 -66
  90. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  91. package/dist-types/ts3.4/EC2.d.ts +5 -0
  92. package/dist-types/ts3.4/EC2Client.d.ts +3 -2
  93. package/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  94. package/dist-types/ts3.4/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
  95. package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  96. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
  97. package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  99. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
  102. package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +38 -9
  109. package/dist-types/ts3.4/models/models_1.d.ts +36 -68
  110. package/dist-types/ts3.4/models/models_2.d.ts +69 -65
  111. package/dist-types/ts3.4/models/models_3.d.ts +89 -53
  112. package/dist-types/ts3.4/models/models_4.d.ts +53 -103
  113. package/dist-types/ts3.4/models/models_5.d.ts +125 -74
  114. package/dist-types/ts3.4/models/models_6.d.ts +84 -2
  115. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
  116. package/package.json +19 -19
@@ -1,6 +1,120 @@
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, Tag } from "./models_0";
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 { DiskImageDescription, DiskImageVolumeDescription, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_2";
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, Tag, TransitGatewayRouteTableRoute } from "./models_0";
2
+ import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, 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, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType } from "./models_1";
3
+ import { Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_2";
4
+ /**
5
+ * <p>Describes a customer-owned address pool.</p>
6
+ */
7
+ export interface CoipPool {
8
+ /**
9
+ * <p>The ID of the address pool.</p>
10
+ */
11
+ PoolId?: string;
12
+ /**
13
+ * <p>The address ranges of the address pool.</p>
14
+ */
15
+ PoolCidrs?: string[];
16
+ /**
17
+ * <p>The ID of the local gateway route table.</p>
18
+ */
19
+ LocalGatewayRouteTableId?: string;
20
+ /**
21
+ * <p>The tags.</p>
22
+ */
23
+ Tags?: Tag[];
24
+ /**
25
+ * <p>The ARN of the address pool.</p>
26
+ */
27
+ PoolArn?: string;
28
+ }
29
+ export declare namespace CoipPool {
30
+ /**
31
+ * @internal
32
+ */
33
+ const filterSensitiveLog: (obj: CoipPool) => any;
34
+ }
35
+ export interface DescribeCoipPoolsResult {
36
+ /**
37
+ * <p>Information about the address pools.</p>
38
+ */
39
+ CoipPools?: CoipPool[];
40
+ /**
41
+ * <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>
42
+ */
43
+ NextToken?: string;
44
+ }
45
+ export declare namespace DescribeCoipPoolsResult {
46
+ /**
47
+ * @internal
48
+ */
49
+ const filterSensitiveLog: (obj: DescribeCoipPoolsResult) => any;
50
+ }
51
+ export interface DescribeConversionTasksRequest {
52
+ /**
53
+ * <p>The conversion task IDs.</p>
54
+ */
55
+ ConversionTaskIds?: string[];
56
+ /**
57
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
58
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
59
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
60
+ */
61
+ DryRun?: boolean;
62
+ }
63
+ export declare namespace DescribeConversionTasksRequest {
64
+ /**
65
+ * @internal
66
+ */
67
+ const filterSensitiveLog: (obj: DescribeConversionTasksRequest) => any;
68
+ }
69
+ /**
70
+ * <p>Describes a disk image.</p>
71
+ */
72
+ export interface DiskImageDescription {
73
+ /**
74
+ * <p>The checksum computed for the disk image.</p>
75
+ */
76
+ Checksum?: string;
77
+ /**
78
+ * <p>The disk image format.</p>
79
+ */
80
+ Format?: DiskImageFormat | string;
81
+ /**
82
+ * <p>A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for
83
+ * an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">Authenticating REST Requests</a> topic in
84
+ * the <i>Amazon Simple Storage Service Developer Guide</i>.</p>
85
+ * <p>For information about the import manifest referenced by this API action, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html">VM Import Manifest</a>.</p>
86
+ */
87
+ ImportManifestUrl?: string;
88
+ /**
89
+ * <p>The size of the disk image, in GiB.</p>
90
+ */
91
+ Size?: number;
92
+ }
93
+ export declare namespace DiskImageDescription {
94
+ /**
95
+ * @internal
96
+ */
97
+ const filterSensitiveLog: (obj: DiskImageDescription) => any;
98
+ }
99
+ /**
100
+ * <p>Describes a disk image volume.</p>
101
+ */
102
+ export interface DiskImageVolumeDescription {
103
+ /**
104
+ * <p>The volume identifier.</p>
105
+ */
106
+ Id?: string;
107
+ /**
108
+ * <p>The size of the volume, in GiB.</p>
109
+ */
110
+ Size?: number;
111
+ }
112
+ export declare namespace DiskImageVolumeDescription {
113
+ /**
114
+ * @internal
115
+ */
116
+ const filterSensitiveLog: (obj: DiskImageVolumeDescription) => any;
117
+ }
4
118
  /**
5
119
  * <p>Describes an import volume task.</p>
6
120
  */
@@ -4017,12 +4131,13 @@ export declare namespace AttributeBooleanValue {
4017
4131
  const filterSensitiveLog: (obj: AttributeBooleanValue) => any;
4018
4132
  }
4019
4133
  /**
4020
- * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.</p>
4134
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
4135
+ * Enclaves.</p>
4021
4136
  */
4022
4137
  export interface EnclaveOptions {
4023
4138
  /**
4024
- * <p>If this parameter is set to <code>true</code>, the instance is enabled for Amazon Web Services Nitro Enclaves;
4025
- * otherwise, it is not enabled for Amazon Web Services Nitro Enclaves.</p>
4139
+ * <p>If this parameter is set to <code>true</code>, the instance is enabled for Amazon Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro
4140
+ * Enclaves.</p>
4026
4141
  */
4027
4142
  Enabled?: boolean;
4028
4143
  }
@@ -4054,8 +4169,8 @@ export interface InstanceAttribute {
4054
4169
  */
4055
4170
  EnaSupport?: AttributeBooleanValue;
4056
4171
  /**
4057
- * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to <code>true</code>; otherwise,
4058
- * set it to <code>false</code>.</p>
4172
+ * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
4173
+ * <code>true</code>; otherwise, set it to <code>false</code>.</p>
4059
4174
  */
4060
4175
  EnclaveOptions?: EnclaveOptions;
4061
4176
  /**
@@ -4093,12 +4208,12 @@ export interface InstanceAttribute {
4093
4208
  */
4094
4209
  RootDeviceName?: AttributeValue;
4095
4210
  /**
4096
- * <p>Enable or disable source/destination checks, which ensure that the instance
4097
- * is either the source or the destination of any traffic that it receives.
4098
- * If the value is <code>true</code>, source/destination checks are enabled;
4099
- * otherwise, they are disabled. The default value is <code>true</code>.
4100
- * You must disable source/destination checks if the instance runs services
4101
- * such as network address translation, routing, or firewalls.</p>
4211
+ * <p>Enable or disable source/destination checks, which ensure that the instance is either
4212
+ * the source or the destination of any traffic that it receives. If the value is
4213
+ * <code>true</code>, source/destination checks are enabled; otherwise, they are
4214
+ * disabled. The default value is <code>true</code>. You must disable source/destination
4215
+ * checks if the instance runs services such as network address translation, routing, or
4216
+ * firewalls.</p>
4102
4217
  */
4103
4218
  SourceDestCheck?: AttributeBooleanValue;
4104
4219
  /**
@@ -4404,8 +4519,8 @@ export interface DescribeInstancesRequest {
4404
4519
  * <li>
4405
4520
  * <p>
4406
4521
  * <code>hypervisor</code> - The hypervisor type of the instance
4407
- * (<code>ovm</code> | <code>xen</code>). The value <code>xen</code>
4408
- * is used for both Xen and Nitro hypervisors.</p>
4522
+ * (<code>ovm</code> | <code>xen</code>). The value <code>xen</code> is used
4523
+ * for both Xen and Nitro hypervisors.</p>
4409
4524
  * </li>
4410
4525
  * <li>
4411
4526
  * <p>
@@ -4472,7 +4587,8 @@ export interface DescribeInstancesRequest {
4472
4587
  * <li>
4473
4588
  * <p>
4474
4589
  * <code>launch-index</code> - When launching multiple instances, this is the
4475
- * index for the instance in the launch group (for example, 0, 1, 2, and so on). </p>
4590
+ * index for the instance in the launch group (for example, 0, 1, 2, and so on).
4591
+ * </p>
4476
4592
  * </li>
4477
4593
  * <li>
4478
4594
  * <p>
@@ -4660,11 +4776,13 @@ export interface DescribeInstancesRequest {
4660
4776
  * </li>
4661
4777
  * <li>
4662
4778
  * <p>
4663
- * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
4779
+ * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the
4780
+ * Outpost.</p>
4664
4781
  * </li>
4665
4782
  * <li>
4666
4783
  * <p>
4667
- * <code>owner-id</code> - The Amazon Web Services account ID of the instance owner.</p>
4784
+ * <code>owner-id</code> - The Amazon Web Services account ID of the instance
4785
+ * owner.</p>
4668
4786
  * </li>
4669
4787
  * <li>
4670
4788
  * <p>
@@ -4941,8 +5059,7 @@ export declare namespace ElasticInferenceAcceleratorAssociation {
4941
5059
  /**
4942
5060
  * <p>Indicates whether your instance is configured for hibernation. This parameter is valid
4943
5061
  * only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
4944
- * prerequisites</a>. For
4945
- * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
5062
+ * prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
4946
5063
  * <i>Amazon EC2 User Guide</i>.</p>
4947
5064
  */
4948
5065
  export interface HibernationOptions {
@@ -4974,6 +5091,26 @@ export declare namespace LicenseConfiguration {
4974
5091
  */
4975
5092
  const filterSensitiveLog: (obj: LicenseConfiguration) => any;
4976
5093
  }
5094
+ export declare enum InstanceAutoRecoveryState {
5095
+ default = "default",
5096
+ disabled = "disabled"
5097
+ }
5098
+ /**
5099
+ * <p>The maintenance options for the instance.</p>
5100
+ */
5101
+ export interface InstanceMaintenanceOptions {
5102
+ /**
5103
+ * <p>Provides information on the current automatic recovery behavior of your
5104
+ * instance.</p>
5105
+ */
5106
+ AutoRecovery?: InstanceAutoRecoveryState | string;
5107
+ }
5108
+ export declare namespace InstanceMaintenanceOptions {
5109
+ /**
5110
+ * @internal
5111
+ */
5112
+ const filterSensitiveLog: (obj: InstanceMaintenanceOptions) => any;
5113
+ }
4977
5114
  export declare type InstanceMetadataEndpointState = "disabled" | "enabled";
4978
5115
  export declare enum InstanceMetadataProtocolState {
4979
5116
  disabled = "disabled",
@@ -5005,14 +5142,13 @@ export interface InstanceMetadataOptionsResponse {
5005
5142
  /**
5006
5143
  * <p>The state of token usage for your instance metadata requests.</p>
5007
5144
  * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
5008
- * with or without a signed token header on your request. If you retrieve the IAM role
5009
- * credentials without a token, the version 1.0 role credentials are returned. If you
5010
- * retrieve the IAM role credentials using a valid signed token, the version 2.0 role
5011
- * credentials are returned.</p>
5145
+ * with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are
5146
+ * returned. If you retrieve the IAM role credentials using a valid signed
5147
+ * token, the version 2.0 role credentials are returned.</p>
5012
5148
  * <p>If the state is <code>required</code>, you must send a signed token header with any
5013
- * instance metadata retrieval requests. In this state, retrieving the IAM role credential
5014
- * always returns the version 2.0 credentials; the version 1.0 credentials are not
5015
- * available.</p>
5149
+ * instance metadata retrieval requests. In this state, retrieving the IAM
5150
+ * role credential always returns the version 2.0 credentials; the version 1.0 credentials
5151
+ * are not available.</p>
5016
5152
  * <p>Default: <code>optional</code>
5017
5153
  * </p>
5018
5154
  */
@@ -5027,12 +5163,13 @@ export interface InstanceMetadataOptionsResponse {
5027
5163
  /**
5028
5164
  * <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or
5029
5165
  * disabled.</p>
5030
- * <p>If the value is <code>disabled</code>, you cannot access your
5031
- * instance metadata.</p>
5166
+ * <p>If the value is <code>disabled</code>, you cannot access your instance
5167
+ * metadata.</p>
5032
5168
  */
5033
5169
  HttpEndpoint?: InstanceMetadataEndpointState | string;
5034
5170
  /**
5035
- * <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.</p>
5171
+ * <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or
5172
+ * disabled.</p>
5036
5173
  */
5037
5174
  HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
5038
5175
  /**
@@ -5283,11 +5420,13 @@ export interface PrivateDnsNameOptionsResponse {
5283
5420
  */
5284
5421
  HostnameType?: HostnameType | string;
5285
5422
  /**
5286
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
5423
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
5424
+ * records.</p>
5287
5425
  */
5288
5426
  EnableResourceNameDnsARecord?: boolean;
5289
5427
  /**
5290
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>
5428
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
5429
+ * records.</p>
5291
5430
  */
5292
5431
  EnableResourceNameDnsAAAARecord?: boolean;
5293
5432
  }
@@ -5480,12 +5619,13 @@ export interface Instance {
5480
5619
  */
5481
5620
  EnaSupport?: boolean;
5482
5621
  /**
5483
- * <p>The hypervisor type of the instance. The value <code>xen</code> is used for both Xen and
5484
- * Nitro hypervisors.</p>
5622
+ * <p>The hypervisor type of the instance. The value <code>xen</code> is used for both Xen
5623
+ * and Nitro hypervisors.</p>
5485
5624
  */
5486
5625
  Hypervisor?: HypervisorType | string;
5487
5626
  /**
5488
- * <p>The IAM instance profile associated with the instance, if applicable.</p>
5627
+ * <p>The IAM instance profile associated with the instance, if
5628
+ * applicable.</p>
5489
5629
  */
5490
5630
  IamInstanceProfile?: IamInstanceProfile;
5491
5631
  /**
@@ -5572,12 +5712,13 @@ export interface Instance {
5572
5712
  */
5573
5713
  MetadataOptions?: InstanceMetadataOptionsResponse;
5574
5714
  /**
5575
- * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.</p>
5715
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
5716
+ * Enclaves.</p>
5576
5717
  */
5577
5718
  EnclaveOptions?: EnclaveOptions;
5578
5719
  /**
5579
5720
  * <p>The boot mode of the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
5580
- * <i>Amazon EC2 User Guide</i>.</p>
5721
+ * <i>Amazon EC2 User Guide</i>.</p>
5581
5722
  */
5582
5723
  BootMode?: BootModeValues | string;
5583
5724
  /**
@@ -5587,8 +5728,9 @@ export interface Instance {
5587
5728
  */
5588
5729
  PlatformDetails?: string;
5589
5730
  /**
5590
- * <p>The usage operation value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI billing information fields</a>
5591
- * in the <i>Amazon EC2 User Guide</i>.</p>
5731
+ * <p>The usage operation value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
5732
+ * billing information fields</a> in the
5733
+ * <i>Amazon EC2 User Guide</i>.</p>
5592
5734
  */
5593
5735
  UsageOperation?: string;
5594
5736
  /**
@@ -5603,6 +5745,10 @@ export interface Instance {
5603
5745
  * <p>The IPv6 address assigned to the instance.</p>
5604
5746
  */
5605
5747
  Ipv6Address?: string;
5748
+ /**
5749
+ * <p>Provides information on the recovery and maintenance options of your instance.</p>
5750
+ */
5751
+ MaintenanceOptions?: InstanceMaintenanceOptions;
5606
5752
  }
5607
5753
  export declare namespace Instance {
5608
5754
  /**
@@ -5611,9 +5757,9 @@ export declare namespace Instance {
5611
5757
  const filterSensitiveLog: (obj: Instance) => any;
5612
5758
  }
5613
5759
  /**
5614
- * <p>Describes a launch request for one or more instances, and includes
5615
- * owner, requester, and security group information that applies to all
5616
- * instances in the launch request.</p>
5760
+ * <p>Describes a launch request for one or more instances, and includes owner, requester,
5761
+ * and security group information that applies to all instances in the launch
5762
+ * request.</p>
5617
5763
  */
5618
5764
  export interface Reservation {
5619
5765
  /**
@@ -5630,7 +5776,7 @@ export interface Reservation {
5630
5776
  OwnerId?: string;
5631
5777
  /**
5632
5778
  * <p>The ID of the requester that launched the instances on your behalf (for example,
5633
- * Amazon Web Services Management Console or Auto Scaling).</p>
5779
+ * Amazon Web Services Management Console or Auto Scaling).</p>
5634
5780
  */
5635
5781
  RequesterId?: string;
5636
5782
  /**
@@ -7319,12 +7465,12 @@ export interface DescribeLaunchTemplatesRequest {
7319
7465
  * <code>launch-template-name</code> - The name of the launch template.</p>
7320
7466
  * </li>
7321
7467
  * <li>
7322
- * <p>
7468
+ * <p>
7323
7469
  * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
7324
7470
  * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
7325
7471
  * </li>
7326
7472
  * <li>
7327
- * <p>
7473
+ * <p>
7328
7474
  * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
7329
7475
  * </li>
7330
7476
  * </ul>
@@ -7353,8 +7499,8 @@ export interface DescribeLaunchTemplatesResult {
7353
7499
  */
7354
7500
  LaunchTemplates?: LaunchTemplate[];
7355
7501
  /**
7356
- * <p>The token to use to retrieve the next page of results. This value is
7357
- * <code>null</code> when there are no more results to return.</p>
7502
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
7503
+ * when there are no more results to return.</p>
7358
7504
  */
7359
7505
  NextToken?: string;
7360
7506
  }
@@ -7387,9 +7533,12 @@ export interface DescribeLaunchTemplateVersionsRequest {
7387
7533
  */
7388
7534
  LaunchTemplateName?: string;
7389
7535
  /**
7390
- * <p>One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account.</p>
7391
- * <p>To describe one or more versions of a specified launch template, valid values are <code>$Latest</code>, <code>$Default</code>, and numbers.</p>
7392
- * <p>To describe all launch templates in your account that are defined as the latest
7536
+ * <p>One or more versions of the launch template. Valid values depend on whether you are
7537
+ * describing a specified launch template (by ID or name) or all launch templates in your
7538
+ * account.</p>
7539
+ * <p>To describe one or more versions of a specified launch template, valid values are
7540
+ * <code>$Latest</code>, <code>$Default</code>, and numbers.</p>
7541
+ * <p>To describe all launch templates in your account that are defined as the latest
7393
7542
  * version, the valid value is <code>$Latest</code>. To describe all launch templates in
7394
7543
  * your account that are defined as the default version, the valid value is
7395
7544
  * <code>$Default</code>. You can specify <code>$Latest</code> and
@@ -7418,13 +7567,14 @@ export interface DescribeLaunchTemplateVersionsRequest {
7418
7567
  * <p>One or more filters.</p>
7419
7568
  * <ul>
7420
7569
  * <li>
7421
- * <p>
7422
- * <code>create-time</code> - The time the launch template version was created.</p>
7570
+ * <p>
7571
+ * <code>create-time</code> - The time the launch template version was
7572
+ * created.</p>
7423
7573
  * </li>
7424
7574
  * <li>
7425
7575
  * <p>
7426
- * <code>ebs-optimized</code> - A boolean that indicates whether the instance
7427
- * is optimized for Amazon EBS I/O.</p>
7576
+ * <code>ebs-optimized</code> - A boolean that indicates whether the instance is
7577
+ * optimized for Amazon EBS I/O.</p>
7428
7578
  * </li>
7429
7579
  * <li>
7430
7580
  * <p>
@@ -7462,8 +7612,8 @@ export interface DescribeLaunchTemplateVersionsRequest {
7462
7612
  * </li>
7463
7613
  * <li>
7464
7614
  * <p>
7465
- * <code>is-default-version</code> - A boolean that indicates whether the
7466
- * launch template version is the default version.</p>
7615
+ * <code>is-default-version</code> - A boolean that indicates whether the launch
7616
+ * template version is the default version.</p>
7467
7617
  * </li>
7468
7618
  * <li>
7469
7619
  * <p>
@@ -7498,8 +7648,8 @@ export interface DescribeLaunchTemplateVersionsResult {
7498
7648
  */
7499
7649
  LaunchTemplateVersions?: LaunchTemplateVersion[];
7500
7650
  /**
7501
- * <p>The token to use to retrieve the next page of results. This value is
7502
- * <code>null</code> when there are no more results to return.</p>
7651
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
7652
+ * when there are no more results to return.</p>
7503
7653
  */
7504
7654
  NextToken?: string;
7505
7655
  }
@@ -8670,7 +8820,7 @@ export interface DescribeNetworkInsightsAnalysesRequest {
8670
8820
  */
8671
8821
  AnalysisEndTime?: Date;
8672
8822
  /**
8673
- * <p>The filters. The following are possible values:</p>
8823
+ * <p>The filters. The following are the possible values:</p>
8674
8824
  * <ul>
8675
8825
  * <li>
8676
8826
  * <p>PathFound - A Boolean value that indicates whether a feasible path is found.</p>
@@ -8798,7 +8948,7 @@ export interface Explanation {
8798
8948
  */
8799
8949
  DestinationVpc?: AnalysisComponent;
8800
8950
  /**
8801
- * <p>The direction. The following are possible values:</p>
8951
+ * <p>The direction. The following are the possible values:</p>
8802
8952
  * <ul>
8803
8953
  * <li>
8804
8954
  * <p>egress</p>
@@ -8941,6 +9091,22 @@ export interface Explanation {
8941
9091
  * <p>The VPN gateway.</p>
8942
9092
  */
8943
9093
  VpnGateway?: AnalysisComponent;
9094
+ /**
9095
+ * <p>The transit gateway.</p>
9096
+ */
9097
+ TransitGateway?: AnalysisComponent;
9098
+ /**
9099
+ * <p>The transit gateway route table.</p>
9100
+ */
9101
+ TransitGatewayRouteTable?: AnalysisComponent;
9102
+ /**
9103
+ * <p>The transit gateway route table route.</p>
9104
+ */
9105
+ TransitGatewayRouteTableRoute?: TransitGatewayRouteTableRoute;
9106
+ /**
9107
+ * <p>The transit gateway attachment.</p>
9108
+ */
9109
+ TransitGatewayAttachment?: AnalysisComponent;
8944
9110
  }
8945
9111
  export declare namespace Explanation {
8946
9112
  /**
@@ -9037,7 +9203,7 @@ export interface DescribeNetworkInsightsPathsRequest {
9037
9203
  */
9038
9204
  NetworkInsightsPathIds?: string[];
9039
9205
  /**
9040
- * <p>The filters. The following are possible values:</p>
9206
+ * <p>The filters. The following are the possible values:</p>
9041
9207
  * <ul>
9042
9208
  * <li>
9043
9209
  * <p>Destination - The ID of the resource.</p>
@@ -9453,7 +9619,8 @@ export interface DescribePlacementGroupsRequest {
9453
9619
  * </li>
9454
9620
  * <li>
9455
9621
  * <p>
9456
- * <code>group-arn</code> - The Amazon Resource Name (ARN) of the placement group.</p>
9622
+ * <code>group-arn</code> - The Amazon Resource Name (ARN) of the placement
9623
+ * group.</p>
9457
9624
  * </li>
9458
9625
  * <li>
9459
9626
  * <p>
@@ -9866,165 +10033,3 @@ export declare namespace DescribeRegionsResult {
9866
10033
  */
9867
10034
  const filterSensitiveLog: (obj: DescribeRegionsResult) => any;
9868
10035
  }
9869
- export interface DescribeReplaceRootVolumeTasksRequest {
9870
- /**
9871
- * <p>The ID of the root volume replacement task to view.</p>
9872
- */
9873
- ReplaceRootVolumeTaskIds?: string[];
9874
- /**
9875
- * <p>Filter to use:</p>
9876
- * <ul>
9877
- * <li>
9878
- * <p>
9879
- * <code>instance-id</code> - The ID of the instance for which the root volume replacement task was created.</p>
9880
- * </li>
9881
- * </ul>
9882
- */
9883
- Filters?: Filter[];
9884
- /**
9885
- * <p>The maximum number of results to return with a single call.
9886
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
9887
- */
9888
- MaxResults?: number;
9889
- /**
9890
- * <p>The token for the next page of results.</p>
9891
- */
9892
- NextToken?: string;
9893
- /**
9894
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9895
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9896
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9897
- */
9898
- DryRun?: boolean;
9899
- }
9900
- export declare namespace DescribeReplaceRootVolumeTasksRequest {
9901
- /**
9902
- * @internal
9903
- */
9904
- const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksRequest) => any;
9905
- }
9906
- export interface DescribeReplaceRootVolumeTasksResult {
9907
- /**
9908
- * <p>Information about the root volume replacement task.</p>
9909
- */
9910
- ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[];
9911
- /**
9912
- * <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>
9913
- */
9914
- NextToken?: string;
9915
- }
9916
- export declare namespace DescribeReplaceRootVolumeTasksResult {
9917
- /**
9918
- * @internal
9919
- */
9920
- const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksResult) => any;
9921
- }
9922
- export declare enum OfferingClassType {
9923
- CONVERTIBLE = "convertible",
9924
- STANDARD = "standard"
9925
- }
9926
- export declare type OfferingTypeValues = "All Upfront" | "Heavy Utilization" | "Light Utilization" | "Medium Utilization" | "No Upfront" | "Partial Upfront";
9927
- /**
9928
- * <p>Contains the parameters for DescribeReservedInstances.</p>
9929
- */
9930
- export interface DescribeReservedInstancesRequest {
9931
- /**
9932
- * <p>One or more filters.</p>
9933
- * <ul>
9934
- * <li>
9935
- * <p>
9936
- * <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
9937
- * </li>
9938
- * <li>
9939
- * <p>
9940
- * <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
9941
- * </li>
9942
- * <li>
9943
- * <p>
9944
- * <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
9945
- * </li>
9946
- * <li>
9947
- * <p>
9948
- * <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
9949
- * </li>
9950
- * <li>
9951
- * <p>
9952
- * <code>instance-type</code> - The instance type that is covered by the reservation.</p>
9953
- * </li>
9954
- * <li>
9955
- * <p>
9956
- * <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
9957
- * </li>
9958
- * <li>
9959
- * <p>
9960
- * <code>product-description</code> - The Reserved Instance product platform
9961
- * description. Instances that include <code>(Amazon VPC)</code> in the product platform
9962
- * description will only be displayed to EC2-Classic account holders and are for use with
9963
- * Amazon VPC (<code>Linux/UNIX</code> | <code>Linux/UNIX (Amazon VPC)</code> | <code>SUSE
9964
- * Linux</code> | <code>SUSE Linux (Amazon VPC)</code> | <code>Red Hat Enterprise
9965
- * Linux</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> | <code>Red Hat
9966
- * Enterprise Linux with HA (Amazon VPC)</code> | <code>Windows</code> | <code>Windows
9967
- * (Amazon VPC)</code> | <code>Windows with SQL Server Standard</code> | <code>Windows with
9968
- * SQL Server Standard (Amazon VPC)</code> | <code>Windows with SQL Server Web</code> |
9969
- * <code>Windows with SQL Server Web (Amazon VPC)</code> | <code>Windows with SQL Server
9970
- * Enterprise</code> | <code>Windows with SQL Server Enterprise (Amazon
9971
- * VPC)</code>).</p>
9972
- * </li>
9973
- * <li>
9974
- * <p>
9975
- * <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
9976
- * </li>
9977
- * <li>
9978
- * <p>
9979
- * <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
9980
- * </li>
9981
- * <li>
9982
- * <p>
9983
- * <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
9984
- * </li>
9985
- * <li>
9986
- * <p>
9987
- * <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
9988
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
9989
- * </li>
9990
- * <li>
9991
- * <p>
9992
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
9993
- * </li>
9994
- * <li>
9995
- * <p>
9996
- * <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
9997
- * </li>
9998
- * </ul>
9999
- */
10000
- Filters?: Filter[];
10001
- /**
10002
- * <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
10003
- */
10004
- OfferingClass?: OfferingClassType | string;
10005
- /**
10006
- * <p>One or more Reserved Instance IDs.</p>
10007
- * <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
10008
- */
10009
- ReservedInstancesIds?: string[];
10010
- /**
10011
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10012
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10013
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10014
- */
10015
- DryRun?: boolean;
10016
- /**
10017
- * <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
10018
- * version, you only have access to the <code>Medium Utilization</code> Reserved Instance
10019
- * offering type.</p>
10020
- */
10021
- OfferingType?: OfferingTypeValues | string;
10022
- }
10023
- export declare namespace DescribeReservedInstancesRequest {
10024
- /**
10025
- * @internal
10026
- */
10027
- const filterSensitiveLog: (obj: DescribeReservedInstancesRequest) => any;
10028
- }
10029
- export declare type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)";
10030
- export declare type RecurringChargeFrequency = "Hourly";