@aws-sdk/client-ec2 3.865.0 → 3.868.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 +8 -0
- package/dist-cjs/index.js +144 -35
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyInstanceConnectEndpointCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +3 -0
- package/dist-es/models/models_2.js +0 -11
- package/dist-es/models/models_3.js +11 -0
- package/dist-es/protocols/Aws_ec2.js +110 -22
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +0 -1
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -2
- package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +1 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +11 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribePrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -2
- package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -2
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceConnectEndpointCommand.d.ts +81 -0
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -2
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -4
- package/dist-types/commands/RegisterImageCommand.d.ts +3 -8
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +4 -4
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +2 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +42 -44
- package/dist-types/models/models_2.d.ts +49 -152
- package/dist-types/models/models_3.d.ts +153 -78
- package/dist-types/models/models_4.d.ts +79 -60
- package/dist-types/models/models_5.d.ts +50 -99
- package/dist-types/models/models_6.d.ts +94 -61
- package/dist-types/models/models_7.d.ts +132 -70
- package/dist-types/models/models_8.d.ts +69 -1
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceConnectEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +12 -8
- package/dist-types/ts3.4/models/models_2.d.ts +9 -41
- package/dist-types/ts3.4/models/models_3.d.ts +46 -13
- package/dist-types/ts3.4/models/models_4.d.ts +12 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -13
- package/dist-types/ts3.4/models/models_6.d.ts +13 -9
- package/dist-types/ts3.4/models/models_7.d.ts +19 -21
- package/dist-types/ts3.4/models/models_8.d.ts +22 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4661,6 +4661,14 @@ ModifyInstanceCapacityReservationAttributes
|
|
|
4661
4661
|
|
|
4662
4662
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyInstanceCapacityReservationAttributesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceCapacityReservationAttributesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceCapacityReservationAttributesCommandOutput/)
|
|
4663
4663
|
|
|
4664
|
+
</details>
|
|
4665
|
+
<details>
|
|
4666
|
+
<summary>
|
|
4667
|
+
ModifyInstanceConnectEndpoint
|
|
4668
|
+
</summary>
|
|
4669
|
+
|
|
4670
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyInstanceConnectEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceConnectEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceConnectEndpointCommandOutput/)
|
|
4671
|
+
|
|
4664
4672
|
</details>
|
|
4665
4673
|
<details>
|
|
4666
4674
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -860,6 +860,7 @@ __export(index_exports, {
|
|
|
860
860
|
ModifyImageAttributeCommand: () => ModifyImageAttributeCommand,
|
|
861
861
|
ModifyInstanceAttributeCommand: () => ModifyInstanceAttributeCommand,
|
|
862
862
|
ModifyInstanceCapacityReservationAttributesCommand: () => ModifyInstanceCapacityReservationAttributesCommand,
|
|
863
|
+
ModifyInstanceConnectEndpointCommand: () => ModifyInstanceConnectEndpointCommand,
|
|
863
864
|
ModifyInstanceCpuOptionsCommand: () => ModifyInstanceCpuOptionsCommand,
|
|
864
865
|
ModifyInstanceCreditSpecificationCommand: () => ModifyInstanceCreditSpecificationCommand,
|
|
865
866
|
ModifyInstanceEventStartTimeCommand: () => ModifyInstanceEventStartTimeCommand,
|
|
@@ -7166,6 +7167,16 @@ var se_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __na
|
|
|
7166
7167
|
});
|
|
7167
7168
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
7168
7169
|
}, "se_ModifyInstanceCapacityReservationAttributesCommand");
|
|
7170
|
+
var se_ModifyInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
7171
|
+
const headers = SHARED_HEADERS;
|
|
7172
|
+
let body;
|
|
7173
|
+
body = buildFormUrlencodedString({
|
|
7174
|
+
...se_ModifyInstanceConnectEndpointRequest(input, context),
|
|
7175
|
+
[_A]: _MICE,
|
|
7176
|
+
[_V]: _
|
|
7177
|
+
});
|
|
7178
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
7179
|
+
}, "se_ModifyInstanceConnectEndpointCommand");
|
|
7169
7180
|
var se_ModifyInstanceCpuOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
7170
7181
|
const headers = SHARED_HEADERS;
|
|
7171
7182
|
let body;
|
|
@@ -15606,6 +15617,19 @@ var de_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __na
|
|
|
15606
15617
|
};
|
|
15607
15618
|
return response;
|
|
15608
15619
|
}, "de_ModifyInstanceCapacityReservationAttributesCommand");
|
|
15620
|
+
var de_ModifyInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
15621
|
+
if (output.statusCode >= 300) {
|
|
15622
|
+
return de_CommandError(output, context);
|
|
15623
|
+
}
|
|
15624
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
15625
|
+
let contents = {};
|
|
15626
|
+
contents = de_ModifyInstanceConnectEndpointResult(data, context);
|
|
15627
|
+
const response = {
|
|
15628
|
+
$metadata: deserializeMetadata(output),
|
|
15629
|
+
...contents
|
|
15630
|
+
};
|
|
15631
|
+
return response;
|
|
15632
|
+
}, "de_ModifyInstanceConnectEndpointCommand");
|
|
15609
15633
|
var de_ModifyInstanceCpuOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
15610
15634
|
if (output.statusCode >= 300) {
|
|
15611
15635
|
return de_CommandError(output, context);
|
|
@@ -18098,6 +18122,9 @@ var se_AssociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
18098
18122
|
if (input[_GI] != null) {
|
|
18099
18123
|
entries[_GI] = input[_GI];
|
|
18100
18124
|
}
|
|
18125
|
+
if (input[_PIP] != null) {
|
|
18126
|
+
entries[_PIP] = input[_PIP];
|
|
18127
|
+
}
|
|
18101
18128
|
if (input[_DRr] != null) {
|
|
18102
18129
|
entries[_DRr] = input[_DRr];
|
|
18103
18130
|
}
|
|
@@ -33638,6 +33665,29 @@ var se_ModifyInstanceCapacityReservationAttributesRequest = /* @__PURE__ */ __na
|
|
|
33638
33665
|
}
|
|
33639
33666
|
return entries;
|
|
33640
33667
|
}, "se_ModifyInstanceCapacityReservationAttributesRequest");
|
|
33668
|
+
var se_ModifyInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => {
|
|
33669
|
+
const entries = {};
|
|
33670
|
+
if (input[_DRr] != null) {
|
|
33671
|
+
entries[_DRr] = input[_DRr];
|
|
33672
|
+
}
|
|
33673
|
+
if (input[_ICEI] != null) {
|
|
33674
|
+
entries[_ICEI] = input[_ICEI];
|
|
33675
|
+
}
|
|
33676
|
+
if (input[_IAT] != null) {
|
|
33677
|
+
entries[_IAT] = input[_IAT];
|
|
33678
|
+
}
|
|
33679
|
+
if (input[_SGI] != null) {
|
|
33680
|
+
const memberEntries = se_SecurityGroupIdStringListRequest(input[_SGI], context);
|
|
33681
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
33682
|
+
const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`;
|
|
33683
|
+
entries[loc] = value;
|
|
33684
|
+
});
|
|
33685
|
+
}
|
|
33686
|
+
if (input[_PCI] != null) {
|
|
33687
|
+
entries[_PCI] = input[_PCI];
|
|
33688
|
+
}
|
|
33689
|
+
return entries;
|
|
33690
|
+
}, "se_ModifyInstanceConnectEndpointRequest");
|
|
33641
33691
|
var se_ModifyInstanceCpuOptionsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
33642
33692
|
const entries = {};
|
|
33643
33693
|
if (input[_IIn] != null) {
|
|
@@ -47970,6 +48020,9 @@ var de_Ec2InstanceConnectEndpoint = /* @__PURE__ */ __name((output, context) =>
|
|
|
47970
48020
|
if (output[_iAT] != null) {
|
|
47971
48021
|
contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]);
|
|
47972
48022
|
}
|
|
48023
|
+
if (output[_pDN] != null) {
|
|
48024
|
+
contents[_PDNu] = de_InstanceConnectEndpointPublicDnsNames(output[_pDN], context);
|
|
48025
|
+
}
|
|
47973
48026
|
return contents;
|
|
47974
48027
|
}, "de_Ec2InstanceConnectEndpoint");
|
|
47975
48028
|
var de_EfaInfo = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -51153,11 +51206,11 @@ var de_Instance = /* @__PURE__ */ __name((output, context) => {
|
|
|
51153
51206
|
if (output[_iSnst] != null) {
|
|
51154
51207
|
contents[_Stat] = de_InstanceState(output[_iSnst], context);
|
|
51155
51208
|
}
|
|
51156
|
-
if (output[
|
|
51157
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
51209
|
+
if (output[_pDNr] != null) {
|
|
51210
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
51158
51211
|
}
|
|
51159
51212
|
if (output[_dNn] != null) {
|
|
51160
|
-
contents[
|
|
51213
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_dNn]);
|
|
51161
51214
|
}
|
|
51162
51215
|
if (output[_rea] != null) {
|
|
51163
51216
|
contents[_STRt] = (0, import_smithy_client.expectString)(output[_rea]);
|
|
@@ -51314,6 +51367,26 @@ var de_InstanceCapacity = /* @__PURE__ */ __name((output, context) => {
|
|
|
51314
51367
|
}
|
|
51315
51368
|
return contents;
|
|
51316
51369
|
}, "de_InstanceCapacity");
|
|
51370
|
+
var de_InstanceConnectEndpointDnsNames = /* @__PURE__ */ __name((output, context) => {
|
|
51371
|
+
const contents = {};
|
|
51372
|
+
if (output[_dNn] != null) {
|
|
51373
|
+
contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]);
|
|
51374
|
+
}
|
|
51375
|
+
if (output[_fDN] != null) {
|
|
51376
|
+
contents[_FDN] = (0, import_smithy_client.expectString)(output[_fDN]);
|
|
51377
|
+
}
|
|
51378
|
+
return contents;
|
|
51379
|
+
}, "de_InstanceConnectEndpointDnsNames");
|
|
51380
|
+
var de_InstanceConnectEndpointPublicDnsNames = /* @__PURE__ */ __name((output, context) => {
|
|
51381
|
+
const contents = {};
|
|
51382
|
+
if (output[_ipv] != null) {
|
|
51383
|
+
contents[_Ip] = de_InstanceConnectEndpointDnsNames(output[_ipv], context);
|
|
51384
|
+
}
|
|
51385
|
+
if (output[_dua] != null) {
|
|
51386
|
+
contents[_Dua] = de_InstanceConnectEndpointDnsNames(output[_dua], context);
|
|
51387
|
+
}
|
|
51388
|
+
return contents;
|
|
51389
|
+
}, "de_InstanceConnectEndpointPublicDnsNames");
|
|
51317
51390
|
var de_InstanceConnectEndpointSet = /* @__PURE__ */ __name((output, context) => {
|
|
51318
51391
|
return (output || []).filter((e) => e != null).map((entry) => {
|
|
51319
51392
|
return de_Ec2InstanceConnectEndpoint(entry, context);
|
|
@@ -51657,8 +51730,8 @@ var de_InstanceNetworkInterface = /* @__PURE__ */ __name((output, context) => {
|
|
|
51657
51730
|
if (output[_oI] != null) {
|
|
51658
51731
|
contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);
|
|
51659
51732
|
}
|
|
51660
|
-
if (output[
|
|
51661
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
51733
|
+
if (output[_pDNr] != null) {
|
|
51734
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
51662
51735
|
}
|
|
51663
51736
|
if (output[_pIAr] != null) {
|
|
51664
51737
|
contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIAr]);
|
|
@@ -51713,7 +51786,7 @@ var de_InstanceNetworkInterfaceAssociation = /* @__PURE__ */ __name((output, con
|
|
|
51713
51786
|
contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]);
|
|
51714
51787
|
}
|
|
51715
51788
|
if (output[_pDNu] != null) {
|
|
51716
|
-
contents[
|
|
51789
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_pDNu]);
|
|
51717
51790
|
}
|
|
51718
51791
|
if (output[_pI] != null) {
|
|
51719
51792
|
contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);
|
|
@@ -51856,8 +51929,8 @@ var de_InstancePrivateIpAddress = /* @__PURE__ */ __name((output, context) => {
|
|
|
51856
51929
|
if (output[_prim] != null) {
|
|
51857
51930
|
contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]);
|
|
51858
51931
|
}
|
|
51859
|
-
if (output[
|
|
51860
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
51932
|
+
if (output[_pDNr] != null) {
|
|
51933
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
51861
51934
|
}
|
|
51862
51935
|
if (output[_pIAr] != null) {
|
|
51863
51936
|
contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIAr]);
|
|
@@ -54666,6 +54739,13 @@ var de_ModifyInstanceCapacityReservationAttributesResult = /* @__PURE__ */ __nam
|
|
|
54666
54739
|
}
|
|
54667
54740
|
return contents;
|
|
54668
54741
|
}, "de_ModifyInstanceCapacityReservationAttributesResult");
|
|
54742
|
+
var de_ModifyInstanceConnectEndpointResult = /* @__PURE__ */ __name((output, context) => {
|
|
54743
|
+
const contents = {};
|
|
54744
|
+
if (output[_r] != null) {
|
|
54745
|
+
contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);
|
|
54746
|
+
}
|
|
54747
|
+
return contents;
|
|
54748
|
+
}, "de_ModifyInstanceConnectEndpointResult");
|
|
54669
54749
|
var de_ModifyInstanceCpuOptionsResult = /* @__PURE__ */ __name((output, context) => {
|
|
54670
54750
|
const contents = {};
|
|
54671
54751
|
if (output[_iI] != null) {
|
|
@@ -55685,11 +55765,11 @@ var de_NetworkInterface = /* @__PURE__ */ __name((output, context) => {
|
|
|
55685
55765
|
if (output[_oI] != null) {
|
|
55686
55766
|
contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);
|
|
55687
55767
|
}
|
|
55688
|
-
if (output[
|
|
55689
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
55768
|
+
if (output[_pDNr] != null) {
|
|
55769
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
55690
55770
|
}
|
|
55691
55771
|
if (output[_pDNu] != null) {
|
|
55692
|
-
contents[
|
|
55772
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_pDNu]);
|
|
55693
55773
|
}
|
|
55694
55774
|
if (output[_pIDNO] != null) {
|
|
55695
55775
|
contents[_PIDNO] = de_PublicIpDnsNameOptions(output[_pIDNO], context);
|
|
@@ -55766,7 +55846,7 @@ var de_NetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) =>
|
|
|
55766
55846
|
contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]);
|
|
55767
55847
|
}
|
|
55768
55848
|
if (output[_pDNu] != null) {
|
|
55769
|
-
contents[
|
|
55849
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_pDNu]);
|
|
55770
55850
|
}
|
|
55771
55851
|
if (output[_pI] != null) {
|
|
55772
55852
|
contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);
|
|
@@ -55896,8 +55976,8 @@ var de_NetworkInterfacePrivateIpAddress = /* @__PURE__ */ __name((output, contex
|
|
|
55896
55976
|
if (output[_prim] != null) {
|
|
55897
55977
|
contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]);
|
|
55898
55978
|
}
|
|
55899
|
-
if (output[
|
|
55900
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
55979
|
+
if (output[_pDNr] != null) {
|
|
55980
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
55901
55981
|
}
|
|
55902
55982
|
if (output[_pIAr] != null) {
|
|
55903
55983
|
contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIAr]);
|
|
@@ -56595,8 +56675,8 @@ var de_PrincipalIdFormatList = /* @__PURE__ */ __name((output, context) => {
|
|
|
56595
56675
|
}, "de_PrincipalIdFormatList");
|
|
56596
56676
|
var de_PrivateDnsDetails = /* @__PURE__ */ __name((output, context) => {
|
|
56597
56677
|
const contents = {};
|
|
56598
|
-
if (output[
|
|
56599
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
56678
|
+
if (output[_pDNr] != null) {
|
|
56679
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
56600
56680
|
}
|
|
56601
56681
|
return contents;
|
|
56602
56682
|
}, "de_PrivateDnsDetails");
|
|
@@ -58233,6 +58313,9 @@ var de_RouteTableAssociation = /* @__PURE__ */ __name((output, context) => {
|
|
|
58233
58313
|
if (output[_gI] != null) {
|
|
58234
58314
|
contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]);
|
|
58235
58315
|
}
|
|
58316
|
+
if (output[_pIP] != null) {
|
|
58317
|
+
contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]);
|
|
58318
|
+
}
|
|
58236
58319
|
if (output[_aS] != null) {
|
|
58237
58320
|
contents[_ASs] = de_RouteTableAssociationState(output[_aS], context);
|
|
58238
58321
|
}
|
|
@@ -58750,8 +58833,8 @@ var de_ServiceConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
58750
58833
|
} else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) {
|
|
58751
58834
|
contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context);
|
|
58752
58835
|
}
|
|
58753
|
-
if (output[
|
|
58754
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
58836
|
+
if (output[_pDNr] != null) {
|
|
58837
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
58755
58838
|
}
|
|
58756
58839
|
if (output[_pDNC] != null) {
|
|
58757
58840
|
contents[_PDNC] = de_PrivateDnsNameConfiguration(output[_pDNC], context);
|
|
@@ -58813,8 +58896,8 @@ var de_ServiceDetail = /* @__PURE__ */ __name((output, context) => {
|
|
|
58813
58896
|
} else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) {
|
|
58814
58897
|
contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context);
|
|
58815
58898
|
}
|
|
58816
|
-
if (output[
|
|
58817
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
58899
|
+
if (output[_pDNr] != null) {
|
|
58900
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
58818
58901
|
}
|
|
58819
58902
|
if (output.privateDnsNameSet === "") {
|
|
58820
58903
|
contents[_PDNr] = [];
|
|
@@ -64304,6 +64387,7 @@ var _Di = "Direction";
|
|
|
64304
64387
|
var _Dis = "Disks";
|
|
64305
64388
|
var _Do = "Domain";
|
|
64306
64389
|
var _Du = "Duration";
|
|
64390
|
+
var _Dua = "Dualstack";
|
|
64307
64391
|
var _E = "Ebs";
|
|
64308
64392
|
var _EA = "EnableAcceleration";
|
|
64309
64393
|
var _EAIS = "EnableAllowedImagesSettings";
|
|
@@ -65012,6 +65096,7 @@ var _MI = "ModifyIpam";
|
|
|
65012
65096
|
var _MIA = "ModifyImageAttribute";
|
|
65013
65097
|
var _MIAo = "ModifyInstanceAttribute";
|
|
65014
65098
|
var _MIC = "MaxInstanceCount";
|
|
65099
|
+
var _MICE = "ModifyInstanceConnectEndpoint";
|
|
65015
65100
|
var _MICO = "ModifyInstanceCpuOptions";
|
|
65016
65101
|
var _MICRA = "ModifyInstanceCapacityReservationAttributes";
|
|
65017
65102
|
var _MICS = "ModifyInstanceCreditSpecification";
|
|
@@ -65305,7 +65390,8 @@ var _PDNO = "PrivateDnsNameOptions";
|
|
|
65305
65390
|
var _PDNOOL = "PrivateDnsNameOptionsOnLaunch";
|
|
65306
65391
|
var _PDNVS = "PrivateDnsNameVerificationState";
|
|
65307
65392
|
var _PDNr = "PrivateDnsNames";
|
|
65308
|
-
var _PDNu = "
|
|
65393
|
+
var _PDNu = "PublicDnsNames";
|
|
65394
|
+
var _PDNub = "PublicDnsName";
|
|
65309
65395
|
var _PDOFIRE = "PrivateDnsOnlyForInboundResolverEndpoint";
|
|
65310
65396
|
var _PDRTI = "PropagationDefaultRouteTableId";
|
|
65311
65397
|
var _PDSDN = "PublicDualStackDnsName";
|
|
@@ -66635,6 +66721,7 @@ var _di = "direction";
|
|
|
66635
66721
|
var _dis = "disks";
|
|
66636
66722
|
var _do = "domain";
|
|
66637
66723
|
var _du = "duration";
|
|
66724
|
+
var _dua = "dualstack";
|
|
66638
66725
|
var _e = "egress";
|
|
66639
66726
|
var _eA = "eniAddress";
|
|
66640
66727
|
var _eAn = "enableAcceleration";
|
|
@@ -67019,6 +67106,7 @@ var _ins = "instances";
|
|
|
67019
67106
|
var _int = "interval";
|
|
67020
67107
|
var _io = "iops";
|
|
67021
67108
|
var _ip = "ipam";
|
|
67109
|
+
var _ipv = "ipv4";
|
|
67022
67110
|
var _is = "issuer";
|
|
67023
67111
|
var _k = "key";
|
|
67024
67112
|
var _kDF = "kinesisDataFirehose";
|
|
@@ -67358,12 +67446,13 @@ var _pDHG = "phase1DHGroup";
|
|
|
67358
67446
|
var _pDHGNS = "phase1DHGroupNumberSet";
|
|
67359
67447
|
var _pDHGNSh = "phase2DHGroupNumberSet";
|
|
67360
67448
|
var _pDHGh = "phase2DHGroup";
|
|
67361
|
-
var _pDN = "
|
|
67449
|
+
var _pDN = "publicDnsNames";
|
|
67362
67450
|
var _pDNC = "privateDnsNameConfiguration";
|
|
67363
67451
|
var _pDNO = "privateDnsNameOptions";
|
|
67364
67452
|
var _pDNOOL = "privateDnsNameOptionsOnLaunch";
|
|
67365
67453
|
var _pDNS = "privateDnsNameSet";
|
|
67366
67454
|
var _pDNVS = "privateDnsNameVerificationState";
|
|
67455
|
+
var _pDNr = "privateDnsName";
|
|
67367
67456
|
var _pDNu = "publicDnsName";
|
|
67368
67457
|
var _pDOFIRE = "privateDnsOnlyForInboundResolverEndpoint";
|
|
67369
67458
|
var _pDRTI = "propagationDefaultRouteTableId";
|
|
@@ -70742,7 +70831,10 @@ var Ec2InstanceConnectEndpointState = {
|
|
|
70742
70831
|
create_in_progress: "create-in-progress",
|
|
70743
70832
|
delete_complete: "delete-complete",
|
|
70744
70833
|
delete_failed: "delete-failed",
|
|
70745
|
-
delete_in_progress: "delete-in-progress"
|
|
70834
|
+
delete_in_progress: "delete-in-progress",
|
|
70835
|
+
update_complete: "update-complete",
|
|
70836
|
+
update_failed: "update-failed",
|
|
70837
|
+
update_in_progress: "update-in-progress"
|
|
70746
70838
|
};
|
|
70747
70839
|
var ContainerFormat = {
|
|
70748
70840
|
ova: "ova"
|
|
@@ -71785,17 +71877,6 @@ var VpcEndpointType = {
|
|
|
71785
71877
|
Resource: "Resource",
|
|
71786
71878
|
ServiceNetwork: "ServiceNetwork"
|
|
71787
71879
|
};
|
|
71788
|
-
var State = {
|
|
71789
|
-
Available: "Available",
|
|
71790
|
-
Deleted: "Deleted",
|
|
71791
|
-
Deleting: "Deleting",
|
|
71792
|
-
Expired: "Expired",
|
|
71793
|
-
Failed: "Failed",
|
|
71794
|
-
Partial: "Partial",
|
|
71795
|
-
Pending: "Pending",
|
|
71796
|
-
PendingAcceptance: "PendingAcceptance",
|
|
71797
|
-
Rejected: "Rejected"
|
|
71798
|
-
};
|
|
71799
71880
|
var ResponseLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
71800
71881
|
...obj,
|
|
71801
71882
|
...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -72749,6 +72830,17 @@ var CreateVpcPeeringConnectionCommand = class extends import_smithy_client.Comma
|
|
|
72749
72830
|
|
|
72750
72831
|
// src/models/models_3.ts
|
|
72751
72832
|
|
|
72833
|
+
var State = {
|
|
72834
|
+
Available: "Available",
|
|
72835
|
+
Deleted: "Deleted",
|
|
72836
|
+
Deleting: "Deleting",
|
|
72837
|
+
Expired: "Expired",
|
|
72838
|
+
Failed: "Failed",
|
|
72839
|
+
Partial: "Partial",
|
|
72840
|
+
Pending: "Pending",
|
|
72841
|
+
PendingAcceptance: "PendingAcceptance",
|
|
72842
|
+
Rejected: "Rejected"
|
|
72843
|
+
};
|
|
72752
72844
|
var ConnectionNotificationState = {
|
|
72753
72845
|
Disabled: "Disabled",
|
|
72754
72846
|
Enabled: "Enabled"
|
|
@@ -80043,6 +80135,21 @@ var ModifyInstanceCapacityReservationAttributesCommand = class extends import_sm
|
|
|
80043
80135
|
}
|
|
80044
80136
|
};
|
|
80045
80137
|
|
|
80138
|
+
// src/commands/ModifyInstanceConnectEndpointCommand.ts
|
|
80139
|
+
|
|
80140
|
+
|
|
80141
|
+
|
|
80142
|
+
var ModifyInstanceConnectEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
80143
|
+
return [
|
|
80144
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
80145
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
80146
|
+
];
|
|
80147
|
+
}).s("AmazonEC2", "ModifyInstanceConnectEndpoint", {}).n("EC2Client", "ModifyInstanceConnectEndpointCommand").f(void 0, void 0).ser(se_ModifyInstanceConnectEndpointCommand).de(de_ModifyInstanceConnectEndpointCommand).build() {
|
|
80148
|
+
static {
|
|
80149
|
+
__name(this, "ModifyInstanceConnectEndpointCommand");
|
|
80150
|
+
}
|
|
80151
|
+
};
|
|
80152
|
+
|
|
80046
80153
|
// src/commands/ModifyInstanceCpuOptionsCommand.ts
|
|
80047
80154
|
|
|
80048
80155
|
|
|
@@ -82637,6 +82744,7 @@ var commands = {
|
|
|
82637
82744
|
ModifyImageAttributeCommand,
|
|
82638
82745
|
ModifyInstanceAttributeCommand,
|
|
82639
82746
|
ModifyInstanceCapacityReservationAttributesCommand,
|
|
82747
|
+
ModifyInstanceConnectEndpointCommand,
|
|
82640
82748
|
ModifyInstanceCpuOptionsCommand,
|
|
82641
82749
|
ModifyInstanceCreditSpecificationCommand,
|
|
82642
82750
|
ModifyInstanceEventStartTimeCommand,
|
|
@@ -85973,6 +86081,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
85973
86081
|
ModifyImageAttributeCommand,
|
|
85974
86082
|
ModifyInstanceAttributeCommand,
|
|
85975
86083
|
ModifyInstanceCapacityReservationAttributesCommand,
|
|
86084
|
+
ModifyInstanceConnectEndpointCommand,
|
|
85976
86085
|
ModifyInstanceCpuOptionsCommand,
|
|
85977
86086
|
ModifyInstanceCreditSpecificationCommand,
|
|
85978
86087
|
ModifyInstanceEventStartTimeCommand,
|
|
@@ -86565,7 +86674,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
86565
86674
|
VpcBlockPublicAccessExclusionState,
|
|
86566
86675
|
DnsRecordIpType,
|
|
86567
86676
|
VpcEndpointType,
|
|
86568
|
-
State,
|
|
86569
86677
|
ResponseLaunchTemplateDataFilterSensitiveLog,
|
|
86570
86678
|
LaunchTemplateVersionFilterSensitiveLog,
|
|
86571
86679
|
CreateLaunchTemplateVersionResultFilterSensitiveLog,
|
|
@@ -86574,6 +86682,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
86574
86682
|
CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog,
|
|
86575
86683
|
CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog,
|
|
86576
86684
|
CreateVerifiedAccessTrustProviderResultFilterSensitiveLog,
|
|
86685
|
+
State,
|
|
86577
86686
|
ConnectionNotificationState,
|
|
86578
86687
|
ConnectionNotificationType,
|
|
86579
86688
|
PayerResponsibility,
|
package/dist-es/EC2.js
CHANGED
|
@@ -556,6 +556,7 @@ import { ModifyIdFormatCommand, } from "./commands/ModifyIdFormatCommand";
|
|
|
556
556
|
import { ModifyImageAttributeCommand, } from "./commands/ModifyImageAttributeCommand";
|
|
557
557
|
import { ModifyInstanceAttributeCommand, } from "./commands/ModifyInstanceAttributeCommand";
|
|
558
558
|
import { ModifyInstanceCapacityReservationAttributesCommand, } from "./commands/ModifyInstanceCapacityReservationAttributesCommand";
|
|
559
|
+
import { ModifyInstanceConnectEndpointCommand, } from "./commands/ModifyInstanceConnectEndpointCommand";
|
|
559
560
|
import { ModifyInstanceCpuOptionsCommand, } from "./commands/ModifyInstanceCpuOptionsCommand";
|
|
560
561
|
import { ModifyInstanceCreditSpecificationCommand, } from "./commands/ModifyInstanceCreditSpecificationCommand";
|
|
561
562
|
import { ModifyInstanceEventStartTimeCommand, } from "./commands/ModifyInstanceEventStartTimeCommand";
|
|
@@ -1246,6 +1247,7 @@ const commands = {
|
|
|
1246
1247
|
ModifyImageAttributeCommand,
|
|
1247
1248
|
ModifyInstanceAttributeCommand,
|
|
1248
1249
|
ModifyInstanceCapacityReservationAttributesCommand,
|
|
1250
|
+
ModifyInstanceConnectEndpointCommand,
|
|
1249
1251
|
ModifyInstanceCpuOptionsCommand,
|
|
1250
1252
|
ModifyInstanceCreditSpecificationCommand,
|
|
1251
1253
|
ModifyInstanceEventStartTimeCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ModifyInstanceConnectEndpointCommand, se_ModifyInstanceConnectEndpointCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ModifyInstanceConnectEndpointCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonEC2", "ModifyInstanceConnectEndpoint", {})
|
|
17
|
+
.n("EC2Client", "ModifyInstanceConnectEndpointCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ModifyInstanceConnectEndpointCommand)
|
|
20
|
+
.de(de_ModifyInstanceConnectEndpointCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -555,6 +555,7 @@ export * from "./ModifyIdentityIdFormatCommand";
|
|
|
555
555
|
export * from "./ModifyImageAttributeCommand";
|
|
556
556
|
export * from "./ModifyInstanceAttributeCommand";
|
|
557
557
|
export * from "./ModifyInstanceCapacityReservationAttributesCommand";
|
|
558
|
+
export * from "./ModifyInstanceConnectEndpointCommand";
|
|
558
559
|
export * from "./ModifyInstanceCpuOptionsCommand";
|
|
559
560
|
export * from "./ModifyInstanceCreditSpecificationCommand";
|
|
560
561
|
export * from "./ModifyInstanceEventStartTimeCommand";
|
|
@@ -1238,6 +1238,9 @@ export const Ec2InstanceConnectEndpointState = {
|
|
|
1238
1238
|
delete_complete: "delete-complete",
|
|
1239
1239
|
delete_failed: "delete-failed",
|
|
1240
1240
|
delete_in_progress: "delete-in-progress",
|
|
1241
|
+
update_complete: "update-complete",
|
|
1242
|
+
update_failed: "update-failed",
|
|
1243
|
+
update_in_progress: "update-in-progress",
|
|
1241
1244
|
};
|
|
1242
1245
|
export const ContainerFormat = {
|
|
1243
1246
|
ova: "ova",
|
|
@@ -385,17 +385,6 @@ export const VpcEndpointType = {
|
|
|
385
385
|
Resource: "Resource",
|
|
386
386
|
ServiceNetwork: "ServiceNetwork",
|
|
387
387
|
};
|
|
388
|
-
export const State = {
|
|
389
|
-
Available: "Available",
|
|
390
|
-
Deleted: "Deleted",
|
|
391
|
-
Deleting: "Deleting",
|
|
392
|
-
Expired: "Expired",
|
|
393
|
-
Failed: "Failed",
|
|
394
|
-
Partial: "Partial",
|
|
395
|
-
Pending: "Pending",
|
|
396
|
-
PendingAcceptance: "PendingAcceptance",
|
|
397
|
-
Rejected: "Rejected",
|
|
398
|
-
};
|
|
399
388
|
export const ResponseLaunchTemplateDataFilterSensitiveLog = (obj) => ({
|
|
400
389
|
...obj,
|
|
401
390
|
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { BundleTaskFilterSensitiveLog, VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const State = {
|
|
4
|
+
Available: "Available",
|
|
5
|
+
Deleted: "Deleted",
|
|
6
|
+
Deleting: "Deleting",
|
|
7
|
+
Expired: "Expired",
|
|
8
|
+
Failed: "Failed",
|
|
9
|
+
Partial: "Partial",
|
|
10
|
+
Pending: "Pending",
|
|
11
|
+
PendingAcceptance: "PendingAcceptance",
|
|
12
|
+
Rejected: "Rejected",
|
|
13
|
+
};
|
|
3
14
|
export const ConnectionNotificationState = {
|
|
4
15
|
Disabled: "Disabled",
|
|
5
16
|
Enabled: "Enabled",
|