@aws-sdk/client-ec2 3.226.0 → 3.231.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.
- package/dist-cjs/endpoint/ruleset.js +0 -9
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_ec2.js +14 -0
- package/dist-cjs/runtimeConfig.browser.js +3 -3
- package/dist-cjs/runtimeConfig.js +2 -1
- package/dist-es/endpoint/ruleset.js +0 -9
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +14 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/EC2.d.ts +359 -425
- package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +2 -2
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +5 -5
- package/dist-types/commands/AssociateAddressCommand.d.ts +0 -1
- package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +1 -1
- package/dist-types/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +2 -4
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTrunkInterfaceCommand.d.ts +3 -4
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +5 -5
- package/dist-types/commands/AttachVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -2
- package/dist-types/commands/BundleInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -7
- package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +1 -1
- package/dist-types/commands/CancelSpotInstanceRequestsCommand.d.ts +2 -2
- package/dist-types/commands/CopyImageCommand.d.ts +2 -5
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -4
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -5
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +2 -2
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +5 -5
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +5 -6
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +3 -6
- package/dist-types/commands/CreateImageCommand.d.ts +6 -10
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -3
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +2 -2
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +0 -1
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +2 -2
- package/dist-types/commands/CreateRouteCommand.d.ts +6 -6
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +0 -3
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +0 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +7 -7
- package/dist-types/commands/CreateTagsCommand.d.ts +0 -1
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +6 -6
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +6 -6
- package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +2 -2
- package/dist-types/commands/DeleteFleetsCommand.d.ts +0 -1
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteVpcEndpointsCommand.d.ts +7 -7
- package/dist-types/commands/DeleteVpnConnectionCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterImageCommand.d.ts +1 -4
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +0 -1
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +8 -8
- package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePrefixListsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -3
- package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +3 -3
- package/dist-types/commands/DetachVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DisableFastLaunchCommand.d.ts +3 -3
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +0 -1
- package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +9 -9
- package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +3 -3
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +3 -3
- package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +5 -5
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +2 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetPasswordDataCommand.d.ts +4 -4
- package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +2 -2
- package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ModifyHostsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +7 -7
- package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +2 -2
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +5 -5
- package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +6 -9
- package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +2 -2
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +13 -15
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RegisterImageCommand.d.ts +4 -7
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ReleaseHostsCommand.d.ts +2 -2
- package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +8 -9
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +5 -7
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +0 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +0 -2
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -4
- package/dist-types/commands/RunInstancesCommand.d.ts +16 -16
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +3 -6
- package/dist-types/commands/StartInstancesCommand.d.ts +5 -7
- package/dist-types/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +2 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +6 -6
- package/dist-types/commands/TerminateInstancesCommand.d.ts +19 -24
- package/dist-types/models/models_0.d.ts +74 -79
- package/dist-types/models/models_1.d.ts +198 -201
- package/dist-types/models/models_2.d.ts +71 -71
- package/dist-types/models/models_3.d.ts +349 -357
- package/dist-types/models/models_4.d.ts +441 -443
- package/dist-types/models/models_5.d.ts +119 -122
- package/dist-types/models/models_6.d.ts +173 -175
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_3.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
- package/package.json +7 -6
|
@@ -11,66 +11,66 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
11
11
|
/**
|
|
12
12
|
* <p>Launches the specified number of instances using an AMI for which you have
|
|
13
13
|
* permissions.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>You can specify a number of options, or leave the default options. The following rules
|
|
15
15
|
* apply:</p>
|
|
16
|
-
*
|
|
16
|
+
* <ul>
|
|
17
17
|
* <li>
|
|
18
|
-
*
|
|
18
|
+
* <p>[EC2-VPC] If you don't specify a subnet ID, we choose a default subnet from
|
|
19
19
|
* your default VPC for you. If you don't have a default VPC, you must specify a
|
|
20
20
|
* subnet ID in the request.</p>
|
|
21
21
|
* </li>
|
|
22
22
|
* <li>
|
|
23
|
-
*
|
|
23
|
+
* <p>[EC2-Classic] If don't specify an Availability Zone, we choose one for
|
|
24
24
|
* you.</p>
|
|
25
25
|
* </li>
|
|
26
26
|
* <li>
|
|
27
|
-
*
|
|
27
|
+
* <p>Some instance types must be launched into a VPC. If you do not have a default
|
|
28
28
|
* VPC, or if you do not specify a subnet ID, the request fails. For more
|
|
29
29
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types">Instance types available only in a VPC</a>.</p>
|
|
30
30
|
* </li>
|
|
31
31
|
* <li>
|
|
32
|
-
*
|
|
32
|
+
* <p>[EC2-VPC] All instances have a network interface with a primary private IPv4
|
|
33
33
|
* address. If you don't specify this address, we choose one from the IPv4 range of
|
|
34
34
|
* your subnet.</p>
|
|
35
35
|
* </li>
|
|
36
36
|
* <li>
|
|
37
|
-
*
|
|
37
|
+
* <p>Not all instance types support IPv6 addresses. For more information, see
|
|
38
38
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance
|
|
39
39
|
* types</a>.</p>
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
42
|
-
*
|
|
42
|
+
* <p>If you don't specify a security group ID, we use the default security group.
|
|
43
43
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html">Security
|
|
44
44
|
* groups</a>.</p>
|
|
45
45
|
* </li>
|
|
46
46
|
* <li>
|
|
47
|
-
*
|
|
47
|
+
* <p>If any of the AMIs have a product code attached for which the user has not
|
|
48
48
|
* subscribed, the request fails.</p>
|
|
49
49
|
* </li>
|
|
50
50
|
* </ul>
|
|
51
|
-
*
|
|
51
|
+
* <p>You can create a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">launch template</a>,
|
|
52
52
|
* which is a resource that contains the parameters to launch an instance. When you launch
|
|
53
53
|
* an instance using <a>RunInstances</a>, you can specify the launch template
|
|
54
54
|
* instead of specifying the launch parameters.</p>
|
|
55
|
-
*
|
|
55
|
+
* <p>To ensure faster instance launches, break up large requests into smaller batches. For
|
|
56
56
|
* example, create five separate launch requests for 100 instances each instead of one
|
|
57
57
|
* launch request for 500 instances.</p>
|
|
58
|
-
*
|
|
58
|
+
* <p>An instance is ready for you to use when it's in the <code>running</code> state. You
|
|
59
59
|
* can check the state of your instance using <a>DescribeInstances</a>. You can
|
|
60
60
|
* tag instances and EBS volumes during launch, after launch, or both. For more
|
|
61
61
|
* information, see <a>CreateTags</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging your Amazon EC2
|
|
62
62
|
* resources</a>.</p>
|
|
63
|
-
*
|
|
63
|
+
* <p>Linux instances have access to the public key of the key pair at boot. You can use
|
|
64
64
|
* this key to provide secure access to the instance. Amazon EC2 public images use this
|
|
65
65
|
* feature to provide secure access without passwords. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Key
|
|
66
66
|
* pairs</a>.</p>
|
|
67
|
-
*
|
|
67
|
+
* <p>For troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html">What to do if
|
|
68
68
|
* an instance immediately terminates</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html">Troubleshooting connecting to your instance</a>.</p>
|
|
69
|
-
*
|
|
69
|
+
* <note>
|
|
70
70
|
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a
|
|
71
71
|
* VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a
|
|
72
72
|
* VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
73
|
-
*
|
|
73
|
+
* </note>
|
|
74
74
|
* @example
|
|
75
75
|
* Use a bare-bones client and the command you need to make an API call.
|
|
76
76
|
* ```javascript
|
|
@@ -13,16 +13,13 @@ export interface SendDiagnosticInterruptCommandOutput extends __MetadataBearer {
|
|
|
13
13
|
* screen</i>/<i>stop error</i> (on Windows instances). For
|
|
14
14
|
* instances based on Intel and AMD processors, the interrupt is received as a
|
|
15
15
|
* <i>non-maskable interrupt</i> (NMI).</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>In general, the operating system crashes and reboots when a kernel panic or stop error
|
|
16
|
+
* <p>In general, the operating system crashes and reboots when a kernel panic or stop error
|
|
18
17
|
* is triggered. The operating system can also be configured to perform diagnostic tasks,
|
|
19
18
|
* such as generating a memory dump file, loading a secondary kernel, or obtaining a call
|
|
20
19
|
* trace.</p>
|
|
21
|
-
*
|
|
22
|
-
* <p>Before sending a diagnostic interrupt to your instance, ensure that its operating
|
|
20
|
+
* <p>Before sending a diagnostic interrupt to your instance, ensure that its operating
|
|
23
21
|
* system is configured to perform the required diagnostic tasks.</p>
|
|
24
|
-
*
|
|
25
|
-
* <p>For more information about configuring your operating system to generate a crash dump
|
|
22
|
+
* <p>For more information about configuring your operating system to generate a crash dump
|
|
26
23
|
* when a kernel panic or stop error occurs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/diagnostic-interrupt.html">Send a diagnostic interrupt
|
|
27
24
|
* (for advanced users)</a> (Linux instances) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/diagnostic-interrupt.html">Send a diagnostic
|
|
28
25
|
* interrupt (for advanced users)</a> (Windows instances).</p>
|
|
@@ -9,25 +9,23 @@ export interface StartInstancesCommandOutput extends StartInstancesResult, __Met
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Starts an Amazon EBS-backed instance that you've previously stopped.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>Instances that use Amazon EBS volumes as their root devices can be quickly stopped and
|
|
13
13
|
* started. When an instance is stopped, the compute resources are released and you are not
|
|
14
14
|
* billed for instance usage. However, your root partition Amazon EBS volume remains and
|
|
15
15
|
* continues to persist your data, and you are charged for Amazon EBS volume usage. You can
|
|
16
16
|
* restart your instance at any time. Every time you start your instance, Amazon EC2
|
|
17
17
|
* charges a one-minute minimum for instance usage, and thereafter charges per second for
|
|
18
18
|
* instance usage.</p>
|
|
19
|
-
*
|
|
19
|
+
* <p>Before stopping an instance, make sure it is in a state from which it can be
|
|
20
20
|
* restarted. Stopping an instance does not preserve data stored in RAM.</p>
|
|
21
|
-
*
|
|
21
|
+
* <p>Performing this operation on an instance that uses an instance store as its root
|
|
22
22
|
* device returns an error.</p>
|
|
23
|
-
*
|
|
24
|
-
* <p>If you attempt to start a T3 instance with <code>host</code> tenancy and the
|
|
23
|
+
* <p>If you attempt to start a T3 instance with <code>host</code> tenancy and the
|
|
25
24
|
* <code>unlimted</code> CPU credit option, the request fails. The
|
|
26
25
|
* <code>unlimited</code> CPU credit option is not supported on Dedicated Hosts. Before
|
|
27
26
|
* you start the instance, either change its CPU credit option to <code>standard</code>, or
|
|
28
27
|
* change its tenancy to <code>default</code> or <code>dedicated</code>.</p>
|
|
29
|
-
*
|
|
30
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start your instance</a>
|
|
28
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start your instance</a>
|
|
31
29
|
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
32
30
|
* @example
|
|
33
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,8 +10,8 @@ export interface StartVpcEndpointServicePrivateDnsVerificationCommandOutput exte
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Initiates the verification process to prove that the service provider owns the private
|
|
12
12
|
* DNS name domain for the endpoint service.</p>
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* <p>The service provider must successfully perform the verification before the consumer can use the name to access the service.</p>
|
|
14
|
+
* <p>Before the service provider runs this command, they must add a record to the DNS server.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -10,32 +10,32 @@ export interface StopInstancesCommandOutput extends StopInstancesResult, __Metad
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Stops an Amazon EBS-backed instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start
|
|
12
12
|
* your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>You can use the Stop action to hibernate an instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation">enabled for
|
|
14
14
|
* hibernation</a> and it meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
|
|
15
15
|
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
16
16
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
17
|
-
*
|
|
17
|
+
* <p>We don't charge usage for a stopped instance, or data transfer fees; however, your
|
|
18
18
|
* root partition Amazon EBS volume remains and continues to persist your data, and you are
|
|
19
19
|
* charged for Amazon EBS volume usage. Every time you start your instance, Amazon EC2
|
|
20
20
|
* charges a one-minute minimum for instance usage, and thereafter charges per second for
|
|
21
21
|
* instance usage.</p>
|
|
22
|
-
*
|
|
22
|
+
* <p>You can't stop or hibernate instance store-backed instances. You can't use the Stop
|
|
23
23
|
* action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate
|
|
24
24
|
* Spot Instances when they are interrupted. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances">Hibernating interrupted Spot Instances</a> in the
|
|
25
25
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
26
|
-
*
|
|
26
|
+
* <p>When you stop or hibernate an instance, we shut it down. You can restart your instance
|
|
27
27
|
* at any time. Before stopping or hibernating an instance, make sure it is in a state from
|
|
28
28
|
* which it can be restarted. Stopping an instance does not preserve data stored in RAM,
|
|
29
29
|
* but hibernating an instance does preserve data stored in RAM. If an instance cannot
|
|
30
30
|
* hibernate successfully, a normal shutdown occurs.</p>
|
|
31
|
-
*
|
|
31
|
+
* <p>Stopping and hibernating an instance is different to rebooting or terminating it. For
|
|
32
32
|
* example, when you stop or hibernate an instance, the root device and any other devices
|
|
33
33
|
* attached to the instance persist. When you terminate an instance, the root device and
|
|
34
34
|
* any other devices attached during the instance launch are automatically deleted. For
|
|
35
35
|
* more information about the differences between rebooting, stopping, hibernating, and
|
|
36
36
|
* terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
|
|
37
37
|
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
38
|
-
*
|
|
38
|
+
* <p>When you stop an instance, we attempt to shut it down forcibly after a short while. If
|
|
39
39
|
* your instance appears stuck in the stopping state after a period of time, there may be
|
|
40
40
|
* an issue with the underlying host computer. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
|
|
41
41
|
* stopping your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
@@ -10,60 +10,55 @@ export interface TerminateInstancesCommandOutput extends TerminateInstancesResul
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Shuts down the specified instances. This operation is idempotent; if you terminate an
|
|
12
12
|
* instance more than once, each call succeeds. </p>
|
|
13
|
-
*
|
|
14
|
-
* <p>If you specify multiple instances and the request fails (for example, because of a
|
|
13
|
+
* <p>If you specify multiple instances and the request fails (for example, because of a
|
|
15
14
|
* single incorrect instance ID), none of the instances are terminated.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>If you terminate multiple instances across multiple Availability Zones, and one or
|
|
15
|
+
* <p>If you terminate multiple instances across multiple Availability Zones, and one or
|
|
18
16
|
* more of the specified instances are enabled for termination protection, the request
|
|
19
17
|
* fails with the following results:</p>
|
|
20
|
-
*
|
|
18
|
+
* <ul>
|
|
21
19
|
* <li>
|
|
22
|
-
*
|
|
20
|
+
* <p>The specified instances that are in the same Availability Zone as the
|
|
23
21
|
* protected instance are not terminated.</p>
|
|
24
22
|
* </li>
|
|
25
23
|
* <li>
|
|
26
|
-
*
|
|
24
|
+
* <p>The specified instances that are in different Availability Zones, where no
|
|
27
25
|
* other specified instances are protected, are successfully terminated.</p>
|
|
28
26
|
* </li>
|
|
29
27
|
* </ul>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* <ul>
|
|
28
|
+
* <p>For example, say you have the following instances:</p>
|
|
29
|
+
* <ul>
|
|
33
30
|
* <li>
|
|
34
|
-
*
|
|
31
|
+
* <p>Instance A: <code>us-east-1a</code>; Not protected</p>
|
|
35
32
|
* </li>
|
|
36
33
|
* <li>
|
|
37
|
-
*
|
|
34
|
+
* <p>Instance B: <code>us-east-1a</code>; Not protected</p>
|
|
38
35
|
* </li>
|
|
39
36
|
* <li>
|
|
40
|
-
*
|
|
37
|
+
* <p>Instance C: <code>us-east-1b</code>; Protected</p>
|
|
41
38
|
* </li>
|
|
42
39
|
* <li>
|
|
43
|
-
*
|
|
40
|
+
* <p>Instance D: <code>us-east-1b</code>; not protected</p>
|
|
44
41
|
* </li>
|
|
45
42
|
* </ul>
|
|
46
|
-
*
|
|
43
|
+
* <p>If you attempt to terminate all of these instances in the same request, the request
|
|
47
44
|
* reports failure with the following results:</p>
|
|
48
|
-
*
|
|
45
|
+
* <ul>
|
|
49
46
|
* <li>
|
|
50
|
-
*
|
|
47
|
+
* <p>Instance A and Instance B are successfully terminated because none of the
|
|
51
48
|
* specified instances in <code>us-east-1a</code> are enabled for termination
|
|
52
49
|
* protection.</p>
|
|
53
50
|
* </li>
|
|
54
51
|
* <li>
|
|
55
|
-
*
|
|
52
|
+
* <p>Instance C and Instance D fail to terminate because at least one of the
|
|
56
53
|
* specified instances in <code>us-east-1b</code> (Instance C) is enabled for
|
|
57
54
|
* termination protection.</p>
|
|
58
55
|
* </li>
|
|
59
56
|
* </ul>
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* <p>Terminated instances remain visible after termination (for approximately one
|
|
57
|
+
* <p>Terminated instances remain visible after termination (for approximately one
|
|
63
58
|
* hour).</p>
|
|
64
|
-
*
|
|
59
|
+
* <p>By default, Amazon EC2 deletes all EBS volumes that were attached when the instance
|
|
65
60
|
* launched. Volumes attached after instance launch continue running.</p>
|
|
66
|
-
*
|
|
61
|
+
* <p>You can stop, start, and terminate EBS-backed instances. You can only terminate
|
|
67
62
|
* instance store-backed instances. What happens to an instance differs if you stop it or
|
|
68
63
|
* terminate it. For example, when you stop an instance, the root device and any other
|
|
69
64
|
* devices attached to the instance persist. When you terminate an instance, any attached
|
|
@@ -71,7 +66,7 @@ export interface TerminateInstancesCommandOutput extends TerminateInstancesResul
|
|
|
71
66
|
* to <code>true</code> are automatically deleted. For more information about the
|
|
72
67
|
* differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
|
|
73
68
|
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
74
|
-
*
|
|
69
|
+
* <p>For more information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
|
|
75
70
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
76
71
|
* @example
|
|
77
72
|
* Use a bare-bones client and the command you need to make an API call.
|