@aws-sdk/client-vpc-lattice 3.926.0 → 3.928.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 (44) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +250 -0
  3. package/dist-es/VPCLattice.js +8 -0
  4. package/dist-es/commands/DeleteDomainVerificationCommand.js +22 -0
  5. package/dist-es/commands/GetDomainVerificationCommand.js +22 -0
  6. package/dist-es/commands/ListDomainVerificationsCommand.js +22 -0
  7. package/dist-es/commands/StartDomainVerificationCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +11 -0
  10. package/dist-es/pagination/ListDomainVerificationsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_restJson1.js +158 -0
  13. package/dist-types/VPCLattice.d.ts +29 -0
  14. package/dist-types/VPCLatticeClient.d.ts +6 -2
  15. package/dist-types/commands/CreateResourceConfigurationCommand.d.ts +7 -0
  16. package/dist-types/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +14 -0
  18. package/dist-types/commands/DeleteDomainVerificationCommand.d.ts +87 -0
  19. package/dist-types/commands/GetDomainVerificationCommand.d.ts +101 -0
  20. package/dist-types/commands/GetResourceConfigurationCommand.d.ts +4 -0
  21. package/dist-types/commands/GetServiceNetworkResourceAssociationCommand.d.ts +2 -0
  22. package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +7 -0
  23. package/dist-types/commands/ListDomainVerificationsCommand.d.ts +107 -0
  24. package/dist-types/commands/ListResourceConfigurationsCommand.d.ts +4 -0
  25. package/dist-types/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +1 -0
  26. package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +7 -0
  27. package/dist-types/commands/StartDomainVerificationCommand.d.ts +103 -0
  28. package/dist-types/commands/index.d.ts +4 -0
  29. package/dist-types/models/models_0.d.ts +395 -0
  30. package/dist-types/pagination/ListDomainVerificationsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  33. package/dist-types/ts3.4/VPCLattice.d.ts +69 -0
  34. package/dist-types/ts3.4/VPCLatticeClient.d.ts +24 -0
  35. package/dist-types/ts3.4/commands/DeleteDomainVerificationCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/GetDomainVerificationCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/ListDomainVerificationsCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/StartDomainVerificationCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +98 -0
  41. package/dist-types/ts3.4/pagination/ListDomainVerificationsPaginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  44. package/package.json +5 -5
package/README.md CHANGED
@@ -314,6 +314,14 @@ DeleteAuthPolicy
314
314
 
315
315
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/DeleteAuthPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteAuthPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteAuthPolicyCommandOutput/)
316
316
 
317
+ </details>
318
+ <details>
319
+ <summary>
320
+ DeleteDomainVerification
321
+ </summary>
322
+
323
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/DeleteDomainVerificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteDomainVerificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/DeleteDomainVerificationCommandOutput/)
324
+
317
325
  </details>
318
326
  <details>
319
327
  <summary>
@@ -434,6 +442,14 @@ GetAuthPolicy
434
442
 
435
443
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/GetAuthPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetAuthPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetAuthPolicyCommandOutput/)
436
444
 
445
+ </details>
446
+ <details>
447
+ <summary>
448
+ GetDomainVerification
449
+ </summary>
450
+
451
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/GetDomainVerificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetDomainVerificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/GetDomainVerificationCommandOutput/)
452
+
437
453
  </details>
438
454
  <details>
439
455
  <summary>
@@ -530,6 +546,14 @@ ListAccessLogSubscriptions
530
546
 
531
547
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/ListAccessLogSubscriptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListAccessLogSubscriptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListAccessLogSubscriptionsCommandOutput/)
532
548
 
549
+ </details>
550
+ <details>
551
+ <summary>
552
+ ListDomainVerifications
553
+ </summary>
554
+
555
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/ListDomainVerificationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListDomainVerificationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/ListDomainVerificationsCommandOutput/)
556
+
533
557
  </details>
534
558
  <details>
535
559
  <summary>
@@ -666,6 +690,14 @@ RegisterTargets
666
690
 
667
691
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/RegisterTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/RegisterTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/RegisterTargetsCommandOutput/)
668
692
 
693
+ </details>
694
+ <details>
695
+ <summary>
696
+ StartDomainVerification
697
+ </summary>
698
+
699
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/vpc-lattice/command/StartDomainVerificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/StartDomainVerificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-vpc-lattice/Interface/StartDomainVerificationCommandOutput/)
700
+
669
701
  </details>
670
702
  <details>
671
703
  <summary>
package/dist-cjs/index.js CHANGED
@@ -368,6 +368,12 @@ const ServiceNetworkServiceAssociationStatus = {
368
368
  DELETE_FAILED: "DELETE_FAILED",
369
369
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
370
370
  };
371
+ const PrivateDnsPreference = {
372
+ ALL_DOMAINS: "ALL_DOMAINS",
373
+ SPECIFIED_DOMAINS_ONLY: "SPECIFIED_DOMAINS_ONLY",
374
+ VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS: "VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS",
375
+ VERIFIED_DOMAINS_ONLY: "VERIFIED_DOMAINS_ONLY",
376
+ };
371
377
  const ServiceNetworkVpcAssociationStatus = {
372
378
  ACTIVE: "ACTIVE",
373
379
  CREATE_FAILED: "CREATE_FAILED",
@@ -420,6 +426,11 @@ const TargetGroupStatus = {
420
426
  DELETE_FAILED: "DELETE_FAILED",
421
427
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
422
428
  };
429
+ const VerificationStatus = {
430
+ PENDING: "PENDING",
431
+ VERIFICATION_TIMED_OUT: "VERIFICATION_TIMED_OUT",
432
+ VERIFIED: "VERIFIED",
433
+ };
423
434
  const TargetStatus = {
424
435
  DRAINING: "DRAINING",
425
436
  HEALTHY: "HEALTHY",
@@ -490,6 +501,9 @@ const se_CreateResourceConfigurationCommand = async (input, context) => {
490
501
  body = JSON.stringify(smithyClient.take(input, {
491
502
  allowAssociationToShareableServiceNetwork: [],
492
503
  clientToken: [true, (_) => _ ?? uuid.v4()],
504
+ customDomainName: [],
505
+ domainVerificationIdentifier: [],
506
+ groupDomain: [],
493
507
  name: [],
494
508
  portRanges: (_) => smithyClient._json(_),
495
509
  protocol: [],
@@ -586,6 +600,7 @@ const se_CreateServiceNetworkResourceAssociationCommand = async (input, context)
586
600
  let body;
587
601
  body = JSON.stringify(smithyClient.take(input, {
588
602
  clientToken: [true, (_) => _ ?? uuid.v4()],
603
+ privateDnsEnabled: [],
589
604
  resourceConfigurationIdentifier: [],
590
605
  serviceNetworkIdentifier: [],
591
606
  tags: (_) => smithyClient._json(_),
@@ -618,6 +633,8 @@ const se_CreateServiceNetworkVpcAssociationCommand = async (input, context) => {
618
633
  let body;
619
634
  body = JSON.stringify(smithyClient.take(input, {
620
635
  clientToken: [true, (_) => _ ?? uuid.v4()],
636
+ dnsOptions: (_) => smithyClient._json(_),
637
+ privateDnsEnabled: [],
621
638
  securityGroupIds: (_) => smithyClient._json(_),
622
639
  serviceNetworkIdentifier: [],
623
640
  tags: (_) => smithyClient._json(_),
@@ -661,6 +678,15 @@ const se_DeleteAuthPolicyCommand = async (input, context) => {
661
678
  b.m("DELETE").h(headers).b(body);
662
679
  return b.build();
663
680
  };
681
+ const se_DeleteDomainVerificationCommand = async (input, context) => {
682
+ const b = core.requestBuilder(input, context);
683
+ const headers = {};
684
+ b.bp("/domainverifications/{domainVerificationIdentifier}");
685
+ b.p("domainVerificationIdentifier", () => input.domainVerificationIdentifier, "{domainVerificationIdentifier}", false);
686
+ let body;
687
+ b.m("DELETE").h(headers).b(body);
688
+ return b.build();
689
+ };
664
690
  const se_DeleteListenerCommand = async (input, context) => {
665
691
  const b = core.requestBuilder(input, context);
666
692
  const headers = {};
@@ -804,6 +830,15 @@ const se_GetAuthPolicyCommand = async (input, context) => {
804
830
  b.m("GET").h(headers).b(body);
805
831
  return b.build();
806
832
  };
833
+ const se_GetDomainVerificationCommand = async (input, context) => {
834
+ const b = core.requestBuilder(input, context);
835
+ const headers = {};
836
+ b.bp("/domainverifications/{domainVerificationIdentifier}");
837
+ b.p("domainVerificationIdentifier", () => input.domainVerificationIdentifier, "{domainVerificationIdentifier}", false);
838
+ let body;
839
+ b.m("GET").h(headers).b(body);
840
+ return b.build();
841
+ };
807
842
  const se_GetListenerCommand = async (input, context) => {
808
843
  const b = core.requestBuilder(input, context);
809
844
  const headers = {};
@@ -919,6 +954,18 @@ const se_ListAccessLogSubscriptionsCommand = async (input, context) => {
919
954
  b.m("GET").h(headers).q(query).b(body);
920
955
  return b.build();
921
956
  };
957
+ const se_ListDomainVerificationsCommand = async (input, context) => {
958
+ const b = core.requestBuilder(input, context);
959
+ const headers = {};
960
+ b.bp("/domainverifications");
961
+ const query = smithyClient.map({
962
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
963
+ [_nT]: [, input[_nT]],
964
+ });
965
+ let body;
966
+ b.m("GET").h(headers).q(query).b(body);
967
+ return b.build();
968
+ };
922
969
  const se_ListListenersCommand = async (input, context) => {
923
970
  const b = core.requestBuilder(input, context);
924
971
  const headers = {};
@@ -939,6 +986,7 @@ const se_ListResourceConfigurationsCommand = async (input, context) => {
939
986
  const query = smithyClient.map({
940
987
  [_rGI]: [, input[_rGI]],
941
988
  [_rCGI]: [, input[_rCGI]],
989
+ [_dVI]: [, input[_dVI]],
942
990
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
943
991
  [_nT]: [, input[_nT]],
944
992
  });
@@ -1151,6 +1199,21 @@ const se_RegisterTargetsCommand = async (input, context) => {
1151
1199
  b.m("POST").h(headers).b(body);
1152
1200
  return b.build();
1153
1201
  };
1202
+ const se_StartDomainVerificationCommand = async (input, context) => {
1203
+ const b = core.requestBuilder(input, context);
1204
+ const headers = {
1205
+ "content-type": "application/json",
1206
+ };
1207
+ b.bp("/domainverifications");
1208
+ let body;
1209
+ body = JSON.stringify(smithyClient.take(input, {
1210
+ clientToken: [true, (_) => _ ?? uuid.v4()],
1211
+ domainName: [],
1212
+ tags: (_) => smithyClient._json(_),
1213
+ }));
1214
+ b.m("POST").h(headers).b(body);
1215
+ return b.build();
1216
+ };
1154
1217
  const se_TagResourceCommand = async (input, context) => {
1155
1218
  const b = core.requestBuilder(input, context);
1156
1219
  const headers = {
@@ -1378,7 +1441,11 @@ const de_CreateResourceConfigurationCommand = async (output, context) => {
1378
1441
  allowAssociationToShareableServiceNetwork: smithyClient.expectBoolean,
1379
1442
  arn: smithyClient.expectString,
1380
1443
  createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1444
+ customDomainName: smithyClient.expectString,
1445
+ domainVerificationArn: smithyClient.expectString,
1446
+ domainVerificationId: smithyClient.expectString,
1381
1447
  failureReason: smithyClient.expectString,
1448
+ groupDomain: smithyClient.expectString,
1382
1449
  id: smithyClient.expectString,
1383
1450
  name: smithyClient.expectString,
1384
1451
  portRanges: smithyClient._json,
@@ -1484,6 +1551,7 @@ const de_CreateServiceNetworkResourceAssociationCommand = async (output, context
1484
1551
  arn: smithyClient.expectString,
1485
1552
  createdBy: smithyClient.expectString,
1486
1553
  id: smithyClient.expectString,
1554
+ privateDnsEnabled: smithyClient.expectBoolean,
1487
1555
  status: smithyClient.expectString,
1488
1556
  });
1489
1557
  Object.assign(contents, doc);
@@ -1519,7 +1587,9 @@ const de_CreateServiceNetworkVpcAssociationCommand = async (output, context) =>
1519
1587
  const doc = smithyClient.take(data, {
1520
1588
  arn: smithyClient.expectString,
1521
1589
  createdBy: smithyClient.expectString,
1590
+ dnsOptions: smithyClient._json,
1522
1591
  id: smithyClient.expectString,
1592
+ privateDnsEnabled: smithyClient.expectBoolean,
1523
1593
  securityGroupIds: smithyClient._json,
1524
1594
  status: smithyClient.expectString,
1525
1595
  });
@@ -1565,6 +1635,16 @@ const de_DeleteAuthPolicyCommand = async (output, context) => {
1565
1635
  await smithyClient.collectBody(output.body, context);
1566
1636
  return contents;
1567
1637
  };
1638
+ const de_DeleteDomainVerificationCommand = async (output, context) => {
1639
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1640
+ return de_CommandError(output, context);
1641
+ }
1642
+ const contents = smithyClient.map({
1643
+ $metadata: deserializeMetadata(output),
1644
+ });
1645
+ await smithyClient.collectBody(output.body, context);
1646
+ return contents;
1647
+ };
1568
1648
  const de_DeleteListenerCommand = async (output, context) => {
1569
1649
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1570
1650
  return de_CommandError(output, context);
@@ -1784,6 +1864,27 @@ const de_GetAuthPolicyCommand = async (output, context) => {
1784
1864
  Object.assign(contents, doc);
1785
1865
  return contents;
1786
1866
  };
1867
+ const de_GetDomainVerificationCommand = async (output, context) => {
1868
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1869
+ return de_CommandError(output, context);
1870
+ }
1871
+ const contents = smithyClient.map({
1872
+ $metadata: deserializeMetadata(output),
1873
+ });
1874
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1875
+ const doc = smithyClient.take(data, {
1876
+ arn: smithyClient.expectString,
1877
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1878
+ domainName: smithyClient.expectString,
1879
+ id: smithyClient.expectString,
1880
+ lastVerifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1881
+ status: smithyClient.expectString,
1882
+ tags: smithyClient._json,
1883
+ txtMethodConfig: smithyClient._json,
1884
+ });
1885
+ Object.assign(contents, doc);
1886
+ return contents;
1887
+ };
1787
1888
  const de_GetListenerCommand = async (output, context) => {
1788
1889
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1789
1890
  return de_CommandError(output, context);
@@ -1821,7 +1922,11 @@ const de_GetResourceConfigurationCommand = async (output, context) => {
1821
1922
  arn: smithyClient.expectString,
1822
1923
  createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1823
1924
  customDomainName: smithyClient.expectString,
1925
+ domainVerificationArn: smithyClient.expectString,
1926
+ domainVerificationId: smithyClient.expectString,
1927
+ domainVerificationStatus: smithyClient.expectString,
1824
1928
  failureReason: smithyClient.expectString,
1929
+ groupDomain: smithyClient.expectString,
1825
1930
  id: smithyClient.expectString,
1826
1931
  lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1827
1932
  name: smithyClient.expectString,
@@ -1956,11 +2061,13 @@ const de_GetServiceNetworkResourceAssociationCommand = async (output, context) =
1956
2061
  createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1957
2062
  createdBy: smithyClient.expectString,
1958
2063
  dnsEntry: smithyClient._json,
2064
+ domainVerificationStatus: smithyClient.expectString,
1959
2065
  failureCode: smithyClient.expectString,
1960
2066
  failureReason: smithyClient.expectString,
1961
2067
  id: smithyClient.expectString,
1962
2068
  isManagedAssociation: smithyClient.expectBoolean,
1963
2069
  lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2070
+ privateDnsEnabled: smithyClient.expectBoolean,
1964
2071
  privateDnsEntry: smithyClient._json,
1965
2072
  resourceConfigurationArn: smithyClient.expectString,
1966
2073
  resourceConfigurationId: smithyClient.expectString,
@@ -2013,10 +2120,12 @@ const de_GetServiceNetworkVpcAssociationCommand = async (output, context) => {
2013
2120
  arn: smithyClient.expectString,
2014
2121
  createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2015
2122
  createdBy: smithyClient.expectString,
2123
+ dnsOptions: smithyClient._json,
2016
2124
  failureCode: smithyClient.expectString,
2017
2125
  failureMessage: smithyClient.expectString,
2018
2126
  id: smithyClient.expectString,
2019
2127
  lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2128
+ privateDnsEnabled: smithyClient.expectBoolean,
2020
2129
  securityGroupIds: smithyClient._json,
2021
2130
  serviceNetworkArn: smithyClient.expectString,
2022
2131
  serviceNetworkId: smithyClient.expectString,
@@ -2066,6 +2175,21 @@ const de_ListAccessLogSubscriptionsCommand = async (output, context) => {
2066
2175
  Object.assign(contents, doc);
2067
2176
  return contents;
2068
2177
  };
2178
+ const de_ListDomainVerificationsCommand = async (output, context) => {
2179
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2180
+ return de_CommandError(output, context);
2181
+ }
2182
+ const contents = smithyClient.map({
2183
+ $metadata: deserializeMetadata(output),
2184
+ });
2185
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
2186
+ const doc = smithyClient.take(data, {
2187
+ items: (_) => de_DomainVerificationList(_),
2188
+ nextToken: smithyClient.expectString,
2189
+ });
2190
+ Object.assign(contents, doc);
2191
+ return contents;
2192
+ };
2069
2193
  const de_ListListenersCommand = async (output, context) => {
2070
2194
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2071
2195
  return de_CommandError(output, context);
@@ -2315,6 +2439,24 @@ const de_RegisterTargetsCommand = async (output, context) => {
2315
2439
  Object.assign(contents, doc);
2316
2440
  return contents;
2317
2441
  };
2442
+ const de_StartDomainVerificationCommand = async (output, context) => {
2443
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2444
+ return de_CommandError(output, context);
2445
+ }
2446
+ const contents = smithyClient.map({
2447
+ $metadata: deserializeMetadata(output),
2448
+ });
2449
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
2450
+ const doc = smithyClient.take(data, {
2451
+ arn: smithyClient.expectString,
2452
+ domainName: smithyClient.expectString,
2453
+ id: smithyClient.expectString,
2454
+ status: smithyClient.expectString,
2455
+ txtMethodConfig: smithyClient._json,
2456
+ });
2457
+ Object.assign(contents, doc);
2458
+ return contents;
2459
+ };
2318
2460
  const de_TagResourceCommand = async (output, context) => {
2319
2461
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2320
2462
  return de_CommandError(output, context);
@@ -2677,6 +2819,26 @@ const de_AccessLogSubscriptionSummary = (output, context) => {
2677
2819
  serviceNetworkLogType: smithyClient.expectString,
2678
2820
  });
2679
2821
  };
2822
+ const de_DomainVerificationList = (output, context) => {
2823
+ const retVal = (output || [])
2824
+ .filter((e) => e != null)
2825
+ .map((entry) => {
2826
+ return de_DomainVerificationSummary(entry);
2827
+ });
2828
+ return retVal;
2829
+ };
2830
+ const de_DomainVerificationSummary = (output, context) => {
2831
+ return smithyClient.take(output, {
2832
+ arn: smithyClient.expectString,
2833
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2834
+ domainName: smithyClient.expectString,
2835
+ id: smithyClient.expectString,
2836
+ lastVerifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2837
+ status: smithyClient.expectString,
2838
+ tags: smithyClient._json,
2839
+ txtMethodConfig: smithyClient._json,
2840
+ });
2841
+ };
2680
2842
  const de_ListenerSummary = (output, context) => {
2681
2843
  return smithyClient.take(output, {
2682
2844
  arn: smithyClient.expectString,
@@ -2701,6 +2863,9 @@ const de_ResourceConfigurationSummary = (output, context) => {
2701
2863
  amazonManaged: smithyClient.expectBoolean,
2702
2864
  arn: smithyClient.expectString,
2703
2865
  createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2866
+ customDomainName: smithyClient.expectString,
2867
+ domainVerificationId: smithyClient.expectString,
2868
+ groupDomain: smithyClient.expectString,
2704
2869
  id: smithyClient.expectString,
2705
2870
  lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2706
2871
  name: smithyClient.expectString,
@@ -2825,6 +2990,7 @@ const de_ServiceNetworkResourceAssociationSummary = (output, context) => {
2825
2990
  failureCode: smithyClient.expectString,
2826
2991
  id: smithyClient.expectString,
2827
2992
  isManagedAssociation: smithyClient.expectBoolean,
2993
+ privateDnsEnabled: smithyClient.expectBoolean,
2828
2994
  privateDnsEntry: smithyClient._json,
2829
2995
  resourceConfigurationArn: smithyClient.expectString,
2830
2996
  resourceConfigurationId: smithyClient.expectString,
@@ -2885,8 +3051,10 @@ const de_ServiceNetworkVpcAssociationSummary = (output, context) => {
2885
3051
  arn: smithyClient.expectString,
2886
3052
  createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2887
3053
  createdBy: smithyClient.expectString,
3054
+ dnsOptions: smithyClient._json,
2888
3055
  id: smithyClient.expectString,
2889
3056
  lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
3057
+ privateDnsEnabled: smithyClient.expectBoolean,
2890
3058
  serviceNetworkArn: smithyClient.expectString,
2891
3059
  serviceNetworkId: smithyClient.expectString,
2892
3060
  serviceNetworkName: smithyClient.expectString,
@@ -2945,6 +3113,7 @@ const deserializeMetadata = (output) => ({
2945
3113
  extendedRequestId: output.headers["x-amz-id-2"],
2946
3114
  cfId: output.headers["x-amz-cf-id"],
2947
3115
  });
3116
+ const _dVI = "domainVerificationIdentifier";
2948
3117
  const _iC = "includeChildren";
2949
3118
  const _mR = "maxResults";
2950
3119
  const _nT = "nextToken";
@@ -3201,6 +3370,23 @@ class DeleteAuthPolicyCommand extends smithyClient.Command
3201
3370
  .build() {
3202
3371
  }
3203
3372
 
3373
+ class DeleteDomainVerificationCommand extends smithyClient.Command
3374
+ .classBuilder()
3375
+ .ep(commonParams)
3376
+ .m(function (Command, cs, config, o) {
3377
+ return [
3378
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3379
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3380
+ ];
3381
+ })
3382
+ .s("MercuryControlPlane", "DeleteDomainVerification", {})
3383
+ .n("VPCLatticeClient", "DeleteDomainVerificationCommand")
3384
+ .f(void 0, void 0)
3385
+ .ser(se_DeleteDomainVerificationCommand)
3386
+ .de(de_DeleteDomainVerificationCommand)
3387
+ .build() {
3388
+ }
3389
+
3204
3390
  class DeleteListenerCommand extends smithyClient.Command
3205
3391
  .classBuilder()
3206
3392
  .ep(commonParams)
@@ -3456,6 +3642,23 @@ class GetAuthPolicyCommand extends smithyClient.Command
3456
3642
  .build() {
3457
3643
  }
3458
3644
 
3645
+ class GetDomainVerificationCommand extends smithyClient.Command
3646
+ .classBuilder()
3647
+ .ep(commonParams)
3648
+ .m(function (Command, cs, config, o) {
3649
+ return [
3650
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3651
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3652
+ ];
3653
+ })
3654
+ .s("MercuryControlPlane", "GetDomainVerification", {})
3655
+ .n("VPCLatticeClient", "GetDomainVerificationCommand")
3656
+ .f(void 0, void 0)
3657
+ .ser(se_GetDomainVerificationCommand)
3658
+ .de(de_GetDomainVerificationCommand)
3659
+ .build() {
3660
+ }
3661
+
3459
3662
  class GetListenerCommand extends smithyClient.Command
3460
3663
  .classBuilder()
3461
3664
  .ep(commonParams)
@@ -3660,6 +3863,23 @@ class ListAccessLogSubscriptionsCommand extends smithyClient.Command
3660
3863
  .build() {
3661
3864
  }
3662
3865
 
3866
+ class ListDomainVerificationsCommand extends smithyClient.Command
3867
+ .classBuilder()
3868
+ .ep(commonParams)
3869
+ .m(function (Command, cs, config, o) {
3870
+ return [
3871
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3872
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3873
+ ];
3874
+ })
3875
+ .s("MercuryControlPlane", "ListDomainVerifications", {})
3876
+ .n("VPCLatticeClient", "ListDomainVerificationsCommand")
3877
+ .f(void 0, void 0)
3878
+ .ser(se_ListDomainVerificationsCommand)
3879
+ .de(de_ListDomainVerificationsCommand)
3880
+ .build() {
3881
+ }
3882
+
3663
3883
  class ListListenersCommand extends smithyClient.Command
3664
3884
  .classBuilder()
3665
3885
  .ep(commonParams)
@@ -3949,6 +4169,23 @@ class RegisterTargetsCommand extends smithyClient.Command
3949
4169
  .build() {
3950
4170
  }
3951
4171
 
4172
+ class StartDomainVerificationCommand extends smithyClient.Command
4173
+ .classBuilder()
4174
+ .ep(commonParams)
4175
+ .m(function (Command, cs, config, o) {
4176
+ return [
4177
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
4178
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
4179
+ ];
4180
+ })
4181
+ .s("MercuryControlPlane", "StartDomainVerification", {})
4182
+ .n("VPCLatticeClient", "StartDomainVerificationCommand")
4183
+ .f(void 0, void 0)
4184
+ .ser(se_StartDomainVerificationCommand)
4185
+ .de(de_StartDomainVerificationCommand)
4186
+ .build() {
4187
+ }
4188
+
3952
4189
  class TagResourceCommand extends smithyClient.Command
3953
4190
  .classBuilder()
3954
4191
  .ep(commonParams)
@@ -4151,6 +4388,7 @@ const commands = {
4151
4388
  CreateTargetGroupCommand,
4152
4389
  DeleteAccessLogSubscriptionCommand,
4153
4390
  DeleteAuthPolicyCommand,
4391
+ DeleteDomainVerificationCommand,
4154
4392
  DeleteListenerCommand,
4155
4393
  DeleteResourceConfigurationCommand,
4156
4394
  DeleteResourceEndpointAssociationCommand,
@@ -4166,6 +4404,7 @@ const commands = {
4166
4404
  DeregisterTargetsCommand,
4167
4405
  GetAccessLogSubscriptionCommand,
4168
4406
  GetAuthPolicyCommand,
4407
+ GetDomainVerificationCommand,
4169
4408
  GetListenerCommand,
4170
4409
  GetResourceConfigurationCommand,
4171
4410
  GetResourceGatewayCommand,
@@ -4178,6 +4417,7 @@ const commands = {
4178
4417
  GetServiceNetworkVpcAssociationCommand,
4179
4418
  GetTargetGroupCommand,
4180
4419
  ListAccessLogSubscriptionsCommand,
4420
+ ListDomainVerificationsCommand,
4181
4421
  ListListenersCommand,
4182
4422
  ListResourceConfigurationsCommand,
4183
4423
  ListResourceEndpointAssociationsCommand,
@@ -4195,6 +4435,7 @@ const commands = {
4195
4435
  PutAuthPolicyCommand,
4196
4436
  PutResourcePolicyCommand,
4197
4437
  RegisterTargetsCommand,
4438
+ StartDomainVerificationCommand,
4198
4439
  TagResourceCommand,
4199
4440
  UntagResourceCommand,
4200
4441
  UpdateAccessLogSubscriptionCommand,
@@ -4213,6 +4454,8 @@ smithyClient.createAggregatedClient(commands, VPCLattice);
4213
4454
 
4214
4455
  const paginateListAccessLogSubscriptions = core.createPaginator(VPCLatticeClient, ListAccessLogSubscriptionsCommand, "nextToken", "nextToken", "maxResults");
4215
4456
 
4457
+ const paginateListDomainVerifications = core.createPaginator(VPCLatticeClient, ListDomainVerificationsCommand, "nextToken", "nextToken", "maxResults");
4458
+
4216
4459
  const paginateListListeners = core.createPaginator(VPCLatticeClient, ListListenersCommand, "nextToken", "nextToken", "maxResults");
4217
4460
 
4218
4461
  const paginateListResourceConfigurations = core.createPaginator(VPCLatticeClient, ListResourceConfigurationsCommand, "nextToken", "nextToken", "maxResults");
@@ -4265,6 +4508,7 @@ exports.CreateServiceNetworkVpcAssociationCommand = CreateServiceNetworkVpcAssoc
4265
4508
  exports.CreateTargetGroupCommand = CreateTargetGroupCommand;
4266
4509
  exports.DeleteAccessLogSubscriptionCommand = DeleteAccessLogSubscriptionCommand;
4267
4510
  exports.DeleteAuthPolicyCommand = DeleteAuthPolicyCommand;
4511
+ exports.DeleteDomainVerificationCommand = DeleteDomainVerificationCommand;
4268
4512
  exports.DeleteListenerCommand = DeleteListenerCommand;
4269
4513
  exports.DeleteResourceConfigurationCommand = DeleteResourceConfigurationCommand;
4270
4514
  exports.DeleteResourceEndpointAssociationCommand = DeleteResourceEndpointAssociationCommand;
@@ -4280,6 +4524,7 @@ exports.DeleteTargetGroupCommand = DeleteTargetGroupCommand;
4280
4524
  exports.DeregisterTargetsCommand = DeregisterTargetsCommand;
4281
4525
  exports.GetAccessLogSubscriptionCommand = GetAccessLogSubscriptionCommand;
4282
4526
  exports.GetAuthPolicyCommand = GetAuthPolicyCommand;
4527
+ exports.GetDomainVerificationCommand = GetDomainVerificationCommand;
4283
4528
  exports.GetListenerCommand = GetListenerCommand;
4284
4529
  exports.GetResourceConfigurationCommand = GetResourceConfigurationCommand;
4285
4530
  exports.GetResourceGatewayCommand = GetResourceGatewayCommand;
@@ -4296,6 +4541,7 @@ exports.InternalServerException = InternalServerException;
4296
4541
  exports.IpAddressType = IpAddressType;
4297
4542
  exports.LambdaEventStructureVersion = LambdaEventStructureVersion;
4298
4543
  exports.ListAccessLogSubscriptionsCommand = ListAccessLogSubscriptionsCommand;
4544
+ exports.ListDomainVerificationsCommand = ListDomainVerificationsCommand;
4299
4545
  exports.ListListenersCommand = ListListenersCommand;
4300
4546
  exports.ListResourceConfigurationsCommand = ListResourceConfigurationsCommand;
4301
4547
  exports.ListResourceEndpointAssociationsCommand = ListResourceEndpointAssociationsCommand;
@@ -4311,6 +4557,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
4311
4557
  exports.ListTargetGroupsCommand = ListTargetGroupsCommand;
4312
4558
  exports.ListTargetsCommand = ListTargetsCommand;
4313
4559
  exports.ListenerProtocol = ListenerProtocol;
4560
+ exports.PrivateDnsPreference = PrivateDnsPreference;
4314
4561
  exports.ProtocolType = ProtocolType;
4315
4562
  exports.PutAuthPolicyCommand = PutAuthPolicyCommand;
4316
4563
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
@@ -4327,6 +4574,7 @@ exports.ServiceNetworkServiceAssociationStatus = ServiceNetworkServiceAssociatio
4327
4574
  exports.ServiceNetworkVpcAssociationStatus = ServiceNetworkVpcAssociationStatus;
4328
4575
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
4329
4576
  exports.ServiceStatus = ServiceStatus;
4577
+ exports.StartDomainVerificationCommand = StartDomainVerificationCommand;
4330
4578
  exports.TagResourceCommand = TagResourceCommand;
4331
4579
  exports.TargetGroupProtocol = TargetGroupProtocol;
4332
4580
  exports.TargetGroupProtocolVersion = TargetGroupProtocolVersion;
@@ -4349,7 +4597,9 @@ exports.VPCLatticeClient = VPCLatticeClient;
4349
4597
  exports.VPCLatticeServiceException = VPCLatticeServiceException;
4350
4598
  exports.ValidationException = ValidationException;
4351
4599
  exports.ValidationExceptionReason = ValidationExceptionReason;
4600
+ exports.VerificationStatus = VerificationStatus;
4352
4601
  exports.paginateListAccessLogSubscriptions = paginateListAccessLogSubscriptions;
4602
+ exports.paginateListDomainVerifications = paginateListDomainVerifications;
4353
4603
  exports.paginateListListeners = paginateListListeners;
4354
4604
  exports.paginateListResourceConfigurations = paginateListResourceConfigurations;
4355
4605
  exports.paginateListResourceEndpointAssociations = paginateListResourceEndpointAssociations;
@@ -13,6 +13,7 @@ import { CreateServiceNetworkVpcAssociationCommand, } from "./commands/CreateSer
13
13
  import { CreateTargetGroupCommand, } from "./commands/CreateTargetGroupCommand";
14
14
  import { DeleteAccessLogSubscriptionCommand, } from "./commands/DeleteAccessLogSubscriptionCommand";
15
15
  import { DeleteAuthPolicyCommand, } from "./commands/DeleteAuthPolicyCommand";
16
+ import { DeleteDomainVerificationCommand, } from "./commands/DeleteDomainVerificationCommand";
16
17
  import { DeleteListenerCommand, } from "./commands/DeleteListenerCommand";
17
18
  import { DeleteResourceConfigurationCommand, } from "./commands/DeleteResourceConfigurationCommand";
18
19
  import { DeleteResourceEndpointAssociationCommand, } from "./commands/DeleteResourceEndpointAssociationCommand";
@@ -28,6 +29,7 @@ import { DeleteTargetGroupCommand, } from "./commands/DeleteTargetGroupCommand";
28
29
  import { DeregisterTargetsCommand, } from "./commands/DeregisterTargetsCommand";
29
30
  import { GetAccessLogSubscriptionCommand, } from "./commands/GetAccessLogSubscriptionCommand";
30
31
  import { GetAuthPolicyCommand, } from "./commands/GetAuthPolicyCommand";
32
+ import { GetDomainVerificationCommand, } from "./commands/GetDomainVerificationCommand";
31
33
  import { GetListenerCommand } from "./commands/GetListenerCommand";
32
34
  import { GetResourceConfigurationCommand, } from "./commands/GetResourceConfigurationCommand";
33
35
  import { GetResourceGatewayCommand, } from "./commands/GetResourceGatewayCommand";
@@ -40,6 +42,7 @@ import { GetServiceNetworkServiceAssociationCommand, } from "./commands/GetServi
40
42
  import { GetServiceNetworkVpcAssociationCommand, } from "./commands/GetServiceNetworkVpcAssociationCommand";
41
43
  import { GetTargetGroupCommand, } from "./commands/GetTargetGroupCommand";
42
44
  import { ListAccessLogSubscriptionsCommand, } from "./commands/ListAccessLogSubscriptionsCommand";
45
+ import { ListDomainVerificationsCommand, } from "./commands/ListDomainVerificationsCommand";
43
46
  import { ListListenersCommand, } from "./commands/ListListenersCommand";
44
47
  import { ListResourceConfigurationsCommand, } from "./commands/ListResourceConfigurationsCommand";
45
48
  import { ListResourceEndpointAssociationsCommand, } from "./commands/ListResourceEndpointAssociationsCommand";
@@ -57,6 +60,7 @@ import { ListTargetsCommand } from "./commands/ListTargetsCommand";
57
60
  import { PutAuthPolicyCommand, } from "./commands/PutAuthPolicyCommand";
58
61
  import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
59
62
  import { RegisterTargetsCommand, } from "./commands/RegisterTargetsCommand";
63
+ import { StartDomainVerificationCommand, } from "./commands/StartDomainVerificationCommand";
60
64
  import { TagResourceCommand } from "./commands/TagResourceCommand";
61
65
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
62
66
  import { UpdateAccessLogSubscriptionCommand, } from "./commands/UpdateAccessLogSubscriptionCommand";
@@ -84,6 +88,7 @@ const commands = {
84
88
  CreateTargetGroupCommand,
85
89
  DeleteAccessLogSubscriptionCommand,
86
90
  DeleteAuthPolicyCommand,
91
+ DeleteDomainVerificationCommand,
87
92
  DeleteListenerCommand,
88
93
  DeleteResourceConfigurationCommand,
89
94
  DeleteResourceEndpointAssociationCommand,
@@ -99,6 +104,7 @@ const commands = {
99
104
  DeregisterTargetsCommand,
100
105
  GetAccessLogSubscriptionCommand,
101
106
  GetAuthPolicyCommand,
107
+ GetDomainVerificationCommand,
102
108
  GetListenerCommand,
103
109
  GetResourceConfigurationCommand,
104
110
  GetResourceGatewayCommand,
@@ -111,6 +117,7 @@ const commands = {
111
117
  GetServiceNetworkVpcAssociationCommand,
112
118
  GetTargetGroupCommand,
113
119
  ListAccessLogSubscriptionsCommand,
120
+ ListDomainVerificationsCommand,
114
121
  ListListenersCommand,
115
122
  ListResourceConfigurationsCommand,
116
123
  ListResourceEndpointAssociationsCommand,
@@ -128,6 +135,7 @@ const commands = {
128
135
  PutAuthPolicyCommand,
129
136
  PutResourcePolicyCommand,
130
137
  RegisterTargetsCommand,
138
+ StartDomainVerificationCommand,
131
139
  TagResourceCommand,
132
140
  UntagResourceCommand,
133
141
  UpdateAccessLogSubscriptionCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteDomainVerificationCommand, se_DeleteDomainVerificationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteDomainVerificationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("MercuryControlPlane", "DeleteDomainVerification", {})
17
+ .n("VPCLatticeClient", "DeleteDomainVerificationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteDomainVerificationCommand)
20
+ .de(de_DeleteDomainVerificationCommand)
21
+ .build() {
22
+ }