@aws-sdk/client-elastic-load-balancing-v2 3.454.0 → 3.458.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 (86) hide show
  1. package/README.md +114 -34
  2. package/dist-cjs/ElasticLoadBalancingV2.js +20 -0
  3. package/dist-cjs/commands/AddTrustStoreRevocationsCommand.js +51 -0
  4. package/dist-cjs/commands/CreateTrustStoreCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteTrustStoreCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeTrustStoreAssociationsCommand.js +51 -0
  7. package/dist-cjs/commands/DescribeTrustStoreRevocationsCommand.js +51 -0
  8. package/dist-cjs/commands/DescribeTrustStoresCommand.js +51 -0
  9. package/dist-cjs/commands/GetTrustStoreCaCertificatesBundleCommand.js +51 -0
  10. package/dist-cjs/commands/GetTrustStoreRevocationContentCommand.js +51 -0
  11. package/dist-cjs/commands/ModifyTrustStoreCommand.js +51 -0
  12. package/dist-cjs/commands/RemoveTrustStoreRevocationsCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +175 -2
  15. package/dist-cjs/pagination/DescribeTrustStoreAssociationsPaginator.js +29 -0
  16. package/dist-cjs/pagination/DescribeTrustStoreRevocationsPaginator.js +29 -0
  17. package/dist-cjs/pagination/DescribeTrustStoresPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +3 -0
  19. package/dist-cjs/protocols/Aws_query.js +1187 -19
  20. package/dist-es/ElasticLoadBalancingV2.js +20 -0
  21. package/dist-es/commands/AddTrustStoreRevocationsCommand.js +47 -0
  22. package/dist-es/commands/CreateTrustStoreCommand.js +47 -0
  23. package/dist-es/commands/DeleteTrustStoreCommand.js +47 -0
  24. package/dist-es/commands/DescribeTrustStoreAssociationsCommand.js +47 -0
  25. package/dist-es/commands/DescribeTrustStoreRevocationsCommand.js +47 -0
  26. package/dist-es/commands/DescribeTrustStoresCommand.js +47 -0
  27. package/dist-es/commands/GetTrustStoreCaCertificatesBundleCommand.js +47 -0
  28. package/dist-es/commands/GetTrustStoreRevocationContentCommand.js +47 -0
  29. package/dist-es/commands/ModifyTrustStoreCommand.js +47 -0
  30. package/dist-es/commands/RemoveTrustStoreRevocationsCommand.js +47 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +162 -0
  33. package/dist-es/pagination/DescribeTrustStoreAssociationsPaginator.js +25 -0
  34. package/dist-es/pagination/DescribeTrustStoreRevocationsPaginator.js +25 -0
  35. package/dist-es/pagination/DescribeTrustStoresPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +3 -0
  37. package/dist-es/protocols/Aws_query.js +1167 -19
  38. package/dist-types/ElasticLoadBalancingV2.d.ts +70 -0
  39. package/dist-types/ElasticLoadBalancingV2Client.d.ts +12 -2
  40. package/dist-types/commands/AddTagsCommand.d.ts +5 -2
  41. package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +100 -0
  42. package/dist-types/commands/CreateListenerCommand.d.ts +17 -1
  43. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateTargetGroupCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateTrustStoreCommand.d.ts +108 -0
  47. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +77 -0
  48. package/dist-types/commands/DescribeListenersCommand.d.ts +5 -0
  49. package/dist-types/commands/DescribeTagsCommand.d.ts +3 -0
  50. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +7 -0
  51. package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +83 -0
  52. package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +93 -0
  53. package/dist-types/commands/DescribeTrustStoresCommand.d.ts +93 -0
  54. package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +78 -0
  55. package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +82 -0
  56. package/dist-types/commands/ModifyListenerCommand.d.ts +16 -0
  57. package/dist-types/commands/ModifyTrustStoreCommand.d.ts +93 -0
  58. package/dist-types/commands/RemoveTagsCommand.d.ts +4 -1
  59. package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +80 -0
  60. package/dist-types/commands/index.d.ts +10 -0
  61. package/dist-types/models/models_0.d.ts +712 -2
  62. package/dist-types/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +7 -0
  64. package/dist-types/pagination/DescribeTrustStoresPaginator.d.ts +7 -0
  65. package/dist-types/pagination/index.d.ts +3 -0
  66. package/dist-types/protocols/Aws_query.d.ts +90 -0
  67. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +176 -0
  68. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +60 -0
  69. package/dist-types/ts3.4/commands/AddTrustStoreRevocationsCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/DescribeTrustStoreAssociationsCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/DescribeTrustStoreRevocationsCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/DescribeTrustStoresCommand.d.ts +39 -0
  75. package/dist-types/ts3.4/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/GetTrustStoreRevocationContentCommand.d.ts +42 -0
  77. package/dist-types/ts3.4/commands/ModifyTrustStoreCommand.d.ts +38 -0
  78. package/dist-types/ts3.4/commands/RemoveTrustStoreRevocationsCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +254 -0
  81. package/dist-types/ts3.4/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/DescribeTrustStoresPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  85. package/dist-types/ts3.4/protocols/Aws_query.d.ts +120 -0
  86. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_DescribeLoadBalancersCommand = exports.de_DescribeLoadBalancerAttributesCommand = exports.de_DescribeListenersCommand = exports.de_DescribeListenerCertificatesCommand = exports.de_DescribeAccountLimitsCommand = exports.de_DeregisterTargetsCommand = exports.de_DeleteTargetGroupCommand = exports.de_DeleteRuleCommand = exports.de_DeleteLoadBalancerCommand = exports.de_DeleteListenerCommand = exports.de_CreateTargetGroupCommand = exports.de_CreateRuleCommand = exports.de_CreateLoadBalancerCommand = exports.de_CreateListenerCommand = exports.de_AddTagsCommand = exports.de_AddListenerCertificatesCommand = exports.se_SetSubnetsCommand = exports.se_SetSecurityGroupsCommand = exports.se_SetRulePrioritiesCommand = exports.se_SetIpAddressTypeCommand = exports.se_RemoveTagsCommand = exports.se_RemoveListenerCertificatesCommand = exports.se_RegisterTargetsCommand = exports.se_ModifyTargetGroupAttributesCommand = exports.se_ModifyTargetGroupCommand = exports.se_ModifyRuleCommand = exports.se_ModifyLoadBalancerAttributesCommand = exports.se_ModifyListenerCommand = exports.se_DescribeTargetHealthCommand = exports.se_DescribeTargetGroupsCommand = exports.se_DescribeTargetGroupAttributesCommand = exports.se_DescribeTagsCommand = exports.se_DescribeSSLPoliciesCommand = exports.se_DescribeRulesCommand = exports.se_DescribeLoadBalancersCommand = exports.se_DescribeLoadBalancerAttributesCommand = exports.se_DescribeListenersCommand = exports.se_DescribeListenerCertificatesCommand = exports.se_DescribeAccountLimitsCommand = exports.se_DeregisterTargetsCommand = exports.se_DeleteTargetGroupCommand = exports.se_DeleteRuleCommand = exports.se_DeleteLoadBalancerCommand = exports.se_DeleteListenerCommand = exports.se_CreateTargetGroupCommand = exports.se_CreateRuleCommand = exports.se_CreateLoadBalancerCommand = exports.se_CreateListenerCommand = exports.se_AddTagsCommand = exports.se_AddListenerCertificatesCommand = void 0;
4
- exports.de_SetSubnetsCommand = exports.de_SetSecurityGroupsCommand = exports.de_SetRulePrioritiesCommand = exports.de_SetIpAddressTypeCommand = exports.de_RemoveTagsCommand = exports.de_RemoveListenerCertificatesCommand = exports.de_RegisterTargetsCommand = exports.de_ModifyTargetGroupAttributesCommand = exports.de_ModifyTargetGroupCommand = exports.de_ModifyRuleCommand = exports.de_ModifyLoadBalancerAttributesCommand = exports.de_ModifyListenerCommand = exports.de_DescribeTargetHealthCommand = exports.de_DescribeTargetGroupsCommand = exports.de_DescribeTargetGroupAttributesCommand = exports.de_DescribeTagsCommand = exports.de_DescribeSSLPoliciesCommand = exports.de_DescribeRulesCommand = void 0;
3
+ exports.de_CreateRuleCommand = exports.de_CreateLoadBalancerCommand = exports.de_CreateListenerCommand = exports.de_AddTrustStoreRevocationsCommand = exports.de_AddTagsCommand = exports.de_AddListenerCertificatesCommand = exports.se_SetSubnetsCommand = exports.se_SetSecurityGroupsCommand = exports.se_SetRulePrioritiesCommand = exports.se_SetIpAddressTypeCommand = exports.se_RemoveTrustStoreRevocationsCommand = exports.se_RemoveTagsCommand = exports.se_RemoveListenerCertificatesCommand = exports.se_RegisterTargetsCommand = exports.se_ModifyTrustStoreCommand = exports.se_ModifyTargetGroupAttributesCommand = exports.se_ModifyTargetGroupCommand = exports.se_ModifyRuleCommand = exports.se_ModifyLoadBalancerAttributesCommand = exports.se_ModifyListenerCommand = exports.se_GetTrustStoreRevocationContentCommand = exports.se_GetTrustStoreCaCertificatesBundleCommand = exports.se_DescribeTrustStoresCommand = exports.se_DescribeTrustStoreRevocationsCommand = exports.se_DescribeTrustStoreAssociationsCommand = exports.se_DescribeTargetHealthCommand = exports.se_DescribeTargetGroupsCommand = exports.se_DescribeTargetGroupAttributesCommand = exports.se_DescribeTagsCommand = exports.se_DescribeSSLPoliciesCommand = exports.se_DescribeRulesCommand = exports.se_DescribeLoadBalancersCommand = exports.se_DescribeLoadBalancerAttributesCommand = exports.se_DescribeListenersCommand = exports.se_DescribeListenerCertificatesCommand = exports.se_DescribeAccountLimitsCommand = exports.se_DeregisterTargetsCommand = exports.se_DeleteTrustStoreCommand = exports.se_DeleteTargetGroupCommand = exports.se_DeleteRuleCommand = exports.se_DeleteLoadBalancerCommand = exports.se_DeleteListenerCommand = exports.se_CreateTrustStoreCommand = exports.se_CreateTargetGroupCommand = exports.se_CreateRuleCommand = exports.se_CreateLoadBalancerCommand = exports.se_CreateListenerCommand = exports.se_AddTrustStoreRevocationsCommand = exports.se_AddTagsCommand = exports.se_AddListenerCertificatesCommand = void 0;
4
+ exports.de_SetSubnetsCommand = exports.de_SetSecurityGroupsCommand = exports.de_SetRulePrioritiesCommand = exports.de_SetIpAddressTypeCommand = exports.de_RemoveTrustStoreRevocationsCommand = exports.de_RemoveTagsCommand = exports.de_RemoveListenerCertificatesCommand = exports.de_RegisterTargetsCommand = exports.de_ModifyTrustStoreCommand = exports.de_ModifyTargetGroupAttributesCommand = exports.de_ModifyTargetGroupCommand = exports.de_ModifyRuleCommand = exports.de_ModifyLoadBalancerAttributesCommand = exports.de_ModifyListenerCommand = exports.de_GetTrustStoreRevocationContentCommand = exports.de_GetTrustStoreCaCertificatesBundleCommand = exports.de_DescribeTrustStoresCommand = exports.de_DescribeTrustStoreRevocationsCommand = exports.de_DescribeTrustStoreAssociationsCommand = exports.de_DescribeTargetHealthCommand = exports.de_DescribeTargetGroupsCommand = exports.de_DescribeTargetGroupAttributesCommand = exports.de_DescribeTagsCommand = exports.de_DescribeSSLPoliciesCommand = exports.de_DescribeRulesCommand = exports.de_DescribeLoadBalancersCommand = exports.de_DescribeLoadBalancerAttributesCommand = exports.de_DescribeListenersCommand = exports.de_DescribeListenerCertificatesCommand = exports.de_DescribeAccountLimitsCommand = exports.de_DeregisterTargetsCommand = exports.de_DeleteTrustStoreCommand = exports.de_DeleteTargetGroupCommand = exports.de_DeleteRuleCommand = exports.de_DeleteLoadBalancerCommand = exports.de_DeleteListenerCommand = exports.de_CreateTrustStoreCommand = exports.de_CreateTargetGroupCommand = void 0;
5
5
  const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const fast_xml_parser_1 = require("fast-xml-parser");
@@ -29,6 +29,17 @@ const se_AddTagsCommand = async (input, context) => {
29
29
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
30
  };
31
31
  exports.se_AddTagsCommand = se_AddTagsCommand;
32
+ const se_AddTrustStoreRevocationsCommand = async (input, context) => {
33
+ const headers = SHARED_HEADERS;
34
+ let body;
35
+ body = buildFormUrlencodedString({
36
+ ...se_AddTrustStoreRevocationsInput(input, context),
37
+ Action: "AddTrustStoreRevocations",
38
+ Version: "2015-12-01",
39
+ });
40
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
+ };
42
+ exports.se_AddTrustStoreRevocationsCommand = se_AddTrustStoreRevocationsCommand;
32
43
  const se_CreateListenerCommand = async (input, context) => {
33
44
  const headers = SHARED_HEADERS;
34
45
  let body;
@@ -73,6 +84,17 @@ const se_CreateTargetGroupCommand = async (input, context) => {
73
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
74
85
  };
75
86
  exports.se_CreateTargetGroupCommand = se_CreateTargetGroupCommand;
87
+ const se_CreateTrustStoreCommand = async (input, context) => {
88
+ const headers = SHARED_HEADERS;
89
+ let body;
90
+ body = buildFormUrlencodedString({
91
+ ...se_CreateTrustStoreInput(input, context),
92
+ Action: "CreateTrustStore",
93
+ Version: "2015-12-01",
94
+ });
95
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
96
+ };
97
+ exports.se_CreateTrustStoreCommand = se_CreateTrustStoreCommand;
76
98
  const se_DeleteListenerCommand = async (input, context) => {
77
99
  const headers = SHARED_HEADERS;
78
100
  let body;
@@ -117,6 +139,17 @@ const se_DeleteTargetGroupCommand = async (input, context) => {
117
139
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
118
140
  };
119
141
  exports.se_DeleteTargetGroupCommand = se_DeleteTargetGroupCommand;
142
+ const se_DeleteTrustStoreCommand = async (input, context) => {
143
+ const headers = SHARED_HEADERS;
144
+ let body;
145
+ body = buildFormUrlencodedString({
146
+ ...se_DeleteTrustStoreInput(input, context),
147
+ Action: "DeleteTrustStore",
148
+ Version: "2015-12-01",
149
+ });
150
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
151
+ };
152
+ exports.se_DeleteTrustStoreCommand = se_DeleteTrustStoreCommand;
120
153
  const se_DeregisterTargetsCommand = async (input, context) => {
121
154
  const headers = SHARED_HEADERS;
122
155
  let body;
@@ -249,6 +282,61 @@ const se_DescribeTargetHealthCommand = async (input, context) => {
249
282
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
250
283
  };
251
284
  exports.se_DescribeTargetHealthCommand = se_DescribeTargetHealthCommand;
285
+ const se_DescribeTrustStoreAssociationsCommand = async (input, context) => {
286
+ const headers = SHARED_HEADERS;
287
+ let body;
288
+ body = buildFormUrlencodedString({
289
+ ...se_DescribeTrustStoreAssociationsInput(input, context),
290
+ Action: "DescribeTrustStoreAssociations",
291
+ Version: "2015-12-01",
292
+ });
293
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
+ };
295
+ exports.se_DescribeTrustStoreAssociationsCommand = se_DescribeTrustStoreAssociationsCommand;
296
+ const se_DescribeTrustStoreRevocationsCommand = async (input, context) => {
297
+ const headers = SHARED_HEADERS;
298
+ let body;
299
+ body = buildFormUrlencodedString({
300
+ ...se_DescribeTrustStoreRevocationsInput(input, context),
301
+ Action: "DescribeTrustStoreRevocations",
302
+ Version: "2015-12-01",
303
+ });
304
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
305
+ };
306
+ exports.se_DescribeTrustStoreRevocationsCommand = se_DescribeTrustStoreRevocationsCommand;
307
+ const se_DescribeTrustStoresCommand = async (input, context) => {
308
+ const headers = SHARED_HEADERS;
309
+ let body;
310
+ body = buildFormUrlencodedString({
311
+ ...se_DescribeTrustStoresInput(input, context),
312
+ Action: "DescribeTrustStores",
313
+ Version: "2015-12-01",
314
+ });
315
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
316
+ };
317
+ exports.se_DescribeTrustStoresCommand = se_DescribeTrustStoresCommand;
318
+ const se_GetTrustStoreCaCertificatesBundleCommand = async (input, context) => {
319
+ const headers = SHARED_HEADERS;
320
+ let body;
321
+ body = buildFormUrlencodedString({
322
+ ...se_GetTrustStoreCaCertificatesBundleInput(input, context),
323
+ Action: "GetTrustStoreCaCertificatesBundle",
324
+ Version: "2015-12-01",
325
+ });
326
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
327
+ };
328
+ exports.se_GetTrustStoreCaCertificatesBundleCommand = se_GetTrustStoreCaCertificatesBundleCommand;
329
+ const se_GetTrustStoreRevocationContentCommand = async (input, context) => {
330
+ const headers = SHARED_HEADERS;
331
+ let body;
332
+ body = buildFormUrlencodedString({
333
+ ...se_GetTrustStoreRevocationContentInput(input, context),
334
+ Action: "GetTrustStoreRevocationContent",
335
+ Version: "2015-12-01",
336
+ });
337
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
338
+ };
339
+ exports.se_GetTrustStoreRevocationContentCommand = se_GetTrustStoreRevocationContentCommand;
252
340
  const se_ModifyListenerCommand = async (input, context) => {
253
341
  const headers = SHARED_HEADERS;
254
342
  let body;
@@ -304,6 +392,17 @@ const se_ModifyTargetGroupAttributesCommand = async (input, context) => {
304
392
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
305
393
  };
306
394
  exports.se_ModifyTargetGroupAttributesCommand = se_ModifyTargetGroupAttributesCommand;
395
+ const se_ModifyTrustStoreCommand = async (input, context) => {
396
+ const headers = SHARED_HEADERS;
397
+ let body;
398
+ body = buildFormUrlencodedString({
399
+ ...se_ModifyTrustStoreInput(input, context),
400
+ Action: "ModifyTrustStore",
401
+ Version: "2015-12-01",
402
+ });
403
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
404
+ };
405
+ exports.se_ModifyTrustStoreCommand = se_ModifyTrustStoreCommand;
307
406
  const se_RegisterTargetsCommand = async (input, context) => {
308
407
  const headers = SHARED_HEADERS;
309
408
  let body;
@@ -337,6 +436,17 @@ const se_RemoveTagsCommand = async (input, context) => {
337
436
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
338
437
  };
339
438
  exports.se_RemoveTagsCommand = se_RemoveTagsCommand;
439
+ const se_RemoveTrustStoreRevocationsCommand = async (input, context) => {
440
+ const headers = SHARED_HEADERS;
441
+ let body;
442
+ body = buildFormUrlencodedString({
443
+ ...se_RemoveTrustStoreRevocationsInput(input, context),
444
+ Action: "RemoveTrustStoreRevocations",
445
+ Version: "2015-12-01",
446
+ });
447
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
448
+ };
449
+ exports.se_RemoveTrustStoreRevocationsCommand = se_RemoveTrustStoreRevocationsCommand;
340
450
  const se_SetIpAddressTypeCommand = async (input, context) => {
341
451
  const headers = SHARED_HEADERS;
342
452
  let body;
@@ -459,6 +569,51 @@ const de_AddTagsCommandError = async (output, context) => {
459
569
  case "TooManyTags":
460
570
  case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
461
571
  throw await de_TooManyTagsExceptionRes(parsedOutput, context);
572
+ case "TrustStoreNotFound":
573
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
574
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
575
+ default:
576
+ const parsedBody = parsedOutput.body;
577
+ return throwDefaultError({
578
+ output,
579
+ parsedBody: parsedBody.Error,
580
+ errorCode,
581
+ });
582
+ }
583
+ };
584
+ const de_AddTrustStoreRevocationsCommand = async (output, context) => {
585
+ if (output.statusCode >= 300) {
586
+ return de_AddTrustStoreRevocationsCommandError(output, context);
587
+ }
588
+ const data = await parseBody(output.body, context);
589
+ let contents = {};
590
+ contents = de_AddTrustStoreRevocationsOutput(data.AddTrustStoreRevocationsResult, context);
591
+ const response = {
592
+ $metadata: deserializeMetadata(output),
593
+ ...contents,
594
+ };
595
+ return response;
596
+ };
597
+ exports.de_AddTrustStoreRevocationsCommand = de_AddTrustStoreRevocationsCommand;
598
+ const de_AddTrustStoreRevocationsCommandError = async (output, context) => {
599
+ const parsedOutput = {
600
+ ...output,
601
+ body: await parseErrorBody(output.body, context),
602
+ };
603
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
604
+ switch (errorCode) {
605
+ case "InvalidRevocationContent":
606
+ case "com.amazonaws.elasticloadbalancingv2#InvalidRevocationContentException":
607
+ throw await de_InvalidRevocationContentExceptionRes(parsedOutput, context);
608
+ case "RevocationContentNotFound":
609
+ case "com.amazonaws.elasticloadbalancingv2#RevocationContentNotFoundException":
610
+ throw await de_RevocationContentNotFoundExceptionRes(parsedOutput, context);
611
+ case "TooManyTrustStoreRevocationEntries":
612
+ case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoreRevocationEntriesException":
613
+ throw await de_TooManyTrustStoreRevocationEntriesExceptionRes(parsedOutput, context);
614
+ case "TrustStoreNotFound":
615
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
616
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
462
617
  default:
463
618
  const parsedBody = parsedOutput.body;
464
619
  return throwDefaultError({
@@ -540,6 +695,12 @@ const de_CreateListenerCommandError = async (output, context) => {
540
695
  case "TooManyUniqueTargetGroupsPerLoadBalancer":
541
696
  case "com.amazonaws.elasticloadbalancingv2#TooManyUniqueTargetGroupsPerLoadBalancerException":
542
697
  throw await de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes(parsedOutput, context);
698
+ case "TrustStoreNotFound":
699
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
700
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
701
+ case "TrustStoreNotReady":
702
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotReadyException":
703
+ throw await de_TrustStoreNotReadyExceptionRes(parsedOutput, context);
543
704
  case "UnsupportedProtocol":
544
705
  case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
545
706
  throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
@@ -738,6 +899,54 @@ const de_CreateTargetGroupCommandError = async (output, context) => {
738
899
  });
739
900
  }
740
901
  };
902
+ const de_CreateTrustStoreCommand = async (output, context) => {
903
+ if (output.statusCode >= 300) {
904
+ return de_CreateTrustStoreCommandError(output, context);
905
+ }
906
+ const data = await parseBody(output.body, context);
907
+ let contents = {};
908
+ contents = de_CreateTrustStoreOutput(data.CreateTrustStoreResult, context);
909
+ const response = {
910
+ $metadata: deserializeMetadata(output),
911
+ ...contents,
912
+ };
913
+ return response;
914
+ };
915
+ exports.de_CreateTrustStoreCommand = de_CreateTrustStoreCommand;
916
+ const de_CreateTrustStoreCommandError = async (output, context) => {
917
+ const parsedOutput = {
918
+ ...output,
919
+ body: await parseErrorBody(output.body, context),
920
+ };
921
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
922
+ switch (errorCode) {
923
+ case "CaCertificatesBundleNotFound":
924
+ case "com.amazonaws.elasticloadbalancingv2#CaCertificatesBundleNotFoundException":
925
+ throw await de_CaCertificatesBundleNotFoundExceptionRes(parsedOutput, context);
926
+ case "DuplicateTagKeys":
927
+ case "com.amazonaws.elasticloadbalancingv2#DuplicateTagKeysException":
928
+ throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
929
+ case "DuplicateTrustStoreName":
930
+ case "com.amazonaws.elasticloadbalancingv2#DuplicateTrustStoreNameException":
931
+ throw await de_DuplicateTrustStoreNameExceptionRes(parsedOutput, context);
932
+ case "InvalidCaCertificatesBundle":
933
+ case "com.amazonaws.elasticloadbalancingv2#InvalidCaCertificatesBundleException":
934
+ throw await de_InvalidCaCertificatesBundleExceptionRes(parsedOutput, context);
935
+ case "TooManyTags":
936
+ case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
937
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
938
+ case "TooManyTrustStores":
939
+ case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoresException":
940
+ throw await de_TooManyTrustStoresExceptionRes(parsedOutput, context);
941
+ default:
942
+ const parsedBody = parsedOutput.body;
943
+ return throwDefaultError({
944
+ output,
945
+ parsedBody: parsedBody.Error,
946
+ errorCode,
947
+ });
948
+ }
949
+ };
741
950
  const de_DeleteListenerCommand = async (output, context) => {
742
951
  if (output.statusCode >= 300) {
743
952
  return de_DeleteListenerCommandError(output, context);
@@ -882,6 +1091,42 @@ const de_DeleteTargetGroupCommandError = async (output, context) => {
882
1091
  });
883
1092
  }
884
1093
  };
1094
+ const de_DeleteTrustStoreCommand = async (output, context) => {
1095
+ if (output.statusCode >= 300) {
1096
+ return de_DeleteTrustStoreCommandError(output, context);
1097
+ }
1098
+ const data = await parseBody(output.body, context);
1099
+ let contents = {};
1100
+ contents = de_DeleteTrustStoreOutput(data.DeleteTrustStoreResult, context);
1101
+ const response = {
1102
+ $metadata: deserializeMetadata(output),
1103
+ ...contents,
1104
+ };
1105
+ return response;
1106
+ };
1107
+ exports.de_DeleteTrustStoreCommand = de_DeleteTrustStoreCommand;
1108
+ const de_DeleteTrustStoreCommandError = async (output, context) => {
1109
+ const parsedOutput = {
1110
+ ...output,
1111
+ body: await parseErrorBody(output.body, context),
1112
+ };
1113
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1114
+ switch (errorCode) {
1115
+ case "TrustStoreInUse":
1116
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreInUseException":
1117
+ throw await de_TrustStoreInUseExceptionRes(parsedOutput, context);
1118
+ case "TrustStoreNotFound":
1119
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1120
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1121
+ default:
1122
+ const parsedBody = parsedOutput.body;
1123
+ return throwDefaultError({
1124
+ output,
1125
+ parsedBody: parsedBody.Error,
1126
+ errorCode,
1127
+ });
1128
+ }
1129
+ };
885
1130
  const de_DeregisterTargetsCommand = async (output, context) => {
886
1131
  if (output.statusCode >= 300) {
887
1132
  return de_DeregisterTargetsCommandError(output, context);
@@ -1188,6 +1433,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
1188
1433
  case "TargetGroupNotFound":
1189
1434
  case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
1190
1435
  throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
1436
+ case "TrustStoreNotFound":
1437
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1438
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1191
1439
  default:
1192
1440
  const parsedBody = parsedOutput.body;
1193
1441
  return throwDefaultError({
@@ -1287,15 +1535,186 @@ const de_DescribeTargetHealthCommandError = async (output, context) => {
1287
1535
  };
1288
1536
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1289
1537
  switch (errorCode) {
1290
- case "HealthUnavailable":
1291
- case "com.amazonaws.elasticloadbalancingv2#HealthUnavailableException":
1292
- throw await de_HealthUnavailableExceptionRes(parsedOutput, context);
1293
- case "InvalidTarget":
1294
- case "com.amazonaws.elasticloadbalancingv2#InvalidTargetException":
1295
- throw await de_InvalidTargetExceptionRes(parsedOutput, context);
1296
- case "TargetGroupNotFound":
1297
- case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
1298
- throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
1538
+ case "HealthUnavailable":
1539
+ case "com.amazonaws.elasticloadbalancingv2#HealthUnavailableException":
1540
+ throw await de_HealthUnavailableExceptionRes(parsedOutput, context);
1541
+ case "InvalidTarget":
1542
+ case "com.amazonaws.elasticloadbalancingv2#InvalidTargetException":
1543
+ throw await de_InvalidTargetExceptionRes(parsedOutput, context);
1544
+ case "TargetGroupNotFound":
1545
+ case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
1546
+ throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
1547
+ default:
1548
+ const parsedBody = parsedOutput.body;
1549
+ return throwDefaultError({
1550
+ output,
1551
+ parsedBody: parsedBody.Error,
1552
+ errorCode,
1553
+ });
1554
+ }
1555
+ };
1556
+ const de_DescribeTrustStoreAssociationsCommand = async (output, context) => {
1557
+ if (output.statusCode >= 300) {
1558
+ return de_DescribeTrustStoreAssociationsCommandError(output, context);
1559
+ }
1560
+ const data = await parseBody(output.body, context);
1561
+ let contents = {};
1562
+ contents = de_DescribeTrustStoreAssociationsOutput(data.DescribeTrustStoreAssociationsResult, context);
1563
+ const response = {
1564
+ $metadata: deserializeMetadata(output),
1565
+ ...contents,
1566
+ };
1567
+ return response;
1568
+ };
1569
+ exports.de_DescribeTrustStoreAssociationsCommand = de_DescribeTrustStoreAssociationsCommand;
1570
+ const de_DescribeTrustStoreAssociationsCommandError = async (output, context) => {
1571
+ const parsedOutput = {
1572
+ ...output,
1573
+ body: await parseErrorBody(output.body, context),
1574
+ };
1575
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1576
+ switch (errorCode) {
1577
+ case "TrustStoreNotFound":
1578
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1579
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1580
+ default:
1581
+ const parsedBody = parsedOutput.body;
1582
+ return throwDefaultError({
1583
+ output,
1584
+ parsedBody: parsedBody.Error,
1585
+ errorCode,
1586
+ });
1587
+ }
1588
+ };
1589
+ const de_DescribeTrustStoreRevocationsCommand = async (output, context) => {
1590
+ if (output.statusCode >= 300) {
1591
+ return de_DescribeTrustStoreRevocationsCommandError(output, context);
1592
+ }
1593
+ const data = await parseBody(output.body, context);
1594
+ let contents = {};
1595
+ contents = de_DescribeTrustStoreRevocationsOutput(data.DescribeTrustStoreRevocationsResult, context);
1596
+ const response = {
1597
+ $metadata: deserializeMetadata(output),
1598
+ ...contents,
1599
+ };
1600
+ return response;
1601
+ };
1602
+ exports.de_DescribeTrustStoreRevocationsCommand = de_DescribeTrustStoreRevocationsCommand;
1603
+ const de_DescribeTrustStoreRevocationsCommandError = async (output, context) => {
1604
+ const parsedOutput = {
1605
+ ...output,
1606
+ body: await parseErrorBody(output.body, context),
1607
+ };
1608
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1609
+ switch (errorCode) {
1610
+ case "RevocationIdNotFound":
1611
+ case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
1612
+ throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
1613
+ case "TrustStoreNotFound":
1614
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1615
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1616
+ default:
1617
+ const parsedBody = parsedOutput.body;
1618
+ return throwDefaultError({
1619
+ output,
1620
+ parsedBody: parsedBody.Error,
1621
+ errorCode,
1622
+ });
1623
+ }
1624
+ };
1625
+ const de_DescribeTrustStoresCommand = async (output, context) => {
1626
+ if (output.statusCode >= 300) {
1627
+ return de_DescribeTrustStoresCommandError(output, context);
1628
+ }
1629
+ const data = await parseBody(output.body, context);
1630
+ let contents = {};
1631
+ contents = de_DescribeTrustStoresOutput(data.DescribeTrustStoresResult, context);
1632
+ const response = {
1633
+ $metadata: deserializeMetadata(output),
1634
+ ...contents,
1635
+ };
1636
+ return response;
1637
+ };
1638
+ exports.de_DescribeTrustStoresCommand = de_DescribeTrustStoresCommand;
1639
+ const de_DescribeTrustStoresCommandError = async (output, context) => {
1640
+ const parsedOutput = {
1641
+ ...output,
1642
+ body: await parseErrorBody(output.body, context),
1643
+ };
1644
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1645
+ switch (errorCode) {
1646
+ case "TrustStoreNotFound":
1647
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1648
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1649
+ default:
1650
+ const parsedBody = parsedOutput.body;
1651
+ return throwDefaultError({
1652
+ output,
1653
+ parsedBody: parsedBody.Error,
1654
+ errorCode,
1655
+ });
1656
+ }
1657
+ };
1658
+ const de_GetTrustStoreCaCertificatesBundleCommand = async (output, context) => {
1659
+ if (output.statusCode >= 300) {
1660
+ return de_GetTrustStoreCaCertificatesBundleCommandError(output, context);
1661
+ }
1662
+ const data = await parseBody(output.body, context);
1663
+ let contents = {};
1664
+ contents = de_GetTrustStoreCaCertificatesBundleOutput(data.GetTrustStoreCaCertificatesBundleResult, context);
1665
+ const response = {
1666
+ $metadata: deserializeMetadata(output),
1667
+ ...contents,
1668
+ };
1669
+ return response;
1670
+ };
1671
+ exports.de_GetTrustStoreCaCertificatesBundleCommand = de_GetTrustStoreCaCertificatesBundleCommand;
1672
+ const de_GetTrustStoreCaCertificatesBundleCommandError = async (output, context) => {
1673
+ const parsedOutput = {
1674
+ ...output,
1675
+ body: await parseErrorBody(output.body, context),
1676
+ };
1677
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1678
+ switch (errorCode) {
1679
+ case "TrustStoreNotFound":
1680
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1681
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1682
+ default:
1683
+ const parsedBody = parsedOutput.body;
1684
+ return throwDefaultError({
1685
+ output,
1686
+ parsedBody: parsedBody.Error,
1687
+ errorCode,
1688
+ });
1689
+ }
1690
+ };
1691
+ const de_GetTrustStoreRevocationContentCommand = async (output, context) => {
1692
+ if (output.statusCode >= 300) {
1693
+ return de_GetTrustStoreRevocationContentCommandError(output, context);
1694
+ }
1695
+ const data = await parseBody(output.body, context);
1696
+ let contents = {};
1697
+ contents = de_GetTrustStoreRevocationContentOutput(data.GetTrustStoreRevocationContentResult, context);
1698
+ const response = {
1699
+ $metadata: deserializeMetadata(output),
1700
+ ...contents,
1701
+ };
1702
+ return response;
1703
+ };
1704
+ exports.de_GetTrustStoreRevocationContentCommand = de_GetTrustStoreRevocationContentCommand;
1705
+ const de_GetTrustStoreRevocationContentCommandError = async (output, context) => {
1706
+ const parsedOutput = {
1707
+ ...output,
1708
+ body: await parseErrorBody(output.body, context),
1709
+ };
1710
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1711
+ switch (errorCode) {
1712
+ case "RevocationIdNotFound":
1713
+ case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
1714
+ throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
1715
+ case "TrustStoreNotFound":
1716
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1717
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1299
1718
  default:
1300
1719
  const parsedBody = parsedOutput.body;
1301
1720
  return throwDefaultError({
@@ -1374,6 +1793,12 @@ const de_ModifyListenerCommandError = async (output, context) => {
1374
1793
  case "TooManyUniqueTargetGroupsPerLoadBalancer":
1375
1794
  case "com.amazonaws.elasticloadbalancingv2#TooManyUniqueTargetGroupsPerLoadBalancerException":
1376
1795
  throw await de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes(parsedOutput, context);
1796
+ case "TrustStoreNotFound":
1797
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
1798
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1799
+ case "TrustStoreNotReady":
1800
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotReadyException":
1801
+ throw await de_TrustStoreNotReadyExceptionRes(parsedOutput, context);
1377
1802
  case "UnsupportedProtocol":
1378
1803
  case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
1379
1804
  throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
@@ -1557,6 +1982,45 @@ const de_ModifyTargetGroupAttributesCommandError = async (output, context) => {
1557
1982
  });
1558
1983
  }
1559
1984
  };
1985
+ const de_ModifyTrustStoreCommand = async (output, context) => {
1986
+ if (output.statusCode >= 300) {
1987
+ return de_ModifyTrustStoreCommandError(output, context);
1988
+ }
1989
+ const data = await parseBody(output.body, context);
1990
+ let contents = {};
1991
+ contents = de_ModifyTrustStoreOutput(data.ModifyTrustStoreResult, context);
1992
+ const response = {
1993
+ $metadata: deserializeMetadata(output),
1994
+ ...contents,
1995
+ };
1996
+ return response;
1997
+ };
1998
+ exports.de_ModifyTrustStoreCommand = de_ModifyTrustStoreCommand;
1999
+ const de_ModifyTrustStoreCommandError = async (output, context) => {
2000
+ const parsedOutput = {
2001
+ ...output,
2002
+ body: await parseErrorBody(output.body, context),
2003
+ };
2004
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2005
+ switch (errorCode) {
2006
+ case "CaCertificatesBundleNotFound":
2007
+ case "com.amazonaws.elasticloadbalancingv2#CaCertificatesBundleNotFoundException":
2008
+ throw await de_CaCertificatesBundleNotFoundExceptionRes(parsedOutput, context);
2009
+ case "InvalidCaCertificatesBundle":
2010
+ case "com.amazonaws.elasticloadbalancingv2#InvalidCaCertificatesBundleException":
2011
+ throw await de_InvalidCaCertificatesBundleExceptionRes(parsedOutput, context);
2012
+ case "TrustStoreNotFound":
2013
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
2014
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
2015
+ default:
2016
+ const parsedBody = parsedOutput.body;
2017
+ return throwDefaultError({
2018
+ output,
2019
+ parsedBody: parsedBody.Error,
2020
+ errorCode,
2021
+ });
2022
+ }
2023
+ };
1560
2024
  const de_RegisterTargetsCommand = async (output, context) => {
1561
2025
  if (output.statusCode >= 300) {
1562
2026
  return de_RegisterTargetsCommandError(output, context);
@@ -1671,6 +2135,45 @@ const de_RemoveTagsCommandError = async (output, context) => {
1671
2135
  case "TooManyTags":
1672
2136
  case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
1673
2137
  throw await de_TooManyTagsExceptionRes(parsedOutput, context);
2138
+ case "TrustStoreNotFound":
2139
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
2140
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
2141
+ default:
2142
+ const parsedBody = parsedOutput.body;
2143
+ return throwDefaultError({
2144
+ output,
2145
+ parsedBody: parsedBody.Error,
2146
+ errorCode,
2147
+ });
2148
+ }
2149
+ };
2150
+ const de_RemoveTrustStoreRevocationsCommand = async (output, context) => {
2151
+ if (output.statusCode >= 300) {
2152
+ return de_RemoveTrustStoreRevocationsCommandError(output, context);
2153
+ }
2154
+ const data = await parseBody(output.body, context);
2155
+ let contents = {};
2156
+ contents = de_RemoveTrustStoreRevocationsOutput(data.RemoveTrustStoreRevocationsResult, context);
2157
+ const response = {
2158
+ $metadata: deserializeMetadata(output),
2159
+ ...contents,
2160
+ };
2161
+ return response;
2162
+ };
2163
+ exports.de_RemoveTrustStoreRevocationsCommand = de_RemoveTrustStoreRevocationsCommand;
2164
+ const de_RemoveTrustStoreRevocationsCommandError = async (output, context) => {
2165
+ const parsedOutput = {
2166
+ ...output,
2167
+ body: await parseErrorBody(output.body, context),
2168
+ };
2169
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2170
+ switch (errorCode) {
2171
+ case "RevocationIdNotFound":
2172
+ case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
2173
+ throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
2174
+ case "TrustStoreNotFound":
2175
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
2176
+ throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
1674
2177
  default:
1675
2178
  const parsedBody = parsedOutput.body;
1676
2179
  return throwDefaultError({
@@ -1872,6 +2375,15 @@ const de_AvailabilityZoneNotSupportedExceptionRes = async (parsedOutput, context
1872
2375
  });
1873
2376
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1874
2377
  };
2378
+ const de_CaCertificatesBundleNotFoundExceptionRes = async (parsedOutput, context) => {
2379
+ const body = parsedOutput.body;
2380
+ const deserialized = de_CaCertificatesBundleNotFoundException(body.Error, context);
2381
+ const exception = new models_0_1.CaCertificatesBundleNotFoundException({
2382
+ $metadata: deserializeMetadata(parsedOutput),
2383
+ ...deserialized,
2384
+ });
2385
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2386
+ };
1875
2387
  const de_CertificateNotFoundExceptionRes = async (parsedOutput, context) => {
1876
2388
  const body = parsedOutput.body;
1877
2389
  const deserialized = de_CertificateNotFoundException(body.Error, context);
@@ -1917,6 +2429,15 @@ const de_DuplicateTargetGroupNameExceptionRes = async (parsedOutput, context) =>
1917
2429
  });
1918
2430
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1919
2431
  };
2432
+ const de_DuplicateTrustStoreNameExceptionRes = async (parsedOutput, context) => {
2433
+ const body = parsedOutput.body;
2434
+ const deserialized = de_DuplicateTrustStoreNameException(body.Error, context);
2435
+ const exception = new models_0_1.DuplicateTrustStoreNameException({
2436
+ $metadata: deserializeMetadata(parsedOutput),
2437
+ ...deserialized,
2438
+ });
2439
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2440
+ };
1920
2441
  const de_HealthUnavailableExceptionRes = async (parsedOutput, context) => {
1921
2442
  const body = parsedOutput.body;
1922
2443
  const deserialized = de_HealthUnavailableException(body.Error, context);
@@ -1935,6 +2456,15 @@ const de_IncompatibleProtocolsExceptionRes = async (parsedOutput, context) => {
1935
2456
  });
1936
2457
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1937
2458
  };
2459
+ const de_InvalidCaCertificatesBundleExceptionRes = async (parsedOutput, context) => {
2460
+ const body = parsedOutput.body;
2461
+ const deserialized = de_InvalidCaCertificatesBundleException(body.Error, context);
2462
+ const exception = new models_0_1.InvalidCaCertificatesBundleException({
2463
+ $metadata: deserializeMetadata(parsedOutput),
2464
+ ...deserialized,
2465
+ });
2466
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2467
+ };
1938
2468
  const de_InvalidConfigurationRequestExceptionRes = async (parsedOutput, context) => {
1939
2469
  const body = parsedOutput.body;
1940
2470
  const deserialized = de_InvalidConfigurationRequestException(body.Error, context);
@@ -1953,6 +2483,15 @@ const de_InvalidLoadBalancerActionExceptionRes = async (parsedOutput, context) =
1953
2483
  });
1954
2484
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1955
2485
  };
2486
+ const de_InvalidRevocationContentExceptionRes = async (parsedOutput, context) => {
2487
+ const body = parsedOutput.body;
2488
+ const deserialized = de_InvalidRevocationContentException(body.Error, context);
2489
+ const exception = new models_0_1.InvalidRevocationContentException({
2490
+ $metadata: deserializeMetadata(parsedOutput),
2491
+ ...deserialized,
2492
+ });
2493
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2494
+ };
1956
2495
  const de_InvalidSchemeExceptionRes = async (parsedOutput, context) => {
1957
2496
  const body = parsedOutput.body;
1958
2497
  const deserialized = de_InvalidSchemeException(body.Error, context);
@@ -2034,6 +2573,24 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
2034
2573
  });
2035
2574
  return (0, smithy_client_1.decorateServiceException)(exception, body);
2036
2575
  };
2576
+ const de_RevocationContentNotFoundExceptionRes = async (parsedOutput, context) => {
2577
+ const body = parsedOutput.body;
2578
+ const deserialized = de_RevocationContentNotFoundException(body.Error, context);
2579
+ const exception = new models_0_1.RevocationContentNotFoundException({
2580
+ $metadata: deserializeMetadata(parsedOutput),
2581
+ ...deserialized,
2582
+ });
2583
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2584
+ };
2585
+ const de_RevocationIdNotFoundExceptionRes = async (parsedOutput, context) => {
2586
+ const body = parsedOutput.body;
2587
+ const deserialized = de_RevocationIdNotFoundException(body.Error, context);
2588
+ const exception = new models_0_1.RevocationIdNotFoundException({
2589
+ $metadata: deserializeMetadata(parsedOutput),
2590
+ ...deserialized,
2591
+ });
2592
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2593
+ };
2037
2594
  const de_RuleNotFoundExceptionRes = async (parsedOutput, context) => {
2038
2595
  const body = parsedOutput.body;
2039
2596
  const deserialized = de_RuleNotFoundException(body.Error, context);
@@ -2160,6 +2717,24 @@ const de_TooManyTargetsExceptionRes = async (parsedOutput, context) => {
2160
2717
  });
2161
2718
  return (0, smithy_client_1.decorateServiceException)(exception, body);
2162
2719
  };
2720
+ const de_TooManyTrustStoreRevocationEntriesExceptionRes = async (parsedOutput, context) => {
2721
+ const body = parsedOutput.body;
2722
+ const deserialized = de_TooManyTrustStoreRevocationEntriesException(body.Error, context);
2723
+ const exception = new models_0_1.TooManyTrustStoreRevocationEntriesException({
2724
+ $metadata: deserializeMetadata(parsedOutput),
2725
+ ...deserialized,
2726
+ });
2727
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2728
+ };
2729
+ const de_TooManyTrustStoresExceptionRes = async (parsedOutput, context) => {
2730
+ const body = parsedOutput.body;
2731
+ const deserialized = de_TooManyTrustStoresException(body.Error, context);
2732
+ const exception = new models_0_1.TooManyTrustStoresException({
2733
+ $metadata: deserializeMetadata(parsedOutput),
2734
+ ...deserialized,
2735
+ });
2736
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2737
+ };
2163
2738
  const de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes = async (parsedOutput, context) => {
2164
2739
  const body = parsedOutput.body;
2165
2740
  const deserialized = de_TooManyUniqueTargetGroupsPerLoadBalancerException(body.Error, context);
@@ -2169,6 +2744,33 @@ const de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes = async (parsedOut
2169
2744
  });
2170
2745
  return (0, smithy_client_1.decorateServiceException)(exception, body);
2171
2746
  };
2747
+ const de_TrustStoreInUseExceptionRes = async (parsedOutput, context) => {
2748
+ const body = parsedOutput.body;
2749
+ const deserialized = de_TrustStoreInUseException(body.Error, context);
2750
+ const exception = new models_0_1.TrustStoreInUseException({
2751
+ $metadata: deserializeMetadata(parsedOutput),
2752
+ ...deserialized,
2753
+ });
2754
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2755
+ };
2756
+ const de_TrustStoreNotFoundExceptionRes = async (parsedOutput, context) => {
2757
+ const body = parsedOutput.body;
2758
+ const deserialized = de_TrustStoreNotFoundException(body.Error, context);
2759
+ const exception = new models_0_1.TrustStoreNotFoundException({
2760
+ $metadata: deserializeMetadata(parsedOutput),
2761
+ ...deserialized,
2762
+ });
2763
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2764
+ };
2765
+ const de_TrustStoreNotReadyExceptionRes = async (parsedOutput, context) => {
2766
+ const body = parsedOutput.body;
2767
+ const deserialized = de_TrustStoreNotReadyException(body.Error, context);
2768
+ const exception = new models_0_1.TrustStoreNotReadyException({
2769
+ $metadata: deserializeMetadata(parsedOutput),
2770
+ ...deserialized,
2771
+ });
2772
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2773
+ };
2172
2774
  const de_UnsupportedProtocolExceptionRes = async (parsedOutput, context) => {
2173
2775
  const body = parsedOutput.body;
2174
2776
  const deserialized = de_UnsupportedProtocolException(body.Error, context);
@@ -2282,6 +2884,23 @@ const se_AddTagsInput = (input, context) => {
2282
2884
  }
2283
2885
  return entries;
2284
2886
  };
2887
+ const se_AddTrustStoreRevocationsInput = (input, context) => {
2888
+ const entries = {};
2889
+ if (input.TrustStoreArn != null) {
2890
+ entries["TrustStoreArn"] = input.TrustStoreArn;
2891
+ }
2892
+ if (input.RevocationContents != null) {
2893
+ const memberEntries = se_RevocationContents(input.RevocationContents, context);
2894
+ if (input.RevocationContents?.length === 0) {
2895
+ entries.RevocationContents = [];
2896
+ }
2897
+ Object.entries(memberEntries).forEach(([key, value]) => {
2898
+ const loc = `RevocationContents.${key}`;
2899
+ entries[loc] = value;
2900
+ });
2901
+ }
2902
+ return entries;
2903
+ };
2285
2904
  const se_AlpnPolicyName = (input, context) => {
2286
2905
  const entries = {};
2287
2906
  let counter = 1;
@@ -2473,6 +3092,13 @@ const se_CreateListenerInput = (input, context) => {
2473
3092
  entries[loc] = value;
2474
3093
  });
2475
3094
  }
3095
+ if (input.MutualAuthentication != null) {
3096
+ const memberEntries = se_MutualAuthenticationAttributes(input.MutualAuthentication, context);
3097
+ Object.entries(memberEntries).forEach(([key, value]) => {
3098
+ const loc = `MutualAuthentication.${key}`;
3099
+ entries[loc] = value;
3100
+ });
3101
+ }
2476
3102
  return entries;
2477
3103
  };
2478
3104
  const se_CreateLoadBalancerInput = (input, context) => {
@@ -2640,6 +3266,32 @@ const se_CreateTargetGroupInput = (input, context) => {
2640
3266
  }
2641
3267
  return entries;
2642
3268
  };
3269
+ const se_CreateTrustStoreInput = (input, context) => {
3270
+ const entries = {};
3271
+ if (input.Name != null) {
3272
+ entries["Name"] = input.Name;
3273
+ }
3274
+ if (input.CaCertificatesBundleS3Bucket != null) {
3275
+ entries["CaCertificatesBundleS3Bucket"] = input.CaCertificatesBundleS3Bucket;
3276
+ }
3277
+ if (input.CaCertificatesBundleS3Key != null) {
3278
+ entries["CaCertificatesBundleS3Key"] = input.CaCertificatesBundleS3Key;
3279
+ }
3280
+ if (input.CaCertificatesBundleS3ObjectVersion != null) {
3281
+ entries["CaCertificatesBundleS3ObjectVersion"] = input.CaCertificatesBundleS3ObjectVersion;
3282
+ }
3283
+ if (input.Tags != null) {
3284
+ const memberEntries = se_TagList(input.Tags, context);
3285
+ if (input.Tags?.length === 0) {
3286
+ entries.Tags = [];
3287
+ }
3288
+ Object.entries(memberEntries).forEach(([key, value]) => {
3289
+ const loc = `Tags.${key}`;
3290
+ entries[loc] = value;
3291
+ });
3292
+ }
3293
+ return entries;
3294
+ };
2643
3295
  const se_DeleteListenerInput = (input, context) => {
2644
3296
  const entries = {};
2645
3297
  if (input.ListenerArn != null) {
@@ -2668,6 +3320,13 @@ const se_DeleteTargetGroupInput = (input, context) => {
2668
3320
  }
2669
3321
  return entries;
2670
3322
  };
3323
+ const se_DeleteTrustStoreInput = (input, context) => {
3324
+ const entries = {};
3325
+ if (input.TrustStoreArn != null) {
3326
+ entries["TrustStoreArn"] = input.TrustStoreArn;
3327
+ }
3328
+ return entries;
3329
+ };
2671
3330
  const se_DeregisterTargetsInput = (input, context) => {
2672
3331
  const entries = {};
2673
3332
  if (input.TargetGroupArn != null) {
@@ -2883,6 +3542,82 @@ const se_DescribeTargetHealthInput = (input, context) => {
2883
3542
  entries[loc] = value;
2884
3543
  });
2885
3544
  }
3545
+ if (input.Include != null) {
3546
+ const memberEntries = se_ListOfDescribeTargetHealthIncludeOptions(input.Include, context);
3547
+ if (input.Include?.length === 0) {
3548
+ entries.Include = [];
3549
+ }
3550
+ Object.entries(memberEntries).forEach(([key, value]) => {
3551
+ const loc = `Include.${key}`;
3552
+ entries[loc] = value;
3553
+ });
3554
+ }
3555
+ return entries;
3556
+ };
3557
+ const se_DescribeTrustStoreAssociationsInput = (input, context) => {
3558
+ const entries = {};
3559
+ if (input.TrustStoreArn != null) {
3560
+ entries["TrustStoreArn"] = input.TrustStoreArn;
3561
+ }
3562
+ if (input.Marker != null) {
3563
+ entries["Marker"] = input.Marker;
3564
+ }
3565
+ if (input.PageSize != null) {
3566
+ entries["PageSize"] = input.PageSize;
3567
+ }
3568
+ return entries;
3569
+ };
3570
+ const se_DescribeTrustStoreRevocationsInput = (input, context) => {
3571
+ const entries = {};
3572
+ if (input.TrustStoreArn != null) {
3573
+ entries["TrustStoreArn"] = input.TrustStoreArn;
3574
+ }
3575
+ if (input.RevocationIds != null) {
3576
+ const memberEntries = se_RevocationIds(input.RevocationIds, context);
3577
+ if (input.RevocationIds?.length === 0) {
3578
+ entries.RevocationIds = [];
3579
+ }
3580
+ Object.entries(memberEntries).forEach(([key, value]) => {
3581
+ const loc = `RevocationIds.${key}`;
3582
+ entries[loc] = value;
3583
+ });
3584
+ }
3585
+ if (input.Marker != null) {
3586
+ entries["Marker"] = input.Marker;
3587
+ }
3588
+ if (input.PageSize != null) {
3589
+ entries["PageSize"] = input.PageSize;
3590
+ }
3591
+ return entries;
3592
+ };
3593
+ const se_DescribeTrustStoresInput = (input, context) => {
3594
+ const entries = {};
3595
+ if (input.TrustStoreArns != null) {
3596
+ const memberEntries = se_TrustStoreArns(input.TrustStoreArns, context);
3597
+ if (input.TrustStoreArns?.length === 0) {
3598
+ entries.TrustStoreArns = [];
3599
+ }
3600
+ Object.entries(memberEntries).forEach(([key, value]) => {
3601
+ const loc = `TrustStoreArns.${key}`;
3602
+ entries[loc] = value;
3603
+ });
3604
+ }
3605
+ if (input.Names != null) {
3606
+ const memberEntries = se_TrustStoreNames(input.Names, context);
3607
+ if (input.Names?.length === 0) {
3608
+ entries.Names = [];
3609
+ }
3610
+ Object.entries(memberEntries).forEach(([key, value]) => {
3611
+ const loc = `Names.${key}`;
3612
+ entries[loc] = value;
3613
+ });
3614
+ }
3615
+ if (input.Marker != null) {
3616
+ entries["Marker"] = input.Marker;
3617
+ }
3618
+ if (input.PageSize != null) {
3619
+ entries["PageSize"] = input.PageSize;
3620
+ }
2886
3621
  return entries;
2887
3622
  };
2888
3623
  const se_FixedResponseActionConfig = (input, context) => {
@@ -2919,6 +3654,23 @@ const se_ForwardActionConfig = (input, context) => {
2919
3654
  }
2920
3655
  return entries;
2921
3656
  };
3657
+ const se_GetTrustStoreCaCertificatesBundleInput = (input, context) => {
3658
+ const entries = {};
3659
+ if (input.TrustStoreArn != null) {
3660
+ entries["TrustStoreArn"] = input.TrustStoreArn;
3661
+ }
3662
+ return entries;
3663
+ };
3664
+ const se_GetTrustStoreRevocationContentInput = (input, context) => {
3665
+ const entries = {};
3666
+ if (input.TrustStoreArn != null) {
3667
+ entries["TrustStoreArn"] = input.TrustStoreArn;
3668
+ }
3669
+ if (input.RevocationId != null) {
3670
+ entries["RevocationId"] = input.RevocationId;
3671
+ }
3672
+ return entries;
3673
+ };
2922
3674
  const se_HostHeaderConditionConfig = (input, context) => {
2923
3675
  const entries = {};
2924
3676
  if (input.Values != null) {
@@ -2976,6 +3728,18 @@ const se_ListenerArns = (input, context) => {
2976
3728
  }
2977
3729
  return entries;
2978
3730
  };
3731
+ const se_ListOfDescribeTargetHealthIncludeOptions = (input, context) => {
3732
+ const entries = {};
3733
+ let counter = 1;
3734
+ for (const entry of input) {
3735
+ if (entry === null) {
3736
+ continue;
3737
+ }
3738
+ entries[`member.${counter}`] = entry;
3739
+ counter++;
3740
+ }
3741
+ return entries;
3742
+ };
2979
3743
  const se_ListOfString = (input, context) => {
2980
3744
  const entries = {};
2981
3745
  let counter = 1;
@@ -3091,6 +3855,13 @@ const se_ModifyListenerInput = (input, context) => {
3091
3855
  entries[loc] = value;
3092
3856
  });
3093
3857
  }
3858
+ if (input.MutualAuthentication != null) {
3859
+ const memberEntries = se_MutualAuthenticationAttributes(input.MutualAuthentication, context);
3860
+ Object.entries(memberEntries).forEach(([key, value]) => {
3861
+ const loc = `MutualAuthentication.${key}`;
3862
+ entries[loc] = value;
3863
+ });
3864
+ }
3094
3865
  return entries;
3095
3866
  };
3096
3867
  const se_ModifyLoadBalancerAttributesInput = (input, context) => {
@@ -3180,15 +3951,44 @@ const se_ModifyTargetGroupInput = (input, context) => {
3180
3951
  if (input.HealthyThresholdCount != null) {
3181
3952
  entries["HealthyThresholdCount"] = input.HealthyThresholdCount;
3182
3953
  }
3183
- if (input.UnhealthyThresholdCount != null) {
3184
- entries["UnhealthyThresholdCount"] = input.UnhealthyThresholdCount;
3954
+ if (input.UnhealthyThresholdCount != null) {
3955
+ entries["UnhealthyThresholdCount"] = input.UnhealthyThresholdCount;
3956
+ }
3957
+ if (input.Matcher != null) {
3958
+ const memberEntries = se_Matcher(input.Matcher, context);
3959
+ Object.entries(memberEntries).forEach(([key, value]) => {
3960
+ const loc = `Matcher.${key}`;
3961
+ entries[loc] = value;
3962
+ });
3963
+ }
3964
+ return entries;
3965
+ };
3966
+ const se_ModifyTrustStoreInput = (input, context) => {
3967
+ const entries = {};
3968
+ if (input.TrustStoreArn != null) {
3969
+ entries["TrustStoreArn"] = input.TrustStoreArn;
3970
+ }
3971
+ if (input.CaCertificatesBundleS3Bucket != null) {
3972
+ entries["CaCertificatesBundleS3Bucket"] = input.CaCertificatesBundleS3Bucket;
3973
+ }
3974
+ if (input.CaCertificatesBundleS3Key != null) {
3975
+ entries["CaCertificatesBundleS3Key"] = input.CaCertificatesBundleS3Key;
3976
+ }
3977
+ if (input.CaCertificatesBundleS3ObjectVersion != null) {
3978
+ entries["CaCertificatesBundleS3ObjectVersion"] = input.CaCertificatesBundleS3ObjectVersion;
3979
+ }
3980
+ return entries;
3981
+ };
3982
+ const se_MutualAuthenticationAttributes = (input, context) => {
3983
+ const entries = {};
3984
+ if (input.Mode != null) {
3985
+ entries["Mode"] = input.Mode;
3185
3986
  }
3186
- if (input.Matcher != null) {
3187
- const memberEntries = se_Matcher(input.Matcher, context);
3188
- Object.entries(memberEntries).forEach(([key, value]) => {
3189
- const loc = `Matcher.${key}`;
3190
- entries[loc] = value;
3191
- });
3987
+ if (input.TrustStoreArn != null) {
3988
+ entries["TrustStoreArn"] = input.TrustStoreArn;
3989
+ }
3990
+ if (input.IgnoreClientCertificateExpiry != null) {
3991
+ entries["IgnoreClientCertificateExpiry"] = input.IgnoreClientCertificateExpiry;
3192
3992
  }
3193
3993
  return entries;
3194
3994
  };
@@ -3325,6 +4125,23 @@ const se_RemoveTagsInput = (input, context) => {
3325
4125
  }
3326
4126
  return entries;
3327
4127
  };
4128
+ const se_RemoveTrustStoreRevocationsInput = (input, context) => {
4129
+ const entries = {};
4130
+ if (input.TrustStoreArn != null) {
4131
+ entries["TrustStoreArn"] = input.TrustStoreArn;
4132
+ }
4133
+ if (input.RevocationIds != null) {
4134
+ const memberEntries = se_RevocationIds(input.RevocationIds, context);
4135
+ if (input.RevocationIds?.length === 0) {
4136
+ entries.RevocationIds = [];
4137
+ }
4138
+ Object.entries(memberEntries).forEach(([key, value]) => {
4139
+ const loc = `RevocationIds.${key}`;
4140
+ entries[loc] = value;
4141
+ });
4142
+ }
4143
+ return entries;
4144
+ };
3328
4145
  const se_ResourceArns = (input, context) => {
3329
4146
  const entries = {};
3330
4147
  let counter = 1;
@@ -3337,6 +4154,49 @@ const se_ResourceArns = (input, context) => {
3337
4154
  }
3338
4155
  return entries;
3339
4156
  };
4157
+ const se_RevocationContent = (input, context) => {
4158
+ const entries = {};
4159
+ if (input.S3Bucket != null) {
4160
+ entries["S3Bucket"] = input.S3Bucket;
4161
+ }
4162
+ if (input.S3Key != null) {
4163
+ entries["S3Key"] = input.S3Key;
4164
+ }
4165
+ if (input.S3ObjectVersion != null) {
4166
+ entries["S3ObjectVersion"] = input.S3ObjectVersion;
4167
+ }
4168
+ if (input.RevocationType != null) {
4169
+ entries["RevocationType"] = input.RevocationType;
4170
+ }
4171
+ return entries;
4172
+ };
4173
+ const se_RevocationContents = (input, context) => {
4174
+ const entries = {};
4175
+ let counter = 1;
4176
+ for (const entry of input) {
4177
+ if (entry === null) {
4178
+ continue;
4179
+ }
4180
+ const memberEntries = se_RevocationContent(entry, context);
4181
+ Object.entries(memberEntries).forEach(([key, value]) => {
4182
+ entries[`member.${counter}.${key}`] = value;
4183
+ });
4184
+ counter++;
4185
+ }
4186
+ return entries;
4187
+ };
4188
+ const se_RevocationIds = (input, context) => {
4189
+ const entries = {};
4190
+ let counter = 1;
4191
+ for (const entry of input) {
4192
+ if (entry === null) {
4193
+ continue;
4194
+ }
4195
+ entries[`member.${counter}`] = entry;
4196
+ counter++;
4197
+ }
4198
+ return entries;
4199
+ };
3340
4200
  const se_RuleArns = (input, context) => {
3341
4201
  const entries = {};
3342
4202
  let counter = 1;
@@ -3753,6 +4613,30 @@ const se_TargetGroupTuple = (input, context) => {
3753
4613
  }
3754
4614
  return entries;
3755
4615
  };
4616
+ const se_TrustStoreArns = (input, context) => {
4617
+ const entries = {};
4618
+ let counter = 1;
4619
+ for (const entry of input) {
4620
+ if (entry === null) {
4621
+ continue;
4622
+ }
4623
+ entries[`member.${counter}`] = entry;
4624
+ counter++;
4625
+ }
4626
+ return entries;
4627
+ };
4628
+ const se_TrustStoreNames = (input, context) => {
4629
+ const entries = {};
4630
+ let counter = 1;
4631
+ for (const entry of input) {
4632
+ if (entry === null) {
4633
+ continue;
4634
+ }
4635
+ entries[`member.${counter}`] = entry;
4636
+ counter++;
4637
+ }
4638
+ return entries;
4639
+ };
3756
4640
  const de_Action = (output, context) => {
3757
4641
  const contents = {};
3758
4642
  if (output["Type"] !== undefined) {
@@ -3802,6 +4686,16 @@ const de_AddTagsOutput = (output, context) => {
3802
4686
  const contents = {};
3803
4687
  return contents;
3804
4688
  };
4689
+ const de_AddTrustStoreRevocationsOutput = (output, context) => {
4690
+ const contents = {};
4691
+ if (output.TrustStoreRevocations === "") {
4692
+ contents.TrustStoreRevocations = [];
4693
+ }
4694
+ else if (output["TrustStoreRevocations"] !== undefined && output["TrustStoreRevocations"]["member"] !== undefined) {
4695
+ contents.TrustStoreRevocations = de_TrustStoreRevocations((0, smithy_client_1.getArrayIfSingleItem)(output["TrustStoreRevocations"]["member"]), context);
4696
+ }
4697
+ return contents;
4698
+ };
3805
4699
  const de_AllocationIdNotFoundException = (output, context) => {
3806
4700
  const contents = {};
3807
4701
  if (output["Message"] !== undefined) {
@@ -3823,6 +4717,16 @@ const de_ALPNPolicyNotSupportedException = (output, context) => {
3823
4717
  }
3824
4718
  return contents;
3825
4719
  };
4720
+ const de_AnomalyDetection = (output, context) => {
4721
+ const contents = {};
4722
+ if (output["Result"] !== undefined) {
4723
+ contents.Result = (0, smithy_client_1.expectString)(output["Result"]);
4724
+ }
4725
+ if (output["MitigationInEffect"] !== undefined) {
4726
+ contents.MitigationInEffect = (0, smithy_client_1.expectString)(output["MitigationInEffect"]);
4727
+ }
4728
+ return contents;
4729
+ };
3826
4730
  const de_AuthenticateCognitoActionAuthenticationRequestExtraParams = (output, context) => {
3827
4731
  return output.reduce((acc, pair) => {
3828
4732
  if (pair["value"] === null) {
@@ -3950,6 +4854,13 @@ const de_AvailabilityZones = (output, context) => {
3950
4854
  return de_AvailabilityZone(entry, context);
3951
4855
  });
3952
4856
  };
4857
+ const de_CaCertificatesBundleNotFoundException = (output, context) => {
4858
+ const contents = {};
4859
+ if (output["Message"] !== undefined) {
4860
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
4861
+ }
4862
+ return contents;
4863
+ };
3953
4864
  const de_Certificate = (output, context) => {
3954
4865
  const contents = {};
3955
4866
  if (output["CertificateArn"] !== undefined) {
@@ -4031,6 +4942,16 @@ const de_CreateTargetGroupOutput = (output, context) => {
4031
4942
  }
4032
4943
  return contents;
4033
4944
  };
4945
+ const de_CreateTrustStoreOutput = (output, context) => {
4946
+ const contents = {};
4947
+ if (output.TrustStores === "") {
4948
+ contents.TrustStores = [];
4949
+ }
4950
+ else if (output["TrustStores"] !== undefined && output["TrustStores"]["member"] !== undefined) {
4951
+ contents.TrustStores = de_TrustStores((0, smithy_client_1.getArrayIfSingleItem)(output["TrustStores"]["member"]), context);
4952
+ }
4953
+ return contents;
4954
+ };
4034
4955
  const de_DeleteListenerOutput = (output, context) => {
4035
4956
  const contents = {};
4036
4957
  return contents;
@@ -4047,6 +4968,10 @@ const de_DeleteTargetGroupOutput = (output, context) => {
4047
4968
  const contents = {};
4048
4969
  return contents;
4049
4970
  };
4971
+ const de_DeleteTrustStoreOutput = (output, context) => {
4972
+ const contents = {};
4973
+ return contents;
4974
+ };
4050
4975
  const de_DeregisterTargetsOutput = (output, context) => {
4051
4976
  const contents = {};
4052
4977
  return contents;
@@ -4183,6 +5108,69 @@ const de_DescribeTargetHealthOutput = (output, context) => {
4183
5108
  }
4184
5109
  return contents;
4185
5110
  };
5111
+ const de_DescribeTrustStoreAssociationsOutput = (output, context) => {
5112
+ const contents = {};
5113
+ if (output.TrustStoreAssociations === "") {
5114
+ contents.TrustStoreAssociations = [];
5115
+ }
5116
+ else if (output["TrustStoreAssociations"] !== undefined &&
5117
+ output["TrustStoreAssociations"]["member"] !== undefined) {
5118
+ contents.TrustStoreAssociations = de_TrustStoreAssociations((0, smithy_client_1.getArrayIfSingleItem)(output["TrustStoreAssociations"]["member"]), context);
5119
+ }
5120
+ if (output["NextMarker"] !== undefined) {
5121
+ contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
5122
+ }
5123
+ return contents;
5124
+ };
5125
+ const de_DescribeTrustStoreRevocation = (output, context) => {
5126
+ const contents = {};
5127
+ if (output["TrustStoreArn"] !== undefined) {
5128
+ contents.TrustStoreArn = (0, smithy_client_1.expectString)(output["TrustStoreArn"]);
5129
+ }
5130
+ if (output["RevocationId"] !== undefined) {
5131
+ contents.RevocationId = (0, smithy_client_1.strictParseLong)(output["RevocationId"]);
5132
+ }
5133
+ if (output["RevocationType"] !== undefined) {
5134
+ contents.RevocationType = (0, smithy_client_1.expectString)(output["RevocationType"]);
5135
+ }
5136
+ if (output["NumberOfRevokedEntries"] !== undefined) {
5137
+ contents.NumberOfRevokedEntries = (0, smithy_client_1.strictParseLong)(output["NumberOfRevokedEntries"]);
5138
+ }
5139
+ return contents;
5140
+ };
5141
+ const de_DescribeTrustStoreRevocationResponse = (output, context) => {
5142
+ return (output || [])
5143
+ .filter((e) => e != null)
5144
+ .map((entry) => {
5145
+ return de_DescribeTrustStoreRevocation(entry, context);
5146
+ });
5147
+ };
5148
+ const de_DescribeTrustStoreRevocationsOutput = (output, context) => {
5149
+ const contents = {};
5150
+ if (output.TrustStoreRevocations === "") {
5151
+ contents.TrustStoreRevocations = [];
5152
+ }
5153
+ else if (output["TrustStoreRevocations"] !== undefined && output["TrustStoreRevocations"]["member"] !== undefined) {
5154
+ contents.TrustStoreRevocations = de_DescribeTrustStoreRevocationResponse((0, smithy_client_1.getArrayIfSingleItem)(output["TrustStoreRevocations"]["member"]), context);
5155
+ }
5156
+ if (output["NextMarker"] !== undefined) {
5157
+ contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
5158
+ }
5159
+ return contents;
5160
+ };
5161
+ const de_DescribeTrustStoresOutput = (output, context) => {
5162
+ const contents = {};
5163
+ if (output.TrustStores === "") {
5164
+ contents.TrustStores = [];
5165
+ }
5166
+ else if (output["TrustStores"] !== undefined && output["TrustStores"]["member"] !== undefined) {
5167
+ contents.TrustStores = de_TrustStores((0, smithy_client_1.getArrayIfSingleItem)(output["TrustStores"]["member"]), context);
5168
+ }
5169
+ if (output["NextMarker"] !== undefined) {
5170
+ contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
5171
+ }
5172
+ return contents;
5173
+ };
4186
5174
  const de_DuplicateListenerException = (output, context) => {
4187
5175
  const contents = {};
4188
5176
  if (output["Message"] !== undefined) {
@@ -4211,6 +5199,13 @@ const de_DuplicateTargetGroupNameException = (output, context) => {
4211
5199
  }
4212
5200
  return contents;
4213
5201
  };
5202
+ const de_DuplicateTrustStoreNameException = (output, context) => {
5203
+ const contents = {};
5204
+ if (output["Message"] !== undefined) {
5205
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
5206
+ }
5207
+ return contents;
5208
+ };
4214
5209
  const de_FixedResponseActionConfig = (output, context) => {
4215
5210
  const contents = {};
4216
5211
  if (output["MessageBody"] !== undefined) {
@@ -4237,6 +5232,20 @@ const de_ForwardActionConfig = (output, context) => {
4237
5232
  }
4238
5233
  return contents;
4239
5234
  };
5235
+ const de_GetTrustStoreCaCertificatesBundleOutput = (output, context) => {
5236
+ const contents = {};
5237
+ if (output["Location"] !== undefined) {
5238
+ contents.Location = (0, smithy_client_1.expectString)(output["Location"]);
5239
+ }
5240
+ return contents;
5241
+ };
5242
+ const de_GetTrustStoreRevocationContentOutput = (output, context) => {
5243
+ const contents = {};
5244
+ if (output["Location"] !== undefined) {
5245
+ contents.Location = (0, smithy_client_1.expectString)(output["Location"]);
5246
+ }
5247
+ return contents;
5248
+ };
4240
5249
  const de_HealthUnavailableException = (output, context) => {
4241
5250
  const contents = {};
4242
5251
  if (output["Message"] !== undefined) {
@@ -4284,6 +5293,13 @@ const de_IncompatibleProtocolsException = (output, context) => {
4284
5293
  }
4285
5294
  return contents;
4286
5295
  };
5296
+ const de_InvalidCaCertificatesBundleException = (output, context) => {
5297
+ const contents = {};
5298
+ if (output["Message"] !== undefined) {
5299
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
5300
+ }
5301
+ return contents;
5302
+ };
4287
5303
  const de_InvalidConfigurationRequestException = (output, context) => {
4288
5304
  const contents = {};
4289
5305
  if (output["Message"] !== undefined) {
@@ -4298,6 +5314,13 @@ const de_InvalidLoadBalancerActionException = (output, context) => {
4298
5314
  }
4299
5315
  return contents;
4300
5316
  };
5317
+ const de_InvalidRevocationContentException = (output, context) => {
5318
+ const contents = {};
5319
+ if (output["Message"] !== undefined) {
5320
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
5321
+ }
5322
+ return contents;
5323
+ };
4301
5324
  const de_InvalidSchemeException = (output, context) => {
4302
5325
  const contents = {};
4303
5326
  if (output["Message"] !== undefined) {
@@ -4378,6 +5401,9 @@ const de_Listener = (output, context) => {
4378
5401
  else if (output["AlpnPolicy"] !== undefined && output["AlpnPolicy"]["member"] !== undefined) {
4379
5402
  contents.AlpnPolicy = de_AlpnPolicyName((0, smithy_client_1.getArrayIfSingleItem)(output["AlpnPolicy"]["member"]), context);
4380
5403
  }
5404
+ if (output["MutualAuthentication"] !== undefined) {
5405
+ contents.MutualAuthentication = de_MutualAuthenticationAttributes(output["MutualAuthentication"], context);
5406
+ }
4381
5407
  return contents;
4382
5408
  };
4383
5409
  const de_ListenerNotFoundException = (output, context) => {
@@ -4584,6 +5610,29 @@ const de_ModifyTargetGroupOutput = (output, context) => {
4584
5610
  }
4585
5611
  return contents;
4586
5612
  };
5613
+ const de_ModifyTrustStoreOutput = (output, context) => {
5614
+ const contents = {};
5615
+ if (output.TrustStores === "") {
5616
+ contents.TrustStores = [];
5617
+ }
5618
+ else if (output["TrustStores"] !== undefined && output["TrustStores"]["member"] !== undefined) {
5619
+ contents.TrustStores = de_TrustStores((0, smithy_client_1.getArrayIfSingleItem)(output["TrustStores"]["member"]), context);
5620
+ }
5621
+ return contents;
5622
+ };
5623
+ const de_MutualAuthenticationAttributes = (output, context) => {
5624
+ const contents = {};
5625
+ if (output["Mode"] !== undefined) {
5626
+ contents.Mode = (0, smithy_client_1.expectString)(output["Mode"]);
5627
+ }
5628
+ if (output["TrustStoreArn"] !== undefined) {
5629
+ contents.TrustStoreArn = (0, smithy_client_1.expectString)(output["TrustStoreArn"]);
5630
+ }
5631
+ if (output["IgnoreClientCertificateExpiry"] !== undefined) {
5632
+ contents.IgnoreClientCertificateExpiry = (0, smithy_client_1.parseBoolean)(output["IgnoreClientCertificateExpiry"]);
5633
+ }
5634
+ return contents;
5635
+ };
4587
5636
  const de_OperationNotPermittedException = (output, context) => {
4588
5637
  const contents = {};
4589
5638
  if (output["Message"] !== undefined) {
@@ -4669,6 +5718,10 @@ const de_RemoveTagsOutput = (output, context) => {
4669
5718
  const contents = {};
4670
5719
  return contents;
4671
5720
  };
5721
+ const de_RemoveTrustStoreRevocationsOutput = (output, context) => {
5722
+ const contents = {};
5723
+ return contents;
5724
+ };
4672
5725
  const de_ResourceInUseException = (output, context) => {
4673
5726
  const contents = {};
4674
5727
  if (output["Message"] !== undefined) {
@@ -4676,6 +5729,20 @@ const de_ResourceInUseException = (output, context) => {
4676
5729
  }
4677
5730
  return contents;
4678
5731
  };
5732
+ const de_RevocationContentNotFoundException = (output, context) => {
5733
+ const contents = {};
5734
+ if (output["Message"] !== undefined) {
5735
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
5736
+ }
5737
+ return contents;
5738
+ };
5739
+ const de_RevocationIdNotFoundException = (output, context) => {
5740
+ const contents = {};
5741
+ if (output["Message"] !== undefined) {
5742
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
5743
+ }
5744
+ return contents;
5745
+ };
4679
5746
  const de_Rule = (output, context) => {
4680
5747
  const contents = {};
4681
5748
  if (output["RuleArn"] !== undefined) {
@@ -5067,6 +6134,9 @@ const de_TargetHealthDescription = (output, context) => {
5067
6134
  if (output["TargetHealth"] !== undefined) {
5068
6135
  contents.TargetHealth = de_TargetHealth(output["TargetHealth"], context);
5069
6136
  }
6137
+ if (output["AnomalyDetection"] !== undefined) {
6138
+ contents.AnomalyDetection = de_AnomalyDetection(output["AnomalyDetection"], context);
6139
+ }
5070
6140
  return contents;
5071
6141
  };
5072
6142
  const de_TargetHealthDescriptions = (output, context) => {
@@ -5139,6 +6209,20 @@ const de_TooManyTargetsException = (output, context) => {
5139
6209
  }
5140
6210
  return contents;
5141
6211
  };
6212
+ const de_TooManyTrustStoreRevocationEntriesException = (output, context) => {
6213
+ const contents = {};
6214
+ if (output["Message"] !== undefined) {
6215
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
6216
+ }
6217
+ return contents;
6218
+ };
6219
+ const de_TooManyTrustStoresException = (output, context) => {
6220
+ const contents = {};
6221
+ if (output["Message"] !== undefined) {
6222
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
6223
+ }
6224
+ return contents;
6225
+ };
5142
6226
  const de_TooManyUniqueTargetGroupsPerLoadBalancerException = (output, context) => {
5143
6227
  const contents = {};
5144
6228
  if (output["Message"] !== undefined) {
@@ -5146,6 +6230,90 @@ const de_TooManyUniqueTargetGroupsPerLoadBalancerException = (output, context) =
5146
6230
  }
5147
6231
  return contents;
5148
6232
  };
6233
+ const de_TrustStore = (output, context) => {
6234
+ const contents = {};
6235
+ if (output["Name"] !== undefined) {
6236
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6237
+ }
6238
+ if (output["TrustStoreArn"] !== undefined) {
6239
+ contents.TrustStoreArn = (0, smithy_client_1.expectString)(output["TrustStoreArn"]);
6240
+ }
6241
+ if (output["Status"] !== undefined) {
6242
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6243
+ }
6244
+ if (output["NumberOfCaCertificates"] !== undefined) {
6245
+ contents.NumberOfCaCertificates = (0, smithy_client_1.strictParseInt32)(output["NumberOfCaCertificates"]);
6246
+ }
6247
+ if (output["TotalRevokedEntries"] !== undefined) {
6248
+ contents.TotalRevokedEntries = (0, smithy_client_1.strictParseLong)(output["TotalRevokedEntries"]);
6249
+ }
6250
+ return contents;
6251
+ };
6252
+ const de_TrustStoreAssociation = (output, context) => {
6253
+ const contents = {};
6254
+ if (output["ResourceArn"] !== undefined) {
6255
+ contents.ResourceArn = (0, smithy_client_1.expectString)(output["ResourceArn"]);
6256
+ }
6257
+ return contents;
6258
+ };
6259
+ const de_TrustStoreAssociations = (output, context) => {
6260
+ return (output || [])
6261
+ .filter((e) => e != null)
6262
+ .map((entry) => {
6263
+ return de_TrustStoreAssociation(entry, context);
6264
+ });
6265
+ };
6266
+ const de_TrustStoreInUseException = (output, context) => {
6267
+ const contents = {};
6268
+ if (output["Message"] !== undefined) {
6269
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
6270
+ }
6271
+ return contents;
6272
+ };
6273
+ const de_TrustStoreNotFoundException = (output, context) => {
6274
+ const contents = {};
6275
+ if (output["Message"] !== undefined) {
6276
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
6277
+ }
6278
+ return contents;
6279
+ };
6280
+ const de_TrustStoreNotReadyException = (output, context) => {
6281
+ const contents = {};
6282
+ if (output["Message"] !== undefined) {
6283
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
6284
+ }
6285
+ return contents;
6286
+ };
6287
+ const de_TrustStoreRevocation = (output, context) => {
6288
+ const contents = {};
6289
+ if (output["TrustStoreArn"] !== undefined) {
6290
+ contents.TrustStoreArn = (0, smithy_client_1.expectString)(output["TrustStoreArn"]);
6291
+ }
6292
+ if (output["RevocationId"] !== undefined) {
6293
+ contents.RevocationId = (0, smithy_client_1.strictParseLong)(output["RevocationId"]);
6294
+ }
6295
+ if (output["RevocationType"] !== undefined) {
6296
+ contents.RevocationType = (0, smithy_client_1.expectString)(output["RevocationType"]);
6297
+ }
6298
+ if (output["NumberOfRevokedEntries"] !== undefined) {
6299
+ contents.NumberOfRevokedEntries = (0, smithy_client_1.strictParseLong)(output["NumberOfRevokedEntries"]);
6300
+ }
6301
+ return contents;
6302
+ };
6303
+ const de_TrustStoreRevocations = (output, context) => {
6304
+ return (output || [])
6305
+ .filter((e) => e != null)
6306
+ .map((entry) => {
6307
+ return de_TrustStoreRevocation(entry, context);
6308
+ });
6309
+ };
6310
+ const de_TrustStores = (output, context) => {
6311
+ return (output || [])
6312
+ .filter((e) => e != null)
6313
+ .map((entry) => {
6314
+ return de_TrustStore(entry, context);
6315
+ });
6316
+ };
5149
6317
  const de_UnsupportedProtocolException = (output, context) => {
5150
6318
  const contents = {};
5151
6319
  if (output["Message"] !== undefined) {