@aws-sdk/client-ec2 3.557.0 → 3.562.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/README.md +16 -0
- package/dist-cjs/index.js +171 -26
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/DisableImageDeregistrationProtectionCommand.js +24 -0
- package/dist-es/commands/EnableImageDeregistrationProtectionCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_3.js +1 -0
- package/dist-es/models/models_4.js +1 -0
- package/dist-es/models/models_5.js +0 -11
- package/dist-es/models/models_6.js +11 -0
- package/dist-es/protocols/Aws_ec2.js +116 -13
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -5
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
- package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +66 -0
- package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +66 -0
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
- package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -2
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -0
- package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -1
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +14 -14
- package/dist-types/models/models_2.d.ts +8 -8
- package/dist-types/models/models_3.d.ts +22 -0
- package/dist-types/models/models_4.d.ts +10 -5
- package/dist-types/models/models_5.d.ts +65 -83
- package/dist-types/models/models_6.d.ts +92 -99
- package/dist-types/models/models_7.d.ts +103 -15
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +46 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_3.d.ts +4 -0
- package/dist-types/ts3.4/models/models_4.d.ts +2 -0
- package/dist-types/ts3.4/models/models_5.d.ts +15 -27
- package/dist-types/ts3.4/models/models_6.d.ts +29 -27
- package/dist-types/ts3.4/models/models_7.d.ts +24 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +1 -1
|
@@ -26,13 +26,14 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Creates a new version of a launch template. You
|
|
30
|
-
*
|
|
29
|
+
* <p>Creates a new version of a launch template. You must specify an existing launch
|
|
30
|
+
* template, either by name or ID. You can determine whether the new version inherits
|
|
31
|
+
* parameters from a source version, and add or overwrite parameters as needed.</p>
|
|
31
32
|
* <p>Launch template versions are numbered in the order in which they are created. You
|
|
32
|
-
*
|
|
33
|
+
* can't specify, change, or replace the numbering of launch template versions.</p>
|
|
33
34
|
* <p>Launch templates are immutable; after you create a launch template, you can't modify
|
|
34
|
-
* it. Instead, you can create a new version of the launch template that includes
|
|
35
|
-
* changes you require.</p>
|
|
35
|
+
* it. Instead, you can create a new version of the launch template that includes the
|
|
36
|
+
* changes that you require.</p>
|
|
36
37
|
* <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
|
|
37
38
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
38
39
|
* @example
|
|
@@ -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
|
|
@@ -34,7 +34,7 @@ declare const DescribeNetworkInterfaceAttributeCommand_base: {
|
|
|
34
34
|
* // const { EC2Client, DescribeNetworkInterfaceAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
35
35
|
* const client = new EC2Client(config);
|
|
36
36
|
* const input = { // DescribeNetworkInterfaceAttributeRequest
|
|
37
|
-
* Attribute: "description" || "groupSet" || "sourceDestCheck" || "attachment",
|
|
37
|
+
* Attribute: "description" || "groupSet" || "sourceDestCheck" || "attachment" || "associatePublicIpAddress",
|
|
38
38
|
* DryRun: true || false,
|
|
39
39
|
* NetworkInterfaceId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -70,6 +70,7 @@ declare const DescribeNetworkInterfaceAttributeCommand_base: {
|
|
|
70
70
|
* // SourceDestCheck: { // AttributeBooleanValue
|
|
71
71
|
* // Value: true || false,
|
|
72
72
|
* // },
|
|
73
|
+
* // AssociatePublicIpAddress: true || false,
|
|
73
74
|
* // };
|
|
74
75
|
*
|
|
75
76
|
* ```
|
|
@@ -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
|
|
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/
|
|
5
|
-
import { GetIpamDiscoveredPublicAddressesResult } from "../models/models_6";
|
|
4
|
+
import { GetIpamDiscoveredPublicAddressesRequest, GetIpamDiscoveredPublicAddressesResult } from "../models/models_6";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -63,6 +63,7 @@ declare const ModifyNetworkInterfaceAttributeCommand_base: {
|
|
|
63
63
|
* UdpStreamTimeout: Number("int"),
|
|
64
64
|
* UdpTimeout: Number("int"),
|
|
65
65
|
* },
|
|
66
|
+
* AssociatePublicIpAddress: true || false,
|
|
66
67
|
* };
|
|
67
68
|
* const command = new ModifyNetworkInterfaceAttributeCommand(input);
|
|
68
69
|
* const response = await client.send(command);
|
|
@@ -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
|
|
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/
|
|
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/
|
|
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:
|
|
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
|
-
* <
|
|
6851
|
-
*
|
|
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
|
|
6973
|
-
*
|
|
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
|
|
6980
|
-
*
|
|
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
|
|
6986
|
-
*
|
|
6987
|
-
*
|
|
6988
|
-
*
|
|
6989
|
-
*
|
|
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
|
|
7595
|
-
*
|
|
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
|
|
7602
|
-
*
|
|
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
|
|
7632
|
-
*
|
|
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
|
|
7639
|
-
*
|
|
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
|
|
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
|
|
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
|
|
@@ -6711,6 +6709,7 @@ export interface DescribeNetworkInsightsPathsResult {
|
|
|
6711
6709
|
* @enum
|
|
6712
6710
|
*/
|
|
6713
6711
|
export declare const NetworkInterfaceAttribute: {
|
|
6712
|
+
readonly associatePublicIpAddress: "associatePublicIpAddress";
|
|
6714
6713
|
readonly attachment: "attachment";
|
|
6715
6714
|
readonly description: "description";
|
|
6716
6715
|
readonly groupSet: "groupSet";
|
|
@@ -6773,6 +6772,12 @@ export interface DescribeNetworkInterfaceAttributeResult {
|
|
|
6773
6772
|
* @public
|
|
6774
6773
|
*/
|
|
6775
6774
|
SourceDestCheck?: AttributeBooleanValue;
|
|
6775
|
+
/**
|
|
6776
|
+
* <p>Indicates whether to assign a public IPv4 address to a network interface.
|
|
6777
|
+
* This option can be enabled for any network interface but will only apply to the primary network interface (eth0).</p>
|
|
6778
|
+
* @public
|
|
6779
|
+
*/
|
|
6780
|
+
AssociatePublicIpAddress?: boolean;
|
|
6776
6781
|
}
|
|
6777
6782
|
/**
|
|
6778
6783
|
* <p>Contains the parameters for DescribeNetworkInterfacePermissions.</p>
|
|
@@ -7054,7 +7059,7 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
7054
7059
|
*/
|
|
7055
7060
|
export interface DescribeNetworkInterfacesResult {
|
|
7056
7061
|
/**
|
|
7057
|
-
* <p>Information about
|
|
7062
|
+
* <p>Information about the network interfaces.</p>
|
|
7058
7063
|
* @public
|
|
7059
7064
|
*/
|
|
7060
7065
|
NetworkInterfaces?: NetworkInterface[];
|