@aws-sdk/client-geo-maps 3.933.0 → 3.935.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 +0 -71
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +77 -0
- package/dist-es/models/models_0.js +0 -77
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +80 -0
- package/dist-types/models/models_0.d.ts +0 -79
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -46
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -131,40 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends GeoMapsService
|
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const ColorScheme = {
|
|
135
|
-
DARK: "Dark",
|
|
136
|
-
LIGHT: "Light",
|
|
137
|
-
};
|
|
138
|
-
const ContourDensity = {
|
|
139
|
-
MEDIUM: "Medium",
|
|
140
|
-
};
|
|
141
|
-
const MapStyle = {
|
|
142
|
-
HYBRID: "Hybrid",
|
|
143
|
-
MONOCHROME: "Monochrome",
|
|
144
|
-
SATELLITE: "Satellite",
|
|
145
|
-
STANDARD: "Standard",
|
|
146
|
-
};
|
|
147
|
-
const Variant = {
|
|
148
|
-
DEFAULT: "Default",
|
|
149
|
-
};
|
|
150
|
-
const LabelSize = {
|
|
151
|
-
LARGE: "Large",
|
|
152
|
-
SMALL: "Small",
|
|
153
|
-
};
|
|
154
|
-
const MapFeatureMode = {
|
|
155
|
-
DISABLED: "Disabled",
|
|
156
|
-
ENABLED: "Enabled",
|
|
157
|
-
};
|
|
158
|
-
const ScaleBarUnit = {
|
|
159
|
-
KILOMETERS: "Kilometers",
|
|
160
|
-
KILOMETERS_MILES: "KilometersMiles",
|
|
161
|
-
MILES: "Miles",
|
|
162
|
-
MILES_KILOMETERS: "MilesKilometers",
|
|
163
|
-
};
|
|
164
|
-
const StaticMapStyle = {
|
|
165
|
-
SATELLITE: "Satellite",
|
|
166
|
-
STANDARD: "Standard",
|
|
167
|
-
};
|
|
168
134
|
let InternalServerException$1 = class InternalServerException extends GeoMapsServiceException$1 {
|
|
169
135
|
name = "InternalServerException";
|
|
170
136
|
$fault = "server";
|
|
@@ -195,14 +161,6 @@ let ThrottlingException$1 = class ThrottlingException extends GeoMapsServiceExce
|
|
|
195
161
|
this.Message = opts.Message;
|
|
196
162
|
}
|
|
197
163
|
};
|
|
198
|
-
const ValidationExceptionReason = {
|
|
199
|
-
CANNOT_PARSE: "CannotParse",
|
|
200
|
-
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
201
|
-
MISSING: "Missing",
|
|
202
|
-
OTHER: "Other",
|
|
203
|
-
UNKNOWN_FIELD: "UnknownField",
|
|
204
|
-
UNKNOWN_OPERATION: "UnknownOperation",
|
|
205
|
-
};
|
|
206
164
|
let ValidationException$1 = class ValidationException extends GeoMapsServiceException$1 {
|
|
207
165
|
name = "ValidationException";
|
|
208
166
|
$fault = "client";
|
|
@@ -221,22 +179,6 @@ let ValidationException$1 = class ValidationException extends GeoMapsServiceExce
|
|
|
221
179
|
this.FieldList = opts.FieldList;
|
|
222
180
|
}
|
|
223
181
|
};
|
|
224
|
-
const Terrain = {
|
|
225
|
-
HILLSHADE: "Hillshade",
|
|
226
|
-
};
|
|
227
|
-
const Traffic = {
|
|
228
|
-
ALL: "All",
|
|
229
|
-
};
|
|
230
|
-
const TravelMode = {
|
|
231
|
-
TRANSIT: "Transit",
|
|
232
|
-
TRUCK: "Truck",
|
|
233
|
-
};
|
|
234
|
-
const TileAdditionalFeature = {
|
|
235
|
-
CONTOUR_LINES: "ContourLines",
|
|
236
|
-
HILLSHADE: "Hillshade",
|
|
237
|
-
LOGISTICS: "Logistics",
|
|
238
|
-
TRANSIT: "Transit",
|
|
239
|
-
};
|
|
240
182
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends GeoMapsServiceException$1 {
|
|
241
183
|
name = "ResourceNotFoundException";
|
|
242
184
|
$fault = "client";
|
|
@@ -1013,8 +955,6 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1013
955
|
get: function () { return smithyClient.Client; }
|
|
1014
956
|
});
|
|
1015
957
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1016
|
-
exports.ColorScheme = ColorScheme;
|
|
1017
|
-
exports.ContourDensity = ContourDensity;
|
|
1018
958
|
exports.GeoMaps = GeoMaps;
|
|
1019
959
|
exports.GeoMapsClient = GeoMapsClient;
|
|
1020
960
|
exports.GeoMapsServiceException = GeoMapsServiceException$1;
|
|
@@ -1024,17 +964,6 @@ exports.GetStaticMapCommand = GetStaticMapCommand;
|
|
|
1024
964
|
exports.GetStyleDescriptorCommand = GetStyleDescriptorCommand;
|
|
1025
965
|
exports.GetTileCommand = GetTileCommand;
|
|
1026
966
|
exports.InternalServerException = InternalServerException$1;
|
|
1027
|
-
exports.LabelSize = LabelSize;
|
|
1028
|
-
exports.MapFeatureMode = MapFeatureMode;
|
|
1029
|
-
exports.MapStyle = MapStyle;
|
|
1030
967
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1031
|
-
exports.ScaleBarUnit = ScaleBarUnit;
|
|
1032
|
-
exports.StaticMapStyle = StaticMapStyle;
|
|
1033
|
-
exports.Terrain = Terrain;
|
|
1034
968
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1035
|
-
exports.TileAdditionalFeature = TileAdditionalFeature;
|
|
1036
|
-
exports.Traffic = Traffic;
|
|
1037
|
-
exports.TravelMode = TravelMode;
|
|
1038
969
|
exports.ValidationException = ValidationException$1;
|
|
1039
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1040
|
-
exports.Variant = Variant;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { GeoMapsServiceException as __BaseException } from "./GeoMapsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServerException extends __BaseException {
|
|
17
|
+
name = "InternalServerException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
$retryable = {};
|
|
20
|
+
Message;
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InternalServerException",
|
|
24
|
+
$fault: "server",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
28
|
+
this.Message = opts.Message;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export class ThrottlingException extends __BaseException {
|
|
32
|
+
name = "ThrottlingException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
$retryable = {};
|
|
35
|
+
Message;
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "ThrottlingException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
43
|
+
this.Message = opts.Message;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
export class ValidationException extends __BaseException {
|
|
47
|
+
name = "ValidationException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
Message;
|
|
50
|
+
Reason;
|
|
51
|
+
FieldList;
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "ValidationException",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
59
|
+
this.Message = opts.Message;
|
|
60
|
+
this.Reason = opts.Reason;
|
|
61
|
+
this.FieldList = opts.FieldList;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
65
|
+
name = "ResourceNotFoundException";
|
|
66
|
+
$fault = "client";
|
|
67
|
+
Message;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ResourceNotFoundException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
75
|
+
this.Message = opts.Message;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import { GeoMapsServiceException as __BaseException } from "./GeoMapsServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
1
|
export const ColorScheme = {
|
|
17
2
|
DARK: "Dark",
|
|
18
3
|
LIGHT: "Light",
|
|
@@ -47,36 +32,6 @@ export const StaticMapStyle = {
|
|
|
47
32
|
SATELLITE: "Satellite",
|
|
48
33
|
STANDARD: "Standard",
|
|
49
34
|
};
|
|
50
|
-
export class InternalServerException extends __BaseException {
|
|
51
|
-
name = "InternalServerException";
|
|
52
|
-
$fault = "server";
|
|
53
|
-
$retryable = {};
|
|
54
|
-
Message;
|
|
55
|
-
constructor(opts) {
|
|
56
|
-
super({
|
|
57
|
-
name: "InternalServerException",
|
|
58
|
-
$fault: "server",
|
|
59
|
-
...opts,
|
|
60
|
-
});
|
|
61
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
62
|
-
this.Message = opts.Message;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export class ThrottlingException extends __BaseException {
|
|
66
|
-
name = "ThrottlingException";
|
|
67
|
-
$fault = "client";
|
|
68
|
-
$retryable = {};
|
|
69
|
-
Message;
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "ThrottlingException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
77
|
-
this.Message = opts.Message;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
35
|
export const ValidationExceptionReason = {
|
|
81
36
|
CANNOT_PARSE: "CannotParse",
|
|
82
37
|
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
@@ -85,24 +40,6 @@ export const ValidationExceptionReason = {
|
|
|
85
40
|
UNKNOWN_FIELD: "UnknownField",
|
|
86
41
|
UNKNOWN_OPERATION: "UnknownOperation",
|
|
87
42
|
};
|
|
88
|
-
export class ValidationException extends __BaseException {
|
|
89
|
-
name = "ValidationException";
|
|
90
|
-
$fault = "client";
|
|
91
|
-
Message;
|
|
92
|
-
Reason;
|
|
93
|
-
FieldList;
|
|
94
|
-
constructor(opts) {
|
|
95
|
-
super({
|
|
96
|
-
name: "ValidationException",
|
|
97
|
-
$fault: "client",
|
|
98
|
-
...opts,
|
|
99
|
-
});
|
|
100
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
101
|
-
this.Message = opts.Message;
|
|
102
|
-
this.Reason = opts.Reason;
|
|
103
|
-
this.FieldList = opts.FieldList;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
43
|
export const Terrain = {
|
|
107
44
|
HILLSHADE: "Hillshade",
|
|
108
45
|
};
|
|
@@ -119,17 +56,3 @@ export const TileAdditionalFeature = {
|
|
|
119
56
|
LOGISTICS: "Logistics",
|
|
120
57
|
TRANSIT: "Transit",
|
|
121
58
|
};
|
|
122
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
123
|
-
name = "ResourceNotFoundException";
|
|
124
|
-
$fault = "client";
|
|
125
|
-
Message;
|
|
126
|
-
constructor(opts) {
|
|
127
|
-
super({
|
|
128
|
-
name: "ResourceNotFoundException",
|
|
129
|
-
$fault: "client",
|
|
130
|
-
...opts,
|
|
131
|
-
});
|
|
132
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
133
|
-
this.Message = opts.Message;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -111,8 +111,8 @@ const _xagpb = "x-amz-geo-pricing-bucket";
|
|
|
111
111
|
const _z = "zoom";
|
|
112
112
|
const n0 = "com.amazonaws.geomaps";
|
|
113
113
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
114
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
114
115
|
import { GeoMapsServiceException as __GeoMapsServiceException } from "../models/GeoMapsServiceException";
|
|
115
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
116
116
|
export var ApiKey = [0, n0, _AK, 8, 0];
|
|
117
117
|
export var CompactOverlay = [0, n0, _CO, 8, 0];
|
|
118
118
|
export var CountryCode = [0, n0, _CC, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,5 +9,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { GeoMapsExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
-
export * from "./models";
|
|
12
|
+
export * from "./models/errors";
|
|
13
|
+
export type * from "./models/models_0";
|
|
13
14
|
export { GeoMapsServiceException } from "./models/GeoMapsServiceException";
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { GeoMapsServiceException as __BaseException } from "./GeoMapsServiceException";
|
|
3
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
Message: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* <p>The request was denied due to request throttling.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class ThrottlingException extends __BaseException {
|
|
36
|
+
readonly name: "ThrottlingException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
$retryable: {};
|
|
39
|
+
Message: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare class ValidationException extends __BaseException {
|
|
50
|
+
readonly name: "ValidationException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
Message: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The field where the invalid entry was detected.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
Reason: ValidationExceptionReason | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>A message with the reason for the validation exception error.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
FieldList: ValidationExceptionField[] | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>Exception thrown when the associated resource could not be found.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
73
|
+
readonly name: "ResourceNotFoundException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
Message: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
80
|
+
}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { GeoMapsServiceException as __BaseException } from "./GeoMapsServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
Message: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
16
1
|
/**
|
|
17
2
|
* @public
|
|
18
3
|
* @enum
|
|
@@ -336,34 +321,6 @@ export interface GetStaticMapResponse {
|
|
|
336
321
|
*/
|
|
337
322
|
PricingBucket: string | undefined;
|
|
338
323
|
}
|
|
339
|
-
/**
|
|
340
|
-
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
341
|
-
* @public
|
|
342
|
-
*/
|
|
343
|
-
export declare class InternalServerException extends __BaseException {
|
|
344
|
-
readonly name: "InternalServerException";
|
|
345
|
-
readonly $fault: "server";
|
|
346
|
-
$retryable: {};
|
|
347
|
-
Message: string | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* @internal
|
|
350
|
-
*/
|
|
351
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* <p>The request was denied due to request throttling.</p>
|
|
355
|
-
* @public
|
|
356
|
-
*/
|
|
357
|
-
export declare class ThrottlingException extends __BaseException {
|
|
358
|
-
readonly name: "ThrottlingException";
|
|
359
|
-
readonly $fault: "client";
|
|
360
|
-
$retryable: {};
|
|
361
|
-
Message: string | undefined;
|
|
362
|
-
/**
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
365
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
366
|
-
}
|
|
367
324
|
/**
|
|
368
325
|
* <p>The input fails to satisfy the constraints specified by the Amazon Location service.</p>
|
|
369
326
|
* @public
|
|
@@ -418,29 +375,6 @@ export declare const ValidationExceptionReason: {
|
|
|
418
375
|
* @public
|
|
419
376
|
*/
|
|
420
377
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
421
|
-
/**
|
|
422
|
-
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
423
|
-
* @public
|
|
424
|
-
*/
|
|
425
|
-
export declare class ValidationException extends __BaseException {
|
|
426
|
-
readonly name: "ValidationException";
|
|
427
|
-
readonly $fault: "client";
|
|
428
|
-
Message: string | undefined;
|
|
429
|
-
/**
|
|
430
|
-
* <p>The field where the invalid entry was detected.</p>
|
|
431
|
-
* @public
|
|
432
|
-
*/
|
|
433
|
-
Reason: ValidationExceptionReason | undefined;
|
|
434
|
-
/**
|
|
435
|
-
* <p>A message with the reason for the validation exception error.</p>
|
|
436
|
-
* @public
|
|
437
|
-
*/
|
|
438
|
-
FieldList: ValidationExceptionField[] | undefined;
|
|
439
|
-
/**
|
|
440
|
-
* @internal
|
|
441
|
-
*/
|
|
442
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
443
|
-
}
|
|
444
378
|
/**
|
|
445
379
|
* @public
|
|
446
380
|
* @enum
|
|
@@ -636,16 +570,3 @@ export interface GetTileResponse {
|
|
|
636
570
|
*/
|
|
637
571
|
PricingBucket: string | undefined;
|
|
638
572
|
}
|
|
639
|
-
/**
|
|
640
|
-
* <p>Exception thrown when the associated resource could not be found.</p>
|
|
641
|
-
* @public
|
|
642
|
-
*/
|
|
643
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
644
|
-
readonly name: "ResourceNotFoundException";
|
|
645
|
-
readonly $fault: "client";
|
|
646
|
-
Message: string | undefined;
|
|
647
|
-
/**
|
|
648
|
-
* @internal
|
|
649
|
-
*/
|
|
650
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
651
|
-
}
|
|
@@ -4,5 +4,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { GeoMapsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/errors";
|
|
8
|
+
export * from "./models/models_0";
|
|
8
9
|
export { GeoMapsServiceException } from "./models/GeoMapsServiceException";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { GeoMapsServiceException as __BaseException } from "./GeoMapsServiceException";
|
|
3
|
+
import {
|
|
4
|
+
ValidationExceptionField,
|
|
5
|
+
ValidationExceptionReason,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message: string | undefined;
|
|
11
|
+
constructor(
|
|
12
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
export declare class InternalServerException extends __BaseException {
|
|
16
|
+
readonly name: "InternalServerException";
|
|
17
|
+
readonly $fault: "server";
|
|
18
|
+
$retryable: {};
|
|
19
|
+
Message: string | undefined;
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class ThrottlingException extends __BaseException {
|
|
25
|
+
readonly name: "ThrottlingException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
$retryable: {};
|
|
28
|
+
Message: string | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ValidationException extends __BaseException {
|
|
34
|
+
readonly name: "ValidationException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message: string | undefined;
|
|
37
|
+
Reason: ValidationExceptionReason | undefined;
|
|
38
|
+
FieldList: ValidationExceptionField[] | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
44
|
+
readonly name: "ResourceNotFoundException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
Message: string | undefined;
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { GeoMapsServiceException as __BaseException } from "./GeoMapsServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
Message: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
1
|
export declare const ColorScheme: {
|
|
12
2
|
readonly DARK: "Dark";
|
|
13
3
|
readonly LIGHT: "Light";
|
|
@@ -104,24 +94,6 @@ export interface GetStaticMapResponse {
|
|
|
104
94
|
ETag?: string | undefined;
|
|
105
95
|
PricingBucket: string | undefined;
|
|
106
96
|
}
|
|
107
|
-
export declare class InternalServerException extends __BaseException {
|
|
108
|
-
readonly name: "InternalServerException";
|
|
109
|
-
readonly $fault: "server";
|
|
110
|
-
$retryable: {};
|
|
111
|
-
Message: string | undefined;
|
|
112
|
-
constructor(
|
|
113
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
|
-
export declare class ThrottlingException extends __BaseException {
|
|
117
|
-
readonly name: "ThrottlingException";
|
|
118
|
-
readonly $fault: "client";
|
|
119
|
-
$retryable: {};
|
|
120
|
-
Message: string | undefined;
|
|
121
|
-
constructor(
|
|
122
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
97
|
export interface ValidationExceptionField {
|
|
126
98
|
Name: string | undefined;
|
|
127
99
|
Message: string | undefined;
|
|
@@ -136,16 +108,6 @@ export declare const ValidationExceptionReason: {
|
|
|
136
108
|
};
|
|
137
109
|
export type ValidationExceptionReason =
|
|
138
110
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
139
|
-
export declare class ValidationException extends __BaseException {
|
|
140
|
-
readonly name: "ValidationException";
|
|
141
|
-
readonly $fault: "client";
|
|
142
|
-
Message: string | undefined;
|
|
143
|
-
Reason: ValidationExceptionReason | undefined;
|
|
144
|
-
FieldList: ValidationExceptionField[] | undefined;
|
|
145
|
-
constructor(
|
|
146
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
111
|
export declare const Terrain: {
|
|
150
112
|
readonly HILLSHADE: "Hillshade";
|
|
151
113
|
};
|
|
@@ -198,11 +160,3 @@ export interface GetTileResponse {
|
|
|
198
160
|
ETag?: string | undefined;
|
|
199
161
|
PricingBucket: string | undefined;
|
|
200
162
|
}
|
|
201
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
202
|
-
readonly name: "ResourceNotFoundException";
|
|
203
|
-
readonly $fault: "client";
|
|
204
|
-
Message: string | undefined;
|
|
205
|
-
constructor(
|
|
206
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
207
|
-
);
|
|
208
|
-
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-maps",
|
|
3
3
|
"description": "AWS SDK for JavaScript Geo Maps Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-geo-maps",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|