@aws-sdk/client-ec2 3.392.0 → 3.395.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/EC2Client.js +4 -2
- package/dist-cjs/clientConfiguration.js +2 -0
- package/dist-cjs/models/models_3.js +1 -6
- package/dist-cjs/models/models_4.js +5 -5
- package/dist-cjs/models/models_5.js +5 -1
- package/dist-cjs/protocols/Aws_ec2.js +48 -0
- package/dist-cjs/runtimeConfig.shared.js +1 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/EC2Client.js +4 -2
- package/dist-es/clientConfiguration.js +1 -0
- package/dist-es/models/models_3.js +0 -4
- package/dist-es/models/models_4.js +4 -4
- package/dist-es/models/models_5.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +48 -0
- package/dist-es/runtimeConfig.shared.js +1 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/EC2Client.d.ts +6 -1
- package/dist-types/clientConfiguration.d.ts +6 -0
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +7 -0
- package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +7 -0
- package/dist-types/models/models_2.d.ts +37 -19
- package/dist-types/models/models_3.d.ts +17 -13
- package/dist-types/models/models_4.d.ts +13 -13
- package/dist-types/models/models_5.d.ts +13 -11
- package/dist-types/models/models_6.d.ts +19 -21
- package/dist-types/models/models_7.d.ts +17 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -0
- package/dist-types/ts3.4/clientConfiguration.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_2.d.ts +6 -4
- package/dist-types/ts3.4/models/models_3.d.ts +5 -7
- package/dist-types/ts3.4/models/models_4.d.ts +6 -7
- package/dist-types/ts3.4/models/models_5.d.ts +7 -8
- package/dist-types/ts3.4/models/models_6.d.ts +5 -4
- package/dist-types/ts3.4/models/models_7.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +3 -3
package/dist-cjs/EC2Client.js
CHANGED
|
@@ -14,6 +14,7 @@ const smithy_client_1 = require("@smithy/smithy-client");
|
|
|
14
14
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
16
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
17
|
+
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
17
18
|
class EC2Client extends smithy_client_1.Client {
|
|
18
19
|
constructor(...[configuration]) {
|
|
19
20
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
@@ -24,8 +25,9 @@ class EC2Client extends smithy_client_1.Client {
|
|
|
24
25
|
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
25
26
|
const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
|
|
26
27
|
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
29
|
+
super(_config_8);
|
|
30
|
+
this.config = _config_8;
|
|
29
31
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
30
32
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
31
33
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImportSnapshotTaskFilterSensitiveLog = exports.SnapshotTaskDetailFilterSensitiveLog = exports.DescribeImportImageTasksResultFilterSensitiveLog = exports.ImportImageTaskFilterSensitiveLog = exports.SnapshotDetailFilterSensitiveLog = exports.DescribeConversionTasksResultFilterSensitiveLog = exports.ConversionTaskFilterSensitiveLog = exports.ImportVolumeTaskDetailsFilterSensitiveLog = exports.ImportInstanceTaskDetailsFilterSensitiveLog = exports.ImportInstanceVolumeDetailItemFilterSensitiveLog = exports.DiskImageDescriptionFilterSensitiveLog = exports.DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.
|
|
4
|
-
exports.DescribeImportSnapshotTasksResultFilterSensitiveLog = void 0;
|
|
3
|
+
exports.DescribeImportSnapshotTasksResultFilterSensitiveLog = exports.ImportSnapshotTaskFilterSensitiveLog = exports.SnapshotTaskDetailFilterSensitiveLog = exports.DescribeImportImageTasksResultFilterSensitiveLog = exports.ImportImageTaskFilterSensitiveLog = exports.SnapshotDetailFilterSensitiveLog = exports.DescribeConversionTasksResultFilterSensitiveLog = exports.ConversionTaskFilterSensitiveLog = exports.ImportVolumeTaskDetailsFilterSensitiveLog = exports.ImportInstanceTaskDetailsFilterSensitiveLog = exports.ImportInstanceVolumeDetailItemFilterSensitiveLog = exports.DiskImageDescriptionFilterSensitiveLog = exports.DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.InstanceBootModeValues = exports.InstanceAttributeName = exports.VirtualizationType = exports.TpmSupportValues = exports.ImageState = exports.DeviceType = exports.ImdsSupportValues = exports.ImageTypeValues = exports.HypervisorType = exports.BootModeValues = exports.ArchitectureValues = exports.ImageAttributeName = exports.ReservationState = exports.PaymentOption = exports.FpgaImageStateCode = exports.ProductCodeValues = exports.PermissionGroup = exports.FpgaImageAttributeName = exports.FleetActivityStatus = exports.FleetEventType = exports.FastSnapshotRestoreStateCode = exports.FastLaunchStateCode = exports.FastLaunchResourceType = exports.ElasticGpuState = exports.ElasticGpuStatus = exports.ConversionTaskState = exports.VpnProtocol = exports.ClientVpnEndpointAttributeStatusCode = exports.AssociatedNetworkType = exports.ClientVpnConnectionStatusCode = exports.StatisticType = exports.PeriodType = exports.MetricType = exports.AvailabilityZoneState = exports.AvailabilityZoneOptInStatus = exports.IpamPoolCidrState = exports.IpamPoolCidrFailureCode = void 0;
|
|
5
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
5
|
const models_0_1 = require("./models_0");
|
|
7
6
|
exports.IpamPoolCidrFailureCode = {
|
|
@@ -211,10 +210,6 @@ exports.InstanceBootModeValues = {
|
|
|
211
210
|
legacy_bios: "legacy-bios",
|
|
212
211
|
uefi: "uefi",
|
|
213
212
|
};
|
|
214
|
-
exports.InstanceLifecycleType = {
|
|
215
|
-
scheduled: "scheduled",
|
|
216
|
-
spot: "spot",
|
|
217
|
-
};
|
|
218
213
|
const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
219
214
|
...obj,
|
|
220
215
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SpotFleetRequestConfigDataFilterSensitiveLog = exports.SpotFleetLaunchSpecificationFilterSensitiveLog = exports.DescribeLaunchTemplateVersionsResultFilterSensitiveLog = exports.
|
|
3
|
+
exports.SpotFleetRequestConfigDataFilterSensitiveLog = exports.SpotFleetLaunchSpecificationFilterSensitiveLog = exports.DescribeLaunchTemplateVersionsResultFilterSensitiveLog = exports.SpotInstanceState = exports.ReplacementStrategy = exports.OnDemandAllocationStrategy = exports.ExcessCapacityTerminationPolicy = exports.EventType = exports.TieringOperationStatus = exports.SnapshotAttributeName = exports.ReservedInstanceState = exports.Scope = exports.RecurringChargeFrequency = exports.RIProductDescription = exports.OfferingTypeValues = exports.OfferingClassType = exports.NetworkInterfaceAttribute = exports.AnalysisStatus = exports.FindingsFound = exports.MoveStatus = exports.UsageClassType = exports.RootDeviceType = exports.BootModeType = exports.SupportedAdditionalProcessorFeature = exports.ArchitectureType = exports.PlacementGroupStrategy = exports.NitroTpmSupport = exports.NitroEnclavesSupport = exports.EnaSupport = exports.EphemeralNvmeSupport = exports.InstanceStorageEncryptionSupport = exports.DiskType = exports.InstanceTypeHypervisor = exports.EbsNvmeSupport = exports.EbsEncryptionSupport = exports.EbsOptimizedSupport = exports.LocationType = exports.SummaryStatus = exports.StatusType = exports.StatusName = exports.EventCode = exports.InstanceStateName = exports.MonitoringState = exports.InstanceMetadataOptionsState = exports.InstanceMetadataTagsState = exports.HttpTokensState = exports.InstanceMetadataProtocolState = exports.InstanceMetadataEndpointState = exports.InstanceAutoRecoveryState = exports.InstanceLifecycleType = void 0;
|
|
4
4
|
exports.DescribeSpotInstanceRequestsResultFilterSensitiveLog = exports.SpotInstanceRequestFilterSensitiveLog = exports.LaunchSpecificationFilterSensitiveLog = exports.DescribeSpotFleetRequestsResponseFilterSensitiveLog = exports.SpotFleetRequestConfigFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const models_1_1 = require("./models_1");
|
|
7
|
+
exports.InstanceLifecycleType = {
|
|
8
|
+
scheduled: "scheduled",
|
|
9
|
+
spot: "spot",
|
|
10
|
+
};
|
|
7
11
|
exports.InstanceAutoRecoveryState = {
|
|
8
12
|
default: "default",
|
|
9
13
|
disabled: "disabled",
|
|
@@ -235,10 +239,6 @@ exports.SpotInstanceState = {
|
|
|
235
239
|
failed: "failed",
|
|
236
240
|
open: "open",
|
|
237
241
|
};
|
|
238
|
-
exports.VerifiedAccessLogDeliveryStatusCode = {
|
|
239
|
-
FAILED: "failed",
|
|
240
|
-
SUCCESS: "success",
|
|
241
|
-
};
|
|
242
242
|
const DescribeLaunchTemplateVersionsResultFilterSensitiveLog = (obj) => ({
|
|
243
243
|
...obj,
|
|
244
244
|
...(obj.LaunchTemplateVersions && {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = exports.GetLaunchTemplateDataResultFilterSensitiveLog = exports.DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.DescribeVpnConnectionsResultFilterSensitiveLog = exports.DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = exports.IpamManagementState = exports.IpamResourceType = exports.IpamDiscoveryFailureCode = exports.IpamAddressHistoryResourceType = exports.IpamOverlapStatus = exports.IpamComplianceStatus = exports.PartitionLoadFrequency = exports.UnlimitedSupportedInstanceFamily = exports.ClientCertificateRevocationListStatusCode = exports.TransitGatewayPropagationState = exports.VpcAttributeName = exports.VolumeStatusInfoStatus = exports.VolumeStatusName = exports.VolumeModificationState = exports.VolumeAttributeName = void 0;
|
|
3
|
+
exports.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = exports.GetLaunchTemplateDataResultFilterSensitiveLog = exports.DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.DescribeVpnConnectionsResultFilterSensitiveLog = exports.DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = exports.IpamManagementState = exports.IpamResourceType = exports.IpamDiscoveryFailureCode = exports.IpamAddressHistoryResourceType = exports.IpamOverlapStatus = exports.IpamComplianceStatus = exports.PartitionLoadFrequency = exports.UnlimitedSupportedInstanceFamily = exports.ClientCertificateRevocationListStatusCode = exports.TransitGatewayPropagationState = exports.VpcAttributeName = exports.VolumeStatusInfoStatus = exports.VolumeStatusName = exports.VolumeModificationState = exports.VolumeAttributeName = exports.VerifiedAccessLogDeliveryStatusCode = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const models_1_1 = require("./models_1");
|
|
7
7
|
const models_2_1 = require("./models_2");
|
|
8
|
+
exports.VerifiedAccessLogDeliveryStatusCode = {
|
|
9
|
+
FAILED: "failed",
|
|
10
|
+
SUCCESS: "success",
|
|
11
|
+
};
|
|
8
12
|
exports.VolumeAttributeName = {
|
|
9
13
|
autoEnableIO: "autoEnableIO",
|
|
10
14
|
productCodes: "productCodes",
|
|
@@ -27152,6 +27152,16 @@ const se_CreateVpcEndpointRequest = (input, context) => {
|
|
|
27152
27152
|
entries[loc] = value;
|
|
27153
27153
|
});
|
|
27154
27154
|
}
|
|
27155
|
+
if (input.SubnetConfigurations != null) {
|
|
27156
|
+
const memberEntries = se_SubnetConfigurationsList(input.SubnetConfigurations, context);
|
|
27157
|
+
if (input.SubnetConfigurations?.length === 0) {
|
|
27158
|
+
entries.SubnetConfiguration = [];
|
|
27159
|
+
}
|
|
27160
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
27161
|
+
const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`;
|
|
27162
|
+
entries[loc] = value;
|
|
27163
|
+
});
|
|
27164
|
+
}
|
|
27155
27165
|
return entries;
|
|
27156
27166
|
};
|
|
27157
27167
|
const se_CreateVpcEndpointServiceConfigurationRequest = (input, context) => {
|
|
@@ -39322,6 +39332,16 @@ const se_ModifyVpcEndpointRequest = (input, context) => {
|
|
|
39322
39332
|
if (input.PrivateDnsEnabled != null) {
|
|
39323
39333
|
entries["PrivateDnsEnabled"] = input.PrivateDnsEnabled;
|
|
39324
39334
|
}
|
|
39335
|
+
if (input.SubnetConfigurations != null) {
|
|
39336
|
+
const memberEntries = se_SubnetConfigurationsList(input.SubnetConfigurations, context);
|
|
39337
|
+
if (input.SubnetConfigurations?.length === 0) {
|
|
39338
|
+
entries.SubnetConfiguration = [];
|
|
39339
|
+
}
|
|
39340
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
39341
|
+
const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`;
|
|
39342
|
+
entries[loc] = value;
|
|
39343
|
+
});
|
|
39344
|
+
}
|
|
39325
39345
|
return entries;
|
|
39326
39346
|
};
|
|
39327
39347
|
const se_ModifyVpcEndpointServiceConfigurationRequest = (input, context) => {
|
|
@@ -43622,6 +43642,34 @@ const se_StorageLocation = (input, context) => {
|
|
|
43622
43642
|
}
|
|
43623
43643
|
return entries;
|
|
43624
43644
|
};
|
|
43645
|
+
const se_SubnetConfiguration = (input, context) => {
|
|
43646
|
+
const entries = {};
|
|
43647
|
+
if (input.SubnetId != null) {
|
|
43648
|
+
entries["SubnetId"] = input.SubnetId;
|
|
43649
|
+
}
|
|
43650
|
+
if (input.Ipv4 != null) {
|
|
43651
|
+
entries["Ipv4"] = input.Ipv4;
|
|
43652
|
+
}
|
|
43653
|
+
if (input.Ipv6 != null) {
|
|
43654
|
+
entries["Ipv6"] = input.Ipv6;
|
|
43655
|
+
}
|
|
43656
|
+
return entries;
|
|
43657
|
+
};
|
|
43658
|
+
const se_SubnetConfigurationsList = (input, context) => {
|
|
43659
|
+
const entries = {};
|
|
43660
|
+
let counter = 1;
|
|
43661
|
+
for (const entry of input) {
|
|
43662
|
+
if (entry === null) {
|
|
43663
|
+
continue;
|
|
43664
|
+
}
|
|
43665
|
+
const memberEntries = se_SubnetConfiguration(entry, context);
|
|
43666
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
43667
|
+
entries[`Item.${counter}.${key}`] = value;
|
|
43668
|
+
});
|
|
43669
|
+
counter++;
|
|
43670
|
+
}
|
|
43671
|
+
return entries;
|
|
43672
|
+
};
|
|
43625
43673
|
const se_SubnetIdStringList = (input, context) => {
|
|
43626
43674
|
const entries = {};
|
|
43627
43675
|
let counter = 1;
|
|
@@ -12,6 +12,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
12
12
|
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
13
13
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
14
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
15
|
+
extensions: config?.extensions ?? [],
|
|
15
16
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
16
17
|
serviceId: config?.serviceId ?? "EC2",
|
|
17
18
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const types_1 = require("@smithy/types");
|
|
5
|
+
const asPartial = (t) => t;
|
|
6
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
+
const clientConfiguration = {
|
|
8
|
+
...asPartial((0, types_1.getDefaultClientConfiguration)(runtimeConfig)),
|
|
9
|
+
};
|
|
10
|
+
extensions.forEach((extension) => extension.configureClient(clientConfiguration));
|
|
11
|
+
return {
|
|
12
|
+
...runtimeConfig,
|
|
13
|
+
...(0, types_1.resolveDefaultRuntimeConfig)(clientConfiguration),
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
package/dist-es/EC2Client.js
CHANGED
|
@@ -10,6 +10,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
|
10
10
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
13
14
|
export { __Client };
|
|
14
15
|
export class EC2Client extends __Client {
|
|
15
16
|
constructor(...[configuration]) {
|
|
@@ -21,8 +22,9 @@ export class EC2Client extends __Client {
|
|
|
21
22
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
22
23
|
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
23
24
|
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
26
|
+
super(_config_8);
|
|
27
|
+
this.config = _config_8;
|
|
26
28
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
27
29
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
28
30
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -207,10 +207,6 @@ export const InstanceBootModeValues = {
|
|
|
207
207
|
legacy_bios: "legacy-bios",
|
|
208
208
|
uefi: "uefi",
|
|
209
209
|
};
|
|
210
|
-
export const InstanceLifecycleType = {
|
|
211
|
-
scheduled: "scheduled",
|
|
212
|
-
spot: "spot",
|
|
213
|
-
};
|
|
214
210
|
export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
215
211
|
...obj,
|
|
216
212
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const InstanceLifecycleType = {
|
|
4
|
+
scheduled: "scheduled",
|
|
5
|
+
spot: "spot",
|
|
6
|
+
};
|
|
3
7
|
export const InstanceAutoRecoveryState = {
|
|
4
8
|
default: "default",
|
|
5
9
|
disabled: "disabled",
|
|
@@ -231,10 +235,6 @@ export const SpotInstanceState = {
|
|
|
231
235
|
failed: "failed",
|
|
232
236
|
open: "open",
|
|
233
237
|
};
|
|
234
|
-
export const VerifiedAccessLogDeliveryStatusCode = {
|
|
235
|
-
FAILED: "failed",
|
|
236
|
-
SUCCESS: "success",
|
|
237
|
-
};
|
|
238
238
|
export const DescribeLaunchTemplateVersionsResultFilterSensitiveLog = (obj) => ({
|
|
239
239
|
...obj,
|
|
240
240
|
...(obj.LaunchTemplateVersions && {
|
|
@@ -2,6 +2,10 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
|
|
4
4
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
5
|
+
export const VerifiedAccessLogDeliveryStatusCode = {
|
|
6
|
+
FAILED: "failed",
|
|
7
|
+
SUCCESS: "success",
|
|
8
|
+
};
|
|
5
9
|
export const VolumeAttributeName = {
|
|
6
10
|
autoEnableIO: "autoEnableIO",
|
|
7
11
|
productCodes: "productCodes",
|
|
@@ -25938,6 +25938,16 @@ const se_CreateVpcEndpointRequest = (input, context) => {
|
|
|
25938
25938
|
entries[loc] = value;
|
|
25939
25939
|
});
|
|
25940
25940
|
}
|
|
25941
|
+
if (input.SubnetConfigurations != null) {
|
|
25942
|
+
const memberEntries = se_SubnetConfigurationsList(input.SubnetConfigurations, context);
|
|
25943
|
+
if (input.SubnetConfigurations?.length === 0) {
|
|
25944
|
+
entries.SubnetConfiguration = [];
|
|
25945
|
+
}
|
|
25946
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
25947
|
+
const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`;
|
|
25948
|
+
entries[loc] = value;
|
|
25949
|
+
});
|
|
25950
|
+
}
|
|
25941
25951
|
return entries;
|
|
25942
25952
|
};
|
|
25943
25953
|
const se_CreateVpcEndpointServiceConfigurationRequest = (input, context) => {
|
|
@@ -38108,6 +38118,16 @@ const se_ModifyVpcEndpointRequest = (input, context) => {
|
|
|
38108
38118
|
if (input.PrivateDnsEnabled != null) {
|
|
38109
38119
|
entries["PrivateDnsEnabled"] = input.PrivateDnsEnabled;
|
|
38110
38120
|
}
|
|
38121
|
+
if (input.SubnetConfigurations != null) {
|
|
38122
|
+
const memberEntries = se_SubnetConfigurationsList(input.SubnetConfigurations, context);
|
|
38123
|
+
if (input.SubnetConfigurations?.length === 0) {
|
|
38124
|
+
entries.SubnetConfiguration = [];
|
|
38125
|
+
}
|
|
38126
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38127
|
+
const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`;
|
|
38128
|
+
entries[loc] = value;
|
|
38129
|
+
});
|
|
38130
|
+
}
|
|
38111
38131
|
return entries;
|
|
38112
38132
|
};
|
|
38113
38133
|
const se_ModifyVpcEndpointServiceConfigurationRequest = (input, context) => {
|
|
@@ -42408,6 +42428,34 @@ const se_StorageLocation = (input, context) => {
|
|
|
42408
42428
|
}
|
|
42409
42429
|
return entries;
|
|
42410
42430
|
};
|
|
42431
|
+
const se_SubnetConfiguration = (input, context) => {
|
|
42432
|
+
const entries = {};
|
|
42433
|
+
if (input.SubnetId != null) {
|
|
42434
|
+
entries["SubnetId"] = input.SubnetId;
|
|
42435
|
+
}
|
|
42436
|
+
if (input.Ipv4 != null) {
|
|
42437
|
+
entries["Ipv4"] = input.Ipv4;
|
|
42438
|
+
}
|
|
42439
|
+
if (input.Ipv6 != null) {
|
|
42440
|
+
entries["Ipv6"] = input.Ipv6;
|
|
42441
|
+
}
|
|
42442
|
+
return entries;
|
|
42443
|
+
};
|
|
42444
|
+
const se_SubnetConfigurationsList = (input, context) => {
|
|
42445
|
+
const entries = {};
|
|
42446
|
+
let counter = 1;
|
|
42447
|
+
for (const entry of input) {
|
|
42448
|
+
if (entry === null) {
|
|
42449
|
+
continue;
|
|
42450
|
+
}
|
|
42451
|
+
const memberEntries = se_SubnetConfiguration(entry, context);
|
|
42452
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
42453
|
+
entries[`Item.${counter}.${key}`] = value;
|
|
42454
|
+
});
|
|
42455
|
+
counter++;
|
|
42456
|
+
}
|
|
42457
|
+
return entries;
|
|
42458
|
+
};
|
|
42411
42459
|
const se_SubnetIdStringList = (input, context) => {
|
|
42412
42460
|
const entries = {};
|
|
42413
42461
|
let counter = 1;
|
|
@@ -9,6 +9,7 @@ export const getRuntimeConfig = (config) => ({
|
|
|
9
9
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
10
10
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
11
11
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
12
|
+
extensions: config?.extensions ?? [],
|
|
12
13
|
logger: config?.logger ?? new NoOpLogger(),
|
|
13
14
|
serviceId: config?.serviceId ?? "EC2",
|
|
14
15
|
urlParser: config?.urlParser ?? parseUrl,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "@smithy/types";
|
|
2
|
+
const asPartial = (t) => t;
|
|
3
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
+
const clientConfiguration = {
|
|
5
|
+
...asPartial(getDefaultClientConfiguration(runtimeConfig)),
|
|
6
|
+
};
|
|
7
|
+
extensions.forEach((extension) => extension.configureClient(clientConfiguration));
|
|
8
|
+
return {
|
|
9
|
+
...runtimeConfig,
|
|
10
|
+
...resolveDefaultRuntimeConfig(clientConfiguration),
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -603,6 +603,7 @@ import { UpdateSecurityGroupRuleDescriptionsEgressCommandInput, UpdateSecurityGr
|
|
|
603
603
|
import { UpdateSecurityGroupRuleDescriptionsIngressCommandInput, UpdateSecurityGroupRuleDescriptionsIngressCommandOutput } from "./commands/UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
604
604
|
import { WithdrawByoipCidrCommandInput, WithdrawByoipCidrCommandOutput } from "./commands/WithdrawByoipCidrCommand";
|
|
605
605
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
606
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
606
607
|
export { __Client };
|
|
607
608
|
/**
|
|
608
609
|
* @public
|
|
@@ -710,6 +711,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
710
711
|
* Optional logger for logging debug/info/warn/error.
|
|
711
712
|
*/
|
|
712
713
|
logger?: __Logger;
|
|
714
|
+
/**
|
|
715
|
+
* Optional extensions
|
|
716
|
+
*/
|
|
717
|
+
extensions?: RuntimeExtension[];
|
|
713
718
|
/**
|
|
714
719
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
715
720
|
*/
|
|
@@ -729,7 +734,7 @@ export interface EC2ClientConfig extends EC2ClientConfigType {
|
|
|
729
734
|
/**
|
|
730
735
|
* @public
|
|
731
736
|
*/
|
|
732
|
-
export type EC2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
737
|
+
export type EC2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
733
738
|
/**
|
|
734
739
|
* @public
|
|
735
740
|
*
|
|
@@ -66,6 +66,13 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointResult,
|
|
|
66
66
|
* ],
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
+
* SubnetConfigurations: [ // SubnetConfigurationsList
|
|
70
|
+
* { // SubnetConfiguration
|
|
71
|
+
* SubnetId: "STRING_VALUE",
|
|
72
|
+
* Ipv4: "STRING_VALUE",
|
|
73
|
+
* Ipv6: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
69
76
|
* };
|
|
70
77
|
* const command = new CreateVpcEndpointCommand(input);
|
|
71
78
|
* const response = await client.send(command);
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { ImportClientVpnClientCertificateRevocationListRequest
|
|
5
|
+
import { ImportClientVpnClientCertificateRevocationListRequest } from "../models/models_5";
|
|
6
|
+
import { ImportClientVpnClientCertificateRevocationListResult } from "../models/models_6";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -62,6 +62,13 @@ export interface ModifyVpcEndpointCommandOutput extends ModifyVpcEndpointResult,
|
|
|
62
62
|
* PrivateDnsOnlyForInboundResolverEndpoint: true || false,
|
|
63
63
|
* },
|
|
64
64
|
* PrivateDnsEnabled: true || false,
|
|
65
|
+
* SubnetConfigurations: [ // SubnetConfigurationsList
|
|
66
|
+
* { // SubnetConfiguration
|
|
67
|
+
* SubnetId: "STRING_VALUE",
|
|
68
|
+
* Ipv4: "STRING_VALUE",
|
|
69
|
+
* Ipv6: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
65
72
|
* };
|
|
66
73
|
* const command = new ModifyVpcEndpointCommand(input);
|
|
67
74
|
* const response = await client.send(command);
|
|
@@ -4448,6 +4448,35 @@ export declare const IpAddressType: {
|
|
|
4448
4448
|
* @public
|
|
4449
4449
|
*/
|
|
4450
4450
|
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
4451
|
+
/**
|
|
4452
|
+
* @public
|
|
4453
|
+
* <p>Describes the configuration of a subnet for a VPC endpoint.</p>
|
|
4454
|
+
*/
|
|
4455
|
+
export interface SubnetConfiguration {
|
|
4456
|
+
/**
|
|
4457
|
+
* @public
|
|
4458
|
+
* <p>The ID of the subnet.</p>
|
|
4459
|
+
*/
|
|
4460
|
+
SubnetId?: string;
|
|
4461
|
+
/**
|
|
4462
|
+
* @public
|
|
4463
|
+
* <p>The IPv4 address to assign to the endpoint network interface in the subnet. You must provide
|
|
4464
|
+
* an IPv4 address if the VPC endpoint supports IPv4.</p>
|
|
4465
|
+
* <p>If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing
|
|
4466
|
+
* endpoint network interface with a new endpoint network interface with this IP address.
|
|
4467
|
+
* This process temporarily disconnects the subnet and the VPC endpoint.</p>
|
|
4468
|
+
*/
|
|
4469
|
+
Ipv4?: string;
|
|
4470
|
+
/**
|
|
4471
|
+
* @public
|
|
4472
|
+
* <p>The IPv6 address to assign to the endpoint network interface in the subnet. You must provide
|
|
4473
|
+
* an IPv6 address if the VPC endpoint supports IPv6.</p>
|
|
4474
|
+
* <p>If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing
|
|
4475
|
+
* endpoint network interface with a new endpoint network interface with this IP address.
|
|
4476
|
+
* This process temporarily disconnects the subnet and the VPC endpoint.</p>
|
|
4477
|
+
*/
|
|
4478
|
+
Ipv6?: string;
|
|
4479
|
+
}
|
|
4451
4480
|
/**
|
|
4452
4481
|
* @public
|
|
4453
4482
|
* @enum
|
|
@@ -4502,14 +4531,14 @@ export interface CreateVpcEndpointRequest {
|
|
|
4502
4531
|
RouteTableIds?: string[];
|
|
4503
4532
|
/**
|
|
4504
4533
|
* @public
|
|
4505
|
-
* <p>(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create
|
|
4506
|
-
* network
|
|
4534
|
+
* <p>(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint
|
|
4535
|
+
* network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.</p>
|
|
4507
4536
|
*/
|
|
4508
4537
|
SubnetIds?: string[];
|
|
4509
4538
|
/**
|
|
4510
4539
|
* @public
|
|
4511
4540
|
* <p>(Interface endpoint) The IDs of the security groups to associate with the
|
|
4512
|
-
* endpoint network
|
|
4541
|
+
* endpoint network interfaces. If this parameter is not specified, we use the default
|
|
4513
4542
|
* security group for the VPC.</p>
|
|
4514
4543
|
*/
|
|
4515
4544
|
SecurityGroupIds?: string[];
|
|
@@ -4552,6 +4581,11 @@ export interface CreateVpcEndpointRequest {
|
|
|
4552
4581
|
* <p>The tags to associate with the endpoint.</p>
|
|
4553
4582
|
*/
|
|
4554
4583
|
TagSpecifications?: TagSpecification[];
|
|
4584
|
+
/**
|
|
4585
|
+
* @public
|
|
4586
|
+
* <p>The subnet configurations for the endpoint.</p>
|
|
4587
|
+
*/
|
|
4588
|
+
SubnetConfigurations?: SubnetConfiguration[];
|
|
4555
4589
|
}
|
|
4556
4590
|
/**
|
|
4557
4591
|
* @public
|
|
@@ -7524,22 +7558,6 @@ export declare const DeleteQueuedReservedInstancesErrorCode: {
|
|
|
7524
7558
|
* @public
|
|
7525
7559
|
*/
|
|
7526
7560
|
export type DeleteQueuedReservedInstancesErrorCode = (typeof DeleteQueuedReservedInstancesErrorCode)[keyof typeof DeleteQueuedReservedInstancesErrorCode];
|
|
7527
|
-
/**
|
|
7528
|
-
* @public
|
|
7529
|
-
* <p>Describes the error for a Reserved Instance whose queued purchase could not be deleted.</p>
|
|
7530
|
-
*/
|
|
7531
|
-
export interface DeleteQueuedReservedInstancesError {
|
|
7532
|
-
/**
|
|
7533
|
-
* @public
|
|
7534
|
-
* <p>The error code.</p>
|
|
7535
|
-
*/
|
|
7536
|
-
Code?: DeleteQueuedReservedInstancesErrorCode | string;
|
|
7537
|
-
/**
|
|
7538
|
-
* @public
|
|
7539
|
-
* <p>The error message.</p>
|
|
7540
|
-
*/
|
|
7541
|
-
Message?: string;
|
|
7542
|
-
}
|
|
7543
7561
|
/**
|
|
7544
7562
|
* @internal
|
|
7545
7563
|
*/
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
|
-
import {
|
|
3
|
+
import { DeleteQueuedReservedInstancesErrorCode, FleetStateCode, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>Describes the error for a Reserved Instance whose queued purchase could not be deleted.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface DeleteQueuedReservedInstancesError {
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
* <p>The error code.</p>
|
|
12
|
+
*/
|
|
13
|
+
Code?: DeleteQueuedReservedInstancesErrorCode | string;
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* <p>The error message.</p>
|
|
17
|
+
*/
|
|
18
|
+
Message?: string;
|
|
19
|
+
}
|
|
4
20
|
/**
|
|
5
21
|
* @public
|
|
6
22
|
* <p>Describes a Reserved Instance whose queued purchase was not deleted.</p>
|
|
@@ -9139,18 +9155,6 @@ export interface HibernationOptions {
|
|
|
9139
9155
|
*/
|
|
9140
9156
|
Configured?: boolean;
|
|
9141
9157
|
}
|
|
9142
|
-
/**
|
|
9143
|
-
* @public
|
|
9144
|
-
* @enum
|
|
9145
|
-
*/
|
|
9146
|
-
export declare const InstanceLifecycleType: {
|
|
9147
|
-
readonly scheduled: "scheduled";
|
|
9148
|
-
readonly spot: "spot";
|
|
9149
|
-
};
|
|
9150
|
-
/**
|
|
9151
|
-
* @public
|
|
9152
|
-
*/
|
|
9153
|
-
export type InstanceLifecycleType = (typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
9154
9158
|
/**
|
|
9155
9159
|
* @internal
|
|
9156
9160
|
*/
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair } from "./models_0";
|
|
2
2
|
import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlacementGroup, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
|
|
3
3
|
import { ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
|
|
4
|
-
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceBootModeValues,
|
|
4
|
+
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceBootModeValues, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* @enum
|
|
8
|
+
*/
|
|
9
|
+
export declare const InstanceLifecycleType: {
|
|
10
|
+
readonly scheduled: "scheduled";
|
|
11
|
+
readonly spot: "spot";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type InstanceLifecycleType = (typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
5
17
|
/**
|
|
6
18
|
* @public
|
|
7
19
|
* <p>Describes a license configuration.</p>
|
|
@@ -10931,18 +10943,6 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest {
|
|
|
10931
10943
|
*/
|
|
10932
10944
|
DryRun?: boolean;
|
|
10933
10945
|
}
|
|
10934
|
-
/**
|
|
10935
|
-
* @public
|
|
10936
|
-
* @enum
|
|
10937
|
-
*/
|
|
10938
|
-
export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
10939
|
-
readonly FAILED: "failed";
|
|
10940
|
-
readonly SUCCESS: "success";
|
|
10941
|
-
};
|
|
10942
|
-
/**
|
|
10943
|
-
* @public
|
|
10944
|
-
*/
|
|
10945
|
-
export type VerifiedAccessLogDeliveryStatusCode = (typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
10946
10946
|
/**
|
|
10947
10947
|
* @internal
|
|
10948
10948
|
*/
|
|
@@ -2,7 +2,19 @@ import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, Associat
|
|
|
2
2
|
import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { AttributeBooleanValue, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
|
|
5
|
-
import { AnalysisStatus, ArchitectureType
|
|
5
|
+
import { AnalysisStatus, ArchitectureType } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* @enum
|
|
9
|
+
*/
|
|
10
|
+
export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
11
|
+
readonly FAILED: "failed";
|
|
12
|
+
readonly SUCCESS: "success";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type VerifiedAccessLogDeliveryStatusCode = (typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
6
18
|
/**
|
|
7
19
|
* @public
|
|
8
20
|
* <p>Describes a log delivery status.</p>
|
|
@@ -7531,16 +7543,6 @@ export interface ImportClientVpnClientCertificateRevocationListRequest {
|
|
|
7531
7543
|
*/
|
|
7532
7544
|
DryRun?: boolean;
|
|
7533
7545
|
}
|
|
7534
|
-
/**
|
|
7535
|
-
* @public
|
|
7536
|
-
*/
|
|
7537
|
-
export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
7538
|
-
/**
|
|
7539
|
-
* @public
|
|
7540
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
7541
|
-
*/
|
|
7542
|
-
Return?: boolean;
|
|
7543
|
-
}
|
|
7544
7546
|
/**
|
|
7545
7547
|
* @internal
|
|
7546
7548
|
*/
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CreditSpecificationRequest, DiskImageFormat, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, PlatformValues, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
|
|
3
|
-
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
3
|
+
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
4
4
|
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
|
|
5
5
|
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
|
|
6
6
|
import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
14
|
+
*/
|
|
15
|
+
Return?: boolean;
|
|
16
|
+
}
|
|
7
17
|
/**
|
|
8
18
|
* @public
|
|
9
19
|
* <p>Describes the client-specific data.</p>
|
|
@@ -4422,12 +4432,12 @@ export interface ModifyVpcEndpointRequest {
|
|
|
4422
4432
|
RemoveSubnetIds?: string[];
|
|
4423
4433
|
/**
|
|
4424
4434
|
* @public
|
|
4425
|
-
* <p>(Interface endpoint) The IDs of the security groups to associate with the network
|
|
4435
|
+
* <p>(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.</p>
|
|
4426
4436
|
*/
|
|
4427
4437
|
AddSecurityGroupIds?: string[];
|
|
4428
4438
|
/**
|
|
4429
4439
|
* @public
|
|
4430
|
-
* <p>(Interface endpoint) The IDs of the security groups to disassociate from the network
|
|
4440
|
+
* <p>(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.</p>
|
|
4431
4441
|
*/
|
|
4432
4442
|
RemoveSecurityGroupIds?: string[];
|
|
4433
4443
|
/**
|
|
@@ -4442,10 +4452,14 @@ export interface ModifyVpcEndpointRequest {
|
|
|
4442
4452
|
DnsOptions?: DnsOptionsSpecification;
|
|
4443
4453
|
/**
|
|
4444
4454
|
* @public
|
|
4445
|
-
* <p>(Interface endpoint) Indicates whether a private hosted zone is associated with the
|
|
4446
|
-
* VPC.</p>
|
|
4455
|
+
* <p>(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.</p>
|
|
4447
4456
|
*/
|
|
4448
4457
|
PrivateDnsEnabled?: boolean;
|
|
4458
|
+
/**
|
|
4459
|
+
* @public
|
|
4460
|
+
* <p>The subnet configurations for the endpoint.</p>
|
|
4461
|
+
*/
|
|
4462
|
+
SubnetConfigurations?: SubnetConfiguration[];
|
|
4449
4463
|
}
|
|
4450
4464
|
/**
|
|
4451
4465
|
* @public
|
|
@@ -8360,22 +8374,6 @@ export interface ScheduledInstancesIpv6Address {
|
|
|
8360
8374
|
*/
|
|
8361
8375
|
Ipv6Address?: string;
|
|
8362
8376
|
}
|
|
8363
|
-
/**
|
|
8364
|
-
* @public
|
|
8365
|
-
* <p>Describes a private IPv4 address for a Scheduled Instance.</p>
|
|
8366
|
-
*/
|
|
8367
|
-
export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
8368
|
-
/**
|
|
8369
|
-
* @public
|
|
8370
|
-
* <p>Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.</p>
|
|
8371
|
-
*/
|
|
8372
|
-
Primary?: boolean;
|
|
8373
|
-
/**
|
|
8374
|
-
* @public
|
|
8375
|
-
* <p>The IPv4 address.</p>
|
|
8376
|
-
*/
|
|
8377
|
-
PrivateIpAddress?: string;
|
|
8378
|
-
}
|
|
8379
8377
|
/**
|
|
8380
8378
|
* @internal
|
|
8381
8379
|
*/
|
|
@@ -3,7 +3,23 @@ import { LocalGatewayRoute } from "./models_1";
|
|
|
3
3
|
import { TransitGatewayRoute } from "./models_2";
|
|
4
4
|
import { ClientVpnConnectionStatus, Filter } from "./models_3";
|
|
5
5
|
import { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
|
|
6
|
-
import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesIpv6Address, ScheduledInstancesMonitoring
|
|
6
|
+
import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesIpv6Address, ScheduledInstancesMonitoring } from "./models_6";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Describes a private IPv4 address for a Scheduled Instance.</p>
|
|
10
|
+
*/
|
|
11
|
+
export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* <p>Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.</p>
|
|
15
|
+
*/
|
|
16
|
+
Primary?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
* <p>The IPv4 address.</p>
|
|
20
|
+
*/
|
|
21
|
+
PrivateIpAddress?: string;
|
|
22
|
+
}
|
|
7
23
|
/**
|
|
8
24
|
* @public
|
|
9
25
|
* <p>Describes a network interface for a Scheduled Instance.</p>
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
30
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
30
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
30
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
30
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
24
24
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
29
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -10,6 +10,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
12
12
|
}) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
13
14
|
logger: import("@smithy/types").Logger;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EC2ClientConfiguration } from "./clientConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configureClient(clientConfiguration: EC2ClientConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -2426,6 +2426,7 @@ import {
|
|
|
2426
2426
|
ClientResolvedEndpointParameters,
|
|
2427
2427
|
EndpointParameters,
|
|
2428
2428
|
} from "./endpoint/EndpointParameters";
|
|
2429
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
2429
2430
|
export { __Client };
|
|
2430
2431
|
export type ServiceInputTypes =
|
|
2431
2432
|
| AcceptAddressTransferCommandInput
|
|
@@ -3639,6 +3640,7 @@ export interface ClientDefaults
|
|
|
3639
3640
|
maxAttempts?: number | __Provider<number>;
|
|
3640
3641
|
retryMode?: string | __Provider<string>;
|
|
3641
3642
|
logger?: __Logger;
|
|
3643
|
+
extensions?: RuntimeExtension[];
|
|
3642
3644
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
3643
3645
|
}
|
|
3644
3646
|
export type EC2ClientConfigType = Partial<
|
|
@@ -3656,6 +3658,7 @@ export interface EC2ClientConfig extends EC2ClientConfigType {}
|
|
|
3656
3658
|
export type EC2ClientResolvedConfigType =
|
|
3657
3659
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
3658
3660
|
Required<ClientDefaults> &
|
|
3661
|
+
RuntimeExtensionsConfig &
|
|
3659
3662
|
RegionResolvedConfig &
|
|
3660
3663
|
EndpointResolvedConfig<EndpointParameters> &
|
|
3661
3664
|
RetryResolvedConfig &
|
package/dist-types/ts3.4/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts
CHANGED
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
ImportClientVpnClientCertificateRevocationListResult,
|
|
17
|
-
} from "../models/models_5";
|
|
14
|
+
import { ImportClientVpnClientCertificateRevocationListRequest } from "../models/models_5";
|
|
15
|
+
import { ImportClientVpnClientCertificateRevocationListResult } from "../models/models_6";
|
|
18
16
|
export { __MetadataBearer, $Command };
|
|
19
17
|
export interface ImportClientVpnClientCertificateRevocationListCommandInput
|
|
20
18
|
extends ImportClientVpnClientCertificateRevocationListRequest {}
|
|
@@ -1123,6 +1123,11 @@ export declare const IpAddressType: {
|
|
|
1123
1123
|
readonly ipv6: "ipv6";
|
|
1124
1124
|
};
|
|
1125
1125
|
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
1126
|
+
export interface SubnetConfiguration {
|
|
1127
|
+
SubnetId?: string;
|
|
1128
|
+
Ipv4?: string;
|
|
1129
|
+
Ipv6?: string;
|
|
1130
|
+
}
|
|
1126
1131
|
export declare const VpcEndpointType: {
|
|
1127
1132
|
readonly Gateway: "Gateway";
|
|
1128
1133
|
readonly GatewayLoadBalancer: "GatewayLoadBalancer";
|
|
@@ -1144,6 +1149,7 @@ export interface CreateVpcEndpointRequest {
|
|
|
1144
1149
|
ClientToken?: string;
|
|
1145
1150
|
PrivateDnsEnabled?: boolean;
|
|
1146
1151
|
TagSpecifications?: TagSpecification[];
|
|
1152
|
+
SubnetConfigurations?: SubnetConfiguration[];
|
|
1147
1153
|
}
|
|
1148
1154
|
export interface DnsEntry {
|
|
1149
1155
|
DnsName?: string;
|
|
@@ -1859,10 +1865,6 @@ export declare const DeleteQueuedReservedInstancesErrorCode: {
|
|
|
1859
1865
|
};
|
|
1860
1866
|
export type DeleteQueuedReservedInstancesErrorCode =
|
|
1861
1867
|
(typeof DeleteQueuedReservedInstancesErrorCode)[keyof typeof DeleteQueuedReservedInstancesErrorCode];
|
|
1862
|
-
export interface DeleteQueuedReservedInstancesError {
|
|
1863
|
-
Code?: DeleteQueuedReservedInstancesErrorCode | string;
|
|
1864
|
-
Message?: string;
|
|
1865
|
-
}
|
|
1866
1868
|
export declare const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: (
|
|
1867
1869
|
obj: CreateVerifiedAccessTrustProviderOidcOptions
|
|
1868
1870
|
) => any;
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
TransportProtocol,
|
|
72
72
|
} from "./models_1";
|
|
73
73
|
import {
|
|
74
|
-
|
|
74
|
+
DeleteQueuedReservedInstancesErrorCode,
|
|
75
75
|
FleetStateCode,
|
|
76
76
|
SubnetCidrReservation,
|
|
77
77
|
TransitGateway,
|
|
@@ -86,6 +86,10 @@ import {
|
|
|
86
86
|
VerifiedAccessEndpoint,
|
|
87
87
|
VerifiedAccessGroup,
|
|
88
88
|
} from "./models_2";
|
|
89
|
+
export interface DeleteQueuedReservedInstancesError {
|
|
90
|
+
Code?: DeleteQueuedReservedInstancesErrorCode | string;
|
|
91
|
+
Message?: string;
|
|
92
|
+
}
|
|
89
93
|
export interface FailedQueuedPurchaseDeletion {
|
|
90
94
|
Error?: DeleteQueuedReservedInstancesError;
|
|
91
95
|
ReservedInstancesId?: string;
|
|
@@ -1828,12 +1832,6 @@ export interface ElasticInferenceAcceleratorAssociation {
|
|
|
1828
1832
|
export interface HibernationOptions {
|
|
1829
1833
|
Configured?: boolean;
|
|
1830
1834
|
}
|
|
1831
|
-
export declare const InstanceLifecycleType: {
|
|
1832
|
-
readonly scheduled: "scheduled";
|
|
1833
|
-
readonly spot: "spot";
|
|
1834
|
-
};
|
|
1835
|
-
export type InstanceLifecycleType =
|
|
1836
|
-
(typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
1837
1835
|
export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
|
|
1838
1836
|
obj: DeleteVerifiedAccessTrustProviderResult
|
|
1839
1837
|
) => any;
|
|
@@ -106,11 +106,16 @@ import {
|
|
|
106
106
|
IdFormat,
|
|
107
107
|
InstanceBlockDeviceMapping,
|
|
108
108
|
InstanceBootModeValues,
|
|
109
|
-
InstanceLifecycleType,
|
|
110
109
|
PermissionGroup,
|
|
111
110
|
ProductCode,
|
|
112
111
|
VirtualizationType,
|
|
113
112
|
} from "./models_3";
|
|
113
|
+
export declare const InstanceLifecycleType: {
|
|
114
|
+
readonly scheduled: "scheduled";
|
|
115
|
+
readonly spot: "spot";
|
|
116
|
+
};
|
|
117
|
+
export type InstanceLifecycleType =
|
|
118
|
+
(typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
114
119
|
export interface LicenseConfiguration {
|
|
115
120
|
LicenseConfigurationArn?: string;
|
|
116
121
|
}
|
|
@@ -2077,12 +2082,6 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest {
|
|
|
2077
2082
|
Filters?: Filter[];
|
|
2078
2083
|
DryRun?: boolean;
|
|
2079
2084
|
}
|
|
2080
|
-
export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
2081
|
-
readonly FAILED: "failed";
|
|
2082
|
-
readonly SUCCESS: "success";
|
|
2083
|
-
};
|
|
2084
|
-
export type VerifiedAccessLogDeliveryStatusCode =
|
|
2085
|
-
(typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
2086
2085
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2087
2086
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2088
2087
|
) => any;
|
|
@@ -72,11 +72,13 @@ import {
|
|
|
72
72
|
StatisticType,
|
|
73
73
|
VirtualizationType,
|
|
74
74
|
} from "./models_3";
|
|
75
|
-
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
75
|
+
import { AnalysisStatus, ArchitectureType } from "./models_4";
|
|
76
|
+
export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
77
|
+
readonly FAILED: "failed";
|
|
78
|
+
readonly SUCCESS: "success";
|
|
79
|
+
};
|
|
80
|
+
export type VerifiedAccessLogDeliveryStatusCode =
|
|
81
|
+
(typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
80
82
|
export interface VerifiedAccessLogDeliveryStatus {
|
|
81
83
|
Code?: VerifiedAccessLogDeliveryStatusCode | string;
|
|
82
84
|
Message?: string;
|
|
@@ -1659,9 +1661,6 @@ export interface ImportClientVpnClientCertificateRevocationListRequest {
|
|
|
1659
1661
|
CertificateRevocationList: string | undefined;
|
|
1660
1662
|
DryRun?: boolean;
|
|
1661
1663
|
}
|
|
1662
|
-
export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
1663
|
-
Return?: boolean;
|
|
1664
|
-
}
|
|
1665
1664
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1666
1665
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1667
1666
|
) => any;
|
|
@@ -85,6 +85,7 @@ import {
|
|
|
85
85
|
Phase2IntegrityAlgorithmsRequestListValue,
|
|
86
86
|
SnapshotState,
|
|
87
87
|
SSEType,
|
|
88
|
+
SubnetConfiguration,
|
|
88
89
|
TrafficDirection,
|
|
89
90
|
TrafficMirrorFilter,
|
|
90
91
|
TrafficMirrorFilterRule,
|
|
@@ -150,6 +151,9 @@ import {
|
|
|
150
151
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
151
152
|
VolumeModification,
|
|
152
153
|
} from "./models_5";
|
|
154
|
+
export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
155
|
+
Return?: boolean;
|
|
156
|
+
}
|
|
153
157
|
export interface ClientData {
|
|
154
158
|
Comment?: string;
|
|
155
159
|
UploadEnd?: Date;
|
|
@@ -1075,6 +1079,7 @@ export interface ModifyVpcEndpointRequest {
|
|
|
1075
1079
|
IpAddressType?: IpAddressType | string;
|
|
1076
1080
|
DnsOptions?: DnsOptionsSpecification;
|
|
1077
1081
|
PrivateDnsEnabled?: boolean;
|
|
1082
|
+
SubnetConfigurations?: SubnetConfiguration[];
|
|
1078
1083
|
}
|
|
1079
1084
|
export interface ModifyVpcEndpointResult {
|
|
1080
1085
|
Return?: boolean;
|
|
@@ -1865,10 +1870,6 @@ export interface ScheduledInstancesMonitoring {
|
|
|
1865
1870
|
export interface ScheduledInstancesIpv6Address {
|
|
1866
1871
|
Ipv6Address?: string;
|
|
1867
1872
|
}
|
|
1868
|
-
export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
1869
|
-
Primary?: boolean;
|
|
1870
|
-
PrivateIpAddress?: string;
|
|
1871
|
-
}
|
|
1872
1873
|
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1873
1874
|
obj: ImageDiskContainer
|
|
1874
1875
|
) => any;
|
|
@@ -19,8 +19,11 @@ import {
|
|
|
19
19
|
ScheduledInstancesIamInstanceProfile,
|
|
20
20
|
ScheduledInstancesIpv6Address,
|
|
21
21
|
ScheduledInstancesMonitoring,
|
|
22
|
-
ScheduledInstancesPrivateIpAddressConfig,
|
|
23
22
|
} from "./models_6";
|
|
23
|
+
export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
24
|
+
Primary?: boolean;
|
|
25
|
+
PrivateIpAddress?: string;
|
|
26
|
+
}
|
|
24
27
|
export interface ScheduledInstancesNetworkInterface {
|
|
25
28
|
AssociatePublicIpAddress?: boolean;
|
|
26
29
|
DeleteOnTermination?: boolean;
|
|
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
40
|
endpoint?:
|
|
40
41
|
| ((
|
|
41
42
|
| string
|
|
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
40
|
endpoint?:
|
|
40
41
|
| ((
|
|
41
42
|
| string
|
|
@@ -32,6 +32,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
32
32
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
33
33
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
36
|
defaultsMode:
|
|
36
37
|
| import("@smithy/smithy-client").DefaultsMode
|
|
37
38
|
| import("@smithy/types").Provider<
|
|
@@ -10,6 +10,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
10
10
|
logger?: import("@smithy/types").Logger | undefined;
|
|
11
11
|
}
|
|
12
12
|
) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
13
14
|
logger: import("@smithy/types").Logger;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EC2ClientConfiguration } from "./clientConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configureClient(clientConfiguration: EC2ClientConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
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.395.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.395.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.395.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.391.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.391.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.391.0",
|