@aws-sdk/client-ec2 3.931.0 → 3.933.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 +32 -0
- package/dist-cjs/index.js +379 -6
- package/dist-es/EC2.js +8 -0
- package/dist-es/commands/DescribeInstanceSqlHaHistoryStatesCommand.js +16 -0
- package/dist-es/commands/DescribeInstanceSqlHaStatesCommand.js +16 -0
- package/dist-es/commands/DisableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
- package/dist-es/commands/EnableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_4.js +10 -6
- package/dist-es/models/models_5.js +6 -0
- package/dist-es/models/models_6.js +0 -12
- package/dist-es/models/models_7.js +12 -11
- package/dist-es/models/models_8.js +11 -0
- package/dist-es/schemas/schemas_0.js +308 -3
- package/dist-types/EC2.d.ts +30 -0
- package/dist-types/EC2Client.d.ts +6 -2
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -0
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +106 -0
- package/dist-types/commands/DescribeInstanceSqlHaStatesCommand.d.ts +104 -0
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +95 -0
- package/dist-types/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +102 -0
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_1.d.ts +5 -0
- package/dist-types/models/models_4.d.ts +270 -257
- package/dist-types/models/models_5.d.ts +259 -258
- package/dist-types/models/models_6.d.ts +326 -163
- package/dist-types/models/models_7.d.ts +163 -339
- package/dist-types/models/models_8.d.ts +336 -1
- package/dist-types/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/EC2.d.ts +88 -0
- package/dist-types/ts3.4/EC2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeInstanceSqlHaStatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +46 -44
- package/dist-types/ts3.4/models/models_5.d.ts +44 -43
- package/dist-types/ts3.4/models/models_6.d.ts +62 -53
- package/dist-types/ts3.4/models/models_7.d.ts +52 -96
- package/dist-types/ts3.4/models/models_8.d.ts +91 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +6 -6
package/dist-es/EC2.js
CHANGED
|
@@ -312,6 +312,8 @@ import { DescribeInstanceEventNotificationAttributesCommand, } from "./commands/
|
|
|
312
312
|
import { DescribeInstanceEventWindowsCommand, } from "./commands/DescribeInstanceEventWindowsCommand";
|
|
313
313
|
import { DescribeInstanceImageMetadataCommand, } from "./commands/DescribeInstanceImageMetadataCommand";
|
|
314
314
|
import { DescribeInstancesCommand, } from "./commands/DescribeInstancesCommand";
|
|
315
|
+
import { DescribeInstanceSqlHaHistoryStatesCommand, } from "./commands/DescribeInstanceSqlHaHistoryStatesCommand";
|
|
316
|
+
import { DescribeInstanceSqlHaStatesCommand, } from "./commands/DescribeInstanceSqlHaStatesCommand";
|
|
315
317
|
import { DescribeInstanceStatusCommand, } from "./commands/DescribeInstanceStatusCommand";
|
|
316
318
|
import { DescribeInstanceTopologyCommand, } from "./commands/DescribeInstanceTopologyCommand";
|
|
317
319
|
import { DescribeInstanceTypeOfferingsCommand, } from "./commands/DescribeInstanceTypeOfferingsCommand";
|
|
@@ -442,6 +444,7 @@ import { DisableImageBlockPublicAccessCommand, } from "./commands/DisableImageBl
|
|
|
442
444
|
import { DisableImageCommand, } from "./commands/DisableImageCommand";
|
|
443
445
|
import { DisableImageDeprecationCommand, } from "./commands/DisableImageDeprecationCommand";
|
|
444
446
|
import { DisableImageDeregistrationProtectionCommand, } from "./commands/DisableImageDeregistrationProtectionCommand";
|
|
447
|
+
import { DisableInstanceSqlHaStandbyDetectionsCommand, } from "./commands/DisableInstanceSqlHaStandbyDetectionsCommand";
|
|
445
448
|
import { DisableIpamOrganizationAdminAccountCommand, } from "./commands/DisableIpamOrganizationAdminAccountCommand";
|
|
446
449
|
import { DisableRouteServerPropagationCommand, } from "./commands/DisableRouteServerPropagationCommand";
|
|
447
450
|
import { DisableSerialConsoleAccessCommand, } from "./commands/DisableSerialConsoleAccessCommand";
|
|
@@ -479,6 +482,7 @@ import { EnableImageBlockPublicAccessCommand, } from "./commands/EnableImageBloc
|
|
|
479
482
|
import { EnableImageCommand } from "./commands/EnableImageCommand";
|
|
480
483
|
import { EnableImageDeprecationCommand, } from "./commands/EnableImageDeprecationCommand";
|
|
481
484
|
import { EnableImageDeregistrationProtectionCommand, } from "./commands/EnableImageDeregistrationProtectionCommand";
|
|
485
|
+
import { EnableInstanceSqlHaStandbyDetectionsCommand, } from "./commands/EnableInstanceSqlHaStandbyDetectionsCommand";
|
|
482
486
|
import { EnableIpamOrganizationAdminAccountCommand, } from "./commands/EnableIpamOrganizationAdminAccountCommand";
|
|
483
487
|
import { EnableReachabilityAnalyzerOrganizationSharingCommand, } from "./commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
484
488
|
import { EnableRouteServerPropagationCommand, } from "./commands/EnableRouteServerPropagationCommand";
|
|
@@ -1031,6 +1035,8 @@ const commands = {
|
|
|
1031
1035
|
DescribeInstanceEventWindowsCommand,
|
|
1032
1036
|
DescribeInstanceImageMetadataCommand,
|
|
1033
1037
|
DescribeInstancesCommand,
|
|
1038
|
+
DescribeInstanceSqlHaHistoryStatesCommand,
|
|
1039
|
+
DescribeInstanceSqlHaStatesCommand,
|
|
1034
1040
|
DescribeInstanceStatusCommand,
|
|
1035
1041
|
DescribeInstanceTopologyCommand,
|
|
1036
1042
|
DescribeInstanceTypeOfferingsCommand,
|
|
@@ -1161,6 +1167,7 @@ const commands = {
|
|
|
1161
1167
|
DisableImageBlockPublicAccessCommand,
|
|
1162
1168
|
DisableImageDeprecationCommand,
|
|
1163
1169
|
DisableImageDeregistrationProtectionCommand,
|
|
1170
|
+
DisableInstanceSqlHaStandbyDetectionsCommand,
|
|
1164
1171
|
DisableIpamOrganizationAdminAccountCommand,
|
|
1165
1172
|
DisableRouteServerPropagationCommand,
|
|
1166
1173
|
DisableSerialConsoleAccessCommand,
|
|
@@ -1198,6 +1205,7 @@ const commands = {
|
|
|
1198
1205
|
EnableImageBlockPublicAccessCommand,
|
|
1199
1206
|
EnableImageDeprecationCommand,
|
|
1200
1207
|
EnableImageDeregistrationProtectionCommand,
|
|
1208
|
+
EnableInstanceSqlHaStandbyDetectionsCommand,
|
|
1201
1209
|
EnableIpamOrganizationAdminAccountCommand,
|
|
1202
1210
|
EnableReachabilityAnalyzerOrganizationSharingCommand,
|
|
1203
1211
|
EnableRouteServerPropagationCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeInstanceSqlHaHistoryStates } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeInstanceSqlHaHistoryStatesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonEC2", "DescribeInstanceSqlHaHistoryStates", {})
|
|
13
|
+
.n("EC2Client", "DescribeInstanceSqlHaHistoryStatesCommand")
|
|
14
|
+
.sc(DescribeInstanceSqlHaHistoryStates)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeInstanceSqlHaStates } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeInstanceSqlHaStatesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonEC2", "DescribeInstanceSqlHaStates", {})
|
|
13
|
+
.n("EC2Client", "DescribeInstanceSqlHaStatesCommand")
|
|
14
|
+
.sc(DescribeInstanceSqlHaStates)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DisableInstanceSqlHaStandbyDetections } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DisableInstanceSqlHaStandbyDetectionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonEC2", "DisableInstanceSqlHaStandbyDetections", {})
|
|
13
|
+
.n("EC2Client", "DisableInstanceSqlHaStandbyDetectionsCommand")
|
|
14
|
+
.sc(DisableInstanceSqlHaStandbyDetections)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { EnableInstanceSqlHaStandbyDetections } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class EnableInstanceSqlHaStandbyDetectionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonEC2", "EnableInstanceSqlHaStandbyDetections", {})
|
|
13
|
+
.n("EC2Client", "EnableInstanceSqlHaStandbyDetectionsCommand")
|
|
14
|
+
.sc(EnableInstanceSqlHaStandbyDetections)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -310,6 +310,8 @@ export * from "./DescribeInstanceCreditSpecificationsCommand";
|
|
|
310
310
|
export * from "./DescribeInstanceEventNotificationAttributesCommand";
|
|
311
311
|
export * from "./DescribeInstanceEventWindowsCommand";
|
|
312
312
|
export * from "./DescribeInstanceImageMetadataCommand";
|
|
313
|
+
export * from "./DescribeInstanceSqlHaHistoryStatesCommand";
|
|
314
|
+
export * from "./DescribeInstanceSqlHaStatesCommand";
|
|
313
315
|
export * from "./DescribeInstanceStatusCommand";
|
|
314
316
|
export * from "./DescribeInstanceTopologyCommand";
|
|
315
317
|
export * from "./DescribeInstanceTypeOfferingsCommand";
|
|
@@ -441,6 +443,7 @@ export * from "./DisableImageBlockPublicAccessCommand";
|
|
|
441
443
|
export * from "./DisableImageCommand";
|
|
442
444
|
export * from "./DisableImageDeprecationCommand";
|
|
443
445
|
export * from "./DisableImageDeregistrationProtectionCommand";
|
|
446
|
+
export * from "./DisableInstanceSqlHaStandbyDetectionsCommand";
|
|
444
447
|
export * from "./DisableIpamOrganizationAdminAccountCommand";
|
|
445
448
|
export * from "./DisableRouteServerPropagationCommand";
|
|
446
449
|
export * from "./DisableSerialConsoleAccessCommand";
|
|
@@ -478,6 +481,7 @@ export * from "./EnableImageBlockPublicAccessCommand";
|
|
|
478
481
|
export * from "./EnableImageCommand";
|
|
479
482
|
export * from "./EnableImageDeprecationCommand";
|
|
480
483
|
export * from "./EnableImageDeregistrationProtectionCommand";
|
|
484
|
+
export * from "./EnableInstanceSqlHaStandbyDetectionsCommand";
|
|
481
485
|
export * from "./EnableIpamOrganizationAdminAccountCommand";
|
|
482
486
|
export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
483
487
|
export * from "./EnableRouteServerPropagationCommand";
|
|
@@ -291,6 +291,16 @@ export const MonitoringState = {
|
|
|
291
291
|
enabled: "enabled",
|
|
292
292
|
pending: "pending",
|
|
293
293
|
};
|
|
294
|
+
export const HaStatus = {
|
|
295
|
+
active: "active",
|
|
296
|
+
invalid: "invalid",
|
|
297
|
+
processing: "processing",
|
|
298
|
+
standby: "standby",
|
|
299
|
+
};
|
|
300
|
+
export const SqlServerLicenseUsage = {
|
|
301
|
+
full: "full",
|
|
302
|
+
waived: "waived",
|
|
303
|
+
};
|
|
294
304
|
export const StatusName = {
|
|
295
305
|
reachability: "reachability",
|
|
296
306
|
};
|
|
@@ -314,9 +324,3 @@ export const EventCode = {
|
|
|
314
324
|
system_maintenance: "system-maintenance",
|
|
315
325
|
system_reboot: "system-reboot",
|
|
316
326
|
};
|
|
317
|
-
export const LocationType = {
|
|
318
|
-
availability_zone: "availability-zone",
|
|
319
|
-
availability_zone_id: "availability-zone-id",
|
|
320
|
-
outpost: "outpost",
|
|
321
|
-
region: "region",
|
|
322
|
-
};
|
|
@@ -185,15 +185,3 @@ export const CapacityTenancy = {
|
|
|
185
185
|
DEDICATED: "dedicated",
|
|
186
186
|
DEFAULT: "default",
|
|
187
187
|
};
|
|
188
|
-
export const UnlimitedSupportedInstanceFamily = {
|
|
189
|
-
t2: "t2",
|
|
190
|
-
t3: "t3",
|
|
191
|
-
t3a: "t3a",
|
|
192
|
-
t4g: "t4g",
|
|
193
|
-
};
|
|
194
|
-
export const PartitionLoadFrequency = {
|
|
195
|
-
DAILY: "daily",
|
|
196
|
-
MONTHLY: "monthly",
|
|
197
|
-
NONE: "none",
|
|
198
|
-
WEEKLY: "weekly",
|
|
199
|
-
};
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
export const UnlimitedSupportedInstanceFamily = {
|
|
2
|
+
t2: "t2",
|
|
3
|
+
t3: "t3",
|
|
4
|
+
t3a: "t3a",
|
|
5
|
+
t4g: "t4g",
|
|
6
|
+
};
|
|
7
|
+
export const PartitionLoadFrequency = {
|
|
8
|
+
DAILY: "daily",
|
|
9
|
+
MONTHLY: "monthly",
|
|
10
|
+
NONE: "none",
|
|
11
|
+
WEEKLY: "weekly",
|
|
12
|
+
};
|
|
1
13
|
export const EkPubKeyFormat = {
|
|
2
14
|
der: "der",
|
|
3
15
|
tpmt: "tpmt",
|
|
@@ -120,14 +132,3 @@ export const PublicIpDnsOption = {
|
|
|
120
132
|
export const TargetStorageTier = {
|
|
121
133
|
archive: "archive",
|
|
122
134
|
};
|
|
123
|
-
export const TrafficMirrorFilterRuleField = {
|
|
124
|
-
description: "description",
|
|
125
|
-
destination_port_range: "destination-port-range",
|
|
126
|
-
protocol: "protocol",
|
|
127
|
-
source_port_range: "source-port-range",
|
|
128
|
-
};
|
|
129
|
-
export const TrafficMirrorSessionField = {
|
|
130
|
-
description: "description",
|
|
131
|
-
packet_length: "packet-length",
|
|
132
|
-
virtual_network_id: "virtual-network-id",
|
|
133
|
-
};
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
export const TrafficMirrorFilterRuleField = {
|
|
2
|
+
description: "description",
|
|
3
|
+
destination_port_range: "destination-port-range",
|
|
4
|
+
protocol: "protocol",
|
|
5
|
+
source_port_range: "source-port-range",
|
|
6
|
+
};
|
|
7
|
+
export const TrafficMirrorSessionField = {
|
|
8
|
+
description: "description",
|
|
9
|
+
packet_length: "packet-length",
|
|
10
|
+
virtual_network_id: "virtual-network-id",
|
|
11
|
+
};
|
|
1
12
|
export const VpcTenancy = {
|
|
2
13
|
default: "default",
|
|
3
14
|
};
|