@aws-sdk/client-location 3.261.0 → 3.264.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.
@@ -2041,7 +2041,7 @@ const deserializeAws_restJson1CreateGeofenceCollectionCommand = async (output, c
2041
2041
  contents.CollectionName = (0, smithy_client_1.expectString)(data.CollectionName);
2042
2042
  }
2043
2043
  if (data.CreateTime != null) {
2044
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2044
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2045
2045
  }
2046
2046
  return contents;
2047
2047
  };
@@ -2090,7 +2090,7 @@ const deserializeAws_restJson1CreateMapCommand = async (output, context) => {
2090
2090
  });
2091
2091
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2092
2092
  if (data.CreateTime != null) {
2093
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2093
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2094
2094
  }
2095
2095
  if (data.MapArn != null) {
2096
2096
  contents.MapArn = (0, smithy_client_1.expectString)(data.MapArn);
@@ -2145,7 +2145,7 @@ const deserializeAws_restJson1CreatePlaceIndexCommand = async (output, context)
2145
2145
  });
2146
2146
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2147
2147
  if (data.CreateTime != null) {
2148
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2148
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2149
2149
  }
2150
2150
  if (data.IndexArn != null) {
2151
2151
  contents.IndexArn = (0, smithy_client_1.expectString)(data.IndexArn);
@@ -2206,7 +2206,7 @@ const deserializeAws_restJson1CreateRouteCalculatorCommand = async (output, cont
2206
2206
  contents.CalculatorName = (0, smithy_client_1.expectString)(data.CalculatorName);
2207
2207
  }
2208
2208
  if (data.CreateTime != null) {
2209
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2209
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2210
2210
  }
2211
2211
  return contents;
2212
2212
  };
@@ -2255,7 +2255,7 @@ const deserializeAws_restJson1CreateTrackerCommand = async (output, context) =>
2255
2255
  });
2256
2256
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2257
2257
  if (data.CreateTime != null) {
2258
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2258
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2259
2259
  }
2260
2260
  if (data.TrackerArn != null) {
2261
2261
  contents.TrackerArn = (0, smithy_client_1.expectString)(data.TrackerArn);
@@ -2528,7 +2528,7 @@ const deserializeAws_restJson1DescribeGeofenceCollectionCommand = async (output,
2528
2528
  contents.CollectionName = (0, smithy_client_1.expectString)(data.CollectionName);
2529
2529
  }
2530
2530
  if (data.CreateTime != null) {
2531
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2531
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2532
2532
  }
2533
2533
  if (data.Description != null) {
2534
2534
  contents.Description = (0, smithy_client_1.expectString)(data.Description);
@@ -2546,7 +2546,7 @@ const deserializeAws_restJson1DescribeGeofenceCollectionCommand = async (output,
2546
2546
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2547
2547
  }
2548
2548
  if (data.UpdateTime != null) {
2549
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
2549
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
2550
2550
  }
2551
2551
  return contents;
2552
2552
  };
@@ -2595,7 +2595,7 @@ const deserializeAws_restJson1DescribeMapCommand = async (output, context) => {
2595
2595
  contents.Configuration = deserializeAws_restJson1MapConfiguration(data.Configuration, context);
2596
2596
  }
2597
2597
  if (data.CreateTime != null) {
2598
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2598
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2599
2599
  }
2600
2600
  if (data.DataSource != null) {
2601
2601
  contents.DataSource = (0, smithy_client_1.expectString)(data.DataSource);
@@ -2616,7 +2616,7 @@ const deserializeAws_restJson1DescribeMapCommand = async (output, context) => {
2616
2616
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2617
2617
  }
2618
2618
  if (data.UpdateTime != null) {
2619
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
2619
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
2620
2620
  }
2621
2621
  return contents;
2622
2622
  };
@@ -2662,7 +2662,7 @@ const deserializeAws_restJson1DescribePlaceIndexCommand = async (output, context
2662
2662
  });
2663
2663
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2664
2664
  if (data.CreateTime != null) {
2665
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2665
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2666
2666
  }
2667
2667
  if (data.DataSource != null) {
2668
2668
  contents.DataSource = (0, smithy_client_1.expectString)(data.DataSource);
@@ -2686,7 +2686,7 @@ const deserializeAws_restJson1DescribePlaceIndexCommand = async (output, context
2686
2686
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2687
2687
  }
2688
2688
  if (data.UpdateTime != null) {
2689
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
2689
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
2690
2690
  }
2691
2691
  return contents;
2692
2692
  };
@@ -2738,7 +2738,7 @@ const deserializeAws_restJson1DescribeRouteCalculatorCommand = async (output, co
2738
2738
  contents.CalculatorName = (0, smithy_client_1.expectString)(data.CalculatorName);
2739
2739
  }
2740
2740
  if (data.CreateTime != null) {
2741
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2741
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2742
2742
  }
2743
2743
  if (data.DataSource != null) {
2744
2744
  contents.DataSource = (0, smithy_client_1.expectString)(data.DataSource);
@@ -2753,7 +2753,7 @@ const deserializeAws_restJson1DescribeRouteCalculatorCommand = async (output, co
2753
2753
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2754
2754
  }
2755
2755
  if (data.UpdateTime != null) {
2756
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
2756
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
2757
2757
  }
2758
2758
  return contents;
2759
2759
  };
@@ -2799,7 +2799,7 @@ const deserializeAws_restJson1DescribeTrackerCommand = async (output, context) =
2799
2799
  });
2800
2800
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2801
2801
  if (data.CreateTime != null) {
2802
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
2802
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
2803
2803
  }
2804
2804
  if (data.Description != null) {
2805
2805
  contents.Description = (0, smithy_client_1.expectString)(data.Description);
@@ -2826,7 +2826,7 @@ const deserializeAws_restJson1DescribeTrackerCommand = async (output, context) =
2826
2826
  contents.TrackerName = (0, smithy_client_1.expectString)(data.TrackerName);
2827
2827
  }
2828
2828
  if (data.UpdateTime != null) {
2829
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
2829
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
2830
2830
  }
2831
2831
  return contents;
2832
2832
  };
@@ -2927,10 +2927,10 @@ const deserializeAws_restJson1GetDevicePositionCommand = async (output, context)
2927
2927
  contents.PositionProperties = deserializeAws_restJson1PropertyMap(data.PositionProperties, context);
2928
2928
  }
2929
2929
  if (data.ReceivedTime != null) {
2930
- contents.ReceivedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.ReceivedTime));
2930
+ contents.ReceivedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.ReceivedTime));
2931
2931
  }
2932
2932
  if (data.SampleTime != null) {
2933
- contents.SampleTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.SampleTime));
2933
+ contents.SampleTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.SampleTime));
2934
2934
  }
2935
2935
  return contents;
2936
2936
  };
@@ -3025,7 +3025,7 @@ const deserializeAws_restJson1GetGeofenceCommand = async (output, context) => {
3025
3025
  });
3026
3026
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3027
3027
  if (data.CreateTime != null) {
3028
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
3028
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
3029
3029
  }
3030
3030
  if (data.GeofenceId != null) {
3031
3031
  contents.GeofenceId = (0, smithy_client_1.expectString)(data.GeofenceId);
@@ -3037,7 +3037,7 @@ const deserializeAws_restJson1GetGeofenceCommand = async (output, context) => {
3037
3037
  contents.Status = (0, smithy_client_1.expectString)(data.Status);
3038
3038
  }
3039
3039
  if (data.UpdateTime != null) {
3040
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
3040
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
3041
3041
  }
3042
3042
  return contents;
3043
3043
  };
@@ -3729,13 +3729,13 @@ const deserializeAws_restJson1PutGeofenceCommand = async (output, context) => {
3729
3729
  });
3730
3730
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3731
3731
  if (data.CreateTime != null) {
3732
- contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CreateTime));
3732
+ contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreateTime));
3733
3733
  }
3734
3734
  if (data.GeofenceId != null) {
3735
3735
  contents.GeofenceId = (0, smithy_client_1.expectString)(data.GeofenceId);
3736
3736
  }
3737
3737
  if (data.UpdateTime != null) {
3738
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
3738
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
3739
3739
  }
3740
3740
  return contents;
3741
3741
  };
@@ -4023,7 +4023,7 @@ const deserializeAws_restJson1UpdateGeofenceCollectionCommand = async (output, c
4023
4023
  contents.CollectionName = (0, smithy_client_1.expectString)(data.CollectionName);
4024
4024
  }
4025
4025
  if (data.UpdateTime != null) {
4026
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
4026
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
4027
4027
  }
4028
4028
  return contents;
4029
4029
  };
@@ -4075,7 +4075,7 @@ const deserializeAws_restJson1UpdateMapCommand = async (output, context) => {
4075
4075
  contents.MapName = (0, smithy_client_1.expectString)(data.MapName);
4076
4076
  }
4077
4077
  if (data.UpdateTime != null) {
4078
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
4078
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
4079
4079
  }
4080
4080
  return contents;
4081
4081
  };
@@ -4127,7 +4127,7 @@ const deserializeAws_restJson1UpdatePlaceIndexCommand = async (output, context)
4127
4127
  contents.IndexName = (0, smithy_client_1.expectString)(data.IndexName);
4128
4128
  }
4129
4129
  if (data.UpdateTime != null) {
4130
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
4130
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
4131
4131
  }
4132
4132
  return contents;
4133
4133
  };
@@ -4179,7 +4179,7 @@ const deserializeAws_restJson1UpdateRouteCalculatorCommand = async (output, cont
4179
4179
  contents.CalculatorName = (0, smithy_client_1.expectString)(data.CalculatorName);
4180
4180
  }
4181
4181
  if (data.UpdateTime != null) {
4182
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
4182
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
4183
4183
  }
4184
4184
  return contents;
4185
4185
  };
@@ -4231,7 +4231,7 @@ const deserializeAws_restJson1UpdateTrackerCommand = async (output, context) =>
4231
4231
  contents.TrackerName = (0, smithy_client_1.expectString)(data.TrackerName);
4232
4232
  }
4233
4233
  if (data.UpdateTime != null) {
4234
- contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.UpdateTime));
4234
+ contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdateTime));
4235
4235
  }
4236
4236
  return contents;
4237
4237
  };
@@ -4575,7 +4575,7 @@ const deserializeAws_restJson1BatchEvaluateGeofencesError = (output, context) =>
4575
4575
  return {
4576
4576
  DeviceId: (0, smithy_client_1.expectString)(output.DeviceId),
4577
4577
  Error: output.Error != null ? deserializeAws_restJson1BatchItemError(output.Error, context) : undefined,
4578
- SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.SampleTime)) : undefined,
4578
+ SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.SampleTime)) : undefined,
4579
4579
  };
4580
4580
  };
4581
4581
  const deserializeAws_restJson1BatchEvaluateGeofencesErrorList = (output, context) => {
@@ -4631,9 +4631,9 @@ const deserializeAws_restJson1BatchPutGeofenceErrorList = (output, context) => {
4631
4631
  };
4632
4632
  const deserializeAws_restJson1BatchPutGeofenceSuccess = (output, context) => {
4633
4633
  return {
4634
- CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreateTime)) : undefined,
4634
+ CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreateTime)) : undefined,
4635
4635
  GeofenceId: (0, smithy_client_1.expectString)(output.GeofenceId),
4636
- UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdateTime)) : undefined,
4636
+ UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdateTime)) : undefined,
4637
4637
  };
4638
4638
  };
4639
4639
  const deserializeAws_restJson1BatchPutGeofenceSuccessList = (output, context) => {
@@ -4651,7 +4651,7 @@ const deserializeAws_restJson1BatchUpdateDevicePositionError = (output, context)
4651
4651
  return {
4652
4652
  DeviceId: (0, smithy_client_1.expectString)(output.DeviceId),
4653
4653
  Error: output.Error != null ? deserializeAws_restJson1BatchItemError(output.Error, context) : undefined,
4654
- SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.SampleTime)) : undefined,
4654
+ SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.SampleTime)) : undefined,
4655
4655
  };
4656
4656
  };
4657
4657
  const deserializeAws_restJson1BatchUpdateDevicePositionErrorList = (output, context) => {
@@ -4723,8 +4723,8 @@ const deserializeAws_restJson1DevicePosition = (output, context) => {
4723
4723
  PositionProperties: output.PositionProperties != null
4724
4724
  ? deserializeAws_restJson1PropertyMap(output.PositionProperties, context)
4725
4725
  : undefined,
4726
- ReceivedTime: output.ReceivedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.ReceivedTime)) : undefined,
4727
- SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.SampleTime)) : undefined,
4726
+ ReceivedTime: output.ReceivedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.ReceivedTime)) : undefined,
4727
+ SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.SampleTime)) : undefined,
4728
4728
  };
4729
4729
  };
4730
4730
  const deserializeAws_restJson1DevicePositionList = (output, context) => {
@@ -4811,7 +4811,7 @@ const deserializeAws_restJson1ListDevicePositionsResponseEntry = (output, contex
4811
4811
  PositionProperties: output.PositionProperties != null
4812
4812
  ? deserializeAws_restJson1PropertyMap(output.PositionProperties, context)
4813
4813
  : undefined,
4814
- SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.SampleTime)) : undefined,
4814
+ SampleTime: output.SampleTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.SampleTime)) : undefined,
4815
4815
  };
4816
4816
  };
4817
4817
  const deserializeAws_restJson1ListDevicePositionsResponseEntryList = (output, context) => {
@@ -4828,11 +4828,11 @@ const deserializeAws_restJson1ListDevicePositionsResponseEntryList = (output, co
4828
4828
  const deserializeAws_restJson1ListGeofenceCollectionsResponseEntry = (output, context) => {
4829
4829
  return {
4830
4830
  CollectionName: (0, smithy_client_1.expectString)(output.CollectionName),
4831
- CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreateTime)) : undefined,
4831
+ CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreateTime)) : undefined,
4832
4832
  Description: (0, smithy_client_1.expectString)(output.Description),
4833
4833
  PricingPlan: (0, smithy_client_1.expectString)(output.PricingPlan),
4834
4834
  PricingPlanDataSource: (0, smithy_client_1.expectString)(output.PricingPlanDataSource),
4835
- UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdateTime)) : undefined,
4835
+ UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdateTime)) : undefined,
4836
4836
  };
4837
4837
  };
4838
4838
  const deserializeAws_restJson1ListGeofenceCollectionsResponseEntryList = (output, context) => {
@@ -4848,11 +4848,11 @@ const deserializeAws_restJson1ListGeofenceCollectionsResponseEntryList = (output
4848
4848
  };
4849
4849
  const deserializeAws_restJson1ListGeofenceResponseEntry = (output, context) => {
4850
4850
  return {
4851
- CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreateTime)) : undefined,
4851
+ CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreateTime)) : undefined,
4852
4852
  GeofenceId: (0, smithy_client_1.expectString)(output.GeofenceId),
4853
4853
  Geometry: output.Geometry != null ? deserializeAws_restJson1GeofenceGeometry(output.Geometry, context) : undefined,
4854
4854
  Status: (0, smithy_client_1.expectString)(output.Status),
4855
- UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdateTime)) : undefined,
4855
+ UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdateTime)) : undefined,
4856
4856
  };
4857
4857
  };
4858
4858
  const deserializeAws_restJson1ListGeofenceResponseEntryList = (output, context) => {
@@ -4868,12 +4868,12 @@ const deserializeAws_restJson1ListGeofenceResponseEntryList = (output, context)
4868
4868
  };
4869
4869
  const deserializeAws_restJson1ListMapsResponseEntry = (output, context) => {
4870
4870
  return {
4871
- CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreateTime)) : undefined,
4871
+ CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreateTime)) : undefined,
4872
4872
  DataSource: (0, smithy_client_1.expectString)(output.DataSource),
4873
4873
  Description: (0, smithy_client_1.expectString)(output.Description),
4874
4874
  MapName: (0, smithy_client_1.expectString)(output.MapName),
4875
4875
  PricingPlan: (0, smithy_client_1.expectString)(output.PricingPlan),
4876
- UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdateTime)) : undefined,
4876
+ UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdateTime)) : undefined,
4877
4877
  };
4878
4878
  };
4879
4879
  const deserializeAws_restJson1ListMapsResponseEntryList = (output, context) => {
@@ -4889,12 +4889,12 @@ const deserializeAws_restJson1ListMapsResponseEntryList = (output, context) => {
4889
4889
  };
4890
4890
  const deserializeAws_restJson1ListPlaceIndexesResponseEntry = (output, context) => {
4891
4891
  return {
4892
- CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreateTime)) : undefined,
4892
+ CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreateTime)) : undefined,
4893
4893
  DataSource: (0, smithy_client_1.expectString)(output.DataSource),
4894
4894
  Description: (0, smithy_client_1.expectString)(output.Description),
4895
4895
  IndexName: (0, smithy_client_1.expectString)(output.IndexName),
4896
4896
  PricingPlan: (0, smithy_client_1.expectString)(output.PricingPlan),
4897
- UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdateTime)) : undefined,
4897
+ UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdateTime)) : undefined,
4898
4898
  };
4899
4899
  };
4900
4900
  const deserializeAws_restJson1ListPlaceIndexesResponseEntryList = (output, context) => {
@@ -4911,11 +4911,11 @@ const deserializeAws_restJson1ListPlaceIndexesResponseEntryList = (output, conte
4911
4911
  const deserializeAws_restJson1ListRouteCalculatorsResponseEntry = (output, context) => {
4912
4912
  return {
4913
4913
  CalculatorName: (0, smithy_client_1.expectString)(output.CalculatorName),
4914
- CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreateTime)) : undefined,
4914
+ CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreateTime)) : undefined,
4915
4915
  DataSource: (0, smithy_client_1.expectString)(output.DataSource),
4916
4916
  Description: (0, smithy_client_1.expectString)(output.Description),
4917
4917
  PricingPlan: (0, smithy_client_1.expectString)(output.PricingPlan),
4918
- UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdateTime)) : undefined,
4918
+ UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdateTime)) : undefined,
4919
4919
  };
4920
4920
  };
4921
4921
  const deserializeAws_restJson1ListRouteCalculatorsResponseEntryList = (output, context) => {
@@ -4931,12 +4931,12 @@ const deserializeAws_restJson1ListRouteCalculatorsResponseEntryList = (output, c
4931
4931
  };
4932
4932
  const deserializeAws_restJson1ListTrackersResponseEntry = (output, context) => {
4933
4933
  return {
4934
- CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreateTime)) : undefined,
4934
+ CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreateTime)) : undefined,
4935
4935
  Description: (0, smithy_client_1.expectString)(output.Description),
4936
4936
  PricingPlan: (0, smithy_client_1.expectString)(output.PricingPlan),
4937
4937
  PricingPlanDataSource: (0, smithy_client_1.expectString)(output.PricingPlanDataSource),
4938
4938
  TrackerName: (0, smithy_client_1.expectString)(output.TrackerName),
4939
- UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdateTime)) : undefined,
4939
+ UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdateTime)) : undefined,
4940
4940
  };
4941
4941
  };
4942
4942
  const deserializeAws_restJson1ListTrackersResponseEntryList = (output, context) => {
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { LocationServiceException as __BaseException } from "../models/LocationServiceException";
4
4
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  export const serializeAws_restJson1AssociateTrackerConsumerCommand = async (input, context) => {
@@ -1974,7 +1974,7 @@ export const deserializeAws_restJson1CreateGeofenceCollectionCommand = async (ou
1974
1974
  contents.CollectionName = __expectString(data.CollectionName);
1975
1975
  }
1976
1976
  if (data.CreateTime != null) {
1977
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
1977
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
1978
1978
  }
1979
1979
  return contents;
1980
1980
  };
@@ -2022,7 +2022,7 @@ export const deserializeAws_restJson1CreateMapCommand = async (output, context)
2022
2022
  });
2023
2023
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2024
2024
  if (data.CreateTime != null) {
2025
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2025
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2026
2026
  }
2027
2027
  if (data.MapArn != null) {
2028
2028
  contents.MapArn = __expectString(data.MapArn);
@@ -2076,7 +2076,7 @@ export const deserializeAws_restJson1CreatePlaceIndexCommand = async (output, co
2076
2076
  });
2077
2077
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2078
2078
  if (data.CreateTime != null) {
2079
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2079
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2080
2080
  }
2081
2081
  if (data.IndexArn != null) {
2082
2082
  contents.IndexArn = __expectString(data.IndexArn);
@@ -2136,7 +2136,7 @@ export const deserializeAws_restJson1CreateRouteCalculatorCommand = async (outpu
2136
2136
  contents.CalculatorName = __expectString(data.CalculatorName);
2137
2137
  }
2138
2138
  if (data.CreateTime != null) {
2139
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2139
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2140
2140
  }
2141
2141
  return contents;
2142
2142
  };
@@ -2184,7 +2184,7 @@ export const deserializeAws_restJson1CreateTrackerCommand = async (output, conte
2184
2184
  });
2185
2185
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2186
2186
  if (data.CreateTime != null) {
2187
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2187
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2188
2188
  }
2189
2189
  if (data.TrackerArn != null) {
2190
2190
  contents.TrackerArn = __expectString(data.TrackerArn);
@@ -2451,7 +2451,7 @@ export const deserializeAws_restJson1DescribeGeofenceCollectionCommand = async (
2451
2451
  contents.CollectionName = __expectString(data.CollectionName);
2452
2452
  }
2453
2453
  if (data.CreateTime != null) {
2454
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2454
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2455
2455
  }
2456
2456
  if (data.Description != null) {
2457
2457
  contents.Description = __expectString(data.Description);
@@ -2469,7 +2469,7 @@ export const deserializeAws_restJson1DescribeGeofenceCollectionCommand = async (
2469
2469
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2470
2470
  }
2471
2471
  if (data.UpdateTime != null) {
2472
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
2472
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
2473
2473
  }
2474
2474
  return contents;
2475
2475
  };
@@ -2517,7 +2517,7 @@ export const deserializeAws_restJson1DescribeMapCommand = async (output, context
2517
2517
  contents.Configuration = deserializeAws_restJson1MapConfiguration(data.Configuration, context);
2518
2518
  }
2519
2519
  if (data.CreateTime != null) {
2520
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2520
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2521
2521
  }
2522
2522
  if (data.DataSource != null) {
2523
2523
  contents.DataSource = __expectString(data.DataSource);
@@ -2538,7 +2538,7 @@ export const deserializeAws_restJson1DescribeMapCommand = async (output, context
2538
2538
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2539
2539
  }
2540
2540
  if (data.UpdateTime != null) {
2541
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
2541
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
2542
2542
  }
2543
2543
  return contents;
2544
2544
  };
@@ -2583,7 +2583,7 @@ export const deserializeAws_restJson1DescribePlaceIndexCommand = async (output,
2583
2583
  });
2584
2584
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2585
2585
  if (data.CreateTime != null) {
2586
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2586
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2587
2587
  }
2588
2588
  if (data.DataSource != null) {
2589
2589
  contents.DataSource = __expectString(data.DataSource);
@@ -2607,7 +2607,7 @@ export const deserializeAws_restJson1DescribePlaceIndexCommand = async (output,
2607
2607
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2608
2608
  }
2609
2609
  if (data.UpdateTime != null) {
2610
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
2610
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
2611
2611
  }
2612
2612
  return contents;
2613
2613
  };
@@ -2658,7 +2658,7 @@ export const deserializeAws_restJson1DescribeRouteCalculatorCommand = async (out
2658
2658
  contents.CalculatorName = __expectString(data.CalculatorName);
2659
2659
  }
2660
2660
  if (data.CreateTime != null) {
2661
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2661
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2662
2662
  }
2663
2663
  if (data.DataSource != null) {
2664
2664
  contents.DataSource = __expectString(data.DataSource);
@@ -2673,7 +2673,7 @@ export const deserializeAws_restJson1DescribeRouteCalculatorCommand = async (out
2673
2673
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2674
2674
  }
2675
2675
  if (data.UpdateTime != null) {
2676
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
2676
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
2677
2677
  }
2678
2678
  return contents;
2679
2679
  };
@@ -2718,7 +2718,7 @@ export const deserializeAws_restJson1DescribeTrackerCommand = async (output, con
2718
2718
  });
2719
2719
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2720
2720
  if (data.CreateTime != null) {
2721
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2721
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2722
2722
  }
2723
2723
  if (data.Description != null) {
2724
2724
  contents.Description = __expectString(data.Description);
@@ -2745,7 +2745,7 @@ export const deserializeAws_restJson1DescribeTrackerCommand = async (output, con
2745
2745
  contents.TrackerName = __expectString(data.TrackerName);
2746
2746
  }
2747
2747
  if (data.UpdateTime != null) {
2748
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
2748
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
2749
2749
  }
2750
2750
  return contents;
2751
2751
  };
@@ -2844,10 +2844,10 @@ export const deserializeAws_restJson1GetDevicePositionCommand = async (output, c
2844
2844
  contents.PositionProperties = deserializeAws_restJson1PropertyMap(data.PositionProperties, context);
2845
2845
  }
2846
2846
  if (data.ReceivedTime != null) {
2847
- contents.ReceivedTime = __expectNonNull(__parseRfc3339DateTime(data.ReceivedTime));
2847
+ contents.ReceivedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.ReceivedTime));
2848
2848
  }
2849
2849
  if (data.SampleTime != null) {
2850
- contents.SampleTime = __expectNonNull(__parseRfc3339DateTime(data.SampleTime));
2850
+ contents.SampleTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.SampleTime));
2851
2851
  }
2852
2852
  return contents;
2853
2853
  };
@@ -2940,7 +2940,7 @@ export const deserializeAws_restJson1GetGeofenceCommand = async (output, context
2940
2940
  });
2941
2941
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2942
2942
  if (data.CreateTime != null) {
2943
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
2943
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
2944
2944
  }
2945
2945
  if (data.GeofenceId != null) {
2946
2946
  contents.GeofenceId = __expectString(data.GeofenceId);
@@ -2952,7 +2952,7 @@ export const deserializeAws_restJson1GetGeofenceCommand = async (output, context
2952
2952
  contents.Status = __expectString(data.Status);
2953
2953
  }
2954
2954
  if (data.UpdateTime != null) {
2955
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
2955
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
2956
2956
  }
2957
2957
  return contents;
2958
2958
  };
@@ -3629,13 +3629,13 @@ export const deserializeAws_restJson1PutGeofenceCommand = async (output, context
3629
3629
  });
3630
3630
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3631
3631
  if (data.CreateTime != null) {
3632
- contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(data.CreateTime));
3632
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreateTime));
3633
3633
  }
3634
3634
  if (data.GeofenceId != null) {
3635
3635
  contents.GeofenceId = __expectString(data.GeofenceId);
3636
3636
  }
3637
3637
  if (data.UpdateTime != null) {
3638
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
3638
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
3639
3639
  }
3640
3640
  return contents;
3641
3641
  };
@@ -3917,7 +3917,7 @@ export const deserializeAws_restJson1UpdateGeofenceCollectionCommand = async (ou
3917
3917
  contents.CollectionName = __expectString(data.CollectionName);
3918
3918
  }
3919
3919
  if (data.UpdateTime != null) {
3920
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
3920
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
3921
3921
  }
3922
3922
  return contents;
3923
3923
  };
@@ -3968,7 +3968,7 @@ export const deserializeAws_restJson1UpdateMapCommand = async (output, context)
3968
3968
  contents.MapName = __expectString(data.MapName);
3969
3969
  }
3970
3970
  if (data.UpdateTime != null) {
3971
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
3971
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
3972
3972
  }
3973
3973
  return contents;
3974
3974
  };
@@ -4019,7 +4019,7 @@ export const deserializeAws_restJson1UpdatePlaceIndexCommand = async (output, co
4019
4019
  contents.IndexName = __expectString(data.IndexName);
4020
4020
  }
4021
4021
  if (data.UpdateTime != null) {
4022
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
4022
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
4023
4023
  }
4024
4024
  return contents;
4025
4025
  };
@@ -4070,7 +4070,7 @@ export const deserializeAws_restJson1UpdateRouteCalculatorCommand = async (outpu
4070
4070
  contents.CalculatorName = __expectString(data.CalculatorName);
4071
4071
  }
4072
4072
  if (data.UpdateTime != null) {
4073
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
4073
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
4074
4074
  }
4075
4075
  return contents;
4076
4076
  };
@@ -4121,7 +4121,7 @@ export const deserializeAws_restJson1UpdateTrackerCommand = async (output, conte
4121
4121
  contents.TrackerName = __expectString(data.TrackerName);
4122
4122
  }
4123
4123
  if (data.UpdateTime != null) {
4124
- contents.UpdateTime = __expectNonNull(__parseRfc3339DateTime(data.UpdateTime));
4124
+ contents.UpdateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.UpdateTime));
4125
4125
  }
4126
4126
  return contents;
4127
4127
  };
@@ -4464,7 +4464,7 @@ const deserializeAws_restJson1BatchEvaluateGeofencesError = (output, context) =>
4464
4464
  return {
4465
4465
  DeviceId: __expectString(output.DeviceId),
4466
4466
  Error: output.Error != null ? deserializeAws_restJson1BatchItemError(output.Error, context) : undefined,
4467
- SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTime(output.SampleTime)) : undefined,
4467
+ SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.SampleTime)) : undefined,
4468
4468
  };
4469
4469
  };
4470
4470
  const deserializeAws_restJson1BatchEvaluateGeofencesErrorList = (output, context) => {
@@ -4520,9 +4520,9 @@ const deserializeAws_restJson1BatchPutGeofenceErrorList = (output, context) => {
4520
4520
  };
4521
4521
  const deserializeAws_restJson1BatchPutGeofenceSuccess = (output, context) => {
4522
4522
  return {
4523
- CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.CreateTime)) : undefined,
4523
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreateTime)) : undefined,
4524
4524
  GeofenceId: __expectString(output.GeofenceId),
4525
- UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdateTime)) : undefined,
4525
+ UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdateTime)) : undefined,
4526
4526
  };
4527
4527
  };
4528
4528
  const deserializeAws_restJson1BatchPutGeofenceSuccessList = (output, context) => {
@@ -4540,7 +4540,7 @@ const deserializeAws_restJson1BatchUpdateDevicePositionError = (output, context)
4540
4540
  return {
4541
4541
  DeviceId: __expectString(output.DeviceId),
4542
4542
  Error: output.Error != null ? deserializeAws_restJson1BatchItemError(output.Error, context) : undefined,
4543
- SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTime(output.SampleTime)) : undefined,
4543
+ SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.SampleTime)) : undefined,
4544
4544
  };
4545
4545
  };
4546
4546
  const deserializeAws_restJson1BatchUpdateDevicePositionErrorList = (output, context) => {
@@ -4612,8 +4612,8 @@ const deserializeAws_restJson1DevicePosition = (output, context) => {
4612
4612
  PositionProperties: output.PositionProperties != null
4613
4613
  ? deserializeAws_restJson1PropertyMap(output.PositionProperties, context)
4614
4614
  : undefined,
4615
- ReceivedTime: output.ReceivedTime != null ? __expectNonNull(__parseRfc3339DateTime(output.ReceivedTime)) : undefined,
4616
- SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTime(output.SampleTime)) : undefined,
4615
+ ReceivedTime: output.ReceivedTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.ReceivedTime)) : undefined,
4616
+ SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.SampleTime)) : undefined,
4617
4617
  };
4618
4618
  };
4619
4619
  const deserializeAws_restJson1DevicePositionList = (output, context) => {
@@ -4700,7 +4700,7 @@ const deserializeAws_restJson1ListDevicePositionsResponseEntry = (output, contex
4700
4700
  PositionProperties: output.PositionProperties != null
4701
4701
  ? deserializeAws_restJson1PropertyMap(output.PositionProperties, context)
4702
4702
  : undefined,
4703
- SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTime(output.SampleTime)) : undefined,
4703
+ SampleTime: output.SampleTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.SampleTime)) : undefined,
4704
4704
  };
4705
4705
  };
4706
4706
  const deserializeAws_restJson1ListDevicePositionsResponseEntryList = (output, context) => {
@@ -4717,11 +4717,11 @@ const deserializeAws_restJson1ListDevicePositionsResponseEntryList = (output, co
4717
4717
  const deserializeAws_restJson1ListGeofenceCollectionsResponseEntry = (output, context) => {
4718
4718
  return {
4719
4719
  CollectionName: __expectString(output.CollectionName),
4720
- CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.CreateTime)) : undefined,
4720
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreateTime)) : undefined,
4721
4721
  Description: __expectString(output.Description),
4722
4722
  PricingPlan: __expectString(output.PricingPlan),
4723
4723
  PricingPlanDataSource: __expectString(output.PricingPlanDataSource),
4724
- UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdateTime)) : undefined,
4724
+ UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdateTime)) : undefined,
4725
4725
  };
4726
4726
  };
4727
4727
  const deserializeAws_restJson1ListGeofenceCollectionsResponseEntryList = (output, context) => {
@@ -4737,11 +4737,11 @@ const deserializeAws_restJson1ListGeofenceCollectionsResponseEntryList = (output
4737
4737
  };
4738
4738
  const deserializeAws_restJson1ListGeofenceResponseEntry = (output, context) => {
4739
4739
  return {
4740
- CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.CreateTime)) : undefined,
4740
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreateTime)) : undefined,
4741
4741
  GeofenceId: __expectString(output.GeofenceId),
4742
4742
  Geometry: output.Geometry != null ? deserializeAws_restJson1GeofenceGeometry(output.Geometry, context) : undefined,
4743
4743
  Status: __expectString(output.Status),
4744
- UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdateTime)) : undefined,
4744
+ UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdateTime)) : undefined,
4745
4745
  };
4746
4746
  };
4747
4747
  const deserializeAws_restJson1ListGeofenceResponseEntryList = (output, context) => {
@@ -4757,12 +4757,12 @@ const deserializeAws_restJson1ListGeofenceResponseEntryList = (output, context)
4757
4757
  };
4758
4758
  const deserializeAws_restJson1ListMapsResponseEntry = (output, context) => {
4759
4759
  return {
4760
- CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.CreateTime)) : undefined,
4760
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreateTime)) : undefined,
4761
4761
  DataSource: __expectString(output.DataSource),
4762
4762
  Description: __expectString(output.Description),
4763
4763
  MapName: __expectString(output.MapName),
4764
4764
  PricingPlan: __expectString(output.PricingPlan),
4765
- UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdateTime)) : undefined,
4765
+ UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdateTime)) : undefined,
4766
4766
  };
4767
4767
  };
4768
4768
  const deserializeAws_restJson1ListMapsResponseEntryList = (output, context) => {
@@ -4778,12 +4778,12 @@ const deserializeAws_restJson1ListMapsResponseEntryList = (output, context) => {
4778
4778
  };
4779
4779
  const deserializeAws_restJson1ListPlaceIndexesResponseEntry = (output, context) => {
4780
4780
  return {
4781
- CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.CreateTime)) : undefined,
4781
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreateTime)) : undefined,
4782
4782
  DataSource: __expectString(output.DataSource),
4783
4783
  Description: __expectString(output.Description),
4784
4784
  IndexName: __expectString(output.IndexName),
4785
4785
  PricingPlan: __expectString(output.PricingPlan),
4786
- UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdateTime)) : undefined,
4786
+ UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdateTime)) : undefined,
4787
4787
  };
4788
4788
  };
4789
4789
  const deserializeAws_restJson1ListPlaceIndexesResponseEntryList = (output, context) => {
@@ -4800,11 +4800,11 @@ const deserializeAws_restJson1ListPlaceIndexesResponseEntryList = (output, conte
4800
4800
  const deserializeAws_restJson1ListRouteCalculatorsResponseEntry = (output, context) => {
4801
4801
  return {
4802
4802
  CalculatorName: __expectString(output.CalculatorName),
4803
- CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.CreateTime)) : undefined,
4803
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreateTime)) : undefined,
4804
4804
  DataSource: __expectString(output.DataSource),
4805
4805
  Description: __expectString(output.Description),
4806
4806
  PricingPlan: __expectString(output.PricingPlan),
4807
- UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdateTime)) : undefined,
4807
+ UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdateTime)) : undefined,
4808
4808
  };
4809
4809
  };
4810
4810
  const deserializeAws_restJson1ListRouteCalculatorsResponseEntryList = (output, context) => {
@@ -4820,12 +4820,12 @@ const deserializeAws_restJson1ListRouteCalculatorsResponseEntryList = (output, c
4820
4820
  };
4821
4821
  const deserializeAws_restJson1ListTrackersResponseEntry = (output, context) => {
4822
4822
  return {
4823
- CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.CreateTime)) : undefined,
4823
+ CreateTime: output.CreateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreateTime)) : undefined,
4824
4824
  Description: __expectString(output.Description),
4825
4825
  PricingPlan: __expectString(output.PricingPlan),
4826
4826
  PricingPlanDataSource: __expectString(output.PricingPlanDataSource),
4827
4827
  TrackerName: __expectString(output.TrackerName),
4828
- UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdateTime)) : undefined,
4828
+ UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdateTime)) : undefined,
4829
4829
  };
4830
4830
  };
4831
4831
  const deserializeAws_restJson1ListTrackersResponseEntryList = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-location",
3
3
  "description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
4
- "version": "3.261.0",
4
+ "version": "3.264.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.261.0",
23
+ "@aws-sdk/client-sts": "3.264.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.261.0",
25
+ "@aws-sdk/credential-provider-node": "3.264.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
29
29
  "@aws-sdk/middleware-content-length": "3.257.0",
30
- "@aws-sdk/middleware-endpoint": "3.257.0",
30
+ "@aws-sdk/middleware-endpoint": "3.264.0",
31
31
  "@aws-sdk/middleware-host-header": "3.257.0",
32
32
  "@aws-sdk/middleware-logger": "3.257.0",
33
33
  "@aws-sdk/middleware-recursion-detection": "3.257.0",