@aws-sdk/client-location 3.934.0 → 3.936.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-es/index.js +1 -1
- package/dist-es/models/errors.js +105 -0
- package/dist-es/models/models_0.js +1 -105
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +110 -0
- package/dist-types/models/models_0.d.ts +0 -109
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +64 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -60
- package/package.json +19 -19
- 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-es/index.js
CHANGED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { LocationServiceException as __BaseException } from "./LocationServiceException";
|
|
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 ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
Message;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.Message = opts.Message;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
46
|
+
name = "ServiceQuotaExceededException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
Message;
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "ServiceQuotaExceededException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
56
|
+
this.Message = opts.Message;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export class ThrottlingException extends __BaseException {
|
|
60
|
+
name = "ThrottlingException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
$retryable = {};
|
|
63
|
+
Message;
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "ThrottlingException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
71
|
+
this.Message = opts.Message;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class ValidationException extends __BaseException {
|
|
75
|
+
name = "ValidationException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
Message;
|
|
78
|
+
Reason;
|
|
79
|
+
FieldList;
|
|
80
|
+
constructor(opts) {
|
|
81
|
+
super({
|
|
82
|
+
name: "ValidationException",
|
|
83
|
+
$fault: "client",
|
|
84
|
+
...opts,
|
|
85
|
+
});
|
|
86
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
87
|
+
this.Message = opts.Message;
|
|
88
|
+
this.Reason = opts.Reason;
|
|
89
|
+
this.FieldList = opts.FieldList;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
93
|
+
name = "ResourceNotFoundException";
|
|
94
|
+
$fault = "client";
|
|
95
|
+
Message;
|
|
96
|
+
constructor(opts) {
|
|
97
|
+
super({
|
|
98
|
+
name: "ResourceNotFoundException",
|
|
99
|
+
$fault: "client",
|
|
100
|
+
...opts,
|
|
101
|
+
});
|
|
102
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
103
|
+
this.Message = opts.Message;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -1,105 +1 @@
|
|
|
1
|
-
|
|
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 ConflictException extends __BaseException {
|
|
17
|
-
name = "ConflictException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ConflictException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InternalServerException extends __BaseException {
|
|
31
|
-
name = "InternalServerException";
|
|
32
|
-
$fault = "server";
|
|
33
|
-
$retryable = {};
|
|
34
|
-
Message;
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "InternalServerException",
|
|
38
|
-
$fault: "server",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
-
this.Message = opts.Message;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
46
|
-
name = "ServiceQuotaExceededException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
Message;
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "ServiceQuotaExceededException",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
56
|
-
this.Message = opts.Message;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
export class ThrottlingException extends __BaseException {
|
|
60
|
-
name = "ThrottlingException";
|
|
61
|
-
$fault = "client";
|
|
62
|
-
$retryable = {};
|
|
63
|
-
Message;
|
|
64
|
-
constructor(opts) {
|
|
65
|
-
super({
|
|
66
|
-
name: "ThrottlingException",
|
|
67
|
-
$fault: "client",
|
|
68
|
-
...opts,
|
|
69
|
-
});
|
|
70
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
71
|
-
this.Message = opts.Message;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class ValidationException extends __BaseException {
|
|
75
|
-
name = "ValidationException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
Message;
|
|
78
|
-
Reason;
|
|
79
|
-
FieldList;
|
|
80
|
-
constructor(opts) {
|
|
81
|
-
super({
|
|
82
|
-
name: "ValidationException",
|
|
83
|
-
$fault: "client",
|
|
84
|
-
...opts,
|
|
85
|
-
});
|
|
86
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
87
|
-
this.Message = opts.Message;
|
|
88
|
-
this.Reason = opts.Reason;
|
|
89
|
-
this.FieldList = opts.FieldList;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
93
|
-
name = "ResourceNotFoundException";
|
|
94
|
-
$fault = "client";
|
|
95
|
-
Message;
|
|
96
|
-
constructor(opts) {
|
|
97
|
-
super({
|
|
98
|
-
name: "ResourceNotFoundException",
|
|
99
|
-
$fault: "client",
|
|
100
|
-
...opts,
|
|
101
|
-
});
|
|
102
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
103
|
-
this.Message = opts.Message;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
export {};
|
|
@@ -509,7 +509,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.location";
|
|
|
509
509
|
const _tK = "tagKeys";
|
|
510
510
|
const n0 = "com.amazonaws.location";
|
|
511
511
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
512
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
512
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
513
513
|
import { LocationServiceException as __LocationServiceException } from "../models/LocationServiceException";
|
|
514
514
|
export var ApiKey = [0, n0, _AK, 8, 0];
|
|
515
515
|
export var Base64EncodedGeobuf = [0, n0, _BEG, 8, 21];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { LocationExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { LocationServiceException } from "./models/LocationServiceException";
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { LocationServiceException as __BaseException } from "./LocationServiceException";
|
|
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 was unsuccessful because of a conflict.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ConflictException extends __BaseException {
|
|
22
|
+
readonly name: "ConflictException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
Message: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class InternalServerException extends __BaseException {
|
|
35
|
+
readonly name: "InternalServerException";
|
|
36
|
+
readonly $fault: "server";
|
|
37
|
+
$retryable: {};
|
|
38
|
+
Message: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a> set for Amazon Location Service.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
49
|
+
readonly name: "ServiceQuotaExceededException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
/**
|
|
52
|
+
* <p>A message with the reason for the service quota exceeded exception error.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
Message: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>The request was denied because of request throttling.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class ThrottlingException extends __BaseException {
|
|
66
|
+
readonly name: "ThrottlingException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
$retryable: {};
|
|
69
|
+
Message: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>The input failed to meet the constraints specified by the AWS service. </p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ValidationException extends __BaseException {
|
|
80
|
+
readonly name: "ValidationException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
Message: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>A message with the reason for the validation exception error.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
Reason: ValidationExceptionReason | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The field where the invalid entry was detected.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
FieldList: ValidationExceptionField[] | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* <p>The resource that you've entered was not found in your AWS account.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
103
|
+
readonly name: "ResourceNotFoundException";
|
|
104
|
+
readonly $fault: "client";
|
|
105
|
+
Message: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
110
|
+
}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { LocationServiceException as __BaseException } from "./LocationServiceException";
|
|
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
|
* <p>Unique identifying information for an Android app. Consists of a package name and a 20 byte SHA-1 certificate fingerprint.</p>
|
|
18
3
|
* @public
|
|
@@ -44,19 +29,6 @@ export interface ApiKeyFilter {
|
|
|
44
29
|
*/
|
|
45
30
|
KeyStatus?: Status | undefined;
|
|
46
31
|
}
|
|
47
|
-
/**
|
|
48
|
-
* <p>The request was unsuccessful because of a conflict.</p>
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
export declare class ConflictException extends __BaseException {
|
|
52
|
-
readonly name: "ConflictException";
|
|
53
|
-
readonly $fault: "client";
|
|
54
|
-
Message: string | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
59
|
-
}
|
|
60
32
|
/**
|
|
61
33
|
* <p>Unique identifying information for an Apple app (iOS, macOS, tvOS and watchOS). Consists of an Apple Bundle ID.</p>
|
|
62
34
|
* @public
|
|
@@ -159,51 +131,6 @@ export interface CreateKeyResponse {
|
|
|
159
131
|
*/
|
|
160
132
|
CreateTime: Date | undefined;
|
|
161
133
|
}
|
|
162
|
-
/**
|
|
163
|
-
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
export declare class InternalServerException extends __BaseException {
|
|
167
|
-
readonly name: "InternalServerException";
|
|
168
|
-
readonly $fault: "server";
|
|
169
|
-
$retryable: {};
|
|
170
|
-
Message: string | undefined;
|
|
171
|
-
/**
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a> set for Amazon Location Service.</p>
|
|
178
|
-
* @public
|
|
179
|
-
*/
|
|
180
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
181
|
-
readonly name: "ServiceQuotaExceededException";
|
|
182
|
-
readonly $fault: "client";
|
|
183
|
-
/**
|
|
184
|
-
* <p>A message with the reason for the service quota exceeded exception error.</p>
|
|
185
|
-
* @public
|
|
186
|
-
*/
|
|
187
|
-
Message: string | undefined;
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* <p>The request was denied because of request throttling.</p>
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
export declare class ThrottlingException extends __BaseException {
|
|
198
|
-
readonly name: "ThrottlingException";
|
|
199
|
-
readonly $fault: "client";
|
|
200
|
-
$retryable: {};
|
|
201
|
-
Message: string | undefined;
|
|
202
|
-
/**
|
|
203
|
-
* @internal
|
|
204
|
-
*/
|
|
205
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
206
|
-
}
|
|
207
134
|
/**
|
|
208
135
|
* <p>The input failed to meet the constraints specified by the AWS service in a specified field. </p>
|
|
209
136
|
* @public
|
|
@@ -224,29 +151,6 @@ export interface ValidationExceptionField {
|
|
|
224
151
|
* @public
|
|
225
152
|
*/
|
|
226
153
|
export type ValidationExceptionReason = "CannotParse" | "FieldValidationFailed" | "Missing" | "Other" | "UnknownField" | "UnknownOperation";
|
|
227
|
-
/**
|
|
228
|
-
* <p>The input failed to meet the constraints specified by the AWS service. </p>
|
|
229
|
-
* @public
|
|
230
|
-
*/
|
|
231
|
-
export declare class ValidationException extends __BaseException {
|
|
232
|
-
readonly name: "ValidationException";
|
|
233
|
-
readonly $fault: "client";
|
|
234
|
-
Message: string | undefined;
|
|
235
|
-
/**
|
|
236
|
-
* <p>A message with the reason for the validation exception error.</p>
|
|
237
|
-
* @public
|
|
238
|
-
*/
|
|
239
|
-
Reason: ValidationExceptionReason | undefined;
|
|
240
|
-
/**
|
|
241
|
-
* <p>The field where the invalid entry was detected.</p>
|
|
242
|
-
* @public
|
|
243
|
-
*/
|
|
244
|
-
FieldList: ValidationExceptionField[] | undefined;
|
|
245
|
-
/**
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
249
|
-
}
|
|
250
154
|
/**
|
|
251
155
|
* @public
|
|
252
156
|
*/
|
|
@@ -267,19 +171,6 @@ export interface DeleteKeyRequest {
|
|
|
267
171
|
*/
|
|
268
172
|
export interface DeleteKeyResponse {
|
|
269
173
|
}
|
|
270
|
-
/**
|
|
271
|
-
* <p>The resource that you've entered was not found in your AWS account.</p>
|
|
272
|
-
* @public
|
|
273
|
-
*/
|
|
274
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
275
|
-
readonly name: "ResourceNotFoundException";
|
|
276
|
-
readonly $fault: "client";
|
|
277
|
-
Message: string | undefined;
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
282
|
-
}
|
|
283
174
|
/**
|
|
284
175
|
* @public
|
|
285
176
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { LocationExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { LocationServiceException } from "./models/LocationServiceException";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { LocationServiceException as __BaseException } from "./LocationServiceException";
|
|
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 ConflictException extends __BaseException {
|
|
16
|
+
readonly name: "ConflictException";
|
|
17
|
+
readonly $fault: "client";
|
|
18
|
+
Message: string | undefined;
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
Message: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
31
|
+
readonly name: "ServiceQuotaExceededException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
Message: string | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ThrottlingException extends __BaseException {
|
|
39
|
+
readonly name: "ThrottlingException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
$retryable: {};
|
|
42
|
+
Message: string | undefined;
|
|
43
|
+
constructor(
|
|
44
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
export declare class ValidationException extends __BaseException {
|
|
48
|
+
readonly name: "ValidationException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
Message: string | undefined;
|
|
51
|
+
Reason: ValidationExceptionReason | undefined;
|
|
52
|
+
FieldList: ValidationExceptionField[] | undefined;
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
58
|
+
readonly name: "ResourceNotFoundException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
Message: string | undefined;
|
|
61
|
+
constructor(
|
|
62
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { LocationServiceException as __BaseException } from "./LocationServiceException";
|
|
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 interface AndroidApp {
|
|
12
2
|
Package: string | undefined;
|
|
13
3
|
CertificateFingerprint: string | undefined;
|
|
@@ -16,12 +6,6 @@ export type Status = "Active" | "Expired";
|
|
|
16
6
|
export interface ApiKeyFilter {
|
|
17
7
|
KeyStatus?: Status | undefined;
|
|
18
8
|
}
|
|
19
|
-
export declare class ConflictException extends __BaseException {
|
|
20
|
-
readonly name: "ConflictException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
Message: string | undefined;
|
|
23
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
24
|
-
}
|
|
25
9
|
export interface AppleApp {
|
|
26
10
|
BundleId: string | undefined;
|
|
27
11
|
}
|
|
@@ -46,32 +30,6 @@ export interface CreateKeyResponse {
|
|
|
46
30
|
KeyName: string | undefined;
|
|
47
31
|
CreateTime: Date | undefined;
|
|
48
32
|
}
|
|
49
|
-
export declare class InternalServerException extends __BaseException {
|
|
50
|
-
readonly name: "InternalServerException";
|
|
51
|
-
readonly $fault: "server";
|
|
52
|
-
$retryable: {};
|
|
53
|
-
Message: string | undefined;
|
|
54
|
-
constructor(
|
|
55
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
59
|
-
readonly name: "ServiceQuotaExceededException";
|
|
60
|
-
readonly $fault: "client";
|
|
61
|
-
Message: string | undefined;
|
|
62
|
-
constructor(
|
|
63
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
export declare class ThrottlingException extends __BaseException {
|
|
67
|
-
readonly name: "ThrottlingException";
|
|
68
|
-
readonly $fault: "client";
|
|
69
|
-
$retryable: {};
|
|
70
|
-
Message: string | undefined;
|
|
71
|
-
constructor(
|
|
72
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
33
|
export interface ValidationExceptionField {
|
|
76
34
|
Name: string | undefined;
|
|
77
35
|
Message: string | undefined;
|
|
@@ -83,29 +41,11 @@ export type ValidationExceptionReason =
|
|
|
83
41
|
| "Other"
|
|
84
42
|
| "UnknownField"
|
|
85
43
|
| "UnknownOperation";
|
|
86
|
-
export declare class ValidationException extends __BaseException {
|
|
87
|
-
readonly name: "ValidationException";
|
|
88
|
-
readonly $fault: "client";
|
|
89
|
-
Message: string | undefined;
|
|
90
|
-
Reason: ValidationExceptionReason | undefined;
|
|
91
|
-
FieldList: ValidationExceptionField[] | undefined;
|
|
92
|
-
constructor(
|
|
93
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
44
|
export interface DeleteKeyRequest {
|
|
97
45
|
KeyName: string | undefined;
|
|
98
46
|
ForceDelete?: boolean | undefined;
|
|
99
47
|
}
|
|
100
48
|
export interface DeleteKeyResponse {}
|
|
101
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
102
|
-
readonly name: "ResourceNotFoundException";
|
|
103
|
-
readonly $fault: "client";
|
|
104
|
-
Message: string | undefined;
|
|
105
|
-
constructor(
|
|
106
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
49
|
export interface DescribeKeyRequest {
|
|
110
50
|
KeyName: string | undefined;
|
|
111
51
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-location",
|
|
3
3
|
"description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.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-location",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.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";
|