@aws-sdk/client-geo-places 3.1087.0 → 3.1088.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/index.js +1 -1
- package/dist-types/ts3.4/GeoPlaces.d.ts +25 -52
- package/dist-types/ts3.4/GeoPlacesClient.d.ts +9 -30
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/AutocompleteCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GeocodeCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ReverseGeocodeCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/SearchNearbyCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/SearchTextCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SuggestCommand.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +13 -26
- package/dist-types/ts3.4/models/errors.d.ts +4 -12
- package/dist-types/ts3.4/models/models_0.d.ts +2 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -3,14 +3,8 @@ import {
|
|
|
3
3
|
AutocompleteCommandInput,
|
|
4
4
|
AutocompleteCommandOutput,
|
|
5
5
|
} from "./commands/AutocompleteCommand";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
GeocodeCommandOutput,
|
|
9
|
-
} from "./commands/GeocodeCommand";
|
|
10
|
-
import {
|
|
11
|
-
GetPlaceCommandInput,
|
|
12
|
-
GetPlaceCommandOutput,
|
|
13
|
-
} from "./commands/GetPlaceCommand";
|
|
6
|
+
import { GeocodeCommandInput, GeocodeCommandOutput } from "./commands/GeocodeCommand";
|
|
7
|
+
import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlaceCommand";
|
|
14
8
|
import {
|
|
15
9
|
ReverseGeocodeCommandInput,
|
|
16
10
|
ReverseGeocodeCommandOutput,
|
|
@@ -19,108 +13,87 @@ import {
|
|
|
19
13
|
SearchNearbyCommandInput,
|
|
20
14
|
SearchNearbyCommandOutput,
|
|
21
15
|
} from "./commands/SearchNearbyCommand";
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
SearchTextCommandOutput,
|
|
25
|
-
} from "./commands/SearchTextCommand";
|
|
26
|
-
import {
|
|
27
|
-
SuggestCommandInput,
|
|
28
|
-
SuggestCommandOutput,
|
|
29
|
-
} from "./commands/SuggestCommand";
|
|
16
|
+
import { SearchTextCommandInput, SearchTextCommandOutput } from "./commands/SearchTextCommand";
|
|
17
|
+
import { SuggestCommandInput, SuggestCommandOutput } from "./commands/SuggestCommand";
|
|
30
18
|
import { GeoPlacesClient } from "./GeoPlacesClient";
|
|
31
19
|
export interface GeoPlaces {
|
|
32
20
|
autocomplete(
|
|
33
21
|
args: AutocompleteCommandInput,
|
|
34
|
-
options?: __HttpHandlerOptions
|
|
22
|
+
options?: __HttpHandlerOptions,
|
|
35
23
|
): Promise<AutocompleteCommandOutput>;
|
|
36
24
|
autocomplete(
|
|
37
25
|
args: AutocompleteCommandInput,
|
|
38
|
-
cb: (err: any, data?: AutocompleteCommandOutput) => void
|
|
26
|
+
cb: (err: any, data?: AutocompleteCommandOutput) => void,
|
|
39
27
|
): void;
|
|
40
28
|
autocomplete(
|
|
41
29
|
args: AutocompleteCommandInput,
|
|
42
30
|
options: __HttpHandlerOptions,
|
|
43
|
-
cb: (err: any, data?: AutocompleteCommandOutput) => void
|
|
31
|
+
cb: (err: any, data?: AutocompleteCommandOutput) => void,
|
|
44
32
|
): void;
|
|
45
33
|
geocode(): Promise<GeocodeCommandOutput>;
|
|
46
|
-
geocode(
|
|
47
|
-
|
|
48
|
-
options?: __HttpHandlerOptions
|
|
49
|
-
): Promise<GeocodeCommandOutput>;
|
|
50
|
-
geocode(
|
|
51
|
-
args: GeocodeCommandInput,
|
|
52
|
-
cb: (err: any, data?: GeocodeCommandOutput) => void
|
|
53
|
-
): void;
|
|
34
|
+
geocode(args: GeocodeCommandInput, options?: __HttpHandlerOptions): Promise<GeocodeCommandOutput>;
|
|
35
|
+
geocode(args: GeocodeCommandInput, cb: (err: any, data?: GeocodeCommandOutput) => void): void;
|
|
54
36
|
geocode(
|
|
55
37
|
args: GeocodeCommandInput,
|
|
56
38
|
options: __HttpHandlerOptions,
|
|
57
|
-
cb: (err: any, data?: GeocodeCommandOutput) => void
|
|
39
|
+
cb: (err: any, data?: GeocodeCommandOutput) => void,
|
|
58
40
|
): void;
|
|
59
41
|
getPlace(
|
|
60
42
|
args: GetPlaceCommandInput,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
43
|
+
options?: __HttpHandlerOptions,
|
|
62
44
|
): Promise<GetPlaceCommandOutput>;
|
|
63
|
-
getPlace(
|
|
64
|
-
args: GetPlaceCommandInput,
|
|
65
|
-
cb: (err: any, data?: GetPlaceCommandOutput) => void
|
|
66
|
-
): void;
|
|
45
|
+
getPlace(args: GetPlaceCommandInput, cb: (err: any, data?: GetPlaceCommandOutput) => void): void;
|
|
67
46
|
getPlace(
|
|
68
47
|
args: GetPlaceCommandInput,
|
|
69
48
|
options: __HttpHandlerOptions,
|
|
70
|
-
cb: (err: any, data?: GetPlaceCommandOutput) => void
|
|
49
|
+
cb: (err: any, data?: GetPlaceCommandOutput) => void,
|
|
71
50
|
): void;
|
|
72
51
|
reverseGeocode(
|
|
73
52
|
args: ReverseGeocodeCommandInput,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
53
|
+
options?: __HttpHandlerOptions,
|
|
75
54
|
): Promise<ReverseGeocodeCommandOutput>;
|
|
76
55
|
reverseGeocode(
|
|
77
56
|
args: ReverseGeocodeCommandInput,
|
|
78
|
-
cb: (err: any, data?: ReverseGeocodeCommandOutput) => void
|
|
57
|
+
cb: (err: any, data?: ReverseGeocodeCommandOutput) => void,
|
|
79
58
|
): void;
|
|
80
59
|
reverseGeocode(
|
|
81
60
|
args: ReverseGeocodeCommandInput,
|
|
82
61
|
options: __HttpHandlerOptions,
|
|
83
|
-
cb: (err: any, data?: ReverseGeocodeCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: ReverseGeocodeCommandOutput) => void,
|
|
84
63
|
): void;
|
|
85
64
|
searchNearby(
|
|
86
65
|
args: SearchNearbyCommandInput,
|
|
87
|
-
options?: __HttpHandlerOptions
|
|
66
|
+
options?: __HttpHandlerOptions,
|
|
88
67
|
): Promise<SearchNearbyCommandOutput>;
|
|
89
68
|
searchNearby(
|
|
90
69
|
args: SearchNearbyCommandInput,
|
|
91
|
-
cb: (err: any, data?: SearchNearbyCommandOutput) => void
|
|
70
|
+
cb: (err: any, data?: SearchNearbyCommandOutput) => void,
|
|
92
71
|
): void;
|
|
93
72
|
searchNearby(
|
|
94
73
|
args: SearchNearbyCommandInput,
|
|
95
74
|
options: __HttpHandlerOptions,
|
|
96
|
-
cb: (err: any, data?: SearchNearbyCommandOutput) => void
|
|
75
|
+
cb: (err: any, data?: SearchNearbyCommandOutput) => void,
|
|
97
76
|
): void;
|
|
98
77
|
searchText(): Promise<SearchTextCommandOutput>;
|
|
99
78
|
searchText(
|
|
100
79
|
args: SearchTextCommandInput,
|
|
101
|
-
options?: __HttpHandlerOptions
|
|
80
|
+
options?: __HttpHandlerOptions,
|
|
102
81
|
): Promise<SearchTextCommandOutput>;
|
|
103
82
|
searchText(
|
|
104
83
|
args: SearchTextCommandInput,
|
|
105
|
-
cb: (err: any, data?: SearchTextCommandOutput) => void
|
|
84
|
+
cb: (err: any, data?: SearchTextCommandOutput) => void,
|
|
106
85
|
): void;
|
|
107
86
|
searchText(
|
|
108
87
|
args: SearchTextCommandInput,
|
|
109
88
|
options: __HttpHandlerOptions,
|
|
110
|
-
cb: (err: any, data?: SearchTextCommandOutput) => void
|
|
111
|
-
): void;
|
|
112
|
-
suggest(
|
|
113
|
-
args: SuggestCommandInput,
|
|
114
|
-
options?: __HttpHandlerOptions
|
|
115
|
-
): Promise<SuggestCommandOutput>;
|
|
116
|
-
suggest(
|
|
117
|
-
args: SuggestCommandInput,
|
|
118
|
-
cb: (err: any, data?: SuggestCommandOutput) => void
|
|
89
|
+
cb: (err: any, data?: SearchTextCommandOutput) => void,
|
|
119
90
|
): void;
|
|
91
|
+
suggest(args: SuggestCommandInput, options?: __HttpHandlerOptions): Promise<SuggestCommandOutput>;
|
|
92
|
+
suggest(args: SuggestCommandInput, cb: (err: any, data?: SuggestCommandOutput) => void): void;
|
|
120
93
|
suggest(
|
|
121
94
|
args: SuggestCommandInput,
|
|
122
95
|
options: __HttpHandlerOptions,
|
|
123
|
-
cb: (err: any, data?: SuggestCommandOutput) => void
|
|
96
|
+
cb: (err: any, data?: SuggestCommandOutput) => void,
|
|
124
97
|
): void;
|
|
125
98
|
}
|
|
126
99
|
export declare class GeoPlaces extends GeoPlacesClient implements GeoPlaces {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -40,14 +37,8 @@ import {
|
|
|
40
37
|
AutocompleteCommandInput,
|
|
41
38
|
AutocompleteCommandOutput,
|
|
42
39
|
} from "./commands/AutocompleteCommand";
|
|
43
|
-
import {
|
|
44
|
-
|
|
45
|
-
GeocodeCommandOutput,
|
|
46
|
-
} from "./commands/GeocodeCommand";
|
|
47
|
-
import {
|
|
48
|
-
GetPlaceCommandInput,
|
|
49
|
-
GetPlaceCommandOutput,
|
|
50
|
-
} from "./commands/GetPlaceCommand";
|
|
40
|
+
import { GeocodeCommandInput, GeocodeCommandOutput } from "./commands/GeocodeCommand";
|
|
41
|
+
import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlaceCommand";
|
|
51
42
|
import {
|
|
52
43
|
ReverseGeocodeCommandInput,
|
|
53
44
|
ReverseGeocodeCommandOutput,
|
|
@@ -56,14 +47,8 @@ import {
|
|
|
56
47
|
SearchNearbyCommandInput,
|
|
57
48
|
SearchNearbyCommandOutput,
|
|
58
49
|
} from "./commands/SearchNearbyCommand";
|
|
59
|
-
import {
|
|
60
|
-
|
|
61
|
-
SearchTextCommandOutput,
|
|
62
|
-
} from "./commands/SearchTextCommand";
|
|
63
|
-
import {
|
|
64
|
-
SuggestCommandInput,
|
|
65
|
-
SuggestCommandOutput,
|
|
66
|
-
} from "./commands/SuggestCommand";
|
|
50
|
+
import { SearchTextCommandInput, SearchTextCommandOutput } from "./commands/SearchTextCommand";
|
|
51
|
+
import { SuggestCommandInput, SuggestCommandOutput } from "./commands/SuggestCommand";
|
|
67
52
|
import {
|
|
68
53
|
ClientInputEndpointParameters,
|
|
69
54
|
ClientResolvedEndpointParameters,
|
|
@@ -87,8 +72,7 @@ export type ServiceOutputTypes =
|
|
|
87
72
|
| SearchNearbyCommandOutput
|
|
88
73
|
| SearchTextCommandOutput
|
|
89
74
|
| SuggestCommandOutput;
|
|
90
|
-
export interface ClientDefaults
|
|
91
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
75
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
92
76
|
requestHandler?: __HttpHandlerUserInput;
|
|
93
77
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
94
78
|
urlParser?: __UrlParser;
|
|
@@ -113,9 +97,7 @@ export interface ClientDefaults
|
|
|
113
97
|
extensions?: RuntimeExtension[];
|
|
114
98
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
115
99
|
}
|
|
116
|
-
export type GeoPlacesClientConfigType = Partial<
|
|
117
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
118
|
-
> &
|
|
100
|
+
export type GeoPlacesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
119
101
|
ClientDefaults &
|
|
120
102
|
UserAgentInputConfig &
|
|
121
103
|
RetryInputConfig &
|
|
@@ -136,8 +118,7 @@ export type GeoPlacesClientResolvedConfigType =
|
|
|
136
118
|
EndpointResolvedConfig<EndpointParameters> &
|
|
137
119
|
HttpAuthSchemeResolvedConfig &
|
|
138
120
|
ClientResolvedEndpointParameters;
|
|
139
|
-
export interface GeoPlacesClientResolvedConfig
|
|
140
|
-
extends GeoPlacesClientResolvedConfigType {}
|
|
121
|
+
export interface GeoPlacesClientResolvedConfig extends GeoPlacesClientResolvedConfigType {}
|
|
141
122
|
export declare class GeoPlacesClient extends __Client<
|
|
142
123
|
__HttpHandlerOptions,
|
|
143
124
|
ServiceInputTypes,
|
|
@@ -145,8 +126,6 @@ export declare class GeoPlacesClient extends __Client<
|
|
|
145
126
|
GeoPlacesClientResolvedConfig
|
|
146
127
|
> {
|
|
147
128
|
readonly config: GeoPlacesClientResolvedConfig;
|
|
148
|
-
constructor(
|
|
149
|
-
...[configuration]: __CheckOptionalClientConfig<GeoPlacesClientConfig>
|
|
150
|
-
);
|
|
129
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<GeoPlacesClientConfig>);
|
|
151
130
|
destroy(): void;
|
|
152
131
|
}
|
|
@@ -7,17 +7,10 @@ import { GeoPlacesHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: GeoPlacesHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: GeoPlacesHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): GeoPlacesHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { GeoPlacesClientResolvedConfig } from "../GeoPlacesClient";
|
|
15
|
-
export interface GeoPlacesHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface GeoPlacesHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface GeoPlacesHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface GeoPlacesHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
GeoPlacesClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
GeoPlacesHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultGeoPlacesHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: GeoPlacesClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<GeoPlacesHttpAuthSchemeParameters>;
|
|
31
|
-
export interface GeoPlacesHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<GeoPlacesHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface GeoPlacesHttpAuthSchemeProvider extends HttpAuthSchemeProvider<GeoPlacesHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultGeoPlacesHttpAuthSchemeProvider: GeoPlacesHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: GeoPlacesHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: GeoPlacesHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./GeoPlacesClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
GeoPlacesClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { AutocompleteRequest, AutocompleteResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface AutocompleteCommandInput extends AutocompleteRequest {}
|
|
5
|
-
export interface AutocompleteCommandOutput
|
|
6
|
-
extends AutocompleteResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface AutocompleteCommandOutput extends AutocompleteResponse, __MetadataBearer {}
|
|
8
6
|
declare const AutocompleteCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: AutocompleteCommandInput
|
|
8
|
+
input: AutocompleteCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
AutocompleteCommandInput,
|
|
13
11
|
AutocompleteCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const AutocompleteCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: AutocompleteCommandInput
|
|
17
|
+
input: AutocompleteCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
AutocompleteCommandInput,
|
|
22
20
|
AutocompleteCommandOutput,
|
|
@@ -2,11 +2,11 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { GeocodeRequest, GeocodeResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GeocodeCommandInput extends GeocodeRequest {}
|
|
5
|
-
export interface GeocodeCommandOutput
|
|
6
|
-
extends GeocodeResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GeocodeCommandOutput extends GeocodeResponse, __MetadataBearer {}
|
|
8
6
|
declare const GeocodeCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: GeocodeCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
GeocodeCommandInput,
|
|
11
11
|
GeocodeCommandOutput,
|
|
12
12
|
import("..").GeoPlacesClientResolvedConfig,
|
|
@@ -2,18 +2,20 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { GetPlaceRequest, GetPlaceResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GetPlaceCommandInput extends GetPlaceRequest {}
|
|
5
|
-
export interface GetPlaceCommandOutput
|
|
6
|
-
extends GetPlaceResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetPlaceCommandOutput extends GetPlaceResponse, __MetadataBearer {}
|
|
8
6
|
declare const GetPlaceCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: GetPlaceCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
GetPlaceCommandInput,
|
|
11
11
|
GetPlaceCommandOutput,
|
|
12
12
|
import("..").GeoPlacesClientResolvedConfig,
|
|
13
13
|
import("..").ServiceInputTypes,
|
|
14
14
|
import("..").ServiceOutputTypes
|
|
15
15
|
>;
|
|
16
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: GetPlaceCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
17
19
|
GetPlaceCommandInput,
|
|
18
20
|
GetPlaceCommandOutput,
|
|
19
21
|
import("..").GeoPlacesClientResolvedConfig,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ReverseGeocodeRequest,
|
|
4
|
-
ReverseGeocodeResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ReverseGeocodeRequest, ReverseGeocodeResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface ReverseGeocodeCommandInput extends ReverseGeocodeRequest {}
|
|
8
|
-
export interface ReverseGeocodeCommandOutput
|
|
9
|
-
extends ReverseGeocodeResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ReverseGeocodeCommandOutput extends ReverseGeocodeResponse, __MetadataBearer {}
|
|
11
6
|
declare const ReverseGeocodeCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: ReverseGeocodeCommandInput
|
|
8
|
+
input: ReverseGeocodeCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
ReverseGeocodeCommandInput,
|
|
16
11
|
ReverseGeocodeCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const ReverseGeocodeCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: ReverseGeocodeCommandInput
|
|
17
|
+
input: ReverseGeocodeCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
ReverseGeocodeCommandInput,
|
|
25
20
|
ReverseGeocodeCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { SearchNearbyRequest, SearchNearbyResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface SearchNearbyCommandInput extends SearchNearbyRequest {}
|
|
5
|
-
export interface SearchNearbyCommandOutput
|
|
6
|
-
extends SearchNearbyResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface SearchNearbyCommandOutput extends SearchNearbyResponse, __MetadataBearer {}
|
|
8
6
|
declare const SearchNearbyCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: SearchNearbyCommandInput
|
|
8
|
+
input: SearchNearbyCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
SearchNearbyCommandInput,
|
|
13
11
|
SearchNearbyCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const SearchNearbyCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: SearchNearbyCommandInput
|
|
17
|
+
input: SearchNearbyCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
SearchNearbyCommandInput,
|
|
22
20
|
SearchNearbyCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { SearchTextRequest, SearchTextResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface SearchTextCommandInput extends SearchTextRequest {}
|
|
5
|
-
export interface SearchTextCommandOutput
|
|
6
|
-
extends SearchTextResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface SearchTextCommandOutput extends SearchTextResponse, __MetadataBearer {}
|
|
8
6
|
declare const SearchTextCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: SearchTextCommandInput
|
|
8
|
+
input: SearchTextCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
SearchTextCommandInput,
|
|
13
11
|
SearchTextCommandOutput,
|
|
@@ -2,18 +2,20 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { SuggestRequest, SuggestResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface SuggestCommandInput extends SuggestRequest {}
|
|
5
|
-
export interface SuggestCommandOutput
|
|
6
|
-
extends SuggestResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface SuggestCommandOutput extends SuggestResponse, __MetadataBearer {}
|
|
8
6
|
declare const SuggestCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: SuggestCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
SuggestCommandInput,
|
|
11
11
|
SuggestCommandOutput,
|
|
12
12
|
import("..").GeoPlacesClientResolvedConfig,
|
|
13
13
|
import("..").ServiceInputTypes,
|
|
14
14
|
import("..").ServiceOutputTypes
|
|
15
15
|
>;
|
|
16
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: SuggestCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
17
19
|
SuggestCommandInput,
|
|
18
20
|
SuggestCommandOutput,
|
|
19
21
|
import("..").GeoPlacesClientResolvedConfig,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface GeoPlacesExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -7,8 +7,7 @@ export declare const AccessPointType: {
|
|
|
7
7
|
readonly PARKING: "Parking";
|
|
8
8
|
readonly TAXI: "Taxi";
|
|
9
9
|
};
|
|
10
|
-
export type AccessPointType =
|
|
11
|
-
(typeof AccessPointType)[keyof typeof AccessPointType];
|
|
10
|
+
export type AccessPointType = (typeof AccessPointType)[keyof typeof AccessPointType];
|
|
12
11
|
export declare const TypePlacement: {
|
|
13
12
|
readonly AFTER_BASE_NAME: "AfterBaseName";
|
|
14
13
|
readonly BEFORE_BASE_NAME: "BeforeBaseName";
|
|
@@ -30,14 +29,12 @@ export declare const TranslationNameType: {
|
|
|
30
29
|
readonly SHORTENED: "Shortened";
|
|
31
30
|
readonly SYNONYM: "Synonym";
|
|
32
31
|
};
|
|
33
|
-
export type TranslationNameType =
|
|
34
|
-
(typeof TranslationNameType)[keyof typeof TranslationNameType];
|
|
32
|
+
export type TranslationNameType = (typeof TranslationNameType)[keyof typeof TranslationNameType];
|
|
35
33
|
export declare const AdminNamesPreference: {
|
|
36
34
|
readonly ALTERNATIVE: "Alternative";
|
|
37
35
|
readonly PRIMARY: "Primary";
|
|
38
36
|
};
|
|
39
|
-
export type AdminNamesPreference =
|
|
40
|
-
(typeof AdminNamesPreference)[keyof typeof AdminNamesPreference];
|
|
37
|
+
export type AdminNamesPreference = (typeof AdminNamesPreference)[keyof typeof AdminNamesPreference];
|
|
41
38
|
export declare const AutocompleteAdditionalFeature: {
|
|
42
39
|
readonly CORE: "Core";
|
|
43
40
|
};
|
|
@@ -65,8 +62,7 @@ export declare const PostalCodeMode: {
|
|
|
65
62
|
readonly ENUMERATE_SPANNED_LOCALITIES: "EnumerateSpannedLocalities";
|
|
66
63
|
readonly MERGE_ALL_SPANNED_LOCALITIES: "MergeAllSpannedLocalities";
|
|
67
64
|
};
|
|
68
|
-
export type PostalCodeMode =
|
|
69
|
-
(typeof PostalCodeMode)[keyof typeof PostalCodeMode];
|
|
65
|
+
export type PostalCodeMode = (typeof PostalCodeMode)[keyof typeof PostalCodeMode];
|
|
70
66
|
export declare const PlaceType: {
|
|
71
67
|
readonly BLOCK: "Block";
|
|
72
68
|
readonly COUNTRY: "Country";
|
|
@@ -128,19 +124,16 @@ export declare const GeocodeIntendedUse: {
|
|
|
128
124
|
readonly SINGLE_USE: "SingleUse";
|
|
129
125
|
readonly STORAGE: "Storage";
|
|
130
126
|
};
|
|
131
|
-
export type GeocodeIntendedUse =
|
|
132
|
-
(typeof GeocodeIntendedUse)[keyof typeof GeocodeIntendedUse];
|
|
127
|
+
export type GeocodeIntendedUse = (typeof GeocodeIntendedUse)[keyof typeof GeocodeIntendedUse];
|
|
133
128
|
export declare const PostalAuthority: {
|
|
134
129
|
readonly USPS: "Usps";
|
|
135
130
|
};
|
|
136
|
-
export type PostalAuthority =
|
|
137
|
-
(typeof PostalAuthority)[keyof typeof PostalAuthority];
|
|
131
|
+
export type PostalAuthority = (typeof PostalAuthority)[keyof typeof PostalAuthority];
|
|
138
132
|
export declare const PostalCodeType: {
|
|
139
133
|
readonly USPS_ZIP: "UspsZip";
|
|
140
134
|
readonly USPS_ZIP_PLUS_4: "UspsZipPlus4";
|
|
141
135
|
};
|
|
142
|
-
export type PostalCodeType =
|
|
143
|
-
(typeof PostalCodeType)[keyof typeof PostalCodeType];
|
|
136
|
+
export type PostalCodeType = (typeof PostalCodeType)[keyof typeof PostalCodeType];
|
|
144
137
|
export declare const ZipClassificationCode: {
|
|
145
138
|
readonly MILITARY: "Military";
|
|
146
139
|
readonly POST_OFFICE_BOXES: "PostOfficeBoxes";
|
|
@@ -156,8 +149,7 @@ export declare const RecordTypeCode: {
|
|
|
156
149
|
readonly RURAL: "Rural";
|
|
157
150
|
readonly STREET: "Street";
|
|
158
151
|
};
|
|
159
|
-
export type RecordTypeCode =
|
|
160
|
-
(typeof RecordTypeCode)[keyof typeof RecordTypeCode];
|
|
152
|
+
export type RecordTypeCode = (typeof RecordTypeCode)[keyof typeof RecordTypeCode];
|
|
161
153
|
export declare const GetPlaceAdditionalFeature: {
|
|
162
154
|
readonly ACCESS: "Access";
|
|
163
155
|
readonly CONTACT: "Contact";
|
|
@@ -177,13 +169,11 @@ export declare const GetPlaceIntendedUse: {
|
|
|
177
169
|
readonly SINGLE_USE: "SingleUse";
|
|
178
170
|
readonly STORAGE: "Storage";
|
|
179
171
|
};
|
|
180
|
-
export type GetPlaceIntendedUse =
|
|
181
|
-
(typeof GetPlaceIntendedUse)[keyof typeof GetPlaceIntendedUse];
|
|
172
|
+
export type GetPlaceIntendedUse = (typeof GetPlaceIntendedUse)[keyof typeof GetPlaceIntendedUse];
|
|
182
173
|
export declare const PlaceAttribute: {
|
|
183
174
|
readonly DRIVE_THROUGH: "DriveThrough";
|
|
184
175
|
};
|
|
185
|
-
export type PlaceAttribute =
|
|
186
|
-
(typeof PlaceAttribute)[keyof typeof PlaceAttribute];
|
|
176
|
+
export type PlaceAttribute = (typeof PlaceAttribute)[keyof typeof PlaceAttribute];
|
|
187
177
|
export declare const ReverseGeocodeAdditionalFeature: {
|
|
188
178
|
readonly ACCESS: "Access";
|
|
189
179
|
readonly INTERSECTIONS: "Intersections";
|
|
@@ -248,8 +238,7 @@ export declare const SearchTextTravelMode: {
|
|
|
248
238
|
readonly SCOOTER: "Scooter";
|
|
249
239
|
readonly TRUCK: "Truck";
|
|
250
240
|
};
|
|
251
|
-
export type SearchTextTravelMode =
|
|
252
|
-
(typeof SearchTextTravelMode)[keyof typeof SearchTextTravelMode];
|
|
241
|
+
export type SearchTextTravelMode = (typeof SearchTextTravelMode)[keyof typeof SearchTextTravelMode];
|
|
253
242
|
export declare const SuggestAdditionalFeature: {
|
|
254
243
|
readonly ACCESS: "Access";
|
|
255
244
|
readonly CORE: "Core";
|
|
@@ -262,15 +251,13 @@ export type SuggestAdditionalFeature =
|
|
|
262
251
|
export declare const SuggestIntendedUse: {
|
|
263
252
|
readonly SINGLE_USE: "SingleUse";
|
|
264
253
|
};
|
|
265
|
-
export type SuggestIntendedUse =
|
|
266
|
-
(typeof SuggestIntendedUse)[keyof typeof SuggestIntendedUse];
|
|
254
|
+
export type SuggestIntendedUse = (typeof SuggestIntendedUse)[keyof typeof SuggestIntendedUse];
|
|
267
255
|
export declare const SuggestTravelMode: {
|
|
268
256
|
readonly CAR: "Car";
|
|
269
257
|
readonly SCOOTER: "Scooter";
|
|
270
258
|
readonly TRUCK: "Truck";
|
|
271
259
|
};
|
|
272
|
-
export type SuggestTravelMode =
|
|
273
|
-
(typeof SuggestTravelMode)[keyof typeof SuggestTravelMode];
|
|
260
|
+
export type SuggestTravelMode = (typeof SuggestTravelMode)[keyof typeof SuggestTravelMode];
|
|
274
261
|
export declare const QueryType: {
|
|
275
262
|
readonly BUSINESS_CHAIN: "BusinessChain";
|
|
276
263
|
readonly CATEGORY: "Category";
|
|
@@ -6,27 +6,21 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
6
6
|
readonly name: "AccessDeniedException";
|
|
7
7
|
readonly $fault: "client";
|
|
8
8
|
Message: string | undefined;
|
|
9
|
-
constructor(
|
|
10
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
-
);
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
12
10
|
}
|
|
13
11
|
export declare class InternalServerException extends __BaseException {
|
|
14
12
|
readonly name: "InternalServerException";
|
|
15
13
|
readonly $fault: "server";
|
|
16
14
|
$retryable: {};
|
|
17
15
|
Message: string | undefined;
|
|
18
|
-
constructor(
|
|
19
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
20
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
21
17
|
}
|
|
22
18
|
export declare class ThrottlingException extends __BaseException {
|
|
23
19
|
readonly name: "ThrottlingException";
|
|
24
20
|
readonly $fault: "client";
|
|
25
21
|
$retryable: {};
|
|
26
22
|
Message: string | undefined;
|
|
27
|
-
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
29
|
-
);
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
30
24
|
}
|
|
31
25
|
export declare class ValidationException extends __BaseException {
|
|
32
26
|
readonly name: "ValidationException";
|
|
@@ -34,7 +28,5 @@ export declare class ValidationException extends __BaseException {
|
|
|
34
28
|
Message: string | undefined;
|
|
35
29
|
Reason: ValidationExceptionReason | undefined;
|
|
36
30
|
FieldList: ValidationExceptionField[] | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
39
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
40
32
|
}
|
|
@@ -113,9 +113,7 @@ export interface AddressComponentMatchScores {
|
|
|
113
113
|
Intersection?: number[] | undefined;
|
|
114
114
|
AddressNumber?: number | undefined;
|
|
115
115
|
Building?: number | undefined;
|
|
116
|
-
SecondaryAddressComponents?:
|
|
117
|
-
| SecondaryAddressComponentMatchScore[]
|
|
118
|
-
| undefined;
|
|
116
|
+
SecondaryAddressComponents?: SecondaryAddressComponentMatchScore[] | undefined;
|
|
119
117
|
}
|
|
120
118
|
export interface PhonemeTranscription {
|
|
121
119
|
Value?: string | undefined;
|
|
@@ -328,9 +326,7 @@ export interface GeocodeParsedQueryAddressComponents {
|
|
|
328
326
|
Street?: ParsedQueryComponent[] | undefined;
|
|
329
327
|
AddressNumber?: ParsedQueryComponent[] | undefined;
|
|
330
328
|
Building?: ParsedQueryComponent[] | undefined;
|
|
331
|
-
SecondaryAddressComponents?:
|
|
332
|
-
| ParsedQuerySecondaryAddressComponent[]
|
|
333
|
-
| undefined;
|
|
329
|
+
SecondaryAddressComponents?: ParsedQuerySecondaryAddressComponent[] | undefined;
|
|
334
330
|
OtherComponents?: ParsedQueryComponent[] | undefined;
|
|
335
331
|
}
|
|
336
332
|
export interface GeocodeParsedQuery {
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: GeoPlacesClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoPlacesHttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var GeoPlacesServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var InternalServerException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-places",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Geo Places Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-geo-places",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-geo-places"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-geo-places",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-geo-places"
|
|
68
68
|
}
|
|
69
69
|
}
|