@aws-sdk/client-ec2 3.876.0 → 3.879.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/index.js +14 -1
- package/dist-es/models/models_2.js +2 -0
- package/dist-es/protocols/Aws_ec2.js +11 -0
- package/dist-types/commands/CopyImageCommand.d.ts +91 -9
- package/dist-types/commands/CopySnapshotCommand.d.ts +23 -7
- package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
- package/dist-types/commands/DeleteImageUsageReportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageReferencesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeImageUsageReportEntriesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageUsageReportsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +53 -19
- package/dist-types/models/models_2.d.ts +4 -5
- package/dist-types/models/models_6.d.ts +0 -5
- package/dist-types/models/models_7.d.ts +5 -1
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +2 -0
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -19349,6 +19349,12 @@ var se_CopyImageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
19349
19349
|
if (input[_SCCDM] != null) {
|
|
19350
19350
|
entries[_SCCDM] = input[_SCCDM];
|
|
19351
19351
|
}
|
|
19352
|
+
if (input[_DAZe] != null) {
|
|
19353
|
+
entries[_DAZe] = input[_DAZe];
|
|
19354
|
+
}
|
|
19355
|
+
if (input[_DAZI] != null) {
|
|
19356
|
+
entries[_DAZI] = input[_DAZI];
|
|
19357
|
+
}
|
|
19352
19358
|
if (input[_DRr] != null) {
|
|
19353
19359
|
entries[_DRr] = input[_DRr];
|
|
19354
19360
|
}
|
|
@@ -19390,6 +19396,9 @@ var se_CopySnapshotRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
19390
19396
|
if (input[_CDM] != null) {
|
|
19391
19397
|
entries[_CDM] = input[_CDM];
|
|
19392
19398
|
}
|
|
19399
|
+
if (input[_DAZe] != null) {
|
|
19400
|
+
entries[_DAZe] = input[_DAZe];
|
|
19401
|
+
}
|
|
19393
19402
|
if (input[_DRr] != null) {
|
|
19394
19403
|
entries[_DRr] = input[_DRr];
|
|
19395
19404
|
}
|
|
@@ -64645,6 +64654,8 @@ var _DAT = "DescribeAddressTransfers";
|
|
|
64645
64654
|
var _DATi = "DisableAddressTransfer";
|
|
64646
64655
|
var _DATis = "DisableApiTermination";
|
|
64647
64656
|
var _DAZ = "DescribeAvailabilityZones";
|
|
64657
|
+
var _DAZI = "DestinationAvailabilityZoneId";
|
|
64658
|
+
var _DAZe = "DestinationAvailabilityZone";
|
|
64648
64659
|
var _DAe = "DeprecateAt";
|
|
64649
64660
|
var _DAep = "DeprovisionedAddresses";
|
|
64650
64661
|
var _DAes = "DestinationAddresses";
|
|
@@ -72379,13 +72390,15 @@ var RouteServerPeerState = {
|
|
|
72379
72390
|
PENDING: "pending"
|
|
72380
72391
|
};
|
|
72381
72392
|
var RouteOrigin = {
|
|
72393
|
+
Advertisement: "Advertisement",
|
|
72382
72394
|
CreateRoute: "CreateRoute",
|
|
72383
72395
|
CreateRouteTable: "CreateRouteTable",
|
|
72384
72396
|
EnableVgwRoutePropagation: "EnableVgwRoutePropagation"
|
|
72385
72397
|
};
|
|
72386
72398
|
var RouteState = {
|
|
72387
72399
|
active: "active",
|
|
72388
|
-
blackhole: "blackhole"
|
|
72400
|
+
blackhole: "blackhole",
|
|
72401
|
+
filtered: "filtered"
|
|
72389
72402
|
};
|
|
72390
72403
|
var SSEType = {
|
|
72391
72404
|
none: "none",
|
|
@@ -177,6 +177,7 @@ export const RouteServerPeerState = {
|
|
|
177
177
|
PENDING: "pending",
|
|
178
178
|
};
|
|
179
179
|
export const RouteOrigin = {
|
|
180
|
+
Advertisement: "Advertisement",
|
|
180
181
|
CreateRoute: "CreateRoute",
|
|
181
182
|
CreateRouteTable: "CreateRouteTable",
|
|
182
183
|
EnableVgwRoutePropagation: "EnableVgwRoutePropagation",
|
|
@@ -184,6 +185,7 @@ export const RouteOrigin = {
|
|
|
184
185
|
export const RouteState = {
|
|
185
186
|
active: "active",
|
|
186
187
|
blackhole: "blackhole",
|
|
188
|
+
filtered: "filtered",
|
|
187
189
|
};
|
|
188
190
|
export const SSEType = {
|
|
189
191
|
none: "none",
|
|
@@ -17741,6 +17741,12 @@ const se_CopyImageRequest = (input, context) => {
|
|
|
17741
17741
|
if (input[_SCCDM] != null) {
|
|
17742
17742
|
entries[_SCCDM] = input[_SCCDM];
|
|
17743
17743
|
}
|
|
17744
|
+
if (input[_DAZe] != null) {
|
|
17745
|
+
entries[_DAZe] = input[_DAZe];
|
|
17746
|
+
}
|
|
17747
|
+
if (input[_DAZI] != null) {
|
|
17748
|
+
entries[_DAZI] = input[_DAZI];
|
|
17749
|
+
}
|
|
17744
17750
|
if (input[_DRr] != null) {
|
|
17745
17751
|
entries[_DRr] = input[_DRr];
|
|
17746
17752
|
}
|
|
@@ -17782,6 +17788,9 @@ const se_CopySnapshotRequest = (input, context) => {
|
|
|
17782
17788
|
if (input[_CDM] != null) {
|
|
17783
17789
|
entries[_CDM] = input[_CDM];
|
|
17784
17790
|
}
|
|
17791
|
+
if (input[_DAZe] != null) {
|
|
17792
|
+
entries[_DAZe] = input[_DAZe];
|
|
17793
|
+
}
|
|
17785
17794
|
if (input[_DRr] != null) {
|
|
17786
17795
|
entries[_DRr] = input[_DRr];
|
|
17787
17796
|
}
|
|
@@ -64586,6 +64595,8 @@ const _DAT = "DescribeAddressTransfers";
|
|
|
64586
64595
|
const _DATi = "DisableAddressTransfer";
|
|
64587
64596
|
const _DATis = "DisableApiTermination";
|
|
64588
64597
|
const _DAZ = "DescribeAvailabilityZones";
|
|
64598
|
+
const _DAZI = "DestinationAvailabilityZoneId";
|
|
64599
|
+
const _DAZe = "DestinationAvailabilityZone";
|
|
64589
64600
|
const _DAe = "DeprecateAt";
|
|
64590
64601
|
const _DAep = "DeprovisionedAddresses";
|
|
64591
64602
|
const _DAes = "DestinationAddresses";
|
|
@@ -27,16 +27,96 @@ declare const CopyImageCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Initiates an AMI copy operation. You
|
|
31
|
-
*
|
|
32
|
-
* another, or within the same Outpost. To copy an AMI to another partition, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
|
|
33
|
-
* <p>When you copy an AMI from one Region to another, the destination Region is the current
|
|
30
|
+
* <p>Initiates an AMI copy operation. You must specify the source AMI ID and both the source
|
|
31
|
+
* and destination locations. The copy operation must be initiated in the destination
|
|
34
32
|
* Region.</p>
|
|
35
|
-
* <p>
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
33
|
+
* <p class="title">
|
|
34
|
+
* <b>CopyImage supports the following source to destination copies:</b>
|
|
35
|
+
* </p>
|
|
36
|
+
* <ul>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>Region to Region</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>Region to Outpost</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>Parent Region to Local Zone</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>Local Zone to parent Region</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>Between Local Zones with the same parent Region (only supported for certain Local
|
|
51
|
+
* Zones)</p>
|
|
52
|
+
* </li>
|
|
53
|
+
* </ul>
|
|
54
|
+
* <p class="title">
|
|
55
|
+
* <b>CopyImage does not support the following source to destination copies:</b>
|
|
56
|
+
* </p>
|
|
57
|
+
* <ul>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>Local Zone to non-parent Regions</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>Between Local Zones with different parent Regions</p>
|
|
63
|
+
* </li>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>Local Zone to Outpost</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>Outpost to Local Zone</p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>Outpost to Region</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>Between Outposts</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>Within same Outpost</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>Cross-partition copies (use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a> instead)</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* </ul>
|
|
83
|
+
* <p class="title">
|
|
84
|
+
* <b>Destination specification</b>
|
|
85
|
+
* </p>
|
|
86
|
+
* <ul>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>Region to Region: The destination Region is the Region in which you initiate the copy
|
|
89
|
+
* operation.</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>Region to Outpost: Specify the destination using the
|
|
93
|
+
* <code>DestinationOutpostArn</code> parameter (the ARN of the Outpost)</p>
|
|
94
|
+
* </li>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>Region to Local Zone, and Local Zone to Local Zone copies: Specify the destination
|
|
97
|
+
* using the <code>DestinationAvailabilityZone</code> parameter (the name of the destination
|
|
98
|
+
* Local Zone) or <code>DestinationAvailabilityZoneId</code> parameter (the ID of the
|
|
99
|
+
* destination Local Zone).</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* </ul>
|
|
102
|
+
* <p class="title">
|
|
103
|
+
* <b>Snapshot encryption</b>
|
|
104
|
+
* </p>
|
|
105
|
+
* <ul>
|
|
106
|
+
* <li>
|
|
107
|
+
* <p>Region to Outpost: Backing snapshots copied to an Outpost are encrypted by default
|
|
108
|
+
* using the default encryption key for the Region or the key that you specify. Outposts do
|
|
109
|
+
* not support unencrypted snapshots.</p>
|
|
110
|
+
* </li>
|
|
111
|
+
* <li>
|
|
112
|
+
* <p>Region to Local Zone, and Local Zone to Local Zone: Not all Local Zones require
|
|
113
|
+
* encrypted snapshots. In Local Zones that require encrypted snapshots, backing snapshots
|
|
114
|
+
* are automatically encrypted during copy. In Local Zones where encryption is not required,
|
|
115
|
+
* snapshots retain their original encryption state (encrypted or unencrypted) by
|
|
116
|
+
* default.</p>
|
|
117
|
+
* </li>
|
|
118
|
+
* </ul>
|
|
119
|
+
* <p>For more information, including the required permissions for copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an Amazon EC2 AMI</a> in the
|
|
40
120
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
41
121
|
* @example
|
|
42
122
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -66,6 +146,8 @@ declare const CopyImageCommand_base: {
|
|
|
66
146
|
* },
|
|
67
147
|
* ],
|
|
68
148
|
* SnapshotCopyCompletionDurationMinutes: Number("long"),
|
|
149
|
+
* DestinationAvailabilityZone: "STRING_VALUE",
|
|
150
|
+
* DestinationAvailabilityZoneId: "STRING_VALUE",
|
|
69
151
|
* DryRun: true || false,
|
|
70
152
|
* };
|
|
71
153
|
* const command = new CopyImageCommand(input);
|
|
@@ -27,11 +27,24 @@ declare const CopySnapshotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
30
|
+
* <p>Creates an exact copy of an Amazon EBS snapshot.</p>
|
|
31
|
+
* <p>The location of the source snapshot determines whether you can copy it or not,
|
|
32
|
+
* and the allowed destinations for the snapshot copy.</p>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>If the source snapshot is in a Region, you can copy it within that Region,
|
|
36
|
+
* to another Region, to an Outpost associated with that Region, or to a Local
|
|
37
|
+
* Zone in that Region.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>If the source snapshot is in a Local Zone, you can copy it within that Local Zone,
|
|
41
|
+
* to another Local Zone in the same zone group, or to the parent Region of the Local
|
|
42
|
+
* Zone.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>If the source snapshot is on an Outpost, you can't copy it.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
35
48
|
* <p>When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted.
|
|
36
49
|
* Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the
|
|
37
50
|
* snapshot copy operation. By default, encrypted snapshot copies use the default KMS key;
|
|
@@ -42,8 +55,10 @@ declare const CopySnapshotCommand_base: {
|
|
|
42
55
|
* for the Region, or a different key that you specify in the request using <b>KmsKeyId</b>. Outposts do not support unencrypted snapshots. For more information,
|
|
43
56
|
* see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS
|
|
44
57
|
* local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
45
|
-
* <
|
|
46
|
-
*
|
|
58
|
+
* <note>
|
|
59
|
+
* <p>Snapshots copies have an arbitrary source volume ID. Do not use this volume ID for
|
|
60
|
+
* any purpose.</p>
|
|
61
|
+
* </note>
|
|
47
62
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-copy-snapshot.html">Copy an Amazon EBS snapshot</a> in the
|
|
48
63
|
* <i>Amazon EBS User Guide</i>.</p>
|
|
49
64
|
* @example
|
|
@@ -73,6 +88,7 @@ declare const CopySnapshotCommand_base: {
|
|
|
73
88
|
* },
|
|
74
89
|
* ],
|
|
75
90
|
* CompletionDurationMinutes: Number("int"),
|
|
91
|
+
* DestinationAvailabilityZone: "STRING_VALUE",
|
|
76
92
|
* DryRun: true || false,
|
|
77
93
|
* };
|
|
78
94
|
* const command = new CopySnapshotCommand(input);
|
|
@@ -30,7 +30,7 @@ declare const CreateImageUsageReportCommand_base: {
|
|
|
30
30
|
* <p>Creates a report that shows how your image is used across other Amazon Web Services accounts. The report
|
|
31
31
|
* provides visibility into which accounts are using the specified image, and how many resources
|
|
32
32
|
* (EC2 instances or launch templates) are referencing it.</p>
|
|
33
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-usage.html">View your AMI usage</a> in the
|
|
33
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/your-ec2-ami-usage.html">View your AMI usage</a> in the
|
|
34
34
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -90,8 +90,8 @@ declare const CreateRouteTableCommand_base: {
|
|
|
90
90
|
* // LocalGatewayId: "STRING_VALUE",
|
|
91
91
|
* // CarrierGatewayId: "STRING_VALUE",
|
|
92
92
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
93
|
-
* // Origin: "CreateRouteTable" || "CreateRoute" || "EnableVgwRoutePropagation",
|
|
94
|
-
* // State: "active" || "blackhole",
|
|
93
|
+
* // Origin: "CreateRouteTable" || "CreateRoute" || "EnableVgwRoutePropagation" || "Advertisement",
|
|
94
|
+
* // State: "active" || "blackhole" || "filtered",
|
|
95
95
|
* // VpcPeeringConnectionId: "STRING_VALUE",
|
|
96
96
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
97
97
|
* // OdbNetworkArn: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ declare const DeleteImageUsageReportCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes the specified image usage report.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-usage.html">View your AMI usage</a> in the
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/your-ec2-ami-usage.html">View your AMI usage</a> in the
|
|
32
32
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,9 +27,9 @@ declare const DescribeImageReferencesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes your Amazon Web Services resources that are referencing the specified images
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-references.html">
|
|
32
|
-
*
|
|
30
|
+
* <p>Describes your Amazon Web Services resources that are referencing the specified images.</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-references.html">Identify your resources referencing
|
|
32
|
+
* specified AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const DescribeImageUsageReportEntriesCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the entries in image usage reports, showing how your images are used across
|
|
31
31
|
* other Amazon Web Services accounts.</p>
|
|
32
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-usage.html">View your AMI usage</a> in the
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/your-ec2-ami-usage.html">View your AMI usage</a> in the
|
|
33
33
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -29,7 +29,7 @@ declare const DescribeImageUsageReportsCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the configuration and status of image usage reports, filtered by report IDs or
|
|
31
31
|
* image IDs.</p>
|
|
32
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-usage.html">View your AMI usage</a> in the
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/your-ec2-ami-usage.html">View your AMI usage</a> in the
|
|
33
33
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -94,8 +94,8 @@ declare const DescribeRouteTablesCommand_base: {
|
|
|
94
94
|
* // LocalGatewayId: "STRING_VALUE",
|
|
95
95
|
* // CarrierGatewayId: "STRING_VALUE",
|
|
96
96
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
97
|
-
* // Origin: "CreateRouteTable" || "CreateRoute" || "EnableVgwRoutePropagation",
|
|
98
|
-
* // State: "active" || "blackhole",
|
|
97
|
+
* // Origin: "CreateRouteTable" || "CreateRoute" || "EnableVgwRoutePropagation" || "Advertisement",
|
|
98
|
+
* // State: "active" || "blackhole" || "filtered",
|
|
99
99
|
* // VpcPeeringConnectionId: "STRING_VALUE",
|
|
100
100
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
101
101
|
* // OdbNetworkArn: "STRING_VALUE",
|
|
@@ -61,15 +61,15 @@ export interface CopyImageRequest {
|
|
|
61
61
|
*/
|
|
62
62
|
ClientToken?: string | undefined;
|
|
63
63
|
/**
|
|
64
|
-
* <p>A description for the new AMI
|
|
64
|
+
* <p>A description for the new AMI.</p>
|
|
65
65
|
* @public
|
|
66
66
|
*/
|
|
67
67
|
Description?: string | undefined;
|
|
68
68
|
/**
|
|
69
|
-
* <p>Specifies whether the
|
|
70
|
-
*
|
|
71
|
-
* encrypted snapshot. The default KMS key for Amazon EBS is used unless you specify a
|
|
72
|
-
* Key Management Service (KMS) KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with
|
|
69
|
+
* <p>Specifies whether to encrypt the snapshots of the copied image.</p>
|
|
70
|
+
* <p>You can encrypt a copy of an unencrypted snapshot, but you cannot create an unencrypted
|
|
71
|
+
* copy of an encrypted snapshot. The default KMS key for Amazon EBS is used unless you specify a
|
|
72
|
+
* non-default Key Management Service (KMS) KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with
|
|
73
73
|
* EBS-backed AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
@@ -101,7 +101,7 @@ export interface CopyImageRequest {
|
|
|
101
101
|
*/
|
|
102
102
|
KmsKeyId?: string | undefined;
|
|
103
103
|
/**
|
|
104
|
-
* <p>The name of the new AMI
|
|
104
|
+
* <p>The name of the new AMI.</p>
|
|
105
105
|
* @public
|
|
106
106
|
*/
|
|
107
107
|
Name: string | undefined;
|
|
@@ -116,18 +116,21 @@ export interface CopyImageRequest {
|
|
|
116
116
|
*/
|
|
117
117
|
SourceRegion: string | undefined;
|
|
118
118
|
/**
|
|
119
|
-
* <p>The Amazon Resource Name (ARN) of the Outpost
|
|
120
|
-
*
|
|
121
|
-
* Region of the destination Outpost. You
|
|
122
|
-
* one Outpost to another, or within the same Outpost.</p>
|
|
119
|
+
* <p>The Amazon Resource Name (ARN) of the Outpost for the new AMI.</p>
|
|
120
|
+
* <p>Only specify this parameter when copying an AMI from an Amazon Web Services Region to an Outpost. The
|
|
121
|
+
* AMI must be in the Region of the destination Outpost. You can't copy an AMI from an Outpost to
|
|
122
|
+
* a Region, from one Outpost to another, or within the same Outpost.</p>
|
|
123
123
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis">Copy AMIs from an Amazon Web Services Region
|
|
124
124
|
* to an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
125
|
+
* <p>Only one of <code>DestinationAvailabilityZone</code>,
|
|
126
|
+
* <code>DestinationAvailabilityZoneId</code>, or <code>DestinationOutpostArn</code> can be
|
|
127
|
+
* specified.</p>
|
|
125
128
|
* @public
|
|
126
129
|
*/
|
|
127
130
|
DestinationOutpostArn?: string | undefined;
|
|
128
131
|
/**
|
|
129
|
-
* <p>
|
|
130
|
-
* <p>The following tags
|
|
132
|
+
* <p>Specifies whether to copy your user-defined AMI tags to the new AMI.</p>
|
|
133
|
+
* <p>The following tags are not be copied:</p>
|
|
131
134
|
* <ul>
|
|
132
135
|
* <li>
|
|
133
136
|
* <p>System tags (prefixed with <code>aws:</code>)</p>
|
|
@@ -167,11 +170,31 @@ export interface CopyImageRequest {
|
|
|
167
170
|
* meet the timing target.</p>
|
|
168
171
|
* <p>If you do not specify a value, the AMI copy operation is completed on a best-effort
|
|
169
172
|
* basis.</p>
|
|
173
|
+
* <note>
|
|
174
|
+
* <p>This parameter is not supported when copying an AMI to or from a Local Zone, or to an
|
|
175
|
+
* Outpost.</p>
|
|
176
|
+
* </note>
|
|
170
177
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html">Time-based copies for Amazon EBS snapshots and
|
|
171
178
|
* EBS-backed AMIs</a>.</p>
|
|
172
179
|
* @public
|
|
173
180
|
*/
|
|
174
181
|
SnapshotCopyCompletionDurationMinutes?: number | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <p>The Local Zone for the new AMI (for example, <code>cn-north-1-pkx-1a</code>).</p>
|
|
184
|
+
* <p>Only one of <code>DestinationAvailabilityZone</code>,
|
|
185
|
+
* <code>DestinationAvailabilityZoneId</code>, or <code>DestinationOutpostArn</code> can be
|
|
186
|
+
* specified.</p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
DestinationAvailabilityZone?: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* <p>The ID of the Local Zone for the new AMI (for example, <code>cnn1-pkx1-az1</code>).</p>
|
|
192
|
+
* <p>Only one of <code>DestinationAvailabilityZone</code>,
|
|
193
|
+
* <code>DestinationAvailabilityZoneId</code>, or <code>DestinationOutpostArn</code> can be
|
|
194
|
+
* specified.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
DestinationAvailabilityZoneId?: string | undefined;
|
|
175
198
|
/**
|
|
176
199
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
177
200
|
* and provides an error response. If you have the required permissions, the error response is
|
|
@@ -201,14 +224,13 @@ export interface CopySnapshotRequest {
|
|
|
201
224
|
*/
|
|
202
225
|
Description?: string | undefined;
|
|
203
226
|
/**
|
|
204
|
-
* <p>The Amazon Resource Name (ARN) of the Outpost to which to copy the snapshot
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
* Outpost.</p>
|
|
227
|
+
* <p>The Amazon Resource Name (ARN) of the Outpost to which to copy the snapshot.</p>
|
|
228
|
+
* <note>
|
|
229
|
+
* <p>Only supported when copying a snapshot to an Outpost.</p>
|
|
230
|
+
* </note>
|
|
209
231
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-snapshots">
|
|
210
232
|
* Copy snapshots from an Amazon Web Services Region to an Outpost</a> in the
|
|
211
|
-
*
|
|
233
|
+
* <i>Amazon EBS User Guide</i>.</p>
|
|
212
234
|
* @public
|
|
213
235
|
*/
|
|
214
236
|
DestinationOutpostArn?: string | undefined;
|
|
@@ -289,7 +311,10 @@ export interface CopySnapshotRequest {
|
|
|
289
311
|
*/
|
|
290
312
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
291
313
|
/**
|
|
292
|
-
* <
|
|
314
|
+
* <note>
|
|
315
|
+
* <p>Not supported when copying snapshots to or from Local Zones or Outposts.</p>
|
|
316
|
+
* </note>
|
|
317
|
+
* <p>Specify a completion duration, in 15 minute increments, to initiate a time-based snapshot
|
|
293
318
|
* copy. Time-based snapshot copy operations complete within the specified duration. For more
|
|
294
319
|
* information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html">
|
|
295
320
|
* Time-based copies</a>.</p>
|
|
@@ -298,6 +323,15 @@ export interface CopySnapshotRequest {
|
|
|
298
323
|
* @public
|
|
299
324
|
*/
|
|
300
325
|
CompletionDurationMinutes?: number | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* <p>The Local Zone, for example, <code>cn-north-1-pkx-1a</code> to which to copy the
|
|
328
|
+
* snapshot.</p>
|
|
329
|
+
* <note>
|
|
330
|
+
* <p>Only supported when copying a snapshot to a Local Zone.</p>
|
|
331
|
+
* </note>
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
DestinationAvailabilityZone?: string | undefined;
|
|
301
335
|
/**
|
|
302
336
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
303
337
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -4714,6 +4714,7 @@ export interface PropagatingVgw {
|
|
|
4714
4714
|
* @enum
|
|
4715
4715
|
*/
|
|
4716
4716
|
export declare const RouteOrigin: {
|
|
4717
|
+
readonly Advertisement: "Advertisement";
|
|
4717
4718
|
readonly CreateRoute: "CreateRoute";
|
|
4718
4719
|
readonly CreateRouteTable: "CreateRouteTable";
|
|
4719
4720
|
readonly EnableVgwRoutePropagation: "EnableVgwRoutePropagation";
|
|
@@ -4729,6 +4730,7 @@ export type RouteOrigin = (typeof RouteOrigin)[keyof typeof RouteOrigin];
|
|
|
4729
4730
|
export declare const RouteState: {
|
|
4730
4731
|
readonly active: "active";
|
|
4731
4732
|
readonly blackhole: "blackhole";
|
|
4733
|
+
readonly filtered: "filtered";
|
|
4732
4734
|
};
|
|
4733
4735
|
/**
|
|
4734
4736
|
* @public
|
|
@@ -6539,10 +6541,7 @@ export interface TransitGatewayOptions {
|
|
|
6539
6541
|
AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | undefined;
|
|
6540
6542
|
/**
|
|
6541
6543
|
* <p>Indicates whether resource attachments are automatically associated with the default
|
|
6542
|
-
* association route table. Enabled by default.
|
|
6543
|
-
* is set to <code>enable</code>,
|
|
6544
|
-
* Amazon Web Services Transit Gateway will create the default transit gateway route
|
|
6545
|
-
* table.</p>
|
|
6544
|
+
* association route table. Enabled by default. Either <code>defaultRouteTableAssociation</code> or <code>defaultRouteTablePropagation</code> must be set to <code>enable</code> for Amazon Web Services Transit Gateway to create the default transit gateway route table.</p>
|
|
6546
6545
|
* @public
|
|
6547
6546
|
*/
|
|
6548
6547
|
DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | undefined;
|
|
@@ -6555,7 +6554,7 @@ export interface TransitGatewayOptions {
|
|
|
6555
6554
|
* <p>Indicates whether resource attachments automatically propagate routes to the default
|
|
6556
6555
|
* propagation route table. Enabled by default. If <code>defaultRouteTablePropagation</code>
|
|
6557
6556
|
* is set to <code>enable</code>,
|
|
6558
|
-
* Amazon Web Services Transit Gateway
|
|
6557
|
+
* Amazon Web Services Transit Gateway creates the default transit gateway route
|
|
6559
6558
|
* table.</p>
|
|
6560
6559
|
* @public
|
|
6561
6560
|
*/
|
|
@@ -433,11 +433,6 @@ export interface DescribeVpcEndpointAssociationsRequest {
|
|
|
433
433
|
* <code>resource-configuration-group-arn</code> - The Amazon Resource Name (ARN) of
|
|
434
434
|
* the resource configuration of type GROUP.</p>
|
|
435
435
|
* </li>
|
|
436
|
-
* <li>
|
|
437
|
-
* <p>
|
|
438
|
-
* <code>service-network-resource-association-id</code> - The ID of the
|
|
439
|
-
* association.</p>
|
|
440
|
-
* </li>
|
|
441
436
|
* </ul>
|
|
442
437
|
* @public
|
|
443
438
|
*/
|
|
@@ -6196,7 +6196,11 @@ export interface ModifyTransitGatewayOptions {
|
|
|
6196
6196
|
*/
|
|
6197
6197
|
AssociationDefaultRouteTableId?: string | undefined;
|
|
6198
6198
|
/**
|
|
6199
|
-
* <p>
|
|
6199
|
+
* <p>Indicates whether resource attachments automatically propagate routes to the default
|
|
6200
|
+
* propagation route table. Enabled by default. If <code>defaultRouteTablePropagation</code>
|
|
6201
|
+
* is set to <code>enable</code>,
|
|
6202
|
+
* Amazon Web Services Transit Gateway will create the default transit gateway route
|
|
6203
|
+
* table.</p>
|
|
6200
6204
|
* @public
|
|
6201
6205
|
*/
|
|
6202
6206
|
DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | undefined;
|
|
@@ -44,6 +44,8 @@ export interface CopyImageRequest {
|
|
|
44
44
|
CopyImageTags?: boolean | undefined;
|
|
45
45
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
46
46
|
SnapshotCopyCompletionDurationMinutes?: number | undefined;
|
|
47
|
+
DestinationAvailabilityZone?: string | undefined;
|
|
48
|
+
DestinationAvailabilityZoneId?: string | undefined;
|
|
47
49
|
DryRun?: boolean | undefined;
|
|
48
50
|
}
|
|
49
51
|
export interface CopyImageResult {
|
|
@@ -60,6 +62,7 @@ export interface CopySnapshotRequest {
|
|
|
60
62
|
SourceSnapshotId: string | undefined;
|
|
61
63
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
62
64
|
CompletionDurationMinutes?: number | undefined;
|
|
65
|
+
DestinationAvailabilityZone?: string | undefined;
|
|
63
66
|
DryRun?: boolean | undefined;
|
|
64
67
|
}
|
|
65
68
|
export interface CopySnapshotResult {
|
|
@@ -1155,6 +1155,7 @@ export interface PropagatingVgw {
|
|
|
1155
1155
|
GatewayId?: string | undefined;
|
|
1156
1156
|
}
|
|
1157
1157
|
export declare const RouteOrigin: {
|
|
1158
|
+
readonly Advertisement: "Advertisement";
|
|
1158
1159
|
readonly CreateRoute: "CreateRoute";
|
|
1159
1160
|
readonly CreateRouteTable: "CreateRouteTable";
|
|
1160
1161
|
readonly EnableVgwRoutePropagation: "EnableVgwRoutePropagation";
|
|
@@ -1163,6 +1164,7 @@ export type RouteOrigin = (typeof RouteOrigin)[keyof typeof RouteOrigin];
|
|
|
1163
1164
|
export declare const RouteState: {
|
|
1164
1165
|
readonly active: "active";
|
|
1165
1166
|
readonly blackhole: "blackhole";
|
|
1167
|
+
readonly filtered: "filtered";
|
|
1166
1168
|
};
|
|
1167
1169
|
export type RouteState = (typeof RouteState)[keyof typeof RouteState];
|
|
1168
1170
|
export interface Route {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.879.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.879.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.879.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.876.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
28
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-sdk-ec2": "3.879.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.879.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
31
31
|
"@aws-sdk/types": "3.862.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.879.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.879.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.1.5",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.9.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.1.1",
|
|
38
38
|
"@smithy/hash-node": "^4.0.5",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.0.5",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.0.5",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
42
|
-
"@smithy/middleware-retry": "^4.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.1.19",
|
|
42
|
+
"@smithy/middleware-retry": "^4.1.20",
|
|
43
43
|
"@smithy/middleware-serde": "^4.0.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.0.5",
|
|
45
45
|
"@smithy/node-config-provider": "^4.1.4",
|
|
46
46
|
"@smithy/node-http-handler": "^4.1.1",
|
|
47
47
|
"@smithy/protocol-http": "^5.1.3",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.5.0",
|
|
49
49
|
"@smithy/types": "^4.3.2",
|
|
50
50
|
"@smithy/url-parser": "^4.0.5",
|
|
51
51
|
"@smithy/util-base64": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.0.27",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.0.27",
|
|
56
56
|
"@smithy/util-endpoints": "^3.0.7",
|
|
57
57
|
"@smithy/util-middleware": "^4.0.5",
|
|
58
58
|
"@smithy/util-retry": "^4.0.7",
|