@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,8 +1,192 @@
1
- import { _InstanceType, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AttributeValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, PortRange, RouteTableAssociationState, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
1
+ import { _InstanceType, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AttributeValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, PortRange, RouteTableAssociationState, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
2
  import { AutoAcceptSharedAttachmentsValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, FleetLaunchTemplateConfigRequest, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, RuleAction, ShutdownBehavior, SpotInstanceType, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, VolumeType, VpnEcmpSupportValue } from "./models_1";
3
3
  import { Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayPrefixListReference, TransitGatewayRoute, VpnConnection } from "./models_2";
4
- import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, PublicIpv4PoolRange, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
- import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, Purchase, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VolumeModification } from "./models_4";
4
+ import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PaymentOption, PermissionGroup, PublicIpv4PoolRange, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
+ import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VolumeModification } from "./models_4";
6
+ export interface GetGroupsForCapacityReservationRequest {
7
+ /**
8
+ * <p>The ID of the Capacity Reservation.</p>
9
+ */
10
+ CapacityReservationId: string | undefined;
11
+ /**
12
+ * <p>The token to use to retrieve the next page of results.</p>
13
+ */
14
+ NextToken?: string;
15
+ /**
16
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
17
+ */
18
+ MaxResults?: number;
19
+ /**
20
+ * <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>
21
+ */
22
+ DryRun?: boolean;
23
+ }
24
+ export declare namespace GetGroupsForCapacityReservationRequest {
25
+ /**
26
+ * @internal
27
+ */
28
+ const filterSensitiveLog: (obj: GetGroupsForCapacityReservationRequest) => any;
29
+ }
30
+ /**
31
+ * <p>Describes a resource group to which a Capacity Reservation has been added.</p>
32
+ */
33
+ export interface CapacityReservationGroup {
34
+ /**
35
+ * <p>The ARN of the resource group.</p>
36
+ */
37
+ GroupArn?: string;
38
+ /**
39
+ * <p>The ID of the Amazon Web Services account that owns the resource group.</p>
40
+ */
41
+ OwnerId?: string;
42
+ }
43
+ export declare namespace CapacityReservationGroup {
44
+ /**
45
+ * @internal
46
+ */
47
+ const filterSensitiveLog: (obj: CapacityReservationGroup) => any;
48
+ }
49
+ export interface GetGroupsForCapacityReservationResult {
50
+ /**
51
+ * <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>
52
+ */
53
+ NextToken?: string;
54
+ /**
55
+ * <p>Information about the resource groups to which the Capacity Reservation has been added.</p>
56
+ */
57
+ CapacityReservationGroups?: CapacityReservationGroup[];
58
+ }
59
+ export declare namespace GetGroupsForCapacityReservationResult {
60
+ /**
61
+ * @internal
62
+ */
63
+ const filterSensitiveLog: (obj: GetGroupsForCapacityReservationResult) => any;
64
+ }
65
+ export interface GetHostReservationPurchasePreviewRequest {
66
+ /**
67
+ * <p>The IDs of the Dedicated Hosts with which the reservation is associated.</p>
68
+ */
69
+ HostIdSet: string[] | undefined;
70
+ /**
71
+ * <p>The offering ID of the reservation.</p>
72
+ */
73
+ OfferingId: string | undefined;
74
+ }
75
+ export declare namespace GetHostReservationPurchasePreviewRequest {
76
+ /**
77
+ * @internal
78
+ */
79
+ const filterSensitiveLog: (obj: GetHostReservationPurchasePreviewRequest) => any;
80
+ }
81
+ /**
82
+ * <p>Describes the result of the purchase.</p>
83
+ */
84
+ export interface Purchase {
85
+ /**
86
+ * <p>The currency in which the <code>UpfrontPrice</code> and <code>HourlyPrice</code>
87
+ * amounts are specified. At this time, the only supported currency is
88
+ * <code>USD</code>.</p>
89
+ */
90
+ CurrencyCode?: CurrencyCodeValues | string;
91
+ /**
92
+ * <p>The duration of the reservation's term in seconds.</p>
93
+ */
94
+ Duration?: number;
95
+ /**
96
+ * <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
97
+ */
98
+ HostIdSet?: string[];
99
+ /**
100
+ * <p>The ID of the reservation.</p>
101
+ */
102
+ HostReservationId?: string;
103
+ /**
104
+ * <p>The hourly price of the reservation per hour.</p>
105
+ */
106
+ HourlyPrice?: string;
107
+ /**
108
+ * <p>The instance family on the Dedicated Host that the reservation can be associated
109
+ * with.</p>
110
+ */
111
+ InstanceFamily?: string;
112
+ /**
113
+ * <p>The payment option for the reservation.</p>
114
+ */
115
+ PaymentOption?: PaymentOption | string;
116
+ /**
117
+ * <p>The upfront price of the reservation.</p>
118
+ */
119
+ UpfrontPrice?: string;
120
+ }
121
+ export declare namespace Purchase {
122
+ /**
123
+ * @internal
124
+ */
125
+ const filterSensitiveLog: (obj: Purchase) => any;
126
+ }
127
+ export interface GetHostReservationPurchasePreviewResult {
128
+ /**
129
+ * <p>The currency in which the <code>totalUpfrontPrice</code> and
130
+ * <code>totalHourlyPrice</code> amounts are specified. At this time, the only
131
+ * supported currency is <code>USD</code>.</p>
132
+ */
133
+ CurrencyCode?: CurrencyCodeValues | string;
134
+ /**
135
+ * <p>The purchase information of the Dedicated Host reservation and the Dedicated Hosts
136
+ * associated with it.</p>
137
+ */
138
+ Purchase?: Purchase[];
139
+ /**
140
+ * <p>The potential total hourly price of the reservation per hour.</p>
141
+ */
142
+ TotalHourlyPrice?: string;
143
+ /**
144
+ * <p>The potential total upfront price. This is billed immediately.</p>
145
+ */
146
+ TotalUpfrontPrice?: string;
147
+ }
148
+ export declare namespace GetHostReservationPurchasePreviewResult {
149
+ /**
150
+ * @internal
151
+ */
152
+ const filterSensitiveLog: (obj: GetHostReservationPurchasePreviewResult) => any;
153
+ }
154
+ export interface GetInstanceTypesFromInstanceRequirementsRequest {
155
+ /**
156
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
157
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
158
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
159
+ */
160
+ DryRun?: boolean;
161
+ /**
162
+ * <p>The processor architecture type.</p>
163
+ */
164
+ ArchitectureTypes: (ArchitectureType | string)[] | undefined;
165
+ /**
166
+ * <p>The virtualization type.</p>
167
+ */
168
+ VirtualizationTypes: (VirtualizationType | string)[] | undefined;
169
+ /**
170
+ * <p>The attributes required for the instance types.</p>
171
+ */
172
+ InstanceRequirements: InstanceRequirementsRequest | undefined;
173
+ /**
174
+ * <p>The maximum number of results to return in a single call. Specify a value between 1 and
175
+ * 1000. The default value is 1000. To retrieve the remaining results, make another call with
176
+ * the returned <code>NextToken</code> value.</p>
177
+ */
178
+ MaxResults?: number;
179
+ /**
180
+ * <p>The token for the next set of results.</p>
181
+ */
182
+ NextToken?: string;
183
+ }
184
+ export declare namespace GetInstanceTypesFromInstanceRequirementsRequest {
185
+ /**
186
+ * @internal
187
+ */
188
+ const filterSensitiveLog: (obj: GetInstanceTypesFromInstanceRequirementsRequest) => any;
189
+ }
6
190
  /**
7
191
  * <p>The list of instance types with the specified instance attributes.</p>
8
192
  */
@@ -2967,7 +3151,8 @@ export declare namespace ModifyFleetRequest {
2967
3151
  }
2968
3152
  export interface ModifyFleetResult {
2969
3153
  /**
2970
- * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
3154
+ * <p>If the request succeeds, the response returns <code>true</code>. If the request fails,
3155
+ * no response is returned, and instead an error message is returned.</p>
2971
3156
  */
2972
3157
  Return?: boolean;
2973
3158
  }
@@ -3344,12 +3529,12 @@ export declare namespace BlobAttributeValue {
3344
3529
  }
3345
3530
  export interface ModifyInstanceAttributeRequest {
3346
3531
  /**
3347
- * <p>Enable or disable source/destination checks, which ensure that the instance
3348
- * is either the source or the destination of any traffic that it receives.
3349
- * If the value is <code>true</code>, source/destination checks are enabled;
3350
- * otherwise, they are disabled. The default value is <code>true</code>.
3351
- * You must disable source/destination checks if the instance runs services
3352
- * such as network address translation, routing, or firewalls.</p>
3532
+ * <p>Enable or disable source/destination checks, which ensure that the instance is either
3533
+ * the source or the destination of any traffic that it receives. If the value is
3534
+ * <code>true</code>, source/destination checks are enabled; otherwise, they are
3535
+ * disabled. The default value is <code>true</code>. You must disable source/destination
3536
+ * checks if the instance runs services such as network address translation, routing, or
3537
+ * firewalls.</p>
3353
3538
  */
3354
3539
  SourceDestCheck?: AttributeBooleanValue;
3355
3540
  /**
@@ -3363,7 +3548,7 @@ export interface ModifyInstanceAttributeRequest {
3363
3548
  * deleted when the instance is terminated.</p>
3364
3549
  * <p>To add instance store volumes to an Amazon EBS-backed instance, you must add them when
3365
3550
  * you launch the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM">Update the block device mapping when launching an instance</a> in the
3366
- * <i>Amazon EC2 User Guide</i>.</p>
3551
+ * <i>Amazon EC2 User Guide</i>.</p>
3367
3552
  */
3368
3553
  BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[];
3369
3554
  /**
@@ -3393,9 +3578,10 @@ export interface ModifyInstanceAttributeRequest {
3393
3578
  */
3394
3579
  EnaSupport?: AttributeBooleanValue;
3395
3580
  /**
3396
- * <p>[EC2-VPC] Replaces the security groups of the instance with the specified security groups.
3397
- * You must specify at least one security group, even if it's just the default security group for the VPC. You must
3398
- * specify the security group ID, not the security group name.</p>
3581
+ * <p>[EC2-VPC] Replaces the security groups of the instance with the specified security
3582
+ * groups. You must specify at least one security group, even if it's just the default
3583
+ * security group for the VPC. You must specify the security group ID, not the security
3584
+ * group name.</p>
3399
3585
  */
3400
3586
  Groups?: string[];
3401
3587
  /**
@@ -3409,8 +3595,8 @@ export interface ModifyInstanceAttributeRequest {
3409
3595
  InstanceInitiatedShutdownBehavior?: AttributeValue;
3410
3596
  /**
3411
3597
  * <p>Changes the instance type to the specified value. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance
3412
- * types</a> in the <i>Amazon EC2 User Guide</i>. If the instance type is not valid,
3413
- * the error returned is <code>InvalidInstanceAttributeValue</code>.</p>
3598
+ * types</a> in the <i>Amazon EC2 User Guide</i>. If the instance type is
3599
+ * not valid, the error returned is <code>InvalidInstanceAttributeValue</code>.</p>
3414
3600
  */
3415
3601
  InstanceType?: AttributeValue;
3416
3602
  /**
@@ -3433,9 +3619,8 @@ export interface ModifyInstanceAttributeRequest {
3433
3619
  */
3434
3620
  SriovNetSupport?: AttributeValue;
3435
3621
  /**
3436
- * <p>Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK
3437
- * or command line tool, base64-encoding is performed for you, and you can load the text
3438
- * from a file. Otherwise, you must provide base64-encoded text.</p>
3622
+ * <p>Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK or command line tool, base64-encoding is performed for you, and you
3623
+ * can load the text from a file. Otherwise, you must provide base64-encoded text.</p>
3439
3624
  */
3440
3625
  UserData?: BlobAttributeValue;
3441
3626
  /**
@@ -3756,6 +3941,47 @@ export declare namespace ModifyInstanceEventWindowResult {
3756
3941
  */
3757
3942
  const filterSensitiveLog: (obj: ModifyInstanceEventWindowResult) => any;
3758
3943
  }
3944
+ export interface ModifyInstanceMaintenanceOptionsRequest {
3945
+ /**
3946
+ * <p>The ID of the instance.</p>
3947
+ */
3948
+ InstanceId: string | undefined;
3949
+ /**
3950
+ * <p>Disables the automatic recovery behavior of your instance or sets it to
3951
+ * default.</p>
3952
+ */
3953
+ AutoRecovery?: InstanceAutoRecoveryState | string;
3954
+ /**
3955
+ * <p>Checks whether you have the required permissions for the action, without actually
3956
+ * making the request, and provides an error response. If you have the required
3957
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
3958
+ * <code>UnauthorizedOperation</code>.</p>
3959
+ */
3960
+ DryRun?: boolean;
3961
+ }
3962
+ export declare namespace ModifyInstanceMaintenanceOptionsRequest {
3963
+ /**
3964
+ * @internal
3965
+ */
3966
+ const filterSensitiveLog: (obj: ModifyInstanceMaintenanceOptionsRequest) => any;
3967
+ }
3968
+ export interface ModifyInstanceMaintenanceOptionsResult {
3969
+ /**
3970
+ * <p>The ID of the instance.</p>
3971
+ */
3972
+ InstanceId?: string;
3973
+ /**
3974
+ * <p>Provides information on the current automatic recovery behavior of your
3975
+ * instance.</p>
3976
+ */
3977
+ AutoRecovery?: InstanceAutoRecoveryState | string;
3978
+ }
3979
+ export declare namespace ModifyInstanceMaintenanceOptionsResult {
3980
+ /**
3981
+ * @internal
3982
+ */
3983
+ const filterSensitiveLog: (obj: ModifyInstanceMaintenanceOptionsResult) => any;
3984
+ }
3759
3985
  export interface ModifyInstanceMetadataOptionsRequest {
3760
3986
  /**
3761
3987
  * <p>The ID of the instance.</p>
@@ -3765,33 +3991,34 @@ export interface ModifyInstanceMetadataOptionsRequest {
3765
3991
  * <p>The state of token usage for your instance metadata requests. If the parameter is not
3766
3992
  * specified in the request, the default state is <code>optional</code>.</p>
3767
3993
  * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
3768
- * with or without a signed token header on your request. If you retrieve the IAM role
3769
- * credentials without a token, the version 1.0 role credentials are returned. If you
3770
- * retrieve the IAM role credentials using a valid signed token, the version 2.0 role
3771
- * credentials are returned.</p>
3994
+ * 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
3995
+ * returned. If you retrieve the IAM role credentials using a valid signed
3996
+ * token, the version 2.0 role credentials are returned.</p>
3772
3997
  * <p>If the state is <code>required</code>, you must send a signed token header with any
3773
- * instance metadata retrieval requests. In this state, retrieving the IAM role credential
3774
- * always returns the version 2.0 credentials; the version 1.0 credentials are not
3775
- * available.</p>
3998
+ * instance metadata retrieval requests. In this state, retrieving the IAM
3999
+ * role credential always returns the version 2.0 credentials; the version 1.0 credentials
4000
+ * are not available.</p>
3776
4001
  */
3777
4002
  HttpTokens?: HttpTokensState | string;
3778
4003
  /**
3779
4004
  * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
3780
- * number, the further instance metadata requests can travel. If no parameter is specified, the existing state is maintained.</p>
4005
+ * number, the further instance metadata requests can travel. If no parameter is specified,
4006
+ * the existing state is maintained.</p>
3781
4007
  * <p>Possible values: Integers from 1 to 64</p>
3782
4008
  */
3783
4009
  HttpPutResponseHopLimit?: number;
3784
4010
  /**
3785
- * <p>Enables or disables the HTTP metadata endpoint on your instances. If
3786
- * this parameter is not specified, the existing state is maintained.</p>
3787
- * <p>If you specify a value of <code>disabled</code>, you cannot access your
3788
- * instance metadata.</p>
4011
+ * <p>Enables or disables the HTTP metadata endpoint on your instances. If this parameter is
4012
+ * not specified, the existing state is maintained.</p>
4013
+ * <p>If you specify a value of <code>disabled</code>, you cannot access your instance
4014
+ * metadata.</p>
3789
4015
  */
3790
4016
  HttpEndpoint?: InstanceMetadataEndpointState | string;
3791
4017
  /**
3792
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
3793
- * and provides an error response. If you have the required permissions, the error response is
3794
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4018
+ * <p>Checks whether you have the required permissions for the action, without actually
4019
+ * making the request, and provides an error response. If you have the required
4020
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
4021
+ * <code>UnauthorizedOperation</code>.</p>
3795
4022
  */
3796
4023
  DryRun?: boolean;
3797
4024
  /**
@@ -4292,9 +4519,10 @@ export declare namespace ModifyNetworkInterfaceAttributeRequest {
4292
4519
  }
4293
4520
  export interface ModifyPrivateDnsNameOptionsRequest {
4294
4521
  /**
4295
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4296
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4297
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4522
+ * <p>Checks whether you have the required permissions for the action, without actually
4523
+ * making the request, and provides an error response. If you have the required
4524
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
4525
+ * <code>UnauthorizedOperation</code>.</p>
4298
4526
  */
4299
4527
  DryRun?: boolean;
4300
4528
  /**
@@ -4302,18 +4530,20 @@ export interface ModifyPrivateDnsNameOptionsRequest {
4302
4530
  */
4303
4531
  InstanceId?: string;
4304
4532
  /**
4305
- * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be
4306
- * based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based
4307
- * on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance
4308
- * IPv4 address or the instance ID.</p>
4533
+ * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
4534
+ * must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
4535
+ * must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
4536
+ * names use the instance IPv4 address or the instance ID.</p>
4309
4537
  */
4310
4538
  PrivateDnsHostnameType?: HostnameType | string;
4311
4539
  /**
4312
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
4540
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
4541
+ * records.</p>
4313
4542
  */
4314
4543
  EnableResourceNameDnsARecord?: boolean;
4315
4544
  /**
4316
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>
4545
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
4546
+ * records.</p>
4317
4547
  */
4318
4548
  EnableResourceNameDnsAAAARecord?: boolean;
4319
4549
  }
@@ -4325,7 +4555,8 @@ export declare namespace ModifyPrivateDnsNameOptionsRequest {
4325
4555
  }
4326
4556
  export interface ModifyPrivateDnsNameOptionsResult {
4327
4557
  /**
4328
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
4558
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an
4559
+ * error.</p>
4329
4560
  */
4330
4561
  Return?: boolean;
4331
4562
  }
@@ -4632,7 +4863,8 @@ export declare namespace ModifySpotFleetRequestRequest {
4632
4863
  */
4633
4864
  export interface ModifySpotFleetRequestResponse {
4634
4865
  /**
4635
- * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
4866
+ * <p>If the request succeeds, the response returns <code>true</code>. If the request fails,
4867
+ * no response is returned, and instead an error message is returned.</p>
4636
4868
  */
4637
4869
  Return?: boolean;
4638
4870
  }
@@ -7630,124 +7862,3 @@ export declare namespace RequestSpotInstancesResult {
7630
7862
  */
7631
7863
  const filterSensitiveLog: (obj: RequestSpotInstancesResult) => any;
7632
7864
  }
7633
- export interface ResetAddressAttributeRequest {
7634
- /**
7635
- * <p>[EC2-VPC] The allocation ID.</p>
7636
- */
7637
- AllocationId: string | undefined;
7638
- /**
7639
- * <p>The attribute of the IP address.</p>
7640
- */
7641
- Attribute: AddressAttributeName | string | undefined;
7642
- /**
7643
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7644
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7645
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7646
- */
7647
- DryRun?: boolean;
7648
- }
7649
- export declare namespace ResetAddressAttributeRequest {
7650
- /**
7651
- * @internal
7652
- */
7653
- const filterSensitiveLog: (obj: ResetAddressAttributeRequest) => any;
7654
- }
7655
- export interface ResetAddressAttributeResult {
7656
- /**
7657
- * <p>Information about the IP address.</p>
7658
- */
7659
- Address?: AddressAttribute;
7660
- }
7661
- export declare namespace ResetAddressAttributeResult {
7662
- /**
7663
- * @internal
7664
- */
7665
- const filterSensitiveLog: (obj: ResetAddressAttributeResult) => any;
7666
- }
7667
- export interface ResetEbsDefaultKmsKeyIdRequest {
7668
- /**
7669
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7670
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7671
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7672
- */
7673
- DryRun?: boolean;
7674
- }
7675
- export declare namespace ResetEbsDefaultKmsKeyIdRequest {
7676
- /**
7677
- * @internal
7678
- */
7679
- const filterSensitiveLog: (obj: ResetEbsDefaultKmsKeyIdRequest) => any;
7680
- }
7681
- export interface ResetEbsDefaultKmsKeyIdResult {
7682
- /**
7683
- * <p>The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.</p>
7684
- */
7685
- KmsKeyId?: string;
7686
- }
7687
- export declare namespace ResetEbsDefaultKmsKeyIdResult {
7688
- /**
7689
- * @internal
7690
- */
7691
- const filterSensitiveLog: (obj: ResetEbsDefaultKmsKeyIdResult) => any;
7692
- }
7693
- export declare type ResetFpgaImageAttributeName = "loadPermission";
7694
- export interface ResetFpgaImageAttributeRequest {
7695
- /**
7696
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7697
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7698
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7699
- */
7700
- DryRun?: boolean;
7701
- /**
7702
- * <p>The ID of the AFI.</p>
7703
- */
7704
- FpgaImageId: string | undefined;
7705
- /**
7706
- * <p>The attribute.</p>
7707
- */
7708
- Attribute?: ResetFpgaImageAttributeName | string;
7709
- }
7710
- export declare namespace ResetFpgaImageAttributeRequest {
7711
- /**
7712
- * @internal
7713
- */
7714
- const filterSensitiveLog: (obj: ResetFpgaImageAttributeRequest) => any;
7715
- }
7716
- export interface ResetFpgaImageAttributeResult {
7717
- /**
7718
- * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
7719
- */
7720
- Return?: boolean;
7721
- }
7722
- export declare namespace ResetFpgaImageAttributeResult {
7723
- /**
7724
- * @internal
7725
- */
7726
- const filterSensitiveLog: (obj: ResetFpgaImageAttributeResult) => any;
7727
- }
7728
- export declare type ResetImageAttributeName = "launchPermission";
7729
- /**
7730
- * <p>Contains the parameters for ResetImageAttribute.</p>
7731
- */
7732
- export interface ResetImageAttributeRequest {
7733
- /**
7734
- * <p>The attribute to reset (currently you can only reset the launch permission attribute).</p>
7735
- */
7736
- Attribute: ResetImageAttributeName | string | undefined;
7737
- /**
7738
- * <p>The ID of the AMI.</p>
7739
- */
7740
- ImageId: string | undefined;
7741
- /**
7742
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7743
- * and provides an error response. If you have the required permissions, the error response is
7744
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7745
- */
7746
- DryRun?: boolean;
7747
- }
7748
- export declare namespace ResetImageAttributeRequest {
7749
- /**
7750
- * @internal
7751
- */
7752
- const filterSensitiveLog: (obj: ResetImageAttributeRequest) => any;
7753
- }