@aws-sdk/client-ec2 3.866.0 → 3.871.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 +140 -36
- 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/models/models_5.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +104 -22
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +1 -2
- 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/DescribeVolumeStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVpcEndpointsCommand.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/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +41 -43
- package/dist-types/models/models_2.d.ts +44 -152
- package/dist-types/models/models_3.d.ts +153 -78
- package/dist-types/models/models_4.d.ts +77 -48
- package/dist-types/models/models_5.d.ts +51 -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_1.d.ts +12 -8
- package/dist-types/ts3.4/models/models_2.d.ts +8 -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 +14 -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);
|
|
@@ -33641,6 +33665,29 @@ var se_ModifyInstanceCapacityReservationAttributesRequest = /* @__PURE__ */ __na
|
|
|
33641
33665
|
}
|
|
33642
33666
|
return entries;
|
|
33643
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");
|
|
33644
33691
|
var se_ModifyInstanceCpuOptionsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
33645
33692
|
const entries = {};
|
|
33646
33693
|
if (input[_IIn] != null) {
|
|
@@ -47973,6 +48020,9 @@ var de_Ec2InstanceConnectEndpoint = /* @__PURE__ */ __name((output, context) =>
|
|
|
47973
48020
|
if (output[_iAT] != null) {
|
|
47974
48021
|
contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]);
|
|
47975
48022
|
}
|
|
48023
|
+
if (output[_pDN] != null) {
|
|
48024
|
+
contents[_PDNu] = de_InstanceConnectEndpointPublicDnsNames(output[_pDN], context);
|
|
48025
|
+
}
|
|
47976
48026
|
return contents;
|
|
47977
48027
|
}, "de_Ec2InstanceConnectEndpoint");
|
|
47978
48028
|
var de_EfaInfo = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -51156,11 +51206,11 @@ var de_Instance = /* @__PURE__ */ __name((output, context) => {
|
|
|
51156
51206
|
if (output[_iSnst] != null) {
|
|
51157
51207
|
contents[_Stat] = de_InstanceState(output[_iSnst], context);
|
|
51158
51208
|
}
|
|
51159
|
-
if (output[
|
|
51160
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
51209
|
+
if (output[_pDNr] != null) {
|
|
51210
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
51161
51211
|
}
|
|
51162
51212
|
if (output[_dNn] != null) {
|
|
51163
|
-
contents[
|
|
51213
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_dNn]);
|
|
51164
51214
|
}
|
|
51165
51215
|
if (output[_rea] != null) {
|
|
51166
51216
|
contents[_STRt] = (0, import_smithy_client.expectString)(output[_rea]);
|
|
@@ -51317,6 +51367,26 @@ var de_InstanceCapacity = /* @__PURE__ */ __name((output, context) => {
|
|
|
51317
51367
|
}
|
|
51318
51368
|
return contents;
|
|
51319
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");
|
|
51320
51390
|
var de_InstanceConnectEndpointSet = /* @__PURE__ */ __name((output, context) => {
|
|
51321
51391
|
return (output || []).filter((e) => e != null).map((entry) => {
|
|
51322
51392
|
return de_Ec2InstanceConnectEndpoint(entry, context);
|
|
@@ -51660,8 +51730,8 @@ var de_InstanceNetworkInterface = /* @__PURE__ */ __name((output, context) => {
|
|
|
51660
51730
|
if (output[_oI] != null) {
|
|
51661
51731
|
contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);
|
|
51662
51732
|
}
|
|
51663
|
-
if (output[
|
|
51664
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
51733
|
+
if (output[_pDNr] != null) {
|
|
51734
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
51665
51735
|
}
|
|
51666
51736
|
if (output[_pIAr] != null) {
|
|
51667
51737
|
contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIAr]);
|
|
@@ -51716,7 +51786,7 @@ var de_InstanceNetworkInterfaceAssociation = /* @__PURE__ */ __name((output, con
|
|
|
51716
51786
|
contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]);
|
|
51717
51787
|
}
|
|
51718
51788
|
if (output[_pDNu] != null) {
|
|
51719
|
-
contents[
|
|
51789
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_pDNu]);
|
|
51720
51790
|
}
|
|
51721
51791
|
if (output[_pI] != null) {
|
|
51722
51792
|
contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);
|
|
@@ -51859,8 +51929,8 @@ var de_InstancePrivateIpAddress = /* @__PURE__ */ __name((output, context) => {
|
|
|
51859
51929
|
if (output[_prim] != null) {
|
|
51860
51930
|
contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]);
|
|
51861
51931
|
}
|
|
51862
|
-
if (output[
|
|
51863
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
51932
|
+
if (output[_pDNr] != null) {
|
|
51933
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
51864
51934
|
}
|
|
51865
51935
|
if (output[_pIAr] != null) {
|
|
51866
51936
|
contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIAr]);
|
|
@@ -54669,6 +54739,13 @@ var de_ModifyInstanceCapacityReservationAttributesResult = /* @__PURE__ */ __nam
|
|
|
54669
54739
|
}
|
|
54670
54740
|
return contents;
|
|
54671
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");
|
|
54672
54749
|
var de_ModifyInstanceCpuOptionsResult = /* @__PURE__ */ __name((output, context) => {
|
|
54673
54750
|
const contents = {};
|
|
54674
54751
|
if (output[_iI] != null) {
|
|
@@ -55688,11 +55765,11 @@ var de_NetworkInterface = /* @__PURE__ */ __name((output, context) => {
|
|
|
55688
55765
|
if (output[_oI] != null) {
|
|
55689
55766
|
contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);
|
|
55690
55767
|
}
|
|
55691
|
-
if (output[
|
|
55692
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
55768
|
+
if (output[_pDNr] != null) {
|
|
55769
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
55693
55770
|
}
|
|
55694
55771
|
if (output[_pDNu] != null) {
|
|
55695
|
-
contents[
|
|
55772
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_pDNu]);
|
|
55696
55773
|
}
|
|
55697
55774
|
if (output[_pIDNO] != null) {
|
|
55698
55775
|
contents[_PIDNO] = de_PublicIpDnsNameOptions(output[_pIDNO], context);
|
|
@@ -55769,7 +55846,7 @@ var de_NetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) =>
|
|
|
55769
55846
|
contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]);
|
|
55770
55847
|
}
|
|
55771
55848
|
if (output[_pDNu] != null) {
|
|
55772
|
-
contents[
|
|
55849
|
+
contents[_PDNub] = (0, import_smithy_client.expectString)(output[_pDNu]);
|
|
55773
55850
|
}
|
|
55774
55851
|
if (output[_pI] != null) {
|
|
55775
55852
|
contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);
|
|
@@ -55899,8 +55976,8 @@ var de_NetworkInterfacePrivateIpAddress = /* @__PURE__ */ __name((output, contex
|
|
|
55899
55976
|
if (output[_prim] != null) {
|
|
55900
55977
|
contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]);
|
|
55901
55978
|
}
|
|
55902
|
-
if (output[
|
|
55903
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
55979
|
+
if (output[_pDNr] != null) {
|
|
55980
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
55904
55981
|
}
|
|
55905
55982
|
if (output[_pIAr] != null) {
|
|
55906
55983
|
contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIAr]);
|
|
@@ -56598,8 +56675,8 @@ var de_PrincipalIdFormatList = /* @__PURE__ */ __name((output, context) => {
|
|
|
56598
56675
|
}, "de_PrincipalIdFormatList");
|
|
56599
56676
|
var de_PrivateDnsDetails = /* @__PURE__ */ __name((output, context) => {
|
|
56600
56677
|
const contents = {};
|
|
56601
|
-
if (output[
|
|
56602
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
56678
|
+
if (output[_pDNr] != null) {
|
|
56679
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
56603
56680
|
}
|
|
56604
56681
|
return contents;
|
|
56605
56682
|
}, "de_PrivateDnsDetails");
|
|
@@ -58756,8 +58833,8 @@ var de_ServiceConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
58756
58833
|
} else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) {
|
|
58757
58834
|
contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context);
|
|
58758
58835
|
}
|
|
58759
|
-
if (output[
|
|
58760
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
58836
|
+
if (output[_pDNr] != null) {
|
|
58837
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
58761
58838
|
}
|
|
58762
58839
|
if (output[_pDNC] != null) {
|
|
58763
58840
|
contents[_PDNC] = de_PrivateDnsNameConfiguration(output[_pDNC], context);
|
|
@@ -58819,8 +58896,8 @@ var de_ServiceDetail = /* @__PURE__ */ __name((output, context) => {
|
|
|
58819
58896
|
} else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) {
|
|
58820
58897
|
contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context);
|
|
58821
58898
|
}
|
|
58822
|
-
if (output[
|
|
58823
|
-
contents[_PDN] = (0, import_smithy_client.expectString)(output[
|
|
58899
|
+
if (output[_pDNr] != null) {
|
|
58900
|
+
contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDNr]);
|
|
58824
58901
|
}
|
|
58825
58902
|
if (output.privateDnsNameSet === "") {
|
|
58826
58903
|
contents[_PDNr] = [];
|
|
@@ -64310,6 +64387,7 @@ var _Di = "Direction";
|
|
|
64310
64387
|
var _Dis = "Disks";
|
|
64311
64388
|
var _Do = "Domain";
|
|
64312
64389
|
var _Du = "Duration";
|
|
64390
|
+
var _Dua = "Dualstack";
|
|
64313
64391
|
var _E = "Ebs";
|
|
64314
64392
|
var _EA = "EnableAcceleration";
|
|
64315
64393
|
var _EAIS = "EnableAllowedImagesSettings";
|
|
@@ -65018,6 +65096,7 @@ var _MI = "ModifyIpam";
|
|
|
65018
65096
|
var _MIA = "ModifyImageAttribute";
|
|
65019
65097
|
var _MIAo = "ModifyInstanceAttribute";
|
|
65020
65098
|
var _MIC = "MaxInstanceCount";
|
|
65099
|
+
var _MICE = "ModifyInstanceConnectEndpoint";
|
|
65021
65100
|
var _MICO = "ModifyInstanceCpuOptions";
|
|
65022
65101
|
var _MICRA = "ModifyInstanceCapacityReservationAttributes";
|
|
65023
65102
|
var _MICS = "ModifyInstanceCreditSpecification";
|
|
@@ -65311,7 +65390,8 @@ var _PDNO = "PrivateDnsNameOptions";
|
|
|
65311
65390
|
var _PDNOOL = "PrivateDnsNameOptionsOnLaunch";
|
|
65312
65391
|
var _PDNVS = "PrivateDnsNameVerificationState";
|
|
65313
65392
|
var _PDNr = "PrivateDnsNames";
|
|
65314
|
-
var _PDNu = "
|
|
65393
|
+
var _PDNu = "PublicDnsNames";
|
|
65394
|
+
var _PDNub = "PublicDnsName";
|
|
65315
65395
|
var _PDOFIRE = "PrivateDnsOnlyForInboundResolverEndpoint";
|
|
65316
65396
|
var _PDRTI = "PropagationDefaultRouteTableId";
|
|
65317
65397
|
var _PDSDN = "PublicDualStackDnsName";
|
|
@@ -66641,6 +66721,7 @@ var _di = "direction";
|
|
|
66641
66721
|
var _dis = "disks";
|
|
66642
66722
|
var _do = "domain";
|
|
66643
66723
|
var _du = "duration";
|
|
66724
|
+
var _dua = "dualstack";
|
|
66644
66725
|
var _e = "egress";
|
|
66645
66726
|
var _eA = "eniAddress";
|
|
66646
66727
|
var _eAn = "enableAcceleration";
|
|
@@ -67025,6 +67106,7 @@ var _ins = "instances";
|
|
|
67025
67106
|
var _int = "interval";
|
|
67026
67107
|
var _io = "iops";
|
|
67027
67108
|
var _ip = "ipam";
|
|
67109
|
+
var _ipv = "ipv4";
|
|
67028
67110
|
var _is = "issuer";
|
|
67029
67111
|
var _k = "key";
|
|
67030
67112
|
var _kDF = "kinesisDataFirehose";
|
|
@@ -67364,12 +67446,13 @@ var _pDHG = "phase1DHGroup";
|
|
|
67364
67446
|
var _pDHGNS = "phase1DHGroupNumberSet";
|
|
67365
67447
|
var _pDHGNSh = "phase2DHGroupNumberSet";
|
|
67366
67448
|
var _pDHGh = "phase2DHGroup";
|
|
67367
|
-
var _pDN = "
|
|
67449
|
+
var _pDN = "publicDnsNames";
|
|
67368
67450
|
var _pDNC = "privateDnsNameConfiguration";
|
|
67369
67451
|
var _pDNO = "privateDnsNameOptions";
|
|
67370
67452
|
var _pDNOOL = "privateDnsNameOptionsOnLaunch";
|
|
67371
67453
|
var _pDNS = "privateDnsNameSet";
|
|
67372
67454
|
var _pDNVS = "privateDnsNameVerificationState";
|
|
67455
|
+
var _pDNr = "privateDnsName";
|
|
67373
67456
|
var _pDNu = "publicDnsName";
|
|
67374
67457
|
var _pDOFIRE = "privateDnsOnlyForInboundResolverEndpoint";
|
|
67375
67458
|
var _pDRTI = "propagationDefaultRouteTableId";
|
|
@@ -70748,7 +70831,10 @@ var Ec2InstanceConnectEndpointState = {
|
|
|
70748
70831
|
create_in_progress: "create-in-progress",
|
|
70749
70832
|
delete_complete: "delete-complete",
|
|
70750
70833
|
delete_failed: "delete-failed",
|
|
70751
|
-
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"
|
|
70752
70838
|
};
|
|
70753
70839
|
var ContainerFormat = {
|
|
70754
70840
|
ova: "ova"
|
|
@@ -71791,17 +71877,6 @@ var VpcEndpointType = {
|
|
|
71791
71877
|
Resource: "Resource",
|
|
71792
71878
|
ServiceNetwork: "ServiceNetwork"
|
|
71793
71879
|
};
|
|
71794
|
-
var State = {
|
|
71795
|
-
Available: "Available",
|
|
71796
|
-
Deleted: "Deleted",
|
|
71797
|
-
Deleting: "Deleting",
|
|
71798
|
-
Expired: "Expired",
|
|
71799
|
-
Failed: "Failed",
|
|
71800
|
-
Partial: "Partial",
|
|
71801
|
-
Pending: "Pending",
|
|
71802
|
-
PendingAcceptance: "PendingAcceptance",
|
|
71803
|
-
Rejected: "Rejected"
|
|
71804
|
-
};
|
|
71805
71880
|
var ResponseLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
71806
71881
|
...obj,
|
|
71807
71882
|
...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -72755,6 +72830,17 @@ var CreateVpcPeeringConnectionCommand = class extends import_smithy_client.Comma
|
|
|
72755
72830
|
|
|
72756
72831
|
// src/models/models_3.ts
|
|
72757
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
|
+
};
|
|
72758
72844
|
var ConnectionNotificationState = {
|
|
72759
72845
|
Disabled: "Disabled",
|
|
72760
72846
|
Enabled: "Enabled"
|
|
@@ -75978,7 +76064,8 @@ var VolumeStatusName = {
|
|
|
75978
76064
|
var VolumeStatusInfoStatus = {
|
|
75979
76065
|
impaired: "impaired",
|
|
75980
76066
|
insufficient_data: "insufficient-data",
|
|
75981
|
-
ok: "ok"
|
|
76067
|
+
ok: "ok",
|
|
76068
|
+
warning: "warning"
|
|
75982
76069
|
};
|
|
75983
76070
|
var VpcAttributeName = {
|
|
75984
76071
|
enableDnsHostnames: "enableDnsHostnames",
|
|
@@ -80049,6 +80136,21 @@ var ModifyInstanceCapacityReservationAttributesCommand = class extends import_sm
|
|
|
80049
80136
|
}
|
|
80050
80137
|
};
|
|
80051
80138
|
|
|
80139
|
+
// src/commands/ModifyInstanceConnectEndpointCommand.ts
|
|
80140
|
+
|
|
80141
|
+
|
|
80142
|
+
|
|
80143
|
+
var ModifyInstanceConnectEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
80144
|
+
return [
|
|
80145
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
80146
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
80147
|
+
];
|
|
80148
|
+
}).s("AmazonEC2", "ModifyInstanceConnectEndpoint", {}).n("EC2Client", "ModifyInstanceConnectEndpointCommand").f(void 0, void 0).ser(se_ModifyInstanceConnectEndpointCommand).de(de_ModifyInstanceConnectEndpointCommand).build() {
|
|
80149
|
+
static {
|
|
80150
|
+
__name(this, "ModifyInstanceConnectEndpointCommand");
|
|
80151
|
+
}
|
|
80152
|
+
};
|
|
80153
|
+
|
|
80052
80154
|
// src/commands/ModifyInstanceCpuOptionsCommand.ts
|
|
80053
80155
|
|
|
80054
80156
|
|
|
@@ -82643,6 +82745,7 @@ var commands = {
|
|
|
82643
82745
|
ModifyImageAttributeCommand,
|
|
82644
82746
|
ModifyInstanceAttributeCommand,
|
|
82645
82747
|
ModifyInstanceCapacityReservationAttributesCommand,
|
|
82748
|
+
ModifyInstanceConnectEndpointCommand,
|
|
82646
82749
|
ModifyInstanceCpuOptionsCommand,
|
|
82647
82750
|
ModifyInstanceCreditSpecificationCommand,
|
|
82648
82751
|
ModifyInstanceEventStartTimeCommand,
|
|
@@ -85979,6 +86082,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
85979
86082
|
ModifyImageAttributeCommand,
|
|
85980
86083
|
ModifyInstanceAttributeCommand,
|
|
85981
86084
|
ModifyInstanceCapacityReservationAttributesCommand,
|
|
86085
|
+
ModifyInstanceConnectEndpointCommand,
|
|
85982
86086
|
ModifyInstanceCpuOptionsCommand,
|
|
85983
86087
|
ModifyInstanceCreditSpecificationCommand,
|
|
85984
86088
|
ModifyInstanceEventStartTimeCommand,
|
|
@@ -86571,7 +86675,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
86571
86675
|
VpcBlockPublicAccessExclusionState,
|
|
86572
86676
|
DnsRecordIpType,
|
|
86573
86677
|
VpcEndpointType,
|
|
86574
|
-
State,
|
|
86575
86678
|
ResponseLaunchTemplateDataFilterSensitiveLog,
|
|
86576
86679
|
LaunchTemplateVersionFilterSensitiveLog,
|
|
86577
86680
|
CreateLaunchTemplateVersionResultFilterSensitiveLog,
|
|
@@ -86580,6 +86683,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
86580
86683
|
CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog,
|
|
86581
86684
|
CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog,
|
|
86582
86685
|
CreateVerifiedAccessTrustProviderResultFilterSensitiveLog,
|
|
86686
|
+
State,
|
|
86583
86687
|
ConnectionNotificationState,
|
|
86584
86688
|
ConnectionNotificationType,
|
|
86585
86689
|
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",
|