@aws-sdk/client-global-accelerator 3.31.0 → 3.32.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 (133) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/GlobalAcceleratorClient.js +13 -13
  3. package/dist/cjs/GlobalAcceleratorClient.js.map +1 -1
  4. package/dist/cjs/commands/AddCustomRoutingEndpointsCommand.js +3 -3
  5. package/dist/cjs/commands/AddCustomRoutingEndpointsCommand.js.map +1 -1
  6. package/dist/cjs/commands/AdvertiseByoipCidrCommand.js +3 -3
  7. package/dist/cjs/commands/AdvertiseByoipCidrCommand.js.map +1 -1
  8. package/dist/cjs/commands/AllowCustomRoutingTrafficCommand.js +3 -3
  9. package/dist/cjs/commands/AllowCustomRoutingTrafficCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateAcceleratorCommand.js +3 -3
  11. package/dist/cjs/commands/CreateAcceleratorCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateCustomRoutingAcceleratorCommand.js +3 -3
  13. package/dist/cjs/commands/CreateCustomRoutingAcceleratorCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +3 -3
  15. package/dist/cjs/commands/CreateCustomRoutingEndpointGroupCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateCustomRoutingListenerCommand.js +3 -3
  17. package/dist/cjs/commands/CreateCustomRoutingListenerCommand.js.map +1 -1
  18. package/dist/cjs/commands/CreateEndpointGroupCommand.js +3 -3
  19. package/dist/cjs/commands/CreateEndpointGroupCommand.js.map +1 -1
  20. package/dist/cjs/commands/CreateListenerCommand.js +3 -3
  21. package/dist/cjs/commands/CreateListenerCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteAcceleratorCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteAcceleratorCommand.js.map +1 -1
  24. package/dist/cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +3 -3
  25. package/dist/cjs/commands/DeleteCustomRoutingAcceleratorCommand.js.map +1 -1
  26. package/dist/cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +3 -3
  27. package/dist/cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js.map +1 -1
  28. package/dist/cjs/commands/DeleteCustomRoutingListenerCommand.js +3 -3
  29. package/dist/cjs/commands/DeleteCustomRoutingListenerCommand.js.map +1 -1
  30. package/dist/cjs/commands/DeleteEndpointGroupCommand.js +3 -3
  31. package/dist/cjs/commands/DeleteEndpointGroupCommand.js.map +1 -1
  32. package/dist/cjs/commands/DeleteListenerCommand.js +3 -3
  33. package/dist/cjs/commands/DeleteListenerCommand.js.map +1 -1
  34. package/dist/cjs/commands/DenyCustomRoutingTrafficCommand.js +3 -3
  35. package/dist/cjs/commands/DenyCustomRoutingTrafficCommand.js.map +1 -1
  36. package/dist/cjs/commands/DeprovisionByoipCidrCommand.js +3 -3
  37. package/dist/cjs/commands/DeprovisionByoipCidrCommand.js.map +1 -1
  38. package/dist/cjs/commands/DescribeAcceleratorAttributesCommand.js +3 -3
  39. package/dist/cjs/commands/DescribeAcceleratorAttributesCommand.js.map +1 -1
  40. package/dist/cjs/commands/DescribeAcceleratorCommand.js +3 -3
  41. package/dist/cjs/commands/DescribeAcceleratorCommand.js.map +1 -1
  42. package/dist/cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +3 -3
  43. package/dist/cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js.map +1 -1
  44. package/dist/cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +3 -3
  45. package/dist/cjs/commands/DescribeCustomRoutingAcceleratorCommand.js.map +1 -1
  46. package/dist/cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +3 -3
  47. package/dist/cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js.map +1 -1
  48. package/dist/cjs/commands/DescribeCustomRoutingListenerCommand.js +3 -3
  49. package/dist/cjs/commands/DescribeCustomRoutingListenerCommand.js.map +1 -1
  50. package/dist/cjs/commands/DescribeEndpointGroupCommand.js +3 -3
  51. package/dist/cjs/commands/DescribeEndpointGroupCommand.js.map +1 -1
  52. package/dist/cjs/commands/DescribeListenerCommand.js +3 -3
  53. package/dist/cjs/commands/DescribeListenerCommand.js.map +1 -1
  54. package/dist/cjs/commands/ListAcceleratorsCommand.js +3 -3
  55. package/dist/cjs/commands/ListAcceleratorsCommand.js.map +1 -1
  56. package/dist/cjs/commands/ListByoipCidrsCommand.js +3 -3
  57. package/dist/cjs/commands/ListByoipCidrsCommand.js.map +1 -1
  58. package/dist/cjs/commands/ListCustomRoutingAcceleratorsCommand.js +3 -3
  59. package/dist/cjs/commands/ListCustomRoutingAcceleratorsCommand.js.map +1 -1
  60. package/dist/cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +3 -3
  61. package/dist/cjs/commands/ListCustomRoutingEndpointGroupsCommand.js.map +1 -1
  62. package/dist/cjs/commands/ListCustomRoutingListenersCommand.js +3 -3
  63. package/dist/cjs/commands/ListCustomRoutingListenersCommand.js.map +1 -1
  64. package/dist/cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +3 -3
  65. package/dist/cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js.map +1 -1
  66. package/dist/cjs/commands/ListCustomRoutingPortMappingsCommand.js +3 -3
  67. package/dist/cjs/commands/ListCustomRoutingPortMappingsCommand.js.map +1 -1
  68. package/dist/cjs/commands/ListEndpointGroupsCommand.js +3 -3
  69. package/dist/cjs/commands/ListEndpointGroupsCommand.js.map +1 -1
  70. package/dist/cjs/commands/ListListenersCommand.js +3 -3
  71. package/dist/cjs/commands/ListListenersCommand.js.map +1 -1
  72. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  73. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  74. package/dist/cjs/commands/ProvisionByoipCidrCommand.js +3 -3
  75. package/dist/cjs/commands/ProvisionByoipCidrCommand.js.map +1 -1
  76. package/dist/cjs/commands/RemoveCustomRoutingEndpointsCommand.js +3 -3
  77. package/dist/cjs/commands/RemoveCustomRoutingEndpointsCommand.js.map +1 -1
  78. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  79. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  80. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  81. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  82. package/dist/cjs/commands/UpdateAcceleratorAttributesCommand.js +3 -3
  83. package/dist/cjs/commands/UpdateAcceleratorAttributesCommand.js.map +1 -1
  84. package/dist/cjs/commands/UpdateAcceleratorCommand.js +3 -3
  85. package/dist/cjs/commands/UpdateAcceleratorCommand.js.map +1 -1
  86. package/dist/cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +3 -3
  87. package/dist/cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js.map +1 -1
  88. package/dist/cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +3 -3
  89. package/dist/cjs/commands/UpdateCustomRoutingAcceleratorCommand.js.map +1 -1
  90. package/dist/cjs/commands/UpdateCustomRoutingListenerCommand.js +3 -3
  91. package/dist/cjs/commands/UpdateCustomRoutingListenerCommand.js.map +1 -1
  92. package/dist/cjs/commands/UpdateEndpointGroupCommand.js +3 -3
  93. package/dist/cjs/commands/UpdateEndpointGroupCommand.js.map +1 -1
  94. package/dist/cjs/commands/UpdateListenerCommand.js +3 -3
  95. package/dist/cjs/commands/UpdateListenerCommand.js.map +1 -1
  96. package/dist/cjs/commands/WithdrawByoipCidrCommand.js +3 -3
  97. package/dist/cjs/commands/WithdrawByoipCidrCommand.js.map +1 -1
  98. package/dist/cjs/endpoints.js +1 -1
  99. package/dist/cjs/endpoints.js.map +1 -1
  100. package/dist/cjs/index.js +60 -60
  101. package/dist/cjs/index.js.map +1 -1
  102. package/dist/cjs/models/index.js +1 -1
  103. package/dist/cjs/models/index.js.map +1 -1
  104. package/dist/cjs/package.json +31 -31
  105. package/dist/cjs/protocols/Aws_json1_1.js +106 -106
  106. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  107. package/dist/cjs/runtimeConfig.browser.js +4 -4
  108. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  109. package/dist/cjs/runtimeConfig.js +8 -8
  110. package/dist/cjs/runtimeConfig.js.map +1 -1
  111. package/dist/cjs/runtimeConfig.native.js +1 -1
  112. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  113. package/dist/es/package.json +31 -31
  114. package/dist/es/pagination/ListAcceleratorsPaginator.js +4 -4
  115. package/dist/es/pagination/ListAcceleratorsPaginator.js.map +1 -1
  116. package/dist/es/pagination/ListByoipCidrsPaginator.js +4 -4
  117. package/dist/es/pagination/ListByoipCidrsPaginator.js.map +1 -1
  118. package/dist/es/pagination/ListCustomRoutingAcceleratorsPaginator.js +4 -4
  119. package/dist/es/pagination/ListCustomRoutingAcceleratorsPaginator.js.map +1 -1
  120. package/dist/es/pagination/ListCustomRoutingEndpointGroupsPaginator.js +4 -4
  121. package/dist/es/pagination/ListCustomRoutingEndpointGroupsPaginator.js.map +1 -1
  122. package/dist/es/pagination/ListCustomRoutingListenersPaginator.js +4 -4
  123. package/dist/es/pagination/ListCustomRoutingListenersPaginator.js.map +1 -1
  124. package/dist/es/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +4 -4
  125. package/dist/es/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js.map +1 -1
  126. package/dist/es/pagination/ListCustomRoutingPortMappingsPaginator.js +4 -4
  127. package/dist/es/pagination/ListCustomRoutingPortMappingsPaginator.js.map +1 -1
  128. package/dist/es/pagination/ListEndpointGroupsPaginator.js +4 -4
  129. package/dist/es/pagination/ListEndpointGroupsPaginator.js.map +1 -1
  130. package/dist/es/pagination/ListListenersPaginator.js +4 -4
  131. package/dist/es/pagination/ListListenersPaginator.js.map +1 -1
  132. package/package.json +31 -31
  133. package/tsconfig.json +1 -2
@@ -4041,7 +4041,7 @@ const serializeAws_json1_1CreateAcceleratorRequest = (input, context) => {
4041
4041
  var _a;
4042
4042
  return {
4043
4043
  ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
4044
- IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4044
+ IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4045
4045
  ...(input.IpAddressType !== undefined && input.IpAddressType !== null && { IpAddressType: input.IpAddressType }),
4046
4046
  ...(input.IpAddresses !== undefined &&
4047
4047
  input.IpAddresses !== null && { IpAddresses: serializeAws_json1_1IpAddresses(input.IpAddresses, context) }),
@@ -4053,7 +4053,7 @@ const serializeAws_json1_1CreateCustomRoutingAcceleratorRequest = (input, contex
4053
4053
  var _a;
4054
4054
  return {
4055
4055
  ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
4056
- IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4056
+ IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4057
4057
  ...(input.IpAddressType !== undefined && input.IpAddressType !== null && { IpAddressType: input.IpAddressType }),
4058
4058
  ...(input.IpAddresses !== undefined &&
4059
4059
  input.IpAddresses !== null && { IpAddresses: serializeAws_json1_1IpAddresses(input.IpAddresses, context) }),
@@ -4070,7 +4070,7 @@ const serializeAws_json1_1CreateCustomRoutingEndpointGroupRequest = (input, cont
4070
4070
  }),
4071
4071
  ...(input.EndpointGroupRegion !== undefined &&
4072
4072
  input.EndpointGroupRegion !== null && { EndpointGroupRegion: input.EndpointGroupRegion }),
4073
- IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4073
+ IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4074
4074
  ...(input.ListenerArn !== undefined && input.ListenerArn !== null && { ListenerArn: input.ListenerArn }),
4075
4075
  };
4076
4076
  };
@@ -4079,7 +4079,7 @@ const serializeAws_json1_1CreateCustomRoutingListenerRequest = (input, context)
4079
4079
  return {
4080
4080
  ...(input.AcceleratorArn !== undefined &&
4081
4081
  input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }),
4082
- IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4082
+ IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4083
4083
  ...(input.PortRanges !== undefined &&
4084
4084
  input.PortRanges !== null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) }),
4085
4085
  };
@@ -4101,7 +4101,7 @@ const serializeAws_json1_1CreateEndpointGroupRequest = (input, context) => {
4101
4101
  input.HealthCheckPort !== null && { HealthCheckPort: input.HealthCheckPort }),
4102
4102
  ...(input.HealthCheckProtocol !== undefined &&
4103
4103
  input.HealthCheckProtocol !== null && { HealthCheckProtocol: input.HealthCheckProtocol }),
4104
- IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4104
+ IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4105
4105
  ...(input.ListenerArn !== undefined && input.ListenerArn !== null && { ListenerArn: input.ListenerArn }),
4106
4106
  ...(input.PortOverrides !== undefined &&
4107
4107
  input.PortOverrides !== null && {
@@ -4110,7 +4110,7 @@ const serializeAws_json1_1CreateEndpointGroupRequest = (input, context) => {
4110
4110
  ...(input.ThresholdCount !== undefined &&
4111
4111
  input.ThresholdCount !== null && { ThresholdCount: input.ThresholdCount }),
4112
4112
  ...(input.TrafficDialPercentage !== undefined &&
4113
- input.TrafficDialPercentage !== null && { TrafficDialPercentage: (0, smithy_client_1.serializeFloat)(input.TrafficDialPercentage) }),
4113
+ input.TrafficDialPercentage !== null && { TrafficDialPercentage: smithy_client_1.serializeFloat(input.TrafficDialPercentage) }),
4114
4114
  };
4115
4115
  };
4116
4116
  const serializeAws_json1_1CreateListenerRequest = (input, context) => {
@@ -4120,7 +4120,7 @@ const serializeAws_json1_1CreateListenerRequest = (input, context) => {
4120
4120
  input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }),
4121
4121
  ...(input.ClientAffinity !== undefined &&
4122
4122
  input.ClientAffinity !== null && { ClientAffinity: input.ClientAffinity }),
4123
- IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4123
+ IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4124
4124
  ...(input.PortRanges !== undefined &&
4125
4125
  input.PortRanges !== null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) }),
4126
4126
  ...(input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }),
@@ -4561,7 +4561,7 @@ const serializeAws_json1_1UpdateEndpointGroupRequest = (input, context) => {
4561
4561
  ...(input.ThresholdCount !== undefined &&
4562
4562
  input.ThresholdCount !== null && { ThresholdCount: input.ThresholdCount }),
4563
4563
  ...(input.TrafficDialPercentage !== undefined &&
4564
- input.TrafficDialPercentage !== null && { TrafficDialPercentage: (0, smithy_client_1.serializeFloat)(input.TrafficDialPercentage) }),
4564
+ input.TrafficDialPercentage !== null && { TrafficDialPercentage: smithy_client_1.serializeFloat(input.TrafficDialPercentage) }),
4565
4565
  };
4566
4566
  };
4567
4567
  const serializeAws_json1_1UpdateListenerRequest = (input, context) => {
@@ -4581,38 +4581,38 @@ const serializeAws_json1_1WithdrawByoipCidrRequest = (input, context) => {
4581
4581
  };
4582
4582
  const deserializeAws_json1_1Accelerator = (output, context) => {
4583
4583
  return {
4584
- AcceleratorArn: (0, smithy_client_1.expectString)(output.AcceleratorArn),
4584
+ AcceleratorArn: smithy_client_1.expectString(output.AcceleratorArn),
4585
4585
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4586
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
4586
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4587
4587
  : undefined,
4588
- DnsName: (0, smithy_client_1.expectString)(output.DnsName),
4589
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4590
- IpAddressType: (0, smithy_client_1.expectString)(output.IpAddressType),
4588
+ DnsName: smithy_client_1.expectString(output.DnsName),
4589
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
4590
+ IpAddressType: smithy_client_1.expectString(output.IpAddressType),
4591
4591
  IpSets: output.IpSets !== undefined && output.IpSets !== null
4592
4592
  ? deserializeAws_json1_1IpSets(output.IpSets, context)
4593
4593
  : undefined,
4594
4594
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4595
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4595
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4596
4596
  : undefined,
4597
- Name: (0, smithy_client_1.expectString)(output.Name),
4598
- Status: (0, smithy_client_1.expectString)(output.Status),
4597
+ Name: smithy_client_1.expectString(output.Name),
4598
+ Status: smithy_client_1.expectString(output.Status),
4599
4599
  };
4600
4600
  };
4601
4601
  const deserializeAws_json1_1AcceleratorAttributes = (output, context) => {
4602
4602
  return {
4603
- FlowLogsEnabled: (0, smithy_client_1.expectBoolean)(output.FlowLogsEnabled),
4604
- FlowLogsS3Bucket: (0, smithy_client_1.expectString)(output.FlowLogsS3Bucket),
4605
- FlowLogsS3Prefix: (0, smithy_client_1.expectString)(output.FlowLogsS3Prefix),
4603
+ FlowLogsEnabled: smithy_client_1.expectBoolean(output.FlowLogsEnabled),
4604
+ FlowLogsS3Bucket: smithy_client_1.expectString(output.FlowLogsS3Bucket),
4605
+ FlowLogsS3Prefix: smithy_client_1.expectString(output.FlowLogsS3Prefix),
4606
4606
  };
4607
4607
  };
4608
4608
  const deserializeAws_json1_1AcceleratorNotDisabledException = (output, context) => {
4609
4609
  return {
4610
- Message: (0, smithy_client_1.expectString)(output.Message),
4610
+ Message: smithy_client_1.expectString(output.Message),
4611
4611
  };
4612
4612
  };
4613
4613
  const deserializeAws_json1_1AcceleratorNotFoundException = (output, context) => {
4614
4614
  return {
4615
- Message: (0, smithy_client_1.expectString)(output.Message),
4615
+ Message: smithy_client_1.expectString(output.Message),
4616
4616
  };
4617
4617
  };
4618
4618
  const deserializeAws_json1_1Accelerators = (output, context) => {
@@ -4627,7 +4627,7 @@ const deserializeAws_json1_1Accelerators = (output, context) => {
4627
4627
  };
4628
4628
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
4629
4629
  return {
4630
- Message: (0, smithy_client_1.expectString)(output.Message),
4630
+ Message: smithy_client_1.expectString(output.Message),
4631
4631
  };
4632
4632
  };
4633
4633
  const deserializeAws_json1_1AddCustomRoutingEndpointsResponse = (output, context) => {
@@ -4635,7 +4635,7 @@ const deserializeAws_json1_1AddCustomRoutingEndpointsResponse = (output, context
4635
4635
  EndpointDescriptions: output.EndpointDescriptions !== undefined && output.EndpointDescriptions !== null
4636
4636
  ? deserializeAws_json1_1CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
4637
4637
  : undefined,
4638
- EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
4638
+ EndpointGroupArn: smithy_client_1.expectString(output.EndpointGroupArn),
4639
4639
  };
4640
4640
  };
4641
4641
  const deserializeAws_json1_1AdvertiseByoipCidrResponse = (output, context) => {
@@ -4647,28 +4647,28 @@ const deserializeAws_json1_1AdvertiseByoipCidrResponse = (output, context) => {
4647
4647
  };
4648
4648
  const deserializeAws_json1_1AssociatedEndpointGroupFoundException = (output, context) => {
4649
4649
  return {
4650
- Message: (0, smithy_client_1.expectString)(output.Message),
4650
+ Message: smithy_client_1.expectString(output.Message),
4651
4651
  };
4652
4652
  };
4653
4653
  const deserializeAws_json1_1AssociatedListenerFoundException = (output, context) => {
4654
4654
  return {
4655
- Message: (0, smithy_client_1.expectString)(output.Message),
4655
+ Message: smithy_client_1.expectString(output.Message),
4656
4656
  };
4657
4657
  };
4658
4658
  const deserializeAws_json1_1ByoipCidr = (output, context) => {
4659
4659
  return {
4660
- Cidr: (0, smithy_client_1.expectString)(output.Cidr),
4660
+ Cidr: smithy_client_1.expectString(output.Cidr),
4661
4661
  Events: output.Events !== undefined && output.Events !== null
4662
4662
  ? deserializeAws_json1_1ByoipCidrEvents(output.Events, context)
4663
4663
  : undefined,
4664
- State: (0, smithy_client_1.expectString)(output.State),
4664
+ State: smithy_client_1.expectString(output.State),
4665
4665
  };
4666
4666
  };
4667
4667
  const deserializeAws_json1_1ByoipCidrEvent = (output, context) => {
4668
4668
  return {
4669
- Message: (0, smithy_client_1.expectString)(output.Message),
4669
+ Message: smithy_client_1.expectString(output.Message),
4670
4670
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
4671
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
4671
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
4672
4672
  : undefined,
4673
4673
  };
4674
4674
  };
@@ -4684,7 +4684,7 @@ const deserializeAws_json1_1ByoipCidrEvents = (output, context) => {
4684
4684
  };
4685
4685
  const deserializeAws_json1_1ByoipCidrNotFoundException = (output, context) => {
4686
4686
  return {
4687
- Message: (0, smithy_client_1.expectString)(output.Message),
4687
+ Message: smithy_client_1.expectString(output.Message),
4688
4688
  };
4689
4689
  };
4690
4690
  const deserializeAws_json1_1ByoipCidrs = (output, context) => {
@@ -4699,7 +4699,7 @@ const deserializeAws_json1_1ByoipCidrs = (output, context) => {
4699
4699
  };
4700
4700
  const deserializeAws_json1_1ConflictException = (output, context) => {
4701
4701
  return {
4702
- Message: (0, smithy_client_1.expectString)(output.Message),
4702
+ Message: smithy_client_1.expectString(output.Message),
4703
4703
  };
4704
4704
  };
4705
4705
  const deserializeAws_json1_1CreateAcceleratorResponse = (output, context) => {
@@ -4746,28 +4746,28 @@ const deserializeAws_json1_1CreateListenerResponse = (output, context) => {
4746
4746
  };
4747
4747
  const deserializeAws_json1_1CustomRoutingAccelerator = (output, context) => {
4748
4748
  return {
4749
- AcceleratorArn: (0, smithy_client_1.expectString)(output.AcceleratorArn),
4749
+ AcceleratorArn: smithy_client_1.expectString(output.AcceleratorArn),
4750
4750
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4751
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
4751
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4752
4752
  : undefined,
4753
- DnsName: (0, smithy_client_1.expectString)(output.DnsName),
4754
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4755
- IpAddressType: (0, smithy_client_1.expectString)(output.IpAddressType),
4753
+ DnsName: smithy_client_1.expectString(output.DnsName),
4754
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
4755
+ IpAddressType: smithy_client_1.expectString(output.IpAddressType),
4756
4756
  IpSets: output.IpSets !== undefined && output.IpSets !== null
4757
4757
  ? deserializeAws_json1_1IpSets(output.IpSets, context)
4758
4758
  : undefined,
4759
4759
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4760
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
4760
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4761
4761
  : undefined,
4762
- Name: (0, smithy_client_1.expectString)(output.Name),
4763
- Status: (0, smithy_client_1.expectString)(output.Status),
4762
+ Name: smithy_client_1.expectString(output.Name),
4763
+ Status: smithy_client_1.expectString(output.Status),
4764
4764
  };
4765
4765
  };
4766
4766
  const deserializeAws_json1_1CustomRoutingAcceleratorAttributes = (output, context) => {
4767
4767
  return {
4768
- FlowLogsEnabled: (0, smithy_client_1.expectBoolean)(output.FlowLogsEnabled),
4769
- FlowLogsS3Bucket: (0, smithy_client_1.expectString)(output.FlowLogsS3Bucket),
4770
- FlowLogsS3Prefix: (0, smithy_client_1.expectString)(output.FlowLogsS3Prefix),
4768
+ FlowLogsEnabled: smithy_client_1.expectBoolean(output.FlowLogsEnabled),
4769
+ FlowLogsS3Bucket: smithy_client_1.expectString(output.FlowLogsS3Bucket),
4770
+ FlowLogsS3Prefix: smithy_client_1.expectString(output.FlowLogsS3Prefix),
4771
4771
  };
4772
4772
  };
4773
4773
  const deserializeAws_json1_1CustomRoutingAccelerators = (output, context) => {
@@ -4782,11 +4782,11 @@ const deserializeAws_json1_1CustomRoutingAccelerators = (output, context) => {
4782
4782
  };
4783
4783
  const deserializeAws_json1_1CustomRoutingDestinationDescription = (output, context) => {
4784
4784
  return {
4785
- FromPort: (0, smithy_client_1.expectInt32)(output.FromPort),
4785
+ FromPort: smithy_client_1.expectInt32(output.FromPort),
4786
4786
  Protocols: output.Protocols !== undefined && output.Protocols !== null
4787
4787
  ? deserializeAws_json1_1Protocols(output.Protocols, context)
4788
4788
  : undefined,
4789
- ToPort: (0, smithy_client_1.expectInt32)(output.ToPort),
4789
+ ToPort: smithy_client_1.expectInt32(output.ToPort),
4790
4790
  };
4791
4791
  };
4792
4792
  const deserializeAws_json1_1CustomRoutingDestinationDescriptions = (output, context) => {
@@ -4801,7 +4801,7 @@ const deserializeAws_json1_1CustomRoutingDestinationDescriptions = (output, cont
4801
4801
  };
4802
4802
  const deserializeAws_json1_1CustomRoutingEndpointDescription = (output, context) => {
4803
4803
  return {
4804
- EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
4804
+ EndpointId: smithy_client_1.expectString(output.EndpointId),
4805
4805
  };
4806
4806
  };
4807
4807
  const deserializeAws_json1_1CustomRoutingEndpointDescriptions = (output, context) => {
@@ -4822,8 +4822,8 @@ const deserializeAws_json1_1CustomRoutingEndpointGroup = (output, context) => {
4822
4822
  EndpointDescriptions: output.EndpointDescriptions !== undefined && output.EndpointDescriptions !== null
4823
4823
  ? deserializeAws_json1_1CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
4824
4824
  : undefined,
4825
- EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
4826
- EndpointGroupRegion: (0, smithy_client_1.expectString)(output.EndpointGroupRegion),
4825
+ EndpointGroupArn: smithy_client_1.expectString(output.EndpointGroupArn),
4826
+ EndpointGroupRegion: smithy_client_1.expectString(output.EndpointGroupRegion),
4827
4827
  };
4828
4828
  };
4829
4829
  const deserializeAws_json1_1CustomRoutingEndpointGroups = (output, context) => {
@@ -4838,7 +4838,7 @@ const deserializeAws_json1_1CustomRoutingEndpointGroups = (output, context) => {
4838
4838
  };
4839
4839
  const deserializeAws_json1_1CustomRoutingListener = (output, context) => {
4840
4840
  return {
4841
- ListenerArn: (0, smithy_client_1.expectString)(output.ListenerArn),
4841
+ ListenerArn: smithy_client_1.expectString(output.ListenerArn),
4842
4842
  PortRanges: output.PortRanges !== undefined && output.PortRanges !== null
4843
4843
  ? deserializeAws_json1_1PortRanges(output.PortRanges, context)
4844
4844
  : undefined,
@@ -4861,7 +4861,7 @@ const deserializeAws_json1_1CustomRoutingProtocols = (output, context) => {
4861
4861
  if (entry === null) {
4862
4862
  return null;
4863
4863
  }
4864
- return (0, smithy_client_1.expectString)(entry);
4864
+ return smithy_client_1.expectString(entry);
4865
4865
  });
4866
4866
  };
4867
4867
  const deserializeAws_json1_1DeprovisionByoipCidrResponse = (output, context) => {
@@ -4929,18 +4929,18 @@ const deserializeAws_json1_1DescribeListenerResponse = (output, context) => {
4929
4929
  };
4930
4930
  const deserializeAws_json1_1DestinationPortMapping = (output, context) => {
4931
4931
  return {
4932
- AcceleratorArn: (0, smithy_client_1.expectString)(output.AcceleratorArn),
4932
+ AcceleratorArn: smithy_client_1.expectString(output.AcceleratorArn),
4933
4933
  AcceleratorSocketAddresses: output.AcceleratorSocketAddresses !== undefined && output.AcceleratorSocketAddresses !== null
4934
4934
  ? deserializeAws_json1_1SocketAddresses(output.AcceleratorSocketAddresses, context)
4935
4935
  : undefined,
4936
4936
  DestinationSocketAddress: output.DestinationSocketAddress !== undefined && output.DestinationSocketAddress !== null
4937
4937
  ? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
4938
4938
  : undefined,
4939
- DestinationTrafficState: (0, smithy_client_1.expectString)(output.DestinationTrafficState),
4940
- EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
4941
- EndpointGroupRegion: (0, smithy_client_1.expectString)(output.EndpointGroupRegion),
4942
- EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
4943
- IpAddressType: (0, smithy_client_1.expectString)(output.IpAddressType),
4939
+ DestinationTrafficState: smithy_client_1.expectString(output.DestinationTrafficState),
4940
+ EndpointGroupArn: smithy_client_1.expectString(output.EndpointGroupArn),
4941
+ EndpointGroupRegion: smithy_client_1.expectString(output.EndpointGroupRegion),
4942
+ EndpointId: smithy_client_1.expectString(output.EndpointId),
4943
+ IpAddressType: smithy_client_1.expectString(output.IpAddressType),
4944
4944
  };
4945
4945
  };
4946
4946
  const deserializeAws_json1_1DestinationPortMappings = (output, context) => {
@@ -4955,16 +4955,16 @@ const deserializeAws_json1_1DestinationPortMappings = (output, context) => {
4955
4955
  };
4956
4956
  const deserializeAws_json1_1EndpointAlreadyExistsException = (output, context) => {
4957
4957
  return {
4958
- Message: (0, smithy_client_1.expectString)(output.Message),
4958
+ Message: smithy_client_1.expectString(output.Message),
4959
4959
  };
4960
4960
  };
4961
4961
  const deserializeAws_json1_1EndpointDescription = (output, context) => {
4962
4962
  return {
4963
- ClientIPPreservationEnabled: (0, smithy_client_1.expectBoolean)(output.ClientIPPreservationEnabled),
4964
- EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
4965
- HealthReason: (0, smithy_client_1.expectString)(output.HealthReason),
4966
- HealthState: (0, smithy_client_1.expectString)(output.HealthState),
4967
- Weight: (0, smithy_client_1.expectInt32)(output.Weight),
4963
+ ClientIPPreservationEnabled: smithy_client_1.expectBoolean(output.ClientIPPreservationEnabled),
4964
+ EndpointId: smithy_client_1.expectString(output.EndpointId),
4965
+ HealthReason: smithy_client_1.expectString(output.HealthReason),
4966
+ HealthState: smithy_client_1.expectString(output.HealthState),
4967
+ Weight: smithy_client_1.expectInt32(output.Weight),
4968
4968
  };
4969
4969
  };
4970
4970
  const deserializeAws_json1_1EndpointDescriptions = (output, context) => {
@@ -4982,27 +4982,27 @@ const deserializeAws_json1_1EndpointGroup = (output, context) => {
4982
4982
  EndpointDescriptions: output.EndpointDescriptions !== undefined && output.EndpointDescriptions !== null
4983
4983
  ? deserializeAws_json1_1EndpointDescriptions(output.EndpointDescriptions, context)
4984
4984
  : undefined,
4985
- EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
4986
- EndpointGroupRegion: (0, smithy_client_1.expectString)(output.EndpointGroupRegion),
4987
- HealthCheckIntervalSeconds: (0, smithy_client_1.expectInt32)(output.HealthCheckIntervalSeconds),
4988
- HealthCheckPath: (0, smithy_client_1.expectString)(output.HealthCheckPath),
4989
- HealthCheckPort: (0, smithy_client_1.expectInt32)(output.HealthCheckPort),
4990
- HealthCheckProtocol: (0, smithy_client_1.expectString)(output.HealthCheckProtocol),
4985
+ EndpointGroupArn: smithy_client_1.expectString(output.EndpointGroupArn),
4986
+ EndpointGroupRegion: smithy_client_1.expectString(output.EndpointGroupRegion),
4987
+ HealthCheckIntervalSeconds: smithy_client_1.expectInt32(output.HealthCheckIntervalSeconds),
4988
+ HealthCheckPath: smithy_client_1.expectString(output.HealthCheckPath),
4989
+ HealthCheckPort: smithy_client_1.expectInt32(output.HealthCheckPort),
4990
+ HealthCheckProtocol: smithy_client_1.expectString(output.HealthCheckProtocol),
4991
4991
  PortOverrides: output.PortOverrides !== undefined && output.PortOverrides !== null
4992
4992
  ? deserializeAws_json1_1PortOverrides(output.PortOverrides, context)
4993
4993
  : undefined,
4994
- ThresholdCount: (0, smithy_client_1.expectInt32)(output.ThresholdCount),
4995
- TrafficDialPercentage: (0, smithy_client_1.limitedParseFloat32)(output.TrafficDialPercentage),
4994
+ ThresholdCount: smithy_client_1.expectInt32(output.ThresholdCount),
4995
+ TrafficDialPercentage: smithy_client_1.limitedParseFloat32(output.TrafficDialPercentage),
4996
4996
  };
4997
4997
  };
4998
4998
  const deserializeAws_json1_1EndpointGroupAlreadyExistsException = (output, context) => {
4999
4999
  return {
5000
- Message: (0, smithy_client_1.expectString)(output.Message),
5000
+ Message: smithy_client_1.expectString(output.Message),
5001
5001
  };
5002
5002
  };
5003
5003
  const deserializeAws_json1_1EndpointGroupNotFoundException = (output, context) => {
5004
5004
  return {
5005
- Message: (0, smithy_client_1.expectString)(output.Message),
5005
+ Message: smithy_client_1.expectString(output.Message),
5006
5006
  };
5007
5007
  };
5008
5008
  const deserializeAws_json1_1EndpointGroups = (output, context) => {
@@ -5017,32 +5017,32 @@ const deserializeAws_json1_1EndpointGroups = (output, context) => {
5017
5017
  };
5018
5018
  const deserializeAws_json1_1EndpointNotFoundException = (output, context) => {
5019
5019
  return {
5020
- Message: (0, smithy_client_1.expectString)(output.Message),
5020
+ Message: smithy_client_1.expectString(output.Message),
5021
5021
  };
5022
5022
  };
5023
5023
  const deserializeAws_json1_1IncorrectCidrStateException = (output, context) => {
5024
5024
  return {
5025
- Message: (0, smithy_client_1.expectString)(output.Message),
5025
+ Message: smithy_client_1.expectString(output.Message),
5026
5026
  };
5027
5027
  };
5028
5028
  const deserializeAws_json1_1InternalServiceErrorException = (output, context) => {
5029
5029
  return {
5030
- Message: (0, smithy_client_1.expectString)(output.Message),
5030
+ Message: smithy_client_1.expectString(output.Message),
5031
5031
  };
5032
5032
  };
5033
5033
  const deserializeAws_json1_1InvalidArgumentException = (output, context) => {
5034
5034
  return {
5035
- Message: (0, smithy_client_1.expectString)(output.Message),
5035
+ Message: smithy_client_1.expectString(output.Message),
5036
5036
  };
5037
5037
  };
5038
5038
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
5039
5039
  return {
5040
- Message: (0, smithy_client_1.expectString)(output.Message),
5040
+ Message: smithy_client_1.expectString(output.Message),
5041
5041
  };
5042
5042
  };
5043
5043
  const deserializeAws_json1_1InvalidPortRangeException = (output, context) => {
5044
5044
  return {
5045
- Message: (0, smithy_client_1.expectString)(output.Message),
5045
+ Message: smithy_client_1.expectString(output.Message),
5046
5046
  };
5047
5047
  };
5048
5048
  const deserializeAws_json1_1IpAddresses = (output, context) => {
@@ -5052,7 +5052,7 @@ const deserializeAws_json1_1IpAddresses = (output, context) => {
5052
5052
  if (entry === null) {
5053
5053
  return null;
5054
5054
  }
5055
- return (0, smithy_client_1.expectString)(entry);
5055
+ return smithy_client_1.expectString(entry);
5056
5056
  });
5057
5057
  };
5058
5058
  const deserializeAws_json1_1IpSet = (output, context) => {
@@ -5060,7 +5060,7 @@ const deserializeAws_json1_1IpSet = (output, context) => {
5060
5060
  IpAddresses: output.IpAddresses !== undefined && output.IpAddresses !== null
5061
5061
  ? deserializeAws_json1_1IpAddresses(output.IpAddresses, context)
5062
5062
  : undefined,
5063
- IpFamily: (0, smithy_client_1.expectString)(output.IpFamily),
5063
+ IpFamily: smithy_client_1.expectString(output.IpFamily),
5064
5064
  };
5065
5065
  };
5066
5066
  const deserializeAws_json1_1IpSets = (output, context) => {
@@ -5075,7 +5075,7 @@ const deserializeAws_json1_1IpSets = (output, context) => {
5075
5075
  };
5076
5076
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
5077
5077
  return {
5078
- Message: (0, smithy_client_1.expectString)(output.Message),
5078
+ Message: smithy_client_1.expectString(output.Message),
5079
5079
  };
5080
5080
  };
5081
5081
  const deserializeAws_json1_1ListAcceleratorsResponse = (output, context) => {
@@ -5083,7 +5083,7 @@ const deserializeAws_json1_1ListAcceleratorsResponse = (output, context) => {
5083
5083
  Accelerators: output.Accelerators !== undefined && output.Accelerators !== null
5084
5084
  ? deserializeAws_json1_1Accelerators(output.Accelerators, context)
5085
5085
  : undefined,
5086
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5086
+ NextToken: smithy_client_1.expectString(output.NextToken),
5087
5087
  };
5088
5088
  };
5089
5089
  const deserializeAws_json1_1ListByoipCidrsResponse = (output, context) => {
@@ -5091,7 +5091,7 @@ const deserializeAws_json1_1ListByoipCidrsResponse = (output, context) => {
5091
5091
  ByoipCidrs: output.ByoipCidrs !== undefined && output.ByoipCidrs !== null
5092
5092
  ? deserializeAws_json1_1ByoipCidrs(output.ByoipCidrs, context)
5093
5093
  : undefined,
5094
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5094
+ NextToken: smithy_client_1.expectString(output.NextToken),
5095
5095
  };
5096
5096
  };
5097
5097
  const deserializeAws_json1_1ListCustomRoutingAcceleratorsResponse = (output, context) => {
@@ -5099,7 +5099,7 @@ const deserializeAws_json1_1ListCustomRoutingAcceleratorsResponse = (output, con
5099
5099
  Accelerators: output.Accelerators !== undefined && output.Accelerators !== null
5100
5100
  ? deserializeAws_json1_1CustomRoutingAccelerators(output.Accelerators, context)
5101
5101
  : undefined,
5102
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5102
+ NextToken: smithy_client_1.expectString(output.NextToken),
5103
5103
  };
5104
5104
  };
5105
5105
  const deserializeAws_json1_1ListCustomRoutingEndpointGroupsResponse = (output, context) => {
@@ -5107,7 +5107,7 @@ const deserializeAws_json1_1ListCustomRoutingEndpointGroupsResponse = (output, c
5107
5107
  EndpointGroups: output.EndpointGroups !== undefined && output.EndpointGroups !== null
5108
5108
  ? deserializeAws_json1_1CustomRoutingEndpointGroups(output.EndpointGroups, context)
5109
5109
  : undefined,
5110
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5110
+ NextToken: smithy_client_1.expectString(output.NextToken),
5111
5111
  };
5112
5112
  };
5113
5113
  const deserializeAws_json1_1ListCustomRoutingListenersResponse = (output, context) => {
@@ -5115,7 +5115,7 @@ const deserializeAws_json1_1ListCustomRoutingListenersResponse = (output, contex
5115
5115
  Listeners: output.Listeners !== undefined && output.Listeners !== null
5116
5116
  ? deserializeAws_json1_1CustomRoutingListeners(output.Listeners, context)
5117
5117
  : undefined,
5118
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5118
+ NextToken: smithy_client_1.expectString(output.NextToken),
5119
5119
  };
5120
5120
  };
5121
5121
  const deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationResponse = (output, context) => {
@@ -5123,12 +5123,12 @@ const deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationResponse =
5123
5123
  DestinationPortMappings: output.DestinationPortMappings !== undefined && output.DestinationPortMappings !== null
5124
5124
  ? deserializeAws_json1_1DestinationPortMappings(output.DestinationPortMappings, context)
5125
5125
  : undefined,
5126
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5126
+ NextToken: smithy_client_1.expectString(output.NextToken),
5127
5127
  };
5128
5128
  };
5129
5129
  const deserializeAws_json1_1ListCustomRoutingPortMappingsResponse = (output, context) => {
5130
5130
  return {
5131
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5131
+ NextToken: smithy_client_1.expectString(output.NextToken),
5132
5132
  PortMappings: output.PortMappings !== undefined && output.PortMappings !== null
5133
5133
  ? deserializeAws_json1_1PortMappings(output.PortMappings, context)
5134
5134
  : undefined,
@@ -5139,22 +5139,22 @@ const deserializeAws_json1_1ListEndpointGroupsResponse = (output, context) => {
5139
5139
  EndpointGroups: output.EndpointGroups !== undefined && output.EndpointGroups !== null
5140
5140
  ? deserializeAws_json1_1EndpointGroups(output.EndpointGroups, context)
5141
5141
  : undefined,
5142
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5142
+ NextToken: smithy_client_1.expectString(output.NextToken),
5143
5143
  };
5144
5144
  };
5145
5145
  const deserializeAws_json1_1Listener = (output, context) => {
5146
5146
  return {
5147
- ClientAffinity: (0, smithy_client_1.expectString)(output.ClientAffinity),
5148
- ListenerArn: (0, smithy_client_1.expectString)(output.ListenerArn),
5147
+ ClientAffinity: smithy_client_1.expectString(output.ClientAffinity),
5148
+ ListenerArn: smithy_client_1.expectString(output.ListenerArn),
5149
5149
  PortRanges: output.PortRanges !== undefined && output.PortRanges !== null
5150
5150
  ? deserializeAws_json1_1PortRanges(output.PortRanges, context)
5151
5151
  : undefined,
5152
- Protocol: (0, smithy_client_1.expectString)(output.Protocol),
5152
+ Protocol: smithy_client_1.expectString(output.Protocol),
5153
5153
  };
5154
5154
  };
5155
5155
  const deserializeAws_json1_1ListenerNotFoundException = (output, context) => {
5156
5156
  return {
5157
- Message: (0, smithy_client_1.expectString)(output.Message),
5157
+ Message: smithy_client_1.expectString(output.Message),
5158
5158
  };
5159
5159
  };
5160
5160
  const deserializeAws_json1_1Listeners = (output, context) => {
@@ -5172,7 +5172,7 @@ const deserializeAws_json1_1ListListenersResponse = (output, context) => {
5172
5172
  Listeners: output.Listeners !== undefined && output.Listeners !== null
5173
5173
  ? deserializeAws_json1_1Listeners(output.Listeners, context)
5174
5174
  : undefined,
5175
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5175
+ NextToken: smithy_client_1.expectString(output.NextToken),
5176
5176
  };
5177
5177
  };
5178
5178
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
@@ -5182,13 +5182,13 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
5182
5182
  };
5183
5183
  const deserializeAws_json1_1PortMapping = (output, context) => {
5184
5184
  return {
5185
- AcceleratorPort: (0, smithy_client_1.expectInt32)(output.AcceleratorPort),
5185
+ AcceleratorPort: smithy_client_1.expectInt32(output.AcceleratorPort),
5186
5186
  DestinationSocketAddress: output.DestinationSocketAddress !== undefined && output.DestinationSocketAddress !== null
5187
5187
  ? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
5188
5188
  : undefined,
5189
- DestinationTrafficState: (0, smithy_client_1.expectString)(output.DestinationTrafficState),
5190
- EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
5191
- EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
5189
+ DestinationTrafficState: smithy_client_1.expectString(output.DestinationTrafficState),
5190
+ EndpointGroupArn: smithy_client_1.expectString(output.EndpointGroupArn),
5191
+ EndpointId: smithy_client_1.expectString(output.EndpointId),
5192
5192
  Protocols: output.Protocols !== undefined && output.Protocols !== null
5193
5193
  ? deserializeAws_json1_1CustomRoutingProtocols(output.Protocols, context)
5194
5194
  : undefined,
@@ -5206,8 +5206,8 @@ const deserializeAws_json1_1PortMappings = (output, context) => {
5206
5206
  };
5207
5207
  const deserializeAws_json1_1PortOverride = (output, context) => {
5208
5208
  return {
5209
- EndpointPort: (0, smithy_client_1.expectInt32)(output.EndpointPort),
5210
- ListenerPort: (0, smithy_client_1.expectInt32)(output.ListenerPort),
5209
+ EndpointPort: smithy_client_1.expectInt32(output.EndpointPort),
5210
+ ListenerPort: smithy_client_1.expectInt32(output.ListenerPort),
5211
5211
  };
5212
5212
  };
5213
5213
  const deserializeAws_json1_1PortOverrides = (output, context) => {
@@ -5222,8 +5222,8 @@ const deserializeAws_json1_1PortOverrides = (output, context) => {
5222
5222
  };
5223
5223
  const deserializeAws_json1_1PortRange = (output, context) => {
5224
5224
  return {
5225
- FromPort: (0, smithy_client_1.expectInt32)(output.FromPort),
5226
- ToPort: (0, smithy_client_1.expectInt32)(output.ToPort),
5225
+ FromPort: smithy_client_1.expectInt32(output.FromPort),
5226
+ ToPort: smithy_client_1.expectInt32(output.ToPort),
5227
5227
  };
5228
5228
  };
5229
5229
  const deserializeAws_json1_1PortRanges = (output, context) => {
@@ -5243,7 +5243,7 @@ const deserializeAws_json1_1Protocols = (output, context) => {
5243
5243
  if (entry === null) {
5244
5244
  return null;
5245
5245
  }
5246
- return (0, smithy_client_1.expectString)(entry);
5246
+ return smithy_client_1.expectString(entry);
5247
5247
  });
5248
5248
  };
5249
5249
  const deserializeAws_json1_1ProvisionByoipCidrResponse = (output, context) => {
@@ -5255,8 +5255,8 @@ const deserializeAws_json1_1ProvisionByoipCidrResponse = (output, context) => {
5255
5255
  };
5256
5256
  const deserializeAws_json1_1SocketAddress = (output, context) => {
5257
5257
  return {
5258
- IpAddress: (0, smithy_client_1.expectString)(output.IpAddress),
5259
- Port: (0, smithy_client_1.expectInt32)(output.Port),
5258
+ IpAddress: smithy_client_1.expectString(output.IpAddress),
5259
+ Port: smithy_client_1.expectInt32(output.Port),
5260
5260
  };
5261
5261
  };
5262
5262
  const deserializeAws_json1_1SocketAddresses = (output, context) => {
@@ -5271,8 +5271,8 @@ const deserializeAws_json1_1SocketAddresses = (output, context) => {
5271
5271
  };
5272
5272
  const deserializeAws_json1_1Tag = (output, context) => {
5273
5273
  return {
5274
- Key: (0, smithy_client_1.expectString)(output.Key),
5275
- Value: (0, smithy_client_1.expectString)(output.Value),
5274
+ Key: smithy_client_1.expectString(output.Key),
5275
+ Value: smithy_client_1.expectString(output.Value),
5276
5276
  };
5277
5277
  };
5278
5278
  const deserializeAws_json1_1TagResourceResponse = (output, context) => {