@aws-sdk/client-ec2 3.172.0 → 3.175.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateDefaultVpcCommand.js +2 -1
  3. package/dist-cjs/commands/CreateDhcpOptionsCommand.js +1 -2
  4. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  5. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  6. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeAddressesCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeLocalGatewaysCommand.js +2 -1
  10. package/dist-cjs/commands/MonitorInstancesCommand.js +1 -2
  11. package/dist-cjs/models/models_0.js +28 -28
  12. package/dist-cjs/models/models_1.js +25 -25
  13. package/dist-cjs/models/models_2.js +26 -26
  14. package/dist-cjs/models/models_3.js +25 -25
  15. package/dist-cjs/models/models_4.js +26 -26
  16. package/dist-cjs/models/models_5.js +14 -14
  17. package/dist-cjs/models/models_6.js +12 -4
  18. package/dist-cjs/protocols/Aws_ec2.js +50 -0
  19. package/dist-es/commands/CreateDefaultVpcCommand.js +2 -1
  20. package/dist-es/commands/CreateDhcpOptionsCommand.js +1 -2
  21. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  22. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  23. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  24. package/dist-es/commands/DescribeAddressesCommand.js +1 -1
  25. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -1
  26. package/dist-es/commands/DescribeLocalGatewaysCommand.js +2 -1
  27. package/dist-es/commands/MonitorInstancesCommand.js +1 -2
  28. package/dist-es/models/models_0.js +9 -6
  29. package/dist-es/models/models_1.js +5 -8
  30. package/dist-es/models/models_2.js +8 -5
  31. package/dist-es/models/models_3.js +5 -5
  32. package/dist-es/models/models_4.js +5 -5
  33. package/dist-es/models/models_5.js +2 -2
  34. package/dist-es/models/models_6.js +2 -0
  35. package/dist-es/protocols/Aws_ec2.js +50 -0
  36. package/dist-types/EC2.d.ts +13 -30
  37. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -1
  38. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  39. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -1
  40. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -2
  41. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  44. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +2 -1
  46. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  47. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  48. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  49. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  50. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  51. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  52. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  53. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  54. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  55. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  56. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  57. package/dist-types/models/models_0.d.ts +323 -91
  58. package/dist-types/models/models_1.d.ts +112 -141
  59. package/dist-types/models/models_2.d.ts +125 -148
  60. package/dist-types/models/models_3.d.ts +163 -146
  61. package/dist-types/models/models_4.d.ts +233 -347
  62. package/dist-types/models/models_5.d.ts +45 -43
  63. package/dist-types/models/models_6.d.ts +44 -10
  64. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +2 -4
  72. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/models/models_0.d.ts +92 -42
  74. package/dist-types/ts3.4/models/models_1.d.ts +35 -46
  75. package/dist-types/ts3.4/models/models_2.d.ts +47 -40
  76. package/dist-types/ts3.4/models/models_3.d.ts +42 -48
  77. package/dist-types/ts3.4/models/models_4.d.ts +46 -91
  78. package/dist-types/ts3.4/models/models_5.d.ts +19 -21
  79. package/dist-types/ts3.4/models/models_6.d.ts +17 -6
  80. package/package.json +1 -1
@@ -41444,6 +41444,7 @@ const deserializeAws_ec2AnalysisRouteTableRoute = (output, context) => {
41444
41444
  Origin: undefined,
41445
41445
  TransitGatewayId: undefined,
41446
41446
  VpcPeeringConnectionId: undefined,
41447
+ State: undefined,
41447
41448
  };
41448
41449
  if (output["destinationCidr"] !== undefined) {
41449
41450
  contents.DestinationCidr = (0, smithy_client_1.expectString)(output["destinationCidr"]);
@@ -41475,6 +41476,9 @@ const deserializeAws_ec2AnalysisRouteTableRoute = (output, context) => {
41475
41476
  if (output["vpcPeeringConnectionId"] !== undefined) {
41476
41477
  contents.VpcPeeringConnectionId = (0, smithy_client_1.expectString)(output["vpcPeeringConnectionId"]);
41477
41478
  }
41479
+ if (output["state"] !== undefined) {
41480
+ contents.State = (0, smithy_client_1.expectString)(output["state"]);
41481
+ }
41478
41482
  return contents;
41479
41483
  };
41480
41484
  const deserializeAws_ec2AnalysisSecurityGroupRule = (output, context) => {
@@ -42355,6 +42359,26 @@ const deserializeAws_ec2CancelSpotInstanceRequestsResult = (output, context) =>
42355
42359
  }
42356
42360
  return contents;
42357
42361
  };
42362
+ const deserializeAws_ec2CapacityAllocation = (output, context) => {
42363
+ const contents = {
42364
+ AllocationType: undefined,
42365
+ Count: undefined,
42366
+ };
42367
+ if (output["allocationType"] !== undefined) {
42368
+ contents.AllocationType = (0, smithy_client_1.expectString)(output["allocationType"]);
42369
+ }
42370
+ if (output["count"] !== undefined) {
42371
+ contents.Count = (0, smithy_client_1.strictParseInt32)(output["count"]);
42372
+ }
42373
+ return contents;
42374
+ };
42375
+ const deserializeAws_ec2CapacityAllocations = (output, context) => {
42376
+ return (output || [])
42377
+ .filter((e) => e != null)
42378
+ .map((entry) => {
42379
+ return deserializeAws_ec2CapacityAllocation(entry, context);
42380
+ });
42381
+ };
42358
42382
  const deserializeAws_ec2CapacityReservation = (output, context) => {
42359
42383
  const contents = {
42360
42384
  CapacityReservationId: undefined,
@@ -42379,6 +42403,7 @@ const deserializeAws_ec2CapacityReservation = (output, context) => {
42379
42403
  OutpostArn: undefined,
42380
42404
  CapacityReservationFleetId: undefined,
42381
42405
  PlacementGroupArn: undefined,
42406
+ CapacityAllocations: undefined,
42382
42407
  };
42383
42408
  if (output["capacityReservationId"] !== undefined) {
42384
42409
  contents.CapacityReservationId = (0, smithy_client_1.expectString)(output["capacityReservationId"]);
@@ -42449,6 +42474,12 @@ const deserializeAws_ec2CapacityReservation = (output, context) => {
42449
42474
  if (output["placementGroupArn"] !== undefined) {
42450
42475
  contents.PlacementGroupArn = (0, smithy_client_1.expectString)(output["placementGroupArn"]);
42451
42476
  }
42477
+ if (output.capacityAllocationSet === "") {
42478
+ contents.CapacityAllocations = [];
42479
+ }
42480
+ else if (output["capacityAllocationSet"] !== undefined && output["capacityAllocationSet"]["item"] !== undefined) {
42481
+ contents.CapacityAllocations = deserializeAws_ec2CapacityAllocations((0, smithy_client_1.getArrayIfSingleItem)(output["capacityAllocationSet"]["item"]), context);
42482
+ }
42452
42483
  return contents;
42453
42484
  };
42454
42485
  const deserializeAws_ec2CapacityReservationFleet = (output, context) => {
@@ -48441,6 +48472,8 @@ const deserializeAws_ec2Explanation = (output, context) => {
48441
48472
  TransitGatewayRouteTable: undefined,
48442
48473
  TransitGatewayRouteTableRoute: undefined,
48443
48474
  TransitGatewayAttachment: undefined,
48475
+ ComponentAccount: undefined,
48476
+ ComponentRegion: undefined,
48444
48477
  };
48445
48478
  if (output["acl"] !== undefined) {
48446
48479
  contents.Acl = deserializeAws_ec2AnalysisComponent(output["acl"], context);
@@ -48611,6 +48644,12 @@ const deserializeAws_ec2Explanation = (output, context) => {
48611
48644
  if (output["transitGatewayAttachment"] !== undefined) {
48612
48645
  contents.TransitGatewayAttachment = deserializeAws_ec2AnalysisComponent(output["transitGatewayAttachment"], context);
48613
48646
  }
48647
+ if (output["componentAccount"] !== undefined) {
48648
+ contents.ComponentAccount = (0, smithy_client_1.expectString)(output["componentAccount"]);
48649
+ }
48650
+ if (output["componentRegion"] !== undefined) {
48651
+ contents.ComponentRegion = (0, smithy_client_1.expectString)(output["componentRegion"]);
48652
+ }
48614
48653
  return contents;
48615
48654
  };
48616
48655
  const deserializeAws_ec2ExplanationList = (output, context) => {
@@ -56272,6 +56311,8 @@ const deserializeAws_ec2PathComponent = (output, context) => {
56272
56311
  AdditionalDetails: undefined,
56273
56312
  TransitGateway: undefined,
56274
56313
  TransitGatewayRouteTableRoute: undefined,
56314
+ Explanations: undefined,
56315
+ ElasticLoadBalancerListener: undefined,
56275
56316
  };
56276
56317
  if (output["sequenceNumber"] !== undefined) {
56277
56318
  contents.SequenceNumber = (0, smithy_client_1.strictParseInt32)(output["sequenceNumber"]);
@@ -56321,6 +56362,15 @@ const deserializeAws_ec2PathComponent = (output, context) => {
56321
56362
  if (output["transitGatewayRouteTableRoute"] !== undefined) {
56322
56363
  contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
56323
56364
  }
56365
+ if (output.explanationSet === "") {
56366
+ contents.Explanations = [];
56367
+ }
56368
+ else if (output["explanationSet"] !== undefined && output["explanationSet"]["item"] !== undefined) {
56369
+ contents.Explanations = deserializeAws_ec2ExplanationList((0, smithy_client_1.getArrayIfSingleItem)(output["explanationSet"]["item"]), context);
56370
+ }
56371
+ if (output["elasticLoadBalancerListener"] !== undefined) {
56372
+ contents.ElasticLoadBalancerListener = deserializeAws_ec2AnalysisComponent(output["elasticLoadBalancerListener"], context);
56373
+ }
56324
56374
  return contents;
56325
56375
  };
56326
56376
  const deserializeAws_ec2PathComponentList = (output, context) => {
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateDefaultVpcRequestFilterSensitiveLog, CreateDefaultVpcResultFilterSensitiveLog, } from "../models/models_0";
4
+ import { CreateDefaultVpcRequestFilterSensitiveLog } from "../models/models_0";
5
+ import { CreateDefaultVpcResultFilterSensitiveLog } from "../models/models_1";
5
6
  import { deserializeAws_ec2CreateDefaultVpcCommand, serializeAws_ec2CreateDefaultVpcCommand, } from "../protocols/Aws_ec2";
6
7
  var CreateDefaultVpcCommand = (function (_super) {
7
8
  __extends(CreateDefaultVpcCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateDhcpOptionsRequestFilterSensitiveLog } from "../models/models_0";
5
- import { CreateDhcpOptionsResultFilterSensitiveLog } from "../models/models_1";
4
+ import { CreateDhcpOptionsRequestFilterSensitiveLog, CreateDhcpOptionsResultFilterSensitiveLog, } from "../models/models_1";
6
5
  import { deserializeAws_ec2CreateDhcpOptionsCommand, serializeAws_ec2CreateDhcpOptionsCommand, } from "../protocols/Aws_ec2";
7
6
  var CreateDhcpOptionsCommand = (function (_super) {
8
7
  __extends(CreateDhcpOptionsCommand, _super);
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateTrafficMirrorFilterRequestFilterSensitiveLog, CreateTrafficMirrorFilterResultFilterSensitiveLog, } from "../models/models_1";
4
+ import { CreateTrafficMirrorFilterRequestFilterSensitiveLog, } from "../models/models_1";
5
+ import { CreateTrafficMirrorFilterResultFilterSensitiveLog } from "../models/models_2";
5
6
  import { deserializeAws_ec2CreateTrafficMirrorFilterCommand, serializeAws_ec2CreateTrafficMirrorFilterCommand, } from "../protocols/Aws_ec2";
6
7
  var CreateTrafficMirrorFilterCommand = (function (_super) {
7
8
  __extends(CreateTrafficMirrorFilterCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog, } from "../models/models_1";
5
- import { CreateTrafficMirrorFilterRuleResultFilterSensitiveLog, } from "../models/models_2";
4
+ import { CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog, CreateTrafficMirrorFilterRuleResultFilterSensitiveLog, } from "../models/models_2";
6
5
  import { deserializeAws_ec2CreateTrafficMirrorFilterRuleCommand, serializeAws_ec2CreateTrafficMirrorFilterRuleCommand, } from "../protocols/Aws_ec2";
7
6
  var CreateTrafficMirrorFilterRuleCommand = (function (_super) {
8
7
  __extends(CreateTrafficMirrorFilterRuleCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeAddressesAttributeRequestFilterSensitiveLog, DescribeAddressesAttributeResultFilterSensitiveLog, } from "../models/models_2";
4
+ import { DescribeAddressesAttributeRequestFilterSensitiveLog, DescribeAddressesAttributeResultFilterSensitiveLog, } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeAddressesAttributeCommand, serializeAws_ec2DescribeAddressesAttributeCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeAddressesAttributeCommand = (function (_super) {
7
7
  __extends(DescribeAddressesAttributeCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeAddressesRequestFilterSensitiveLog, DescribeAddressesResultFilterSensitiveLog, } from "../models/models_2";
4
+ import { DescribeAddressesRequestFilterSensitiveLog, DescribeAddressesResultFilterSensitiveLog, } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeAddressesCommand, serializeAws_ec2DescribeAddressesCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeAddressesCommand = (function (_super) {
7
7
  __extends(DescribeAddressesCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog, DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog, } from "../models/models_3";
4
+ import { DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog, DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog, } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeLocalGatewayVirtualInterfaceGroupsCommand, serializeAws_ec2DescribeLocalGatewayVirtualInterfaceGroupsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeLocalGatewayVirtualInterfaceGroupsCommand = (function (_super) {
7
7
  __extends(DescribeLocalGatewayVirtualInterfaceGroupsCommand, _super);
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeLocalGatewaysRequestFilterSensitiveLog, DescribeLocalGatewaysResultFilterSensitiveLog, } from "../models/models_3";
4
+ import { DescribeLocalGatewaysRequestFilterSensitiveLog } from "../models/models_3";
5
+ import { DescribeLocalGatewaysResultFilterSensitiveLog } from "../models/models_4";
5
6
  import { deserializeAws_ec2DescribeLocalGatewaysCommand, serializeAws_ec2DescribeLocalGatewaysCommand, } from "../protocols/Aws_ec2";
6
7
  var DescribeLocalGatewaysCommand = (function (_super) {
7
8
  __extends(DescribeLocalGatewaysCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { MonitorInstancesRequestFilterSensitiveLog } from "../models/models_5";
5
- import { MonitorInstancesResultFilterSensitiveLog } from "../models/models_6";
4
+ import { MonitorInstancesRequestFilterSensitiveLog, MonitorInstancesResultFilterSensitiveLog, } from "../models/models_6";
6
5
  import { deserializeAws_ec2MonitorInstancesCommand, serializeAws_ec2MonitorInstancesCommand, } from "../protocols/Aws_ec2";
7
6
  var MonitorInstancesCommand = (function (_super) {
8
7
  __extends(MonitorInstancesCommand, _super);
@@ -265,6 +265,10 @@ export var AllocationStrategy;
265
265
  AllocationStrategy["DIVERSIFIED"] = "diversified";
266
266
  AllocationStrategy["LOWEST_PRICE"] = "lowestPrice";
267
267
  })(AllocationStrategy || (AllocationStrategy = {}));
268
+ export var AllocationType;
269
+ (function (AllocationType) {
270
+ AllocationType["used"] = "used";
271
+ })(AllocationType || (AllocationType = {}));
268
272
  export var AllowsMultipleInstanceTypes;
269
273
  (function (AllowsMultipleInstanceTypes) {
270
274
  AllowsMultipleInstanceTypes["off"] = "off";
@@ -1149,10 +1153,13 @@ export var PortRangeFilterSensitiveLog = function (obj) { return (__assign({}, o
1149
1153
  export var AnalysisAclRuleFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1150
1154
  export var AnalysisComponentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1151
1155
  export var AdditionalDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1152
- export var AnalysisPacketHeaderFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1156
+ export var AnalysisLoadBalancerListenerFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1157
+ export var AnalysisLoadBalancerTargetFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1153
1158
  export var AnalysisRouteTableRouteFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1154
1159
  export var AnalysisSecurityGroupRuleFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1155
1160
  export var TransitGatewayRouteTableRouteFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1161
+ export var ExplanationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1162
+ export var AnalysisPacketHeaderFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1156
1163
  export var PathComponentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1157
1164
  export var AccessScopeAnalysisFindingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1158
1165
  export var PacketHeaderStatementFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1302,6 +1309,7 @@ export var CopyImageResultFilterSensitiveLog = function (obj) { return (__assign
1302
1309
  export var CopySnapshotRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1303
1310
  export var CopySnapshotResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1304
1311
  export var CreateCapacityReservationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1312
+ export var CapacityAllocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1305
1313
  export var CapacityReservationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1306
1314
  export var CreateCapacityReservationResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1307
1315
  export var ReservationFleetInstanceSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1339,8 +1347,3 @@ export var SubnetFilterSensitiveLog = function (obj) { return (__assign({}, obj)
1339
1347
  export var CreateDefaultSubnetResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1340
1348
  export var CreateDefaultVpcRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1341
1349
  export var VpcFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1342
- export var CreateDefaultVpcResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1343
- export var NewDhcpConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1344
- export var CreateDhcpOptionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1345
- export var AttributeValueFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1346
- export var DhcpConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -441,10 +441,11 @@ export var TrafficDirection;
441
441
  TrafficDirection["egress"] = "egress";
442
442
  TrafficDirection["ingress"] = "ingress";
443
443
  })(TrafficDirection || (TrafficDirection = {}));
444
- export var TrafficMirrorNetworkService;
445
- (function (TrafficMirrorNetworkService) {
446
- TrafficMirrorNetworkService["amazon_dns"] = "amazon-dns";
447
- })(TrafficMirrorNetworkService || (TrafficMirrorNetworkService = {}));
444
+ export var CreateDefaultVpcResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
445
+ export var NewDhcpConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
446
+ export var CreateDhcpOptionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
447
+ export var AttributeValueFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
448
+ export var DhcpConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
448
449
  export var DhcpOptionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
449
450
  export var CreateDhcpOptionsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
450
451
  export var CreateEgressOnlyInternetGatewayRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -671,7 +672,3 @@ export var CreateTagsRequestFilterSensitiveLog = function (obj) { return (__assi
671
672
  export var CreateTrafficMirrorFilterRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
672
673
  export var TrafficMirrorPortRangeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
673
674
  export var TrafficMirrorFilterRuleFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
674
- export var TrafficMirrorFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
675
- export var CreateTrafficMirrorFilterResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
676
- export var TrafficMirrorPortRangeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
677
- export var CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,4 +1,8 @@
1
1
  import { __assign } from "tslib";
2
+ export var TrafficMirrorNetworkService;
3
+ (function (TrafficMirrorNetworkService) {
4
+ TrafficMirrorNetworkService["amazon_dns"] = "amazon-dns";
5
+ })(TrafficMirrorNetworkService || (TrafficMirrorNetworkService = {}));
2
6
  export var TrafficMirrorTargetType;
3
7
  (function (TrafficMirrorTargetType) {
4
8
  TrafficMirrorTargetType["gateway_load_balancer_endpoint"] = "gateway-load-balancer-endpoint";
@@ -276,6 +280,10 @@ export var IpamPoolCidrState;
276
280
  IpamPoolCidrState["pending_provision"] = "pending-provision";
277
281
  IpamPoolCidrState["provisioned"] = "provisioned";
278
282
  })(IpamPoolCidrState || (IpamPoolCidrState = {}));
283
+ export var TrafficMirrorFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
284
+ export var CreateTrafficMirrorFilterResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
285
+ export var TrafficMirrorPortRangeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
286
+ export var CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
279
287
  export var CreateTrafficMirrorFilterRuleResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
280
288
  export var CreateTrafficMirrorSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
281
289
  export var TrafficMirrorSessionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -527,8 +535,3 @@ export var TransitGatewayMulticastDeregisteredGroupSourcesFilterSensitiveLog = f
527
535
  export var DeregisterTransitGatewayMulticastGroupSourcesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
528
536
  export var DescribeAccountAttributesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
529
537
  export var DescribeAccountAttributesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
530
- export var FilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
531
- export var DescribeAddressesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
532
- export var DescribeAddressesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
533
- export var DescribeAddressesAttributeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
534
- export var DescribeAddressesAttributeResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -354,6 +354,11 @@ export var UsageClassType;
354
354
  UsageClassType["on_demand"] = "on-demand";
355
355
  UsageClassType["spot"] = "spot";
356
356
  })(UsageClassType || (UsageClassType = {}));
357
+ export var FilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
358
+ export var DescribeAddressesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
359
+ export var DescribeAddressesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
360
+ export var DescribeAddressesAttributeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
361
+ export var DescribeAddressesAttributeResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
357
362
  export var DescribeAggregateIdFormatRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
358
363
  export var IdFormatFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
359
364
  export var DescribeAggregateIdFormatResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -592,8 +597,3 @@ export var DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult
592
597
  export var DescribeLocalGatewayRouteTableVpcAssociationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
593
598
  export var DescribeLocalGatewayRouteTableVpcAssociationsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
594
599
  export var DescribeLocalGatewaysRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
595
- export var LocalGatewayFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
596
- export var DescribeLocalGatewaysResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
597
- export var DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
598
- export var LocalGatewayVirtualInterfaceGroupFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
599
- export var DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -137,6 +137,11 @@ export var TransitGatewayPropagationState;
137
137
  TransitGatewayPropagationState["enabled"] = "enabled";
138
138
  TransitGatewayPropagationState["enabling"] = "enabling";
139
139
  })(TransitGatewayPropagationState || (TransitGatewayPropagationState = {}));
140
+ export var LocalGatewayFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
141
+ export var DescribeLocalGatewaysResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
142
+ export var DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
143
+ export var LocalGatewayVirtualInterfaceGroupFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
144
+ export var DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
140
145
  export var DescribeLocalGatewayVirtualInterfacesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
141
146
  export var LocalGatewayVirtualInterfaceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
142
147
  export var DescribeLocalGatewayVirtualInterfacesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -155,9 +160,6 @@ export var DescribeNetworkInsightsAccessScopeAnalysesResultFilterSensitiveLog =
155
160
  export var DescribeNetworkInsightsAccessScopesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
156
161
  export var DescribeNetworkInsightsAccessScopesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
157
162
  export var DescribeNetworkInsightsAnalysesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
158
- export var AnalysisLoadBalancerListenerFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
159
- export var AnalysisLoadBalancerTargetFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
160
- export var ExplanationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
161
163
  export var NetworkInsightsAnalysisFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
162
164
  export var DescribeNetworkInsightsAnalysesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
163
165
  export var DescribeNetworkInsightsPathsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -412,5 +414,3 @@ export var EnableFastLaunchRequestFilterSensitiveLog = function (obj) { return (
412
414
  export var EnableFastLaunchResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
413
415
  export var EnableFastSnapshotRestoresRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
414
416
  export var EnableFastSnapshotRestoreSuccessItemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
415
- export var EnableFastSnapshotRestoreStateErrorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
416
- export var EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -97,6 +97,8 @@ export var VpcTenancy;
97
97
  (function (VpcTenancy) {
98
98
  VpcTenancy["default"] = "default";
99
99
  })(VpcTenancy || (VpcTenancy = {}));
100
+ export var EnableFastSnapshotRestoreStateErrorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
+ export var EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
100
102
  export var EnableFastSnapshotRestoreErrorItemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
103
  export var EnableFastSnapshotRestoresResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
104
  export var EnableImageDeprecationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -381,5 +383,3 @@ export var ModifyVpnTunnelCertificateResultFilterSensitiveLog = function (obj) {
381
383
  export var ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
382
384
  export var ModifyVpnTunnelOptionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
383
385
  export var ModifyVpnTunnelOptionsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
384
- export var MonitorInstancesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
385
- export var InstanceMonitoringFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -36,6 +36,8 @@ export var MembershipType;
36
36
  MembershipType["igmp"] = "igmp";
37
37
  MembershipType["static"] = "static";
38
38
  })(MembershipType || (MembershipType = {}));
39
+ export var MonitorInstancesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
+ export var InstanceMonitoringFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
39
41
  export var MonitorInstancesResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
42
  export var MoveAddressToVpcRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
43
  export var MoveAddressToVpcResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -50318,6 +50318,7 @@ var deserializeAws_ec2AnalysisRouteTableRoute = function (output, context) {
50318
50318
  Origin: undefined,
50319
50319
  TransitGatewayId: undefined,
50320
50320
  VpcPeeringConnectionId: undefined,
50321
+ State: undefined,
50321
50322
  };
50322
50323
  if (output["destinationCidr"] !== undefined) {
50323
50324
  contents.DestinationCidr = __expectString(output["destinationCidr"]);
@@ -50349,6 +50350,9 @@ var deserializeAws_ec2AnalysisRouteTableRoute = function (output, context) {
50349
50350
  if (output["vpcPeeringConnectionId"] !== undefined) {
50350
50351
  contents.VpcPeeringConnectionId = __expectString(output["vpcPeeringConnectionId"]);
50351
50352
  }
50353
+ if (output["state"] !== undefined) {
50354
+ contents.State = __expectString(output["state"]);
50355
+ }
50352
50356
  return contents;
50353
50357
  };
50354
50358
  var deserializeAws_ec2AnalysisSecurityGroupRule = function (output, context) {
@@ -51229,6 +51233,26 @@ var deserializeAws_ec2CancelSpotInstanceRequestsResult = function (output, conte
51229
51233
  }
51230
51234
  return contents;
51231
51235
  };
51236
+ var deserializeAws_ec2CapacityAllocation = function (output, context) {
51237
+ var contents = {
51238
+ AllocationType: undefined,
51239
+ Count: undefined,
51240
+ };
51241
+ if (output["allocationType"] !== undefined) {
51242
+ contents.AllocationType = __expectString(output["allocationType"]);
51243
+ }
51244
+ if (output["count"] !== undefined) {
51245
+ contents.Count = __strictParseInt32(output["count"]);
51246
+ }
51247
+ return contents;
51248
+ };
51249
+ var deserializeAws_ec2CapacityAllocations = function (output, context) {
51250
+ return (output || [])
51251
+ .filter(function (e) { return e != null; })
51252
+ .map(function (entry) {
51253
+ return deserializeAws_ec2CapacityAllocation(entry, context);
51254
+ });
51255
+ };
51232
51256
  var deserializeAws_ec2CapacityReservation = function (output, context) {
51233
51257
  var contents = {
51234
51258
  CapacityReservationId: undefined,
@@ -51253,6 +51277,7 @@ var deserializeAws_ec2CapacityReservation = function (output, context) {
51253
51277
  OutpostArn: undefined,
51254
51278
  CapacityReservationFleetId: undefined,
51255
51279
  PlacementGroupArn: undefined,
51280
+ CapacityAllocations: undefined,
51256
51281
  };
51257
51282
  if (output["capacityReservationId"] !== undefined) {
51258
51283
  contents.CapacityReservationId = __expectString(output["capacityReservationId"]);
@@ -51323,6 +51348,12 @@ var deserializeAws_ec2CapacityReservation = function (output, context) {
51323
51348
  if (output["placementGroupArn"] !== undefined) {
51324
51349
  contents.PlacementGroupArn = __expectString(output["placementGroupArn"]);
51325
51350
  }
51351
+ if (output.capacityAllocationSet === "") {
51352
+ contents.CapacityAllocations = [];
51353
+ }
51354
+ else if (output["capacityAllocationSet"] !== undefined && output["capacityAllocationSet"]["item"] !== undefined) {
51355
+ contents.CapacityAllocations = deserializeAws_ec2CapacityAllocations(__getArrayIfSingleItem(output["capacityAllocationSet"]["item"]), context);
51356
+ }
51326
51357
  return contents;
51327
51358
  };
51328
51359
  var deserializeAws_ec2CapacityReservationFleet = function (output, context) {
@@ -57315,6 +57346,8 @@ var deserializeAws_ec2Explanation = function (output, context) {
57315
57346
  TransitGatewayRouteTable: undefined,
57316
57347
  TransitGatewayRouteTableRoute: undefined,
57317
57348
  TransitGatewayAttachment: undefined,
57349
+ ComponentAccount: undefined,
57350
+ ComponentRegion: undefined,
57318
57351
  };
57319
57352
  if (output["acl"] !== undefined) {
57320
57353
  contents.Acl = deserializeAws_ec2AnalysisComponent(output["acl"], context);
@@ -57485,6 +57518,12 @@ var deserializeAws_ec2Explanation = function (output, context) {
57485
57518
  if (output["transitGatewayAttachment"] !== undefined) {
57486
57519
  contents.TransitGatewayAttachment = deserializeAws_ec2AnalysisComponent(output["transitGatewayAttachment"], context);
57487
57520
  }
57521
+ if (output["componentAccount"] !== undefined) {
57522
+ contents.ComponentAccount = __expectString(output["componentAccount"]);
57523
+ }
57524
+ if (output["componentRegion"] !== undefined) {
57525
+ contents.ComponentRegion = __expectString(output["componentRegion"]);
57526
+ }
57488
57527
  return contents;
57489
57528
  };
57490
57529
  var deserializeAws_ec2ExplanationList = function (output, context) {
@@ -65146,6 +65185,8 @@ var deserializeAws_ec2PathComponent = function (output, context) {
65146
65185
  AdditionalDetails: undefined,
65147
65186
  TransitGateway: undefined,
65148
65187
  TransitGatewayRouteTableRoute: undefined,
65188
+ Explanations: undefined,
65189
+ ElasticLoadBalancerListener: undefined,
65149
65190
  };
65150
65191
  if (output["sequenceNumber"] !== undefined) {
65151
65192
  contents.SequenceNumber = __strictParseInt32(output["sequenceNumber"]);
@@ -65195,6 +65236,15 @@ var deserializeAws_ec2PathComponent = function (output, context) {
65195
65236
  if (output["transitGatewayRouteTableRoute"] !== undefined) {
65196
65237
  contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
65197
65238
  }
65239
+ if (output.explanationSet === "") {
65240
+ contents.Explanations = [];
65241
+ }
65242
+ else if (output["explanationSet"] !== undefined && output["explanationSet"]["item"] !== undefined) {
65243
+ contents.Explanations = deserializeAws_ec2ExplanationList(__getArrayIfSingleItem(output["explanationSet"]["item"]), context);
65244
+ }
65245
+ if (output["elasticLoadBalancerListener"] !== undefined) {
65246
+ contents.ElasticLoadBalancerListener = deserializeAws_ec2AnalysisComponent(output["elasticLoadBalancerListener"], context);
65247
+ }
65198
65248
  return contents;
65199
65249
  };
65200
65250
  var deserializeAws_ec2PathComponentList = function (output, context) {