@aws-sdk/client-ec2 3.682.0 → 3.686.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 +24 -0
- package/dist-cjs/index.js +455 -150
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/AssociateSecurityGroupVpcCommand.js +22 -0
- package/dist-es/commands/DescribeSecurityGroupVpcAssociationsCommand.js +22 -0
- package/dist-es/commands/DisassociateSecurityGroupVpcCommand.js +22 -0
- package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/models/models_3.js +0 -15
- package/dist-es/models/models_4.js +15 -6
- package/dist-es/models/models_5.js +6 -6
- package/dist-es/models/models_6.js +6 -13
- package/dist-es/models/models_7.js +14 -0
- package/dist-es/pagination/DescribeSecurityGroupVpcAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +248 -3
- package/dist-types/EC2.d.ts +22 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +92 -0
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -0
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -0
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -2
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -2
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +90 -0
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -2
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +8 -3
- package/dist-types/commands/DisassociateSecurityGroupVpcCommand.d.ts +75 -0
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -1
- package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +15 -0
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +15 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +53 -254
- package/dist-types/models/models_1.d.ts +259 -111
- package/dist-types/models/models_2.d.ts +117 -72
- package/dist-types/models/models_3.d.ts +72 -58
- package/dist-types/models/models_4.d.ts +179 -182
- package/dist-types/models/models_5.d.ts +205 -139
- package/dist-types/models/models_6.d.ts +134 -316
- package/dist-types/models/models_7.d.ts +389 -6
- package/dist-types/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +58 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateSecurityGroupVpcCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -37
- package/dist-types/ts3.4/models/models_1.d.ts +43 -25
- package/dist-types/ts3.4/models/models_2.d.ts +24 -15
- package/dist-types/ts3.4/models/models_3.d.ts +16 -24
- package/dist-types/ts3.4/models/models_4.d.ts +42 -38
- package/dist-types/ts3.4/models/models_5.d.ts +47 -41
- package/dist-types/ts3.4/models/models_6.d.ts +36 -68
- package/dist-types/ts3.4/models/models_7.d.ts +90 -2
- package/dist-types/ts3.4/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +37 -37
|
@@ -273,6 +273,16 @@ export const se_AssociateRouteTableCommand = async (input, context) => {
|
|
|
273
273
|
});
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
276
|
+
export const se_AssociateSecurityGroupVpcCommand = async (input, context) => {
|
|
277
|
+
const headers = SHARED_HEADERS;
|
|
278
|
+
let body;
|
|
279
|
+
body = buildFormUrlencodedString({
|
|
280
|
+
...se_AssociateSecurityGroupVpcRequest(input, context),
|
|
281
|
+
[_A]: _ASGV,
|
|
282
|
+
[_V]: _,
|
|
283
|
+
});
|
|
284
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
285
|
+
};
|
|
276
286
|
export const se_AssociateSubnetCidrBlockCommand = async (input, context) => {
|
|
277
287
|
const headers = SHARED_HEADERS;
|
|
278
288
|
let body;
|
|
@@ -3283,6 +3293,16 @@ export const se_DescribeSecurityGroupsCommand = async (input, context) => {
|
|
|
3283
3293
|
});
|
|
3284
3294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3285
3295
|
};
|
|
3296
|
+
export const se_DescribeSecurityGroupVpcAssociationsCommand = async (input, context) => {
|
|
3297
|
+
const headers = SHARED_HEADERS;
|
|
3298
|
+
let body;
|
|
3299
|
+
body = buildFormUrlencodedString({
|
|
3300
|
+
...se_DescribeSecurityGroupVpcAssociationsRequest(input, context),
|
|
3301
|
+
[_A]: _DSGVA,
|
|
3302
|
+
[_V]: _,
|
|
3303
|
+
});
|
|
3304
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3305
|
+
};
|
|
3286
3306
|
export const se_DescribeSnapshotAttributeCommand = async (input, context) => {
|
|
3287
3307
|
const headers = SHARED_HEADERS;
|
|
3288
3308
|
let body;
|
|
@@ -4103,6 +4123,16 @@ export const se_DisassociateRouteTableCommand = async (input, context) => {
|
|
|
4103
4123
|
});
|
|
4104
4124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4105
4125
|
};
|
|
4126
|
+
export const se_DisassociateSecurityGroupVpcCommand = async (input, context) => {
|
|
4127
|
+
const headers = SHARED_HEADERS;
|
|
4128
|
+
let body;
|
|
4129
|
+
body = buildFormUrlencodedString({
|
|
4130
|
+
...se_DisassociateSecurityGroupVpcRequest(input, context),
|
|
4131
|
+
[_A]: _DSGV,
|
|
4132
|
+
[_V]: _,
|
|
4133
|
+
});
|
|
4134
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4135
|
+
};
|
|
4106
4136
|
export const se_DisassociateSubnetCidrBlockCommand = async (input, context) => {
|
|
4107
4137
|
const headers = SHARED_HEADERS;
|
|
4108
4138
|
let body;
|
|
@@ -6691,6 +6721,19 @@ export const de_AssociateRouteTableCommand = async (output, context) => {
|
|
|
6691
6721
|
};
|
|
6692
6722
|
return response;
|
|
6693
6723
|
};
|
|
6724
|
+
export const de_AssociateSecurityGroupVpcCommand = async (output, context) => {
|
|
6725
|
+
if (output.statusCode >= 300) {
|
|
6726
|
+
return de_CommandError(output, context);
|
|
6727
|
+
}
|
|
6728
|
+
const data = await parseBody(output.body, context);
|
|
6729
|
+
let contents = {};
|
|
6730
|
+
contents = de_AssociateSecurityGroupVpcResult(data, context);
|
|
6731
|
+
const response = {
|
|
6732
|
+
$metadata: deserializeMetadata(output),
|
|
6733
|
+
...contents,
|
|
6734
|
+
};
|
|
6735
|
+
return response;
|
|
6736
|
+
};
|
|
6694
6737
|
export const de_AssociateSubnetCidrBlockCommand = async (output, context) => {
|
|
6695
6738
|
if (output.statusCode >= 300) {
|
|
6696
6739
|
return de_CommandError(output, context);
|
|
@@ -10526,6 +10569,19 @@ export const de_DescribeSecurityGroupsCommand = async (output, context) => {
|
|
|
10526
10569
|
};
|
|
10527
10570
|
return response;
|
|
10528
10571
|
};
|
|
10572
|
+
export const de_DescribeSecurityGroupVpcAssociationsCommand = async (output, context) => {
|
|
10573
|
+
if (output.statusCode >= 300) {
|
|
10574
|
+
return de_CommandError(output, context);
|
|
10575
|
+
}
|
|
10576
|
+
const data = await parseBody(output.body, context);
|
|
10577
|
+
let contents = {};
|
|
10578
|
+
contents = de_DescribeSecurityGroupVpcAssociationsResult(data, context);
|
|
10579
|
+
const response = {
|
|
10580
|
+
$metadata: deserializeMetadata(output),
|
|
10581
|
+
...contents,
|
|
10582
|
+
};
|
|
10583
|
+
return response;
|
|
10584
|
+
};
|
|
10529
10585
|
export const de_DescribeSnapshotAttributeCommand = async (output, context) => {
|
|
10530
10586
|
if (output.statusCode >= 300) {
|
|
10531
10587
|
return de_CommandError(output, context);
|
|
@@ -11574,6 +11630,19 @@ export const de_DisassociateRouteTableCommand = async (output, context) => {
|
|
|
11574
11630
|
};
|
|
11575
11631
|
return response;
|
|
11576
11632
|
};
|
|
11633
|
+
export const de_DisassociateSecurityGroupVpcCommand = async (output, context) => {
|
|
11634
|
+
if (output.statusCode >= 300) {
|
|
11635
|
+
return de_CommandError(output, context);
|
|
11636
|
+
}
|
|
11637
|
+
const data = await parseBody(output.body, context);
|
|
11638
|
+
let contents = {};
|
|
11639
|
+
contents = de_DisassociateSecurityGroupVpcResult(data, context);
|
|
11640
|
+
const response = {
|
|
11641
|
+
$metadata: deserializeMetadata(output),
|
|
11642
|
+
...contents,
|
|
11643
|
+
};
|
|
11644
|
+
return response;
|
|
11645
|
+
};
|
|
11577
11646
|
export const de_DisassociateSubnetCidrBlockCommand = async (output, context) => {
|
|
11578
11647
|
if (output.statusCode >= 300) {
|
|
11579
11648
|
return de_CommandError(output, context);
|
|
@@ -15230,6 +15299,19 @@ const se_AssociateRouteTableRequest = (input, context) => {
|
|
|
15230
15299
|
}
|
|
15231
15300
|
return entries;
|
|
15232
15301
|
};
|
|
15302
|
+
const se_AssociateSecurityGroupVpcRequest = (input, context) => {
|
|
15303
|
+
const entries = {};
|
|
15304
|
+
if (input[_GIr] != null) {
|
|
15305
|
+
entries[_GIr] = input[_GIr];
|
|
15306
|
+
}
|
|
15307
|
+
if (input[_VI] != null) {
|
|
15308
|
+
entries[_VI] = input[_VI];
|
|
15309
|
+
}
|
|
15310
|
+
if (input[_DRr] != null) {
|
|
15311
|
+
entries[_DRr] = input[_DRr];
|
|
15312
|
+
}
|
|
15313
|
+
return entries;
|
|
15314
|
+
};
|
|
15233
15315
|
const se_AssociateSubnetCidrBlockRequest = (input, context) => {
|
|
15234
15316
|
const entries = {};
|
|
15235
15317
|
if (input[_IIPI] != null) {
|
|
@@ -22940,6 +23022,26 @@ const se_DescribeSecurityGroupsRequest = (input, context) => {
|
|
|
22940
23022
|
}
|
|
22941
23023
|
return entries;
|
|
22942
23024
|
};
|
|
23025
|
+
const se_DescribeSecurityGroupVpcAssociationsRequest = (input, context) => {
|
|
23026
|
+
const entries = {};
|
|
23027
|
+
if (input[_Fi] != null) {
|
|
23028
|
+
const memberEntries = se_FilterList(input[_Fi], context);
|
|
23029
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
23030
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
23031
|
+
entries[loc] = value;
|
|
23032
|
+
});
|
|
23033
|
+
}
|
|
23034
|
+
if (input[_NT] != null) {
|
|
23035
|
+
entries[_NT] = input[_NT];
|
|
23036
|
+
}
|
|
23037
|
+
if (input[_MR] != null) {
|
|
23038
|
+
entries[_MR] = input[_MR];
|
|
23039
|
+
}
|
|
23040
|
+
if (input[_DRr] != null) {
|
|
23041
|
+
entries[_DRr] = input[_DRr];
|
|
23042
|
+
}
|
|
23043
|
+
return entries;
|
|
23044
|
+
};
|
|
22943
23045
|
const se_DescribeSnapshotAttributeRequest = (input, context) => {
|
|
22944
23046
|
const entries = {};
|
|
22945
23047
|
if (input[_At] != null) {
|
|
@@ -24607,6 +24709,19 @@ const se_DisassociateRouteTableRequest = (input, context) => {
|
|
|
24607
24709
|
}
|
|
24608
24710
|
return entries;
|
|
24609
24711
|
};
|
|
24712
|
+
const se_DisassociateSecurityGroupVpcRequest = (input, context) => {
|
|
24713
|
+
const entries = {};
|
|
24714
|
+
if (input[_GIr] != null) {
|
|
24715
|
+
entries[_GIr] = input[_GIr];
|
|
24716
|
+
}
|
|
24717
|
+
if (input[_VI] != null) {
|
|
24718
|
+
entries[_VI] = input[_VI];
|
|
24719
|
+
}
|
|
24720
|
+
if (input[_DRr] != null) {
|
|
24721
|
+
entries[_DRr] = input[_DRr];
|
|
24722
|
+
}
|
|
24723
|
+
return entries;
|
|
24724
|
+
};
|
|
24610
24725
|
const se_DisassociateSubnetCidrBlockRequest = (input, context) => {
|
|
24611
24726
|
const entries = {};
|
|
24612
24727
|
if (input[_AIss] != null) {
|
|
@@ -36930,6 +37045,13 @@ const de_AssociateRouteTableResult = (output, context) => {
|
|
|
36930
37045
|
}
|
|
36931
37046
|
return contents;
|
|
36932
37047
|
};
|
|
37048
|
+
const de_AssociateSecurityGroupVpcResult = (output, context) => {
|
|
37049
|
+
const contents = {};
|
|
37050
|
+
if (output[_st] != null) {
|
|
37051
|
+
contents[_Stat] = __expectString(output[_st]);
|
|
37052
|
+
}
|
|
37053
|
+
return contents;
|
|
37054
|
+
};
|
|
36933
37055
|
const de_AssociateSubnetCidrBlockResult = (output, context) => {
|
|
36934
37056
|
const contents = {};
|
|
36935
37057
|
if (output[_iCBA] != null) {
|
|
@@ -38993,6 +39115,9 @@ const de_CreateSecurityGroupResult = (output, context) => {
|
|
|
38993
39115
|
else if (output[_tS] != null && output[_tS][_i] != null) {
|
|
38994
39116
|
contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_tS][_i]), context);
|
|
38995
39117
|
}
|
|
39118
|
+
if (output[_sGA] != null) {
|
|
39119
|
+
contents[_SGA] = __expectString(output[_sGA]);
|
|
39120
|
+
}
|
|
38996
39121
|
return contents;
|
|
38997
39122
|
};
|
|
38998
39123
|
const de_CreateSnapshotsResult = (output, context) => {
|
|
@@ -41376,6 +41501,19 @@ const de_DescribeSecurityGroupsResult = (output, context) => {
|
|
|
41376
41501
|
}
|
|
41377
41502
|
return contents;
|
|
41378
41503
|
};
|
|
41504
|
+
const de_DescribeSecurityGroupVpcAssociationsResult = (output, context) => {
|
|
41505
|
+
const contents = {};
|
|
41506
|
+
if (output.securityGroupVpcAssociationSet === "") {
|
|
41507
|
+
contents[_SGVA] = [];
|
|
41508
|
+
}
|
|
41509
|
+
else if (output[_sGVAS] != null && output[_sGVAS][_i] != null) {
|
|
41510
|
+
contents[_SGVA] = de_SecurityGroupVpcAssociationList(__getArrayIfSingleItem(output[_sGVAS][_i]), context);
|
|
41511
|
+
}
|
|
41512
|
+
if (output[_nTe] != null) {
|
|
41513
|
+
contents[_NT] = __expectString(output[_nTe]);
|
|
41514
|
+
}
|
|
41515
|
+
return contents;
|
|
41516
|
+
};
|
|
41379
41517
|
const de_DescribeSnapshotAttributeResult = (output, context) => {
|
|
41380
41518
|
const contents = {};
|
|
41381
41519
|
if (output.productCodes === "") {
|
|
@@ -42438,6 +42576,13 @@ const de_DisassociateNatGatewayAddressResult = (output, context) => {
|
|
|
42438
42576
|
}
|
|
42439
42577
|
return contents;
|
|
42440
42578
|
};
|
|
42579
|
+
const de_DisassociateSecurityGroupVpcResult = (output, context) => {
|
|
42580
|
+
const contents = {};
|
|
42581
|
+
if (output[_st] != null) {
|
|
42582
|
+
contents[_Stat] = __expectString(output[_st]);
|
|
42583
|
+
}
|
|
42584
|
+
return contents;
|
|
42585
|
+
};
|
|
42441
42586
|
const de_DisassociateSubnetCidrBlockResult = (output, context) => {
|
|
42442
42587
|
const contents = {};
|
|
42443
42588
|
if (output[_iCBA] != null) {
|
|
@@ -52580,6 +52725,50 @@ const de_RevokeClientVpnIngressResult = (output, context) => {
|
|
|
52580
52725
|
}
|
|
52581
52726
|
return contents;
|
|
52582
52727
|
};
|
|
52728
|
+
const de_RevokedSecurityGroupRule = (output, context) => {
|
|
52729
|
+
const contents = {};
|
|
52730
|
+
if (output[_sGRI] != null) {
|
|
52731
|
+
contents[_SGRIe] = __expectString(output[_sGRI]);
|
|
52732
|
+
}
|
|
52733
|
+
if (output[_gIr] != null) {
|
|
52734
|
+
contents[_GIr] = __expectString(output[_gIr]);
|
|
52735
|
+
}
|
|
52736
|
+
if (output[_iEs] != null) {
|
|
52737
|
+
contents[_IE] = __parseBoolean(output[_iEs]);
|
|
52738
|
+
}
|
|
52739
|
+
if (output[_iPpr] != null) {
|
|
52740
|
+
contents[_IPpr] = __expectString(output[_iPpr]);
|
|
52741
|
+
}
|
|
52742
|
+
if (output[_fP] != null) {
|
|
52743
|
+
contents[_FP] = __strictParseInt32(output[_fP]);
|
|
52744
|
+
}
|
|
52745
|
+
if (output[_tPo] != null) {
|
|
52746
|
+
contents[_TP] = __strictParseInt32(output[_tPo]);
|
|
52747
|
+
}
|
|
52748
|
+
if (output[_cIidr] != null) {
|
|
52749
|
+
contents[_CIidr] = __expectString(output[_cIidr]);
|
|
52750
|
+
}
|
|
52751
|
+
if (output[_cIid] != null) {
|
|
52752
|
+
contents[_CIid] = __expectString(output[_cIid]);
|
|
52753
|
+
}
|
|
52754
|
+
if (output[_pLI] != null) {
|
|
52755
|
+
contents[_PLI] = __expectString(output[_pLI]);
|
|
52756
|
+
}
|
|
52757
|
+
if (output[_rGI] != null) {
|
|
52758
|
+
contents[_RGI] = __expectString(output[_rGI]);
|
|
52759
|
+
}
|
|
52760
|
+
if (output[_de] != null) {
|
|
52761
|
+
contents[_De] = __expectString(output[_de]);
|
|
52762
|
+
}
|
|
52763
|
+
return contents;
|
|
52764
|
+
};
|
|
52765
|
+
const de_RevokedSecurityGroupRuleList = (output, context) => {
|
|
52766
|
+
return (output || [])
|
|
52767
|
+
.filter((e) => e != null)
|
|
52768
|
+
.map((entry) => {
|
|
52769
|
+
return de_RevokedSecurityGroupRule(entry, context);
|
|
52770
|
+
});
|
|
52771
|
+
};
|
|
52583
52772
|
const de_RevokeSecurityGroupEgressResult = (output, context) => {
|
|
52584
52773
|
const contents = {};
|
|
52585
52774
|
if (output[_r] != null) {
|
|
@@ -52591,6 +52780,12 @@ const de_RevokeSecurityGroupEgressResult = (output, context) => {
|
|
|
52591
52780
|
else if (output[_uIPS] != null && output[_uIPS][_i] != null) {
|
|
52592
52781
|
contents[_UIP] = de_IpPermissionList(__getArrayIfSingleItem(output[_uIPS][_i]), context);
|
|
52593
52782
|
}
|
|
52783
|
+
if (output.revokedSecurityGroupRuleSet === "") {
|
|
52784
|
+
contents[_RSGR] = [];
|
|
52785
|
+
}
|
|
52786
|
+
else if (output[_rSGRS] != null && output[_rSGRS][_i] != null) {
|
|
52787
|
+
contents[_RSGR] = de_RevokedSecurityGroupRuleList(__getArrayIfSingleItem(output[_rSGRS][_i]), context);
|
|
52788
|
+
}
|
|
52594
52789
|
return contents;
|
|
52595
52790
|
};
|
|
52596
52791
|
const de_RevokeSecurityGroupIngressResult = (output, context) => {
|
|
@@ -52604,6 +52799,12 @@ const de_RevokeSecurityGroupIngressResult = (output, context) => {
|
|
|
52604
52799
|
else if (output[_uIPS] != null && output[_uIPS][_i] != null) {
|
|
52605
52800
|
contents[_UIP] = de_IpPermissionList(__getArrayIfSingleItem(output[_uIPS][_i]), context);
|
|
52606
52801
|
}
|
|
52802
|
+
if (output.revokedSecurityGroupRuleSet === "") {
|
|
52803
|
+
contents[_RSGR] = [];
|
|
52804
|
+
}
|
|
52805
|
+
else if (output[_rSGRS] != null && output[_rSGRS][_i] != null) {
|
|
52806
|
+
contents[_RSGR] = de_RevokedSecurityGroupRuleList(__getArrayIfSingleItem(output[_rSGRS][_i]), context);
|
|
52807
|
+
}
|
|
52607
52808
|
return contents;
|
|
52608
52809
|
};
|
|
52609
52810
|
const de_RootDeviceTypeList = (output, context) => {
|
|
@@ -53035,6 +53236,9 @@ const de_SecurityGroup = (output, context) => {
|
|
|
53035
53236
|
if (output[_vI] != null) {
|
|
53036
53237
|
contents[_VI] = __expectString(output[_vI]);
|
|
53037
53238
|
}
|
|
53239
|
+
if (output[_sGA] != null) {
|
|
53240
|
+
contents[_SGA] = __expectString(output[_sGA]);
|
|
53241
|
+
}
|
|
53038
53242
|
if (output[_oI] != null) {
|
|
53039
53243
|
contents[_OIwn] = __expectString(output[_oI]);
|
|
53040
53244
|
}
|
|
@@ -53177,8 +53381,8 @@ const de_SecurityGroupRule = (output, context) => {
|
|
|
53177
53381
|
if (output[_pLI] != null) {
|
|
53178
53382
|
contents[_PLI] = __expectString(output[_pLI]);
|
|
53179
53383
|
}
|
|
53180
|
-
if (output[
|
|
53181
|
-
contents[_RGIe] = de_ReferencedSecurityGroup(output[
|
|
53384
|
+
if (output[_rGIe] != null) {
|
|
53385
|
+
contents[_RGIe] = de_ReferencedSecurityGroup(output[_rGIe], context);
|
|
53182
53386
|
}
|
|
53183
53387
|
if (output[_de] != null) {
|
|
53184
53388
|
contents[_De] = __expectString(output[_de]);
|
|
@@ -53189,6 +53393,9 @@ const de_SecurityGroupRule = (output, context) => {
|
|
|
53189
53393
|
else if (output[_tS] != null && output[_tS][_i] != null) {
|
|
53190
53394
|
contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_tS][_i]), context);
|
|
53191
53395
|
}
|
|
53396
|
+
if (output[_sGRA] != null) {
|
|
53397
|
+
contents[_SGRA] = __expectString(output[_sGRA]);
|
|
53398
|
+
}
|
|
53192
53399
|
return contents;
|
|
53193
53400
|
};
|
|
53194
53401
|
const de_SecurityGroupRuleList = (output, context) => {
|
|
@@ -53198,6 +53405,32 @@ const de_SecurityGroupRuleList = (output, context) => {
|
|
|
53198
53405
|
return de_SecurityGroupRule(entry, context);
|
|
53199
53406
|
});
|
|
53200
53407
|
};
|
|
53408
|
+
const de_SecurityGroupVpcAssociation = (output, context) => {
|
|
53409
|
+
const contents = {};
|
|
53410
|
+
if (output[_gIr] != null) {
|
|
53411
|
+
contents[_GIr] = __expectString(output[_gIr]);
|
|
53412
|
+
}
|
|
53413
|
+
if (output[_vI] != null) {
|
|
53414
|
+
contents[_VI] = __expectString(output[_vI]);
|
|
53415
|
+
}
|
|
53416
|
+
if (output[_vOIp] != null) {
|
|
53417
|
+
contents[_VOIp] = __expectString(output[_vOIp]);
|
|
53418
|
+
}
|
|
53419
|
+
if (output[_st] != null) {
|
|
53420
|
+
contents[_Stat] = __expectString(output[_st]);
|
|
53421
|
+
}
|
|
53422
|
+
if (output[_sR] != null) {
|
|
53423
|
+
contents[_SRt] = __expectString(output[_sR]);
|
|
53424
|
+
}
|
|
53425
|
+
return contents;
|
|
53426
|
+
};
|
|
53427
|
+
const de_SecurityGroupVpcAssociationList = (output, context) => {
|
|
53428
|
+
return (output || [])
|
|
53429
|
+
.filter((e) => e != null)
|
|
53430
|
+
.map((entry) => {
|
|
53431
|
+
return de_SecurityGroupVpcAssociation(entry, context);
|
|
53432
|
+
});
|
|
53433
|
+
};
|
|
53201
53434
|
const de_ServiceConfiguration = (output, context) => {
|
|
53202
53435
|
const contents = {};
|
|
53203
53436
|
if (output.serviceType === "") {
|
|
@@ -57743,6 +57976,7 @@ const _ASGE = "AuthorizeSecurityGroupEgress";
|
|
|
57743
57976
|
const _ASGI = "AuthorizeSecurityGroupIngress";
|
|
57744
57977
|
const _ASGId = "AddSecurityGroupIds";
|
|
57745
57978
|
const _ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork";
|
|
57979
|
+
const _ASGV = "AssociateSecurityGroupVpc";
|
|
57746
57980
|
const _ASI = "AddSubnetIds";
|
|
57747
57981
|
const _ASIAT = "AddSupportedIpAddressTypes";
|
|
57748
57982
|
const _ASS = "AmdSevSnp";
|
|
@@ -58369,6 +58603,8 @@ const _DSFRH = "DescribeSpotFleetRequestHistory";
|
|
|
58369
58603
|
const _DSG = "DeleteSecurityGroup";
|
|
58370
58604
|
const _DSGR = "DescribeSecurityGroupReferences";
|
|
58371
58605
|
const _DSGRe = "DescribeSecurityGroupRules";
|
|
58606
|
+
const _DSGV = "DisassociateSecurityGroupVpc";
|
|
58607
|
+
const _DSGVA = "DescribeSecurityGroupVpcAssociations";
|
|
58372
58608
|
const _DSGe = "DescribeSecurityGroups";
|
|
58373
58609
|
const _DSI = "DescribeScheduledInstances";
|
|
58374
58610
|
const _DSIA = "DescribeScheduledInstanceAvailability";
|
|
@@ -59643,6 +59879,7 @@ const _RSFRB = "RestoreSnapshotFromRecycleBin";
|
|
|
59643
59879
|
const _RSGE = "RevokeSecurityGroupEgress";
|
|
59644
59880
|
const _RSGI = "RevokeSecurityGroupIngress";
|
|
59645
59881
|
const _RSGIe = "RemoveSecurityGroupIds";
|
|
59882
|
+
const _RSGR = "RevokedSecurityGroupRules";
|
|
59646
59883
|
const _RSI = "RequestSpotInstances";
|
|
59647
59884
|
const _RSIAT = "RemoveSupportedIpAddressTypes";
|
|
59648
59885
|
const _RSIe = "RemoveSubnetIds";
|
|
@@ -59746,16 +59983,19 @@ const _SFRI = "SpotFleetRequestIds";
|
|
|
59746
59983
|
const _SFRIp = "SpotFleetRequestId";
|
|
59747
59984
|
const _SFRS = "SpotFleetRequestState";
|
|
59748
59985
|
const _SG = "SecurityGroups";
|
|
59986
|
+
const _SGA = "SecurityGroupArn";
|
|
59749
59987
|
const _SGFV = "SecurityGroupForVpcs";
|
|
59750
59988
|
const _SGI = "SecurityGroupIds";
|
|
59751
59989
|
const _SGIe = "SecurityGroupId";
|
|
59752
59990
|
const _SGR = "SecurityGroupRules";
|
|
59991
|
+
const _SGRA = "SecurityGroupRuleArn";
|
|
59753
59992
|
const _SGRD = "SecurityGroupRuleDescriptions";
|
|
59754
59993
|
const _SGRI = "SecurityGroupRuleIds";
|
|
59755
59994
|
const _SGRIe = "SecurityGroupRuleId";
|
|
59756
59995
|
const _SGRS = "SecurityGroupReferencingSupport";
|
|
59757
59996
|
const _SGRSe = "SecurityGroupReferenceSet";
|
|
59758
59997
|
const _SGRe = "SecurityGroupRule";
|
|
59998
|
+
const _SGVA = "SecurityGroupVpcAssociations";
|
|
59759
59999
|
const _SGe = "SecurityGroup";
|
|
59760
60000
|
const _SH = "StartHour";
|
|
59761
60001
|
const _SI = "StartInstances";
|
|
@@ -61355,7 +61595,8 @@ const _rET = "restoreExpiryTime";
|
|
|
61355
61595
|
const _rEe = "regionEndpoint";
|
|
61356
61596
|
const _rFP = "rekeyFuzzPercentage";
|
|
61357
61597
|
const _rGA = "ruleGroupArn";
|
|
61358
|
-
const _rGI = "
|
|
61598
|
+
const _rGI = "referencedGroupId";
|
|
61599
|
+
const _rGIe = "referencedGroupInfo";
|
|
61359
61600
|
const _rGROPS = "ruleGroupRuleOptionsPairSet";
|
|
61360
61601
|
const _rGT = "ruleGroupType";
|
|
61361
61602
|
const _rGTPS = "ruleGroupTypePairSet";
|
|
@@ -61399,6 +61640,7 @@ const _rRVT = "replaceRootVolumeTask";
|
|
|
61399
61640
|
const _rRVTI = "replaceRootVolumeTaskId";
|
|
61400
61641
|
const _rRVTS = "replaceRootVolumeTaskSet";
|
|
61401
61642
|
const _rS = "reservationSet";
|
|
61643
|
+
const _rSGRS = "revokedSecurityGroupRuleSet";
|
|
61402
61644
|
const _rST = "restoreStartTime";
|
|
61403
61645
|
const _rSe = "replacementStrategy";
|
|
61404
61646
|
const _rSes = "resourceStatement";
|
|
@@ -61475,17 +61717,20 @@ const _sFRI = "spotFleetRequestId";
|
|
|
61475
61717
|
const _sFRS = "successfulFleetRequestSet";
|
|
61476
61718
|
const _sFRSp = "spotFleetRequestState";
|
|
61477
61719
|
const _sG = "securityGroup";
|
|
61720
|
+
const _sGA = "securityGroupArn";
|
|
61478
61721
|
const _sGFVS = "securityGroupForVpcSet";
|
|
61479
61722
|
const _sGI = "securityGroupId";
|
|
61480
61723
|
const _sGIS = "securityGroupIdSet";
|
|
61481
61724
|
const _sGIe = "securityGroupIds";
|
|
61482
61725
|
const _sGIec = "securityGroupInfo";
|
|
61483
61726
|
const _sGR = "securityGroupRule";
|
|
61727
|
+
const _sGRA = "securityGroupRuleArn";
|
|
61484
61728
|
const _sGRI = "securityGroupRuleId";
|
|
61485
61729
|
const _sGRS = "securityGroupRuleSet";
|
|
61486
61730
|
const _sGRSe = "securityGroupReferenceSet";
|
|
61487
61731
|
const _sGRSec = "securityGroupReferencingSupport";
|
|
61488
61732
|
const _sGS = "securityGroupSet";
|
|
61733
|
+
const _sGVAS = "securityGroupVpcAssociationSet";
|
|
61489
61734
|
const _sGe = "securityGroups";
|
|
61490
61735
|
const _sH = "startHour";
|
|
61491
61736
|
const _sI = "serviceId";
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { AssociateIpamByoasnCommandInput, AssociateIpamByoasnCommandOutput } fro
|
|
|
26
26
|
import { AssociateIpamResourceDiscoveryCommandInput, AssociateIpamResourceDiscoveryCommandOutput } from "./commands/AssociateIpamResourceDiscoveryCommand";
|
|
27
27
|
import { AssociateNatGatewayAddressCommandInput, AssociateNatGatewayAddressCommandOutput } from "./commands/AssociateNatGatewayAddressCommand";
|
|
28
28
|
import { AssociateRouteTableCommandInput, AssociateRouteTableCommandOutput } from "./commands/AssociateRouteTableCommand";
|
|
29
|
+
import { AssociateSecurityGroupVpcCommandInput, AssociateSecurityGroupVpcCommandOutput } from "./commands/AssociateSecurityGroupVpcCommand";
|
|
29
30
|
import { AssociateSubnetCidrBlockCommandInput, AssociateSubnetCidrBlockCommandOutput } from "./commands/AssociateSubnetCidrBlockCommand";
|
|
30
31
|
import { AssociateTransitGatewayMulticastDomainCommandInput, AssociateTransitGatewayMulticastDomainCommandOutput } from "./commands/AssociateTransitGatewayMulticastDomainCommand";
|
|
31
32
|
import { AssociateTransitGatewayPolicyTableCommandInput, AssociateTransitGatewayPolicyTableCommandOutput } from "./commands/AssociateTransitGatewayPolicyTableCommand";
|
|
@@ -327,6 +328,7 @@ import { DescribeScheduledInstancesCommandInput, DescribeScheduledInstancesComma
|
|
|
327
328
|
import { DescribeSecurityGroupReferencesCommandInput, DescribeSecurityGroupReferencesCommandOutput } from "./commands/DescribeSecurityGroupReferencesCommand";
|
|
328
329
|
import { DescribeSecurityGroupRulesCommandInput, DescribeSecurityGroupRulesCommandOutput } from "./commands/DescribeSecurityGroupRulesCommand";
|
|
329
330
|
import { DescribeSecurityGroupsCommandInput, DescribeSecurityGroupsCommandOutput } from "./commands/DescribeSecurityGroupsCommand";
|
|
331
|
+
import { DescribeSecurityGroupVpcAssociationsCommandInput, DescribeSecurityGroupVpcAssociationsCommandOutput } from "./commands/DescribeSecurityGroupVpcAssociationsCommand";
|
|
330
332
|
import { DescribeSnapshotAttributeCommandInput, DescribeSnapshotAttributeCommandOutput } from "./commands/DescribeSnapshotAttributeCommand";
|
|
331
333
|
import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
|
|
332
334
|
import { DescribeSnapshotTierStatusCommandInput, DescribeSnapshotTierStatusCommandOutput } from "./commands/DescribeSnapshotTierStatusCommand";
|
|
@@ -409,6 +411,7 @@ import { DisassociateIpamByoasnCommandInput, DisassociateIpamByoasnCommandOutput
|
|
|
409
411
|
import { DisassociateIpamResourceDiscoveryCommandInput, DisassociateIpamResourceDiscoveryCommandOutput } from "./commands/DisassociateIpamResourceDiscoveryCommand";
|
|
410
412
|
import { DisassociateNatGatewayAddressCommandInput, DisassociateNatGatewayAddressCommandOutput } from "./commands/DisassociateNatGatewayAddressCommand";
|
|
411
413
|
import { DisassociateRouteTableCommandInput, DisassociateRouteTableCommandOutput } from "./commands/DisassociateRouteTableCommand";
|
|
414
|
+
import { DisassociateSecurityGroupVpcCommandInput, DisassociateSecurityGroupVpcCommandOutput } from "./commands/DisassociateSecurityGroupVpcCommand";
|
|
412
415
|
import { DisassociateSubnetCidrBlockCommandInput, DisassociateSubnetCidrBlockCommandOutput } from "./commands/DisassociateSubnetCidrBlockCommand";
|
|
413
416
|
import { DisassociateTransitGatewayMulticastDomainCommandInput, DisassociateTransitGatewayMulticastDomainCommandOutput } from "./commands/DisassociateTransitGatewayMulticastDomainCommand";
|
|
414
417
|
import { DisassociateTransitGatewayPolicyTableCommandInput, DisassociateTransitGatewayPolicyTableCommandOutput } from "./commands/DisassociateTransitGatewayPolicyTableCommand";
|
|
@@ -800,6 +803,12 @@ export interface EC2 {
|
|
|
800
803
|
associateRouteTable(args: AssociateRouteTableCommandInput, options?: __HttpHandlerOptions): Promise<AssociateRouteTableCommandOutput>;
|
|
801
804
|
associateRouteTable(args: AssociateRouteTableCommandInput, cb: (err: any, data?: AssociateRouteTableCommandOutput) => void): void;
|
|
802
805
|
associateRouteTable(args: AssociateRouteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateRouteTableCommandOutput) => void): void;
|
|
806
|
+
/**
|
|
807
|
+
* @see {@link AssociateSecurityGroupVpcCommand}
|
|
808
|
+
*/
|
|
809
|
+
associateSecurityGroupVpc(args: AssociateSecurityGroupVpcCommandInput, options?: __HttpHandlerOptions): Promise<AssociateSecurityGroupVpcCommandOutput>;
|
|
810
|
+
associateSecurityGroupVpc(args: AssociateSecurityGroupVpcCommandInput, cb: (err: any, data?: AssociateSecurityGroupVpcCommandOutput) => void): void;
|
|
811
|
+
associateSecurityGroupVpc(args: AssociateSecurityGroupVpcCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateSecurityGroupVpcCommandOutput) => void): void;
|
|
803
812
|
/**
|
|
804
813
|
* @see {@link AssociateSubnetCidrBlockCommand}
|
|
805
814
|
*/
|
|
@@ -2715,6 +2724,13 @@ export interface EC2 {
|
|
|
2715
2724
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecurityGroupsCommandOutput>;
|
|
2716
2725
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, cb: (err: any, data?: DescribeSecurityGroupsCommandOutput) => void): void;
|
|
2717
2726
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSecurityGroupsCommandOutput) => void): void;
|
|
2727
|
+
/**
|
|
2728
|
+
* @see {@link DescribeSecurityGroupVpcAssociationsCommand}
|
|
2729
|
+
*/
|
|
2730
|
+
describeSecurityGroupVpcAssociations(): Promise<DescribeSecurityGroupVpcAssociationsCommandOutput>;
|
|
2731
|
+
describeSecurityGroupVpcAssociations(args: DescribeSecurityGroupVpcAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecurityGroupVpcAssociationsCommandOutput>;
|
|
2732
|
+
describeSecurityGroupVpcAssociations(args: DescribeSecurityGroupVpcAssociationsCommandInput, cb: (err: any, data?: DescribeSecurityGroupVpcAssociationsCommandOutput) => void): void;
|
|
2733
|
+
describeSecurityGroupVpcAssociations(args: DescribeSecurityGroupVpcAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSecurityGroupVpcAssociationsCommandOutput) => void): void;
|
|
2718
2734
|
/**
|
|
2719
2735
|
* @see {@link DescribeSnapshotAttributeCommand}
|
|
2720
2736
|
*/
|
|
@@ -3257,6 +3273,12 @@ export interface EC2 {
|
|
|
3257
3273
|
disassociateRouteTable(args: DisassociateRouteTableCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateRouteTableCommandOutput>;
|
|
3258
3274
|
disassociateRouteTable(args: DisassociateRouteTableCommandInput, cb: (err: any, data?: DisassociateRouteTableCommandOutput) => void): void;
|
|
3259
3275
|
disassociateRouteTable(args: DisassociateRouteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateRouteTableCommandOutput) => void): void;
|
|
3276
|
+
/**
|
|
3277
|
+
* @see {@link DisassociateSecurityGroupVpcCommand}
|
|
3278
|
+
*/
|
|
3279
|
+
disassociateSecurityGroupVpc(args: DisassociateSecurityGroupVpcCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateSecurityGroupVpcCommandOutput>;
|
|
3280
|
+
disassociateSecurityGroupVpc(args: DisassociateSecurityGroupVpcCommandInput, cb: (err: any, data?: DisassociateSecurityGroupVpcCommandOutput) => void): void;
|
|
3281
|
+
disassociateSecurityGroupVpc(args: DisassociateSecurityGroupVpcCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateSecurityGroupVpcCommandOutput) => void): void;
|
|
3260
3282
|
/**
|
|
3261
3283
|
* @see {@link DisassociateSubnetCidrBlockCommand}
|
|
3262
3284
|
*/
|