@aws-sdk/client-geo-places 3.683.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +297 -0
  3. package/dist-cjs/GeoPlaces.js +25 -0
  4. package/dist-cjs/GeoPlacesClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AutocompleteCommand.js +27 -0
  8. package/dist-cjs/commands/GeocodeCommand.js +27 -0
  9. package/dist-cjs/commands/GetPlaceCommand.js +27 -0
  10. package/dist-cjs/commands/ReverseGeocodeCommand.js +27 -0
  11. package/dist-cjs/commands/SearchNearbyCommand.js +27 -0
  12. package/dist-cjs/commands/SearchTextCommand.js +27 -0
  13. package/dist-cjs/commands/SuggestCommand.js +27 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  16. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  17. package/dist-cjs/endpoint/ruleset.js +7 -0
  18. package/dist-cjs/extensionConfiguration.js +2 -0
  19. package/dist-cjs/index.js +10 -0
  20. package/dist-cjs/models/GeoPlacesServiceException.js +12 -0
  21. package/dist-cjs/models/index.js +4 -0
  22. package/dist-cjs/models/models_0.js +379 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +690 -0
  24. package/dist-cjs/runtimeConfig.browser.js +39 -0
  25. package/dist-cjs/runtimeConfig.js +50 -0
  26. package/dist-cjs/runtimeConfig.native.js +15 -0
  27. package/dist-cjs/runtimeConfig.shared.js +34 -0
  28. package/dist-cjs/runtimeExtensions.js +25 -0
  29. package/dist-es/GeoPlaces.js +21 -0
  30. package/dist-es/GeoPlacesClient.js +46 -0
  31. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  32. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  33. package/dist-es/commands/AutocompleteCommand.js +23 -0
  34. package/dist-es/commands/GeocodeCommand.js +23 -0
  35. package/dist-es/commands/GetPlaceCommand.js +23 -0
  36. package/dist-es/commands/ReverseGeocodeCommand.js +23 -0
  37. package/dist-es/commands/SearchNearbyCommand.js +23 -0
  38. package/dist-es/commands/SearchTextCommand.js +23 -0
  39. package/dist-es/commands/SuggestCommand.js +23 -0
  40. package/dist-es/commands/index.js +7 -0
  41. package/dist-es/endpoint/EndpointParameters.js +14 -0
  42. package/dist-es/endpoint/endpointResolver.js +14 -0
  43. package/dist-es/endpoint/ruleset.js +4 -0
  44. package/dist-es/extensionConfiguration.js +1 -0
  45. package/dist-es/index.js +5 -0
  46. package/dist-es/models/GeoPlacesServiceException.js +8 -0
  47. package/dist-es/models/index.js +1 -0
  48. package/dist-es/models/models_0.js +345 -0
  49. package/dist-es/protocols/Aws_restJson1.js +673 -0
  50. package/dist-es/runtimeConfig.browser.js +34 -0
  51. package/dist-es/runtimeConfig.js +45 -0
  52. package/dist-es/runtimeConfig.native.js +11 -0
  53. package/dist-es/runtimeConfig.shared.js +30 -0
  54. package/dist-es/runtimeExtensions.js +21 -0
  55. package/dist-types/GeoPlaces.d.ts +97 -0
  56. package/dist-types/GeoPlacesClient.d.ts +212 -0
  57. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  58. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  59. package/dist-types/commands/AutocompleteCommand.d.ts +204 -0
  60. package/dist-types/commands/GeocodeCommand.d.ts +231 -0
  61. package/dist-types/commands/GetPlaceCommand.d.ts +312 -0
  62. package/dist-types/commands/ReverseGeocodeCommand.d.ts +196 -0
  63. package/dist-types/commands/SearchNearbyCommand.d.ts +335 -0
  64. package/dist-types/commands/SearchTextCommand.d.ts +326 -0
  65. package/dist-types/commands/SuggestCommand.d.ts +289 -0
  66. package/dist-types/commands/index.d.ts +7 -0
  67. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  68. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  69. package/dist-types/endpoint/ruleset.d.ts +2 -0
  70. package/dist-types/extensionConfiguration.d.ts +9 -0
  71. package/dist-types/index.d.ts +49 -0
  72. package/dist-types/models/GeoPlacesServiceException.d.ts +14 -0
  73. package/dist-types/models/index.d.ts +1 -0
  74. package/dist-types/models/models_0.d.ts +2871 -0
  75. package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  77. package/dist-types/runtimeConfig.d.ts +48 -0
  78. package/dist-types/runtimeConfig.native.d.ts +47 -0
  79. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  80. package/dist-types/runtimeExtensions.d.ts +17 -0
  81. package/dist-types/ts3.4/GeoPlaces.d.ts +126 -0
  82. package/dist-types/ts3.4/GeoPlacesClient.d.ts +160 -0
  83. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  84. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  85. package/dist-types/ts3.4/commands/AutocompleteCommand.d.ts +47 -0
  86. package/dist-types/ts3.4/commands/GeocodeCommand.d.ts +45 -0
  87. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +47 -0
  88. package/dist-types/ts3.4/commands/ReverseGeocodeCommand.d.ts +50 -0
  89. package/dist-types/ts3.4/commands/SearchNearbyCommand.d.ts +47 -0
  90. package/dist-types/ts3.4/commands/SearchTextCommand.d.ts +47 -0
  91. package/dist-types/ts3.4/commands/SuggestCommand.d.ts +43 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  93. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  94. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  95. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  96. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  97. package/dist-types/ts3.4/index.d.ts +8 -0
  98. package/dist-types/ts3.4/models/GeoPlacesServiceException.d.ts +9 -0
  99. package/dist-types/ts3.4/models/index.d.ts +1 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +786 -0
  101. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  106. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  107. package/package.json +101 -0
@@ -0,0 +1,45 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GeoPlacesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GeoPlacesClient";
8
+ import { GeocodeRequest, GeocodeResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GeocodeCommandInput extends GeocodeRequest {}
12
+ export interface GeocodeCommandOutput
13
+ extends GeocodeResponse,
14
+ __MetadataBearer {}
15
+ declare const GeocodeCommand_base: {
16
+ new (input: GeocodeCommandInput): import("@smithy/smithy-client").CommandImpl<
17
+ GeocodeCommandInput,
18
+ GeocodeCommandOutput,
19
+ GeoPlacesClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
22
+ >;
23
+ new (
24
+ ...[input]: [] | [GeocodeCommandInput]
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ GeocodeCommandInput,
27
+ GeocodeCommandOutput,
28
+ GeoPlacesClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
34
+ export declare class GeocodeCommand extends GeocodeCommand_base {
35
+ protected static __types: {
36
+ api: {
37
+ input: GeocodeRequest;
38
+ output: GeocodeResponse;
39
+ };
40
+ sdk: {
41
+ input: GeocodeCommandInput;
42
+ output: GeocodeCommandOutput;
43
+ };
44
+ };
45
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GeoPlacesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GeoPlacesClient";
8
+ import { GetPlaceRequest, GetPlaceResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GetPlaceCommandInput extends GetPlaceRequest {}
12
+ export interface GetPlaceCommandOutput
13
+ extends GetPlaceResponse,
14
+ __MetadataBearer {}
15
+ declare const GetPlaceCommand_base: {
16
+ new (
17
+ input: GetPlaceCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ GetPlaceCommandInput,
20
+ GetPlaceCommandOutput,
21
+ GeoPlacesClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: GetPlaceCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ GetPlaceCommandInput,
29
+ GetPlaceCommandOutput,
30
+ GeoPlacesClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class GetPlaceCommand extends GetPlaceCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: GetPlaceRequest;
40
+ output: GetPlaceResponse;
41
+ };
42
+ sdk: {
43
+ input: GetPlaceCommandInput;
44
+ output: GetPlaceCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GeoPlacesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GeoPlacesClient";
8
+ import {
9
+ ReverseGeocodeRequest,
10
+ ReverseGeocodeResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ReverseGeocodeCommandInput extends ReverseGeocodeRequest {}
15
+ export interface ReverseGeocodeCommandOutput
16
+ extends ReverseGeocodeResponse,
17
+ __MetadataBearer {}
18
+ declare const ReverseGeocodeCommand_base: {
19
+ new (
20
+ input: ReverseGeocodeCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ReverseGeocodeCommandInput,
23
+ ReverseGeocodeCommandOutput,
24
+ GeoPlacesClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: ReverseGeocodeCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ReverseGeocodeCommandInput,
32
+ ReverseGeocodeCommandOutput,
33
+ GeoPlacesClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ReverseGeocodeCommand extends ReverseGeocodeCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: ReverseGeocodeRequest;
43
+ output: ReverseGeocodeResponse;
44
+ };
45
+ sdk: {
46
+ input: ReverseGeocodeCommandInput;
47
+ output: ReverseGeocodeCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GeoPlacesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GeoPlacesClient";
8
+ import { SearchNearbyRequest, SearchNearbyResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface SearchNearbyCommandInput extends SearchNearbyRequest {}
12
+ export interface SearchNearbyCommandOutput
13
+ extends SearchNearbyResponse,
14
+ __MetadataBearer {}
15
+ declare const SearchNearbyCommand_base: {
16
+ new (
17
+ input: SearchNearbyCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ SearchNearbyCommandInput,
20
+ SearchNearbyCommandOutput,
21
+ GeoPlacesClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: SearchNearbyCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ SearchNearbyCommandInput,
29
+ SearchNearbyCommandOutput,
30
+ GeoPlacesClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class SearchNearbyCommand extends SearchNearbyCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: SearchNearbyRequest;
40
+ output: SearchNearbyResponse;
41
+ };
42
+ sdk: {
43
+ input: SearchNearbyCommandInput;
44
+ output: SearchNearbyCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GeoPlacesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GeoPlacesClient";
8
+ import { SearchTextRequest, SearchTextResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface SearchTextCommandInput extends SearchTextRequest {}
12
+ export interface SearchTextCommandOutput
13
+ extends SearchTextResponse,
14
+ __MetadataBearer {}
15
+ declare const SearchTextCommand_base: {
16
+ new (
17
+ input: SearchTextCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ SearchTextCommandInput,
20
+ SearchTextCommandOutput,
21
+ GeoPlacesClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ ...[input]: [] | [SearchTextCommandInput]
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ SearchTextCommandInput,
29
+ SearchTextCommandOutput,
30
+ GeoPlacesClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class SearchTextCommand extends SearchTextCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: SearchTextRequest;
40
+ output: SearchTextResponse;
41
+ };
42
+ sdk: {
43
+ input: SearchTextCommandInput;
44
+ output: SearchTextCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,43 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GeoPlacesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GeoPlacesClient";
8
+ import { SuggestRequest, SuggestResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface SuggestCommandInput extends SuggestRequest {}
12
+ export interface SuggestCommandOutput
13
+ extends SuggestResponse,
14
+ __MetadataBearer {}
15
+ declare const SuggestCommand_base: {
16
+ new (input: SuggestCommandInput): import("@smithy/smithy-client").CommandImpl<
17
+ SuggestCommandInput,
18
+ SuggestCommandOutput,
19
+ GeoPlacesClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
22
+ >;
23
+ new (__0_0: SuggestCommandInput): import("@smithy/smithy-client").CommandImpl<
24
+ SuggestCommandInput,
25
+ SuggestCommandOutput,
26
+ GeoPlacesClientResolvedConfig,
27
+ ServiceInputTypes,
28
+ ServiceOutputTypes
29
+ >;
30
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
31
+ };
32
+ export declare class SuggestCommand extends SuggestCommand_base {
33
+ protected static __types: {
34
+ api: {
35
+ input: SuggestRequest;
36
+ output: SuggestResponse;
37
+ };
38
+ sdk: {
39
+ input: SuggestCommandInput;
40
+ output: SuggestCommandOutput;
41
+ };
42
+ };
43
+ }
@@ -0,0 +1,7 @@
1
+ export * from "./AutocompleteCommand";
2
+ export * from "./GeocodeCommand";
3
+ export * from "./GetPlaceCommand";
4
+ export * from "./ReverseGeocodeCommand";
5
+ export * from "./SearchNearbyCommand";
6
+ export * from "./SearchTextCommand";
7
+ export * from "./SuggestCommand";
@@ -0,0 +1,51 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useDualstackEndpoint?: boolean | Provider<boolean>;
9
+ useFipsEndpoint?: boolean | Provider<boolean>;
10
+ endpoint?:
11
+ | string
12
+ | Provider<string>
13
+ | Endpoint
14
+ | Provider<Endpoint>
15
+ | EndpointV2
16
+ | Provider<EndpointV2>;
17
+ region?: string | Provider<string>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
46
+ export interface EndpointParameters extends __EndpointParameters {
47
+ UseDualStack?: boolean;
48
+ UseFIPS?: boolean;
49
+ Endpoint?: string;
50
+ Region?: string;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface GeoPlacesExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,8 @@
1
+ export * from "./GeoPlacesClient";
2
+ export * from "./GeoPlaces";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { GeoPlacesExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./models";
8
+ export { GeoPlacesServiceException } from "./models/GeoPlacesServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class GeoPlacesServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";