@aws-sdk/client-ec2 3.88.0 → 3.92.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 (60) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/commands/DescribeClientVpnRoutesCommand.js +2 -1
  3. package/dist-cjs/commands/DescribeClientVpnTargetNetworksCommand.js +3 -3
  4. package/dist-cjs/commands/DescribePublicIpv4PoolsCommand.js +3 -3
  5. package/dist-cjs/commands/DescribeRegionsCommand.js +1 -2
  6. package/dist-cjs/commands/GetEbsEncryptionByDefaultCommand.js +3 -3
  7. package/dist-cjs/commands/ReplaceTransitGatewayRouteCommand.js +2 -1
  8. package/dist-cjs/commands/ReportInstanceStatusCommand.js +2 -2
  9. package/dist-cjs/commands/RequestSpotFleetCommand.js +1 -2
  10. package/dist-cjs/models/models_2.js +36 -36
  11. package/dist-cjs/models/models_3.js +36 -36
  12. package/dist-cjs/models/models_4.js +36 -37
  13. package/dist-cjs/models/models_5.js +37 -24
  14. package/dist-cjs/models/models_6.js +20 -2
  15. package/dist-cjs/protocols/Aws_ec2.js +107 -7
  16. package/dist-es/commands/DescribeClientVpnRoutesCommand.js +2 -1
  17. package/dist-es/commands/DescribeClientVpnTargetNetworksCommand.js +1 -1
  18. package/dist-es/commands/DescribePublicIpv4PoolsCommand.js +1 -1
  19. package/dist-es/commands/DescribeRegionsCommand.js +1 -2
  20. package/dist-es/commands/GetEbsEncryptionByDefaultCommand.js +1 -1
  21. package/dist-es/commands/ReplaceTransitGatewayRouteCommand.js +2 -1
  22. package/dist-es/commands/ReportInstanceStatusCommand.js +1 -1
  23. package/dist-es/commands/RequestSpotFleetCommand.js +1 -2
  24. package/dist-es/models/models_2.js +26 -20
  25. package/dist-es/models/models_3.js +20 -20
  26. package/dist-es/models/models_4.js +20 -23
  27. package/dist-es/models/models_5.js +23 -12
  28. package/dist-es/models/models_6.js +12 -0
  29. package/dist-es/protocols/Aws_ec2.js +113 -8
  30. package/dist-types/EC2.d.ts +1 -1
  31. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -2
  36. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  37. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +2 -1
  38. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
  39. package/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -2
  40. package/dist-types/models/models_1.d.ts +13 -5
  41. package/dist-types/models/models_2.d.ts +78 -164
  42. package/dist-types/models/models_3.d.ts +156 -162
  43. package/dist-types/models/models_4.d.ts +186 -75
  44. package/dist-types/models/models_5.d.ts +93 -121
  45. package/dist-types/models/models_6.d.ts +119 -1
  46. package/dist-types/ts3.4/commands/DescribeClientVpnRoutesCommand.d.ts +2 -1
  47. package/dist-types/ts3.4/commands/DescribeClientVpnTargetNetworksCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +1 -2
  50. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +2 -1
  52. package/dist-types/ts3.4/commands/ReportInstanceStatusCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -2
  54. package/dist-types/ts3.4/models/models_1.d.ts +7 -3
  55. package/dist-types/ts3.4/models/models_2.d.ts +46 -79
  56. package/dist-types/ts3.4/models/models_3.d.ts +79 -75
  57. package/dist-types/ts3.4/models/models_4.d.ts +79 -47
  58. package/dist-types/ts3.4/models/models_5.d.ts +57 -44
  59. package/dist-types/ts3.4/models/models_6.d.ts +42 -1
  60. package/package.json +2 -2
@@ -1,4 +1,24 @@
1
1
  import { __assign } from "tslib";
2
+ export var DescribePublicIpv4PoolsRequest;
3
+ (function (DescribePublicIpv4PoolsRequest) {
4
+ DescribePublicIpv4PoolsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
+ })(DescribePublicIpv4PoolsRequest || (DescribePublicIpv4PoolsRequest = {}));
6
+ export var PublicIpv4PoolRange;
7
+ (function (PublicIpv4PoolRange) {
8
+ PublicIpv4PoolRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
+ })(PublicIpv4PoolRange || (PublicIpv4PoolRange = {}));
10
+ export var PublicIpv4Pool;
11
+ (function (PublicIpv4Pool) {
12
+ PublicIpv4Pool.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
+ })(PublicIpv4Pool || (PublicIpv4Pool = {}));
14
+ export var DescribePublicIpv4PoolsResult;
15
+ (function (DescribePublicIpv4PoolsResult) {
16
+ DescribePublicIpv4PoolsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
+ })(DescribePublicIpv4PoolsResult || (DescribePublicIpv4PoolsResult = {}));
18
+ export var DescribeRegionsRequest;
19
+ (function (DescribeRegionsRequest) {
20
+ DescribeRegionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
+ })(DescribeRegionsRequest || (DescribeRegionsRequest = {}));
2
22
  export var Region;
3
23
  (function (Region) {
4
24
  Region.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1139,26 +1159,3 @@ export var GetEbsDefaultKmsKeyIdResult;
1139
1159
  (function (GetEbsDefaultKmsKeyIdResult) {
1140
1160
  GetEbsDefaultKmsKeyIdResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1141
1161
  })(GetEbsDefaultKmsKeyIdResult || (GetEbsDefaultKmsKeyIdResult = {}));
1142
- export var GetEbsEncryptionByDefaultRequest;
1143
- (function (GetEbsEncryptionByDefaultRequest) {
1144
- GetEbsEncryptionByDefaultRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1145
- })(GetEbsEncryptionByDefaultRequest || (GetEbsEncryptionByDefaultRequest = {}));
1146
- export var GetEbsEncryptionByDefaultResult;
1147
- (function (GetEbsEncryptionByDefaultResult) {
1148
- GetEbsEncryptionByDefaultResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1149
- })(GetEbsEncryptionByDefaultResult || (GetEbsEncryptionByDefaultResult = {}));
1150
- export var PartitionLoadFrequency;
1151
- (function (PartitionLoadFrequency) {
1152
- PartitionLoadFrequency["DAILY"] = "daily";
1153
- PartitionLoadFrequency["MONTHLY"] = "monthly";
1154
- PartitionLoadFrequency["NONE"] = "none";
1155
- PartitionLoadFrequency["WEEKLY"] = "weekly";
1156
- })(PartitionLoadFrequency || (PartitionLoadFrequency = {}));
1157
- export var AthenaIntegration;
1158
- (function (AthenaIntegration) {
1159
- AthenaIntegration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1160
- })(AthenaIntegration || (AthenaIntegration = {}));
1161
- export var IntegrateServices;
1162
- (function (IntegrateServices) {
1163
- IntegrateServices.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1164
- })(IntegrateServices || (IntegrateServices = {}));
@@ -1,5 +1,28 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ export var GetEbsEncryptionByDefaultRequest;
4
+ (function (GetEbsEncryptionByDefaultRequest) {
5
+ GetEbsEncryptionByDefaultRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ })(GetEbsEncryptionByDefaultRequest || (GetEbsEncryptionByDefaultRequest = {}));
7
+ export var GetEbsEncryptionByDefaultResult;
8
+ (function (GetEbsEncryptionByDefaultResult) {
9
+ GetEbsEncryptionByDefaultResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
+ })(GetEbsEncryptionByDefaultResult || (GetEbsEncryptionByDefaultResult = {}));
11
+ export var PartitionLoadFrequency;
12
+ (function (PartitionLoadFrequency) {
13
+ PartitionLoadFrequency["DAILY"] = "daily";
14
+ PartitionLoadFrequency["MONTHLY"] = "monthly";
15
+ PartitionLoadFrequency["NONE"] = "none";
16
+ PartitionLoadFrequency["WEEKLY"] = "weekly";
17
+ })(PartitionLoadFrequency || (PartitionLoadFrequency = {}));
18
+ export var AthenaIntegration;
19
+ (function (AthenaIntegration) {
20
+ AthenaIntegration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
+ })(AthenaIntegration || (AthenaIntegration = {}));
22
+ export var IntegrateServices;
23
+ (function (IntegrateServices) {
24
+ IntegrateServices.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
+ })(IntegrateServices || (IntegrateServices = {}));
3
26
  export var GetFlowLogsIntegrationTemplateRequest;
4
27
  (function (GetFlowLogsIntegrationTemplateRequest) {
5
28
  GetFlowLogsIntegrationTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1178,15 +1201,3 @@ export var ReplaceTransitGatewayRouteRequest;
1178
1201
  (function (ReplaceTransitGatewayRouteRequest) {
1179
1202
  ReplaceTransitGatewayRouteRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1180
1203
  })(ReplaceTransitGatewayRouteRequest || (ReplaceTransitGatewayRouteRequest = {}));
1181
- export var ReplaceTransitGatewayRouteResult;
1182
- (function (ReplaceTransitGatewayRouteResult) {
1183
- ReplaceTransitGatewayRouteResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1184
- })(ReplaceTransitGatewayRouteResult || (ReplaceTransitGatewayRouteResult = {}));
1185
- export var ReportInstanceStatusRequest;
1186
- (function (ReportInstanceStatusRequest) {
1187
- ReportInstanceStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1188
- })(ReportInstanceStatusRequest || (ReportInstanceStatusRequest = {}));
1189
- export var RequestSpotFleetRequest;
1190
- (function (RequestSpotFleetRequest) {
1191
- RequestSpotFleetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1192
- })(RequestSpotFleetRequest || (RequestSpotFleetRequest = {}));
@@ -1,5 +1,17 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ export var ReplaceTransitGatewayRouteResult;
4
+ (function (ReplaceTransitGatewayRouteResult) {
5
+ ReplaceTransitGatewayRouteResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ })(ReplaceTransitGatewayRouteResult || (ReplaceTransitGatewayRouteResult = {}));
7
+ export var ReportInstanceStatusRequest;
8
+ (function (ReportInstanceStatusRequest) {
9
+ ReportInstanceStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
+ })(ReportInstanceStatusRequest || (ReportInstanceStatusRequest = {}));
11
+ export var RequestSpotFleetRequest;
12
+ (function (RequestSpotFleetRequest) {
13
+ RequestSpotFleetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
14
+ })(RequestSpotFleetRequest || (RequestSpotFleetRequest = {}));
3
15
  export var RequestSpotFleetResponse;
4
16
  (function (RequestSpotFleetResponse) {
5
17
  RequestSpotFleetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -32198,14 +32198,6 @@ var serializeAws_ec2CreateStoreImageTaskRequest = function (input, context) {
32198
32198
  };
32199
32199
  var serializeAws_ec2CreateSubnetCidrReservationRequest = function (input, context) {
32200
32200
  var entries = {};
32201
- if (input.TagSpecifications !== undefined && input.TagSpecifications !== null) {
32202
- var memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
32203
- Object.entries(memberEntries).forEach(function (_a) {
32204
- var _b = __read(_a, 2), key = _b[0], value = _b[1];
32205
- var loc = "TagSpecification.".concat(key.substring(key.indexOf(".") + 1));
32206
- entries[loc] = value;
32207
- });
32208
- }
32209
32201
  if (input.SubnetId !== undefined && input.SubnetId !== null) {
32210
32202
  entries["SubnetId"] = input.SubnetId;
32211
32203
  }
@@ -32221,6 +32213,14 @@ var serializeAws_ec2CreateSubnetCidrReservationRequest = function (input, contex
32221
32213
  if (input.DryRun !== undefined && input.DryRun !== null) {
32222
32214
  entries["DryRun"] = input.DryRun;
32223
32215
  }
32216
+ if (input.TagSpecifications !== undefined && input.TagSpecifications !== null) {
32217
+ var memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
32218
+ Object.entries(memberEntries).forEach(function (_a) {
32219
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
32220
+ var loc = "TagSpecification.".concat(key.substring(key.indexOf(".") + 1));
32221
+ entries[loc] = value;
32222
+ });
32223
+ }
32224
32224
  return entries;
32225
32225
  };
32226
32226
  var serializeAws_ec2CreateSubnetRequest = function (input, context) {
@@ -32429,6 +32429,9 @@ var serializeAws_ec2CreateTrafficMirrorTargetRequest = function (input, context)
32429
32429
  if (input.ClientToken !== undefined && input.ClientToken !== null) {
32430
32430
  entries["ClientToken"] = input.ClientToken;
32431
32431
  }
32432
+ if (input.GatewayLoadBalancerEndpointId !== undefined && input.GatewayLoadBalancerEndpointId !== null) {
32433
+ entries["GatewayLoadBalancerEndpointId"] = input.GatewayLoadBalancerEndpointId;
32434
+ }
32432
32435
  return entries;
32433
32436
  };
32434
32437
  var serializeAws_ec2CreateTransitGatewayConnectPeerRequest = function (input, context) {
@@ -32878,6 +32881,17 @@ var serializeAws_ec2CreateVpcEndpointRequest = function (input, context) {
32878
32881
  entries[loc] = value;
32879
32882
  });
32880
32883
  }
32884
+ if (input.IpAddressType !== undefined && input.IpAddressType !== null) {
32885
+ entries["IpAddressType"] = input.IpAddressType;
32886
+ }
32887
+ if (input.DnsOptions !== undefined && input.DnsOptions !== null) {
32888
+ var memberEntries = serializeAws_ec2DnsOptionsSpecification(input.DnsOptions, context);
32889
+ Object.entries(memberEntries).forEach(function (_a) {
32890
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
32891
+ var loc = "DnsOptions.".concat(key);
32892
+ entries[loc] = value;
32893
+ });
32894
+ }
32881
32895
  if (input.ClientToken !== undefined && input.ClientToken !== null) {
32882
32896
  entries["ClientToken"] = input.ClientToken;
32883
32897
  }
@@ -32921,6 +32935,14 @@ var serializeAws_ec2CreateVpcEndpointServiceConfigurationRequest = function (inp
32921
32935
  entries[loc] = value;
32922
32936
  });
32923
32937
  }
32938
+ if (input.SupportedIpAddressTypes !== undefined && input.SupportedIpAddressTypes !== null) {
32939
+ var memberEntries = serializeAws_ec2ValueStringList(input.SupportedIpAddressTypes, context);
32940
+ Object.entries(memberEntries).forEach(function (_a) {
32941
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
32942
+ var loc = "SupportedIpAddressType.".concat(key.substring(key.indexOf(".") + 1));
32943
+ entries[loc] = value;
32944
+ });
32945
+ }
32924
32946
  if (input.ClientToken !== undefined && input.ClientToken !== null) {
32925
32947
  entries["ClientToken"] = input.ClientToken;
32926
32948
  }
@@ -37960,6 +37982,13 @@ var serializeAws_ec2DiskImageList = function (input, context) {
37960
37982
  }
37961
37983
  return entries;
37962
37984
  };
37985
+ var serializeAws_ec2DnsOptionsSpecification = function (input, context) {
37986
+ var entries = {};
37987
+ if (input.DnsRecordIpType !== undefined && input.DnsRecordIpType !== null) {
37988
+ entries["DnsRecordIpType"] = input.DnsRecordIpType;
37989
+ }
37990
+ return entries;
37991
+ };
37963
37992
  var serializeAws_ec2DnsServersOptionsModifyStructure = function (input, context) {
37964
37993
  var entries = {};
37965
37994
  if (input.CustomDnsServers !== undefined && input.CustomDnsServers !== null) {
@@ -43980,6 +44009,17 @@ var serializeAws_ec2ModifyVpcEndpointRequest = function (input, context) {
43980
44009
  entries[loc] = value;
43981
44010
  });
43982
44011
  }
44012
+ if (input.IpAddressType !== undefined && input.IpAddressType !== null) {
44013
+ entries["IpAddressType"] = input.IpAddressType;
44014
+ }
44015
+ if (input.DnsOptions !== undefined && input.DnsOptions !== null) {
44016
+ var memberEntries = serializeAws_ec2DnsOptionsSpecification(input.DnsOptions, context);
44017
+ Object.entries(memberEntries).forEach(function (_a) {
44018
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
44019
+ var loc = "DnsOptions.".concat(key);
44020
+ entries[loc] = value;
44021
+ });
44022
+ }
43983
44023
  if (input.PrivateDnsEnabled !== undefined && input.PrivateDnsEnabled !== null) {
43984
44024
  entries["PrivateDnsEnabled"] = input.PrivateDnsEnabled;
43985
44025
  }
@@ -44034,6 +44074,22 @@ var serializeAws_ec2ModifyVpcEndpointServiceConfigurationRequest = function (inp
44034
44074
  entries[loc] = value;
44035
44075
  });
44036
44076
  }
44077
+ if (input.AddSupportedIpAddressTypes !== undefined && input.AddSupportedIpAddressTypes !== null) {
44078
+ var memberEntries = serializeAws_ec2ValueStringList(input.AddSupportedIpAddressTypes, context);
44079
+ Object.entries(memberEntries).forEach(function (_a) {
44080
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
44081
+ var loc = "AddSupportedIpAddressType.".concat(key.substring(key.indexOf(".") + 1));
44082
+ entries[loc] = value;
44083
+ });
44084
+ }
44085
+ if (input.RemoveSupportedIpAddressTypes !== undefined && input.RemoveSupportedIpAddressTypes !== null) {
44086
+ var memberEntries = serializeAws_ec2ValueStringList(input.RemoveSupportedIpAddressTypes, context);
44087
+ Object.entries(memberEntries).forEach(function (_a) {
44088
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
44089
+ var loc = "RemoveSupportedIpAddressType.".concat(key.substring(key.indexOf(".") + 1));
44090
+ entries[loc] = value;
44091
+ });
44092
+ }
44037
44093
  return entries;
44038
44094
  };
44039
44095
  var serializeAws_ec2ModifyVpcEndpointServicePayerResponsibilityRequest = function (input, context) {
@@ -57249,6 +57305,15 @@ var deserializeAws_ec2DnsEntrySet = function (output, context) {
57249
57305
  return deserializeAws_ec2DnsEntry(entry, context);
57250
57306
  });
57251
57307
  };
57308
+ var deserializeAws_ec2DnsOptions = function (output, context) {
57309
+ var contents = {
57310
+ DnsRecordIpType: undefined,
57311
+ };
57312
+ if (output["dnsRecordIpType"] !== undefined) {
57313
+ contents.DnsRecordIpType = __expectString(output["dnsRecordIpType"]);
57314
+ }
57315
+ return contents;
57316
+ };
57252
57317
  var deserializeAws_ec2EbsBlockDevice = function (output, context) {
57253
57318
  var contents = {
57254
57319
  DeleteOnTermination: undefined,
@@ -68796,6 +68861,7 @@ var deserializeAws_ec2ServiceConfiguration = function (output, context) {
68796
68861
  ManagesVpcEndpoints: undefined,
68797
68862
  NetworkLoadBalancerArns: undefined,
68798
68863
  GatewayLoadBalancerArns: undefined,
68864
+ SupportedIpAddressTypes: undefined,
68799
68865
  BaseEndpointDnsNames: undefined,
68800
68866
  PrivateDnsName: undefined,
68801
68867
  PrivateDnsNameConfiguration: undefined,
@@ -68841,6 +68907,12 @@ var deserializeAws_ec2ServiceConfiguration = function (output, context) {
68841
68907
  if (output["gatewayLoadBalancerArnSet"] !== undefined && output["gatewayLoadBalancerArnSet"]["item"] !== undefined) {
68842
68908
  contents.GatewayLoadBalancerArns = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["gatewayLoadBalancerArnSet"]["item"]), context);
68843
68909
  }
68910
+ if (output.supportedIpAddressTypeSet === "") {
68911
+ contents.SupportedIpAddressTypes = [];
68912
+ }
68913
+ if (output["supportedIpAddressTypeSet"] !== undefined && output["supportedIpAddressTypeSet"]["item"] !== undefined) {
68914
+ contents.SupportedIpAddressTypes = deserializeAws_ec2SupportedIpAddressTypes(__getArrayIfSingleItem(output["supportedIpAddressTypeSet"]["item"]), context);
68915
+ }
68844
68916
  if (output.baseEndpointDnsNameSet === "") {
68845
68917
  contents.BaseEndpointDnsNames = [];
68846
68918
  }
@@ -68890,6 +68962,7 @@ var deserializeAws_ec2ServiceDetail = function (output, context) {
68890
68962
  PayerResponsibility: undefined,
68891
68963
  Tags: undefined,
68892
68964
  PrivateDnsNameVerificationState: undefined,
68965
+ SupportedIpAddressTypes: undefined,
68893
68966
  };
68894
68967
  if (output["serviceName"] !== undefined) {
68895
68968
  contents.ServiceName = __expectString(output["serviceName"]);
@@ -68948,6 +69021,12 @@ var deserializeAws_ec2ServiceDetail = function (output, context) {
68948
69021
  if (output["privateDnsNameVerificationState"] !== undefined) {
68949
69022
  contents.PrivateDnsNameVerificationState = __expectString(output["privateDnsNameVerificationState"]);
68950
69023
  }
69024
+ if (output.supportedIpAddressTypeSet === "") {
69025
+ contents.SupportedIpAddressTypes = [];
69026
+ }
69027
+ if (output["supportedIpAddressTypeSet"] !== undefined && output["supportedIpAddressTypeSet"]["item"] !== undefined) {
69028
+ contents.SupportedIpAddressTypes = deserializeAws_ec2SupportedIpAddressTypes(__getArrayIfSingleItem(output["supportedIpAddressTypeSet"]["item"]), context);
69029
+ }
68951
69030
  return contents;
68952
69031
  };
68953
69032
  var deserializeAws_ec2ServiceDetailSet = function (output, context) {
@@ -70379,6 +70458,16 @@ var deserializeAws_ec2SuccessfulQueuedPurchaseDeletionSet = function (output, co
70379
70458
  return deserializeAws_ec2SuccessfulQueuedPurchaseDeletion(entry, context);
70380
70459
  });
70381
70460
  };
70461
+ var deserializeAws_ec2SupportedIpAddressTypes = function (output, context) {
70462
+ return (output || [])
70463
+ .filter(function (e) { return e != null; })
70464
+ .map(function (entry) {
70465
+ if (entry === null) {
70466
+ return null;
70467
+ }
70468
+ return __expectString(entry);
70469
+ });
70470
+ };
70382
70471
  var deserializeAws_ec2Tag = function (output, context) {
70383
70472
  var contents = {
70384
70473
  Key: undefined,
@@ -70894,6 +70983,7 @@ var deserializeAws_ec2TrafficMirrorTarget = function (output, context) {
70894
70983
  Description: undefined,
70895
70984
  OwnerId: undefined,
70896
70985
  Tags: undefined,
70986
+ GatewayLoadBalancerEndpointId: undefined,
70897
70987
  };
70898
70988
  if (output["trafficMirrorTargetId"] !== undefined) {
70899
70989
  contents.TrafficMirrorTargetId = __expectString(output["trafficMirrorTargetId"]);
@@ -70919,6 +71009,9 @@ var deserializeAws_ec2TrafficMirrorTarget = function (output, context) {
70919
71009
  if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
70920
71010
  contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
70921
71011
  }
71012
+ if (output["gatewayLoadBalancerEndpointId"] !== undefined) {
71013
+ contents.GatewayLoadBalancerEndpointId = __expectString(output["gatewayLoadBalancerEndpointId"]);
71014
+ }
70922
71015
  return contents;
70923
71016
  };
70924
71017
  var deserializeAws_ec2TrafficMirrorTargetSet = function (output, context) {
@@ -73042,6 +73135,8 @@ var deserializeAws_ec2VpcEndpoint = function (output, context) {
73042
73135
  RouteTableIds: undefined,
73043
73136
  SubnetIds: undefined,
73044
73137
  Groups: undefined,
73138
+ IpAddressType: undefined,
73139
+ DnsOptions: undefined,
73045
73140
  PrivateDnsEnabled: undefined,
73046
73141
  RequesterManaged: undefined,
73047
73142
  NetworkInterfaceIds: undefined,
@@ -73087,6 +73182,12 @@ var deserializeAws_ec2VpcEndpoint = function (output, context) {
73087
73182
  if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
73088
73183
  contents.Groups = deserializeAws_ec2GroupIdentifierSet(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
73089
73184
  }
73185
+ if (output["ipAddressType"] !== undefined) {
73186
+ contents.IpAddressType = __expectString(output["ipAddressType"]);
73187
+ }
73188
+ if (output["dnsOptions"] !== undefined) {
73189
+ contents.DnsOptions = deserializeAws_ec2DnsOptions(output["dnsOptions"], context);
73190
+ }
73090
73191
  if (output["privateDnsEnabled"] !== undefined) {
73091
73192
  contents.PrivateDnsEnabled = __parseBoolean(output["privateDnsEnabled"]);
73092
73193
  }
@@ -73132,6 +73233,7 @@ var deserializeAws_ec2VpcEndpointConnection = function (output, context) {
73132
73233
  DnsEntries: undefined,
73133
73234
  NetworkLoadBalancerArns: undefined,
73134
73235
  GatewayLoadBalancerArns: undefined,
73236
+ IpAddressType: undefined,
73135
73237
  };
73136
73238
  if (output["serviceId"] !== undefined) {
73137
73239
  contents.ServiceId = __expectString(output["serviceId"]);
@@ -73166,6 +73268,9 @@ var deserializeAws_ec2VpcEndpointConnection = function (output, context) {
73166
73268
  if (output["gatewayLoadBalancerArnSet"] !== undefined && output["gatewayLoadBalancerArnSet"]["item"] !== undefined) {
73167
73269
  contents.GatewayLoadBalancerArns = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["gatewayLoadBalancerArnSet"]["item"]), context);
73168
73270
  }
73271
+ if (output["ipAddressType"] !== undefined) {
73272
+ contents.IpAddressType = __expectString(output["ipAddressType"]);
73273
+ }
73169
73274
  return contents;
73170
73275
  };
73171
73276
  var deserializeAws_ec2VpcEndpointConnectionSet = function (output, context) {
@@ -1800,7 +1800,7 @@ export declare class EC2 extends EC2Client {
1800
1800
  * <p>A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and
1801
1801
  * the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in
1802
1802
  * different VPCs connected via VPC peering or a transit gateway.</p>
1803
- * <p>A Traffic Mirror target can be a network interface, or a Network Load Balancer.</p>
1803
+ * <p>A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.</p>
1804
1804
  * <p>To use the target in a Traffic Mirror session, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorSession.htm">CreateTrafficMirrorSession</a>.</p>
1805
1805
  */
1806
1806
  createTrafficMirrorTarget(args: CreateTrafficMirrorTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateTrafficMirrorTargetCommandOutput>;
@@ -11,7 +11,7 @@ export interface CreateTrafficMirrorTargetCommandOutput extends CreateTrafficMir
11
11
  * <p>A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and
12
12
  * the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in
13
13
  * different VPCs connected via VPC peering or a transit gateway.</p>
14
- * <p>A Traffic Mirror target can be a network interface, or a Network Load Balancer.</p>
14
+ * <p>A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.</p>
15
15
  * <p>To use the target in a Traffic Mirror session, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorSession.htm">CreateTrafficMirrorSession</a>.</p>
16
16
  * @example
17
17
  * Use a bare-bones client and the command you need to make an API call.
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeClientVpnRoutesRequest, DescribeClientVpnRoutesResult } from "../models/models_2";
4
+ import { DescribeClientVpnRoutesRequest } from "../models/models_2";
5
+ import { DescribeClientVpnRoutesResult } from "../models/models_3";
5
6
  export interface DescribeClientVpnRoutesCommandInput extends DescribeClientVpnRoutesRequest {
6
7
  }
7
8
  export interface DescribeClientVpnRoutesCommandOutput extends DescribeClientVpnRoutesResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeClientVpnTargetNetworksRequest, DescribeClientVpnTargetNetworksResult } from "../models/models_2";
4
+ import { DescribeClientVpnTargetNetworksRequest, DescribeClientVpnTargetNetworksResult } from "../models/models_3";
5
5
  export interface DescribeClientVpnTargetNetworksCommandInput extends DescribeClientVpnTargetNetworksRequest {
6
6
  }
7
7
  export interface DescribeClientVpnTargetNetworksCommandOutput extends DescribeClientVpnTargetNetworksResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribePublicIpv4PoolsRequest, DescribePublicIpv4PoolsResult } from "../models/models_3";
4
+ import { DescribePublicIpv4PoolsRequest, DescribePublicIpv4PoolsResult } from "../models/models_4";
5
5
  export interface DescribePublicIpv4PoolsCommandInput extends DescribePublicIpv4PoolsRequest {
6
6
  }
7
7
  export interface DescribePublicIpv4PoolsCommandOutput extends DescribePublicIpv4PoolsResult, __MetadataBearer {
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeRegionsRequest } from "../models/models_3";
5
- import { DescribeRegionsResult } from "../models/models_4";
4
+ import { DescribeRegionsRequest, DescribeRegionsResult } from "../models/models_4";
6
5
  export interface DescribeRegionsCommandInput extends DescribeRegionsRequest {
7
6
  }
8
7
  export interface DescribeRegionsCommandOutput extends DescribeRegionsResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetEbsEncryptionByDefaultRequest, GetEbsEncryptionByDefaultResult } from "../models/models_4";
4
+ import { GetEbsEncryptionByDefaultRequest, GetEbsEncryptionByDefaultResult } from "../models/models_5";
5
5
  export interface GetEbsEncryptionByDefaultCommandInput extends GetEbsEncryptionByDefaultRequest {
6
6
  }
7
7
  export interface GetEbsEncryptionByDefaultCommandOutput extends GetEbsEncryptionByDefaultResult, __MetadataBearer {
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ReplaceTransitGatewayRouteRequest, ReplaceTransitGatewayRouteResult } from "../models/models_5";
4
+ import { ReplaceTransitGatewayRouteRequest } from "../models/models_5";
5
+ import { ReplaceTransitGatewayRouteResult } from "../models/models_6";
5
6
  export interface ReplaceTransitGatewayRouteCommandInput extends ReplaceTransitGatewayRouteRequest {
6
7
  }
7
8
  export interface ReplaceTransitGatewayRouteCommandOutput extends ReplaceTransitGatewayRouteResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ReportInstanceStatusRequest } from "../models/models_5";
4
+ import { ReportInstanceStatusRequest } from "../models/models_6";
5
5
  export interface ReportInstanceStatusCommandInput extends ReportInstanceStatusRequest {
6
6
  }
7
7
  export interface ReportInstanceStatusCommandOutput extends __MetadataBearer {
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { RequestSpotFleetRequest } from "../models/models_5";
5
- import { RequestSpotFleetResponse } from "../models/models_6";
4
+ import { RequestSpotFleetRequest, RequestSpotFleetResponse } from "../models/models_6";
6
5
  export interface RequestSpotFleetCommandInput extends RequestSpotFleetRequest {
7
6
  }
8
7
  export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse, __MetadataBearer {
@@ -7625,10 +7625,6 @@ export declare enum SubnetCidrReservationType {
7625
7625
  prefix = "prefix"
7626
7626
  }
7627
7627
  export interface CreateSubnetCidrReservationRequest {
7628
- /**
7629
- * <p>The tags to assign to the subnet CIDR reservation.</p>
7630
- */
7631
- TagSpecifications?: TagSpecification[];
7632
7628
  /**
7633
7629
  * <p>The ID of the subnet.</p>
7634
7630
  */
@@ -7672,6 +7668,10 @@ export interface CreateSubnetCidrReservationRequest {
7672
7668
  * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7673
7669
  */
7674
7670
  DryRun?: boolean;
7671
+ /**
7672
+ * <p>The tags to assign to the subnet CIDR reservation.</p>
7673
+ */
7674
+ TagSpecifications?: TagSpecification[];
7675
7675
  }
7676
7676
  export declare namespace CreateSubnetCidrReservationRequest {
7677
7677
  /**
@@ -8160,6 +8160,10 @@ export interface CreateTrafficMirrorTargetRequest {
8160
8160
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
8161
8161
  */
8162
8162
  ClientToken?: string;
8163
+ /**
8164
+ * <p>The ID of the Gateway Load Balancer endpoint.</p>
8165
+ */
8166
+ GatewayLoadBalancerEndpointId?: string;
8163
8167
  }
8164
8168
  export declare namespace CreateTrafficMirrorTargetRequest {
8165
8169
  /**
@@ -8167,7 +8171,7 @@ export declare namespace CreateTrafficMirrorTargetRequest {
8167
8171
  */
8168
8172
  const filterSensitiveLog: (obj: CreateTrafficMirrorTargetRequest) => any;
8169
8173
  }
8170
- export declare type TrafficMirrorTargetType = "network-interface" | "network-load-balancer";
8174
+ export declare type TrafficMirrorTargetType = "gateway-load-balancer-endpoint" | "network-interface" | "network-load-balancer";
8171
8175
  /**
8172
8176
  * <p>Describes a Traffic Mirror target.</p>
8173
8177
  */
@@ -8200,6 +8204,10 @@ export interface TrafficMirrorTarget {
8200
8204
  * <p>The tags assigned to the Traffic Mirror target.</p>
8201
8205
  */
8202
8206
  Tags?: Tag[];
8207
+ /**
8208
+ * <p>The ID of the Gateway Load Balancer endpoint.</p>
8209
+ */
8210
+ GatewayLoadBalancerEndpointId?: string;
8203
8211
  }
8204
8212
  export declare namespace TrafficMirrorTarget {
8205
8213
  /**