@aws-sdk/client-location 3.178.0 → 3.180.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.
@@ -606,6 +606,37 @@ export interface GetMapTileResponse {
606
606
  Blob?: Uint8Array;
607
607
  ContentType?: string;
608
608
  }
609
+ export interface GetPlaceRequest {
610
+ IndexName: string | undefined;
611
+ PlaceId: string | undefined;
612
+ Language?: string;
613
+ }
614
+ export interface PlaceGeometry {
615
+ Point?: number[];
616
+ }
617
+ export interface TimeZone {
618
+ Name: string | undefined;
619
+ Offset?: number;
620
+ }
621
+ export interface Place {
622
+ Label?: string;
623
+ Geometry: PlaceGeometry | undefined;
624
+ AddressNumber?: string;
625
+ Street?: string;
626
+ Neighborhood?: string;
627
+ Municipality?: string;
628
+ SubRegion?: string;
629
+ Region?: string;
630
+ Country?: string;
631
+ PostalCode?: string;
632
+ Interpolated?: boolean;
633
+ TimeZone?: TimeZone;
634
+ UnitType?: string;
635
+ UnitNumber?: string;
636
+ }
637
+ export interface GetPlaceResponse {
638
+ Place: Place | undefined;
639
+ }
609
640
  export interface ListDevicePositionsRequest {
610
641
  TrackerName: string | undefined;
611
642
  MaxResults?: number;
@@ -711,30 +742,10 @@ export interface SearchPlaceIndexForPositionRequest {
711
742
  MaxResults?: number;
712
743
  Language?: string;
713
744
  }
714
- export interface PlaceGeometry {
715
- Point?: number[];
716
- }
717
- export interface TimeZone {
718
- Name: string | undefined;
719
- Offset?: number;
720
- }
721
- export interface Place {
722
- Label?: string;
723
- Geometry: PlaceGeometry | undefined;
724
- AddressNumber?: string;
725
- Street?: string;
726
- Neighborhood?: string;
727
- Municipality?: string;
728
- SubRegion?: string;
729
- Region?: string;
730
- Country?: string;
731
- PostalCode?: string;
732
- Interpolated?: boolean;
733
- TimeZone?: TimeZone;
734
- }
735
745
  export interface SearchForPositionResult {
736
746
  Place: Place | undefined;
737
747
  Distance: number | undefined;
748
+ PlaceId?: string;
738
749
  }
739
750
  export interface SearchPlaceIndexForPositionSummary {
740
751
  Position: number[] | undefined;
@@ -757,6 +768,7 @@ export interface SearchPlaceIndexForSuggestionsRequest {
757
768
  }
758
769
  export interface SearchForSuggestionsResult {
759
770
  Text: string | undefined;
771
+ PlaceId?: string;
760
772
  }
761
773
  export interface SearchPlaceIndexForSuggestionsSummary {
762
774
  Text: string | undefined;
@@ -784,6 +796,7 @@ export interface SearchForTextResult {
784
796
  Place: Place | undefined;
785
797
  Distance?: number;
786
798
  Relevance?: number;
799
+ PlaceId?: string;
787
800
  }
788
801
  export interface SearchPlaceIndexForTextSummary {
789
802
  Text: string | undefined;
@@ -1146,6 +1159,17 @@ export declare const GetMapTileRequestFilterSensitiveLog: (
1146
1159
  export declare const GetMapTileResponseFilterSensitiveLog: (
1147
1160
  obj: GetMapTileResponse
1148
1161
  ) => any;
1162
+ export declare const GetPlaceRequestFilterSensitiveLog: (
1163
+ obj: GetPlaceRequest
1164
+ ) => any;
1165
+ export declare const PlaceGeometryFilterSensitiveLog: (
1166
+ obj: PlaceGeometry
1167
+ ) => any;
1168
+ export declare const TimeZoneFilterSensitiveLog: (obj: TimeZone) => any;
1169
+ export declare const PlaceFilterSensitiveLog: (obj: Place) => any;
1170
+ export declare const GetPlaceResponseFilterSensitiveLog: (
1171
+ obj: GetPlaceResponse
1172
+ ) => any;
1149
1173
  export declare const ListDevicePositionsRequestFilterSensitiveLog: (
1150
1174
  obj: ListDevicePositionsRequest
1151
1175
  ) => any;
@@ -1206,11 +1230,6 @@ export declare const UpdateMapResponseFilterSensitiveLog: (
1206
1230
  export declare const SearchPlaceIndexForPositionRequestFilterSensitiveLog: (
1207
1231
  obj: SearchPlaceIndexForPositionRequest
1208
1232
  ) => any;
1209
- export declare const PlaceGeometryFilterSensitiveLog: (
1210
- obj: PlaceGeometry
1211
- ) => any;
1212
- export declare const TimeZoneFilterSensitiveLog: (obj: TimeZone) => any;
1213
- export declare const PlaceFilterSensitiveLog: (obj: Place) => any;
1214
1233
  export declare const SearchForPositionResultFilterSensitiveLog: (
1215
1234
  obj: SearchForPositionResult
1216
1235
  ) => any;
@@ -131,6 +131,10 @@ import {
131
131
  GetMapTileCommandInput,
132
132
  GetMapTileCommandOutput,
133
133
  } from "../commands/GetMapTileCommand";
134
+ import {
135
+ GetPlaceCommandInput,
136
+ GetPlaceCommandOutput,
137
+ } from "../commands/GetPlaceCommand";
134
138
  import {
135
139
  ListDevicePositionsCommandInput,
136
140
  ListDevicePositionsCommandOutput,
@@ -339,6 +343,10 @@ export declare const serializeAws_restJson1GetMapTileCommand: (
339
343
  input: GetMapTileCommandInput,
340
344
  context: __SerdeContext
341
345
  ) => Promise<__HttpRequest>;
346
+ export declare const serializeAws_restJson1GetPlaceCommand: (
347
+ input: GetPlaceCommandInput,
348
+ context: __SerdeContext
349
+ ) => Promise<__HttpRequest>;
342
350
  export declare const serializeAws_restJson1ListDevicePositionsCommand: (
343
351
  input: ListDevicePositionsCommandInput,
344
352
  context: __SerdeContext
@@ -547,6 +555,10 @@ export declare const deserializeAws_restJson1GetMapTileCommand: (
547
555
  output: __HttpResponse,
548
556
  context: __SerdeContext
549
557
  ) => Promise<GetMapTileCommandOutput>;
558
+ export declare const deserializeAws_restJson1GetPlaceCommand: (
559
+ output: __HttpResponse,
560
+ context: __SerdeContext
561
+ ) => Promise<GetPlaceCommandOutput>;
550
562
  export declare const deserializeAws_restJson1ListDevicePositionsCommand: (
551
563
  output: __HttpResponse,
552
564
  context: __SerdeContext
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.178.0",
4
+ "version": "3.180.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.178.0",
22
+ "@aws-sdk/client-sts": "3.180.0",
23
23
  "@aws-sdk/config-resolver": "3.178.0",
24
- "@aws-sdk/credential-provider-node": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.180.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.178.0",
26
26
  "@aws-sdk/hash-node": "3.178.0",
27
27
  "@aws-sdk/invalid-dependency": "3.178.0",
@@ -31,21 +31,21 @@
31
31
  "@aws-sdk/middleware-recursion-detection": "3.178.0",
32
32
  "@aws-sdk/middleware-retry": "3.178.0",
33
33
  "@aws-sdk/middleware-serde": "3.178.0",
34
- "@aws-sdk/middleware-signing": "3.178.0",
34
+ "@aws-sdk/middleware-signing": "3.179.0",
35
35
  "@aws-sdk/middleware-stack": "3.178.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.178.0",
37
37
  "@aws-sdk/node-config-provider": "3.178.0",
38
38
  "@aws-sdk/node-http-handler": "3.178.0",
39
39
  "@aws-sdk/protocol-http": "3.178.0",
40
- "@aws-sdk/smithy-client": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.180.0",
41
41
  "@aws-sdk/types": "3.178.0",
42
42
  "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.178.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.180.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.180.0",
49
49
  "@aws-sdk/util-user-agent-browser": "3.178.0",
50
50
  "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",