@aws-sdk/client-ec2 3.295.0 → 3.296.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateReplaceRootVolumeTaskCommand.js +2 -1
- package/dist-cjs/commands/CreateReservedInstancesListingCommand.js +3 -3
- package/dist-cjs/commands/CreateRestoreImageTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateRouteCommand.js +3 -3
- package/dist-cjs/commands/CreateRouteTableCommand.js +1 -2
- package/dist-cjs/commands/DeleteSubnetCidrReservationCommand.js +3 -3
- package/dist-cjs/commands/DeleteSubnetCommand.js +2 -2
- package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
- package/dist-cjs/commands/DeleteTrafficMirrorFilterCommand.js +3 -3
- package/dist-cjs/commands/DeleteTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteTrafficMirrorSessionCommand.js +1 -2
- package/dist-cjs/commands/DescribeVolumeStatusCommand.js +1 -2
- package/dist-cjs/commands/DescribeVolumesCommand.js +2 -1
- package/dist-cjs/commands/DescribeVolumesModificationsCommand.js +3 -3
- package/dist-cjs/commands/ImportVolumeCommand.js +3 -3
- package/dist-cjs/commands/ListImagesInRecycleBinCommand.js +3 -3
- package/dist-cjs/commands/ListSnapshotsInRecycleBinCommand.js +3 -3
- package/dist-cjs/commands/ModifyAddressAttributeCommand.js +1 -2
- package/dist-cjs/commands/StartNetworkInsightsAnalysisCommand.js +2 -1
- package/dist-cjs/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.js +3 -3
- package/dist-cjs/commands/StopInstancesCommand.js +3 -3
- package/dist-cjs/commands/TerminateClientVpnConnectionsCommand.js +3 -3
- package/dist-cjs/commands/TerminateInstancesCommand.js +1 -2
- package/dist-cjs/models/models_0.js +25 -27
- package/dist-cjs/models/models_1.js +44 -42
- package/dist-cjs/models/models_2.js +41 -41
- package/dist-cjs/models/models_3.js +42 -47
- package/dist-cjs/models/models_4.js +47 -45
- package/dist-cjs/models/models_5.js +48 -42
- package/dist-cjs/models/models_6.js +44 -42
- package/dist-cjs/models/models_7.js +37 -1
- package/dist-cjs/protocols/Aws_ec2.js +333 -0
- package/dist-es/commands/CreateReplaceRootVolumeTaskCommand.js +2 -1
- package/dist-es/commands/CreateReservedInstancesListingCommand.js +1 -1
- package/dist-es/commands/CreateRestoreImageTaskCommand.js +1 -1
- package/dist-es/commands/CreateRouteCommand.js +1 -1
- package/dist-es/commands/CreateRouteTableCommand.js +1 -2
- package/dist-es/commands/DeleteSubnetCidrReservationCommand.js +1 -1
- package/dist-es/commands/DeleteSubnetCommand.js +1 -1
- package/dist-es/commands/DeleteTagsCommand.js +1 -1
- package/dist-es/commands/DeleteTrafficMirrorFilterCommand.js +1 -1
- package/dist-es/commands/DeleteTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +1 -2
- package/dist-es/commands/DescribeVolumeStatusCommand.js +1 -2
- package/dist-es/commands/DescribeVolumesCommand.js +2 -1
- package/dist-es/commands/DescribeVolumesModificationsCommand.js +1 -1
- package/dist-es/commands/ImportVolumeCommand.js +1 -1
- package/dist-es/commands/ListImagesInRecycleBinCommand.js +1 -1
- package/dist-es/commands/ListSnapshotsInRecycleBinCommand.js +1 -1
- package/dist-es/commands/ModifyAddressAttributeCommand.js +1 -2
- package/dist-es/commands/StartNetworkInsightsAnalysisCommand.js +2 -1
- package/dist-es/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.js +1 -1
- package/dist-es/commands/StopInstancesCommand.js +1 -1
- package/dist-es/commands/TerminateClientVpnConnectionsCommand.js +1 -1
- package/dist-es/commands/TerminateInstancesCommand.js +1 -2
- package/dist-es/models/models_0.js +15 -18
- package/dist-es/models/models_1.js +30 -27
- package/dist-es/models/models_2.js +27 -27
- package/dist-es/models/models_3.js +27 -33
- package/dist-es/models/models_4.js +33 -31
- package/dist-es/models/models_5.js +34 -27
- package/dist-es/models/models_6.js +29 -27
- package/dist-es/models/models_7.js +27 -0
- package/dist-es/protocols/Aws_ec2.js +333 -0
- package/dist-types/EC2.d.ts +14 -6
- package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +4 -2
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -2
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -1
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +1 -1
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +3 -0
- package/dist-types/commands/ImportVolumeCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/ModifyAddressAttributeCommand.d.ts +1 -2
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +3 -0
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +2 -1
- package/dist-types/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +193 -96
- package/dist-types/models/models_1.d.ts +202 -231
- package/dist-types/models/models_2.d.ts +230 -141
- package/dist-types/models/models_3.d.ts +125 -229
- package/dist-types/models/models_4.d.ts +261 -358
- package/dist-types/models/models_5.d.ts +359 -200
- package/dist-types/models/models_6.d.ts +204 -163
- package/dist-types/models/models_7.d.ts +162 -0
- package/dist-types/ts3.4/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateReservedInstancesListingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSubnetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ImportVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyAddressAttributeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +59 -36
- package/dist-types/ts3.4/models/models_1.d.ts +74 -87
- package/dist-types/ts3.4/models/models_2.d.ts +83 -61
- package/dist-types/ts3.4/models/models_3.d.ts +63 -89
- package/dist-types/ts3.4/models/models_4.d.ts +89 -94
- package/dist-types/ts3.4/models/models_5.d.ts +91 -83
- package/dist-types/ts3.4/models/models_6.d.ts +84 -73
- package/dist-types/ts3.4/models/models_7.d.ts +68 -0
- package/package.json +31 -31
|
@@ -25947,6 +25947,20 @@ const serializeAws_ec2CreateNetworkInsightsPathRequest = (input, context) => {
|
|
|
25947
25947
|
if (input.ClientToken != null) {
|
|
25948
25948
|
entries["ClientToken"] = input.ClientToken;
|
|
25949
25949
|
}
|
|
25950
|
+
if (input.FilterAtSource != null) {
|
|
25951
|
+
const memberEntries = serializeAws_ec2PathRequestFilter(input.FilterAtSource, context);
|
|
25952
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
25953
|
+
const loc = `FilterAtSource.${key}`;
|
|
25954
|
+
entries[loc] = value;
|
|
25955
|
+
});
|
|
25956
|
+
}
|
|
25957
|
+
if (input.FilterAtDestination != null) {
|
|
25958
|
+
const memberEntries = serializeAws_ec2PathRequestFilter(input.FilterAtDestination, context);
|
|
25959
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
25960
|
+
const loc = `FilterAtDestination.${key}`;
|
|
25961
|
+
entries[loc] = value;
|
|
25962
|
+
});
|
|
25963
|
+
}
|
|
25950
25964
|
return entries;
|
|
25951
25965
|
};
|
|
25952
25966
|
const serializeAws_ec2CreateNetworkInterfacePermissionRequest = (input, context) => {
|
|
@@ -40243,6 +40257,30 @@ const serializeAws_ec2PacketHeaderStatementRequest = (input, context) => {
|
|
|
40243
40257
|
}
|
|
40244
40258
|
return entries;
|
|
40245
40259
|
};
|
|
40260
|
+
const serializeAws_ec2PathRequestFilter = (input, context) => {
|
|
40261
|
+
const entries = {};
|
|
40262
|
+
if (input.SourceAddress != null) {
|
|
40263
|
+
entries["SourceAddress"] = input.SourceAddress;
|
|
40264
|
+
}
|
|
40265
|
+
if (input.SourcePortRange != null) {
|
|
40266
|
+
const memberEntries = serializeAws_ec2RequestFilterPortRange(input.SourcePortRange, context);
|
|
40267
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
40268
|
+
const loc = `SourcePortRange.${key}`;
|
|
40269
|
+
entries[loc] = value;
|
|
40270
|
+
});
|
|
40271
|
+
}
|
|
40272
|
+
if (input.DestinationAddress != null) {
|
|
40273
|
+
entries["DestinationAddress"] = input.DestinationAddress;
|
|
40274
|
+
}
|
|
40275
|
+
if (input.DestinationPortRange != null) {
|
|
40276
|
+
const memberEntries = serializeAws_ec2RequestFilterPortRange(input.DestinationPortRange, context);
|
|
40277
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
40278
|
+
const loc = `DestinationPortRange.${key}`;
|
|
40279
|
+
entries[loc] = value;
|
|
40280
|
+
});
|
|
40281
|
+
}
|
|
40282
|
+
return entries;
|
|
40283
|
+
};
|
|
40246
40284
|
const serializeAws_ec2PathStatementRequest = (input, context) => {
|
|
40247
40285
|
const entries = {};
|
|
40248
40286
|
if (input.PacketHeaderStatement != null) {
|
|
@@ -41418,6 +41456,16 @@ const serializeAws_ec2ReportInstanceStatusRequest = (input, context) => {
|
|
|
41418
41456
|
}
|
|
41419
41457
|
return entries;
|
|
41420
41458
|
};
|
|
41459
|
+
const serializeAws_ec2RequestFilterPortRange = (input, context) => {
|
|
41460
|
+
const entries = {};
|
|
41461
|
+
if (input.FromPort != null) {
|
|
41462
|
+
entries["FromPort"] = input.FromPort;
|
|
41463
|
+
}
|
|
41464
|
+
if (input.ToPort != null) {
|
|
41465
|
+
entries["ToPort"] = input.ToPort;
|
|
41466
|
+
}
|
|
41467
|
+
return entries;
|
|
41468
|
+
};
|
|
41421
41469
|
const serializeAws_ec2RequestHostIdList = (input, context) => {
|
|
41422
41470
|
const entries = {};
|
|
41423
41471
|
let counter = 1;
|
|
@@ -45268,6 +45316,12 @@ const deserializeAws_ec2AdditionalDetail = (output, context) => {
|
|
|
45268
45316
|
const contents = {
|
|
45269
45317
|
AdditionalDetailType: undefined,
|
|
45270
45318
|
Component: undefined,
|
|
45319
|
+
VpcEndpointService: undefined,
|
|
45320
|
+
RuleOptions: undefined,
|
|
45321
|
+
RuleGroupTypePairs: undefined,
|
|
45322
|
+
RuleGroupRuleOptionsPairs: undefined,
|
|
45323
|
+
ServiceName: undefined,
|
|
45324
|
+
LoadBalancers: undefined,
|
|
45271
45325
|
};
|
|
45272
45326
|
if (output["additionalDetailType"] !== undefined) {
|
|
45273
45327
|
contents.AdditionalDetailType = __expectString(output["additionalDetailType"]);
|
|
@@ -45275,6 +45329,37 @@ const deserializeAws_ec2AdditionalDetail = (output, context) => {
|
|
|
45275
45329
|
if (output["component"] !== undefined) {
|
|
45276
45330
|
contents.Component = deserializeAws_ec2AnalysisComponent(output["component"], context);
|
|
45277
45331
|
}
|
|
45332
|
+
if (output["vpcEndpointService"] !== undefined) {
|
|
45333
|
+
contents.VpcEndpointService = deserializeAws_ec2AnalysisComponent(output["vpcEndpointService"], context);
|
|
45334
|
+
}
|
|
45335
|
+
if (output.ruleOptionSet === "") {
|
|
45336
|
+
contents.RuleOptions = [];
|
|
45337
|
+
}
|
|
45338
|
+
else if (output["ruleOptionSet"] !== undefined && output["ruleOptionSet"]["item"] !== undefined) {
|
|
45339
|
+
contents.RuleOptions = deserializeAws_ec2RuleOptionList(__getArrayIfSingleItem(output["ruleOptionSet"]["item"]), context);
|
|
45340
|
+
}
|
|
45341
|
+
if (output.ruleGroupTypePairSet === "") {
|
|
45342
|
+
contents.RuleGroupTypePairs = [];
|
|
45343
|
+
}
|
|
45344
|
+
else if (output["ruleGroupTypePairSet"] !== undefined && output["ruleGroupTypePairSet"]["item"] !== undefined) {
|
|
45345
|
+
contents.RuleGroupTypePairs = deserializeAws_ec2RuleGroupTypePairList(__getArrayIfSingleItem(output["ruleGroupTypePairSet"]["item"]), context);
|
|
45346
|
+
}
|
|
45347
|
+
if (output.ruleGroupRuleOptionsPairSet === "") {
|
|
45348
|
+
contents.RuleGroupRuleOptionsPairs = [];
|
|
45349
|
+
}
|
|
45350
|
+
else if (output["ruleGroupRuleOptionsPairSet"] !== undefined &&
|
|
45351
|
+
output["ruleGroupRuleOptionsPairSet"]["item"] !== undefined) {
|
|
45352
|
+
contents.RuleGroupRuleOptionsPairs = deserializeAws_ec2RuleGroupRuleOptionsPairList(__getArrayIfSingleItem(output["ruleGroupRuleOptionsPairSet"]["item"]), context);
|
|
45353
|
+
}
|
|
45354
|
+
if (output["serviceName"] !== undefined) {
|
|
45355
|
+
contents.ServiceName = __expectString(output["serviceName"]);
|
|
45356
|
+
}
|
|
45357
|
+
if (output.loadBalancerSet === "") {
|
|
45358
|
+
contents.LoadBalancers = [];
|
|
45359
|
+
}
|
|
45360
|
+
else if (output["loadBalancerSet"] !== undefined && output["loadBalancerSet"]["item"] !== undefined) {
|
|
45361
|
+
contents.LoadBalancers = deserializeAws_ec2AnalysisComponentList(__getArrayIfSingleItem(output["loadBalancerSet"]["item"]), context);
|
|
45362
|
+
}
|
|
45278
45363
|
return contents;
|
|
45279
45364
|
};
|
|
45280
45365
|
const deserializeAws_ec2AdditionalDetailList = (output, context) => {
|
|
@@ -45686,6 +45771,9 @@ const deserializeAws_ec2AnalysisRouteTableRoute = (output, context) => {
|
|
|
45686
45771
|
TransitGatewayId: undefined,
|
|
45687
45772
|
VpcPeeringConnectionId: undefined,
|
|
45688
45773
|
State: undefined,
|
|
45774
|
+
CarrierGatewayId: undefined,
|
|
45775
|
+
CoreNetworkArn: undefined,
|
|
45776
|
+
LocalGatewayId: undefined,
|
|
45689
45777
|
};
|
|
45690
45778
|
if (output["destinationCidr"] !== undefined) {
|
|
45691
45779
|
contents.DestinationCidr = __expectString(output["destinationCidr"]);
|
|
@@ -45720,6 +45808,15 @@ const deserializeAws_ec2AnalysisRouteTableRoute = (output, context) => {
|
|
|
45720
45808
|
if (output["state"] !== undefined) {
|
|
45721
45809
|
contents.State = __expectString(output["state"]);
|
|
45722
45810
|
}
|
|
45811
|
+
if (output["carrierGatewayId"] !== undefined) {
|
|
45812
|
+
contents.CarrierGatewayId = __expectString(output["carrierGatewayId"]);
|
|
45813
|
+
}
|
|
45814
|
+
if (output["coreNetworkArn"] !== undefined) {
|
|
45815
|
+
contents.CoreNetworkArn = __expectString(output["coreNetworkArn"]);
|
|
45816
|
+
}
|
|
45817
|
+
if (output["localGatewayId"] !== undefined) {
|
|
45818
|
+
contents.LocalGatewayId = __expectString(output["localGatewayId"]);
|
|
45819
|
+
}
|
|
45723
45820
|
return contents;
|
|
45724
45821
|
};
|
|
45725
45822
|
const deserializeAws_ec2AnalysisSecurityGroupRule = (output, context) => {
|
|
@@ -53187,6 +53284,8 @@ const deserializeAws_ec2Explanation = (output, context) => {
|
|
|
53187
53284
|
TransitGatewayAttachment: undefined,
|
|
53188
53285
|
ComponentAccount: undefined,
|
|
53189
53286
|
ComponentRegion: undefined,
|
|
53287
|
+
FirewallStatelessRule: undefined,
|
|
53288
|
+
FirewallStatefulRule: undefined,
|
|
53190
53289
|
};
|
|
53191
53290
|
if (output["acl"] !== undefined) {
|
|
53192
53291
|
contents.Acl = deserializeAws_ec2AnalysisComponent(output["acl"], context);
|
|
@@ -53363,6 +53462,12 @@ const deserializeAws_ec2Explanation = (output, context) => {
|
|
|
53363
53462
|
if (output["componentRegion"] !== undefined) {
|
|
53364
53463
|
contents.ComponentRegion = __expectString(output["componentRegion"]);
|
|
53365
53464
|
}
|
|
53465
|
+
if (output["firewallStatelessRule"] !== undefined) {
|
|
53466
|
+
contents.FirewallStatelessRule = deserializeAws_ec2FirewallStatelessRule(output["firewallStatelessRule"], context);
|
|
53467
|
+
}
|
|
53468
|
+
if (output["firewallStatefulRule"] !== undefined) {
|
|
53469
|
+
contents.FirewallStatefulRule = deserializeAws_ec2FirewallStatefulRule(output["firewallStatefulRule"], context);
|
|
53470
|
+
}
|
|
53366
53471
|
return contents;
|
|
53367
53472
|
};
|
|
53368
53473
|
const deserializeAws_ec2ExplanationList = (output, context) => {
|
|
@@ -53654,6 +53759,120 @@ const deserializeAws_ec2FederatedAuthentication = (output, context) => {
|
|
|
53654
53759
|
}
|
|
53655
53760
|
return contents;
|
|
53656
53761
|
};
|
|
53762
|
+
const deserializeAws_ec2FilterPortRange = (output, context) => {
|
|
53763
|
+
const contents = {
|
|
53764
|
+
FromPort: undefined,
|
|
53765
|
+
ToPort: undefined,
|
|
53766
|
+
};
|
|
53767
|
+
if (output["fromPort"] !== undefined) {
|
|
53768
|
+
contents.FromPort = __strictParseInt32(output["fromPort"]);
|
|
53769
|
+
}
|
|
53770
|
+
if (output["toPort"] !== undefined) {
|
|
53771
|
+
contents.ToPort = __strictParseInt32(output["toPort"]);
|
|
53772
|
+
}
|
|
53773
|
+
return contents;
|
|
53774
|
+
};
|
|
53775
|
+
const deserializeAws_ec2FirewallStatefulRule = (output, context) => {
|
|
53776
|
+
const contents = {
|
|
53777
|
+
RuleGroupArn: undefined,
|
|
53778
|
+
Sources: undefined,
|
|
53779
|
+
Destinations: undefined,
|
|
53780
|
+
SourcePorts: undefined,
|
|
53781
|
+
DestinationPorts: undefined,
|
|
53782
|
+
Protocol: undefined,
|
|
53783
|
+
RuleAction: undefined,
|
|
53784
|
+
Direction: undefined,
|
|
53785
|
+
};
|
|
53786
|
+
if (output["ruleGroupArn"] !== undefined) {
|
|
53787
|
+
contents.RuleGroupArn = __expectString(output["ruleGroupArn"]);
|
|
53788
|
+
}
|
|
53789
|
+
if (output.sourceSet === "") {
|
|
53790
|
+
contents.Sources = [];
|
|
53791
|
+
}
|
|
53792
|
+
else if (output["sourceSet"] !== undefined && output["sourceSet"]["item"] !== undefined) {
|
|
53793
|
+
contents.Sources = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["sourceSet"]["item"]), context);
|
|
53794
|
+
}
|
|
53795
|
+
if (output.destinationSet === "") {
|
|
53796
|
+
contents.Destinations = [];
|
|
53797
|
+
}
|
|
53798
|
+
else if (output["destinationSet"] !== undefined && output["destinationSet"]["item"] !== undefined) {
|
|
53799
|
+
contents.Destinations = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["destinationSet"]["item"]), context);
|
|
53800
|
+
}
|
|
53801
|
+
if (output.sourcePortSet === "") {
|
|
53802
|
+
contents.SourcePorts = [];
|
|
53803
|
+
}
|
|
53804
|
+
else if (output["sourcePortSet"] !== undefined && output["sourcePortSet"]["item"] !== undefined) {
|
|
53805
|
+
contents.SourcePorts = deserializeAws_ec2PortRangeList(__getArrayIfSingleItem(output["sourcePortSet"]["item"]), context);
|
|
53806
|
+
}
|
|
53807
|
+
if (output.destinationPortSet === "") {
|
|
53808
|
+
contents.DestinationPorts = [];
|
|
53809
|
+
}
|
|
53810
|
+
else if (output["destinationPortSet"] !== undefined && output["destinationPortSet"]["item"] !== undefined) {
|
|
53811
|
+
contents.DestinationPorts = deserializeAws_ec2PortRangeList(__getArrayIfSingleItem(output["destinationPortSet"]["item"]), context);
|
|
53812
|
+
}
|
|
53813
|
+
if (output["protocol"] !== undefined) {
|
|
53814
|
+
contents.Protocol = __expectString(output["protocol"]);
|
|
53815
|
+
}
|
|
53816
|
+
if (output["ruleAction"] !== undefined) {
|
|
53817
|
+
contents.RuleAction = __expectString(output["ruleAction"]);
|
|
53818
|
+
}
|
|
53819
|
+
if (output["direction"] !== undefined) {
|
|
53820
|
+
contents.Direction = __expectString(output["direction"]);
|
|
53821
|
+
}
|
|
53822
|
+
return contents;
|
|
53823
|
+
};
|
|
53824
|
+
const deserializeAws_ec2FirewallStatelessRule = (output, context) => {
|
|
53825
|
+
const contents = {
|
|
53826
|
+
RuleGroupArn: undefined,
|
|
53827
|
+
Sources: undefined,
|
|
53828
|
+
Destinations: undefined,
|
|
53829
|
+
SourcePorts: undefined,
|
|
53830
|
+
DestinationPorts: undefined,
|
|
53831
|
+
Protocols: undefined,
|
|
53832
|
+
RuleAction: undefined,
|
|
53833
|
+
Priority: undefined,
|
|
53834
|
+
};
|
|
53835
|
+
if (output["ruleGroupArn"] !== undefined) {
|
|
53836
|
+
contents.RuleGroupArn = __expectString(output["ruleGroupArn"]);
|
|
53837
|
+
}
|
|
53838
|
+
if (output.sourceSet === "") {
|
|
53839
|
+
contents.Sources = [];
|
|
53840
|
+
}
|
|
53841
|
+
else if (output["sourceSet"] !== undefined && output["sourceSet"]["item"] !== undefined) {
|
|
53842
|
+
contents.Sources = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["sourceSet"]["item"]), context);
|
|
53843
|
+
}
|
|
53844
|
+
if (output.destinationSet === "") {
|
|
53845
|
+
contents.Destinations = [];
|
|
53846
|
+
}
|
|
53847
|
+
else if (output["destinationSet"] !== undefined && output["destinationSet"]["item"] !== undefined) {
|
|
53848
|
+
contents.Destinations = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["destinationSet"]["item"]), context);
|
|
53849
|
+
}
|
|
53850
|
+
if (output.sourcePortSet === "") {
|
|
53851
|
+
contents.SourcePorts = [];
|
|
53852
|
+
}
|
|
53853
|
+
else if (output["sourcePortSet"] !== undefined && output["sourcePortSet"]["item"] !== undefined) {
|
|
53854
|
+
contents.SourcePorts = deserializeAws_ec2PortRangeList(__getArrayIfSingleItem(output["sourcePortSet"]["item"]), context);
|
|
53855
|
+
}
|
|
53856
|
+
if (output.destinationPortSet === "") {
|
|
53857
|
+
contents.DestinationPorts = [];
|
|
53858
|
+
}
|
|
53859
|
+
else if (output["destinationPortSet"] !== undefined && output["destinationPortSet"]["item"] !== undefined) {
|
|
53860
|
+
contents.DestinationPorts = deserializeAws_ec2PortRangeList(__getArrayIfSingleItem(output["destinationPortSet"]["item"]), context);
|
|
53861
|
+
}
|
|
53862
|
+
if (output.protocolSet === "") {
|
|
53863
|
+
contents.Protocols = [];
|
|
53864
|
+
}
|
|
53865
|
+
else if (output["protocolSet"] !== undefined && output["protocolSet"]["item"] !== undefined) {
|
|
53866
|
+
contents.Protocols = deserializeAws_ec2ProtocolIntList(__getArrayIfSingleItem(output["protocolSet"]["item"]), context);
|
|
53867
|
+
}
|
|
53868
|
+
if (output["ruleAction"] !== undefined) {
|
|
53869
|
+
contents.RuleAction = __expectString(output["ruleAction"]);
|
|
53870
|
+
}
|
|
53871
|
+
if (output["priority"] !== undefined) {
|
|
53872
|
+
contents.Priority = __strictParseInt32(output["priority"]);
|
|
53873
|
+
}
|
|
53874
|
+
return contents;
|
|
53875
|
+
};
|
|
53657
53876
|
const deserializeAws_ec2FleetCapacityReservation = (output, context) => {
|
|
53658
53877
|
const contents = {
|
|
53659
53878
|
CapacityReservationId: undefined,
|
|
@@ -61086,6 +61305,8 @@ const deserializeAws_ec2NetworkInsightsPath = (output, context) => {
|
|
|
61086
61305
|
Protocol: undefined,
|
|
61087
61306
|
DestinationPort: undefined,
|
|
61088
61307
|
Tags: undefined,
|
|
61308
|
+
FilterAtSource: undefined,
|
|
61309
|
+
FilterAtDestination: undefined,
|
|
61089
61310
|
};
|
|
61090
61311
|
if (output["networkInsightsPathId"] !== undefined) {
|
|
61091
61312
|
contents.NetworkInsightsPathId = __expectString(output["networkInsightsPathId"]);
|
|
@@ -61126,6 +61347,12 @@ const deserializeAws_ec2NetworkInsightsPath = (output, context) => {
|
|
|
61126
61347
|
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
61127
61348
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
61128
61349
|
}
|
|
61350
|
+
if (output["filterAtSource"] !== undefined) {
|
|
61351
|
+
contents.FilterAtSource = deserializeAws_ec2PathFilter(output["filterAtSource"], context);
|
|
61352
|
+
}
|
|
61353
|
+
if (output["filterAtDestination"] !== undefined) {
|
|
61354
|
+
contents.FilterAtDestination = deserializeAws_ec2PathFilter(output["filterAtDestination"], context);
|
|
61355
|
+
}
|
|
61129
61356
|
return contents;
|
|
61130
61357
|
};
|
|
61131
61358
|
const deserializeAws_ec2NetworkInsightsPathList = (output, context) => {
|
|
@@ -61592,6 +61819,9 @@ const deserializeAws_ec2PathComponent = (output, context) => {
|
|
|
61592
61819
|
TransitGatewayRouteTableRoute: undefined,
|
|
61593
61820
|
Explanations: undefined,
|
|
61594
61821
|
ElasticLoadBalancerListener: undefined,
|
|
61822
|
+
FirewallStatelessRule: undefined,
|
|
61823
|
+
FirewallStatefulRule: undefined,
|
|
61824
|
+
ServiceName: undefined,
|
|
61595
61825
|
};
|
|
61596
61826
|
if (output["sequenceNumber"] !== undefined) {
|
|
61597
61827
|
contents.SequenceNumber = __strictParseInt32(output["sequenceNumber"]);
|
|
@@ -61650,6 +61880,15 @@ const deserializeAws_ec2PathComponent = (output, context) => {
|
|
|
61650
61880
|
if (output["elasticLoadBalancerListener"] !== undefined) {
|
|
61651
61881
|
contents.ElasticLoadBalancerListener = deserializeAws_ec2AnalysisComponent(output["elasticLoadBalancerListener"], context);
|
|
61652
61882
|
}
|
|
61883
|
+
if (output["firewallStatelessRule"] !== undefined) {
|
|
61884
|
+
contents.FirewallStatelessRule = deserializeAws_ec2FirewallStatelessRule(output["firewallStatelessRule"], context);
|
|
61885
|
+
}
|
|
61886
|
+
if (output["firewallStatefulRule"] !== undefined) {
|
|
61887
|
+
contents.FirewallStatefulRule = deserializeAws_ec2FirewallStatefulRule(output["firewallStatefulRule"], context);
|
|
61888
|
+
}
|
|
61889
|
+
if (output["serviceName"] !== undefined) {
|
|
61890
|
+
contents.ServiceName = __expectString(output["serviceName"]);
|
|
61891
|
+
}
|
|
61653
61892
|
return contents;
|
|
61654
61893
|
};
|
|
61655
61894
|
const deserializeAws_ec2PathComponentList = (output, context) => {
|
|
@@ -61659,6 +61898,27 @@ const deserializeAws_ec2PathComponentList = (output, context) => {
|
|
|
61659
61898
|
return deserializeAws_ec2PathComponent(entry, context);
|
|
61660
61899
|
});
|
|
61661
61900
|
};
|
|
61901
|
+
const deserializeAws_ec2PathFilter = (output, context) => {
|
|
61902
|
+
const contents = {
|
|
61903
|
+
SourceAddress: undefined,
|
|
61904
|
+
SourcePortRange: undefined,
|
|
61905
|
+
DestinationAddress: undefined,
|
|
61906
|
+
DestinationPortRange: undefined,
|
|
61907
|
+
};
|
|
61908
|
+
if (output["sourceAddress"] !== undefined) {
|
|
61909
|
+
contents.SourceAddress = __expectString(output["sourceAddress"]);
|
|
61910
|
+
}
|
|
61911
|
+
if (output["sourcePortRange"] !== undefined) {
|
|
61912
|
+
contents.SourcePortRange = deserializeAws_ec2FilterPortRange(output["sourcePortRange"], context);
|
|
61913
|
+
}
|
|
61914
|
+
if (output["destinationAddress"] !== undefined) {
|
|
61915
|
+
contents.DestinationAddress = __expectString(output["destinationAddress"]);
|
|
61916
|
+
}
|
|
61917
|
+
if (output["destinationPortRange"] !== undefined) {
|
|
61918
|
+
contents.DestinationPortRange = deserializeAws_ec2FilterPortRange(output["destinationPortRange"], context);
|
|
61919
|
+
}
|
|
61920
|
+
return contents;
|
|
61921
|
+
};
|
|
61662
61922
|
const deserializeAws_ec2PathStatement = (output, context) => {
|
|
61663
61923
|
const contents = {
|
|
61664
61924
|
PacketHeaderStatement: undefined,
|
|
@@ -62300,6 +62560,13 @@ const deserializeAws_ec2PropagatingVgwList = (output, context) => {
|
|
|
62300
62560
|
return deserializeAws_ec2PropagatingVgw(entry, context);
|
|
62301
62561
|
});
|
|
62302
62562
|
};
|
|
62563
|
+
const deserializeAws_ec2ProtocolIntList = (output, context) => {
|
|
62564
|
+
return (output || [])
|
|
62565
|
+
.filter((e) => e != null)
|
|
62566
|
+
.map((entry) => {
|
|
62567
|
+
return __strictParseInt32(entry);
|
|
62568
|
+
});
|
|
62569
|
+
};
|
|
62303
62570
|
const deserializeAws_ec2ProtocolList = (output, context) => {
|
|
62304
62571
|
return (output || [])
|
|
62305
62572
|
.filter((e) => e != null)
|
|
@@ -63820,6 +64087,72 @@ const deserializeAws_ec2RouteTableList = (output, context) => {
|
|
|
63820
64087
|
return deserializeAws_ec2RouteTable(entry, context);
|
|
63821
64088
|
});
|
|
63822
64089
|
};
|
|
64090
|
+
const deserializeAws_ec2RuleGroupRuleOptionsPair = (output, context) => {
|
|
64091
|
+
const contents = {
|
|
64092
|
+
RuleGroupArn: undefined,
|
|
64093
|
+
RuleOptions: undefined,
|
|
64094
|
+
};
|
|
64095
|
+
if (output["ruleGroupArn"] !== undefined) {
|
|
64096
|
+
contents.RuleGroupArn = __expectString(output["ruleGroupArn"]);
|
|
64097
|
+
}
|
|
64098
|
+
if (output.ruleOptionSet === "") {
|
|
64099
|
+
contents.RuleOptions = [];
|
|
64100
|
+
}
|
|
64101
|
+
else if (output["ruleOptionSet"] !== undefined && output["ruleOptionSet"]["item"] !== undefined) {
|
|
64102
|
+
contents.RuleOptions = deserializeAws_ec2RuleOptionList(__getArrayIfSingleItem(output["ruleOptionSet"]["item"]), context);
|
|
64103
|
+
}
|
|
64104
|
+
return contents;
|
|
64105
|
+
};
|
|
64106
|
+
const deserializeAws_ec2RuleGroupRuleOptionsPairList = (output, context) => {
|
|
64107
|
+
return (output || [])
|
|
64108
|
+
.filter((e) => e != null)
|
|
64109
|
+
.map((entry) => {
|
|
64110
|
+
return deserializeAws_ec2RuleGroupRuleOptionsPair(entry, context);
|
|
64111
|
+
});
|
|
64112
|
+
};
|
|
64113
|
+
const deserializeAws_ec2RuleGroupTypePair = (output, context) => {
|
|
64114
|
+
const contents = {
|
|
64115
|
+
RuleGroupArn: undefined,
|
|
64116
|
+
RuleGroupType: undefined,
|
|
64117
|
+
};
|
|
64118
|
+
if (output["ruleGroupArn"] !== undefined) {
|
|
64119
|
+
contents.RuleGroupArn = __expectString(output["ruleGroupArn"]);
|
|
64120
|
+
}
|
|
64121
|
+
if (output["ruleGroupType"] !== undefined) {
|
|
64122
|
+
contents.RuleGroupType = __expectString(output["ruleGroupType"]);
|
|
64123
|
+
}
|
|
64124
|
+
return contents;
|
|
64125
|
+
};
|
|
64126
|
+
const deserializeAws_ec2RuleGroupTypePairList = (output, context) => {
|
|
64127
|
+
return (output || [])
|
|
64128
|
+
.filter((e) => e != null)
|
|
64129
|
+
.map((entry) => {
|
|
64130
|
+
return deserializeAws_ec2RuleGroupTypePair(entry, context);
|
|
64131
|
+
});
|
|
64132
|
+
};
|
|
64133
|
+
const deserializeAws_ec2RuleOption = (output, context) => {
|
|
64134
|
+
const contents = {
|
|
64135
|
+
Keyword: undefined,
|
|
64136
|
+
Settings: undefined,
|
|
64137
|
+
};
|
|
64138
|
+
if (output["keyword"] !== undefined) {
|
|
64139
|
+
contents.Keyword = __expectString(output["keyword"]);
|
|
64140
|
+
}
|
|
64141
|
+
if (output.settingSet === "") {
|
|
64142
|
+
contents.Settings = [];
|
|
64143
|
+
}
|
|
64144
|
+
else if (output["settingSet"] !== undefined && output["settingSet"]["item"] !== undefined) {
|
|
64145
|
+
contents.Settings = deserializeAws_ec2StringList(__getArrayIfSingleItem(output["settingSet"]["item"]), context);
|
|
64146
|
+
}
|
|
64147
|
+
return contents;
|
|
64148
|
+
};
|
|
64149
|
+
const deserializeAws_ec2RuleOptionList = (output, context) => {
|
|
64150
|
+
return (output || [])
|
|
64151
|
+
.filter((e) => e != null)
|
|
64152
|
+
.map((entry) => {
|
|
64153
|
+
return deserializeAws_ec2RuleOption(entry, context);
|
|
64154
|
+
});
|
|
64155
|
+
};
|
|
63823
64156
|
const deserializeAws_ec2RunInstancesMonitoringEnabled = (output, context) => {
|
|
63824
64157
|
const contents = {
|
|
63825
64158
|
Enabled: undefined,
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -715,8 +715,10 @@ export declare class EC2 extends EC2Client {
|
|
|
715
715
|
allocateHosts(args: AllocateHostsCommandInput, cb: (err: any, data?: AllocateHostsCommandOutput) => void): void;
|
|
716
716
|
allocateHosts(args: AllocateHostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AllocateHostsCommandOutput) => void): void;
|
|
717
717
|
/**
|
|
718
|
-
* <p>Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/allocate-cidrs-ipam.html">Allocate CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i
|
|
719
|
-
*
|
|
718
|
+
* <p>Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/allocate-cidrs-ipam.html">Allocate CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
719
|
+
* <note>
|
|
720
|
+
* <p>This action creates an allocation with strong consistency. The returned CIDR will not overlap with any other allocations from the same pool.</p>
|
|
721
|
+
* </note>
|
|
720
722
|
*/
|
|
721
723
|
allocateIpamPoolCidr(args: AllocateIpamPoolCidrCommandInput, options?: __HttpHandlerOptions): Promise<AllocateIpamPoolCidrCommandOutput>;
|
|
722
724
|
allocateIpamPoolCidr(args: AllocateIpamPoolCidrCommandInput, cb: (err: any, data?: AllocateIpamPoolCidrCommandOutput) => void): void;
|
|
@@ -1678,8 +1680,8 @@ export declare class EC2 extends EC2Client {
|
|
|
1678
1680
|
/**
|
|
1679
1681
|
* <p>Creates a path to analyze for reachability.</p>
|
|
1680
1682
|
* <p>Reachability Analyzer enables you to analyze and debug network reachability between
|
|
1681
|
-
* two resources in your virtual private cloud (VPC). For more information, see
|
|
1682
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/reachability/">
|
|
1683
|
+
* two resources in your virtual private cloud (VPC). For more information, see the
|
|
1684
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/reachability/">Reachability Analyzer Guide</a>.</p>
|
|
1683
1685
|
*/
|
|
1684
1686
|
createNetworkInsightsPath(args: CreateNetworkInsightsPathCommandInput, options?: __HttpHandlerOptions): Promise<CreateNetworkInsightsPathCommandOutput>;
|
|
1685
1687
|
createNetworkInsightsPath(args: CreateNetworkInsightsPathCommandInput, cb: (err: any, data?: CreateNetworkInsightsPathCommandOutput) => void): void;
|
|
@@ -1841,8 +1843,8 @@ export declare class EC2 extends EC2Client {
|
|
|
1841
1843
|
* should unmount the volume from within the instance, issue the snapshot command, and then
|
|
1842
1844
|
* remount the volume to ensure a consistent and complete snapshot. You may remount and use your
|
|
1843
1845
|
* volume while the snapshot status is <code>pending</code>.</p>
|
|
1844
|
-
* <p>
|
|
1845
|
-
* instance before taking the snapshot.</p>
|
|
1846
|
+
* <p>When you create a snapshot for an EBS volume that serves as a root device, we recommend
|
|
1847
|
+
* that you stop the instance before taking the snapshot.</p>
|
|
1846
1848
|
* <p>Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that
|
|
1847
1849
|
* are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes
|
|
1848
1850
|
* and any associated snapshots always remain protected.</p>
|
|
@@ -4797,6 +4799,9 @@ export declare class EC2 extends EC2Client {
|
|
|
4797
4799
|
getIpamDiscoveredResourceCidrs(args: GetIpamDiscoveredResourceCidrsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIpamDiscoveredResourceCidrsCommandOutput) => void): void;
|
|
4798
4800
|
/**
|
|
4799
4801
|
* <p>Get a list of all the CIDR allocations in an IPAM pool.</p>
|
|
4802
|
+
* <note>
|
|
4803
|
+
* <p>If you use this action after <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AllocateIpamPoolCidr.html">AllocateIpamPoolCidr</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ReleaseIpamPoolAllocation.html">ReleaseIpamPoolAllocation</a>, note that all EC2 API actions follow an <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency">eventual consistency</a> model.</p>
|
|
4804
|
+
* </note>
|
|
4800
4805
|
*/
|
|
4801
4806
|
getIpamPoolAllocations(args: GetIpamPoolAllocationsCommandInput, options?: __HttpHandlerOptions): Promise<GetIpamPoolAllocationsCommandOutput>;
|
|
4802
4807
|
getIpamPoolAllocations(args: GetIpamPoolAllocationsCommandInput, cb: (err: any, data?: GetIpamPoolAllocationsCommandOutput) => void): void;
|
|
@@ -6082,6 +6087,9 @@ export declare class EC2 extends EC2Client {
|
|
|
6082
6087
|
/**
|
|
6083
6088
|
* <p>Release an allocation within an IPAM pool. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyIpamResourceCidr.html">ModifyIpamResourceCidr</a>. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/release-pool-alloc-ipam.html">Release an allocation</a> in the <i>Amazon VPC IPAM User Guide</i>.
|
|
6084
6089
|
* </p>
|
|
6090
|
+
* <note>
|
|
6091
|
+
* <p>All EC2 API actions follow an <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency">eventual consistency</a> model.</p>
|
|
6092
|
+
* </note>
|
|
6085
6093
|
*/
|
|
6086
6094
|
releaseIpamPoolAllocation(args: ReleaseIpamPoolAllocationCommandInput, options?: __HttpHandlerOptions): Promise<ReleaseIpamPoolAllocationCommandOutput>;
|
|
6087
6095
|
releaseIpamPoolAllocation(args: ReleaseIpamPoolAllocationCommandInput, cb: (err: any, data?: ReleaseIpamPoolAllocationCommandOutput) => void): void;
|
|
@@ -14,8 +14,10 @@ export interface AllocateIpamPoolCidrCommandInput extends AllocateIpamPoolCidrRe
|
|
|
14
14
|
export interface AllocateIpamPoolCidrCommandOutput extends AllocateIpamPoolCidrResult, __MetadataBearer {
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* <p>Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/allocate-cidrs-ipam.html">Allocate CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i
|
|
18
|
-
*
|
|
17
|
+
* <p>Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/allocate-cidrs-ipam.html">Allocate CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>This action creates an allocation with strong consistency. The returned CIDR will not overlap with any other allocations from the same pool.</p>
|
|
20
|
+
* </note>
|
|
19
21
|
* @example
|
|
20
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
23
|
* ```javascript
|
|
@@ -16,8 +16,8 @@ export interface CreateNetworkInsightsPathCommandOutput extends CreateNetworkIns
|
|
|
16
16
|
/**
|
|
17
17
|
* <p>Creates a path to analyze for reachability.</p>
|
|
18
18
|
* <p>Reachability Analyzer enables you to analyze and debug network reachability between
|
|
19
|
-
* two resources in your virtual private cloud (VPC). For more information, see
|
|
20
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/reachability/">
|
|
19
|
+
* two resources in your virtual private cloud (VPC). For more information, see the
|
|
20
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/reachability/">Reachability Analyzer Guide</a>.</p>
|
|
21
21
|
* @example
|
|
22
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
23
|
* ```javascript
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { CreateReplaceRootVolumeTaskRequest
|
|
5
|
+
import { CreateReplaceRootVolumeTaskRequest } from "../models/models_1";
|
|
6
|
+
import { CreateReplaceRootVolumeTaskResult } from "../models/models_2";
|
|
6
7
|
/**
|
|
7
8
|
* The input for {@link CreateReplaceRootVolumeTaskCommand}.
|
|
8
9
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { CreateReservedInstancesListingRequest, CreateReservedInstancesListingResult } from "../models/
|
|
5
|
+
import { CreateReservedInstancesListingRequest, CreateReservedInstancesListingResult } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link CreateReservedInstancesListingCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { CreateRestoreImageTaskRequest, CreateRestoreImageTaskResult } from "../models/
|
|
5
|
+
import { CreateRestoreImageTaskRequest, CreateRestoreImageTaskResult } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link CreateRestoreImageTaskCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { CreateRouteRequest, CreateRouteResult } from "../models/
|
|
5
|
+
import { CreateRouteRequest, CreateRouteResult } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link CreateRouteCommand}.
|
|
8
8
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { CreateRouteTableRequest } from "../models/
|
|
6
|
-
import { CreateRouteTableResult } from "../models/models_2";
|
|
5
|
+
import { CreateRouteTableRequest, CreateRouteTableResult } from "../models/models_2";
|
|
7
6
|
/**
|
|
8
7
|
* The input for {@link CreateRouteTableCommand}.
|
|
9
8
|
*/
|
|
@@ -31,8 +31,8 @@ export interface CreateSnapshotCommandOutput extends Snapshot, __MetadataBearer
|
|
|
31
31
|
* should unmount the volume from within the instance, issue the snapshot command, and then
|
|
32
32
|
* remount the volume to ensure a consistent and complete snapshot. You may remount and use your
|
|
33
33
|
* volume while the snapshot status is <code>pending</code>.</p>
|
|
34
|
-
* <p>
|
|
35
|
-
* instance before taking the snapshot.</p>
|
|
34
|
+
* <p>When you create a snapshot for an EBS volume that serves as a root device, we recommend
|
|
35
|
+
* that you stop the instance before taking the snapshot.</p>
|
|
36
36
|
* <p>Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that
|
|
37
37
|
* are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes
|
|
38
38
|
* and any associated snapshots always remain protected.</p>
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DeleteSubnetCidrReservationRequest, DeleteSubnetCidrReservationResult } from "../models/
|
|
5
|
+
import { DeleteSubnetCidrReservationRequest, DeleteSubnetCidrReservationResult } from "../models/models_3";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link DeleteSubnetCidrReservationCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DeleteSubnetRequest } from "../models/
|
|
5
|
+
import { DeleteSubnetRequest } from "../models/models_3";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link DeleteSubnetCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DeleteTagsRequest } from "../models/
|
|
5
|
+
import { DeleteTagsRequest } from "../models/models_3";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link DeleteTagsCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DeleteTrafficMirrorFilterRequest, DeleteTrafficMirrorFilterResult } from "../models/
|
|
5
|
+
import { DeleteTrafficMirrorFilterRequest, DeleteTrafficMirrorFilterResult } from "../models/models_3";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link DeleteTrafficMirrorFilterCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DeleteTrafficMirrorFilterRuleRequest, DeleteTrafficMirrorFilterRuleResult } from "../models/
|
|
5
|
+
import { DeleteTrafficMirrorFilterRuleRequest, DeleteTrafficMirrorFilterRuleResult } from "../models/models_3";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link DeleteTrafficMirrorFilterRuleCommand}.
|
|
8
8
|
*/
|