You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-ec2/src/EC2.ts
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5205,7 +5205,7 @@ export class EC2 extends EC2Client {
5205
5205
* <p>A launch template contains the parameters to launch an
5206
5206
* instance. When you launch an instance using <a>RunInstances</a>, you can
5207
5207
* specify a launch template instead of providing the launch parameters in the request. For
5208
-
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launching an instance from a
5208
+
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch an instance from a
5209
5209
* launch template</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
5210
5210
* <p>If you want to clone an existing launch template as the basis for creating a new
5211
5211
* launch template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support
@@ -5246,7 +5246,9 @@ export class EC2 extends EC2Client {
5246
5246
* launch template from which to base the new version.</p>
5247
5247
* <p>Launch template versions are numbered in the order in which they are created. You
5248
5248
* cannot specify, change, or replace the numbering of launch template versions.</p>
5249
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Managing launch template versions</a>in the
5249
+
* <p>Launch templates are immutable; after you create a launch template, you can't modify it.
5250
+
* Instead, you can create a new version of the launch template that includes any changes you require.</p>
5251
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Modify a launch template (manage launch template versions)</a>in the
5250
5252
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
* launch template from which to base the new version.</p>
28
28
* <p>Launch template versions are numbered in the order in which they are created. You
29
29
* cannot specify, change, or replace the numbering of launch template versions.</p>
30
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Managing launch template versions</a>in the
30
+
* <p>Launch templates are immutable; after you create a launch template, you can't modify it.
31
+
* Instead, you can create a new version of the launch template that includes any changes you require.</p>
32
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Modify a launch template (manage launch template versions)</a>in the
31
33
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
32
34
* @example
33
35
* Use a bare-bones client and the command you need to make an API call.
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance Types</a> in the
4527
+
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
4529
4528
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4530
4529
* <p>If you specify <code>InstanceTypes</code>, you can't specify
* <p>The user data to make available to the instance. You must provide base64-encoded text.
4585
-
* User data is limited to 16 KB. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Running Commands on Your Linux Instance
4586
-
* at Launch</a> (Linux) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data">Adding User Data</a> (Windows).</p>
4583
+
* User data is limited to 16 KB. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands on your Linux instance
4584
+
* at launch</a> (Linux) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instancedata-add-user-data.html">Work with instance user data</a> (Windows) in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4587
4585
*
4588
4586
* <p>If you are creating the launch template for use with Batch, the user
4589
4587
* data must be provided in the <a href="https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive"> MIME multi-part archive format</a>. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html">Amazon EC2 user data in launch templates</a> in the <i>Batch User Guide</i>.</p>
* <p>Indicates whether an instance is enabled for hibernation. This parameter is valid only
4655
-
* if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
4653
+
* if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
4656
4654
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
4657
4655
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
* <p>The error code that indicates why the parameter or parameter combination is not valid.
4808
-
* For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error
4809
-
* Codes</a>.</p>
4813
+
* For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
4814
+
* codes</a>.</p>
4810
4815
*/
4811
4816
Code?: string;
4812
4817
4813
4818
/**
4814
4819
* <p>The error message that describes why the parameter or parameter combination is not
4815
-
* valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error
4816
-
* Codes</a>.</p>
4820
+
* valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
* <p>Indicates whether the instance is enabled for stop protection.
5898
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop Protection</a>.</p>
* <p>Indicates whether an instance is enabled for stop protection.
4829
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop Protection</a>.</p>
0 commit comments