@aws-sdk/client-location 3.916.0 → 3.917.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.
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +96 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +89 -0
- package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +3 -11
- package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +1 -2
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +2 -6
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +2 -32
- package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +1 -2
- package/dist-types/commands/BatchPutGeofenceCommand.d.ts +2 -5
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +2 -25
- package/dist-types/commands/CalculateRouteCommand.d.ts +2 -36
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +2 -44
- package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +2 -4
- package/dist-types/commands/CreateKeyCommand.d.ts +14 -9
- package/dist-types/commands/CreateMapCommand.d.ts +3 -12
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +3 -15
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +3 -14
- package/dist-types/commands/CreateTrackerCommand.d.ts +3 -6
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +2 -7
- package/dist-types/commands/DeleteKeyCommand.d.ts +2 -4
- package/dist-types/commands/DeleteMapCommand.d.ts +2 -7
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +2 -6
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +2 -6
- package/dist-types/commands/DeleteTrackerCommand.d.ts +2 -8
- package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +1 -2
- package/dist-types/commands/DescribeKeyCommand.d.ts +13 -3
- package/dist-types/commands/DescribeMapCommand.d.ts +2 -3
- package/dist-types/commands/DescribePlaceIndexCommand.d.ts +2 -3
- package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +2 -3
- package/dist-types/commands/DescribeTrackerCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +2 -7
- package/dist-types/commands/ForecastGeofenceEventsCommand.d.ts +2 -22
- package/dist-types/commands/GetDevicePositionCommand.d.ts +2 -6
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +2 -7
- package/dist-types/commands/GetGeofenceCommand.d.ts +2 -7
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +2 -3
- package/dist-types/commands/GetMapSpritesCommand.d.ts +2 -5
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +2 -6
- package/dist-types/commands/GetMapTileCommand.d.ts +2 -8
- package/dist-types/commands/GetPlaceCommand.d.ts +2 -25
- package/dist-types/commands/ListDevicePositionsCommand.d.ts +1 -2
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +1 -2
- package/dist-types/commands/ListGeofencesCommand.d.ts +1 -2
- package/dist-types/commands/ListKeysCommand.d.ts +13 -3
- package/dist-types/commands/ListMapsCommand.d.ts +2 -3
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +2 -3
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +2 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/ListTrackerConsumersCommand.d.ts +1 -2
- package/dist-types/commands/ListTrackersCommand.d.ts +1 -2
- package/dist-types/commands/PutGeofenceCommand.d.ts +2 -4
- package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -4
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +2 -14
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +2 -12
- package/dist-types/commands/TagResourceCommand.d.ts +2 -13
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +1 -2
- package/dist-types/commands/UpdateKeyCommand.d.ts +12 -2
- package/dist-types/commands/UpdateMapCommand.d.ts +2 -3
- package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +2 -3
- package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +2 -3
- package/dist-types/commands/UpdateTrackerCommand.d.ts +1 -2
- package/dist-types/commands/VerifyDevicePositionCommand.d.ts +2 -8
- package/dist-types/models/models_0.d.ts +444 -2825
- package/dist-types/ts3.4/models/models_0.d.ts +26 -0
- package/package.json +2 -2
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://geo-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://geo.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -344,12 +344,40 @@ const BatchUpdateDevicePositionResponseFilterSensitiveLog = (obj) => ({
|
|
|
344
344
|
...obj,
|
|
345
345
|
...(obj.Errors && { Errors: obj.Errors.map((item) => BatchUpdateDevicePositionErrorFilterSensitiveLog(item)) }),
|
|
346
346
|
});
|
|
347
|
+
const CalculateRouteCarModeOptionsFilterSensitiveLog = (obj) => ({
|
|
348
|
+
...obj,
|
|
349
|
+
...(obj.AvoidFerries && { AvoidFerries: smithyClient.SENSITIVE_STRING }),
|
|
350
|
+
...(obj.AvoidTolls && { AvoidTolls: smithyClient.SENSITIVE_STRING }),
|
|
351
|
+
});
|
|
352
|
+
const TruckDimensionsFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
...(obj.Length && { Length: smithyClient.SENSITIVE_STRING }),
|
|
355
|
+
...(obj.Height && { Height: smithyClient.SENSITIVE_STRING }),
|
|
356
|
+
...(obj.Width && { Width: smithyClient.SENSITIVE_STRING }),
|
|
357
|
+
});
|
|
358
|
+
const TruckWeightFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
...(obj.Total && { Total: smithyClient.SENSITIVE_STRING }),
|
|
361
|
+
});
|
|
362
|
+
const CalculateRouteTruckModeOptionsFilterSensitiveLog = (obj) => ({
|
|
363
|
+
...obj,
|
|
364
|
+
...(obj.AvoidFerries && { AvoidFerries: smithyClient.SENSITIVE_STRING }),
|
|
365
|
+
...(obj.AvoidTolls && { AvoidTolls: smithyClient.SENSITIVE_STRING }),
|
|
366
|
+
...(obj.Dimensions && { Dimensions: TruckDimensionsFilterSensitiveLog(obj.Dimensions) }),
|
|
367
|
+
...(obj.Weight && { Weight: TruckWeightFilterSensitiveLog(obj.Weight) }),
|
|
368
|
+
});
|
|
347
369
|
const CalculateRouteRequestFilterSensitiveLog = (obj) => ({
|
|
348
370
|
...obj,
|
|
349
371
|
...(obj.DeparturePosition && { DeparturePosition: smithyClient.SENSITIVE_STRING }),
|
|
350
372
|
...(obj.DestinationPosition && { DestinationPosition: smithyClient.SENSITIVE_STRING }),
|
|
351
373
|
...(obj.WaypointPositions && { WaypointPositions: smithyClient.SENSITIVE_STRING }),
|
|
352
374
|
...(obj.DepartureTime && { DepartureTime: smithyClient.SENSITIVE_STRING }),
|
|
375
|
+
...(obj.DepartNow && { DepartNow: smithyClient.SENSITIVE_STRING }),
|
|
376
|
+
...(obj.IncludeLegGeometry && { IncludeLegGeometry: smithyClient.SENSITIVE_STRING }),
|
|
377
|
+
...(obj.CarModeOptions && { CarModeOptions: CalculateRouteCarModeOptionsFilterSensitiveLog(obj.CarModeOptions) }),
|
|
378
|
+
...(obj.TruckModeOptions && {
|
|
379
|
+
TruckModeOptions: CalculateRouteTruckModeOptionsFilterSensitiveLog(obj.TruckModeOptions),
|
|
380
|
+
}),
|
|
353
381
|
...(obj.ArrivalTime && { ArrivalTime: smithyClient.SENSITIVE_STRING }),
|
|
354
382
|
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
355
383
|
});
|
|
@@ -361,17 +389,23 @@ const StepFilterSensitiveLog = (obj) => ({
|
|
|
361
389
|
...obj,
|
|
362
390
|
...(obj.StartPosition && { StartPosition: smithyClient.SENSITIVE_STRING }),
|
|
363
391
|
...(obj.EndPosition && { EndPosition: smithyClient.SENSITIVE_STRING }),
|
|
392
|
+
...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
|
|
393
|
+
...(obj.DurationSeconds && { DurationSeconds: smithyClient.SENSITIVE_STRING }),
|
|
364
394
|
});
|
|
365
395
|
const LegFilterSensitiveLog = (obj) => ({
|
|
366
396
|
...obj,
|
|
367
397
|
...(obj.StartPosition && { StartPosition: smithyClient.SENSITIVE_STRING }),
|
|
368
398
|
...(obj.EndPosition && { EndPosition: smithyClient.SENSITIVE_STRING }),
|
|
399
|
+
...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
|
|
400
|
+
...(obj.DurationSeconds && { DurationSeconds: smithyClient.SENSITIVE_STRING }),
|
|
369
401
|
...(obj.Geometry && { Geometry: LegGeometryFilterSensitiveLog(obj.Geometry) }),
|
|
370
402
|
...(obj.Steps && { Steps: obj.Steps.map((item) => StepFilterSensitiveLog(item)) }),
|
|
371
403
|
});
|
|
372
404
|
const CalculateRouteSummaryFilterSensitiveLog = (obj) => ({
|
|
373
405
|
...obj,
|
|
374
406
|
...(obj.RouteBBox && { RouteBBox: smithyClient.SENSITIVE_STRING }),
|
|
407
|
+
...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
|
|
408
|
+
...(obj.DurationSeconds && { DurationSeconds: smithyClient.SENSITIVE_STRING }),
|
|
375
409
|
});
|
|
376
410
|
const CalculateRouteResponseFilterSensitiveLog = (obj) => ({
|
|
377
411
|
...obj,
|
|
@@ -383,10 +417,23 @@ const CalculateRouteMatrixRequestFilterSensitiveLog = (obj) => ({
|
|
|
383
417
|
...(obj.DeparturePositions && { DeparturePositions: smithyClient.SENSITIVE_STRING }),
|
|
384
418
|
...(obj.DestinationPositions && { DestinationPositions: smithyClient.SENSITIVE_STRING }),
|
|
385
419
|
...(obj.DepartureTime && { DepartureTime: smithyClient.SENSITIVE_STRING }),
|
|
420
|
+
...(obj.DepartNow && { DepartNow: smithyClient.SENSITIVE_STRING }),
|
|
421
|
+
...(obj.CarModeOptions && { CarModeOptions: CalculateRouteCarModeOptionsFilterSensitiveLog(obj.CarModeOptions) }),
|
|
422
|
+
...(obj.TruckModeOptions && {
|
|
423
|
+
TruckModeOptions: CalculateRouteTruckModeOptionsFilterSensitiveLog(obj.TruckModeOptions),
|
|
424
|
+
}),
|
|
386
425
|
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
387
426
|
});
|
|
427
|
+
const RouteMatrixEntryFilterSensitiveLog = (obj) => ({
|
|
428
|
+
...obj,
|
|
429
|
+
...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
|
|
430
|
+
...(obj.DurationSeconds && { DurationSeconds: smithyClient.SENSITIVE_STRING }),
|
|
431
|
+
});
|
|
388
432
|
const CalculateRouteMatrixResponseFilterSensitiveLog = (obj) => ({
|
|
389
433
|
...obj,
|
|
434
|
+
...(obj.RouteMatrix && {
|
|
435
|
+
RouteMatrix: obj.RouteMatrix.map((item) => item.map((item) => RouteMatrixEntryFilterSensitiveLog(item))),
|
|
436
|
+
}),
|
|
390
437
|
...(obj.SnappedDeparturePositions && { SnappedDeparturePositions: smithyClient.SENSITIVE_STRING }),
|
|
391
438
|
...(obj.SnappedDestinationPositions && { SnappedDestinationPositions: smithyClient.SENSITIVE_STRING }),
|
|
392
439
|
});
|
|
@@ -545,19 +592,44 @@ const GetMapStyleDescriptorRequestFilterSensitiveLog = (obj) => ({
|
|
|
545
592
|
});
|
|
546
593
|
const GetMapTileRequestFilterSensitiveLog = (obj) => ({
|
|
547
594
|
...obj,
|
|
595
|
+
...(obj.Z && { Z: smithyClient.SENSITIVE_STRING }),
|
|
596
|
+
...(obj.X && { X: smithyClient.SENSITIVE_STRING }),
|
|
597
|
+
...(obj.Y && { Y: smithyClient.SENSITIVE_STRING }),
|
|
548
598
|
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
549
599
|
});
|
|
550
600
|
const GetPlaceRequestFilterSensitiveLog = (obj) => ({
|
|
551
601
|
...obj,
|
|
602
|
+
...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
|
|
552
603
|
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
553
604
|
});
|
|
554
605
|
const PlaceGeometryFilterSensitiveLog = (obj) => ({
|
|
555
606
|
...obj,
|
|
556
607
|
...(obj.Point && { Point: smithyClient.SENSITIVE_STRING }),
|
|
557
608
|
});
|
|
609
|
+
const TimeZoneFilterSensitiveLog = (obj) => ({
|
|
610
|
+
...obj,
|
|
611
|
+
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
612
|
+
...(obj.Offset && { Offset: smithyClient.SENSITIVE_STRING }),
|
|
613
|
+
});
|
|
558
614
|
const PlaceFilterSensitiveLog = (obj) => ({
|
|
559
615
|
...obj,
|
|
616
|
+
...(obj.Label && { Label: smithyClient.SENSITIVE_STRING }),
|
|
560
617
|
...(obj.Geometry && { Geometry: PlaceGeometryFilterSensitiveLog(obj.Geometry) }),
|
|
618
|
+
...(obj.AddressNumber && { AddressNumber: smithyClient.SENSITIVE_STRING }),
|
|
619
|
+
...(obj.Street && { Street: smithyClient.SENSITIVE_STRING }),
|
|
620
|
+
...(obj.Neighborhood && { Neighborhood: smithyClient.SENSITIVE_STRING }),
|
|
621
|
+
...(obj.Municipality && { Municipality: smithyClient.SENSITIVE_STRING }),
|
|
622
|
+
...(obj.SubRegion && { SubRegion: smithyClient.SENSITIVE_STRING }),
|
|
623
|
+
...(obj.Region && { Region: smithyClient.SENSITIVE_STRING }),
|
|
624
|
+
...(obj.Country && { Country: smithyClient.SENSITIVE_STRING }),
|
|
625
|
+
...(obj.PostalCode && { PostalCode: smithyClient.SENSITIVE_STRING }),
|
|
626
|
+
...(obj.Interpolated && { Interpolated: smithyClient.SENSITIVE_STRING }),
|
|
627
|
+
...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
|
|
628
|
+
...(obj.UnitType && { UnitType: smithyClient.SENSITIVE_STRING }),
|
|
629
|
+
...(obj.UnitNumber && { UnitNumber: smithyClient.SENSITIVE_STRING }),
|
|
630
|
+
...(obj.Categories && { Categories: smithyClient.SENSITIVE_STRING }),
|
|
631
|
+
...(obj.SupplementalCategories && { SupplementalCategories: smithyClient.SENSITIVE_STRING }),
|
|
632
|
+
...(obj.SubMunicipality && { SubMunicipality: smithyClient.SENSITIVE_STRING }),
|
|
561
633
|
});
|
|
562
634
|
const GetPlaceResponseFilterSensitiveLog = (obj) => ({
|
|
563
635
|
...obj,
|
|
@@ -645,6 +717,8 @@ const SearchPlaceIndexForPositionRequestFilterSensitiveLog = (obj) => ({
|
|
|
645
717
|
const SearchForPositionResultFilterSensitiveLog = (obj) => ({
|
|
646
718
|
...obj,
|
|
647
719
|
...(obj.Place && { Place: PlaceFilterSensitiveLog(obj.Place) }),
|
|
720
|
+
...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
|
|
721
|
+
...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
|
|
648
722
|
});
|
|
649
723
|
const SearchPlaceIndexForPositionSummaryFilterSensitiveLog = (obj) => ({
|
|
650
724
|
...obj,
|
|
@@ -661,18 +735,28 @@ const SearchPlaceIndexForSuggestionsRequestFilterSensitiveLog = (obj) => ({
|
|
|
661
735
|
...(obj.BiasPosition && { BiasPosition: smithyClient.SENSITIVE_STRING }),
|
|
662
736
|
...(obj.FilterBBox && { FilterBBox: smithyClient.SENSITIVE_STRING }),
|
|
663
737
|
...(obj.FilterCountries && { FilterCountries: smithyClient.SENSITIVE_STRING }),
|
|
738
|
+
...(obj.FilterCategories && { FilterCategories: smithyClient.SENSITIVE_STRING }),
|
|
664
739
|
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
665
740
|
});
|
|
741
|
+
const SearchForSuggestionsResultFilterSensitiveLog = (obj) => ({
|
|
742
|
+
...obj,
|
|
743
|
+
...(obj.Text && { Text: smithyClient.SENSITIVE_STRING }),
|
|
744
|
+
...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
|
|
745
|
+
...(obj.Categories && { Categories: smithyClient.SENSITIVE_STRING }),
|
|
746
|
+
...(obj.SupplementalCategories && { SupplementalCategories: smithyClient.SENSITIVE_STRING }),
|
|
747
|
+
});
|
|
666
748
|
const SearchPlaceIndexForSuggestionsSummaryFilterSensitiveLog = (obj) => ({
|
|
667
749
|
...obj,
|
|
668
750
|
...(obj.Text && { Text: smithyClient.SENSITIVE_STRING }),
|
|
669
751
|
...(obj.BiasPosition && { BiasPosition: smithyClient.SENSITIVE_STRING }),
|
|
670
752
|
...(obj.FilterBBox && { FilterBBox: smithyClient.SENSITIVE_STRING }),
|
|
671
753
|
...(obj.FilterCountries && { FilterCountries: smithyClient.SENSITIVE_STRING }),
|
|
754
|
+
...(obj.FilterCategories && { FilterCategories: smithyClient.SENSITIVE_STRING }),
|
|
672
755
|
});
|
|
673
756
|
const SearchPlaceIndexForSuggestionsResponseFilterSensitiveLog = (obj) => ({
|
|
674
757
|
...obj,
|
|
675
758
|
...(obj.Summary && { Summary: SearchPlaceIndexForSuggestionsSummaryFilterSensitiveLog(obj.Summary) }),
|
|
759
|
+
...(obj.Results && { Results: obj.Results.map((item) => SearchForSuggestionsResultFilterSensitiveLog(item)) }),
|
|
676
760
|
});
|
|
677
761
|
const SearchPlaceIndexForTextRequestFilterSensitiveLog = (obj) => ({
|
|
678
762
|
...obj,
|
|
@@ -680,11 +764,15 @@ const SearchPlaceIndexForTextRequestFilterSensitiveLog = (obj) => ({
|
|
|
680
764
|
...(obj.BiasPosition && { BiasPosition: smithyClient.SENSITIVE_STRING }),
|
|
681
765
|
...(obj.FilterBBox && { FilterBBox: smithyClient.SENSITIVE_STRING }),
|
|
682
766
|
...(obj.FilterCountries && { FilterCountries: smithyClient.SENSITIVE_STRING }),
|
|
767
|
+
...(obj.FilterCategories && { FilterCategories: smithyClient.SENSITIVE_STRING }),
|
|
683
768
|
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
684
769
|
});
|
|
685
770
|
const SearchForTextResultFilterSensitiveLog = (obj) => ({
|
|
686
771
|
...obj,
|
|
687
772
|
...(obj.Place && { Place: PlaceFilterSensitiveLog(obj.Place) }),
|
|
773
|
+
...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
|
|
774
|
+
...(obj.Relevance && { Relevance: smithyClient.SENSITIVE_STRING }),
|
|
775
|
+
...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
|
|
688
776
|
});
|
|
689
777
|
const SearchPlaceIndexForTextSummaryFilterSensitiveLog = (obj) => ({
|
|
690
778
|
...obj,
|
|
@@ -693,6 +781,7 @@ const SearchPlaceIndexForTextSummaryFilterSensitiveLog = (obj) => ({
|
|
|
693
781
|
...(obj.FilterBBox && { FilterBBox: smithyClient.SENSITIVE_STRING }),
|
|
694
782
|
...(obj.FilterCountries && { FilterCountries: smithyClient.SENSITIVE_STRING }),
|
|
695
783
|
...(obj.ResultBBox && { ResultBBox: smithyClient.SENSITIVE_STRING }),
|
|
784
|
+
...(obj.FilterCategories && { FilterCategories: smithyClient.SENSITIVE_STRING }),
|
|
696
785
|
});
|
|
697
786
|
const SearchPlaceIndexForTextResponseFilterSensitiveLog = (obj) => ({
|
|
698
787
|
...obj,
|
|
@@ -4933,6 +5022,7 @@ exports.BatchUpdateDevicePositionCommand = BatchUpdateDevicePositionCommand;
|
|
|
4933
5022
|
exports.BatchUpdateDevicePositionErrorFilterSensitiveLog = BatchUpdateDevicePositionErrorFilterSensitiveLog;
|
|
4934
5023
|
exports.BatchUpdateDevicePositionRequestFilterSensitiveLog = BatchUpdateDevicePositionRequestFilterSensitiveLog;
|
|
4935
5024
|
exports.BatchUpdateDevicePositionResponseFilterSensitiveLog = BatchUpdateDevicePositionResponseFilterSensitiveLog;
|
|
5025
|
+
exports.CalculateRouteCarModeOptionsFilterSensitiveLog = CalculateRouteCarModeOptionsFilterSensitiveLog;
|
|
4936
5026
|
exports.CalculateRouteCommand = CalculateRouteCommand;
|
|
4937
5027
|
exports.CalculateRouteMatrixCommand = CalculateRouteMatrixCommand;
|
|
4938
5028
|
exports.CalculateRouteMatrixRequestFilterSensitiveLog = CalculateRouteMatrixRequestFilterSensitiveLog;
|
|
@@ -4940,6 +5030,7 @@ exports.CalculateRouteMatrixResponseFilterSensitiveLog = CalculateRouteMatrixRes
|
|
|
4940
5030
|
exports.CalculateRouteRequestFilterSensitiveLog = CalculateRouteRequestFilterSensitiveLog;
|
|
4941
5031
|
exports.CalculateRouteResponseFilterSensitiveLog = CalculateRouteResponseFilterSensitiveLog;
|
|
4942
5032
|
exports.CalculateRouteSummaryFilterSensitiveLog = CalculateRouteSummaryFilterSensitiveLog;
|
|
5033
|
+
exports.CalculateRouteTruckModeOptionsFilterSensitiveLog = CalculateRouteTruckModeOptionsFilterSensitiveLog;
|
|
4943
5034
|
exports.CircleFilterSensitiveLog = CircleFilterSensitiveLog;
|
|
4944
5035
|
exports.ConflictException = ConflictException;
|
|
4945
5036
|
exports.CreateGeofenceCollectionCommand = CreateGeofenceCollectionCommand;
|
|
@@ -5045,7 +5136,9 @@ exports.PutGeofenceCommand = PutGeofenceCommand;
|
|
|
5045
5136
|
exports.PutGeofenceRequestFilterSensitiveLog = PutGeofenceRequestFilterSensitiveLog;
|
|
5046
5137
|
exports.PutGeofenceResponseFilterSensitiveLog = PutGeofenceResponseFilterSensitiveLog;
|
|
5047
5138
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
5139
|
+
exports.RouteMatrixEntryFilterSensitiveLog = RouteMatrixEntryFilterSensitiveLog;
|
|
5048
5140
|
exports.SearchForPositionResultFilterSensitiveLog = SearchForPositionResultFilterSensitiveLog;
|
|
5141
|
+
exports.SearchForSuggestionsResultFilterSensitiveLog = SearchForSuggestionsResultFilterSensitiveLog;
|
|
5049
5142
|
exports.SearchForTextResultFilterSensitiveLog = SearchForTextResultFilterSensitiveLog;
|
|
5050
5143
|
exports.SearchPlaceIndexForPositionCommand = SearchPlaceIndexForPositionCommand;
|
|
5051
5144
|
exports.SearchPlaceIndexForPositionRequestFilterSensitiveLog = SearchPlaceIndexForPositionRequestFilterSensitiveLog;
|
|
@@ -5063,7 +5156,10 @@ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
|
5063
5156
|
exports.StepFilterSensitiveLog = StepFilterSensitiveLog;
|
|
5064
5157
|
exports.TagResourceCommand = TagResourceCommand;
|
|
5065
5158
|
exports.ThrottlingException = ThrottlingException;
|
|
5159
|
+
exports.TimeZoneFilterSensitiveLog = TimeZoneFilterSensitiveLog;
|
|
5066
5160
|
exports.TrackingFilterGeometryFilterSensitiveLog = TrackingFilterGeometryFilterSensitiveLog;
|
|
5161
|
+
exports.TruckDimensionsFilterSensitiveLog = TruckDimensionsFilterSensitiveLog;
|
|
5162
|
+
exports.TruckWeightFilterSensitiveLog = TruckWeightFilterSensitiveLog;
|
|
5067
5163
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
5068
5164
|
exports.UpdateGeofenceCollectionCommand = UpdateGeofenceCollectionCommand;
|
|
5069
5165
|
exports.UpdateGeofenceCollectionResponseFilterSensitiveLog = UpdateGeofenceCollectionResponseFilterSensitiveLog;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://geo-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://geo.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -227,12 +227,40 @@ export const BatchUpdateDevicePositionResponseFilterSensitiveLog = (obj) => ({
|
|
|
227
227
|
...obj,
|
|
228
228
|
...(obj.Errors && { Errors: obj.Errors.map((item) => BatchUpdateDevicePositionErrorFilterSensitiveLog(item)) }),
|
|
229
229
|
});
|
|
230
|
+
export const CalculateRouteCarModeOptionsFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
...(obj.AvoidFerries && { AvoidFerries: SENSITIVE_STRING }),
|
|
233
|
+
...(obj.AvoidTolls && { AvoidTolls: SENSITIVE_STRING }),
|
|
234
|
+
});
|
|
235
|
+
export const TruckDimensionsFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
...(obj.Length && { Length: SENSITIVE_STRING }),
|
|
238
|
+
...(obj.Height && { Height: SENSITIVE_STRING }),
|
|
239
|
+
...(obj.Width && { Width: SENSITIVE_STRING }),
|
|
240
|
+
});
|
|
241
|
+
export const TruckWeightFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
...(obj.Total && { Total: SENSITIVE_STRING }),
|
|
244
|
+
});
|
|
245
|
+
export const CalculateRouteTruckModeOptionsFilterSensitiveLog = (obj) => ({
|
|
246
|
+
...obj,
|
|
247
|
+
...(obj.AvoidFerries && { AvoidFerries: SENSITIVE_STRING }),
|
|
248
|
+
...(obj.AvoidTolls && { AvoidTolls: SENSITIVE_STRING }),
|
|
249
|
+
...(obj.Dimensions && { Dimensions: TruckDimensionsFilterSensitiveLog(obj.Dimensions) }),
|
|
250
|
+
...(obj.Weight && { Weight: TruckWeightFilterSensitiveLog(obj.Weight) }),
|
|
251
|
+
});
|
|
230
252
|
export const CalculateRouteRequestFilterSensitiveLog = (obj) => ({
|
|
231
253
|
...obj,
|
|
232
254
|
...(obj.DeparturePosition && { DeparturePosition: SENSITIVE_STRING }),
|
|
233
255
|
...(obj.DestinationPosition && { DestinationPosition: SENSITIVE_STRING }),
|
|
234
256
|
...(obj.WaypointPositions && { WaypointPositions: SENSITIVE_STRING }),
|
|
235
257
|
...(obj.DepartureTime && { DepartureTime: SENSITIVE_STRING }),
|
|
258
|
+
...(obj.DepartNow && { DepartNow: SENSITIVE_STRING }),
|
|
259
|
+
...(obj.IncludeLegGeometry && { IncludeLegGeometry: SENSITIVE_STRING }),
|
|
260
|
+
...(obj.CarModeOptions && { CarModeOptions: CalculateRouteCarModeOptionsFilterSensitiveLog(obj.CarModeOptions) }),
|
|
261
|
+
...(obj.TruckModeOptions && {
|
|
262
|
+
TruckModeOptions: CalculateRouteTruckModeOptionsFilterSensitiveLog(obj.TruckModeOptions),
|
|
263
|
+
}),
|
|
236
264
|
...(obj.ArrivalTime && { ArrivalTime: SENSITIVE_STRING }),
|
|
237
265
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
238
266
|
});
|
|
@@ -244,17 +272,23 @@ export const StepFilterSensitiveLog = (obj) => ({
|
|
|
244
272
|
...obj,
|
|
245
273
|
...(obj.StartPosition && { StartPosition: SENSITIVE_STRING }),
|
|
246
274
|
...(obj.EndPosition && { EndPosition: SENSITIVE_STRING }),
|
|
275
|
+
...(obj.Distance && { Distance: SENSITIVE_STRING }),
|
|
276
|
+
...(obj.DurationSeconds && { DurationSeconds: SENSITIVE_STRING }),
|
|
247
277
|
});
|
|
248
278
|
export const LegFilterSensitiveLog = (obj) => ({
|
|
249
279
|
...obj,
|
|
250
280
|
...(obj.StartPosition && { StartPosition: SENSITIVE_STRING }),
|
|
251
281
|
...(obj.EndPosition && { EndPosition: SENSITIVE_STRING }),
|
|
282
|
+
...(obj.Distance && { Distance: SENSITIVE_STRING }),
|
|
283
|
+
...(obj.DurationSeconds && { DurationSeconds: SENSITIVE_STRING }),
|
|
252
284
|
...(obj.Geometry && { Geometry: LegGeometryFilterSensitiveLog(obj.Geometry) }),
|
|
253
285
|
...(obj.Steps && { Steps: obj.Steps.map((item) => StepFilterSensitiveLog(item)) }),
|
|
254
286
|
});
|
|
255
287
|
export const CalculateRouteSummaryFilterSensitiveLog = (obj) => ({
|
|
256
288
|
...obj,
|
|
257
289
|
...(obj.RouteBBox && { RouteBBox: SENSITIVE_STRING }),
|
|
290
|
+
...(obj.Distance && { Distance: SENSITIVE_STRING }),
|
|
291
|
+
...(obj.DurationSeconds && { DurationSeconds: SENSITIVE_STRING }),
|
|
258
292
|
});
|
|
259
293
|
export const CalculateRouteResponseFilterSensitiveLog = (obj) => ({
|
|
260
294
|
...obj,
|
|
@@ -266,10 +300,23 @@ export const CalculateRouteMatrixRequestFilterSensitiveLog = (obj) => ({
|
|
|
266
300
|
...(obj.DeparturePositions && { DeparturePositions: SENSITIVE_STRING }),
|
|
267
301
|
...(obj.DestinationPositions && { DestinationPositions: SENSITIVE_STRING }),
|
|
268
302
|
...(obj.DepartureTime && { DepartureTime: SENSITIVE_STRING }),
|
|
303
|
+
...(obj.DepartNow && { DepartNow: SENSITIVE_STRING }),
|
|
304
|
+
...(obj.CarModeOptions && { CarModeOptions: CalculateRouteCarModeOptionsFilterSensitiveLog(obj.CarModeOptions) }),
|
|
305
|
+
...(obj.TruckModeOptions && {
|
|
306
|
+
TruckModeOptions: CalculateRouteTruckModeOptionsFilterSensitiveLog(obj.TruckModeOptions),
|
|
307
|
+
}),
|
|
269
308
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
270
309
|
});
|
|
310
|
+
export const RouteMatrixEntryFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
...(obj.Distance && { Distance: SENSITIVE_STRING }),
|
|
313
|
+
...(obj.DurationSeconds && { DurationSeconds: SENSITIVE_STRING }),
|
|
314
|
+
});
|
|
271
315
|
export const CalculateRouteMatrixResponseFilterSensitiveLog = (obj) => ({
|
|
272
316
|
...obj,
|
|
317
|
+
...(obj.RouteMatrix && {
|
|
318
|
+
RouteMatrix: obj.RouteMatrix.map((item) => item.map((item) => RouteMatrixEntryFilterSensitiveLog(item))),
|
|
319
|
+
}),
|
|
273
320
|
...(obj.SnappedDeparturePositions && { SnappedDeparturePositions: SENSITIVE_STRING }),
|
|
274
321
|
...(obj.SnappedDestinationPositions && { SnappedDestinationPositions: SENSITIVE_STRING }),
|
|
275
322
|
});
|
|
@@ -428,19 +475,44 @@ export const GetMapStyleDescriptorRequestFilterSensitiveLog = (obj) => ({
|
|
|
428
475
|
});
|
|
429
476
|
export const GetMapTileRequestFilterSensitiveLog = (obj) => ({
|
|
430
477
|
...obj,
|
|
478
|
+
...(obj.Z && { Z: SENSITIVE_STRING }),
|
|
479
|
+
...(obj.X && { X: SENSITIVE_STRING }),
|
|
480
|
+
...(obj.Y && { Y: SENSITIVE_STRING }),
|
|
431
481
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
432
482
|
});
|
|
433
483
|
export const GetPlaceRequestFilterSensitiveLog = (obj) => ({
|
|
434
484
|
...obj,
|
|
485
|
+
...(obj.PlaceId && { PlaceId: SENSITIVE_STRING }),
|
|
435
486
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
436
487
|
});
|
|
437
488
|
export const PlaceGeometryFilterSensitiveLog = (obj) => ({
|
|
438
489
|
...obj,
|
|
439
490
|
...(obj.Point && { Point: SENSITIVE_STRING }),
|
|
440
491
|
});
|
|
492
|
+
export const TimeZoneFilterSensitiveLog = (obj) => ({
|
|
493
|
+
...obj,
|
|
494
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
495
|
+
...(obj.Offset && { Offset: SENSITIVE_STRING }),
|
|
496
|
+
});
|
|
441
497
|
export const PlaceFilterSensitiveLog = (obj) => ({
|
|
442
498
|
...obj,
|
|
499
|
+
...(obj.Label && { Label: SENSITIVE_STRING }),
|
|
443
500
|
...(obj.Geometry && { Geometry: PlaceGeometryFilterSensitiveLog(obj.Geometry) }),
|
|
501
|
+
...(obj.AddressNumber && { AddressNumber: SENSITIVE_STRING }),
|
|
502
|
+
...(obj.Street && { Street: SENSITIVE_STRING }),
|
|
503
|
+
...(obj.Neighborhood && { Neighborhood: SENSITIVE_STRING }),
|
|
504
|
+
...(obj.Municipality && { Municipality: SENSITIVE_STRING }),
|
|
505
|
+
...(obj.SubRegion && { SubRegion: SENSITIVE_STRING }),
|
|
506
|
+
...(obj.Region && { Region: SENSITIVE_STRING }),
|
|
507
|
+
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
508
|
+
...(obj.PostalCode && { PostalCode: SENSITIVE_STRING }),
|
|
509
|
+
...(obj.Interpolated && { Interpolated: SENSITIVE_STRING }),
|
|
510
|
+
...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
|
|
511
|
+
...(obj.UnitType && { UnitType: SENSITIVE_STRING }),
|
|
512
|
+
...(obj.UnitNumber && { UnitNumber: SENSITIVE_STRING }),
|
|
513
|
+
...(obj.Categories && { Categories: SENSITIVE_STRING }),
|
|
514
|
+
...(obj.SupplementalCategories && { SupplementalCategories: SENSITIVE_STRING }),
|
|
515
|
+
...(obj.SubMunicipality && { SubMunicipality: SENSITIVE_STRING }),
|
|
444
516
|
});
|
|
445
517
|
export const GetPlaceResponseFilterSensitiveLog = (obj) => ({
|
|
446
518
|
...obj,
|
|
@@ -528,6 +600,8 @@ export const SearchPlaceIndexForPositionRequestFilterSensitiveLog = (obj) => ({
|
|
|
528
600
|
export const SearchForPositionResultFilterSensitiveLog = (obj) => ({
|
|
529
601
|
...obj,
|
|
530
602
|
...(obj.Place && { Place: PlaceFilterSensitiveLog(obj.Place) }),
|
|
603
|
+
...(obj.Distance && { Distance: SENSITIVE_STRING }),
|
|
604
|
+
...(obj.PlaceId && { PlaceId: SENSITIVE_STRING }),
|
|
531
605
|
});
|
|
532
606
|
export const SearchPlaceIndexForPositionSummaryFilterSensitiveLog = (obj) => ({
|
|
533
607
|
...obj,
|
|
@@ -544,18 +618,28 @@ export const SearchPlaceIndexForSuggestionsRequestFilterSensitiveLog = (obj) =>
|
|
|
544
618
|
...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
|
|
545
619
|
...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
|
|
546
620
|
...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
|
|
621
|
+
...(obj.FilterCategories && { FilterCategories: SENSITIVE_STRING }),
|
|
547
622
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
548
623
|
});
|
|
624
|
+
export const SearchForSuggestionsResultFilterSensitiveLog = (obj) => ({
|
|
625
|
+
...obj,
|
|
626
|
+
...(obj.Text && { Text: SENSITIVE_STRING }),
|
|
627
|
+
...(obj.PlaceId && { PlaceId: SENSITIVE_STRING }),
|
|
628
|
+
...(obj.Categories && { Categories: SENSITIVE_STRING }),
|
|
629
|
+
...(obj.SupplementalCategories && { SupplementalCategories: SENSITIVE_STRING }),
|
|
630
|
+
});
|
|
549
631
|
export const SearchPlaceIndexForSuggestionsSummaryFilterSensitiveLog = (obj) => ({
|
|
550
632
|
...obj,
|
|
551
633
|
...(obj.Text && { Text: SENSITIVE_STRING }),
|
|
552
634
|
...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
|
|
553
635
|
...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
|
|
554
636
|
...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
|
|
637
|
+
...(obj.FilterCategories && { FilterCategories: SENSITIVE_STRING }),
|
|
555
638
|
});
|
|
556
639
|
export const SearchPlaceIndexForSuggestionsResponseFilterSensitiveLog = (obj) => ({
|
|
557
640
|
...obj,
|
|
558
641
|
...(obj.Summary && { Summary: SearchPlaceIndexForSuggestionsSummaryFilterSensitiveLog(obj.Summary) }),
|
|
642
|
+
...(obj.Results && { Results: obj.Results.map((item) => SearchForSuggestionsResultFilterSensitiveLog(item)) }),
|
|
559
643
|
});
|
|
560
644
|
export const SearchPlaceIndexForTextRequestFilterSensitiveLog = (obj) => ({
|
|
561
645
|
...obj,
|
|
@@ -563,11 +647,15 @@ export const SearchPlaceIndexForTextRequestFilterSensitiveLog = (obj) => ({
|
|
|
563
647
|
...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
|
|
564
648
|
...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
|
|
565
649
|
...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
|
|
650
|
+
...(obj.FilterCategories && { FilterCategories: SENSITIVE_STRING }),
|
|
566
651
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
567
652
|
});
|
|
568
653
|
export const SearchForTextResultFilterSensitiveLog = (obj) => ({
|
|
569
654
|
...obj,
|
|
570
655
|
...(obj.Place && { Place: PlaceFilterSensitiveLog(obj.Place) }),
|
|
656
|
+
...(obj.Distance && { Distance: SENSITIVE_STRING }),
|
|
657
|
+
...(obj.Relevance && { Relevance: SENSITIVE_STRING }),
|
|
658
|
+
...(obj.PlaceId && { PlaceId: SENSITIVE_STRING }),
|
|
571
659
|
});
|
|
572
660
|
export const SearchPlaceIndexForTextSummaryFilterSensitiveLog = (obj) => ({
|
|
573
661
|
...obj,
|
|
@@ -576,6 +664,7 @@ export const SearchPlaceIndexForTextSummaryFilterSensitiveLog = (obj) => ({
|
|
|
576
664
|
...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
|
|
577
665
|
...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
|
|
578
666
|
...(obj.ResultBBox && { ResultBBox: SENSITIVE_STRING }),
|
|
667
|
+
...(obj.FilterCategories && { FilterCategories: SENSITIVE_STRING }),
|
|
579
668
|
});
|
|
580
669
|
export const SearchPlaceIndexForTextResponseFilterSensitiveLog = (obj) => ({
|
|
581
670
|
...obj,
|
|
@@ -27,13 +27,7 @@ declare const AssociateTrackerConsumerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an association between a geofence collection and a tracker resource. This
|
|
31
|
-
* allows the tracker resource to communicate location data to the linked geofence
|
|
32
|
-
* collection. </p>
|
|
33
|
-
* <p>You can associate up to five geofence collections to each tracker resource.</p>
|
|
34
|
-
* <note>
|
|
35
|
-
* <p>Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.</p>
|
|
36
|
-
* </note>
|
|
30
|
+
* <p>Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection. </p> <p>You can associate up to five geofence collections to each tracker resource.</p> <note> <p>Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.</p> </note>
|
|
37
31
|
* @example
|
|
38
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
33
|
* ```javascript
|
|
@@ -59,8 +53,7 @@ declare const AssociateTrackerConsumerCommand_base: {
|
|
|
59
53
|
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
60
54
|
*
|
|
61
55
|
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
63
|
-
* administrator to verify your permissions.</p>
|
|
56
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
64
57
|
*
|
|
65
58
|
* @throws {@link ConflictException} (client fault)
|
|
66
59
|
* <p>The request was unsuccessful because of a conflict.</p>
|
|
@@ -72,8 +65,7 @@ declare const AssociateTrackerConsumerCommand_base: {
|
|
|
72
65
|
* <p>The resource that you've entered was not found in your AWS account.</p>
|
|
73
66
|
*
|
|
74
67
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
75
|
-
* <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
|
|
76
|
-
* set for Amazon Location Service.</p>
|
|
68
|
+
* <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a> set for Amazon Location Service.</p>
|
|
77
69
|
*
|
|
78
70
|
* @throws {@link ThrottlingException} (client fault)
|
|
79
71
|
* <p>The request was denied because of request throttling.</p>
|
|
@@ -65,8 +65,7 @@ declare const BatchDeleteDevicePositionHistoryCommand_base: {
|
|
|
65
65
|
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
69
|
-
* administrator to verify your permissions.</p>
|
|
68
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
70
69
|
*
|
|
71
70
|
* @throws {@link InternalServerException} (server fault)
|
|
72
71
|
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
@@ -27,10 +27,7 @@ declare const BatchDeleteGeofenceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a batch of geofences from a geofence collection.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>This operation deletes the resource permanently.</p>
|
|
33
|
-
* </note>
|
|
30
|
+
* <p>Deletes a batch of geofences from a geofence collection.</p> <note> <p>This operation deletes the resource permanently.</p> </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -68,8 +65,7 @@ declare const BatchDeleteGeofenceCommand_base: {
|
|
|
68
65
|
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
69
66
|
*
|
|
70
67
|
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
72
|
-
* administrator to verify your permissions.</p>
|
|
68
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
73
69
|
*
|
|
74
70
|
* @throws {@link InternalServerException} (server fault)
|
|
75
71
|
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
@@ -27,36 +27,7 @@ declare const BatchEvaluateGeofencesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Evaluates device positions against the geofence geometries from a given geofence
|
|
31
|
-
* collection.</p>
|
|
32
|
-
* <p>This operation always returns an empty response because geofences are asynchronously
|
|
33
|
-
* evaluated. The evaluation determines if the device has entered or exited a geofenced
|
|
34
|
-
* area, and then publishes one of the following events to Amazon EventBridge:</p>
|
|
35
|
-
* <ul>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>ENTER</code> if Amazon Location determines that the tracked device has entered
|
|
39
|
-
* a geofenced area.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>
|
|
43
|
-
* <code>EXIT</code> if Amazon Location determines that the tracked device has exited a
|
|
44
|
-
* geofenced area.</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* <note>
|
|
48
|
-
* <p>The last geofence that a device was observed within is tracked for 30 days after
|
|
49
|
-
* the most recent device position update.</p>
|
|
50
|
-
* </note>
|
|
51
|
-
* <note>
|
|
52
|
-
* <p>Geofence evaluation uses the given device position. It does not account for the
|
|
53
|
-
* optional <code>Accuracy</code> of a <code>DevicePositionUpdate</code>.</p>
|
|
54
|
-
* </note>
|
|
55
|
-
* <note>
|
|
56
|
-
* <p>The <code>DeviceID</code> is used as a string to represent the device. You do not
|
|
57
|
-
* need to have a <code>Tracker</code> associated with the
|
|
58
|
-
* <code>DeviceID</code>.</p>
|
|
59
|
-
* </note>
|
|
30
|
+
* <p>Evaluates device positions against the geofence geometries from a given geofence collection.</p> <p>This operation always returns an empty response because geofences are asynchronously evaluated. The evaluation determines if the device has entered or exited a geofenced area, and then publishes one of the following events to Amazon EventBridge:</p> <ul> <li> <p> <code>ENTER</code> if Amazon Location determines that the tracked device has entered a geofenced area.</p> </li> <li> <p> <code>EXIT</code> if Amazon Location determines that the tracked device has exited a geofenced area.</p> </li> </ul> <note> <p>The last geofence that a device was observed within is tracked for 30 days after the most recent device position update.</p> </note> <note> <p>Geofence evaluation uses the given device position. It does not account for the optional <code>Accuracy</code> of a <code>DevicePositionUpdate</code>.</p> </note> <note> <p>The <code>DeviceID</code> is used as a string to represent the device. You do not need to have a <code>Tracker</code> associated with the <code>DeviceID</code>.</p> </note>
|
|
60
31
|
* @example
|
|
61
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
62
33
|
* ```javascript
|
|
@@ -107,8 +78,7 @@ declare const BatchEvaluateGeofencesCommand_base: {
|
|
|
107
78
|
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
108
79
|
*
|
|
109
80
|
* @throws {@link AccessDeniedException} (client fault)
|
|
110
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
111
|
-
* administrator to verify your permissions.</p>
|
|
81
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
112
82
|
*
|
|
113
83
|
* @throws {@link InternalServerException} (server fault)
|
|
114
84
|
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
@@ -81,8 +81,7 @@ declare const BatchGetDevicePositionCommand_base: {
|
|
|
81
81
|
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
85
|
-
* administrator to verify your permissions.</p>
|
|
84
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
86
85
|
*
|
|
87
86
|
* @throws {@link InternalServerException} (server fault)
|
|
88
87
|
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
@@ -27,9 +27,7 @@ declare const BatchPutGeofenceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>A batch request for storing geofence geometries into a given geofence collection, or
|
|
31
|
-
* updates the geometry of an existing geofence if a geofence ID is included in the
|
|
32
|
-
* request.</p>
|
|
30
|
+
* <p>A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -102,8 +100,7 @@ declare const BatchPutGeofenceCommand_base: {
|
|
|
102
100
|
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
103
101
|
*
|
|
104
102
|
* @throws {@link AccessDeniedException} (client fault)
|
|
105
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
106
|
-
* administrator to verify your permissions.</p>
|
|
103
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
107
104
|
*
|
|
108
105
|
* @throws {@link InternalServerException} (server fault)
|
|
109
106
|
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|