@aws-sdk/client-chime 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-cjs/index.js +108 -107
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +107 -0
- package/dist-es/models/errors.js +177 -0
- package/dist-es/models/models_0.js +1 -284
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +251 -0
- package/dist-types/models/errors.d.ts +158 -0
- package/dist-types/models/models_0.d.ts +1 -408
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +134 -0
- package/dist-types/ts3.4/models/errors.d.ts +96 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -229
- 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
|
@@ -1,284 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const ErrorCode = {
|
|
3
|
-
AccessDenied: "AccessDenied",
|
|
4
|
-
BadRequest: "BadRequest",
|
|
5
|
-
Conflict: "Conflict",
|
|
6
|
-
Forbidden: "Forbidden",
|
|
7
|
-
NotFound: "NotFound",
|
|
8
|
-
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
9
|
-
PreconditionFailed: "PreconditionFailed",
|
|
10
|
-
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
11
|
-
ServiceFailure: "ServiceFailure",
|
|
12
|
-
ServiceUnavailable: "ServiceUnavailable",
|
|
13
|
-
Throttled: "Throttled",
|
|
14
|
-
Throttling: "Throttling",
|
|
15
|
-
Unauthorized: "Unauthorized",
|
|
16
|
-
Unprocessable: "Unprocessable",
|
|
17
|
-
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
18
|
-
};
|
|
19
|
-
export class AccessDeniedException extends __BaseException {
|
|
20
|
-
name = "AccessDeniedException";
|
|
21
|
-
$fault = "client";
|
|
22
|
-
Code;
|
|
23
|
-
Message;
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "AccessDeniedException",
|
|
27
|
-
$fault: "client",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
31
|
-
this.Code = opts.Code;
|
|
32
|
-
this.Message = opts.Message;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
export const AccountStatus = {
|
|
36
|
-
Active: "Active",
|
|
37
|
-
Suspended: "Suspended",
|
|
38
|
-
};
|
|
39
|
-
export const AccountType = {
|
|
40
|
-
EnterpriseDirectory: "EnterpriseDirectory",
|
|
41
|
-
EnterpriseLWA: "EnterpriseLWA",
|
|
42
|
-
EnterpriseOIDC: "EnterpriseOIDC",
|
|
43
|
-
Team: "Team",
|
|
44
|
-
};
|
|
45
|
-
export const License = {
|
|
46
|
-
Basic: "Basic",
|
|
47
|
-
Plus: "Plus",
|
|
48
|
-
Pro: "Pro",
|
|
49
|
-
ProTrial: "ProTrial",
|
|
50
|
-
};
|
|
51
|
-
export class BadRequestException extends __BaseException {
|
|
52
|
-
name = "BadRequestException";
|
|
53
|
-
$fault = "client";
|
|
54
|
-
Code;
|
|
55
|
-
Message;
|
|
56
|
-
constructor(opts) {
|
|
57
|
-
super({
|
|
58
|
-
name: "BadRequestException",
|
|
59
|
-
$fault: "client",
|
|
60
|
-
...opts,
|
|
61
|
-
});
|
|
62
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
63
|
-
this.Code = opts.Code;
|
|
64
|
-
this.Message = opts.Message;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
export class ForbiddenException extends __BaseException {
|
|
68
|
-
name = "ForbiddenException";
|
|
69
|
-
$fault = "client";
|
|
70
|
-
Code;
|
|
71
|
-
Message;
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ForbiddenException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
79
|
-
this.Code = opts.Code;
|
|
80
|
-
this.Message = opts.Message;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
export class NotFoundException extends __BaseException {
|
|
84
|
-
name = "NotFoundException";
|
|
85
|
-
$fault = "client";
|
|
86
|
-
Code;
|
|
87
|
-
Message;
|
|
88
|
-
constructor(opts) {
|
|
89
|
-
super({
|
|
90
|
-
name: "NotFoundException",
|
|
91
|
-
$fault: "client",
|
|
92
|
-
...opts,
|
|
93
|
-
});
|
|
94
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
95
|
-
this.Code = opts.Code;
|
|
96
|
-
this.Message = opts.Message;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
export class ServiceFailureException extends __BaseException {
|
|
100
|
-
name = "ServiceFailureException";
|
|
101
|
-
$fault = "server";
|
|
102
|
-
Code;
|
|
103
|
-
Message;
|
|
104
|
-
constructor(opts) {
|
|
105
|
-
super({
|
|
106
|
-
name: "ServiceFailureException",
|
|
107
|
-
$fault: "server",
|
|
108
|
-
...opts,
|
|
109
|
-
});
|
|
110
|
-
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
111
|
-
this.Code = opts.Code;
|
|
112
|
-
this.Message = opts.Message;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
116
|
-
name = "ServiceUnavailableException";
|
|
117
|
-
$fault = "server";
|
|
118
|
-
Code;
|
|
119
|
-
Message;
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "ServiceUnavailableException",
|
|
123
|
-
$fault: "server",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
127
|
-
this.Code = opts.Code;
|
|
128
|
-
this.Message = opts.Message;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
export class ThrottledClientException extends __BaseException {
|
|
132
|
-
name = "ThrottledClientException";
|
|
133
|
-
$fault = "client";
|
|
134
|
-
Code;
|
|
135
|
-
Message;
|
|
136
|
-
constructor(opts) {
|
|
137
|
-
super({
|
|
138
|
-
name: "ThrottledClientException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...opts,
|
|
141
|
-
});
|
|
142
|
-
Object.setPrototypeOf(this, ThrottledClientException.prototype);
|
|
143
|
-
this.Code = opts.Code;
|
|
144
|
-
this.Message = opts.Message;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
export class UnauthorizedClientException extends __BaseException {
|
|
148
|
-
name = "UnauthorizedClientException";
|
|
149
|
-
$fault = "client";
|
|
150
|
-
Code;
|
|
151
|
-
Message;
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "UnauthorizedClientException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
159
|
-
this.Code = opts.Code;
|
|
160
|
-
this.Message = opts.Message;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
export const RoomMembershipRole = {
|
|
164
|
-
Administrator: "Administrator",
|
|
165
|
-
Member: "Member",
|
|
166
|
-
};
|
|
167
|
-
export const PhoneNumberProductType = {
|
|
168
|
-
BusinessCalling: "BusinessCalling",
|
|
169
|
-
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
170
|
-
VoiceConnector: "VoiceConnector",
|
|
171
|
-
};
|
|
172
|
-
export const UserType = {
|
|
173
|
-
PrivateUser: "PrivateUser",
|
|
174
|
-
SharedDevice: "SharedDevice",
|
|
175
|
-
};
|
|
176
|
-
export const BotType = {
|
|
177
|
-
ChatBot: "ChatBot",
|
|
178
|
-
};
|
|
179
|
-
export const CallingNameStatus = {
|
|
180
|
-
Unassigned: "Unassigned",
|
|
181
|
-
UpdateFailed: "UpdateFailed",
|
|
182
|
-
UpdateInProgress: "UpdateInProgress",
|
|
183
|
-
UpdateSucceeded: "UpdateSucceeded",
|
|
184
|
-
};
|
|
185
|
-
export class ConflictException extends __BaseException {
|
|
186
|
-
name = "ConflictException";
|
|
187
|
-
$fault = "client";
|
|
188
|
-
Code;
|
|
189
|
-
Message;
|
|
190
|
-
constructor(opts) {
|
|
191
|
-
super({
|
|
192
|
-
name: "ConflictException",
|
|
193
|
-
$fault: "client",
|
|
194
|
-
...opts,
|
|
195
|
-
});
|
|
196
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
197
|
-
this.Code = opts.Code;
|
|
198
|
-
this.Message = opts.Message;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
export class ResourceLimitExceededException extends __BaseException {
|
|
202
|
-
name = "ResourceLimitExceededException";
|
|
203
|
-
$fault = "client";
|
|
204
|
-
Code;
|
|
205
|
-
Message;
|
|
206
|
-
constructor(opts) {
|
|
207
|
-
super({
|
|
208
|
-
name: "ResourceLimitExceededException",
|
|
209
|
-
$fault: "client",
|
|
210
|
-
...opts,
|
|
211
|
-
});
|
|
212
|
-
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
213
|
-
this.Code = opts.Code;
|
|
214
|
-
this.Message = opts.Message;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
export const OrderedPhoneNumberStatus = {
|
|
218
|
-
Acquired: "Acquired",
|
|
219
|
-
Failed: "Failed",
|
|
220
|
-
Processing: "Processing",
|
|
221
|
-
};
|
|
222
|
-
export const PhoneNumberOrderStatus = {
|
|
223
|
-
Failed: "Failed",
|
|
224
|
-
Partial: "Partial",
|
|
225
|
-
Processing: "Processing",
|
|
226
|
-
Successful: "Successful",
|
|
227
|
-
};
|
|
228
|
-
export const MemberType = {
|
|
229
|
-
Bot: "Bot",
|
|
230
|
-
User: "User",
|
|
231
|
-
Webhook: "Webhook",
|
|
232
|
-
};
|
|
233
|
-
export const InviteStatus = {
|
|
234
|
-
Accepted: "Accepted",
|
|
235
|
-
Failed: "Failed",
|
|
236
|
-
Pending: "Pending",
|
|
237
|
-
};
|
|
238
|
-
export const RegistrationStatus = {
|
|
239
|
-
Registered: "Registered",
|
|
240
|
-
Suspended: "Suspended",
|
|
241
|
-
Unregistered: "Unregistered",
|
|
242
|
-
};
|
|
243
|
-
export class UnprocessableEntityException extends __BaseException {
|
|
244
|
-
name = "UnprocessableEntityException";
|
|
245
|
-
$fault = "client";
|
|
246
|
-
Code;
|
|
247
|
-
Message;
|
|
248
|
-
constructor(opts) {
|
|
249
|
-
super({
|
|
250
|
-
name: "UnprocessableEntityException",
|
|
251
|
-
$fault: "client",
|
|
252
|
-
...opts,
|
|
253
|
-
});
|
|
254
|
-
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
255
|
-
this.Code = opts.Code;
|
|
256
|
-
this.Message = opts.Message;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
export const EmailStatus = {
|
|
260
|
-
Failed: "Failed",
|
|
261
|
-
NotSent: "NotSent",
|
|
262
|
-
Sent: "Sent",
|
|
263
|
-
};
|
|
264
|
-
export const PhoneNumberAssociationName = {
|
|
265
|
-
AccountId: "AccountId",
|
|
266
|
-
SipRuleId: "SipRuleId",
|
|
267
|
-
UserId: "UserId",
|
|
268
|
-
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
269
|
-
VoiceConnectorId: "VoiceConnectorId",
|
|
270
|
-
};
|
|
271
|
-
export const PhoneNumberStatus = {
|
|
272
|
-
AcquireFailed: "AcquireFailed",
|
|
273
|
-
AcquireInProgress: "AcquireInProgress",
|
|
274
|
-
Assigned: "Assigned",
|
|
275
|
-
DeleteFailed: "DeleteFailed",
|
|
276
|
-
DeleteInProgress: "DeleteInProgress",
|
|
277
|
-
ReleaseFailed: "ReleaseFailed",
|
|
278
|
-
ReleaseInProgress: "ReleaseInProgress",
|
|
279
|
-
Unassigned: "Unassigned",
|
|
280
|
-
};
|
|
281
|
-
export const PhoneNumberType = {
|
|
282
|
-
Local: "Local",
|
|
283
|
-
TollFree: "TollFree",
|
|
284
|
-
};
|
|
1
|
+
export {};
|
|
@@ -383,7 +383,7 @@ const _ut = "user-type";
|
|
|
383
383
|
const n0 = "com.amazonaws.chime";
|
|
384
384
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
385
385
|
import { ChimeServiceException as __ChimeServiceException } from "../models/ChimeServiceException";
|
|
386
|
-
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, NotFoundException as __NotFoundException, ResourceLimitExceededException as __ResourceLimitExceededException, ServiceFailureException as __ServiceFailureException, ServiceUnavailableException as __ServiceUnavailableException, ThrottledClientException as __ThrottledClientException, UnauthorizedClientException as __UnauthorizedClientException, UnprocessableEntityException as __UnprocessableEntityException, } from "../models/
|
|
386
|
+
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, NotFoundException as __NotFoundException, ResourceLimitExceededException as __ResourceLimitExceededException, ServiceFailureException as __ServiceFailureException, ServiceUnavailableException as __ServiceUnavailableException, ThrottledClientException as __ThrottledClientException, UnauthorizedClientException as __UnauthorizedClientException, UnprocessableEntityException as __UnprocessableEntityException, } from "../models/errors";
|
|
387
387
|
export var CallingName = [0, n0, _CN, 8, 0];
|
|
388
388
|
export var ClientRequestToken = [0, n0, _CRT, 8, 0];
|
|
389
389
|
export var E164PhoneNumber = [0, n0, _EPN, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -52,5 +52,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
52
52
|
export type { ChimeExtensionConfiguration } from "./extensionConfiguration";
|
|
53
53
|
export * from "./commands";
|
|
54
54
|
export * from "./pagination";
|
|
55
|
-
export * from "./models";
|
|
55
|
+
export * from "./models/enums";
|
|
56
|
+
export * from "./models/errors";
|
|
57
|
+
export type * from "./models/models_0";
|
|
56
58
|
export { ChimeServiceException } from "./models/ChimeServiceException";
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ErrorCode: {
|
|
6
|
+
readonly AccessDenied: "AccessDenied";
|
|
7
|
+
readonly BadRequest: "BadRequest";
|
|
8
|
+
readonly Conflict: "Conflict";
|
|
9
|
+
readonly Forbidden: "Forbidden";
|
|
10
|
+
readonly NotFound: "NotFound";
|
|
11
|
+
readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
|
|
12
|
+
readonly PreconditionFailed: "PreconditionFailed";
|
|
13
|
+
readonly ResourceLimitExceeded: "ResourceLimitExceeded";
|
|
14
|
+
readonly ServiceFailure: "ServiceFailure";
|
|
15
|
+
readonly ServiceUnavailable: "ServiceUnavailable";
|
|
16
|
+
readonly Throttled: "Throttled";
|
|
17
|
+
readonly Throttling: "Throttling";
|
|
18
|
+
readonly Unauthorized: "Unauthorized";
|
|
19
|
+
readonly Unprocessable: "Unprocessable";
|
|
20
|
+
readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const AccountStatus: {
|
|
31
|
+
readonly Active: "Active";
|
|
32
|
+
readonly Suspended: "Suspended";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const AccountType: {
|
|
43
|
+
readonly EnterpriseDirectory: "EnterpriseDirectory";
|
|
44
|
+
readonly EnterpriseLWA: "EnterpriseLWA";
|
|
45
|
+
readonly EnterpriseOIDC: "EnterpriseOIDC";
|
|
46
|
+
readonly Team: "Team";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type AccountType = (typeof AccountType)[keyof typeof AccountType];
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @enum
|
|
55
|
+
*/
|
|
56
|
+
export declare const License: {
|
|
57
|
+
readonly Basic: "Basic";
|
|
58
|
+
readonly Plus: "Plus";
|
|
59
|
+
readonly Pro: "Pro";
|
|
60
|
+
readonly ProTrial: "ProTrial";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type License = (typeof License)[keyof typeof License];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const RoomMembershipRole: {
|
|
71
|
+
readonly Administrator: "Administrator";
|
|
72
|
+
readonly Member: "Member";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type RoomMembershipRole = (typeof RoomMembershipRole)[keyof typeof RoomMembershipRole];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const PhoneNumberProductType: {
|
|
83
|
+
readonly BusinessCalling: "BusinessCalling";
|
|
84
|
+
readonly SipMediaApplicationDialIn: "SipMediaApplicationDialIn";
|
|
85
|
+
readonly VoiceConnector: "VoiceConnector";
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export type PhoneNumberProductType = (typeof PhoneNumberProductType)[keyof typeof PhoneNumberProductType];
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @enum
|
|
94
|
+
*/
|
|
95
|
+
export declare const UserType: {
|
|
96
|
+
readonly PrivateUser: "PrivateUser";
|
|
97
|
+
readonly SharedDevice: "SharedDevice";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* @enum
|
|
106
|
+
*/
|
|
107
|
+
export declare const BotType: {
|
|
108
|
+
readonly ChatBot: "ChatBot";
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export type BotType = (typeof BotType)[keyof typeof BotType];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const CallingNameStatus: {
|
|
119
|
+
readonly Unassigned: "Unassigned";
|
|
120
|
+
readonly UpdateFailed: "UpdateFailed";
|
|
121
|
+
readonly UpdateInProgress: "UpdateInProgress";
|
|
122
|
+
readonly UpdateSucceeded: "UpdateSucceeded";
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export type CallingNameStatus = (typeof CallingNameStatus)[keyof typeof CallingNameStatus];
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
* @enum
|
|
131
|
+
*/
|
|
132
|
+
export declare const OrderedPhoneNumberStatus: {
|
|
133
|
+
readonly Acquired: "Acquired";
|
|
134
|
+
readonly Failed: "Failed";
|
|
135
|
+
readonly Processing: "Processing";
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export type OrderedPhoneNumberStatus = (typeof OrderedPhoneNumberStatus)[keyof typeof OrderedPhoneNumberStatus];
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* @enum
|
|
144
|
+
*/
|
|
145
|
+
export declare const PhoneNumberOrderStatus: {
|
|
146
|
+
readonly Failed: "Failed";
|
|
147
|
+
readonly Partial: "Partial";
|
|
148
|
+
readonly Processing: "Processing";
|
|
149
|
+
readonly Successful: "Successful";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export type PhoneNumberOrderStatus = (typeof PhoneNumberOrderStatus)[keyof typeof PhoneNumberOrderStatus];
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
* @enum
|
|
158
|
+
*/
|
|
159
|
+
export declare const MemberType: {
|
|
160
|
+
readonly Bot: "Bot";
|
|
161
|
+
readonly User: "User";
|
|
162
|
+
readonly Webhook: "Webhook";
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export type MemberType = (typeof MemberType)[keyof typeof MemberType];
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
* @enum
|
|
171
|
+
*/
|
|
172
|
+
export declare const InviteStatus: {
|
|
173
|
+
readonly Accepted: "Accepted";
|
|
174
|
+
readonly Failed: "Failed";
|
|
175
|
+
readonly Pending: "Pending";
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export type InviteStatus = (typeof InviteStatus)[keyof typeof InviteStatus];
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* @enum
|
|
184
|
+
*/
|
|
185
|
+
export declare const RegistrationStatus: {
|
|
186
|
+
readonly Registered: "Registered";
|
|
187
|
+
readonly Suspended: "Suspended";
|
|
188
|
+
readonly Unregistered: "Unregistered";
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* @enum
|
|
197
|
+
*/
|
|
198
|
+
export declare const EmailStatus: {
|
|
199
|
+
readonly Failed: "Failed";
|
|
200
|
+
readonly NotSent: "NotSent";
|
|
201
|
+
readonly Sent: "Sent";
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export type EmailStatus = (typeof EmailStatus)[keyof typeof EmailStatus];
|
|
207
|
+
/**
|
|
208
|
+
* @public
|
|
209
|
+
* @enum
|
|
210
|
+
*/
|
|
211
|
+
export declare const PhoneNumberAssociationName: {
|
|
212
|
+
readonly AccountId: "AccountId";
|
|
213
|
+
readonly SipRuleId: "SipRuleId";
|
|
214
|
+
readonly UserId: "UserId";
|
|
215
|
+
readonly VoiceConnectorGroupId: "VoiceConnectorGroupId";
|
|
216
|
+
readonly VoiceConnectorId: "VoiceConnectorId";
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export type PhoneNumberAssociationName = (typeof PhoneNumberAssociationName)[keyof typeof PhoneNumberAssociationName];
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
* @enum
|
|
225
|
+
*/
|
|
226
|
+
export declare const PhoneNumberStatus: {
|
|
227
|
+
readonly AcquireFailed: "AcquireFailed";
|
|
228
|
+
readonly AcquireInProgress: "AcquireInProgress";
|
|
229
|
+
readonly Assigned: "Assigned";
|
|
230
|
+
readonly DeleteFailed: "DeleteFailed";
|
|
231
|
+
readonly DeleteInProgress: "DeleteInProgress";
|
|
232
|
+
readonly ReleaseFailed: "ReleaseFailed";
|
|
233
|
+
readonly ReleaseInProgress: "ReleaseInProgress";
|
|
234
|
+
readonly Unassigned: "Unassigned";
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
export type PhoneNumberStatus = (typeof PhoneNumberStatus)[keyof typeof PhoneNumberStatus];
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
* @enum
|
|
243
|
+
*/
|
|
244
|
+
export declare const PhoneNumberType: {
|
|
245
|
+
readonly Local: "Local";
|
|
246
|
+
readonly TollFree: "TollFree";
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
export type PhoneNumberType = (typeof PhoneNumberType)[keyof typeof PhoneNumberType];
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ChimeServiceException as __BaseException } from "./ChimeServiceException";
|
|
3
|
+
import { ErrorCode } from "./enums";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You don't have permissions to perform the requested operation.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Code?: ErrorCode | undefined;
|
|
12
|
+
Message?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class BadRequestException extends __BaseException {
|
|
23
|
+
readonly name: "BadRequestException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Code?: ErrorCode | undefined;
|
|
26
|
+
Message?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare class ForbiddenException extends __BaseException {
|
|
37
|
+
readonly name: "ForbiddenException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
Code?: ErrorCode | undefined;
|
|
40
|
+
Message?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* <p>One or more of the resources in the request does not exist in the system.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export declare class NotFoundException extends __BaseException {
|
|
51
|
+
readonly name: "NotFoundException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
Code?: ErrorCode | undefined;
|
|
54
|
+
Message?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>The service encountered an unexpected error.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class ServiceFailureException extends __BaseException {
|
|
65
|
+
readonly name: "ServiceFailureException";
|
|
66
|
+
readonly $fault: "server";
|
|
67
|
+
Code?: ErrorCode | undefined;
|
|
68
|
+
Message?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>The service is currently unavailable.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
79
|
+
readonly name: "ServiceUnavailableException";
|
|
80
|
+
readonly $fault: "server";
|
|
81
|
+
Code?: ErrorCode | undefined;
|
|
82
|
+
Message?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* <p>The client exceeded its request rate limit.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ThrottledClientException extends __BaseException {
|
|
93
|
+
readonly name: "ThrottledClientException";
|
|
94
|
+
readonly $fault: "client";
|
|
95
|
+
Code?: ErrorCode | undefined;
|
|
96
|
+
Message?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
constructor(opts: __ExceptionOptionType<ThrottledClientException, __BaseException>);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>The client is not currently authorized to make the request.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class UnauthorizedClientException extends __BaseException {
|
|
107
|
+
readonly name: "UnauthorizedClientException";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
Code?: ErrorCode | undefined;
|
|
110
|
+
Message?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
118
|
+
* resource.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class ConflictException extends __BaseException {
|
|
122
|
+
readonly name: "ConflictException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
Code?: ErrorCode | undefined;
|
|
125
|
+
Message?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* <p>The request exceeds the resource limit.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
136
|
+
readonly name: "ResourceLimitExceededException";
|
|
137
|
+
readonly $fault: "client";
|
|
138
|
+
Code?: ErrorCode | undefined;
|
|
139
|
+
Message?: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* <p>The request was well-formed but was unable to be followed due to semantic errors.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class UnprocessableEntityException extends __BaseException {
|
|
150
|
+
readonly name: "UnprocessableEntityException";
|
|
151
|
+
readonly $fault: "client";
|
|
152
|
+
Code?: ErrorCode | undefined;
|
|
153
|
+
Message?: string | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
|
|
158
|
+
}
|