@aws-sdk/client-ec2 3.557.0 → 3.561.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 (55) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +164 -26
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/DisableImageDeregistrationProtectionCommand.js +24 -0
  5. package/dist-es/commands/EnableImageDeregistrationProtectionCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_3.js +1 -0
  8. package/dist-es/models/models_5.js +0 -11
  9. package/dist-es/models/models_6.js +11 -0
  10. package/dist-es/protocols/Aws_ec2.js +110 -13
  11. package/dist-types/EC2.d.ts +14 -0
  12. package/dist-types/EC2Client.d.ts +4 -2
  13. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -5
  16. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
  18. package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -0
  19. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
  20. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +4 -0
  21. package/dist-types/commands/DescribeTagsCommand.d.ts +4 -0
  22. package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
  23. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +66 -0
  24. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +66 -0
  25. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
  26. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -2
  27. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -1
  28. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  29. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -2
  30. package/dist-types/commands/index.d.ts +2 -0
  31. package/dist-types/models/models_0.d.ts +1 -1
  32. package/dist-types/models/models_1.d.ts +14 -14
  33. package/dist-types/models/models_2.d.ts +8 -8
  34. package/dist-types/models/models_3.d.ts +22 -0
  35. package/dist-types/models/models_4.d.ts +3 -5
  36. package/dist-types/models/models_5.d.ts +65 -83
  37. package/dist-types/models/models_6.d.ts +86 -99
  38. package/dist-types/models/models_7.d.ts +103 -15
  39. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  40. package/dist-types/ts3.4/EC2.d.ts +46 -0
  41. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  42. package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +39 -0
  43. package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +39 -0
  44. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  50. package/dist-types/ts3.4/models/models_3.d.ts +4 -0
  51. package/dist-types/ts3.4/models/models_5.d.ts +15 -27
  52. package/dist-types/ts3.4/models/models_6.d.ts +28 -27
  53. package/dist-types/ts3.4/models/models_7.d.ts +24 -0
  54. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  55. package/package.json +1 -1
@@ -39,7 +39,7 @@ declare const DescribeImageAttributeCommand_base: {
39
39
  * // const { EC2Client, DescribeImageAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
40
40
  * const client = new EC2Client(config);
41
41
  * const input = { // DescribeImageAttributeRequest
42
- * Attribute: "description" || "kernel" || "ramdisk" || "launchPermission" || "productCodes" || "blockDeviceMapping" || "sriovNetSupport" || "bootMode" || "tpmSupport" || "uefiData" || "lastLaunchedTime" || "imdsSupport", // required
42
+ * Attribute: "description" || "kernel" || "ramdisk" || "launchPermission" || "productCodes" || "blockDeviceMapping" || "sriovNetSupport" || "bootMode" || "tpmSupport" || "uefiData" || "lastLaunchedTime" || "imdsSupport" || "deregistrationProtection", // required
43
43
  * ImageId: "STRING_VALUE", // required
44
44
  * DryRun: true || false,
45
45
  * };
@@ -98,6 +98,7 @@ declare const DescribeImageAttributeCommand_base: {
98
98
  * // UefiData: "<AttributeValue>",
99
99
  * // LastLaunchedTime: "<AttributeValue>",
100
100
  * // ImdsSupport: "<AttributeValue>",
101
+ * // DeregistrationProtection: "<AttributeValue>",
101
102
  * // };
102
103
  *
103
104
  * ```
@@ -33,6 +33,10 @@ declare const DescribeImagesCommand_base: {
33
33
  * return empty results. After all instances that reference a deregistered AMI are terminated,
34
34
  * specifying the ID of the image will eventually return an error indicating that the AMI ID
35
35
  * cannot be found.</p>
36
+ * <important>
37
+ * <p>We strongly recommend using only paginated requests. Unpaginated requests are
38
+ * susceptible to throttling and timeouts.</p>
39
+ * </important>
36
40
  * <note>
37
41
  * <p>The order of the elements in the response, including those within nested
38
42
  * structures, might vary. Applications should not assume the elements appear in a
@@ -134,6 +138,8 @@ declare const DescribeImagesCommand_base: {
134
138
  * // DeprecationTime: "STRING_VALUE",
135
139
  * // ImdsSupport: "v2.0",
136
140
  * // SourceInstanceId: "STRING_VALUE",
141
+ * // DeregistrationProtection: "STRING_VALUE",
142
+ * // LastLaunchedTime: "STRING_VALUE",
137
143
  * // },
138
144
  * // ],
139
145
  * // NextToken: "STRING_VALUE",
@@ -42,6 +42,10 @@ declare const DescribeInstancesCommand_base: {
42
42
  * not specify any instance IDs at all, the call fails. If you describe instances and
43
43
  * specify only instance IDs that are in an unaffected zone, the call works
44
44
  * normally.</p>
45
+ * <important>
46
+ * <p>We strongly recommend using only paginated requests. Unpaginated requests are
47
+ * susceptible to throttling and timeouts.</p>
48
+ * </important>
45
49
  * <note>
46
50
  * <p>The order of the elements in the response, including those within nested
47
51
  * structures, might vary. Applications should not assume the elements appear in a
@@ -31,6 +31,10 @@ declare const DescribeNetworkInterfacesCommand_base: {
31
31
  * you use pagination or one of the following filters: <code>group-id</code>,
32
32
  * <code>mac-address</code>, <code>private-dns-name</code>, <code>private-ip-address</code>,
33
33
  * <code>private-dns-name</code>, <code>subnet-id</code>, or <code>vpc-id</code>.</p>
34
+ * <important>
35
+ * <p>We strongly recommend using only paginated requests. Unpaginated requests are
36
+ * susceptible to throttling and timeouts.</p>
37
+ * </important>
34
38
  * @example
35
39
  * Use a bare-bones client and the command you need to make an API call.
36
40
  * ```javascript
@@ -69,6 +69,10 @@ declare const DescribeSnapshotsCommand_base: {
69
69
  * list more manageable. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
70
70
  * <p>To get the state of fast snapshot restores for a snapshot, use <a>DescribeFastSnapshotRestores</a>.</p>
71
71
  * <p>For more information about EBS snapshots, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html">Amazon EBS snapshots</a> in the <i>Amazon EBS User Guide</i>.</p>
72
+ * <important>
73
+ * <p>We strongly recommend using only paginated requests. Unpaginated requests are
74
+ * susceptible to throttling and timeouts.</p>
75
+ * </important>
72
76
  * @example
73
77
  * Use a bare-bones client and the command you need to make an API call.
74
78
  * ```javascript
@@ -29,6 +29,10 @@ declare const DescribeTagsCommand_base: {
29
29
  * <p>Describes the specified tags for your EC2 resources.</p>
30
30
  * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tag your Amazon EC2 resources</a> in the
31
31
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
32
+ * <important>
33
+ * <p>We strongly recommend using only paginated requests. Unpaginated requests are
34
+ * susceptible to throttling and timeouts.</p>
35
+ * </important>
32
36
  * <note>
33
37
  * <p>The order of the elements in the response, including those within nested
34
38
  * structures, might vary. Applications should not assume the elements appear in a
@@ -30,6 +30,10 @@ declare const DescribeVolumesCommand_base: {
30
30
  * <p>If you are describing a long list of volumes, we recommend that you paginate the output to make the list
31
31
  * more manageable. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
32
32
  * <p>For more information about EBS volumes, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes.html">Amazon EBS volumes</a> in the <i>Amazon EBS User Guide</i>.</p>
33
+ * <important>
34
+ * <p>We strongly recommend using only paginated requests. Unpaginated requests are
35
+ * susceptible to throttling and timeouts.</p>
36
+ * </important>
33
37
  * <note>
34
38
  * <p>The order of the elements in the response, including those within nested
35
39
  * structures, might vary. Applications should not assume the elements appear in a
@@ -0,0 +1,66 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { DisableImageDeregistrationProtectionRequest, DisableImageDeregistrationProtectionResult } from "../models/models_5";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DisableImageDeregistrationProtectionCommand}.
13
+ */
14
+ export interface DisableImageDeregistrationProtectionCommandInput extends DisableImageDeregistrationProtectionRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DisableImageDeregistrationProtectionCommand}.
20
+ */
21
+ export interface DisableImageDeregistrationProtectionCommandOutput extends DisableImageDeregistrationProtectionResult, __MetadataBearer {
22
+ }
23
+ declare const DisableImageDeregistrationProtectionCommand_base: {
24
+ new (input: DisableImageDeregistrationProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<DisableImageDeregistrationProtectionCommandInput, DisableImageDeregistrationProtectionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DisableImageDeregistrationProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<DisableImageDeregistrationProtectionCommandInput, DisableImageDeregistrationProtectionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Disables deregistration protection for an AMI. When deregistration protection is disabled,
30
+ * the AMI can be deregistered.</p>
31
+ * <p>If you chose to include a 24-hour cooldown period when you enabled deregistration
32
+ * protection for the AMI, then, when you disable deregistration protection, you won’t
33
+ * immediately be able to deregister the AMI.</p>
34
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#ami-deregistration-protection">Protect an
35
+ * AMI from deregistration</a> in the <i>Amazon EC2 User Guide</i>.</p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { EC2Client, DisableImageDeregistrationProtectionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
40
+ * // const { EC2Client, DisableImageDeregistrationProtectionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
41
+ * const client = new EC2Client(config);
42
+ * const input = { // DisableImageDeregistrationProtectionRequest
43
+ * ImageId: "STRING_VALUE", // required
44
+ * DryRun: true || false,
45
+ * };
46
+ * const command = new DisableImageDeregistrationProtectionCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // DisableImageDeregistrationProtectionResult
49
+ * // Return: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param DisableImageDeregistrationProtectionCommandInput - {@link DisableImageDeregistrationProtectionCommandInput}
55
+ * @returns {@link DisableImageDeregistrationProtectionCommandOutput}
56
+ * @see {@link DisableImageDeregistrationProtectionCommandInput} for command's `input` shape.
57
+ * @see {@link DisableImageDeregistrationProtectionCommandOutput} for command's `response` shape.
58
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
59
+ *
60
+ * @throws {@link EC2ServiceException}
61
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
62
+ *
63
+ * @public
64
+ */
65
+ export declare class DisableImageDeregistrationProtectionCommand extends DisableImageDeregistrationProtectionCommand_base {
66
+ }
@@ -0,0 +1,66 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { EnableImageDeregistrationProtectionRequest, EnableImageDeregistrationProtectionResult } from "../models/models_5";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link EnableImageDeregistrationProtectionCommand}.
13
+ */
14
+ export interface EnableImageDeregistrationProtectionCommandInput extends EnableImageDeregistrationProtectionRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link EnableImageDeregistrationProtectionCommand}.
20
+ */
21
+ export interface EnableImageDeregistrationProtectionCommandOutput extends EnableImageDeregistrationProtectionResult, __MetadataBearer {
22
+ }
23
+ declare const EnableImageDeregistrationProtectionCommand_base: {
24
+ new (input: EnableImageDeregistrationProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<EnableImageDeregistrationProtectionCommandInput, EnableImageDeregistrationProtectionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: EnableImageDeregistrationProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<EnableImageDeregistrationProtectionCommandInput, EnableImageDeregistrationProtectionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Enables deregistration protection for an AMI. When deregistration protection is enabled,
30
+ * the AMI can't be deregistered.</p>
31
+ * <p>To allow the AMI to be deregistered, you must first disable deregistration protection
32
+ * using <a>DisableImageDeregistrationProtection</a>.</p>
33
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#ami-deregistration-protection">Protect an
34
+ * AMI from deregistration</a> in the <i>Amazon EC2 User Guide</i>.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { EC2Client, EnableImageDeregistrationProtectionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
39
+ * // const { EC2Client, EnableImageDeregistrationProtectionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
40
+ * const client = new EC2Client(config);
41
+ * const input = { // EnableImageDeregistrationProtectionRequest
42
+ * ImageId: "STRING_VALUE", // required
43
+ * WithCooldown: true || false,
44
+ * DryRun: true || false,
45
+ * };
46
+ * const command = new EnableImageDeregistrationProtectionCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // EnableImageDeregistrationProtectionResult
49
+ * // Return: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param EnableImageDeregistrationProtectionCommandInput - {@link EnableImageDeregistrationProtectionCommandInput}
55
+ * @returns {@link EnableImageDeregistrationProtectionCommandOutput}
56
+ * @see {@link EnableImageDeregistrationProtectionCommandInput} for command's `input` shape.
57
+ * @see {@link EnableImageDeregistrationProtectionCommandOutput} for command's `response` shape.
58
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
59
+ *
60
+ * @throws {@link EC2ServiceException}
61
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
62
+ *
63
+ * @public
64
+ */
65
+ export declare class EnableImageDeregistrationProtectionCommand extends EnableImageDeregistrationProtectionCommand_base {
66
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetIpamDiscoveredAccountsRequest, GetIpamDiscoveredAccountsResult } from "../models/models_5";
4
+ import { GetIpamDiscoveredAccountsRequest } from "../models/models_5";
5
+ import { GetIpamDiscoveredAccountsResult } from "../models/models_6";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetIpamDiscoveredPublicAddressesRequest } from "../models/models_5";
5
- import { GetIpamDiscoveredPublicAddressesResult } from "../models/models_6";
4
+ import { GetIpamDiscoveredPublicAddressesRequest, GetIpamDiscoveredPublicAddressesResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ProvisionPublicIpv4PoolCidrRequest, ProvisionPublicIpv4PoolCidrResult } from "../models/models_6";
4
+ import { ProvisionPublicIpv4PoolCidrRequest } from "../models/models_6";
5
+ import { ProvisionPublicIpv4PoolCidrResult } from "../models/models_7";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { PurchaseCapacityBlockRequest, PurchaseCapacityBlockResult } from "../models/models_6";
4
+ import { PurchaseCapacityBlockRequest, PurchaseCapacityBlockResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { PurchaseHostReservationRequest } from "../models/models_6";
5
- import { PurchaseHostReservationResult } from "../models/models_7";
4
+ import { PurchaseHostReservationRequest, PurchaseHostReservationResult } from "../models/models_7";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -381,6 +381,7 @@ export * from "./DisableFastSnapshotRestoresCommand";
381
381
  export * from "./DisableImageBlockPublicAccessCommand";
382
382
  export * from "./DisableImageCommand";
383
383
  export * from "./DisableImageDeprecationCommand";
384
+ export * from "./DisableImageDeregistrationProtectionCommand";
384
385
  export * from "./DisableIpamOrganizationAdminAccountCommand";
385
386
  export * from "./DisableSerialConsoleAccessCommand";
386
387
  export * from "./DisableSnapshotBlockPublicAccessCommand";
@@ -411,6 +412,7 @@ export * from "./EnableFastSnapshotRestoresCommand";
411
412
  export * from "./EnableImageBlockPublicAccessCommand";
412
413
  export * from "./EnableImageCommand";
413
414
  export * from "./EnableImageDeprecationCommand";
415
+ export * from "./EnableImageDeregistrationProtectionCommand";
414
416
  export * from "./EnableIpamOrganizationAdminAccountCommand";
415
417
  export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
416
418
  export * from "./EnableSerialConsoleAccessCommand";
@@ -3694,7 +3694,7 @@ export interface AssociateEnclaveCertificateIamRoleResult {
3694
3694
  CertificateS3BucketName?: string;
3695
3695
  /**
3696
3696
  * <p>The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored. The
3697
- * object key is formatted as follows: <code>role_arn</code>/<code>certificate_arn</code>.</p>
3697
+ * object key is formatted as follows: <code>role_arn</code>/<code>certificate_arn</code>.</p>
3698
3698
  * @public
3699
3699
  */
3700
3700
  CertificateS3ObjectKey?: string;
@@ -6847,11 +6847,8 @@ export interface CreateLaunchTemplateRequest {
6847
6847
  /**
6848
6848
  * <p>The tags to apply to the launch template on creation. To tag the launch template, the
6849
6849
  * resource type must be <code>launch-template</code>.</p>
6850
- * <note>
6851
- * <p>To specify the tags for the resources that are created when an instance is
6852
- * launched, you must use the <code>TagSpecifications</code> parameter in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch
6853
- * template data</a> structure.</p>
6854
- * </note>
6850
+ * <p>To specify the tags for the resources that are created when an instance is
6851
+ * launched, you must use the <code>TagSpecifications</code> parameter in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch template data</a> structure.</p>
6855
6852
  * @public
6856
6853
  */
6857
6854
  TagSpecifications?: TagSpecification[];
@@ -6969,24 +6966,27 @@ export interface CreateLaunchTemplateVersionRequest {
6969
6966
  ClientToken?: string;
6970
6967
  /**
6971
6968
  * <p>The ID of the launch template.</p>
6972
- * <p>You must specify either the <code>LaunchTemplateId</code> or the
6973
- * <code>LaunchTemplateName</code>, but not both.</p>
6969
+ * <p>You must specify either the launch template ID or the
6970
+ * launch template name, but not both.</p>
6974
6971
  * @public
6975
6972
  */
6976
6973
  LaunchTemplateId?: string;
6977
6974
  /**
6978
6975
  * <p>The name of the launch template.</p>
6979
- * <p>You must specify the <code>LaunchTemplateName</code> or the
6980
- * <code>LaunchTemplateId</code>, but not both.</p>
6976
+ * <p>You must specify either the launch template ID or the
6977
+ * launch template name, but not both.</p>
6981
6978
  * @public
6982
6979
  */
6983
6980
  LaunchTemplateName?: string;
6984
6981
  /**
6985
- * <p>The version number of the launch template version on which to base the new version.
6986
- * The new version inherits the same launch parameters as the source version, except for
6987
- * parameters that you specify in <code>LaunchTemplateData</code>. Snapshots applied to the
6988
- * block device mapping are ignored when creating a new version unless they are explicitly
6989
- * included.</p>
6982
+ * <p>The version of the launch template on which to base the new version.
6983
+ * Snapshots applied to the block device mapping are ignored when creating a new version
6984
+ * unless they are explicitly included.</p>
6985
+ * <p>If you specify this parameter, the new version inherits the launch parameters from the
6986
+ * source version. If you specify additional launch parameters for the new version, they
6987
+ * overwrite any corresponding launch parameters inherited from the source version.</p>
6988
+ * <p>If you omit this parameter, the new version contains only the launch parameters
6989
+ * that you specify for the new version.</p>
6990
6990
  * @public
6991
6991
  */
6992
6992
  SourceVersion?: string;
@@ -7591,15 +7591,15 @@ export interface DeleteLaunchTemplateRequest {
7591
7591
  DryRun?: boolean;
7592
7592
  /**
7593
7593
  * <p>The ID of the launch template.</p>
7594
- * <p>You must specify either the <code>LaunchTemplateId</code> or the
7595
- * <code>LaunchTemplateName</code>, but not both.</p>
7594
+ * <p>You must specify either the launch template ID or the
7595
+ * launch template name, but not both.</p>
7596
7596
  * @public
7597
7597
  */
7598
7598
  LaunchTemplateId?: string;
7599
7599
  /**
7600
7600
  * <p>The name of the launch template.</p>
7601
- * <p>You must specify either the <code>LaunchTemplateName</code> or the
7602
- * <code>LaunchTemplateId</code>, but not both.</p>
7601
+ * <p>You must specify either the launch template ID or the
7602
+ * launch template name, but not both.</p>
7603
7603
  * @public
7604
7604
  */
7605
7605
  LaunchTemplateName?: string;
@@ -7628,15 +7628,15 @@ export interface DeleteLaunchTemplateVersionsRequest {
7628
7628
  DryRun?: boolean;
7629
7629
  /**
7630
7630
  * <p>The ID of the launch template.</p>
7631
- * <p>You must specify either the <code>LaunchTemplateId</code> or the
7632
- * <code>LaunchTemplateName</code>, but not both.</p>
7631
+ * <p>You must specify either the launch template ID or the
7632
+ * launch template name, but not both.</p>
7633
7633
  * @public
7634
7634
  */
7635
7635
  LaunchTemplateId?: string;
7636
7636
  /**
7637
7637
  * <p>The name of the launch template.</p>
7638
- * <p>You must specify either the <code>LaunchTemplateName</code> or the
7639
- * <code>LaunchTemplateId</code>, but not both.</p>
7638
+ * <p>You must specify either the launch template ID or the
7639
+ * launch template name, but not both.</p>
7640
7640
  * @public
7641
7641
  */
7642
7642
  LaunchTemplateName?: string;
@@ -7331,6 +7331,7 @@ export interface DescribeIdFormatResult {
7331
7331
  export declare const ImageAttributeName: {
7332
7332
  readonly blockDeviceMapping: "blockDeviceMapping";
7333
7333
  readonly bootMode: "bootMode";
7334
+ readonly deregistrationProtection: "deregistrationProtection";
7334
7335
  readonly description: "description";
7335
7336
  readonly imdsSupport: "imdsSupport";
7336
7337
  readonly kernel: "kernel";
@@ -7485,6 +7486,11 @@ export interface ImageAttribute {
7485
7486
  * @public
7486
7487
  */
7487
7488
  ImdsSupport?: AttributeValue;
7489
+ /**
7490
+ * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
7491
+ * @public
7492
+ */
7493
+ DeregistrationProtection?: AttributeValue;
7488
7494
  }
7489
7495
  /**
7490
7496
  * @public
@@ -8026,6 +8032,22 @@ export interface Image {
8026
8032
  * @public
8027
8033
  */
8028
8034
  SourceInstanceId?: string;
8035
+ /**
8036
+ * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
8037
+ * @public
8038
+ */
8039
+ DeregistrationProtection?: string;
8040
+ /**
8041
+ * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
8042
+ * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
8043
+ * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
8044
+ * <note>
8045
+ * <p>
8046
+ * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
8047
+ * </note>
8048
+ * @public
8049
+ */
8050
+ LastLaunchedTime?: string;
8029
8051
  }
8030
8052
  /**
8031
8053
  * @public
@@ -4962,8 +4962,7 @@ export interface DescribeLaunchTemplateVersionsRequest {
4962
4962
  /**
4963
4963
  * <p>The ID of the launch template.</p>
4964
4964
  * <p>To describe one or more versions of a specified launch template, you must specify
4965
- * either the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not
4966
- * both.</p>
4965
+ * either the launch template ID or the launch template name, but not both.</p>
4967
4966
  * <p>To describe all the latest or default launch template versions in your account, you
4968
4967
  * must omit this parameter.</p>
4969
4968
  * @public
@@ -4972,8 +4971,7 @@ export interface DescribeLaunchTemplateVersionsRequest {
4972
4971
  /**
4973
4972
  * <p>The name of the launch template.</p>
4974
4973
  * <p>To describe one or more versions of a specified launch template, you must specify
4975
- * either the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not
4976
- * both.</p>
4974
+ * either the launch template name or the launch template ID, but not both.</p>
4977
4975
  * <p>To describe all the latest or default launch template versions in your account, you
4978
4976
  * must omit this parameter.</p>
4979
4977
  * @public
@@ -7054,7 +7052,7 @@ export interface DescribeNetworkInterfacesRequest {
7054
7052
  */
7055
7053
  export interface DescribeNetworkInterfacesResult {
7056
7054
  /**
7057
- * <p>Information about one or more network interfaces.</p>
7055
+ * <p>Information about the network interfaces.</p>
7058
7056
  * @public
7059
7057
  */
7060
7058
  NetworkInterfaces?: NetworkInterface[];