@aws-sdk/client-ec2 3.891.0 → 3.893.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 (26) hide show
  1. package/dist-cjs/index.js +123 -5
  2. package/dist-es/models/models_7.js +0 -4
  3. package/dist-es/models/models_8.js +4 -0
  4. package/dist-es/protocols/Aws_ec2.js +124 -0
  5. package/dist-types/commands/CopySnapshotCommand.d.ts +7 -10
  6. package/dist-types/commands/CreateFpgaImageCommand.d.ts +2 -2
  7. package/dist-types/commands/DescribeImageUsageReportEntriesCommand.d.ts +1 -1
  8. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +0 -4
  9. package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +12 -0
  10. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -1
  11. package/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +2 -1
  12. package/dist-types/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +1 -2
  13. package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +3 -3
  14. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +12 -0
  15. package/dist-types/models/models_1.d.ts +4 -4
  16. package/dist-types/models/models_2.d.ts +4 -0
  17. package/dist-types/models/models_4.d.ts +11 -11
  18. package/dist-types/models/models_6.d.ts +100 -65
  19. package/dist-types/models/models_7.d.ts +45 -31
  20. package/dist-types/models/models_8.d.ts +149 -22
  21. package/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +2 -4
  22. package/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +4 -2
  23. package/dist-types/ts3.4/models/models_6.d.ts +11 -12
  24. package/dist-types/ts3.4/models/models_7.d.ts +12 -10
  25. package/dist-types/ts3.4/models/models_8.d.ts +20 -2
  26. package/package.json +19 -19
package/dist-cjs/index.js CHANGED
@@ -22843,6 +22843,13 @@ var se_CreateVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => {
22843
22843
  }
22844
22844
  return entries;
22845
22845
  }, "se_CreateVpnGatewayRequest");
22846
+ var se_CreationDateConditionRequest = /* @__PURE__ */ __name((input, context) => {
22847
+ const entries = {};
22848
+ if (input[_MDSC] != null) {
22849
+ entries[_MDSC] = input[_MDSC];
22850
+ }
22851
+ return entries;
22852
+ }, "se_CreationDateConditionRequest");
22846
22853
  var se_CreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => {
22847
22854
  const entries = {};
22848
22855
  if (input[_CCp] != null) {
@@ -23872,6 +23879,13 @@ var se_DeleteVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => {
23872
23879
  }
23873
23880
  return entries;
23874
23881
  }, "se_DeleteVpnGatewayRequest");
23882
+ var se_DeprecationTimeConditionRequest = /* @__PURE__ */ __name((input, context) => {
23883
+ const entries = {};
23884
+ if (input[_MDSD] != null) {
23885
+ entries[_MDSD] = input[_MDSD];
23886
+ }
23887
+ return entries;
23888
+ }, "se_DeprecationTimeConditionRequest");
23875
23889
  var se_DeprovisionByoipCidrRequest = /* @__PURE__ */ __name((input, context) => {
23876
23890
  const entries = {};
23877
23891
  if (input[_C] != null) {
@@ -31086,6 +31100,34 @@ var se_ImageCriterionRequest = /* @__PURE__ */ __name((input, context) => {
31086
31100
  entries[loc] = value;
31087
31101
  });
31088
31102
  }
31103
+ if (input[_MPC] != null) {
31104
+ const memberEntries = se_MarketplaceProductCodeRequestList(input[_MPC], context);
31105
+ Object.entries(memberEntries).forEach(([key, value]) => {
31106
+ const loc = `MarketplaceProductCode.${key.substring(key.indexOf(".") + 1)}`;
31107
+ entries[loc] = value;
31108
+ });
31109
+ }
31110
+ if (input[_INm] != null) {
31111
+ const memberEntries = se_ImageNameRequestList(input[_INm], context);
31112
+ Object.entries(memberEntries).forEach(([key, value]) => {
31113
+ const loc = `ImageName.${key.substring(key.indexOf(".") + 1)}`;
31114
+ entries[loc] = value;
31115
+ });
31116
+ }
31117
+ if (input[_DTC] != null) {
31118
+ const memberEntries = se_DeprecationTimeConditionRequest(input[_DTC], context);
31119
+ Object.entries(memberEntries).forEach(([key, value]) => {
31120
+ const loc = `DeprecationTimeCondition.${key}`;
31121
+ entries[loc] = value;
31122
+ });
31123
+ }
31124
+ if (input[_CDC] != null) {
31125
+ const memberEntries = se_CreationDateConditionRequest(input[_CDC], context);
31126
+ Object.entries(memberEntries).forEach(([key, value]) => {
31127
+ const loc = `CreationDateCondition.${key}`;
31128
+ entries[loc] = value;
31129
+ });
31130
+ }
31089
31131
  return entries;
31090
31132
  }, "se_ImageCriterionRequest");
31091
31133
  var se_ImageCriterionRequestList = /* @__PURE__ */ __name((input, context) => {
@@ -31168,6 +31210,18 @@ var se_ImageIdStringList = /* @__PURE__ */ __name((input, context) => {
31168
31210
  }
31169
31211
  return entries;
31170
31212
  }, "se_ImageIdStringList");
31213
+ var se_ImageNameRequestList = /* @__PURE__ */ __name((input, context) => {
31214
+ const entries = {};
31215
+ let counter = 1;
31216
+ for (const entry of input) {
31217
+ if (entry === null) {
31218
+ continue;
31219
+ }
31220
+ entries[`Item.${counter}`] = entry;
31221
+ counter++;
31222
+ }
31223
+ return entries;
31224
+ }, "se_ImageNameRequestList");
31171
31225
  var se_ImageProviderRequestList = /* @__PURE__ */ __name((input, context) => {
31172
31226
  const entries = {};
31173
31227
  let counter = 1;
@@ -33533,6 +33587,18 @@ var se_MacSystemIntegrityProtectionConfigurationRequest = /* @__PURE__ */ __name
33533
33587
  }
33534
33588
  return entries;
33535
33589
  }, "se_MacSystemIntegrityProtectionConfigurationRequest");
33590
+ var se_MarketplaceProductCodeRequestList = /* @__PURE__ */ __name((input, context) => {
33591
+ const entries = {};
33592
+ let counter = 1;
33593
+ for (const entry of input) {
33594
+ if (entry === null) {
33595
+ continue;
33596
+ }
33597
+ entries[`Item.${counter}`] = entry;
33598
+ counter++;
33599
+ }
33600
+ return entries;
33601
+ }, "se_MarketplaceProductCodeRequestList");
33536
33602
  var se_MemoryGiBPerVCpu = /* @__PURE__ */ __name((input, context) => {
33537
33603
  const entries = {};
33538
33604
  if (input[_M] != null) {
@@ -44855,6 +44921,13 @@ var de_CreateVpnGatewayResult = /* @__PURE__ */ __name((output, context) => {
44855
44921
  }
44856
44922
  return contents;
44857
44923
  }, "de_CreateVpnGatewayResult");
44924
+ var de_CreationDateCondition = /* @__PURE__ */ __name((output, context) => {
44925
+ const contents = {};
44926
+ if (output[_mDSC] != null) {
44927
+ contents[_MDSC] = (0, import_smithy_client.strictParseInt32)(output[_mDSC]);
44928
+ }
44929
+ return contents;
44930
+ }, "de_CreationDateCondition");
44858
44931
  var de_CreditSpecification = /* @__PURE__ */ __name((output, context) => {
44859
44932
  const contents = {};
44860
44933
  if (output[_cCp] != null) {
@@ -45568,6 +45641,13 @@ var de_DeleteVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, contex
45568
45641
  }
45569
45642
  return contents;
45570
45643
  }, "de_DeleteVpcPeeringConnectionResult");
45644
+ var de_DeprecationTimeCondition = /* @__PURE__ */ __name((output, context) => {
45645
+ const contents = {};
45646
+ if (output[_mDSD] != null) {
45647
+ contents[_MDSD] = (0, import_smithy_client.strictParseInt32)(output[_mDSD]);
45648
+ }
45649
+ return contents;
45650
+ }, "de_DeprecationTimeCondition");
45571
45651
  var de_DeprovisionByoipCidrResult = /* @__PURE__ */ __name((output, context) => {
45572
45652
  const contents = {};
45573
45653
  if (output[_bC] != null) {
@@ -51182,6 +51262,22 @@ var de_ImageCriterion = /* @__PURE__ */ __name((output, context) => {
51182
51262
  } else if (output[_iPSm] != null && output[_iPSm][_i] != null) {
51183
51263
  contents[_IPm] = de_ImageProviderList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSm][_i]), context);
51184
51264
  }
51265
+ if (output.marketplaceProductCodeSet === "") {
51266
+ contents[_MPC] = [];
51267
+ } else if (output[_mPCS] != null && output[_mPCS][_i] != null) {
51268
+ contents[_MPC] = de_MarketplaceProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_mPCS][_i]), context);
51269
+ }
51270
+ if (output.imageNameSet === "") {
51271
+ contents[_INm] = [];
51272
+ } else if (output[_iNS] != null && output[_iNS][_i] != null) {
51273
+ contents[_INm] = de_ImageNameList((0, import_smithy_client.getArrayIfSingleItem)(output[_iNS][_i]), context);
51274
+ }
51275
+ if (output[_dTC] != null) {
51276
+ contents[_DTC] = de_DeprecationTimeCondition(output[_dTC], context);
51277
+ }
51278
+ if (output[_cDC] != null) {
51279
+ contents[_CDC] = de_CreationDateCondition(output[_cDC], context);
51280
+ }
51185
51281
  return contents;
51186
51282
  }, "de_ImageCriterion");
51187
51283
  var de_ImageCriterionList = /* @__PURE__ */ __name((output, context) => {
@@ -51225,6 +51321,11 @@ var de_ImageMetadata = /* @__PURE__ */ __name((output, context) => {
51225
51321
  }
51226
51322
  return contents;
51227
51323
  }, "de_ImageMetadata");
51324
+ var de_ImageNameList = /* @__PURE__ */ __name((output, context) => {
51325
+ return (output || []).filter((e) => e != null).map((entry) => {
51326
+ return (0, import_smithy_client.expectString)(entry);
51327
+ });
51328
+ }, "de_ImageNameList");
51228
51329
  var de_ImageProviderList = /* @__PURE__ */ __name((output, context) => {
51229
51330
  return (output || []).filter((e) => e != null).map((entry) => {
51230
51331
  return (0, import_smithy_client.expectString)(entry);
@@ -55236,6 +55337,11 @@ var de_ManagedPrefixListSet = /* @__PURE__ */ __name((output, context) => {
55236
55337
  return de_ManagedPrefixList(entry, context);
55237
55338
  });
55238
55339
  }, "de_ManagedPrefixListSet");
55340
+ var de_MarketplaceProductCodeList = /* @__PURE__ */ __name((output, context) => {
55341
+ return (output || []).filter((e) => e != null).map((entry) => {
55342
+ return (0, import_smithy_client.expectString)(entry);
55343
+ });
55344
+ }, "de_MarketplaceProductCodeList");
55239
55345
  var de_MediaAcceleratorInfo = /* @__PURE__ */ __name((output, context) => {
55240
55346
  const contents = {};
55241
55347
  if (output.accelerators === "") {
@@ -64403,6 +64509,7 @@ var _CCo = "CoipCidr";
64403
64509
  var _CCp = "CpuCredits";
64404
64510
  var _CCu = "CurrencyCode";
64405
64511
  var _CD = "CommitmentDuration";
64512
+ var _CDC = "CreationDateCondition";
64406
64513
  var _CDH = "CapacityDurationHours";
64407
64514
  var _CDM = "CompletionDurationMinutes";
64408
64515
  var _CDMVOT = "CreateDelegateMacVolumeOwnershipTask";
@@ -64960,6 +65067,7 @@ var _DSn = "DnsServers";
64960
65067
  var _DSns = "DnsSupport";
64961
65068
  var _DT = "DeleteTags";
64962
65069
  var _DTA = "DpdTimeoutAction";
65070
+ var _DTC = "DeprecationTimeCondition";
64963
65071
  var _DTCT = "DefaultTargetCapacityType";
64964
65072
  var _DTG = "DeleteTransitGateway";
64965
65073
  var _DTGA = "DescribeTransitGatewayAttachments";
@@ -65481,6 +65589,7 @@ var _IMn = "InstanceMonitorings";
65481
65589
  var _IN = "Ipv6Native";
65482
65590
  var _INL = "Ipv6NetmaskLength";
65483
65591
  var _INLp = "Ipv4NetmaskLength";
65592
+ var _INm = "ImageNames";
65484
65593
  var _IOA = "ImageOwnerAlias";
65485
65594
  var _IOI = "IpOwnerId";
65486
65595
  var _IOIn = "InstanceOwnerId";
@@ -65764,6 +65873,8 @@ var _MDA = "MulticastDomainAssociations";
65764
65873
  var _MDCS = "ModifyDefaultCreditSpecification";
65765
65874
  var _MDDS = "MaxDrainDurationSeconds";
65766
65875
  var _MDK = "MetaDataKey";
65876
+ var _MDSC = "MaximumDaysSinceCreated";
65877
+ var _MDSD = "MaximumDaysSinceDeprecated";
65767
65878
  var _MDV = "MetaDataValue";
65768
65879
  var _MDa = "MaintenanceDetails";
65769
65880
  var _MDe = "MetaData";
@@ -65822,6 +65933,7 @@ var _MOSLRG = "MemberOfServiceLinkedResourceGroup";
65822
65933
  var _MOSLSV = "MacOSLatestSupportedVersions";
65823
65934
  var _MOa = "MaintenanceOptions";
65824
65935
  var _MP = "MatchPaths";
65936
+ var _MPC = "MarketplaceProductCodes";
65825
65937
  var _MPDNO = "ModifyPrivateDnsNameOptions";
65826
65938
  var _MPIDNO = "ModifyPublicIpDnsNameOptions";
65827
65939
  var _MPIOL = "MapPublicIpOnLaunch";
@@ -67195,6 +67307,7 @@ var _cCo = "coreCount";
67195
67307
  var _cCoi = "coipCidr";
67196
67308
  var _cCp = "cpuCredits";
67197
67309
  var _cD = "createDate";
67310
+ var _cDC = "creationDateCondition";
67198
67311
  var _cDM = "completionDurationMinutes";
67199
67312
  var _cDr = "creationDate";
67200
67313
  var _cDre = "createdDate";
@@ -67395,6 +67508,7 @@ var _dSeli = "deliveryStream";
67395
67508
  var _dSn = "dnsSupport";
67396
67509
  var _dT = "deletionTime";
67397
67510
  var _dTA = "dpdTimeoutAction";
67511
+ var _dTC = "deprecationTimeCondition";
67398
67512
  var _dTCT = "defaultTargetCapacityType";
67399
67513
  var _dTPC = "defaultThreadsPerCore";
67400
67514
  var _dTPS = "deviceTrustProviderSet";
@@ -67699,6 +67813,7 @@ var _iMOn = "instanceMarketOptions";
67699
67813
  var _iMT = "instanceMetadataTags";
67700
67814
  var _iMU = "importManifestUrl";
67701
67815
  var _iN = "ipv6Native";
67816
+ var _iNS = "imageNameSet";
67702
67817
  var _iOA = "imageOwnerAlias";
67703
67818
  var _iOI = "imageOwnerId";
67704
67819
  var _iOIn = "instanceOwnerId";
@@ -67941,6 +68056,8 @@ var _mCOIOL = "mapCustomerOwnedIpOnLaunch";
67941
68056
  var _mD = "maintenanceDetails";
67942
68057
  var _mDA = "multicastDomainAssociations";
67943
68058
  var _mDK = "metaDataKey";
68059
+ var _mDSC = "maximumDaysSinceCreated";
68060
+ var _mDSD = "maximumDaysSinceDeprecated";
67944
68061
  var _mDV = "metaDataValue";
67945
68062
  var _mDe = "metaData";
67946
68063
  var _mE = "maxEntries";
@@ -67966,6 +68083,7 @@ var _mOSLRG = "memberOfServiceLinkedResourceGroup";
67966
68083
  var _mOSLSVS = "macOSLatestSupportedVersionSet";
67967
68084
  var _mOa = "maintenanceOptions";
67968
68085
  var _mP = "maxPrice";
68086
+ var _mPCS = "marketplaceProductCodeSet";
67969
68087
  var _mPIOL = "mapPublicIpOnLaunch";
67970
68088
  var _mPL = "maxParallelLaunches";
67971
68089
  var _mPS = "metricPointSet";
@@ -80182,10 +80300,6 @@ var Status = {
80182
80300
  inVpc: "InVpc",
80183
80301
  moveInProgress: "MoveInProgress"
80184
80302
  };
80185
- var VerificationMethod = {
80186
- dns_token: "dns-token",
80187
- remarks_x509: "remarks-x509"
80188
- };
80189
80303
  var GetPasswordDataResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
80190
80304
  ...obj,
80191
80305
  ...obj.PasswordData && { PasswordData: import_smithy_client.SENSITIVE_STRING }
@@ -82398,6 +82512,10 @@ var ReplaceVpnTunnelCommand = class extends import_smithy_client.Command.classBu
82398
82512
 
82399
82513
  // src/models/models_8.ts
82400
82514
 
82515
+ var VerificationMethod = {
82516
+ dns_token: "dns-token",
82517
+ remarks_x509: "remarks-x509"
82518
+ };
82401
82519
  var ReportInstanceReasonCodes = {
82402
82520
  instance_stuck_in_state: "instance-stuck-in-state",
82403
82521
  not_accepting_credentials: "not-accepting-credentials",
@@ -87841,7 +87959,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
87841
87959
  TrafficMirrorSessionField,
87842
87960
  VpcTenancy,
87843
87961
  Status,
87844
- VerificationMethod,
87845
87962
  GetPasswordDataResultFilterSensitiveLog,
87846
87963
  GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog,
87847
87964
  ImageDiskContainerFilterSensitiveLog,
@@ -87868,6 +87985,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
87868
87985
  ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog,
87869
87986
  ModifyVpnTunnelOptionsRequestFilterSensitiveLog,
87870
87987
  ModifyVpnTunnelOptionsResultFilterSensitiveLog,
87988
+ VerificationMethod,
87871
87989
  ReportInstanceReasonCodes,
87872
87990
  ReportStatusType,
87873
87991
  ResetFpgaImageAttributeName,
@@ -75,10 +75,6 @@ export const Status = {
75
75
  inVpc: "InVpc",
76
76
  moveInProgress: "MoveInProgress",
77
77
  };
78
- export const VerificationMethod = {
79
- dns_token: "dns-token",
80
- remarks_x509: "remarks-x509",
81
- };
82
78
  export const GetPasswordDataResultFilterSensitiveLog = (obj) => ({
83
79
  ...obj,
84
80
  ...(obj.PasswordData && { PasswordData: SENSITIVE_STRING }),
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
3
+ export const VerificationMethod = {
4
+ dns_token: "dns-token",
5
+ remarks_x509: "remarks-x509",
6
+ };
3
7
  export const ReportInstanceReasonCodes = {
4
8
  instance_stuck_in_state: "instance-stuck-in-state",
5
9
  not_accepting_credentials: "not-accepting-credentials",
@@ -21234,6 +21234,13 @@ const se_CreateVpnGatewayRequest = (input, context) => {
21234
21234
  }
21235
21235
  return entries;
21236
21236
  };
21237
+ const se_CreationDateConditionRequest = (input, context) => {
21238
+ const entries = {};
21239
+ if (input[_MDSC] != null) {
21240
+ entries[_MDSC] = input[_MDSC];
21241
+ }
21242
+ return entries;
21243
+ };
21237
21244
  const se_CreditSpecificationRequest = (input, context) => {
21238
21245
  const entries = {};
21239
21246
  if (input[_CCp] != null) {
@@ -22263,6 +22270,13 @@ const se_DeleteVpnGatewayRequest = (input, context) => {
22263
22270
  }
22264
22271
  return entries;
22265
22272
  };
22273
+ const se_DeprecationTimeConditionRequest = (input, context) => {
22274
+ const entries = {};
22275
+ if (input[_MDSD] != null) {
22276
+ entries[_MDSD] = input[_MDSD];
22277
+ }
22278
+ return entries;
22279
+ };
22266
22280
  const se_DeprovisionByoipCidrRequest = (input, context) => {
22267
22281
  const entries = {};
22268
22282
  if (input[_C] != null) {
@@ -29477,6 +29491,34 @@ const se_ImageCriterionRequest = (input, context) => {
29477
29491
  entries[loc] = value;
29478
29492
  });
29479
29493
  }
29494
+ if (input[_MPC] != null) {
29495
+ const memberEntries = se_MarketplaceProductCodeRequestList(input[_MPC], context);
29496
+ Object.entries(memberEntries).forEach(([key, value]) => {
29497
+ const loc = `MarketplaceProductCode.${key.substring(key.indexOf(".") + 1)}`;
29498
+ entries[loc] = value;
29499
+ });
29500
+ }
29501
+ if (input[_INm] != null) {
29502
+ const memberEntries = se_ImageNameRequestList(input[_INm], context);
29503
+ Object.entries(memberEntries).forEach(([key, value]) => {
29504
+ const loc = `ImageName.${key.substring(key.indexOf(".") + 1)}`;
29505
+ entries[loc] = value;
29506
+ });
29507
+ }
29508
+ if (input[_DTC] != null) {
29509
+ const memberEntries = se_DeprecationTimeConditionRequest(input[_DTC], context);
29510
+ Object.entries(memberEntries).forEach(([key, value]) => {
29511
+ const loc = `DeprecationTimeCondition.${key}`;
29512
+ entries[loc] = value;
29513
+ });
29514
+ }
29515
+ if (input[_CDC] != null) {
29516
+ const memberEntries = se_CreationDateConditionRequest(input[_CDC], context);
29517
+ Object.entries(memberEntries).forEach(([key, value]) => {
29518
+ const loc = `CreationDateCondition.${key}`;
29519
+ entries[loc] = value;
29520
+ });
29521
+ }
29480
29522
  return entries;
29481
29523
  };
29482
29524
  const se_ImageCriterionRequestList = (input, context) => {
@@ -29559,6 +29601,18 @@ const se_ImageIdStringList = (input, context) => {
29559
29601
  }
29560
29602
  return entries;
29561
29603
  };
29604
+ const se_ImageNameRequestList = (input, context) => {
29605
+ const entries = {};
29606
+ let counter = 1;
29607
+ for (const entry of input) {
29608
+ if (entry === null) {
29609
+ continue;
29610
+ }
29611
+ entries[`Item.${counter}`] = entry;
29612
+ counter++;
29613
+ }
29614
+ return entries;
29615
+ };
29562
29616
  const se_ImageProviderRequestList = (input, context) => {
29563
29617
  const entries = {};
29564
29618
  let counter = 1;
@@ -31924,6 +31978,18 @@ const se_MacSystemIntegrityProtectionConfigurationRequest = (input, context) =>
31924
31978
  }
31925
31979
  return entries;
31926
31980
  };
31981
+ const se_MarketplaceProductCodeRequestList = (input, context) => {
31982
+ const entries = {};
31983
+ let counter = 1;
31984
+ for (const entry of input) {
31985
+ if (entry === null) {
31986
+ continue;
31987
+ }
31988
+ entries[`Item.${counter}`] = entry;
31989
+ counter++;
31990
+ }
31991
+ return entries;
31992
+ };
31927
31993
  const se_MemoryGiBPerVCpu = (input, context) => {
31928
31994
  const entries = {};
31929
31995
  if (input[_M] != null) {
@@ -43447,6 +43513,13 @@ const de_CreateVpnGatewayResult = (output, context) => {
43447
43513
  }
43448
43514
  return contents;
43449
43515
  };
43516
+ const de_CreationDateCondition = (output, context) => {
43517
+ const contents = {};
43518
+ if (output[_mDSC] != null) {
43519
+ contents[_MDSC] = __strictParseInt32(output[_mDSC]);
43520
+ }
43521
+ return contents;
43522
+ };
43450
43523
  const de_CreditSpecification = (output, context) => {
43451
43524
  const contents = {};
43452
43525
  if (output[_cCp] != null) {
@@ -44185,6 +44258,13 @@ const de_DeleteVpcPeeringConnectionResult = (output, context) => {
44185
44258
  }
44186
44259
  return contents;
44187
44260
  };
44261
+ const de_DeprecationTimeCondition = (output, context) => {
44262
+ const contents = {};
44263
+ if (output[_mDSD] != null) {
44264
+ contents[_MDSD] = __strictParseInt32(output[_mDSD]);
44265
+ }
44266
+ return contents;
44267
+ };
44188
44268
  const de_DeprovisionByoipCidrResult = (output, context) => {
44189
44269
  const contents = {};
44190
44270
  if (output[_bC] != null) {
@@ -50154,6 +50234,24 @@ const de_ImageCriterion = (output, context) => {
50154
50234
  else if (output[_iPSm] != null && output[_iPSm][_i] != null) {
50155
50235
  contents[_IPm] = de_ImageProviderList(__getArrayIfSingleItem(output[_iPSm][_i]), context);
50156
50236
  }
50237
+ if (output.marketplaceProductCodeSet === "") {
50238
+ contents[_MPC] = [];
50239
+ }
50240
+ else if (output[_mPCS] != null && output[_mPCS][_i] != null) {
50241
+ contents[_MPC] = de_MarketplaceProductCodeList(__getArrayIfSingleItem(output[_mPCS][_i]), context);
50242
+ }
50243
+ if (output.imageNameSet === "") {
50244
+ contents[_INm] = [];
50245
+ }
50246
+ else if (output[_iNS] != null && output[_iNS][_i] != null) {
50247
+ contents[_INm] = de_ImageNameList(__getArrayIfSingleItem(output[_iNS][_i]), context);
50248
+ }
50249
+ if (output[_dTC] != null) {
50250
+ contents[_DTC] = de_DeprecationTimeCondition(output[_dTC], context);
50251
+ }
50252
+ if (output[_cDC] != null) {
50253
+ contents[_CDC] = de_CreationDateCondition(output[_cDC], context);
50254
+ }
50157
50255
  return contents;
50158
50256
  };
50159
50257
  const de_ImageCriterionList = (output, context) => {
@@ -50201,6 +50299,13 @@ const de_ImageMetadata = (output, context) => {
50201
50299
  }
50202
50300
  return contents;
50203
50301
  };
50302
+ const de_ImageNameList = (output, context) => {
50303
+ return (output || [])
50304
+ .filter((e) => e != null)
50305
+ .map((entry) => {
50306
+ return __expectString(entry);
50307
+ });
50308
+ };
50204
50309
  const de_ImageProviderList = (output, context) => {
50205
50310
  return (output || [])
50206
50311
  .filter((e) => e != null)
@@ -54532,6 +54637,13 @@ const de_ManagedPrefixListSet = (output, context) => {
54532
54637
  return de_ManagedPrefixList(entry, context);
54533
54638
  });
54534
54639
  };
54640
+ const de_MarketplaceProductCodeList = (output, context) => {
54641
+ return (output || [])
54642
+ .filter((e) => e != null)
54643
+ .map((entry) => {
54644
+ return __expectString(entry);
54645
+ });
54646
+ };
54535
54647
  const de_MediaAcceleratorInfo = (output, context) => {
54536
54648
  const contents = {};
54537
54649
  if (output.accelerators === "") {
@@ -64343,6 +64455,7 @@ const _CCo = "CoipCidr";
64343
64455
  const _CCp = "CpuCredits";
64344
64456
  const _CCu = "CurrencyCode";
64345
64457
  const _CD = "CommitmentDuration";
64458
+ const _CDC = "CreationDateCondition";
64346
64459
  const _CDH = "CapacityDurationHours";
64347
64460
  const _CDM = "CompletionDurationMinutes";
64348
64461
  const _CDMVOT = "CreateDelegateMacVolumeOwnershipTask";
@@ -64900,6 +65013,7 @@ const _DSn = "DnsServers";
64900
65013
  const _DSns = "DnsSupport";
64901
65014
  const _DT = "DeleteTags";
64902
65015
  const _DTA = "DpdTimeoutAction";
65016
+ const _DTC = "DeprecationTimeCondition";
64903
65017
  const _DTCT = "DefaultTargetCapacityType";
64904
65018
  const _DTG = "DeleteTransitGateway";
64905
65019
  const _DTGA = "DescribeTransitGatewayAttachments";
@@ -65421,6 +65535,7 @@ const _IMn = "InstanceMonitorings";
65421
65535
  const _IN = "Ipv6Native";
65422
65536
  const _INL = "Ipv6NetmaskLength";
65423
65537
  const _INLp = "Ipv4NetmaskLength";
65538
+ const _INm = "ImageNames";
65424
65539
  const _IOA = "ImageOwnerAlias";
65425
65540
  const _IOI = "IpOwnerId";
65426
65541
  const _IOIn = "InstanceOwnerId";
@@ -65704,6 +65819,8 @@ const _MDA = "MulticastDomainAssociations";
65704
65819
  const _MDCS = "ModifyDefaultCreditSpecification";
65705
65820
  const _MDDS = "MaxDrainDurationSeconds";
65706
65821
  const _MDK = "MetaDataKey";
65822
+ const _MDSC = "MaximumDaysSinceCreated";
65823
+ const _MDSD = "MaximumDaysSinceDeprecated";
65707
65824
  const _MDV = "MetaDataValue";
65708
65825
  const _MDa = "MaintenanceDetails";
65709
65826
  const _MDe = "MetaData";
@@ -65762,6 +65879,7 @@ const _MOSLRG = "MemberOfServiceLinkedResourceGroup";
65762
65879
  const _MOSLSV = "MacOSLatestSupportedVersions";
65763
65880
  const _MOa = "MaintenanceOptions";
65764
65881
  const _MP = "MatchPaths";
65882
+ const _MPC = "MarketplaceProductCodes";
65765
65883
  const _MPDNO = "ModifyPrivateDnsNameOptions";
65766
65884
  const _MPIDNO = "ModifyPublicIpDnsNameOptions";
65767
65885
  const _MPIOL = "MapPublicIpOnLaunch";
@@ -67135,6 +67253,7 @@ const _cCo = "coreCount";
67135
67253
  const _cCoi = "coipCidr";
67136
67254
  const _cCp = "cpuCredits";
67137
67255
  const _cD = "createDate";
67256
+ const _cDC = "creationDateCondition";
67138
67257
  const _cDM = "completionDurationMinutes";
67139
67258
  const _cDr = "creationDate";
67140
67259
  const _cDre = "createdDate";
@@ -67335,6 +67454,7 @@ const _dSeli = "deliveryStream";
67335
67454
  const _dSn = "dnsSupport";
67336
67455
  const _dT = "deletionTime";
67337
67456
  const _dTA = "dpdTimeoutAction";
67457
+ const _dTC = "deprecationTimeCondition";
67338
67458
  const _dTCT = "defaultTargetCapacityType";
67339
67459
  const _dTPC = "defaultThreadsPerCore";
67340
67460
  const _dTPS = "deviceTrustProviderSet";
@@ -67639,6 +67759,7 @@ const _iMOn = "instanceMarketOptions";
67639
67759
  const _iMT = "instanceMetadataTags";
67640
67760
  const _iMU = "importManifestUrl";
67641
67761
  const _iN = "ipv6Native";
67762
+ const _iNS = "imageNameSet";
67642
67763
  const _iOA = "imageOwnerAlias";
67643
67764
  const _iOI = "imageOwnerId";
67644
67765
  const _iOIn = "instanceOwnerId";
@@ -67881,6 +68002,8 @@ const _mCOIOL = "mapCustomerOwnedIpOnLaunch";
67881
68002
  const _mD = "maintenanceDetails";
67882
68003
  const _mDA = "multicastDomainAssociations";
67883
68004
  const _mDK = "metaDataKey";
68005
+ const _mDSC = "maximumDaysSinceCreated";
68006
+ const _mDSD = "maximumDaysSinceDeprecated";
67884
68007
  const _mDV = "metaDataValue";
67885
68008
  const _mDe = "metaData";
67886
68009
  const _mE = "maxEntries";
@@ -67906,6 +68029,7 @@ const _mOSLRG = "memberOfServiceLinkedResourceGroup";
67906
68029
  const _mOSLSVS = "macOSLatestSupportedVersionSet";
67907
68030
  const _mOa = "maintenanceOptions";
67908
68031
  const _mP = "maxPrice";
68032
+ const _mPCS = "marketplaceProductCodeSet";
67909
68033
  const _mPIOL = "mapPublicIpOnLaunch";
67910
68034
  const _mPL = "maxParallelLaunches";
67911
68035
  const _mPS = "metricPointSet";
@@ -45,16 +45,13 @@ declare const CopySnapshotCommand_base: {
45
45
  * <p>If the source snapshot is on an Outpost, you can't copy it.</p>
46
46
  * </li>
47
47
  * </ul>
48
- * <p>When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted.
49
- * Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the
50
- * snapshot copy operation. By default, encrypted snapshot copies use the default KMS key;
51
- * however, you can specify a different KMS key. To copy an encrypted
52
- * snapshot that has been shared from another account, you must have permissions for the KMS key
53
- * used to encrypt the snapshot.</p>
54
- * <p>Snapshots copied to an Outpost are encrypted by default using the default encryption key
55
- * for the Region, or a different key that you specify in the request using <b>KmsKeyId</b>. Outposts do not support unencrypted snapshots. For more information,
56
- * see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS
57
- * local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
48
+ * <p>When copying snapshots to a Region, the encryption outcome for the snapshot copy depends on the
49
+ * Amazon EBS encryption by default setting for the destination Region, the encryption status of the source
50
+ * snapshot, and the encryption parameters you specify in the request. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-copy-snapshot.html#creating-encrypted-snapshots">
51
+ * Encryption and snapshot copying</a>.</p>
52
+ * <p>Snapshots copied to an Outpost must be encrypted. Unencrypted snapshots are not supported
53
+ * on Outposts. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#considerations">
54
+ * Amazon EBS local snapshots on Outposts</a>.</p>
58
55
  * <note>
59
56
  * <p>Snapshots copies have an arbitrary source volume ID. Do not use this volume ID for
60
57
  * any purpose.</p>
@@ -28,8 +28,8 @@ declare const CreateFpgaImageCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).</p>
31
- * <p>The create operation is asynchronous. To verify that the AFI is ready for use,
32
- * check the output logs.</p>
31
+ * <p>The create operation is asynchronous. To verify that the AFI was successfully
32
+ * created and is ready for use, check the output logs.</p>
33
33
  * <p>An AFI contains the FPGA bitstream that is ready to download to an FPGA.
34
34
  * You can securely deploy an AFI on multiple FPGA-accelerated instances.
35
35
  * For more information, see the <a href="https://github.com/aws/aws-fpga/">Amazon Web Services FPGA Hardware Development Kit</a>.</p>
@@ -30,7 +30,7 @@ declare const DescribeImageUsageReportEntriesCommand_base: {
30
30
  * <p>Describes the entries in image usage reports, showing how your images are used across
31
31
  * other Amazon Web Services accounts.</p>
32
32
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/your-ec2-ami-usage.html">View your AMI usage</a> in the
33
- * <i>Amazon EC2 User Guide</i>.</p>
33
+ * <i>Amazon EC2 User Guide</i>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -31,10 +31,6 @@ declare const DisableImageBlockPublicAccessCommand_base: {
31
31
  * specified Amazon Web Services Region. This removes the <i>block public access</i> restriction
32
32
  * from your account. With the restriction removed, you can publicly share your AMIs in the
33
33
  * specified Amazon Web Services Region.</p>
34
- * <p>The API can take up to 10 minutes to configure this setting. During this time, if you run
35
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html">GetImageBlockPublicAccessState</a>, the response will be
36
- * <code>block-new-sharing</code>. When the API has completed the configuration, the response
37
- * will be <code>unblocked</code>.</p>
38
34
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html">Block
39
35
  * public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
40
36
  * @example
@@ -57,6 +57,18 @@ declare const GetAllowedImagesSettingsCommand_base: {
57
57
  * // ImageProviders: [ // ImageProviderList
58
58
  * // "STRING_VALUE",
59
59
  * // ],
60
+ * // MarketplaceProductCodes: [ // MarketplaceProductCodeList
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // ImageNames: [ // ImageNameList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // DeprecationTimeCondition: { // DeprecationTimeCondition
67
+ * // MaximumDaysSinceDeprecated: Number("int"),
68
+ * // },
69
+ * // CreationDateCondition: { // CreationDateCondition
70
+ * // MaximumDaysSinceCreated: Number("int"),
71
+ * // },
60
72
  * // },
61
73
  * // ],
62
74
  * // ManagedBy: "account" || "declarative-policy",
@@ -31,7 +31,7 @@ declare const GetInstanceMetadataDefaultsCommand_base: {
31
31
  * level in the specified Amazon Web Services
32
32
  Region.</p>
33
33
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence">Order of precedence for instance metadata options</a> in the
34
- * <i>Amazon EC2 User Guide</i>.</p>
34
+ * <i>Amazon EC2 User Guide</i>.</p>
35
35
  * @example
36
36
  * Use a bare-bones client and the command you need to make an API call.
37
37
  * ```javascript
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetNetworkInsightsAccessScopeAnalysisFindingsRequest, GetNetworkInsightsAccessScopeAnalysisFindingsResult } from "../models/models_6";
4
+ import { GetNetworkInsightsAccessScopeAnalysisFindingsRequest } from "../models/models_6";
5
+ import { GetNetworkInsightsAccessScopeAnalysisFindingsResult } from "../models/models_7";
5
6
  /**
6
7
  * @public
7
8
  */