@aws-sdk/client-api-gateway 3.696.0 → 3.699.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 (39) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +241 -8
  3. package/dist-es/APIGateway.js +8 -0
  4. package/dist-es/commands/CreateDomainNameAccessAssociationCommand.js +22 -0
  5. package/dist-es/commands/DeleteDomainNameAccessAssociationCommand.js +22 -0
  6. package/dist-es/commands/GetDomainNameAccessAssociationsCommand.js +22 -0
  7. package/dist-es/commands/RejectDomainNameAccessAssociationCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +7 -0
  10. package/dist-es/protocols/Aws_restJson1.js +153 -6
  11. package/dist-types/APIGateway.d.ts +29 -0
  12. package/dist-types/APIGatewayClient.d.ts +6 -2
  13. package/dist-types/commands/CreateBasePathMappingCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateDomainNameAccessAssociationCommand.d.ts +98 -0
  15. package/dist-types/commands/CreateDomainNameCommand.d.ts +5 -0
  16. package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +1 -0
  17. package/dist-types/commands/DeleteDomainNameAccessAssociationCommand.d.ts +85 -0
  18. package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -0
  19. package/dist-types/commands/GetBasePathMappingCommand.d.ts +1 -0
  20. package/dist-types/commands/GetBasePathMappingsCommand.d.ts +1 -0
  21. package/dist-types/commands/GetDomainNameAccessAssociationsCommand.d.ts +96 -0
  22. package/dist-types/commands/GetDomainNameCommand.d.ts +5 -0
  23. package/dist-types/commands/GetDomainNamesCommand.d.ts +5 -0
  24. package/dist-types/commands/RejectDomainNameAccessAssociationCommand.d.ts +86 -0
  25. package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +1 -0
  26. package/dist-types/commands/UpdateDomainNameCommand.d.ts +5 -0
  27. package/dist-types/commands/index.d.ts +4 -0
  28. package/dist-types/models/models_0.d.ts +259 -6
  29. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  30. package/dist-types/ts3.4/APIGateway.d.ts +87 -0
  31. package/dist-types/ts3.4/APIGatewayClient.d.ts +24 -0
  32. package/dist-types/ts3.4/commands/CreateDomainNameAccessAssociationCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/DeleteDomainNameAccessAssociationCommand.d.ts +47 -0
  34. package/dist-types/ts3.4/commands/GetDomainNameAccessAssociationsCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/RejectDomainNameAccessAssociationCommand.d.ts +47 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +53 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  39. package/package.json +4 -4
package/README.md CHANGED
@@ -260,6 +260,14 @@ CreateDomainName
260
260
 
261
261
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/CreateDomainNameCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/CreateDomainNameCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/CreateDomainNameCommandOutput/)
262
262
 
263
+ </details>
264
+ <details>
265
+ <summary>
266
+ CreateDomainNameAccessAssociation
267
+ </summary>
268
+
269
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/CreateDomainNameAccessAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/CreateDomainNameAccessAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/CreateDomainNameAccessAssociationCommandOutput/)
270
+
263
271
  </details>
264
272
  <details>
265
273
  <summary>
@@ -388,6 +396,14 @@ DeleteDomainName
388
396
 
389
397
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/DeleteDomainNameCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/DeleteDomainNameCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/DeleteDomainNameCommandOutput/)
390
398
 
399
+ </details>
400
+ <details>
401
+ <summary>
402
+ DeleteDomainNameAccessAssociation
403
+ </summary>
404
+
405
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/DeleteDomainNameAccessAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/DeleteDomainNameAccessAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/DeleteDomainNameAccessAssociationCommandOutput/)
406
+
391
407
  </details>
392
408
  <details>
393
409
  <summary>
@@ -644,6 +660,14 @@ GetDomainName
644
660
 
645
661
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/GetDomainNameCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/GetDomainNameCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/GetDomainNameCommandOutput/)
646
662
 
663
+ </details>
664
+ <details>
665
+ <summary>
666
+ GetDomainNameAccessAssociations
667
+ </summary>
668
+
669
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/GetDomainNameAccessAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/GetDomainNameAccessAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/GetDomainNameAccessAssociationsCommandOutput/)
670
+
647
671
  </details>
648
672
  <details>
649
673
  <summary>
@@ -956,6 +980,14 @@ PutRestApi
956
980
 
957
981
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/PutRestApiCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/PutRestApiCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/PutRestApiCommandOutput/)
958
982
 
983
+ </details>
984
+ <details>
985
+ <summary>
986
+ RejectDomainNameAccessAssociation
987
+ </summary>
988
+
989
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/api-gateway/command/RejectDomainNameAccessAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/RejectDomainNameAccessAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-api-gateway/Interface/RejectDomainNameAccessAssociationCommandOutput/)
990
+
959
991
  </details>
960
992
  <details>
961
993
  <summary>
package/dist-cjs/index.js CHANGED
@@ -24,6 +24,7 @@ __export(src_exports, {
24
24
  APIGateway: () => APIGateway,
25
25
  APIGatewayClient: () => APIGatewayClient,
26
26
  APIGatewayServiceException: () => APIGatewayServiceException,
27
+ AccessAssociationSourceType: () => AccessAssociationSourceType,
27
28
  ApiKeySourceType: () => ApiKeySourceType,
28
29
  ApiKeysFormat: () => ApiKeysFormat,
29
30
  AuthorizerType: () => AuthorizerType,
@@ -39,6 +40,7 @@ __export(src_exports, {
39
40
  CreateDeploymentCommand: () => CreateDeploymentCommand,
40
41
  CreateDocumentationPartCommand: () => CreateDocumentationPartCommand,
41
42
  CreateDocumentationVersionCommand: () => CreateDocumentationVersionCommand,
43
+ CreateDomainNameAccessAssociationCommand: () => CreateDomainNameAccessAssociationCommand,
42
44
  CreateDomainNameCommand: () => CreateDomainNameCommand,
43
45
  CreateModelCommand: () => CreateModelCommand,
44
46
  CreateRequestValidatorCommand: () => CreateRequestValidatorCommand,
@@ -55,6 +57,7 @@ __export(src_exports, {
55
57
  DeleteDeploymentCommand: () => DeleteDeploymentCommand,
56
58
  DeleteDocumentationPartCommand: () => DeleteDocumentationPartCommand,
57
59
  DeleteDocumentationVersionCommand: () => DeleteDocumentationVersionCommand,
60
+ DeleteDomainNameAccessAssociationCommand: () => DeleteDomainNameAccessAssociationCommand,
58
61
  DeleteDomainNameCommand: () => DeleteDomainNameCommand,
59
62
  DeleteGatewayResponseCommand: () => DeleteGatewayResponseCommand,
60
63
  DeleteIntegrationCommand: () => DeleteIntegrationCommand,
@@ -91,6 +94,7 @@ __export(src_exports, {
91
94
  GetDocumentationPartsCommand: () => GetDocumentationPartsCommand,
92
95
  GetDocumentationVersionCommand: () => GetDocumentationVersionCommand,
93
96
  GetDocumentationVersionsCommand: () => GetDocumentationVersionsCommand,
97
+ GetDomainNameAccessAssociationsCommand: () => GetDomainNameAccessAssociationsCommand,
94
98
  GetDomainNameCommand: () => GetDomainNameCommand,
95
99
  GetDomainNamesCommand: () => GetDomainNamesCommand,
96
100
  GetExportCommand: () => GetExportCommand,
@@ -138,6 +142,8 @@ __export(src_exports, {
138
142
  PutMode: () => PutMode,
139
143
  PutRestApiCommand: () => PutRestApiCommand,
140
144
  QuotaPeriodType: () => QuotaPeriodType,
145
+ RejectDomainNameAccessAssociationCommand: () => RejectDomainNameAccessAssociationCommand,
146
+ ResourceOwner: () => ResourceOwner,
141
147
  SecurityPolicy: () => SecurityPolicy,
142
148
  ServiceUnavailableException: () => ServiceUnavailableException,
143
149
  TagResourceCommand: () => TagResourceCommand,
@@ -353,6 +359,9 @@ __name(_APIGatewayServiceException, "APIGatewayServiceException");
353
359
  var APIGatewayServiceException = _APIGatewayServiceException;
354
360
 
355
361
  // src/models/models_0.ts
362
+ var AccessAssociationSourceType = {
363
+ VPCE: "VPCE"
364
+ };
356
365
  var ApiKeysFormat = {
357
366
  csv: "csv"
358
367
  };
@@ -592,6 +601,10 @@ var LocationStatusType = {
592
601
  DOCUMENTED: "DOCUMENTED",
593
602
  UNDOCUMENTED: "UNDOCUMENTED"
594
603
  };
604
+ var ResourceOwner = {
605
+ OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
606
+ SELF: "SELF"
607
+ };
595
608
  var PutMode = {
596
609
  Merge: "merge",
597
610
  Overwrite: "overwrite"
@@ -659,6 +672,9 @@ var se_CreateBasePathMappingCommand = /* @__PURE__ */ __name(async (input, conte
659
672
  };
660
673
  b.bp("/domainnames/{domainName}/basepathmappings");
661
674
  b.p("domainName", () => input.domainName, "{domainName}", false);
675
+ const query = (0, import_smithy_client.map)({
676
+ [_dNI]: [, input[_dNI]]
677
+ });
662
678
  let body;
663
679
  body = JSON.stringify(
664
680
  (0, import_smithy_client.take)(input, {
@@ -667,7 +683,7 @@ var se_CreateBasePathMappingCommand = /* @__PURE__ */ __name(async (input, conte
667
683
  stage: []
668
684
  })
669
685
  );
670
- b.m("POST").h(headers).b(body);
686
+ b.m("POST").h(headers).q(query).b(body);
671
687
  return b.build();
672
688
  }, "se_CreateBasePathMappingCommand");
673
689
  var se_CreateDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -746,6 +762,7 @@ var se_CreateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
746
762
  endpointConfiguration: (_) => (0, import_smithy_client._json)(_),
747
763
  mutualTlsAuthentication: (_) => (0, import_smithy_client._json)(_),
748
764
  ownershipVerificationCertificateArn: [],
765
+ policy: [],
749
766
  regionalCertificateArn: [],
750
767
  regionalCertificateName: [],
751
768
  securityPolicy: [],
@@ -755,6 +772,24 @@ var se_CreateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
755
772
  b.m("POST").h(headers).b(body);
756
773
  return b.build();
757
774
  }, "se_CreateDomainNameCommand");
775
+ var se_CreateDomainNameAccessAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
776
+ const b = (0, import_core.requestBuilder)(input, context);
777
+ const headers = {
778
+ "content-type": "application/json"
779
+ };
780
+ b.bp("/domainnameaccessassociations");
781
+ let body;
782
+ body = JSON.stringify(
783
+ (0, import_smithy_client.take)(input, {
784
+ accessAssociationSource: [],
785
+ accessAssociationSourceType: [],
786
+ domainNameArn: [],
787
+ tags: (_) => (0, import_smithy_client._json)(_)
788
+ })
789
+ );
790
+ b.m("POST").h(headers).b(body);
791
+ return b.build();
792
+ }, "se_CreateDomainNameAccessAssociationCommand");
758
793
  var se_CreateModelCommand = /* @__PURE__ */ __name(async (input, context) => {
759
794
  const b = (0, import_core.requestBuilder)(input, context);
760
795
  const headers = {
@@ -939,8 +974,11 @@ var se_DeleteBasePathMappingCommand = /* @__PURE__ */ __name(async (input, conte
939
974
  b.bp("/domainnames/{domainName}/basepathmappings/{basePath}");
940
975
  b.p("domainName", () => input.domainName, "{domainName}", false);
941
976
  b.p("basePath", () => input.basePath, "{basePath}", false);
977
+ const query = (0, import_smithy_client.map)({
978
+ [_dNI]: [, input[_dNI]]
979
+ });
942
980
  let body;
943
- b.m("DELETE").h(headers).b(body);
981
+ b.m("DELETE").h(headers).q(query).b(body);
944
982
  return b.build();
945
983
  }, "se_DeleteBasePathMappingCommand");
946
984
  var se_DeleteClientCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -987,10 +1025,27 @@ var se_DeleteDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
987
1025
  const headers = {};
988
1026
  b.bp("/domainnames/{domainName}");
989
1027
  b.p("domainName", () => input.domainName, "{domainName}", false);
1028
+ const query = (0, import_smithy_client.map)({
1029
+ [_dNI]: [, input[_dNI]]
1030
+ });
990
1031
  let body;
991
- b.m("DELETE").h(headers).b(body);
1032
+ b.m("DELETE").h(headers).q(query).b(body);
992
1033
  return b.build();
993
1034
  }, "se_DeleteDomainNameCommand");
1035
+ var se_DeleteDomainNameAccessAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
1036
+ const b = (0, import_core.requestBuilder)(input, context);
1037
+ const headers = {};
1038
+ b.bp("/domainnameaccessassociations/{domainNameAccessAssociationArn}");
1039
+ b.p(
1040
+ "domainNameAccessAssociationArn",
1041
+ () => input.domainNameAccessAssociationArn,
1042
+ "{domainNameAccessAssociationArn}",
1043
+ false
1044
+ );
1045
+ let body;
1046
+ b.m("DELETE").h(headers).b(body);
1047
+ return b.build();
1048
+ }, "se_DeleteDomainNameAccessAssociationCommand");
994
1049
  var se_DeleteGatewayResponseCommand = /* @__PURE__ */ __name(async (input, context) => {
995
1050
  const b = (0, import_core.requestBuilder)(input, context);
996
1051
  const headers = {};
@@ -1224,8 +1279,11 @@ var se_GetBasePathMappingCommand = /* @__PURE__ */ __name(async (input, context)
1224
1279
  b.bp("/domainnames/{domainName}/basepathmappings/{basePath}");
1225
1280
  b.p("domainName", () => input.domainName, "{domainName}", false);
1226
1281
  b.p("basePath", () => input.basePath, "{basePath}", false);
1282
+ const query = (0, import_smithy_client.map)({
1283
+ [_dNI]: [, input[_dNI]]
1284
+ });
1227
1285
  let body;
1228
- b.m("GET").h(headers).b(body);
1286
+ b.m("GET").h(headers).q(query).b(body);
1229
1287
  return b.build();
1230
1288
  }, "se_GetBasePathMappingCommand");
1231
1289
  var se_GetBasePathMappingsCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1234,6 +1292,7 @@ var se_GetBasePathMappingsCommand = /* @__PURE__ */ __name(async (input, context
1234
1292
  b.bp("/domainnames/{domainName}/basepathmappings");
1235
1293
  b.p("domainName", () => input.domainName, "{domainName}", false);
1236
1294
  const query = (0, import_smithy_client.map)({
1295
+ [_dNI]: [, input[_dNI]],
1237
1296
  [_p]: [, input[_p]],
1238
1297
  [_l]: [() => input.limit !== void 0, () => input[_l].toString()]
1239
1298
  });
@@ -1343,17 +1402,34 @@ var se_GetDomainNameCommand = /* @__PURE__ */ __name(async (input, context) => {
1343
1402
  const headers = {};
1344
1403
  b.bp("/domainnames/{domainName}");
1345
1404
  b.p("domainName", () => input.domainName, "{domainName}", false);
1405
+ const query = (0, import_smithy_client.map)({
1406
+ [_dNI]: [, input[_dNI]]
1407
+ });
1346
1408
  let body;
1347
- b.m("GET").h(headers).b(body);
1409
+ b.m("GET").h(headers).q(query).b(body);
1348
1410
  return b.build();
1349
1411
  }, "se_GetDomainNameCommand");
1412
+ var se_GetDomainNameAccessAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
1413
+ const b = (0, import_core.requestBuilder)(input, context);
1414
+ const headers = {};
1415
+ b.bp("/domainnameaccessassociations");
1416
+ const query = (0, import_smithy_client.map)({
1417
+ [_p]: [, input[_p]],
1418
+ [_l]: [() => input.limit !== void 0, () => input[_l].toString()],
1419
+ [_rO]: [, input[_rO]]
1420
+ });
1421
+ let body;
1422
+ b.m("GET").h(headers).q(query).b(body);
1423
+ return b.build();
1424
+ }, "se_GetDomainNameAccessAssociationsCommand");
1350
1425
  var se_GetDomainNamesCommand = /* @__PURE__ */ __name(async (input, context) => {
1351
1426
  const b = (0, import_core.requestBuilder)(input, context);
1352
1427
  const headers = {};
1353
1428
  b.bp("/domainnames");
1354
1429
  const query = (0, import_smithy_client.map)({
1355
1430
  [_p]: [, input[_p]],
1356
- [_l]: [() => input.limit !== void 0, () => input[_l].toString()]
1431
+ [_l]: [() => input.limit !== void 0, () => input[_l].toString()],
1432
+ [_rO]: [, input[_rO]]
1357
1433
  });
1358
1434
  let body;
1359
1435
  b.m("GET").h(headers).q(query).b(body);
@@ -1894,6 +1970,18 @@ var se_PutRestApiCommand = /* @__PURE__ */ __name(async (input, context) => {
1894
1970
  b.m("PUT").h(headers).q(query).b(body);
1895
1971
  return b.build();
1896
1972
  }, "se_PutRestApiCommand");
1973
+ var se_RejectDomainNameAccessAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
1974
+ const b = (0, import_core.requestBuilder)(input, context);
1975
+ const headers = {};
1976
+ b.bp("/rejectdomainnameaccessassociations");
1977
+ const query = (0, import_smithy_client.map)({
1978
+ [_dNAAA]: [, (0, import_smithy_client.expectNonNull)(input[_dNAAA], `domainNameAccessAssociationArn`)],
1979
+ [_dNA]: [, (0, import_smithy_client.expectNonNull)(input[_dNA], `domainNameArn`)]
1980
+ });
1981
+ let body;
1982
+ b.m("POST").h(headers).q(query).b(body);
1983
+ return b.build();
1984
+ }, "se_RejectDomainNameAccessAssociationCommand");
1897
1985
  var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1898
1986
  const b = (0, import_core.requestBuilder)(input, context);
1899
1987
  const headers = {
@@ -2023,13 +2111,16 @@ var se_UpdateBasePathMappingCommand = /* @__PURE__ */ __name(async (input, conte
2023
2111
  b.bp("/domainnames/{domainName}/basepathmappings/{basePath}");
2024
2112
  b.p("domainName", () => input.domainName, "{domainName}", false);
2025
2113
  b.p("basePath", () => input.basePath, "{basePath}", false);
2114
+ const query = (0, import_smithy_client.map)({
2115
+ [_dNI]: [, input[_dNI]]
2116
+ });
2026
2117
  let body;
2027
2118
  body = JSON.stringify(
2028
2119
  (0, import_smithy_client.take)(input, {
2029
2120
  patchOperations: (_) => (0, import_smithy_client._json)(_)
2030
2121
  })
2031
2122
  );
2032
- b.m("PATCH").h(headers).b(body);
2123
+ b.m("PATCH").h(headers).q(query).b(body);
2033
2124
  return b.build();
2034
2125
  }, "se_UpdateBasePathMappingCommand");
2035
2126
  var se_UpdateClientCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -2106,13 +2197,16 @@ var se_UpdateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
2106
2197
  };
2107
2198
  b.bp("/domainnames/{domainName}");
2108
2199
  b.p("domainName", () => input.domainName, "{domainName}", false);
2200
+ const query = (0, import_smithy_client.map)({
2201
+ [_dNI]: [, input[_dNI]]
2202
+ });
2109
2203
  let body;
2110
2204
  body = JSON.stringify(
2111
2205
  (0, import_smithy_client.take)(input, {
2112
2206
  patchOperations: (_) => (0, import_smithy_client._json)(_)
2113
2207
  })
2114
2208
  );
2115
- b.m("PATCH").h(headers).b(body);
2209
+ b.m("PATCH").h(headers).q(query).b(body);
2116
2210
  return b.build();
2117
2211
  }, "se_UpdateDomainNameCommand");
2118
2212
  var se_UpdateGatewayResponseCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -2465,11 +2559,15 @@ var de_CreateDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
2465
2559
  distributionDomainName: import_smithy_client.expectString,
2466
2560
  distributionHostedZoneId: import_smithy_client.expectString,
2467
2561
  domainName: import_smithy_client.expectString,
2562
+ domainNameArn: import_smithy_client.expectString,
2563
+ domainNameId: import_smithy_client.expectString,
2468
2564
  domainNameStatus: import_smithy_client.expectString,
2469
2565
  domainNameStatusMessage: import_smithy_client.expectString,
2470
2566
  endpointConfiguration: import_smithy_client._json,
2567
+ managementPolicy: import_smithy_client.expectString,
2471
2568
  mutualTlsAuthentication: import_smithy_client._json,
2472
2569
  ownershipVerificationCertificateArn: import_smithy_client.expectString,
2570
+ policy: import_smithy_client.expectString,
2473
2571
  regionalCertificateArn: import_smithy_client.expectString,
2474
2572
  regionalCertificateName: import_smithy_client.expectString,
2475
2573
  regionalDomainName: import_smithy_client.expectString,
@@ -2480,6 +2578,24 @@ var de_CreateDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
2480
2578
  Object.assign(contents, doc);
2481
2579
  return contents;
2482
2580
  }, "de_CreateDomainNameCommand");
2581
+ var de_CreateDomainNameAccessAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
2582
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2583
+ return de_CommandError(output, context);
2584
+ }
2585
+ const contents = (0, import_smithy_client.map)({
2586
+ $metadata: deserializeMetadata(output)
2587
+ });
2588
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2589
+ const doc = (0, import_smithy_client.take)(data, {
2590
+ accessAssociationSource: import_smithy_client.expectString,
2591
+ accessAssociationSourceType: import_smithy_client.expectString,
2592
+ domainNameAccessAssociationArn: import_smithy_client.expectString,
2593
+ domainNameArn: import_smithy_client.expectString,
2594
+ tags: import_smithy_client._json
2595
+ });
2596
+ Object.assign(contents, doc);
2597
+ return contents;
2598
+ }, "de_CreateDomainNameAccessAssociationCommand");
2483
2599
  var de_CreateModelCommand = /* @__PURE__ */ __name(async (output, context) => {
2484
2600
  if (output.statusCode !== 201 && output.statusCode >= 300) {
2485
2601
  return de_CommandError(output, context);
@@ -2728,6 +2844,16 @@ var de_DeleteDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
2728
2844
  await (0, import_smithy_client.collectBody)(output.body, context);
2729
2845
  return contents;
2730
2846
  }, "de_DeleteDomainNameCommand");
2847
+ var de_DeleteDomainNameAccessAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
2848
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2849
+ return de_CommandError(output, context);
2850
+ }
2851
+ const contents = (0, import_smithy_client.map)({
2852
+ $metadata: deserializeMetadata(output)
2853
+ });
2854
+ await (0, import_smithy_client.collectBody)(output.body, context);
2855
+ return contents;
2856
+ }, "de_DeleteDomainNameAccessAssociationCommand");
2731
2857
  var de_DeleteGatewayResponseCommand = /* @__PURE__ */ __name(async (output, context) => {
2732
2858
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2733
2859
  return de_CommandError(output, context);
@@ -3165,11 +3291,15 @@ var de_GetDomainNameCommand = /* @__PURE__ */ __name(async (output, context) =>
3165
3291
  distributionDomainName: import_smithy_client.expectString,
3166
3292
  distributionHostedZoneId: import_smithy_client.expectString,
3167
3293
  domainName: import_smithy_client.expectString,
3294
+ domainNameArn: import_smithy_client.expectString,
3295
+ domainNameId: import_smithy_client.expectString,
3168
3296
  domainNameStatus: import_smithy_client.expectString,
3169
3297
  domainNameStatusMessage: import_smithy_client.expectString,
3170
3298
  endpointConfiguration: import_smithy_client._json,
3299
+ managementPolicy: import_smithy_client.expectString,
3171
3300
  mutualTlsAuthentication: import_smithy_client._json,
3172
3301
  ownershipVerificationCertificateArn: import_smithy_client.expectString,
3302
+ policy: import_smithy_client.expectString,
3173
3303
  regionalCertificateArn: import_smithy_client.expectString,
3174
3304
  regionalCertificateName: import_smithy_client.expectString,
3175
3305
  regionalDomainName: import_smithy_client.expectString,
@@ -3180,6 +3310,21 @@ var de_GetDomainNameCommand = /* @__PURE__ */ __name(async (output, context) =>
3180
3310
  Object.assign(contents, doc);
3181
3311
  return contents;
3182
3312
  }, "de_GetDomainNameCommand");
3313
+ var de_GetDomainNameAccessAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
3314
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3315
+ return de_CommandError(output, context);
3316
+ }
3317
+ const contents = (0, import_smithy_client.map)({
3318
+ $metadata: deserializeMetadata(output)
3319
+ });
3320
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3321
+ const doc = (0, import_smithy_client.take)(data, {
3322
+ items: [, import_smithy_client._json, `item`],
3323
+ position: import_smithy_client.expectString
3324
+ });
3325
+ Object.assign(contents, doc);
3326
+ return contents;
3327
+ }, "de_GetDomainNameAccessAssociationsCommand");
3183
3328
  var de_GetDomainNamesCommand = /* @__PURE__ */ __name(async (output, context) => {
3184
3329
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3185
3330
  return de_CommandError(output, context);
@@ -3892,6 +4037,16 @@ var de_PutRestApiCommand = /* @__PURE__ */ __name(async (output, context) => {
3892
4037
  Object.assign(contents, doc);
3893
4038
  return contents;
3894
4039
  }, "de_PutRestApiCommand");
4040
+ var de_RejectDomainNameAccessAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
4041
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
4042
+ return de_CommandError(output, context);
4043
+ }
4044
+ const contents = (0, import_smithy_client.map)({
4045
+ $metadata: deserializeMetadata(output)
4046
+ });
4047
+ await (0, import_smithy_client.collectBody)(output.body, context);
4048
+ return contents;
4049
+ }, "de_RejectDomainNameAccessAssociationCommand");
3895
4050
  var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
3896
4051
  if (output.statusCode !== 204 && output.statusCode >= 300) {
3897
4052
  return de_CommandError(output, context);
@@ -4113,11 +4268,15 @@ var de_UpdateDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
4113
4268
  distributionDomainName: import_smithy_client.expectString,
4114
4269
  distributionHostedZoneId: import_smithy_client.expectString,
4115
4270
  domainName: import_smithy_client.expectString,
4271
+ domainNameArn: import_smithy_client.expectString,
4272
+ domainNameId: import_smithy_client.expectString,
4116
4273
  domainNameStatus: import_smithy_client.expectString,
4117
4274
  domainNameStatusMessage: import_smithy_client.expectString,
4118
4275
  endpointConfiguration: import_smithy_client._json,
4276
+ managementPolicy: import_smithy_client.expectString,
4119
4277
  mutualTlsAuthentication: import_smithy_client._json,
4120
4278
  ownershipVerificationCertificateArn: import_smithy_client.expectString,
4279
+ policy: import_smithy_client.expectString,
4121
4280
  regionalCertificateArn: import_smithy_client.expectString,
4122
4281
  regionalCertificateName: import_smithy_client.expectString,
4123
4282
  regionalDomainName: import_smithy_client.expectString,
@@ -4640,11 +4799,15 @@ var de_DomainName = /* @__PURE__ */ __name((output, context) => {
4640
4799
  distributionDomainName: import_smithy_client.expectString,
4641
4800
  distributionHostedZoneId: import_smithy_client.expectString,
4642
4801
  domainName: import_smithy_client.expectString,
4802
+ domainNameArn: import_smithy_client.expectString,
4803
+ domainNameId: import_smithy_client.expectString,
4643
4804
  domainNameStatus: import_smithy_client.expectString,
4644
4805
  domainNameStatusMessage: import_smithy_client.expectString,
4645
4806
  endpointConfiguration: import_smithy_client._json,
4807
+ managementPolicy: import_smithy_client.expectString,
4646
4808
  mutualTlsAuthentication: import_smithy_client._json,
4647
4809
  ownershipVerificationCertificateArn: import_smithy_client.expectString,
4810
+ policy: import_smithy_client.expectString,
4648
4811
  regionalCertificateArn: import_smithy_client.expectString,
4649
4812
  regionalCertificateName: import_smithy_client.expectString,
4650
4813
  regionalDomainName: import_smithy_client.expectString,
@@ -4810,6 +4973,9 @@ var _cT = "contentType";
4810
4973
  var _cd = "content-disposition";
4811
4974
  var _ct = "content-type";
4812
4975
  var _dI = "deploymentId";
4976
+ var _dNA = "domainNameArn";
4977
+ var _dNAAA = "domainNameAccessAssociationArn";
4978
+ var _dNI = "domainNameId";
4813
4979
  var _e = "embed";
4814
4980
  var _eD = "endDate";
4815
4981
  var _f = "flatten";
@@ -4827,6 +4993,7 @@ var _nQ = "nameQuery";
4827
4993
  var _p = "position";
4828
4994
  var _pa = "path";
4829
4995
  var _rAS = "retryAfterSeconds";
4996
+ var _rO = "resourceOwner";
4830
4997
  var _ra = "retry-after";
4831
4998
  var _sD = "startDate";
4832
4999
  var _t = "type";
@@ -4913,6 +5080,20 @@ var _CreateDocumentationVersionCommand = class _CreateDocumentationVersionComman
4913
5080
  __name(_CreateDocumentationVersionCommand, "CreateDocumentationVersionCommand");
4914
5081
  var CreateDocumentationVersionCommand = _CreateDocumentationVersionCommand;
4915
5082
 
5083
+ // src/commands/CreateDomainNameAccessAssociationCommand.ts
5084
+
5085
+
5086
+
5087
+ var _CreateDomainNameAccessAssociationCommand = class _CreateDomainNameAccessAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5088
+ return [
5089
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5090
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5091
+ ];
5092
+ }).s("BackplaneControlService", "CreateDomainNameAccessAssociation", {}).n("APIGatewayClient", "CreateDomainNameAccessAssociationCommand").f(void 0, void 0).ser(se_CreateDomainNameAccessAssociationCommand).de(de_CreateDomainNameAccessAssociationCommand).build() {
5093
+ };
5094
+ __name(_CreateDomainNameAccessAssociationCommand, "CreateDomainNameAccessAssociationCommand");
5095
+ var CreateDomainNameAccessAssociationCommand = _CreateDomainNameAccessAssociationCommand;
5096
+
4916
5097
  // src/commands/CreateDomainNameCommand.ts
4917
5098
 
4918
5099
 
@@ -5137,6 +5318,20 @@ var _DeleteDocumentationVersionCommand = class _DeleteDocumentationVersionComman
5137
5318
  __name(_DeleteDocumentationVersionCommand, "DeleteDocumentationVersionCommand");
5138
5319
  var DeleteDocumentationVersionCommand = _DeleteDocumentationVersionCommand;
5139
5320
 
5321
+ // src/commands/DeleteDomainNameAccessAssociationCommand.ts
5322
+
5323
+
5324
+
5325
+ var _DeleteDomainNameAccessAssociationCommand = class _DeleteDomainNameAccessAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5326
+ return [
5327
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5328
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5329
+ ];
5330
+ }).s("BackplaneControlService", "DeleteDomainNameAccessAssociation", {}).n("APIGatewayClient", "DeleteDomainNameAccessAssociationCommand").f(void 0, void 0).ser(se_DeleteDomainNameAccessAssociationCommand).de(de_DeleteDomainNameAccessAssociationCommand).build() {
5331
+ };
5332
+ __name(_DeleteDomainNameAccessAssociationCommand, "DeleteDomainNameAccessAssociationCommand");
5333
+ var DeleteDomainNameAccessAssociationCommand = _DeleteDomainNameAccessAssociationCommand;
5334
+
5140
5335
  // src/commands/DeleteDomainNameCommand.ts
5141
5336
 
5142
5337
 
@@ -5585,6 +5780,20 @@ var _GetDocumentationVersionsCommand = class _GetDocumentationVersionsCommand ex
5585
5780
  __name(_GetDocumentationVersionsCommand, "GetDocumentationVersionsCommand");
5586
5781
  var GetDocumentationVersionsCommand = _GetDocumentationVersionsCommand;
5587
5782
 
5783
+ // src/commands/GetDomainNameAccessAssociationsCommand.ts
5784
+
5785
+
5786
+
5787
+ var _GetDomainNameAccessAssociationsCommand = class _GetDomainNameAccessAssociationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5788
+ return [
5789
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5790
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5791
+ ];
5792
+ }).s("BackplaneControlService", "GetDomainNameAccessAssociations", {}).n("APIGatewayClient", "GetDomainNameAccessAssociationsCommand").f(void 0, void 0).ser(se_GetDomainNameAccessAssociationsCommand).de(de_GetDomainNameAccessAssociationsCommand).build() {
5793
+ };
5794
+ __name(_GetDomainNameAccessAssociationsCommand, "GetDomainNameAccessAssociationsCommand");
5795
+ var GetDomainNameAccessAssociationsCommand = _GetDomainNameAccessAssociationsCommand;
5796
+
5588
5797
  // src/commands/GetDomainNameCommand.ts
5589
5798
 
5590
5799
 
@@ -6145,6 +6354,20 @@ var _PutRestApiCommand = class _PutRestApiCommand extends import_smithy_client.C
6145
6354
  __name(_PutRestApiCommand, "PutRestApiCommand");
6146
6355
  var PutRestApiCommand = _PutRestApiCommand;
6147
6356
 
6357
+ // src/commands/RejectDomainNameAccessAssociationCommand.ts
6358
+
6359
+
6360
+
6361
+ var _RejectDomainNameAccessAssociationCommand = class _RejectDomainNameAccessAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6362
+ return [
6363
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6364
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6365
+ ];
6366
+ }).s("BackplaneControlService", "RejectDomainNameAccessAssociation", {}).n("APIGatewayClient", "RejectDomainNameAccessAssociationCommand").f(void 0, void 0).ser(se_RejectDomainNameAccessAssociationCommand).de(de_RejectDomainNameAccessAssociationCommand).build() {
6367
+ };
6368
+ __name(_RejectDomainNameAccessAssociationCommand, "RejectDomainNameAccessAssociationCommand");
6369
+ var RejectDomainNameAccessAssociationCommand = _RejectDomainNameAccessAssociationCommand;
6370
+
6148
6371
  // src/commands/TagResourceCommand.ts
6149
6372
 
6150
6373
 
@@ -6518,6 +6741,7 @@ var commands = {
6518
6741
  CreateDocumentationPartCommand,
6519
6742
  CreateDocumentationVersionCommand,
6520
6743
  CreateDomainNameCommand,
6744
+ CreateDomainNameAccessAssociationCommand,
6521
6745
  CreateModelCommand,
6522
6746
  CreateRequestValidatorCommand,
6523
6747
  CreateResourceCommand,
@@ -6534,6 +6758,7 @@ var commands = {
6534
6758
  DeleteDocumentationPartCommand,
6535
6759
  DeleteDocumentationVersionCommand,
6536
6760
  DeleteDomainNameCommand,
6761
+ DeleteDomainNameAccessAssociationCommand,
6537
6762
  DeleteGatewayResponseCommand,
6538
6763
  DeleteIntegrationCommand,
6539
6764
  DeleteIntegrationResponseCommand,
@@ -6566,6 +6791,7 @@ var commands = {
6566
6791
  GetDocumentationVersionCommand,
6567
6792
  GetDocumentationVersionsCommand,
6568
6793
  GetDomainNameCommand,
6794
+ GetDomainNameAccessAssociationsCommand,
6569
6795
  GetDomainNamesCommand,
6570
6796
  GetExportCommand,
6571
6797
  GetGatewayResponseCommand,
@@ -6605,6 +6831,7 @@ var commands = {
6605
6831
  PutMethodCommand,
6606
6832
  PutMethodResponseCommand,
6607
6833
  PutRestApiCommand,
6834
+ RejectDomainNameAccessAssociationCommand,
6608
6835
  TagResourceCommand,
6609
6836
  TestInvokeAuthorizerCommand,
6610
6837
  TestInvokeMethodCommand,
@@ -6699,6 +6926,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
6699
6926
  CreateDeploymentCommand,
6700
6927
  CreateDocumentationPartCommand,
6701
6928
  CreateDocumentationVersionCommand,
6929
+ CreateDomainNameAccessAssociationCommand,
6702
6930
  CreateDomainNameCommand,
6703
6931
  CreateModelCommand,
6704
6932
  CreateRequestValidatorCommand,
@@ -6715,6 +6943,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
6715
6943
  DeleteDeploymentCommand,
6716
6944
  DeleteDocumentationPartCommand,
6717
6945
  DeleteDocumentationVersionCommand,
6946
+ DeleteDomainNameAccessAssociationCommand,
6718
6947
  DeleteDomainNameCommand,
6719
6948
  DeleteGatewayResponseCommand,
6720
6949
  DeleteIntegrationCommand,
@@ -6747,6 +6976,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
6747
6976
  GetDocumentationPartsCommand,
6748
6977
  GetDocumentationVersionCommand,
6749
6978
  GetDocumentationVersionsCommand,
6979
+ GetDomainNameAccessAssociationsCommand,
6750
6980
  GetDomainNameCommand,
6751
6981
  GetDomainNamesCommand,
6752
6982
  GetExportCommand,
@@ -6787,6 +7017,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
6787
7017
  PutMethodCommand,
6788
7018
  PutMethodResponseCommand,
6789
7019
  PutRestApiCommand,
7020
+ RejectDomainNameAccessAssociationCommand,
6790
7021
  TagResourceCommand,
6791
7022
  TestInvokeAuthorizerCommand,
6792
7023
  TestInvokeMethodCommand,
@@ -6825,6 +7056,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
6825
7056
  paginateGetUsagePlanKeys,
6826
7057
  paginateGetUsagePlans,
6827
7058
  paginateGetVpcLinks,
7059
+ AccessAssociationSourceType,
6828
7060
  ApiKeysFormat,
6829
7061
  ApiKeySourceType,
6830
7062
  AuthorizerType,
@@ -6849,6 +7081,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
6849
7081
  VpcLinkStatus,
6850
7082
  GatewayResponseType,
6851
7083
  LocationStatusType,
7084
+ ResourceOwner,
6852
7085
  PutMode,
6853
7086
  Op
6854
7087
  });