@aws-sdk/client-ec2 3.261.0 → 3.264.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 (134) hide show
  1. package/dist-cjs/EC2.js +60 -0
  2. package/dist-cjs/commands/AssignPrivateNatGatewayAddressCommand.js +46 -0
  3. package/dist-cjs/commands/AssociateNatGatewayAddressCommand.js +46 -0
  4. package/dist-cjs/commands/CreateClientVpnEndpointCommand.js +3 -3
  5. package/dist-cjs/commands/CreateClientVpnRouteCommand.js +1 -2
  6. package/dist-cjs/commands/DeleteTrafficMirrorTargetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteTransitGatewayCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  9. package/dist-cjs/commands/DescribeInstanceStatusCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeVolumeStatusCommand.js +2 -1
  12. package/dist-cjs/commands/DisassociateNatGatewayAddressCommand.js +46 -0
  13. package/dist-cjs/commands/ModifyAvailabilityZoneGroupCommand.js +3 -3
  14. package/dist-cjs/commands/ModifyCapacityReservationCommand.js +3 -3
  15. package/dist-cjs/commands/ModifyCapacityReservationFleetCommand.js +3 -3
  16. package/dist-cjs/commands/RunInstancesCommand.js +2 -2
  17. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +2 -1
  18. package/dist-cjs/commands/UnassignPrivateIpAddressesCommand.js +2 -2
  19. package/dist-cjs/commands/UnassignPrivateNatGatewayAddressCommand.js +46 -0
  20. package/dist-cjs/commands/UnmonitorInstancesCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +3 -3
  22. package/dist-cjs/commands/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +37 -34
  24. package/dist-cjs/models/models_1.js +34 -33
  25. package/dist-cjs/models/models_2.js +29 -26
  26. package/dist-cjs/models/models_3.js +26 -30
  27. package/dist-cjs/models/models_4.js +30 -30
  28. package/dist-cjs/models/models_5.js +38 -34
  29. package/dist-cjs/models/models_6.js +34 -34
  30. package/dist-cjs/models/models_7.js +37 -1
  31. package/dist-cjs/protocols/Aws_ec2.js +551 -161
  32. package/dist-es/EC2.js +60 -0
  33. package/dist-es/commands/AssignPrivateNatGatewayAddressCommand.js +42 -0
  34. package/dist-es/commands/AssociateNatGatewayAddressCommand.js +42 -0
  35. package/dist-es/commands/CreateClientVpnEndpointCommand.js +1 -1
  36. package/dist-es/commands/CreateClientVpnRouteCommand.js +1 -2
  37. package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +1 -1
  38. package/dist-es/commands/DeleteTransitGatewayCommand.js +1 -1
  39. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  40. package/dist-es/commands/DescribeInstanceStatusCommand.js +1 -2
  41. package/dist-es/commands/DescribeInstancesCommand.js +2 -1
  42. package/dist-es/commands/DescribeVolumeStatusCommand.js +2 -1
  43. package/dist-es/commands/DisassociateNatGatewayAddressCommand.js +42 -0
  44. package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +1 -1
  45. package/dist-es/commands/ModifyCapacityReservationCommand.js +1 -1
  46. package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +1 -1
  47. package/dist-es/commands/RunInstancesCommand.js +1 -1
  48. package/dist-es/commands/UnassignIpv6AddressesCommand.js +2 -1
  49. package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +1 -1
  50. package/dist-es/commands/UnassignPrivateNatGatewayAddressCommand.js +42 -0
  51. package/dist-es/commands/UnmonitorInstancesCommand.js +1 -1
  52. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +1 -1
  53. package/dist-es/commands/index.js +4 -0
  54. package/dist-es/models/models_0.js +26 -24
  55. package/dist-es/models/models_1.js +24 -23
  56. package/dist-es/models/models_2.js +20 -15
  57. package/dist-es/models/models_3.js +15 -20
  58. package/dist-es/models/models_4.js +20 -21
  59. package/dist-es/models/models_5.js +27 -21
  60. package/dist-es/models/models_6.js +21 -21
  61. package/dist-es/models/models_7.js +27 -0
  62. package/dist-es/protocols/Aws_ec2.js +520 -138
  63. package/dist-types/EC2.d.ts +50 -7
  64. package/dist-types/EC2Client.d.ts +6 -2
  65. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
  66. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  67. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
  68. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
  70. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  73. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  74. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
  75. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
  76. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  77. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
  79. package/dist-types/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +1 -1
  80. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
  81. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  82. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  83. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
  86. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  87. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  88. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  89. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
  90. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  92. package/dist-types/commands/index.d.ts +4 -0
  93. package/dist-types/models/models_0.d.ts +134 -234
  94. package/dist-types/models/models_1.d.ts +236 -166
  95. package/dist-types/models/models_2.d.ts +154 -71
  96. package/dist-types/models/models_3.d.ts +68 -205
  97. package/dist-types/models/models_4.d.ts +208 -81
  98. package/dist-types/models/models_5.d.ts +124 -177
  99. package/dist-types/models/models_6.d.ts +181 -136
  100. package/dist-types/models/models_7.d.ts +167 -2
  101. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  102. package/dist-types/ts3.4/EC2.d.ts +68 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  104. package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
  106. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
  108. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
  112. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  114. package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
  120. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
  122. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +59 -65
  126. package/dist-types/ts3.4/models/models_1.d.ts +68 -53
  127. package/dist-types/ts3.4/models/models_2.d.ts +47 -36
  128. package/dist-types/ts3.4/models/models_3.d.ts +36 -46
  129. package/dist-types/ts3.4/models/models_4.d.ts +46 -38
  130. package/dist-types/ts3.4/models/models_5.d.ts +68 -64
  131. package/dist-types/ts3.4/models/models_6.d.ts +66 -62
  132. package/dist-types/ts3.4/models/models_7.d.ts +70 -2
  133. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  134. package/package.json +5 -5
@@ -1,9 +1,151 @@
1
- import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthorizationRuleStatus, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, SelfServicePortal, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthorizationRuleStatus, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, SelfServicePortal, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, CreditSpecificationRequest, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RequestIpamResourceTag, RuleAction, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ClientVpnConnectionStatus, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, InstanceStatusEvent, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, Monitoring, PermissionGroup, TpmSupportValues } from "./models_3";
5
- import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_4";
6
- import { DnsServersOptionsModifyStructure, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily } from "./models_5";
4
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ClientVpnConnectionStatus, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, Monitoring, PermissionGroup, TpmSupportValues } from "./models_3";
5
+ import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_4";
6
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, ModifyAvailabilityZoneOptInStatus, Purchase, UnlimitedSupportedInstanceFamily } from "./models_5";
7
+ export interface ModifyAvailabilityZoneGroupRequest {
8
+ /**
9
+ * <p>The name of the Availability Zone group, Local Zone group, or Wavelength Zone
10
+ * group.</p>
11
+ */
12
+ GroupName: string | undefined;
13
+ /**
14
+ * <p>Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The
15
+ * only valid value is <code>opted-in</code>. You must contact <a href="https://console.aws.amazon.com/support/home#/case/create%3FissueType=customer-service%26serviceCode=general-info%26getting-started%26categoryCode=using-aws%26services">Amazon Web Services Support</a> to opt out of a Local Zone or Wavelength Zone group.</p>
16
+ */
17
+ OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
18
+ /**
19
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
20
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
21
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
22
+ */
23
+ DryRun?: boolean;
24
+ }
25
+ export interface ModifyAvailabilityZoneGroupResult {
26
+ /**
27
+ * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
28
+ */
29
+ Return?: boolean;
30
+ }
31
+ export interface ModifyCapacityReservationRequest {
32
+ /**
33
+ * <p>The ID of the Capacity Reservation.</p>
34
+ */
35
+ CapacityReservationId: string | undefined;
36
+ /**
37
+ * <p>The number of instances for which to reserve capacity. The number of instances can't be increased or
38
+ * decreased by more than <code>1000</code> in a single request.</p>
39
+ */
40
+ InstanceCount?: number;
41
+ /**
42
+ * <p>The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity
43
+ * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to
44
+ * <code>expired</code> when it reaches its end date and time.</p>
45
+ * <p>The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify
46
+ * 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.</p>
47
+ * <p>You must provide an <code>EndDate</code> value if <code>EndDateType</code> is
48
+ * <code>limited</code>. Omit <code>EndDate</code> if <code>EndDateType</code> is
49
+ * <code>unlimited</code>.</p>
50
+ */
51
+ EndDate?: Date;
52
+ /**
53
+ * <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end
54
+ * types:</p>
55
+ * <ul>
56
+ * <li>
57
+ * <p>
58
+ * <code>unlimited</code> - The Capacity Reservation remains active until you explicitly cancel it. Do not
59
+ * provide an <code>EndDate</code> value if <code>EndDateType</code> is
60
+ * <code>unlimited</code>.</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>
64
+ * <code>limited</code> - The Capacity Reservation expires automatically at a specified date and time. You must
65
+ * provide an <code>EndDate</code> value if <code>EndDateType</code> is
66
+ * <code>limited</code>.</p>
67
+ * </li>
68
+ * </ul>
69
+ */
70
+ EndDateType?: EndDateType | string;
71
+ /**
72
+ * <p>Reserved. Capacity Reservations you have created are accepted by default.</p>
73
+ */
74
+ Accept?: boolean;
75
+ /**
76
+ * <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>
77
+ */
78
+ DryRun?: boolean;
79
+ /**
80
+ * <p>Reserved for future use.</p>
81
+ */
82
+ AdditionalInfo?: string;
83
+ }
84
+ export interface ModifyCapacityReservationResult {
85
+ /**
86
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
87
+ */
88
+ Return?: boolean;
89
+ }
90
+ export interface ModifyCapacityReservationFleetRequest {
91
+ /**
92
+ * <p>The ID of the Capacity Reservation Fleet to modify.</p>
93
+ */
94
+ CapacityReservationFleetId: string | undefined;
95
+ /**
96
+ * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value,
97
+ * together with the instance type weights that you assign to each instance type used by the Fleet
98
+ * determine the number of instances for which the Fleet reserves capacity. Both values are based on
99
+ * units that make sense for your workload. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target capacity</a>
100
+ * in the Amazon EC2 User Guide.</p>
101
+ */
102
+ TotalTargetCapacity?: number;
103
+ /**
104
+ * <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation
105
+ * Fleet expires, its state changes to <code>expired</code> and all of the Capacity Reservations in the
106
+ * Fleet expire.</p>
107
+ * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you
108
+ * specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity Reservation Fleet is guaranteed
109
+ * to expire between <code>13:30:55</code> and <code>14:30:55</code> on <code>5/31/2019</code>.</p>
110
+ * <p>You can't specify <b>EndDate</b> and <b>
111
+ * RemoveEndDate</b> in the same request.</p>
112
+ */
113
+ EndDate?: Date;
114
+ /**
115
+ * <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>
116
+ */
117
+ DryRun?: boolean;
118
+ /**
119
+ * <p>Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the
120
+ * end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly
121
+ * cancel it using the <b>CancelCapacityReservationFleet</b> action.</p>
122
+ * <p>You can't specify <b>RemoveEndDate</b> and <b>
123
+ * EndDate</b> in the same request.</p>
124
+ */
125
+ RemoveEndDate?: boolean;
126
+ }
127
+ export interface ModifyCapacityReservationFleetResult {
128
+ /**
129
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
130
+ */
131
+ Return?: boolean;
132
+ }
133
+ /**
134
+ * <p>Information about the DNS server to be used.</p>
135
+ */
136
+ export interface DnsServersOptionsModifyStructure {
137
+ /**
138
+ * <p>The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to
139
+ * two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values
140
+ * overwrite the existing values.</p>
141
+ */
142
+ CustomDnsServers?: string[];
143
+ /**
144
+ * <p>Indicates whether DNS servers should be used. Specify <code>False</code> to delete the existing DNS
145
+ * servers.</p>
146
+ */
147
+ Enabled?: boolean;
148
+ }
7
149
  export interface ModifyClientVpnEndpointRequest {
8
150
  /**
9
151
  * <p>The ID of the Client VPN endpoint to modify.</p>
@@ -169,6 +311,7 @@ export interface ModifyFleetRequest {
169
311
  /**
170
312
  * <p>Indicates whether running instances should be terminated if the total target capacity of
171
313
  * the EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
314
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
172
315
  */
173
316
  ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string;
174
317
  /**
@@ -660,7 +803,7 @@ export interface InstanceCreditSpecificationRequest {
660
803
  /**
661
804
  * <p>The ID of the instance.</p>
662
805
  */
663
- InstanceId?: string;
806
+ InstanceId: string | undefined;
664
807
  /**
665
808
  * <p>The credit option for CPU usage of the instance.</p>
666
809
  * <p>Valid values: <code>standard</code> | <code>unlimited</code>
@@ -1377,7 +1520,7 @@ export interface ModifyPrivateDnsNameOptionsRequest {
1377
1520
  /**
1378
1521
  * <p>The ID of the instance.</p>
1379
1522
  */
1380
- InstanceId?: string;
1523
+ InstanceId: string | undefined;
1381
1524
  /**
1382
1525
  * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
1383
1526
  * must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
@@ -1498,7 +1641,7 @@ export interface SecurityGroupRuleUpdate {
1498
1641
  /**
1499
1642
  * <p>The ID of the security group rule.</p>
1500
1643
  */
1501
- SecurityGroupRuleId?: string;
1644
+ SecurityGroupRuleId: string | undefined;
1502
1645
  /**
1503
1646
  * <p>Information about the security group rule.</p>
1504
1647
  */
@@ -1605,8 +1748,9 @@ export interface ModifySnapshotTierResult {
1605
1748
  */
1606
1749
  export interface ModifySpotFleetRequestRequest {
1607
1750
  /**
1608
- * <p>Indicates whether running Spot Instances should be terminated if the target capacity
1751
+ * <p>Indicates whether running instances should be terminated if the target capacity
1609
1752
  * of the Spot Fleet request is decreased below the current size of the Spot Fleet.</p>
1753
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
1610
1754
  */
1611
1755
  ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string;
1612
1756
  /**
@@ -3622,7 +3766,7 @@ export interface RegisterTransitGatewayMulticastGroupMembersRequest {
3622
3766
  /**
3623
3767
  * <p>The ID of the transit gateway multicast domain.</p>
3624
3768
  */
3625
- TransitGatewayMulticastDomainId?: string;
3769
+ TransitGatewayMulticastDomainId: string | undefined;
3626
3770
  /**
3627
3771
  * <p>The IP address assigned to the transit gateway multicast group.</p>
3628
3772
  */
@@ -3630,7 +3774,7 @@ export interface RegisterTransitGatewayMulticastGroupMembersRequest {
3630
3774
  /**
3631
3775
  * <p>The group members' network interface IDs to register with the transit gateway multicast group.</p>
3632
3776
  */
3633
- NetworkInterfaceIds?: string[];
3777
+ NetworkInterfaceIds: string[] | undefined;
3634
3778
  /**
3635
3779
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
3636
3780
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -3665,7 +3809,7 @@ export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
3665
3809
  /**
3666
3810
  * <p>The ID of the transit gateway multicast domain.</p>
3667
3811
  */
3668
- TransitGatewayMulticastDomainId?: string;
3812
+ TransitGatewayMulticastDomainId: string | undefined;
3669
3813
  /**
3670
3814
  * <p>The IP address assigned to the transit gateway multicast group.</p>
3671
3815
  */
@@ -3673,7 +3817,7 @@ export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
3673
3817
  /**
3674
3818
  * <p>The group sources' network interface IDs to register with the transit gateway multicast group.</p>
3675
3819
  */
3676
- NetworkInterfaceIds?: string[];
3820
+ NetworkInterfaceIds: string[] | undefined;
3677
3821
  /**
3678
3822
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
3679
3823
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -5777,7 +5921,7 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
5777
5921
  /**
5778
5922
  * <p>The ID of the transit gateway multicast domain.</p>
5779
5923
  */
5780
- TransitGatewayMulticastDomainId?: string;
5924
+ TransitGatewayMulticastDomainId: string | undefined;
5781
5925
  /**
5782
5926
  * <p>One or more filters. The possible values are:</p>
5783
5927
  * <ul>
@@ -6225,105 +6369,34 @@ export interface UnassignIpv6AddressesRequest {
6225
6369
  */
6226
6370
  NetworkInterfaceId: string | undefined;
6227
6371
  }
6228
- export interface UnassignIpv6AddressesResult {
6229
- /**
6230
- * <p>The ID of the network interface.</p>
6231
- */
6232
- NetworkInterfaceId?: string;
6233
- /**
6234
- * <p>The IPv6 addresses that have been unassigned from the network interface.</p>
6235
- */
6236
- UnassignedIpv6Addresses?: string[];
6237
- /**
6238
- * <p>The IPv4 prefixes that have been unassigned from the network interface.</p>
6239
- */
6240
- UnassignedIpv6Prefixes?: string[];
6241
- }
6242
6372
  /**
6243
- * <p>Contains the parameters for UnassignPrivateIpAddresses.</p>
6373
+ * @internal
6244
6374
  */
6245
- export interface UnassignPrivateIpAddressesRequest {
6246
- /**
6247
- * <p>The ID of the network interface.</p>
6248
- */
6249
- NetworkInterfaceId: string | undefined;
6250
- /**
6251
- * <p>The secondary private IP addresses to unassign from the network interface. You can specify this
6252
- * option multiple times to unassign more than one IP address.</p>
6253
- */
6254
- PrivateIpAddresses?: string[];
6255
- /**
6256
- * <p>The IPv4 prefixes to unassign from the network interface.</p>
6257
- */
6258
- Ipv4Prefixes?: string[];
6259
- }
6260
- export interface UnmonitorInstancesRequest {
6261
- /**
6262
- * <p>The IDs of the instances.</p>
6263
- */
6264
- InstanceIds: string[] | undefined;
6265
- /**
6266
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6267
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6268
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6269
- */
6270
- DryRun?: boolean;
6271
- }
6272
- export interface UnmonitorInstancesResult {
6273
- /**
6274
- * <p>The monitoring information.</p>
6275
- */
6276
- InstanceMonitorings?: InstanceMonitoring[];
6277
- }
6375
+ export declare const ModifyAvailabilityZoneGroupRequestFilterSensitiveLog: (obj: ModifyAvailabilityZoneGroupRequest) => any;
6278
6376
  /**
6279
- * <p>Describes the description of a security group rule.</p>
6280
- * <p>You can use this when you want to update the security group rule description for either an inbound or outbound rule.</p>
6377
+ * @internal
6281
6378
  */
6282
- export interface SecurityGroupRuleDescription {
6283
- /**
6284
- * <p>The ID of the security group rule.</p>
6285
- */
6286
- SecurityGroupRuleId?: string;
6287
- /**
6288
- * <p>The description of the security group rule.</p>
6289
- */
6290
- Description?: string;
6291
- }
6292
- export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
6293
- /**
6294
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6295
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6296
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6297
- */
6298
- DryRun?: boolean;
6299
- /**
6300
- * <p>The ID of the security group. You must specify either the security group ID or the
6301
- * security group name in the request. For security groups in a nondefault VPC, you must
6302
- * specify the security group ID.</p>
6303
- */
6304
- GroupId?: string;
6305
- /**
6306
- * <p>[Default VPC] The name of the security group. You must specify either the security group
6307
- * ID or the security group name in the request.</p>
6308
- */
6309
- GroupName?: string;
6310
- /**
6311
- * <p>The IP permissions for the security group rule. You must specify either the IP permissions
6312
- * or the description.</p>
6313
- */
6314
- IpPermissions?: IpPermission[];
6315
- /**
6316
- * <p>The description for the egress security group rules. You must specify either the
6317
- * description or the IP permissions.</p>
6318
- */
6319
- SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[];
6320
- }
6321
- export interface UpdateSecurityGroupRuleDescriptionsEgressResult {
6322
- /**
6323
- * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
6324
- */
6325
- Return?: boolean;
6326
- }
6379
+ export declare const ModifyAvailabilityZoneGroupResultFilterSensitiveLog: (obj: ModifyAvailabilityZoneGroupResult) => any;
6380
+ /**
6381
+ * @internal
6382
+ */
6383
+ export declare const ModifyCapacityReservationRequestFilterSensitiveLog: (obj: ModifyCapacityReservationRequest) => any;
6384
+ /**
6385
+ * @internal
6386
+ */
6387
+ export declare const ModifyCapacityReservationResultFilterSensitiveLog: (obj: ModifyCapacityReservationResult) => any;
6388
+ /**
6389
+ * @internal
6390
+ */
6391
+ export declare const ModifyCapacityReservationFleetRequestFilterSensitiveLog: (obj: ModifyCapacityReservationFleetRequest) => any;
6392
+ /**
6393
+ * @internal
6394
+ */
6395
+ export declare const ModifyCapacityReservationFleetResultFilterSensitiveLog: (obj: ModifyCapacityReservationFleetResult) => any;
6396
+ /**
6397
+ * @internal
6398
+ */
6399
+ export declare const DnsServersOptionsModifyStructureFilterSensitiveLog: (obj: DnsServersOptionsModifyStructure) => any;
6327
6400
  /**
6328
6401
  * @internal
6329
6402
  */
@@ -7444,31 +7517,3 @@ export declare const TerminateInstancesResultFilterSensitiveLog: (obj: Terminate
7444
7517
  * @internal
7445
7518
  */
7446
7519
  export declare const UnassignIpv6AddressesRequestFilterSensitiveLog: (obj: UnassignIpv6AddressesRequest) => any;
7447
- /**
7448
- * @internal
7449
- */
7450
- export declare const UnassignIpv6AddressesResultFilterSensitiveLog: (obj: UnassignIpv6AddressesResult) => any;
7451
- /**
7452
- * @internal
7453
- */
7454
- export declare const UnassignPrivateIpAddressesRequestFilterSensitiveLog: (obj: UnassignPrivateIpAddressesRequest) => any;
7455
- /**
7456
- * @internal
7457
- */
7458
- export declare const UnmonitorInstancesRequestFilterSensitiveLog: (obj: UnmonitorInstancesRequest) => any;
7459
- /**
7460
- * @internal
7461
- */
7462
- export declare const UnmonitorInstancesResultFilterSensitiveLog: (obj: UnmonitorInstancesResult) => any;
7463
- /**
7464
- * @internal
7465
- */
7466
- export declare const SecurityGroupRuleDescriptionFilterSensitiveLog: (obj: SecurityGroupRuleDescription) => any;
7467
- /**
7468
- * @internal
7469
- */
7470
- export declare const UpdateSecurityGroupRuleDescriptionsEgressRequestFilterSensitiveLog: (obj: UpdateSecurityGroupRuleDescriptionsEgressRequest) => any;
7471
- /**
7472
- * @internal
7473
- */
7474
- export declare const UpdateSecurityGroupRuleDescriptionsEgressResultFilterSensitiveLog: (obj: UpdateSecurityGroupRuleDescriptionsEgressResult) => any;
@@ -1,5 +1,134 @@
1
- import { ByoipCidr, IpPermission } from "./models_0";
2
- import { SecurityGroupRuleDescription } from "./models_6";
1
+ import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
2
+ import { InstanceMonitoring } from "./models_6";
3
+ export interface UnassignIpv6AddressesResult {
4
+ /**
5
+ * <p>The ID of the network interface.</p>
6
+ */
7
+ NetworkInterfaceId?: string;
8
+ /**
9
+ * <p>The IPv6 addresses that have been unassigned from the network interface.</p>
10
+ */
11
+ UnassignedIpv6Addresses?: string[];
12
+ /**
13
+ * <p>The IPv4 prefixes that have been unassigned from the network interface.</p>
14
+ */
15
+ UnassignedIpv6Prefixes?: string[];
16
+ }
17
+ /**
18
+ * <p>Contains the parameters for UnassignPrivateIpAddresses.</p>
19
+ */
20
+ export interface UnassignPrivateIpAddressesRequest {
21
+ /**
22
+ * <p>The ID of the network interface.</p>
23
+ */
24
+ NetworkInterfaceId: string | undefined;
25
+ /**
26
+ * <p>The secondary private IP addresses to unassign from the network interface. You can specify this
27
+ * option multiple times to unassign more than one IP address.</p>
28
+ */
29
+ PrivateIpAddresses?: string[];
30
+ /**
31
+ * <p>The IPv4 prefixes to unassign from the network interface.</p>
32
+ */
33
+ Ipv4Prefixes?: string[];
34
+ }
35
+ export interface UnassignPrivateNatGatewayAddressRequest {
36
+ /**
37
+ * <p>The NAT gateway ID.</p>
38
+ */
39
+ NatGatewayId: string | undefined;
40
+ /**
41
+ * <p>The private IPv4 addresses you want to unassign.</p>
42
+ */
43
+ PrivateIpAddresses: string[] | undefined;
44
+ /**
45
+ * <p>The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.</p>
46
+ */
47
+ MaxDrainDurationSeconds?: number;
48
+ /**
49
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
50
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
51
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
52
+ */
53
+ DryRun?: boolean;
54
+ }
55
+ export interface UnassignPrivateNatGatewayAddressResult {
56
+ /**
57
+ * <p>The NAT gateway ID.</p>
58
+ */
59
+ NatGatewayId?: string;
60
+ /**
61
+ * <p>Information about the NAT gateway IP addresses.</p>
62
+ */
63
+ NatGatewayAddresses?: NatGatewayAddress[];
64
+ }
65
+ export interface UnmonitorInstancesRequest {
66
+ /**
67
+ * <p>The IDs of the instances.</p>
68
+ */
69
+ InstanceIds: string[] | undefined;
70
+ /**
71
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
72
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
73
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
74
+ */
75
+ DryRun?: boolean;
76
+ }
77
+ export interface UnmonitorInstancesResult {
78
+ /**
79
+ * <p>The monitoring information.</p>
80
+ */
81
+ InstanceMonitorings?: InstanceMonitoring[];
82
+ }
83
+ /**
84
+ * <p>Describes the description of a security group rule.</p>
85
+ * <p>You can use this when you want to update the security group rule description for either an inbound or outbound rule.</p>
86
+ */
87
+ export interface SecurityGroupRuleDescription {
88
+ /**
89
+ * <p>The ID of the security group rule.</p>
90
+ */
91
+ SecurityGroupRuleId?: string;
92
+ /**
93
+ * <p>The description of the security group rule.</p>
94
+ */
95
+ Description?: string;
96
+ }
97
+ export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
98
+ /**
99
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
100
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
101
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
102
+ */
103
+ DryRun?: boolean;
104
+ /**
105
+ * <p>The ID of the security group. You must specify either the security group ID or the
106
+ * security group name in the request. For security groups in a nondefault VPC, you must
107
+ * specify the security group ID.</p>
108
+ */
109
+ GroupId?: string;
110
+ /**
111
+ * <p>[Default VPC] The name of the security group. You must specify either the security group
112
+ * ID or the security group name in the request.</p>
113
+ */
114
+ GroupName?: string;
115
+ /**
116
+ * <p>The IP permissions for the security group rule. You must specify either the IP permissions
117
+ * or the description.</p>
118
+ */
119
+ IpPermissions?: IpPermission[];
120
+ /**
121
+ * <p>The description for the egress security group rules. You must specify either the
122
+ * description or the IP permissions.</p>
123
+ */
124
+ SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[];
125
+ }
126
+ export interface UpdateSecurityGroupRuleDescriptionsEgressResult {
127
+ /**
128
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
129
+ */
130
+ Return?: boolean;
131
+ }
3
132
  export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
4
133
  /**
5
134
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -54,6 +183,42 @@ export interface WithdrawByoipCidrResult {
54
183
  */
55
184
  ByoipCidr?: ByoipCidr;
56
185
  }
186
+ /**
187
+ * @internal
188
+ */
189
+ export declare const UnassignIpv6AddressesResultFilterSensitiveLog: (obj: UnassignIpv6AddressesResult) => any;
190
+ /**
191
+ * @internal
192
+ */
193
+ export declare const UnassignPrivateIpAddressesRequestFilterSensitiveLog: (obj: UnassignPrivateIpAddressesRequest) => any;
194
+ /**
195
+ * @internal
196
+ */
197
+ export declare const UnassignPrivateNatGatewayAddressRequestFilterSensitiveLog: (obj: UnassignPrivateNatGatewayAddressRequest) => any;
198
+ /**
199
+ * @internal
200
+ */
201
+ export declare const UnassignPrivateNatGatewayAddressResultFilterSensitiveLog: (obj: UnassignPrivateNatGatewayAddressResult) => any;
202
+ /**
203
+ * @internal
204
+ */
205
+ export declare const UnmonitorInstancesRequestFilterSensitiveLog: (obj: UnmonitorInstancesRequest) => any;
206
+ /**
207
+ * @internal
208
+ */
209
+ export declare const UnmonitorInstancesResultFilterSensitiveLog: (obj: UnmonitorInstancesResult) => any;
210
+ /**
211
+ * @internal
212
+ */
213
+ export declare const SecurityGroupRuleDescriptionFilterSensitiveLog: (obj: SecurityGroupRuleDescription) => any;
214
+ /**
215
+ * @internal
216
+ */
217
+ export declare const UpdateSecurityGroupRuleDescriptionsEgressRequestFilterSensitiveLog: (obj: UpdateSecurityGroupRuleDescriptionsEgressRequest) => any;
218
+ /**
219
+ * @internal
220
+ */
221
+ export declare const UpdateSecurityGroupRuleDescriptionsEgressResultFilterSensitiveLog: (obj: UpdateSecurityGroupRuleDescriptionsEgressResult) => any;
57
222
  /**
58
223
  * @internal
59
224
  */