@aws-sdk/client-route53resolver 3.370.0 → 3.374.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 (58) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Route53Resolver.js +10 -0
  3. package/dist-cjs/commands/CreateOutpostResolverCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteOutpostResolverCommand.js +46 -0
  5. package/dist-cjs/commands/GetOutpostResolverCommand.js +46 -0
  6. package/dist-cjs/commands/ListOutpostResolversCommand.js +46 -0
  7. package/dist-cjs/commands/UpdateOutpostResolverCommand.js +46 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +25 -1
  11. package/dist-cjs/pagination/ListOutpostResolversPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +284 -3
  14. package/dist-es/Route53Resolver.js +10 -0
  15. package/dist-es/commands/CreateOutpostResolverCommand.js +42 -0
  16. package/dist-es/commands/DeleteOutpostResolverCommand.js +42 -0
  17. package/dist-es/commands/GetOutpostResolverCommand.js +42 -0
  18. package/dist-es/commands/ListOutpostResolversCommand.js +42 -0
  19. package/dist-es/commands/UpdateOutpostResolverCommand.js +42 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/endpoint/ruleset.js +3 -3
  22. package/dist-es/models/models_0.js +23 -0
  23. package/dist-es/pagination/ListOutpostResolversPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_json1_1.js +272 -1
  26. package/dist-types/Route53Resolver.d.ts +35 -0
  27. package/dist-types/Route53ResolverClient.d.ts +7 -2
  28. package/dist-types/commands/AssociateResolverEndpointIpAddressCommand.d.ts +2 -0
  29. package/dist-types/commands/CreateOutpostResolverCommand.d.ts +114 -0
  30. package/dist-types/commands/CreateResolverEndpointCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteOutpostResolverCommand.d.ts +106 -0
  32. package/dist-types/commands/DeleteResolverEndpointCommand.d.ts +2 -0
  33. package/dist-types/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +2 -0
  34. package/dist-types/commands/GetOutpostResolverCommand.d.ts +102 -0
  35. package/dist-types/commands/GetResolverEndpointCommand.d.ts +2 -0
  36. package/dist-types/commands/ListOutpostResolversCommand.d.ts +106 -0
  37. package/dist-types/commands/ListResolverEndpointIpAddressesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListResolverEndpointsCommand.d.ts +2 -0
  39. package/dist-types/commands/UpdateOutpostResolverCommand.d.ts +112 -0
  40. package/dist-types/commands/UpdateResolverEndpointCommand.d.ts +2 -0
  41. package/dist-types/commands/index.d.ts +5 -0
  42. package/dist-types/models/models_0.d.ts +263 -9
  43. package/dist-types/pagination/ListOutpostResolversPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  46. package/dist-types/ts3.4/Route53Resolver.d.ts +85 -0
  47. package/dist-types/ts3.4/Route53ResolverClient.d.ts +30 -0
  48. package/dist-types/ts3.4/commands/CreateOutpostResolverCommand.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/DeleteOutpostResolverCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/GetOutpostResolverCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/ListOutpostResolversCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/UpdateOutpostResolverCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +78 -0
  55. package/dist-types/ts3.4/pagination/ListOutpostResolversPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  57. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  58. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_ListTagsForResourceCommand = exports.se_ListResolverRulesCommand = exports.se_ListResolverRuleAssociationsCommand = exports.se_ListResolverQueryLogConfigsCommand = exports.se_ListResolverQueryLogConfigAssociationsCommand = exports.se_ListResolverEndpointsCommand = exports.se_ListResolverEndpointIpAddressesCommand = exports.se_ListResolverDnssecConfigsCommand = exports.se_ListResolverConfigsCommand = exports.se_ListFirewallRulesCommand = exports.se_ListFirewallRuleGroupsCommand = exports.se_ListFirewallRuleGroupAssociationsCommand = exports.se_ListFirewallDomainsCommand = exports.se_ListFirewallDomainListsCommand = exports.se_ListFirewallConfigsCommand = exports.se_ImportFirewallDomainsCommand = exports.se_GetResolverRulePolicyCommand = exports.se_GetResolverRuleAssociationCommand = exports.se_GetResolverRuleCommand = exports.se_GetResolverQueryLogConfigPolicyCommand = exports.se_GetResolverQueryLogConfigAssociationCommand = exports.se_GetResolverQueryLogConfigCommand = exports.se_GetResolverEndpointCommand = exports.se_GetResolverDnssecConfigCommand = exports.se_GetResolverConfigCommand = exports.se_GetFirewallRuleGroupPolicyCommand = exports.se_GetFirewallRuleGroupAssociationCommand = exports.se_GetFirewallRuleGroupCommand = exports.se_GetFirewallDomainListCommand = exports.se_GetFirewallConfigCommand = exports.se_DisassociateResolverRuleCommand = exports.se_DisassociateResolverQueryLogConfigCommand = exports.se_DisassociateResolverEndpointIpAddressCommand = exports.se_DisassociateFirewallRuleGroupCommand = exports.se_DeleteResolverRuleCommand = exports.se_DeleteResolverQueryLogConfigCommand = exports.se_DeleteResolverEndpointCommand = exports.se_DeleteFirewallRuleGroupCommand = exports.se_DeleteFirewallRuleCommand = exports.se_DeleteFirewallDomainListCommand = exports.se_CreateResolverRuleCommand = exports.se_CreateResolverQueryLogConfigCommand = exports.se_CreateResolverEndpointCommand = exports.se_CreateFirewallRuleGroupCommand = exports.se_CreateFirewallRuleCommand = exports.se_CreateFirewallDomainListCommand = exports.se_AssociateResolverRuleCommand = exports.se_AssociateResolverQueryLogConfigCommand = exports.se_AssociateResolverEndpointIpAddressCommand = exports.se_AssociateFirewallRuleGroupCommand = void 0;
4
- exports.de_ListFirewallDomainListsCommand = exports.de_ListFirewallConfigsCommand = exports.de_ImportFirewallDomainsCommand = exports.de_GetResolverRulePolicyCommand = exports.de_GetResolverRuleAssociationCommand = exports.de_GetResolverRuleCommand = exports.de_GetResolverQueryLogConfigPolicyCommand = exports.de_GetResolverQueryLogConfigAssociationCommand = exports.de_GetResolverQueryLogConfigCommand = exports.de_GetResolverEndpointCommand = exports.de_GetResolverDnssecConfigCommand = exports.de_GetResolverConfigCommand = exports.de_GetFirewallRuleGroupPolicyCommand = exports.de_GetFirewallRuleGroupAssociationCommand = exports.de_GetFirewallRuleGroupCommand = exports.de_GetFirewallDomainListCommand = exports.de_GetFirewallConfigCommand = exports.de_DisassociateResolverRuleCommand = exports.de_DisassociateResolverQueryLogConfigCommand = exports.de_DisassociateResolverEndpointIpAddressCommand = exports.de_DisassociateFirewallRuleGroupCommand = exports.de_DeleteResolverRuleCommand = exports.de_DeleteResolverQueryLogConfigCommand = exports.de_DeleteResolverEndpointCommand = exports.de_DeleteFirewallRuleGroupCommand = exports.de_DeleteFirewallRuleCommand = exports.de_DeleteFirewallDomainListCommand = exports.de_CreateResolverRuleCommand = exports.de_CreateResolverQueryLogConfigCommand = exports.de_CreateResolverEndpointCommand = exports.de_CreateFirewallRuleGroupCommand = exports.de_CreateFirewallRuleCommand = exports.de_CreateFirewallDomainListCommand = exports.de_AssociateResolverRuleCommand = exports.de_AssociateResolverQueryLogConfigCommand = exports.de_AssociateResolverEndpointIpAddressCommand = exports.de_AssociateFirewallRuleGroupCommand = exports.se_UpdateResolverRuleCommand = exports.se_UpdateResolverEndpointCommand = exports.se_UpdateResolverDnssecConfigCommand = exports.se_UpdateResolverConfigCommand = exports.se_UpdateFirewallRuleGroupAssociationCommand = exports.se_UpdateFirewallRuleCommand = exports.se_UpdateFirewallDomainsCommand = exports.se_UpdateFirewallConfigCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutResolverRulePolicyCommand = exports.se_PutResolverQueryLogConfigPolicyCommand = exports.se_PutFirewallRuleGroupPolicyCommand = void 0;
5
- exports.de_UpdateResolverRuleCommand = exports.de_UpdateResolverEndpointCommand = exports.de_UpdateResolverDnssecConfigCommand = exports.de_UpdateResolverConfigCommand = exports.de_UpdateFirewallRuleGroupAssociationCommand = exports.de_UpdateFirewallRuleCommand = exports.de_UpdateFirewallDomainsCommand = exports.de_UpdateFirewallConfigCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutResolverRulePolicyCommand = exports.de_PutResolverQueryLogConfigPolicyCommand = exports.de_PutFirewallRuleGroupPolicyCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResolverRulesCommand = exports.de_ListResolverRuleAssociationsCommand = exports.de_ListResolverQueryLogConfigsCommand = exports.de_ListResolverQueryLogConfigAssociationsCommand = exports.de_ListResolverEndpointsCommand = exports.de_ListResolverEndpointIpAddressesCommand = exports.de_ListResolverDnssecConfigsCommand = exports.de_ListResolverConfigsCommand = exports.de_ListFirewallRulesCommand = exports.de_ListFirewallRuleGroupsCommand = exports.de_ListFirewallRuleGroupAssociationsCommand = exports.de_ListFirewallDomainsCommand = void 0;
3
+ exports.se_ListResolverQueryLogConfigAssociationsCommand = exports.se_ListResolverEndpointsCommand = exports.se_ListResolverEndpointIpAddressesCommand = exports.se_ListResolverDnssecConfigsCommand = exports.se_ListResolverConfigsCommand = exports.se_ListOutpostResolversCommand = exports.se_ListFirewallRulesCommand = exports.se_ListFirewallRuleGroupsCommand = exports.se_ListFirewallRuleGroupAssociationsCommand = exports.se_ListFirewallDomainsCommand = exports.se_ListFirewallDomainListsCommand = exports.se_ListFirewallConfigsCommand = exports.se_ImportFirewallDomainsCommand = exports.se_GetResolverRulePolicyCommand = exports.se_GetResolverRuleAssociationCommand = exports.se_GetResolverRuleCommand = exports.se_GetResolverQueryLogConfigPolicyCommand = exports.se_GetResolverQueryLogConfigAssociationCommand = exports.se_GetResolverQueryLogConfigCommand = exports.se_GetResolverEndpointCommand = exports.se_GetResolverDnssecConfigCommand = exports.se_GetResolverConfigCommand = exports.se_GetOutpostResolverCommand = exports.se_GetFirewallRuleGroupPolicyCommand = exports.se_GetFirewallRuleGroupAssociationCommand = exports.se_GetFirewallRuleGroupCommand = exports.se_GetFirewallDomainListCommand = exports.se_GetFirewallConfigCommand = exports.se_DisassociateResolverRuleCommand = exports.se_DisassociateResolverQueryLogConfigCommand = exports.se_DisassociateResolverEndpointIpAddressCommand = exports.se_DisassociateFirewallRuleGroupCommand = exports.se_DeleteResolverRuleCommand = exports.se_DeleteResolverQueryLogConfigCommand = exports.se_DeleteResolverEndpointCommand = exports.se_DeleteOutpostResolverCommand = exports.se_DeleteFirewallRuleGroupCommand = exports.se_DeleteFirewallRuleCommand = exports.se_DeleteFirewallDomainListCommand = exports.se_CreateResolverRuleCommand = exports.se_CreateResolverQueryLogConfigCommand = exports.se_CreateResolverEndpointCommand = exports.se_CreateOutpostResolverCommand = exports.se_CreateFirewallRuleGroupCommand = exports.se_CreateFirewallRuleCommand = exports.se_CreateFirewallDomainListCommand = exports.se_AssociateResolverRuleCommand = exports.se_AssociateResolverQueryLogConfigCommand = exports.se_AssociateResolverEndpointIpAddressCommand = exports.se_AssociateFirewallRuleGroupCommand = void 0;
4
+ exports.de_GetResolverQueryLogConfigCommand = exports.de_GetResolverEndpointCommand = exports.de_GetResolverDnssecConfigCommand = exports.de_GetResolverConfigCommand = exports.de_GetOutpostResolverCommand = exports.de_GetFirewallRuleGroupPolicyCommand = exports.de_GetFirewallRuleGroupAssociationCommand = exports.de_GetFirewallRuleGroupCommand = exports.de_GetFirewallDomainListCommand = exports.de_GetFirewallConfigCommand = exports.de_DisassociateResolverRuleCommand = exports.de_DisassociateResolverQueryLogConfigCommand = exports.de_DisassociateResolverEndpointIpAddressCommand = exports.de_DisassociateFirewallRuleGroupCommand = exports.de_DeleteResolverRuleCommand = exports.de_DeleteResolverQueryLogConfigCommand = exports.de_DeleteResolverEndpointCommand = exports.de_DeleteOutpostResolverCommand = exports.de_DeleteFirewallRuleGroupCommand = exports.de_DeleteFirewallRuleCommand = exports.de_DeleteFirewallDomainListCommand = exports.de_CreateResolverRuleCommand = exports.de_CreateResolverQueryLogConfigCommand = exports.de_CreateResolverEndpointCommand = exports.de_CreateOutpostResolverCommand = exports.de_CreateFirewallRuleGroupCommand = exports.de_CreateFirewallRuleCommand = exports.de_CreateFirewallDomainListCommand = exports.de_AssociateResolverRuleCommand = exports.de_AssociateResolverQueryLogConfigCommand = exports.de_AssociateResolverEndpointIpAddressCommand = exports.de_AssociateFirewallRuleGroupCommand = exports.se_UpdateResolverRuleCommand = exports.se_UpdateResolverEndpointCommand = exports.se_UpdateResolverDnssecConfigCommand = exports.se_UpdateResolverConfigCommand = exports.se_UpdateOutpostResolverCommand = exports.se_UpdateFirewallRuleGroupAssociationCommand = exports.se_UpdateFirewallRuleCommand = exports.se_UpdateFirewallDomainsCommand = exports.se_UpdateFirewallConfigCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutResolverRulePolicyCommand = exports.se_PutResolverQueryLogConfigPolicyCommand = exports.se_PutFirewallRuleGroupPolicyCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResolverRulesCommand = exports.se_ListResolverRuleAssociationsCommand = exports.se_ListResolverQueryLogConfigsCommand = void 0;
5
+ exports.de_UpdateResolverRuleCommand = exports.de_UpdateResolverEndpointCommand = exports.de_UpdateResolverDnssecConfigCommand = exports.de_UpdateResolverConfigCommand = exports.de_UpdateOutpostResolverCommand = exports.de_UpdateFirewallRuleGroupAssociationCommand = exports.de_UpdateFirewallRuleCommand = exports.de_UpdateFirewallDomainsCommand = exports.de_UpdateFirewallConfigCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutResolverRulePolicyCommand = exports.de_PutResolverQueryLogConfigPolicyCommand = exports.de_PutFirewallRuleGroupPolicyCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResolverRulesCommand = exports.de_ListResolverRuleAssociationsCommand = exports.de_ListResolverQueryLogConfigsCommand = exports.de_ListResolverQueryLogConfigAssociationsCommand = exports.de_ListResolverEndpointsCommand = exports.de_ListResolverEndpointIpAddressesCommand = exports.de_ListResolverDnssecConfigsCommand = exports.de_ListResolverConfigsCommand = exports.de_ListOutpostResolversCommand = exports.de_ListFirewallRulesCommand = exports.de_ListFirewallRuleGroupsCommand = exports.de_ListFirewallRuleGroupAssociationsCommand = exports.de_ListFirewallDomainsCommand = exports.de_ListFirewallDomainListsCommand = exports.de_ListFirewallConfigsCommand = exports.de_ImportFirewallDomainsCommand = exports.de_GetResolverRulePolicyCommand = exports.de_GetResolverRuleAssociationCommand = exports.de_GetResolverRuleCommand = exports.de_GetResolverQueryLogConfigPolicyCommand = exports.de_GetResolverQueryLogConfigAssociationCommand = void 0;
6
6
  const protocol_http_1 = require("@smithy/protocol-http");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  const uuid_1 = require("uuid");
@@ -57,6 +57,13 @@ const se_CreateFirewallRuleGroupCommand = async (input, context) => {
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
59
  exports.se_CreateFirewallRuleGroupCommand = se_CreateFirewallRuleGroupCommand;
60
+ const se_CreateOutpostResolverCommand = async (input, context) => {
61
+ const headers = sharedHeaders("CreateOutpostResolver");
62
+ let body;
63
+ body = JSON.stringify((0, smithy_client_1._json)(input));
64
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
65
+ };
66
+ exports.se_CreateOutpostResolverCommand = se_CreateOutpostResolverCommand;
60
67
  const se_CreateResolverEndpointCommand = async (input, context) => {
61
68
  const headers = sharedHeaders("CreateResolverEndpoint");
62
69
  let body;
@@ -99,6 +106,13 @@ const se_DeleteFirewallRuleGroupCommand = async (input, context) => {
99
106
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
100
107
  };
101
108
  exports.se_DeleteFirewallRuleGroupCommand = se_DeleteFirewallRuleGroupCommand;
109
+ const se_DeleteOutpostResolverCommand = async (input, context) => {
110
+ const headers = sharedHeaders("DeleteOutpostResolver");
111
+ let body;
112
+ body = JSON.stringify((0, smithy_client_1._json)(input));
113
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
114
+ };
115
+ exports.se_DeleteOutpostResolverCommand = se_DeleteOutpostResolverCommand;
102
116
  const se_DeleteResolverEndpointCommand = async (input, context) => {
103
117
  const headers = sharedHeaders("DeleteResolverEndpoint");
104
118
  let body;
@@ -183,6 +197,13 @@ const se_GetFirewallRuleGroupPolicyCommand = async (input, context) => {
183
197
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
184
198
  };
185
199
  exports.se_GetFirewallRuleGroupPolicyCommand = se_GetFirewallRuleGroupPolicyCommand;
200
+ const se_GetOutpostResolverCommand = async (input, context) => {
201
+ const headers = sharedHeaders("GetOutpostResolver");
202
+ let body;
203
+ body = JSON.stringify((0, smithy_client_1._json)(input));
204
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
205
+ };
206
+ exports.se_GetOutpostResolverCommand = se_GetOutpostResolverCommand;
186
207
  const se_GetResolverConfigCommand = async (input, context) => {
187
208
  const headers = sharedHeaders("GetResolverConfig");
188
209
  let body;
@@ -295,6 +316,13 @@ const se_ListFirewallRulesCommand = async (input, context) => {
295
316
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
296
317
  };
297
318
  exports.se_ListFirewallRulesCommand = se_ListFirewallRulesCommand;
319
+ const se_ListOutpostResolversCommand = async (input, context) => {
320
+ const headers = sharedHeaders("ListOutpostResolvers");
321
+ let body;
322
+ body = JSON.stringify((0, smithy_client_1._json)(input));
323
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
324
+ };
325
+ exports.se_ListOutpostResolversCommand = se_ListOutpostResolversCommand;
298
326
  const se_ListResolverConfigsCommand = async (input, context) => {
299
327
  const headers = sharedHeaders("ListResolverConfigs");
300
328
  let body;
@@ -421,6 +449,13 @@ const se_UpdateFirewallRuleGroupAssociationCommand = async (input, context) => {
421
449
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
422
450
  };
423
451
  exports.se_UpdateFirewallRuleGroupAssociationCommand = se_UpdateFirewallRuleGroupAssociationCommand;
452
+ const se_UpdateOutpostResolverCommand = async (input, context) => {
453
+ const headers = sharedHeaders("UpdateOutpostResolver");
454
+ let body;
455
+ body = JSON.stringify((0, smithy_client_1._json)(input));
456
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
457
+ };
458
+ exports.se_UpdateOutpostResolverCommand = se_UpdateOutpostResolverCommand;
424
459
  const se_UpdateResolverConfigCommand = async (input, context) => {
425
460
  const headers = sharedHeaders("UpdateResolverConfig");
426
461
  let body;
@@ -797,6 +832,54 @@ const de_CreateFirewallRuleGroupCommandError = async (output, context) => {
797
832
  });
798
833
  }
799
834
  };
835
+ const de_CreateOutpostResolverCommand = async (output, context) => {
836
+ if (output.statusCode >= 300) {
837
+ return de_CreateOutpostResolverCommandError(output, context);
838
+ }
839
+ const data = await parseBody(output.body, context);
840
+ let contents = {};
841
+ contents = (0, smithy_client_1._json)(data);
842
+ const response = {
843
+ $metadata: deserializeMetadata(output),
844
+ ...contents,
845
+ };
846
+ return response;
847
+ };
848
+ exports.de_CreateOutpostResolverCommand = de_CreateOutpostResolverCommand;
849
+ const de_CreateOutpostResolverCommandError = async (output, context) => {
850
+ const parsedOutput = {
851
+ ...output,
852
+ body: await parseErrorBody(output.body, context),
853
+ };
854
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
855
+ switch (errorCode) {
856
+ case "AccessDeniedException":
857
+ case "com.amazonaws.route53resolver#AccessDeniedException":
858
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
859
+ case "InternalServiceErrorException":
860
+ case "com.amazonaws.route53resolver#InternalServiceErrorException":
861
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
862
+ case "ResourceNotFoundException":
863
+ case "com.amazonaws.route53resolver#ResourceNotFoundException":
864
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
865
+ case "ServiceQuotaExceededException":
866
+ case "com.amazonaws.route53resolver#ServiceQuotaExceededException":
867
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
868
+ case "ThrottlingException":
869
+ case "com.amazonaws.route53resolver#ThrottlingException":
870
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
871
+ case "ValidationException":
872
+ case "com.amazonaws.route53resolver#ValidationException":
873
+ throw await de_ValidationExceptionRes(parsedOutput, context);
874
+ default:
875
+ const parsedBody = parsedOutput.body;
876
+ return throwDefaultError({
877
+ output,
878
+ parsedBody,
879
+ errorCode,
880
+ });
881
+ }
882
+ };
800
883
  const de_CreateResolverEndpointCommand = async (output, context) => {
801
884
  if (output.statusCode >= 300) {
802
885
  return de_CreateResolverEndpointCommandError(output, context);
@@ -1091,6 +1174,54 @@ const de_DeleteFirewallRuleGroupCommandError = async (output, context) => {
1091
1174
  });
1092
1175
  }
1093
1176
  };
1177
+ const de_DeleteOutpostResolverCommand = async (output, context) => {
1178
+ if (output.statusCode >= 300) {
1179
+ return de_DeleteOutpostResolverCommandError(output, context);
1180
+ }
1181
+ const data = await parseBody(output.body, context);
1182
+ let contents = {};
1183
+ contents = (0, smithy_client_1._json)(data);
1184
+ const response = {
1185
+ $metadata: deserializeMetadata(output),
1186
+ ...contents,
1187
+ };
1188
+ return response;
1189
+ };
1190
+ exports.de_DeleteOutpostResolverCommand = de_DeleteOutpostResolverCommand;
1191
+ const de_DeleteOutpostResolverCommandError = async (output, context) => {
1192
+ const parsedOutput = {
1193
+ ...output,
1194
+ body: await parseErrorBody(output.body, context),
1195
+ };
1196
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1197
+ switch (errorCode) {
1198
+ case "AccessDeniedException":
1199
+ case "com.amazonaws.route53resolver#AccessDeniedException":
1200
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1201
+ case "ConflictException":
1202
+ case "com.amazonaws.route53resolver#ConflictException":
1203
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1204
+ case "InternalServiceErrorException":
1205
+ case "com.amazonaws.route53resolver#InternalServiceErrorException":
1206
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1207
+ case "ResourceNotFoundException":
1208
+ case "com.amazonaws.route53resolver#ResourceNotFoundException":
1209
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1210
+ case "ThrottlingException":
1211
+ case "com.amazonaws.route53resolver#ThrottlingException":
1212
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1213
+ case "ValidationException":
1214
+ case "com.amazonaws.route53resolver#ValidationException":
1215
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1216
+ default:
1217
+ const parsedBody = parsedOutput.body;
1218
+ return throwDefaultError({
1219
+ output,
1220
+ parsedBody,
1221
+ errorCode,
1222
+ });
1223
+ }
1224
+ };
1094
1225
  const de_DeleteResolverEndpointCommand = async (output, context) => {
1095
1226
  if (output.statusCode >= 300) {
1096
1227
  return de_DeleteResolverEndpointCommandError(output, context);
@@ -1631,6 +1762,51 @@ const de_GetFirewallRuleGroupPolicyCommandError = async (output, context) => {
1631
1762
  });
1632
1763
  }
1633
1764
  };
1765
+ const de_GetOutpostResolverCommand = async (output, context) => {
1766
+ if (output.statusCode >= 300) {
1767
+ return de_GetOutpostResolverCommandError(output, context);
1768
+ }
1769
+ const data = await parseBody(output.body, context);
1770
+ let contents = {};
1771
+ contents = (0, smithy_client_1._json)(data);
1772
+ const response = {
1773
+ $metadata: deserializeMetadata(output),
1774
+ ...contents,
1775
+ };
1776
+ return response;
1777
+ };
1778
+ exports.de_GetOutpostResolverCommand = de_GetOutpostResolverCommand;
1779
+ const de_GetOutpostResolverCommandError = async (output, context) => {
1780
+ const parsedOutput = {
1781
+ ...output,
1782
+ body: await parseErrorBody(output.body, context),
1783
+ };
1784
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1785
+ switch (errorCode) {
1786
+ case "AccessDeniedException":
1787
+ case "com.amazonaws.route53resolver#AccessDeniedException":
1788
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1789
+ case "InternalServiceErrorException":
1790
+ case "com.amazonaws.route53resolver#InternalServiceErrorException":
1791
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1792
+ case "ResourceNotFoundException":
1793
+ case "com.amazonaws.route53resolver#ResourceNotFoundException":
1794
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1795
+ case "ThrottlingException":
1796
+ case "com.amazonaws.route53resolver#ThrottlingException":
1797
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1798
+ case "ValidationException":
1799
+ case "com.amazonaws.route53resolver#ValidationException":
1800
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1801
+ default:
1802
+ const parsedBody = parsedOutput.body;
1803
+ return throwDefaultError({
1804
+ output,
1805
+ parsedBody,
1806
+ errorCode,
1807
+ });
1808
+ }
1809
+ };
1634
1810
  const de_GetResolverConfigCommand = async (output, context) => {
1635
1811
  if (output.statusCode >= 300) {
1636
1812
  return de_GetResolverConfigCommandError(output, context);
@@ -2345,6 +2521,51 @@ const de_ListFirewallRulesCommandError = async (output, context) => {
2345
2521
  });
2346
2522
  }
2347
2523
  };
2524
+ const de_ListOutpostResolversCommand = async (output, context) => {
2525
+ if (output.statusCode >= 300) {
2526
+ return de_ListOutpostResolversCommandError(output, context);
2527
+ }
2528
+ const data = await parseBody(output.body, context);
2529
+ let contents = {};
2530
+ contents = (0, smithy_client_1._json)(data);
2531
+ const response = {
2532
+ $metadata: deserializeMetadata(output),
2533
+ ...contents,
2534
+ };
2535
+ return response;
2536
+ };
2537
+ exports.de_ListOutpostResolversCommand = de_ListOutpostResolversCommand;
2538
+ const de_ListOutpostResolversCommandError = async (output, context) => {
2539
+ const parsedOutput = {
2540
+ ...output,
2541
+ body: await parseErrorBody(output.body, context),
2542
+ };
2543
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2544
+ switch (errorCode) {
2545
+ case "AccessDeniedException":
2546
+ case "com.amazonaws.route53resolver#AccessDeniedException":
2547
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2548
+ case "InternalServiceErrorException":
2549
+ case "com.amazonaws.route53resolver#InternalServiceErrorException":
2550
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
2551
+ case "ResourceNotFoundException":
2552
+ case "com.amazonaws.route53resolver#ResourceNotFoundException":
2553
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2554
+ case "ThrottlingException":
2555
+ case "com.amazonaws.route53resolver#ThrottlingException":
2556
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2557
+ case "ValidationException":
2558
+ case "com.amazonaws.route53resolver#ValidationException":
2559
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2560
+ default:
2561
+ const parsedBody = parsedOutput.body;
2562
+ return throwDefaultError({
2563
+ output,
2564
+ parsedBody,
2565
+ errorCode,
2566
+ });
2567
+ }
2568
+ };
2348
2569
  const de_ListResolverConfigsCommand = async (output, context) => {
2349
2570
  if (output.statusCode >= 300) {
2350
2571
  return de_ListResolverConfigsCommandError(output, context);
@@ -3194,6 +3415,57 @@ const de_UpdateFirewallRuleGroupAssociationCommandError = async (output, context
3194
3415
  });
3195
3416
  }
3196
3417
  };
3418
+ const de_UpdateOutpostResolverCommand = async (output, context) => {
3419
+ if (output.statusCode >= 300) {
3420
+ return de_UpdateOutpostResolverCommandError(output, context);
3421
+ }
3422
+ const data = await parseBody(output.body, context);
3423
+ let contents = {};
3424
+ contents = (0, smithy_client_1._json)(data);
3425
+ const response = {
3426
+ $metadata: deserializeMetadata(output),
3427
+ ...contents,
3428
+ };
3429
+ return response;
3430
+ };
3431
+ exports.de_UpdateOutpostResolverCommand = de_UpdateOutpostResolverCommand;
3432
+ const de_UpdateOutpostResolverCommandError = async (output, context) => {
3433
+ const parsedOutput = {
3434
+ ...output,
3435
+ body: await parseErrorBody(output.body, context),
3436
+ };
3437
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3438
+ switch (errorCode) {
3439
+ case "AccessDeniedException":
3440
+ case "com.amazonaws.route53resolver#AccessDeniedException":
3441
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3442
+ case "ConflictException":
3443
+ case "com.amazonaws.route53resolver#ConflictException":
3444
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3445
+ case "InternalServiceErrorException":
3446
+ case "com.amazonaws.route53resolver#InternalServiceErrorException":
3447
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
3448
+ case "ResourceNotFoundException":
3449
+ case "com.amazonaws.route53resolver#ResourceNotFoundException":
3450
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3451
+ case "ServiceQuotaExceededException":
3452
+ case "com.amazonaws.route53resolver#ServiceQuotaExceededException":
3453
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
3454
+ case "ThrottlingException":
3455
+ case "com.amazonaws.route53resolver#ThrottlingException":
3456
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3457
+ case "ValidationException":
3458
+ case "com.amazonaws.route53resolver#ValidationException":
3459
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3460
+ default:
3461
+ const parsedBody = parsedOutput.body;
3462
+ return throwDefaultError({
3463
+ output,
3464
+ parsedBody,
3465
+ errorCode,
3466
+ });
3467
+ }
3468
+ };
3197
3469
  const de_UpdateResolverConfigCommand = async (output, context) => {
3198
3470
  if (output.statusCode >= 300) {
3199
3471
  return de_UpdateResolverConfigCommandError(output, context);
@@ -3512,6 +3784,15 @@ const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
3512
3784
  });
3513
3785
  return (0, smithy_client_1.decorateServiceException)(exception, body);
3514
3786
  };
3787
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
3788
+ const body = parsedOutput.body;
3789
+ const deserialized = (0, smithy_client_1._json)(body);
3790
+ const exception = new models_0_1.ServiceQuotaExceededException({
3791
+ $metadata: deserializeMetadata(parsedOutput),
3792
+ ...deserialized,
3793
+ });
3794
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3795
+ };
3515
3796
  const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
3516
3797
  const body = parsedOutput.body;
3517
3798
  const deserialized = (0, smithy_client_1._json)(body);
@@ -6,12 +6,14 @@ import { AssociateResolverRuleCommand, } from "./commands/AssociateResolverRuleC
6
6
  import { CreateFirewallDomainListCommand, } from "./commands/CreateFirewallDomainListCommand";
7
7
  import { CreateFirewallRuleCommand, } from "./commands/CreateFirewallRuleCommand";
8
8
  import { CreateFirewallRuleGroupCommand, } from "./commands/CreateFirewallRuleGroupCommand";
9
+ import { CreateOutpostResolverCommand, } from "./commands/CreateOutpostResolverCommand";
9
10
  import { CreateResolverEndpointCommand, } from "./commands/CreateResolverEndpointCommand";
10
11
  import { CreateResolverQueryLogConfigCommand, } from "./commands/CreateResolverQueryLogConfigCommand";
11
12
  import { CreateResolverRuleCommand, } from "./commands/CreateResolverRuleCommand";
12
13
  import { DeleteFirewallDomainListCommand, } from "./commands/DeleteFirewallDomainListCommand";
13
14
  import { DeleteFirewallRuleCommand, } from "./commands/DeleteFirewallRuleCommand";
14
15
  import { DeleteFirewallRuleGroupCommand, } from "./commands/DeleteFirewallRuleGroupCommand";
16
+ import { DeleteOutpostResolverCommand, } from "./commands/DeleteOutpostResolverCommand";
15
17
  import { DeleteResolverEndpointCommand, } from "./commands/DeleteResolverEndpointCommand";
16
18
  import { DeleteResolverQueryLogConfigCommand, } from "./commands/DeleteResolverQueryLogConfigCommand";
17
19
  import { DeleteResolverRuleCommand, } from "./commands/DeleteResolverRuleCommand";
@@ -24,6 +26,7 @@ import { GetFirewallDomainListCommand, } from "./commands/GetFirewallDomainListC
24
26
  import { GetFirewallRuleGroupAssociationCommand, } from "./commands/GetFirewallRuleGroupAssociationCommand";
25
27
  import { GetFirewallRuleGroupCommand, } from "./commands/GetFirewallRuleGroupCommand";
26
28
  import { GetFirewallRuleGroupPolicyCommand, } from "./commands/GetFirewallRuleGroupPolicyCommand";
29
+ import { GetOutpostResolverCommand, } from "./commands/GetOutpostResolverCommand";
27
30
  import { GetResolverConfigCommand, } from "./commands/GetResolverConfigCommand";
28
31
  import { GetResolverDnssecConfigCommand, } from "./commands/GetResolverDnssecConfigCommand";
29
32
  import { GetResolverEndpointCommand, } from "./commands/GetResolverEndpointCommand";
@@ -40,6 +43,7 @@ import { ListFirewallDomainsCommand, } from "./commands/ListFirewallDomainsComma
40
43
  import { ListFirewallRuleGroupAssociationsCommand, } from "./commands/ListFirewallRuleGroupAssociationsCommand";
41
44
  import { ListFirewallRuleGroupsCommand, } from "./commands/ListFirewallRuleGroupsCommand";
42
45
  import { ListFirewallRulesCommand, } from "./commands/ListFirewallRulesCommand";
46
+ import { ListOutpostResolversCommand, } from "./commands/ListOutpostResolversCommand";
43
47
  import { ListResolverConfigsCommand, } from "./commands/ListResolverConfigsCommand";
44
48
  import { ListResolverDnssecConfigsCommand, } from "./commands/ListResolverDnssecConfigsCommand";
45
49
  import { ListResolverEndpointIpAddressesCommand, } from "./commands/ListResolverEndpointIpAddressesCommand";
@@ -58,6 +62,7 @@ import { UpdateFirewallConfigCommand, } from "./commands/UpdateFirewallConfigCom
58
62
  import { UpdateFirewallDomainsCommand, } from "./commands/UpdateFirewallDomainsCommand";
59
63
  import { UpdateFirewallRuleCommand, } from "./commands/UpdateFirewallRuleCommand";
60
64
  import { UpdateFirewallRuleGroupAssociationCommand, } from "./commands/UpdateFirewallRuleGroupAssociationCommand";
65
+ import { UpdateOutpostResolverCommand, } from "./commands/UpdateOutpostResolverCommand";
61
66
  import { UpdateResolverConfigCommand, } from "./commands/UpdateResolverConfigCommand";
62
67
  import { UpdateResolverDnssecConfigCommand, } from "./commands/UpdateResolverDnssecConfigCommand";
63
68
  import { UpdateResolverEndpointCommand, } from "./commands/UpdateResolverEndpointCommand";
@@ -71,12 +76,14 @@ const commands = {
71
76
  CreateFirewallDomainListCommand,
72
77
  CreateFirewallRuleCommand,
73
78
  CreateFirewallRuleGroupCommand,
79
+ CreateOutpostResolverCommand,
74
80
  CreateResolverEndpointCommand,
75
81
  CreateResolverQueryLogConfigCommand,
76
82
  CreateResolverRuleCommand,
77
83
  DeleteFirewallDomainListCommand,
78
84
  DeleteFirewallRuleCommand,
79
85
  DeleteFirewallRuleGroupCommand,
86
+ DeleteOutpostResolverCommand,
80
87
  DeleteResolverEndpointCommand,
81
88
  DeleteResolverQueryLogConfigCommand,
82
89
  DeleteResolverRuleCommand,
@@ -89,6 +96,7 @@ const commands = {
89
96
  GetFirewallRuleGroupCommand,
90
97
  GetFirewallRuleGroupAssociationCommand,
91
98
  GetFirewallRuleGroupPolicyCommand,
99
+ GetOutpostResolverCommand,
92
100
  GetResolverConfigCommand,
93
101
  GetResolverDnssecConfigCommand,
94
102
  GetResolverEndpointCommand,
@@ -105,6 +113,7 @@ const commands = {
105
113
  ListFirewallRuleGroupAssociationsCommand,
106
114
  ListFirewallRuleGroupsCommand,
107
115
  ListFirewallRulesCommand,
116
+ ListOutpostResolversCommand,
108
117
  ListResolverConfigsCommand,
109
118
  ListResolverDnssecConfigsCommand,
110
119
  ListResolverEndpointIpAddressesCommand,
@@ -123,6 +132,7 @@ const commands = {
123
132
  UpdateFirewallDomainsCommand,
124
133
  UpdateFirewallRuleCommand,
125
134
  UpdateFirewallRuleGroupAssociationCommand,
135
+ UpdateOutpostResolverCommand,
126
136
  UpdateResolverConfigCommand,
127
137
  UpdateResolverDnssecConfigCommand,
128
138
  UpdateResolverEndpointCommand,
@@ -0,0 +1,42 @@
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 { de_CreateOutpostResolverCommand, se_CreateOutpostResolverCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class CreateOutpostResolverCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateOutpostResolverCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "Route53ResolverClient";
25
+ const commandName = "CreateOutpostResolverCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_CreateOutpostResolverCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_CreateOutpostResolverCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
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 { de_DeleteOutpostResolverCommand, se_DeleteOutpostResolverCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class DeleteOutpostResolverCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteOutpostResolverCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "Route53ResolverClient";
25
+ const commandName = "DeleteOutpostResolverCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DeleteOutpostResolverCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DeleteOutpostResolverCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
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 { de_GetOutpostResolverCommand, se_GetOutpostResolverCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class GetOutpostResolverCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetOutpostResolverCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "Route53ResolverClient";
25
+ const commandName = "GetOutpostResolverCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_GetOutpostResolverCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_GetOutpostResolverCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
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 { de_ListOutpostResolversCommand, se_ListOutpostResolversCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class ListOutpostResolversCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListOutpostResolversCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "Route53ResolverClient";
25
+ const commandName = "ListOutpostResolversCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListOutpostResolversCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListOutpostResolversCommand(output, context);
41
+ }
42
+ }