@aws-sdk/client-ec2 3.668.0 → 3.669.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 +40 -0
- package/dist-cjs/index.js +1375 -975
- package/dist-es/EC2.js +10 -0
- package/dist-es/commands/AcceptCapacityReservationBillingOwnershipCommand.js +22 -0
- package/dist-es/commands/AssociateCapacityReservationBillingOwnerCommand.js +22 -0
- package/dist-es/commands/DescribeCapacityReservationBillingRequestsCommand.js +22 -0
- package/dist-es/commands/DisassociateCapacityReservationBillingOwnerCommand.js +22 -0
- package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
- package/dist-es/commands/RejectCapacityReservationBillingOwnershipCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +0 -833
- package/dist-es/models/models_1.js +833 -0
- package/dist-es/models/models_2.js +0 -8
- package/dist-es/models/models_3.js +20 -28
- package/dist-es/models/models_4.js +28 -4
- package/dist-es/models/models_5.js +4 -1
- package/dist-es/models/models_6.js +0 -3
- package/dist-es/models/models_7.js +3 -0
- package/dist-es/pagination/DescribeCapacityReservationBillingRequestsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -1
- package/dist-es/protocols/Aws_ec2.js +324 -28
- package/dist-types/EC2.d.ts +35 -0
- package/dist-types/EC2Client.d.ts +7 -2
- package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +74 -0
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -6
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -1
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -7
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcCommand.d.ts +1 -7
- package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -2
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
- package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +74 -0
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +61 -930
- package/dist-types/models/models_1.d.ts +955 -184
- package/dist-types/models/models_2.d.ts +131 -82
- package/dist-types/models/models_3.d.ts +259 -468
- package/dist-types/models/models_4.d.ts +1303 -1319
- package/dist-types/models/models_5.d.ts +516 -262
- package/dist-types/models/models_6.d.ts +269 -253
- package/dist-types/models/models_7.d.ts +280 -10
- package/dist-types/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -1
- package/dist-types/protocols/Aws_ec2.d.ts +45 -0
- package/dist-types/ts3.4/EC2.d.ts +115 -0
- package/dist-types/ts3.4/EC2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -850
- package/dist-types/ts3.4/models/models_1.d.ts +851 -32
- package/dist-types/ts3.4/models/models_2.d.ts +30 -25
- package/dist-types/ts3.4/models/models_3.d.ts +68 -83
- package/dist-types/ts3.4/models/models_4.d.ts +80 -99
- package/dist-types/ts3.4/models/models_5.d.ts +101 -67
- package/dist-types/ts3.4/models/models_6.d.ts +66 -64
- package/dist-types/ts3.4/models/models_7.d.ts +73 -8
- package/dist-types/ts3.4/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
- package/package.json +6 -6
|
@@ -336,14 +336,6 @@ export const DeleteFleetErrorCode = {
|
|
|
336
336
|
FLEET_NOT_IN_DELETABLE_STATE: "fleetNotInDeletableState",
|
|
337
337
|
UNEXPECTED_ERROR: "unexpectedError",
|
|
338
338
|
};
|
|
339
|
-
export const LaunchTemplateErrorCode = {
|
|
340
|
-
LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: "launchTemplateIdDoesNotExist",
|
|
341
|
-
LAUNCH_TEMPLATE_ID_MALFORMED: "launchTemplateIdMalformed",
|
|
342
|
-
LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: "launchTemplateNameDoesNotExist",
|
|
343
|
-
LAUNCH_TEMPLATE_NAME_MALFORMED: "launchTemplateNameMalformed",
|
|
344
|
-
LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: "launchTemplateVersionDoesNotExist",
|
|
345
|
-
UNEXPECTED_ERROR: "unexpectedError",
|
|
346
|
-
};
|
|
347
339
|
export const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = (obj) => ({
|
|
348
340
|
...obj,
|
|
349
341
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { BundleTaskFilterSensitiveLog, VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const LaunchTemplateErrorCode = {
|
|
4
|
+
LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: "launchTemplateIdDoesNotExist",
|
|
5
|
+
LAUNCH_TEMPLATE_ID_MALFORMED: "launchTemplateIdMalformed",
|
|
6
|
+
LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: "launchTemplateNameDoesNotExist",
|
|
7
|
+
LAUNCH_TEMPLATE_NAME_MALFORMED: "launchTemplateNameMalformed",
|
|
8
|
+
LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: "launchTemplateVersionDoesNotExist",
|
|
9
|
+
UNEXPECTED_ERROR: "unexpectedError",
|
|
10
|
+
};
|
|
3
11
|
export const DeleteQueuedReservedInstancesErrorCode = {
|
|
4
12
|
RESERVED_INSTANCES_ID_INVALID: "reserved-instances-id-invalid",
|
|
5
13
|
RESERVED_INSTANCES_NOT_IN_QUEUED_STATE: "reserved-instances-not-in-queued-state",
|
|
@@ -53,6 +61,18 @@ export const PeriodType = {
|
|
|
53
61
|
export const StatisticType = {
|
|
54
62
|
p50: "p50",
|
|
55
63
|
};
|
|
64
|
+
export const CallerRole = {
|
|
65
|
+
odcr_owner: "odcr-owner",
|
|
66
|
+
unused_reservation_billing_owner: "unused-reservation-billing-owner",
|
|
67
|
+
};
|
|
68
|
+
export const CapacityReservationBillingRequestStatus = {
|
|
69
|
+
accepted: "accepted",
|
|
70
|
+
cancelled: "cancelled",
|
|
71
|
+
expired: "expired",
|
|
72
|
+
pending: "pending",
|
|
73
|
+
rejected: "rejected",
|
|
74
|
+
revoked: "revoked",
|
|
75
|
+
};
|
|
56
76
|
export const ClientVpnConnectionStatusCode = {
|
|
57
77
|
active: "active",
|
|
58
78
|
failed_to_terminate: "failed-to-terminate",
|
|
@@ -156,34 +176,6 @@ export const ImageAttributeName = {
|
|
|
156
176
|
tpmSupport: "tpmSupport",
|
|
157
177
|
uefiData: "uefiData",
|
|
158
178
|
};
|
|
159
|
-
export const ArchitectureValues = {
|
|
160
|
-
arm64: "arm64",
|
|
161
|
-
arm64_mac: "arm64_mac",
|
|
162
|
-
i386: "i386",
|
|
163
|
-
x86_64: "x86_64",
|
|
164
|
-
x86_64_mac: "x86_64_mac",
|
|
165
|
-
};
|
|
166
|
-
export const BootModeValues = {
|
|
167
|
-
legacy_bios: "legacy-bios",
|
|
168
|
-
uefi: "uefi",
|
|
169
|
-
uefi_preferred: "uefi-preferred",
|
|
170
|
-
};
|
|
171
|
-
export const HypervisorType = {
|
|
172
|
-
ovm: "ovm",
|
|
173
|
-
xen: "xen",
|
|
174
|
-
};
|
|
175
|
-
export const ImageTypeValues = {
|
|
176
|
-
kernel: "kernel",
|
|
177
|
-
machine: "machine",
|
|
178
|
-
ramdisk: "ramdisk",
|
|
179
|
-
};
|
|
180
|
-
export const ImdsSupportValues = {
|
|
181
|
-
v2_0: "v2.0",
|
|
182
|
-
};
|
|
183
|
-
export const DeviceType = {
|
|
184
|
-
ebs: "ebs",
|
|
185
|
-
instance_store: "instance-store",
|
|
186
|
-
};
|
|
187
179
|
export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
188
180
|
...obj,
|
|
189
181
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const ArchitectureValues = {
|
|
4
|
+
arm64: "arm64",
|
|
5
|
+
arm64_mac: "arm64_mac",
|
|
6
|
+
i386: "i386",
|
|
7
|
+
x86_64: "x86_64",
|
|
8
|
+
x86_64_mac: "x86_64_mac",
|
|
9
|
+
};
|
|
10
|
+
export const BootModeValues = {
|
|
11
|
+
legacy_bios: "legacy-bios",
|
|
12
|
+
uefi: "uefi",
|
|
13
|
+
uefi_preferred: "uefi-preferred",
|
|
14
|
+
};
|
|
15
|
+
export const HypervisorType = {
|
|
16
|
+
ovm: "ovm",
|
|
17
|
+
xen: "xen",
|
|
18
|
+
};
|
|
19
|
+
export const ImageTypeValues = {
|
|
20
|
+
kernel: "kernel",
|
|
21
|
+
machine: "machine",
|
|
22
|
+
ramdisk: "ramdisk",
|
|
23
|
+
};
|
|
24
|
+
export const ImdsSupportValues = {
|
|
25
|
+
v2_0: "v2.0",
|
|
26
|
+
};
|
|
27
|
+
export const DeviceType = {
|
|
28
|
+
ebs: "ebs",
|
|
29
|
+
instance_store: "instance-store",
|
|
30
|
+
};
|
|
3
31
|
export const ImageState = {
|
|
4
32
|
available: "available",
|
|
5
33
|
deregistered: "deregistered",
|
|
@@ -305,7 +333,3 @@ export const DescribeLaunchTemplateVersionsResultFilterSensitiveLog = (obj) => (
|
|
|
305
333
|
LaunchTemplateVersions: obj.LaunchTemplateVersions.map((item) => LaunchTemplateVersionFilterSensitiveLog(item)),
|
|
306
334
|
}),
|
|
307
335
|
});
|
|
308
|
-
export const SpotFleetLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
309
|
-
...obj,
|
|
310
|
-
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
311
|
-
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
|
-
import { SpotFleetLaunchSpecificationFilterSensitiveLog, } from "./models_4";
|
|
5
4
|
export const OnDemandAllocationStrategy = {
|
|
6
5
|
LOWEST_PRICE: "lowestPrice",
|
|
7
6
|
PRIORITIZED: "prioritized",
|
|
@@ -79,6 +78,10 @@ export const PartitionLoadFrequency = {
|
|
|
79
78
|
NONE: "none",
|
|
80
79
|
WEEKLY: "weekly",
|
|
81
80
|
};
|
|
81
|
+
export const SpotFleetLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
82
|
+
...obj,
|
|
83
|
+
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
84
|
+
});
|
|
82
85
|
export const SpotFleetRequestConfigDataFilterSensitiveLog = (obj) => ({
|
|
83
86
|
...obj,
|
|
84
87
|
...(obj.LaunchSpecifications && {
|
|
@@ -131,9 +131,6 @@ export const TrafficMirrorSessionField = {
|
|
|
131
131
|
packet_length: "packet-length",
|
|
132
132
|
virtual_network_id: "virtual-network-id",
|
|
133
133
|
};
|
|
134
|
-
export const VpcTenancy = {
|
|
135
|
-
default: "default",
|
|
136
|
-
};
|
|
137
134
|
export const GetInstanceTpmEkPubResultFilterSensitiveLog = (obj) => ({
|
|
138
135
|
...obj,
|
|
139
136
|
...(obj.KeyValue && { KeyValue: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
3
3
|
import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
|
|
4
|
+
export const VpcTenancy = {
|
|
5
|
+
default: "default",
|
|
6
|
+
};
|
|
4
7
|
export const Status = {
|
|
5
8
|
inClassic: "InClassic",
|
|
6
9
|
inVpc: "InVpc",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { DescribeCapacityReservationBillingRequestsCommand, } from "../commands/DescribeCapacityReservationBillingRequestsCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
export const paginateDescribeCapacityReservationBillingRequests = createPaginator(EC2Client, DescribeCapacityReservationBillingRequestsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -3,12 +3,13 @@ export * from "./DescribeAddressesAttributePaginator";
|
|
|
3
3
|
export * from "./DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator";
|
|
4
4
|
export * from "./DescribeByoipCidrsPaginator";
|
|
5
5
|
export * from "./DescribeCapacityBlockOfferingsPaginator";
|
|
6
|
+
export * from "./DescribeCapacityReservationBillingRequestsPaginator";
|
|
6
7
|
export * from "./DescribeCapacityReservationFleetsPaginator";
|
|
7
8
|
export * from "./DescribeCapacityReservationsPaginator";
|
|
8
9
|
export * from "./DescribeCarrierGatewaysPaginator";
|
|
9
10
|
export * from "./DescribeClassicLinkInstancesPaginator";
|
|
10
|
-
export * from "./DescribeClientVpnAuthorizationRulesPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./DescribeClientVpnAuthorizationRulesPaginator";
|
|
12
13
|
export * from "./DescribeClientVpnConnectionsPaginator";
|
|
13
14
|
export * from "./DescribeClientVpnEndpointsPaginator";
|
|
14
15
|
export * from "./DescribeClientVpnRoutesPaginator";
|