1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class Chime extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: Chime.Types.ClientConfiguration)
|
13 | config: Config & Chime.Types.ClientConfiguration;
|
14 | /**
|
15 | * Associates a phone number with the specified Amazon Chime user.
|
16 | */
|
17 | associatePhoneNumberWithUser(params: Chime.Types.AssociatePhoneNumberWithUserRequest, callback?: (err: AWSError, data: Chime.Types.AssociatePhoneNumberWithUserResponse) => void): Request<Chime.Types.AssociatePhoneNumberWithUserResponse, AWSError>;
|
18 | /**
|
19 | * Associates a phone number with the specified Amazon Chime user.
|
20 | */
|
21 | associatePhoneNumberWithUser(callback?: (err: AWSError, data: Chime.Types.AssociatePhoneNumberWithUserResponse) => void): Request<Chime.Types.AssociatePhoneNumberWithUserResponse, AWSError>;
|
22 | /**
|
23 | * Associates a phone number with the specified Amazon Chime Voice Connector.
|
24 | */
|
25 | associatePhoneNumbersWithVoiceConnector(params: Chime.Types.AssociatePhoneNumbersWithVoiceConnectorRequest, callback?: (err: AWSError, data: Chime.Types.AssociatePhoneNumbersWithVoiceConnectorResponse) => void): Request<Chime.Types.AssociatePhoneNumbersWithVoiceConnectorResponse, AWSError>;
|
26 | /**
|
27 | * Associates a phone number with the specified Amazon Chime Voice Connector.
|
28 | */
|
29 | associatePhoneNumbersWithVoiceConnector(callback?: (err: AWSError, data: Chime.Types.AssociatePhoneNumbersWithVoiceConnectorResponse) => void): Request<Chime.Types.AssociatePhoneNumbersWithVoiceConnectorResponse, AWSError>;
|
30 | /**
|
31 | * Moves phone numbers into the Deletion queue. Phone numbers must be disassociated from any users or Amazon Chime Voice Connectors before they can be deleted. Phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
|
32 | */
|
33 | batchDeletePhoneNumber(params: Chime.Types.BatchDeletePhoneNumberRequest, callback?: (err: AWSError, data: Chime.Types.BatchDeletePhoneNumberResponse) => void): Request<Chime.Types.BatchDeletePhoneNumberResponse, AWSError>;
|
34 | /**
|
35 | * Moves phone numbers into the Deletion queue. Phone numbers must be disassociated from any users or Amazon Chime Voice Connectors before they can be deleted. Phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
|
36 | */
|
37 | batchDeletePhoneNumber(callback?: (err: AWSError, data: Chime.Types.BatchDeletePhoneNumberResponse) => void): Request<Chime.Types.BatchDeletePhoneNumberResponse, AWSError>;
|
38 | /**
|
39 | * Suspends up to 50 users from a Team or EnterpriseLWA Amazon Chime account. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide. Users suspended from a Team account are dissociated from the account, but they can continue to use Amazon Chime as free users. To remove the suspension from suspended Team account users, invite them to the Team account again. You can use the InviteUsers action to do so. Users suspended from an EnterpriseLWA account are immediately signed out of Amazon Chime and can no longer sign in. To remove the suspension from suspended EnterpriseLWA account users, use the BatchUnsuspendUser action. To sign out users without suspending them, use the LogoutUser action.
|
40 | */
|
41 | batchSuspendUser(params: Chime.Types.BatchSuspendUserRequest, callback?: (err: AWSError, data: Chime.Types.BatchSuspendUserResponse) => void): Request<Chime.Types.BatchSuspendUserResponse, AWSError>;
|
42 | /**
|
43 | * Suspends up to 50 users from a Team or EnterpriseLWA Amazon Chime account. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide. Users suspended from a Team account are dissociated from the account, but they can continue to use Amazon Chime as free users. To remove the suspension from suspended Team account users, invite them to the Team account again. You can use the InviteUsers action to do so. Users suspended from an EnterpriseLWA account are immediately signed out of Amazon Chime and can no longer sign in. To remove the suspension from suspended EnterpriseLWA account users, use the BatchUnsuspendUser action. To sign out users without suspending them, use the LogoutUser action.
|
44 | */
|
45 | batchSuspendUser(callback?: (err: AWSError, data: Chime.Types.BatchSuspendUserResponse) => void): Request<Chime.Types.BatchSuspendUserResponse, AWSError>;
|
46 | /**
|
47 | * Removes the suspension from up to 50 previously suspended users for the specified Amazon Chime EnterpriseLWA account. Only users on EnterpriseLWA accounts can be unsuspended using this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide. Previously suspended users who are unsuspended using this action are returned to Registered status. Users who are not previously suspended are ignored.
|
48 | */
|
49 | batchUnsuspendUser(params: Chime.Types.BatchUnsuspendUserRequest, callback?: (err: AWSError, data: Chime.Types.BatchUnsuspendUserResponse) => void): Request<Chime.Types.BatchUnsuspendUserResponse, AWSError>;
|
50 | /**
|
51 | * Removes the suspension from up to 50 previously suspended users for the specified Amazon Chime EnterpriseLWA account. Only users on EnterpriseLWA accounts can be unsuspended using this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide. Previously suspended users who are unsuspended using this action are returned to Registered status. Users who are not previously suspended are ignored.
|
52 | */
|
53 | batchUnsuspendUser(callback?: (err: AWSError, data: Chime.Types.BatchUnsuspendUserResponse) => void): Request<Chime.Types.BatchUnsuspendUserResponse, AWSError>;
|
54 | /**
|
55 | * Updates phone number product types. Choose from Amazon Chime Business Calling and Amazon Chime Voice Connector product types.
|
56 | */
|
57 | batchUpdatePhoneNumber(params: Chime.Types.BatchUpdatePhoneNumberRequest, callback?: (err: AWSError, data: Chime.Types.BatchUpdatePhoneNumberResponse) => void): Request<Chime.Types.BatchUpdatePhoneNumberResponse, AWSError>;
|
58 | /**
|
59 | * Updates phone number product types. Choose from Amazon Chime Business Calling and Amazon Chime Voice Connector product types.
|
60 | */
|
61 | batchUpdatePhoneNumber(callback?: (err: AWSError, data: Chime.Types.BatchUpdatePhoneNumberResponse) => void): Request<Chime.Types.BatchUpdatePhoneNumberResponse, AWSError>;
|
62 | /**
|
63 | * Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.
|
64 | */
|
65 | batchUpdateUser(params: Chime.Types.BatchUpdateUserRequest, callback?: (err: AWSError, data: Chime.Types.BatchUpdateUserResponse) => void): Request<Chime.Types.BatchUpdateUserResponse, AWSError>;
|
66 | /**
|
67 | * Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.
|
68 | */
|
69 | batchUpdateUser(callback?: (err: AWSError, data: Chime.Types.BatchUpdateUserResponse) => void): Request<Chime.Types.BatchUpdateUserResponse, AWSError>;
|
70 | /**
|
71 | * Creates an Amazon Chime account under the administrator's AWS account. Only Team account types are currently supported for this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
|
72 | */
|
73 | createAccount(params: Chime.Types.CreateAccountRequest, callback?: (err: AWSError, data: Chime.Types.CreateAccountResponse) => void): Request<Chime.Types.CreateAccountResponse, AWSError>;
|
74 | /**
|
75 | * Creates an Amazon Chime account under the administrator's AWS account. Only Team account types are currently supported for this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
|
76 | */
|
77 | createAccount(callback?: (err: AWSError, data: Chime.Types.CreateAccountResponse) => void): Request<Chime.Types.CreateAccountResponse, AWSError>;
|
78 | /**
|
79 | * Creates an order for phone numbers to be provisioned. Choose from Amazon Chime Business Calling and Amazon Chime Voice Connector product types.
|
80 | */
|
81 | createPhoneNumberOrder(params: Chime.Types.CreatePhoneNumberOrderRequest, callback?: (err: AWSError, data: Chime.Types.CreatePhoneNumberOrderResponse) => void): Request<Chime.Types.CreatePhoneNumberOrderResponse, AWSError>;
|
82 | /**
|
83 | * Creates an order for phone numbers to be provisioned. Choose from Amazon Chime Business Calling and Amazon Chime Voice Connector product types.
|
84 | */
|
85 | createPhoneNumberOrder(callback?: (err: AWSError, data: Chime.Types.CreatePhoneNumberOrderResponse) => void): Request<Chime.Types.CreatePhoneNumberOrderResponse, AWSError>;
|
86 | /**
|
87 | * Creates an Amazon Chime Voice Connector under the administrator's AWS account. Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.
|
88 | */
|
89 | createVoiceConnector(params: Chime.Types.CreateVoiceConnectorRequest, callback?: (err: AWSError, data: Chime.Types.CreateVoiceConnectorResponse) => void): Request<Chime.Types.CreateVoiceConnectorResponse, AWSError>;
|
90 | /**
|
91 | * Creates an Amazon Chime Voice Connector under the administrator's AWS account. Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.
|
92 | */
|
93 | createVoiceConnector(callback?: (err: AWSError, data: Chime.Types.CreateVoiceConnectorResponse) => void): Request<Chime.Types.CreateVoiceConnectorResponse, AWSError>;
|
94 | /**
|
95 | * Deletes the specified Amazon Chime account. You must suspend all users before deleting a Team account. You can use the BatchSuspendUser action to do so. For EnterpriseLWA and EnterpriseAD accounts, you must release the claimed domains for your Amazon Chime account before deletion. As soon as you release the domain, all users under that account are suspended. Deleted accounts appear in your Disabled accounts list for 90 days. To restore a deleted account from your Disabled accounts list, you must contact AWS Support. After 90 days, deleted accounts are permanently removed from your Disabled accounts list.
|
96 | */
|
97 | deleteAccount(params: Chime.Types.DeleteAccountRequest, callback?: (err: AWSError, data: Chime.Types.DeleteAccountResponse) => void): Request<Chime.Types.DeleteAccountResponse, AWSError>;
|
98 | /**
|
99 | * Deletes the specified Amazon Chime account. You must suspend all users before deleting a Team account. You can use the BatchSuspendUser action to do so. For EnterpriseLWA and EnterpriseAD accounts, you must release the claimed domains for your Amazon Chime account before deletion. As soon as you release the domain, all users under that account are suspended. Deleted accounts appear in your Disabled accounts list for 90 days. To restore a deleted account from your Disabled accounts list, you must contact AWS Support. After 90 days, deleted accounts are permanently removed from your Disabled accounts list.
|
100 | */
|
101 | deleteAccount(callback?: (err: AWSError, data: Chime.Types.DeleteAccountResponse) => void): Request<Chime.Types.DeleteAccountResponse, AWSError>;
|
102 | /**
|
103 | * Moves the specified phone number into the Deletion queue. A phone number must be disassociated from any users or Amazon Chime Voice Connectors before it can be deleted. Deleted phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
|
104 | */
|
105 | deletePhoneNumber(params: Chime.Types.DeletePhoneNumberRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
106 | |
107 |
|
108 |
|
109 | deletePhoneNumber(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
110 | |
111 |
|
112 |
|
113 | deleteVoiceConnector(params: Chime.Types.DeleteVoiceConnectorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
114 | |
115 |
|
116 |
|
117 | deleteVoiceConnector(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
118 | |
119 |
|
120 |
|
121 | deleteVoiceConnectorOrigination(params: Chime.Types.DeleteVoiceConnectorOriginationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
122 | |
123 |
|
124 |
|
125 | deleteVoiceConnectorOrigination(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
126 | |
127 |
|
128 |
|
129 | deleteVoiceConnectorTermination(params: Chime.Types.DeleteVoiceConnectorTerminationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
130 | |
131 |
|
132 |
|
133 | deleteVoiceConnectorTermination(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
134 | |
135 |
|
136 |
|
137 | deleteVoiceConnectorTerminationCredentials(params: Chime.Types.DeleteVoiceConnectorTerminationCredentialsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
138 | |
139 |
|
140 |
|
141 | deleteVoiceConnectorTerminationCredentials(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
142 | |
143 |
|
144 |
|
145 | disassociatePhoneNumberFromUser(params: Chime.Types.DisassociatePhoneNumberFromUserRequest, callback?: (err: AWSError, data: Chime.Types.DisassociatePhoneNumberFromUserResponse) => void): Request<Chime.Types.DisassociatePhoneNumberFromUserResponse, AWSError>;
|
146 | |
147 |
|
148 |
|
149 | disassociatePhoneNumberFromUser(callback?: (err: AWSError, data: Chime.Types.DisassociatePhoneNumberFromUserResponse) => void): Request<Chime.Types.DisassociatePhoneNumberFromUserResponse, AWSError>;
|
150 | |
151 |
|
152 |
|
153 | disassociatePhoneNumbersFromVoiceConnector(params: Chime.Types.DisassociatePhoneNumbersFromVoiceConnectorRequest, callback?: (err: AWSError, data: Chime.Types.DisassociatePhoneNumbersFromVoiceConnectorResponse) => void): Request<Chime.Types.DisassociatePhoneNumbersFromVoiceConnectorResponse, AWSError>;
|
154 | |
155 |
|
156 |
|
157 | disassociatePhoneNumbersFromVoiceConnector(callback?: (err: AWSError, data: Chime.Types.DisassociatePhoneNumbersFromVoiceConnectorResponse) => void): Request<Chime.Types.DisassociatePhoneNumbersFromVoiceConnectorResponse, AWSError>;
|
158 | |
159 |
|
160 |
|
161 | getAccount(params: Chime.Types.GetAccountRequest, callback?: (err: AWSError, data: Chime.Types.GetAccountResponse) => void): Request<Chime.Types.GetAccountResponse, AWSError>;
|
162 | |
163 |
|
164 |
|
165 | getAccount(callback?: (err: AWSError, data: Chime.Types.GetAccountResponse) => void): Request<Chime.Types.GetAccountResponse, AWSError>;
|
166 | |
167 |
|
168 |
|
169 | getAccountSettings(params: Chime.Types.GetAccountSettingsRequest, callback?: (err: AWSError, data: Chime.Types.GetAccountSettingsResponse) => void): Request<Chime.Types.GetAccountSettingsResponse, AWSError>;
|
170 | |
171 |
|
172 |
|
173 | getAccountSettings(callback?: (err: AWSError, data: Chime.Types.GetAccountSettingsResponse) => void): Request<Chime.Types.GetAccountSettingsResponse, AWSError>;
|
174 | |
175 |
|
176 |
|
177 | getGlobalSettings(callback?: (err: AWSError, data: Chime.Types.GetGlobalSettingsResponse) => void): Request<Chime.Types.GetGlobalSettingsResponse, AWSError>;
|
178 | |
179 |
|
180 |
|
181 | getPhoneNumber(params: Chime.Types.GetPhoneNumberRequest, callback?: (err: AWSError, data: Chime.Types.GetPhoneNumberResponse) => void): Request<Chime.Types.GetPhoneNumberResponse, AWSError>;
|
182 | |
183 |
|
184 |
|
185 | getPhoneNumber(callback?: (err: AWSError, data: Chime.Types.GetPhoneNumberResponse) => void): Request<Chime.Types.GetPhoneNumberResponse, AWSError>;
|
186 | |
187 |
|
188 |
|
189 | getPhoneNumberOrder(params: Chime.Types.GetPhoneNumberOrderRequest, callback?: (err: AWSError, data: Chime.Types.GetPhoneNumberOrderResponse) => void): Request<Chime.Types.GetPhoneNumberOrderResponse, AWSError>;
|
190 | |
191 |
|
192 |
|
193 | getPhoneNumberOrder(callback?: (err: AWSError, data: Chime.Types.GetPhoneNumberOrderResponse) => void): Request<Chime.Types.GetPhoneNumberOrderResponse, AWSError>;
|
194 | |
195 |
|
196 |
|
197 | getUser(params: Chime.Types.GetUserRequest, callback?: (err: AWSError, data: Chime.Types.GetUserResponse) => void): Request<Chime.Types.GetUserResponse, AWSError>;
|
198 | |
199 |
|
200 |
|
201 | getUser(callback?: (err: AWSError, data: Chime.Types.GetUserResponse) => void): Request<Chime.Types.GetUserResponse, AWSError>;
|
202 | |
203 |
|
204 |
|
205 | getUserSettings(params: Chime.Types.GetUserSettingsRequest, callback?: (err: AWSError, data: Chime.Types.GetUserSettingsResponse) => void): Request<Chime.Types.GetUserSettingsResponse, AWSError>;
|
206 | |
207 |
|
208 |
|
209 | getUserSettings(callback?: (err: AWSError, data: Chime.Types.GetUserSettingsResponse) => void): Request<Chime.Types.GetUserSettingsResponse, AWSError>;
|
210 | |
211 |
|
212 |
|
213 | getVoiceConnector(params: Chime.Types.GetVoiceConnectorRequest, callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorResponse) => void): Request<Chime.Types.GetVoiceConnectorResponse, AWSError>;
|
214 | |
215 |
|
216 |
|
217 | getVoiceConnector(callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorResponse) => void): Request<Chime.Types.GetVoiceConnectorResponse, AWSError>;
|
218 | |
219 |
|
220 |
|
221 | getVoiceConnectorOrigination(params: Chime.Types.GetVoiceConnectorOriginationRequest, callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorOriginationResponse) => void): Request<Chime.Types.GetVoiceConnectorOriginationResponse, AWSError>;
|
222 | |
223 |
|
224 |
|
225 | getVoiceConnectorOrigination(callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorOriginationResponse) => void): Request<Chime.Types.GetVoiceConnectorOriginationResponse, AWSError>;
|
226 | |
227 |
|
228 |
|
229 | getVoiceConnectorTermination(params: Chime.Types.GetVoiceConnectorTerminationRequest, callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorTerminationResponse) => void): Request<Chime.Types.GetVoiceConnectorTerminationResponse, AWSError>;
|
230 | |
231 |
|
232 |
|
233 | getVoiceConnectorTermination(callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorTerminationResponse) => void): Request<Chime.Types.GetVoiceConnectorTerminationResponse, AWSError>;
|
234 | |
235 |
|
236 |
|
237 | getVoiceConnectorTerminationHealth(params: Chime.Types.GetVoiceConnectorTerminationHealthRequest, callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorTerminationHealthResponse) => void): Request<Chime.Types.GetVoiceConnectorTerminationHealthResponse, AWSError>;
|
238 | |
239 |
|
240 |
|
241 | getVoiceConnectorTerminationHealth(callback?: (err: AWSError, data: Chime.Types.GetVoiceConnectorTerminationHealthResponse) => void): Request<Chime.Types.GetVoiceConnectorTerminationHealthResponse, AWSError>;
|
242 | |
243 |
|
244 |
|
245 | inviteUsers(params: Chime.Types.InviteUsersRequest, callback?: (err: AWSError, data: Chime.Types.InviteUsersResponse) => void): Request<Chime.Types.InviteUsersResponse, AWSError>;
|
246 | |
247 |
|
248 |
|
249 | inviteUsers(callback?: (err: AWSError, data: Chime.Types.InviteUsersResponse) => void): Request<Chime.Types.InviteUsersResponse, AWSError>;
|
250 | |
251 |
|
252 |
|
253 | listAccounts(params: Chime.Types.ListAccountsRequest, callback?: (err: AWSError, data: Chime.Types.ListAccountsResponse) => void): Request<Chime.Types.ListAccountsResponse, AWSError>;
|
254 | |
255 |
|
256 |
|
257 | listAccounts(callback?: (err: AWSError, data: Chime.Types.ListAccountsResponse) => void): Request<Chime.Types.ListAccountsResponse, AWSError>;
|
258 | |
259 |
|
260 |
|
261 | listPhoneNumberOrders(params: Chime.Types.ListPhoneNumberOrdersRequest, callback?: (err: AWSError, data: Chime.Types.ListPhoneNumberOrdersResponse) => void): Request<Chime.Types.ListPhoneNumberOrdersResponse, AWSError>;
|
262 | |
263 |
|
264 |
|
265 | listPhoneNumberOrders(callback?: (err: AWSError, data: Chime.Types.ListPhoneNumberOrdersResponse) => void): Request<Chime.Types.ListPhoneNumberOrdersResponse, AWSError>;
|
266 | |
267 |
|
268 |
|
269 | listPhoneNumbers(params: Chime.Types.ListPhoneNumbersRequest, callback?: (err: AWSError, data: Chime.Types.ListPhoneNumbersResponse) => void): Request<Chime.Types.ListPhoneNumbersResponse, AWSError>;
|
270 | |
271 |
|
272 |
|
273 | listPhoneNumbers(callback?: (err: AWSError, data: Chime.Types.ListPhoneNumbersResponse) => void): Request<Chime.Types.ListPhoneNumbersResponse, AWSError>;
|
274 | |
275 |
|
276 |
|
277 | listUsers(params: Chime.Types.ListUsersRequest, callback?: (err: AWSError, data: Chime.Types.ListUsersResponse) => void): Request<Chime.Types.ListUsersResponse, AWSError>;
|
278 | |
279 |
|
280 |
|
281 | listUsers(callback?: (err: AWSError, data: Chime.Types.ListUsersResponse) => void): Request<Chime.Types.ListUsersResponse, AWSError>;
|
282 | |
283 |
|
284 |
|
285 | listVoiceConnectorTerminationCredentials(params: Chime.Types.ListVoiceConnectorTerminationCredentialsRequest, callback?: (err: AWSError, data: Chime.Types.ListVoiceConnectorTerminationCredentialsResponse) => void): Request<Chime.Types.ListVoiceConnectorTerminationCredentialsResponse, AWSError>;
|
286 | |
287 |
|
288 |
|
289 | listVoiceConnectorTerminationCredentials(callback?: (err: AWSError, data: Chime.Types.ListVoiceConnectorTerminationCredentialsResponse) => void): Request<Chime.Types.ListVoiceConnectorTerminationCredentialsResponse, AWSError>;
|
290 | |
291 |
|
292 |
|
293 | listVoiceConnectors(params: Chime.Types.ListVoiceConnectorsRequest, callback?: (err: AWSError, data: Chime.Types.ListVoiceConnectorsResponse) => void): Request<Chime.Types.ListVoiceConnectorsResponse, AWSError>;
|
294 | |
295 |
|
296 |
|
297 | listVoiceConnectors(callback?: (err: AWSError, data: Chime.Types.ListVoiceConnectorsResponse) => void): Request<Chime.Types.ListVoiceConnectorsResponse, AWSError>;
|
298 | |
299 |
|
300 |
|
301 | logoutUser(params: Chime.Types.LogoutUserRequest, callback?: (err: AWSError, data: Chime.Types.LogoutUserResponse) => void): Request<Chime.Types.LogoutUserResponse, AWSError>;
|
302 | |
303 |
|
304 |
|
305 | logoutUser(callback?: (err: AWSError, data: Chime.Types.LogoutUserResponse) => void): Request<Chime.Types.LogoutUserResponse, AWSError>;
|
306 | |
307 |
|
308 |
|
309 | putVoiceConnectorOrigination(params: Chime.Types.PutVoiceConnectorOriginationRequest, callback?: (err: AWSError, data: Chime.Types.PutVoiceConnectorOriginationResponse) => void): Request<Chime.Types.PutVoiceConnectorOriginationResponse, AWSError>;
|
310 | |
311 |
|
312 |
|
313 | putVoiceConnectorOrigination(callback?: (err: AWSError, data: Chime.Types.PutVoiceConnectorOriginationResponse) => void): Request<Chime.Types.PutVoiceConnectorOriginationResponse, AWSError>;
|
314 | |
315 |
|
316 |
|
317 | putVoiceConnectorTermination(params: Chime.Types.PutVoiceConnectorTerminationRequest, callback?: (err: AWSError, data: Chime.Types.PutVoiceConnectorTerminationResponse) => void): Request<Chime.Types.PutVoiceConnectorTerminationResponse, AWSError>;
|
318 | |
319 |
|
320 |
|
321 | putVoiceConnectorTermination(callback?: (err: AWSError, data: Chime.Types.PutVoiceConnectorTerminationResponse) => void): Request<Chime.Types.PutVoiceConnectorTerminationResponse, AWSError>;
|
322 | |
323 |
|
324 |
|
325 | putVoiceConnectorTerminationCredentials(params: Chime.Types.PutVoiceConnectorTerminationCredentialsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
326 | |
327 |
|
328 |
|
329 | putVoiceConnectorTerminationCredentials(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
330 | |
331 |
|
332 |
|
333 | resetPersonalPIN(params: Chime.Types.ResetPersonalPINRequest, callback?: (err: AWSError, data: Chime.Types.ResetPersonalPINResponse) => void): Request<Chime.Types.ResetPersonalPINResponse, AWSError>;
|
334 | |
335 |
|
336 |
|
337 | resetPersonalPIN(callback?: (err: AWSError, data: Chime.Types.ResetPersonalPINResponse) => void): Request<Chime.Types.ResetPersonalPINResponse, AWSError>;
|
338 | |
339 |
|
340 |
|
341 | restorePhoneNumber(params: Chime.Types.RestorePhoneNumberRequest, callback?: (err: AWSError, data: Chime.Types.RestorePhoneNumberResponse) => void): Request<Chime.Types.RestorePhoneNumberResponse, AWSError>;
|
342 | |
343 |
|
344 |
|
345 | restorePhoneNumber(callback?: (err: AWSError, data: Chime.Types.RestorePhoneNumberResponse) => void): Request<Chime.Types.RestorePhoneNumberResponse, AWSError>;
|
346 | |
347 |
|
348 |
|
349 | searchAvailablePhoneNumbers(params: Chime.Types.SearchAvailablePhoneNumbersRequest, callback?: (err: AWSError, data: Chime.Types.SearchAvailablePhoneNumbersResponse) => void): Request<Chime.Types.SearchAvailablePhoneNumbersResponse, AWSError>;
|
350 | |
351 |
|
352 |
|
353 | searchAvailablePhoneNumbers(callback?: (err: AWSError, data: Chime.Types.SearchAvailablePhoneNumbersResponse) => void): Request<Chime.Types.SearchAvailablePhoneNumbersResponse, AWSError>;
|
354 | |
355 |
|
356 |
|
357 | updateAccount(params: Chime.Types.UpdateAccountRequest, callback?: (err: AWSError, data: Chime.Types.UpdateAccountResponse) => void): Request<Chime.Types.UpdateAccountResponse, AWSError>;
|
358 | |
359 |
|
360 |
|
361 | updateAccount(callback?: (err: AWSError, data: Chime.Types.UpdateAccountResponse) => void): Request<Chime.Types.UpdateAccountResponse, AWSError>;
|
362 | |
363 |
|
364 |
|
365 | updateAccountSettings(params: Chime.Types.UpdateAccountSettingsRequest, callback?: (err: AWSError, data: Chime.Types.UpdateAccountSettingsResponse) => void): Request<Chime.Types.UpdateAccountSettingsResponse, AWSError>;
|
366 | |
367 |
|
368 |
|
369 | updateAccountSettings(callback?: (err: AWSError, data: Chime.Types.UpdateAccountSettingsResponse) => void): Request<Chime.Types.UpdateAccountSettingsResponse, AWSError>;
|
370 | |
371 |
|
372 |
|
373 | updateGlobalSettings(params: Chime.Types.UpdateGlobalSettingsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
374 | |
375 |
|
376 |
|
377 | updateGlobalSettings(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
378 | |
379 |
|
380 |
|
381 | updatePhoneNumber(params: Chime.Types.UpdatePhoneNumberRequest, callback?: (err: AWSError, data: Chime.Types.UpdatePhoneNumberResponse) => void): Request<Chime.Types.UpdatePhoneNumberResponse, AWSError>;
|
382 | |
383 |
|
384 |
|
385 | updatePhoneNumber(callback?: (err: AWSError, data: Chime.Types.UpdatePhoneNumberResponse) => void): Request<Chime.Types.UpdatePhoneNumberResponse, AWSError>;
|
386 | |
387 |
|
388 |
|
389 | updateUser(params: Chime.Types.UpdateUserRequest, callback?: (err: AWSError, data: Chime.Types.UpdateUserResponse) => void): Request<Chime.Types.UpdateUserResponse, AWSError>;
|
390 | |
391 |
|
392 |
|
393 | updateUser(callback?: (err: AWSError, data: Chime.Types.UpdateUserResponse) => void): Request<Chime.Types.UpdateUserResponse, AWSError>;
|
394 | |
395 |
|
396 |
|
397 | updateUserSettings(params: Chime.Types.UpdateUserSettingsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
398 | |
399 |
|
400 |
|
401 | updateUserSettings(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
402 | |
403 |
|
404 |
|
405 | updateVoiceConnector(params: Chime.Types.UpdateVoiceConnectorRequest, callback?: (err: AWSError, data: Chime.Types.UpdateVoiceConnectorResponse) => void): Request<Chime.Types.UpdateVoiceConnectorResponse, AWSError>;
|
406 | |
407 |
|
408 |
|
409 | updateVoiceConnector(callback?: (err: AWSError, data: Chime.Types.UpdateVoiceConnectorResponse) => void): Request<Chime.Types.UpdateVoiceConnectorResponse, AWSError>;
|
410 | }
|
411 | declare namespace Chime {
|
412 | export interface Account {
|
413 | |
414 |
|
415 |
|
416 | AwsAccountId: String;
|
417 | |
418 |
|
419 |
|
420 | AccountId: String;
|
421 | |
422 |
|
423 |
|
424 | Name: String;
|
425 | |
426 |
|
427 |
|
428 | AccountType?: AccountType;
|
429 | |
430 |
|
431 |
|
432 | CreatedTimestamp?: Iso8601Timestamp;
|
433 | |
434 |
|
435 |
|
436 | DefaultLicense?: License;
|
437 | |
438 |
|
439 |
|
440 | SupportedLicenses?: LicenseList;
|
441 | }
|
442 | export type AccountList = Account[];
|
443 | export type AccountName = string;
|
444 | export interface AccountSettings {
|
445 | |
446 |
|
447 |
|
448 | DisableRemoteControl?: Boolean;
|
449 | |
450 |
|
451 |
|
452 | EnableDialOut?: Boolean;
|
453 | }
|
454 | export type AccountType = "Team"|"EnterpriseDirectory"|"EnterpriseLWA"|"EnterpriseOIDC"|string;
|
455 | export interface AssociatePhoneNumberWithUserRequest {
|
456 | |
457 |
|
458 |
|
459 | AccountId: String;
|
460 | |
461 |
|
462 |
|
463 | UserId: String;
|
464 | |
465 |
|
466 |
|
467 | E164PhoneNumber: E164PhoneNumber;
|
468 | }
|
469 | export interface AssociatePhoneNumberWithUserResponse {
|
470 | }
|
471 | export interface AssociatePhoneNumbersWithVoiceConnectorRequest {
|
472 | |
473 |
|
474 |
|
475 | VoiceConnectorId: NonEmptyString;
|
476 | |
477 |
|
478 |
|
479 | E164PhoneNumbers?: E164PhoneNumberList;
|
480 | }
|
481 | export interface AssociatePhoneNumbersWithVoiceConnectorResponse {
|
482 | |
483 |
|
484 |
|
485 | PhoneNumberErrors?: PhoneNumberErrorList;
|
486 | }
|
487 | export interface BatchDeletePhoneNumberRequest {
|
488 | |
489 |
|
490 |
|
491 | PhoneNumberIds: NonEmptyStringList;
|
492 | }
|
493 | export interface BatchDeletePhoneNumberResponse {
|
494 | |
495 |
|
496 |
|
497 | PhoneNumberErrors?: PhoneNumberErrorList;
|
498 | }
|
499 | export interface BatchSuspendUserRequest {
|
500 | |
501 |
|
502 |
|
503 | AccountId: NonEmptyString;
|
504 | |
505 |
|
506 |
|
507 | UserIdList: UserIdList;
|
508 | }
|
509 | export interface BatchSuspendUserResponse {
|
510 | |
511 |
|
512 |
|
513 | UserErrors?: UserErrorList;
|
514 | }
|
515 | export interface BatchUnsuspendUserRequest {
|
516 | |
517 |
|
518 |
|
519 | AccountId: NonEmptyString;
|
520 | |
521 |
|
522 |
|
523 | UserIdList: UserIdList;
|
524 | }
|
525 | export interface BatchUnsuspendUserResponse {
|
526 | |
527 |
|
528 |
|
529 | UserErrors?: UserErrorList;
|
530 | }
|
531 | export interface BatchUpdatePhoneNumberRequest {
|
532 | |
533 |
|
534 |
|
535 | UpdatePhoneNumberRequestItems: UpdatePhoneNumberRequestItemList;
|
536 | }
|
537 | export interface BatchUpdatePhoneNumberResponse {
|
538 | |
539 |
|
540 |
|
541 | PhoneNumberErrors?: PhoneNumberErrorList;
|
542 | }
|
543 | export interface BatchUpdateUserRequest {
|
544 | |
545 |
|
546 |
|
547 | AccountId: NonEmptyString;
|
548 | |
549 |
|
550 |
|
551 | UpdateUserRequestItems: UpdateUserRequestItemList;
|
552 | }
|
553 | export interface BatchUpdateUserResponse {
|
554 | |
555 |
|
556 |
|
557 | UserErrors?: UserErrorList;
|
558 | }
|
559 | export type Boolean = boolean;
|
560 | export interface BusinessCallingSettings {
|
561 | |
562 |
|
563 |
|
564 | CdrBucket?: String;
|
565 | }
|
566 | export type CallingRegion = string;
|
567 | export type CallingRegionList = CallingRegion[];
|
568 | export type CpsLimit = number;
|
569 | export interface CreateAccountRequest {
|
570 | |
571 |
|
572 |
|
573 | Name: AccountName;
|
574 | }
|
575 | export interface CreateAccountResponse {
|
576 | |
577 |
|
578 |
|
579 | Account?: Account;
|
580 | }
|
581 | export interface CreatePhoneNumberOrderRequest {
|
582 | |
583 |
|
584 |
|
585 | ProductType: PhoneNumberProductType;
|
586 | |
587 |
|
588 |
|
589 | E164PhoneNumbers: E164PhoneNumberList;
|
590 | }
|
591 | export interface CreatePhoneNumberOrderResponse {
|
592 | |
593 |
|
594 |
|
595 | PhoneNumberOrder?: PhoneNumberOrder;
|
596 | }
|
597 | export interface CreateVoiceConnectorRequest {
|
598 | |
599 |
|
600 |
|
601 | Name: VoiceConnectorName;
|
602 | |
603 |
|
604 |
|
605 | RequireEncryption: Boolean;
|
606 | }
|
607 | export interface CreateVoiceConnectorResponse {
|
608 | |
609 |
|
610 |
|
611 | VoiceConnector?: VoiceConnector;
|
612 | }
|
613 | export interface Credential {
|
614 | |
615 |
|
616 |
|
617 | Username?: SensitiveString;
|
618 | |
619 |
|
620 |
|
621 | Password?: SensitiveString;
|
622 | }
|
623 | export type CredentialList = Credential[];
|
624 | export interface DeleteAccountRequest {
|
625 | |
626 |
|
627 |
|
628 | AccountId: NonEmptyString;
|
629 | }
|
630 | export interface DeleteAccountResponse {
|
631 | }
|
632 | export interface DeletePhoneNumberRequest {
|
633 | |
634 |
|
635 |
|
636 | PhoneNumberId: String;
|
637 | }
|
638 | export interface DeleteVoiceConnectorOriginationRequest {
|
639 | |
640 |
|
641 |
|
642 | VoiceConnectorId: NonEmptyString;
|
643 | }
|
644 | export interface DeleteVoiceConnectorRequest {
|
645 | |
646 |
|
647 |
|
648 | VoiceConnectorId: NonEmptyString;
|
649 | }
|
650 | export interface DeleteVoiceConnectorTerminationCredentialsRequest {
|
651 | |
652 |
|
653 |
|
654 | VoiceConnectorId: NonEmptyString;
|
655 | |
656 |
|
657 |
|
658 | Usernames?: SensitiveStringList;
|
659 | }
|
660 | export interface DeleteVoiceConnectorTerminationRequest {
|
661 | |
662 |
|
663 |
|
664 | VoiceConnectorId: NonEmptyString;
|
665 | }
|
666 | export interface DisassociatePhoneNumberFromUserRequest {
|
667 | |
668 |
|
669 |
|
670 | AccountId: String;
|
671 | |
672 |
|
673 |
|
674 | UserId: String;
|
675 | }
|
676 | export interface DisassociatePhoneNumberFromUserResponse {
|
677 | }
|
678 | export interface DisassociatePhoneNumbersFromVoiceConnectorRequest {
|
679 | |
680 |
|
681 |
|
682 | VoiceConnectorId: NonEmptyString;
|
683 | |
684 |
|
685 |
|
686 | E164PhoneNumbers?: E164PhoneNumberList;
|
687 | }
|
688 | export interface DisassociatePhoneNumbersFromVoiceConnectorResponse {
|
689 | |
690 |
|
691 |
|
692 | PhoneNumberErrors?: PhoneNumberErrorList;
|
693 | }
|
694 | export type E164PhoneNumber = string;
|
695 | export type E164PhoneNumberList = E164PhoneNumber[];
|
696 | export type EmailAddress = string;
|
697 | export type EmailStatus = "NotSent"|"Sent"|"Failed"|string;
|
698 | export type ErrorCode = "Unauthorized"|"Forbidden"|"NotFound"|"BadRequest"|"Conflict"|"ServiceFailure"|"ServiceUnavailable"|"Unprocessable"|"Throttled"|"PreconditionFailed"|string;
|
699 | export interface GetAccountRequest {
|
700 | |
701 |
|
702 |
|
703 | AccountId: NonEmptyString;
|
704 | }
|
705 | export interface GetAccountResponse {
|
706 | |
707 |
|
708 |
|
709 | Account?: Account;
|
710 | }
|
711 | export interface GetAccountSettingsRequest {
|
712 | |
713 |
|
714 |
|
715 | AccountId: NonEmptyString;
|
716 | }
|
717 | export interface GetAccountSettingsResponse {
|
718 | |
719 |
|
720 |
|
721 | AccountSettings?: AccountSettings;
|
722 | }
|
723 | export interface GetGlobalSettingsResponse {
|
724 | |
725 |
|
726 |
|
727 | BusinessCalling?: BusinessCallingSettings;
|
728 | |
729 |
|
730 |
|
731 | VoiceConnector?: VoiceConnectorSettings;
|
732 | }
|
733 | export interface GetPhoneNumberOrderRequest {
|
734 | |
735 |
|
736 |
|
737 | PhoneNumberOrderId: GuidString;
|
738 | }
|
739 | export interface GetPhoneNumberOrderResponse {
|
740 | |
741 |
|
742 |
|
743 | PhoneNumberOrder?: PhoneNumberOrder;
|
744 | }
|
745 | export interface GetPhoneNumberRequest {
|
746 | |
747 |
|
748 |
|
749 | PhoneNumberId: String;
|
750 | }
|
751 | export interface GetPhoneNumberResponse {
|
752 | |
753 |
|
754 |
|
755 | PhoneNumber?: PhoneNumber;
|
756 | }
|
757 | export interface GetUserRequest {
|
758 | |
759 |
|
760 |
|
761 | AccountId: NonEmptyString;
|
762 | |
763 |
|
764 |
|
765 | UserId: NonEmptyString;
|
766 | }
|
767 | export interface GetUserResponse {
|
768 | |
769 |
|
770 |
|
771 | User?: User;
|
772 | }
|
773 | export interface GetUserSettingsRequest {
|
774 | |
775 |
|
776 |
|
777 | AccountId: String;
|
778 | |
779 |
|
780 |
|
781 | UserId: String;
|
782 | }
|
783 | export interface GetUserSettingsResponse {
|
784 | |
785 |
|
786 |
|
787 | UserSettings?: UserSettings;
|
788 | }
|
789 | export interface GetVoiceConnectorOriginationRequest {
|
790 | |
791 |
|
792 |
|
793 | VoiceConnectorId: NonEmptyString;
|
794 | }
|
795 | export interface GetVoiceConnectorOriginationResponse {
|
796 | |
797 |
|
798 |
|
799 | Origination?: Origination;
|
800 | }
|
801 | export interface GetVoiceConnectorRequest {
|
802 | |
803 |
|
804 |
|
805 | VoiceConnectorId: NonEmptyString;
|
806 | }
|
807 | export interface GetVoiceConnectorResponse {
|
808 | |
809 |
|
810 |
|
811 | VoiceConnector?: VoiceConnector;
|
812 | }
|
813 | export interface GetVoiceConnectorTerminationHealthRequest {
|
814 | |
815 |
|
816 |
|
817 | VoiceConnectorId: NonEmptyString;
|
818 | }
|
819 | export interface GetVoiceConnectorTerminationHealthResponse {
|
820 | |
821 |
|
822 |
|
823 | TerminationHealth?: TerminationHealth;
|
824 | }
|
825 | export interface GetVoiceConnectorTerminationRequest {
|
826 | |
827 |
|
828 |
|
829 | VoiceConnectorId: NonEmptyString;
|
830 | }
|
831 | export interface GetVoiceConnectorTerminationResponse {
|
832 | |
833 |
|
834 |
|
835 | Termination?: Termination;
|
836 | }
|
837 | export type GuidString = string;
|
838 | export interface Invite {
|
839 | |
840 |
|
841 |
|
842 | InviteId?: String;
|
843 | |
844 |
|
845 |
|
846 | Status?: InviteStatus;
|
847 | |
848 |
|
849 |
|
850 | EmailAddress?: EmailAddress;
|
851 | |
852 |
|
853 |
|
854 | EmailStatus?: EmailStatus;
|
855 | }
|
856 | export type InviteList = Invite[];
|
857 | export type InviteStatus = "Pending"|"Accepted"|"Failed"|string;
|
858 | export interface InviteUsersRequest {
|
859 | |
860 |
|
861 |
|
862 | AccountId: NonEmptyString;
|
863 | |
864 |
|
865 |
|
866 | UserEmailList: UserEmailList;
|
867 | }
|
868 | export interface InviteUsersResponse {
|
869 | |
870 |
|
871 |
|
872 | Invites?: InviteList;
|
873 | }
|
874 | export type Iso8601Timestamp = Date;
|
875 | export type License = "Basic"|"Plus"|"Pro"|"ProTrial"|string;
|
876 | export type LicenseList = License[];
|
877 | export interface ListAccountsRequest {
|
878 | |
879 |
|
880 |
|
881 | Name?: AccountName;
|
882 | |
883 |
|
884 |
|
885 | UserEmail?: EmailAddress;
|
886 | |
887 |
|
888 |
|
889 | NextToken?: String;
|
890 | |
891 |
|
892 |
|
893 | MaxResults?: ProfileServiceMaxResults;
|
894 | }
|
895 | export interface ListAccountsResponse {
|
896 | |
897 |
|
898 |
|
899 | Accounts?: AccountList;
|
900 | |
901 |
|
902 |
|
903 | NextToken?: String;
|
904 | }
|
905 | export interface ListPhoneNumberOrdersRequest {
|
906 | |
907 |
|
908 |
|
909 | NextToken?: String;
|
910 | |
911 |
|
912 |
|
913 | MaxResults?: ResultMax;
|
914 | }
|
915 | export interface ListPhoneNumberOrdersResponse {
|
916 | |
917 |
|
918 |
|
919 | PhoneNumberOrders?: PhoneNumberOrderList;
|
920 | |
921 |
|
922 |
|
923 | NextToken?: String;
|
924 | }
|
925 | export interface ListPhoneNumbersRequest {
|
926 | |
927 |
|
928 |
|
929 | Status?: PhoneNumberStatus;
|
930 | |
931 |
|
932 |
|
933 | ProductType?: PhoneNumberProductType;
|
934 | |
935 |
|
936 |
|
937 | FilterName?: PhoneNumberAssociationName;
|
938 | |
939 |
|
940 |
|
941 | FilterValue?: String;
|
942 | |
943 |
|
944 |
|
945 | MaxResults?: ResultMax;
|
946 | |
947 |
|
948 |
|
949 | NextToken?: String;
|
950 | }
|
951 | export interface ListPhoneNumbersResponse {
|
952 | |
953 |
|
954 |
|
955 | PhoneNumbers?: PhoneNumberList;
|
956 | |
957 |
|
958 |
|
959 | NextToken?: String;
|
960 | }
|
961 | export interface ListUsersRequest {
|
962 | |
963 |
|
964 |
|
965 | AccountId: NonEmptyString;
|
966 | |
967 |
|
968 |
|
969 | UserEmail?: EmailAddress;
|
970 | |
971 |
|
972 |
|
973 | MaxResults?: ProfileServiceMaxResults;
|
974 | |
975 |
|
976 |
|
977 | NextToken?: String;
|
978 | }
|
979 | export interface ListUsersResponse {
|
980 | |
981 |
|
982 |
|
983 | Users?: UserList;
|
984 | |
985 |
|
986 |
|
987 | NextToken?: String;
|
988 | }
|
989 | export interface ListVoiceConnectorTerminationCredentialsRequest {
|
990 | |
991 |
|
992 |
|
993 | VoiceConnectorId: NonEmptyString;
|
994 | }
|
995 | export interface ListVoiceConnectorTerminationCredentialsResponse {
|
996 | |
997 |
|
998 |
|
999 | Usernames?: SensitiveStringList;
|
1000 | }
|
1001 | export interface ListVoiceConnectorsRequest {
|
1002 | |
1003 |
|
1004 |
|
1005 | NextToken?: String;
|
1006 | |
1007 |
|
1008 |
|
1009 | MaxResults?: ResultMax;
|
1010 | }
|
1011 | export interface ListVoiceConnectorsResponse {
|
1012 | |
1013 |
|
1014 |
|
1015 | VoiceConnectors?: VoiceConnectorList;
|
1016 | |
1017 |
|
1018 |
|
1019 | NextToken?: String;
|
1020 | }
|
1021 | export interface LogoutUserRequest {
|
1022 | |
1023 |
|
1024 |
|
1025 | AccountId: NonEmptyString;
|
1026 | |
1027 |
|
1028 |
|
1029 | UserId: NonEmptyString;
|
1030 | }
|
1031 | export interface LogoutUserResponse {
|
1032 | }
|
1033 | export type NonEmptyString = string;
|
1034 | export type NonEmptyStringList = String[];
|
1035 | export type NullableBoolean = boolean;
|
1036 | export interface OrderedPhoneNumber {
|
1037 | |
1038 |
|
1039 |
|
1040 | E164PhoneNumber?: E164PhoneNumber;
|
1041 | |
1042 |
|
1043 |
|
1044 | Status?: OrderedPhoneNumberStatus;
|
1045 | }
|
1046 | export type OrderedPhoneNumberList = OrderedPhoneNumber[];
|
1047 | export type OrderedPhoneNumberStatus = "Processing"|"Acquired"|"Failed"|string;
|
1048 | export interface Origination {
|
1049 | |
1050 |
|
1051 |
|
1052 | Routes?: OriginationRouteList;
|
1053 | |
1054 |
|
1055 |
|
1056 | Disabled?: Boolean;
|
1057 | }
|
1058 | export interface OriginationRoute {
|
1059 | |
1060 |
|
1061 |
|
1062 | Host?: String;
|
1063 | |
1064 |
|
1065 |
|
1066 | Port?: Port;
|
1067 | |
1068 |
|
1069 |
|
1070 | Protocol?: OriginationRouteProtocol;
|
1071 | |
1072 |
|
1073 |
|
1074 | Priority?: OriginationRoutePriority;
|
1075 | |
1076 |
|
1077 |
|
1078 | Weight?: OriginationRouteWeight;
|
1079 | }
|
1080 | export type OriginationRouteList = OriginationRoute[];
|
1081 | export type OriginationRoutePriority = number;
|
1082 | export type OriginationRouteProtocol = "TCP"|"UDP"|string;
|
1083 | export type OriginationRouteWeight = number;
|
1084 | export interface PhoneNumber {
|
1085 | |
1086 |
|
1087 |
|
1088 | PhoneNumberId?: String;
|
1089 | |
1090 |
|
1091 |
|
1092 | E164PhoneNumber?: E164PhoneNumber;
|
1093 | |
1094 |
|
1095 |
|
1096 | ProductType?: PhoneNumberProductType;
|
1097 | |
1098 |
|
1099 |
|
1100 | Status?: PhoneNumberStatus;
|
1101 | |
1102 |
|
1103 |
|
1104 | Capabilities?: PhoneNumberCapabilities;
|
1105 | |
1106 |
|
1107 |
|
1108 | Associations?: PhoneNumberAssociationList;
|
1109 | |
1110 |
|
1111 |
|
1112 | CreatedTimestamp?: Iso8601Timestamp;
|
1113 | |
1114 |
|
1115 |
|
1116 | UpdatedTimestamp?: Iso8601Timestamp;
|
1117 | |
1118 |
|
1119 |
|
1120 | DeletionTimestamp?: Iso8601Timestamp;
|
1121 | }
|
1122 | export interface PhoneNumberAssociation {
|
1123 | |
1124 |
|
1125 |
|
1126 | Value?: String;
|
1127 | |
1128 |
|
1129 |
|
1130 | Name?: PhoneNumberAssociationName;
|
1131 | |
1132 |
|
1133 |
|
1134 | AssociatedTimestamp?: Iso8601Timestamp;
|
1135 | }
|
1136 | export type PhoneNumberAssociationList = PhoneNumberAssociation[];
|
1137 | export type PhoneNumberAssociationName = "AccountId"|"UserId"|"VoiceConnectorId"|string;
|
1138 | export interface PhoneNumberCapabilities {
|
1139 | |
1140 |
|
1141 |
|
1142 | InboundCall?: NullableBoolean;
|
1143 | |
1144 |
|
1145 |
|
1146 | OutboundCall?: NullableBoolean;
|
1147 | |
1148 |
|
1149 |
|
1150 | InboundSMS?: NullableBoolean;
|
1151 | |
1152 |
|
1153 |
|
1154 | OutboundSMS?: NullableBoolean;
|
1155 | |
1156 |
|
1157 |
|
1158 | InboundMMS?: NullableBoolean;
|
1159 | |
1160 |
|
1161 |
|
1162 | OutboundMMS?: NullableBoolean;
|
1163 | }
|
1164 | export interface PhoneNumberError {
|
1165 | |
1166 |
|
1167 |
|
1168 | PhoneNumberId?: NonEmptyString;
|
1169 | |
1170 |
|
1171 |
|
1172 | ErrorCode?: ErrorCode;
|
1173 | |
1174 |
|
1175 |
|
1176 | ErrorMessage?: String;
|
1177 | }
|
1178 | export type PhoneNumberErrorList = PhoneNumberError[];
|
1179 | export type PhoneNumberList = PhoneNumber[];
|
1180 | export type PhoneNumberMaxResults = number;
|
1181 | export interface PhoneNumberOrder {
|
1182 | |
1183 |
|
1184 |
|
1185 | PhoneNumberOrderId?: GuidString;
|
1186 | |
1187 |
|
1188 |
|
1189 | ProductType?: PhoneNumberProductType;
|
1190 | |
1191 |
|
1192 |
|
1193 | Status?: PhoneNumberOrderStatus;
|
1194 | |
1195 |
|
1196 |
|
1197 | OrderedPhoneNumbers?: OrderedPhoneNumberList;
|
1198 | |
1199 |
|
1200 |
|
1201 | CreatedTimestamp?: Iso8601Timestamp;
|
1202 | |
1203 |
|
1204 |
|
1205 | UpdatedTimestamp?: Iso8601Timestamp;
|
1206 | }
|
1207 | export type PhoneNumberOrderList = PhoneNumberOrder[];
|
1208 | export type PhoneNumberOrderStatus = "Processing"|"Successful"|"Failed"|"Partial"|string;
|
1209 | export type PhoneNumberProductType = "BusinessCalling"|"VoiceConnector"|string;
|
1210 | export type PhoneNumberStatus = "AcquireInProgress"|"AcquireFailed"|"Unassigned"|"Assigned"|"ReleaseInProgress"|"DeleteInProgress"|"ReleaseFailed"|"DeleteFailed"|string;
|
1211 | export type Port = number;
|
1212 | export type ProfileServiceMaxResults = number;
|
1213 | export interface PutVoiceConnectorOriginationRequest {
|
1214 | |
1215 |
|
1216 |
|
1217 | VoiceConnectorId: NonEmptyString;
|
1218 | |
1219 |
|
1220 |
|
1221 | Origination: Origination;
|
1222 | }
|
1223 | export interface PutVoiceConnectorOriginationResponse {
|
1224 | |
1225 |
|
1226 |
|
1227 | Origination?: Origination;
|
1228 | }
|
1229 | export interface PutVoiceConnectorTerminationCredentialsRequest {
|
1230 | |
1231 |
|
1232 |
|
1233 | VoiceConnectorId: NonEmptyString;
|
1234 | |
1235 |
|
1236 |
|
1237 | Credentials?: CredentialList;
|
1238 | }
|
1239 | export interface PutVoiceConnectorTerminationRequest {
|
1240 | |
1241 |
|
1242 |
|
1243 | VoiceConnectorId: NonEmptyString;
|
1244 | |
1245 |
|
1246 |
|
1247 | Termination: Termination;
|
1248 | }
|
1249 | export interface PutVoiceConnectorTerminationResponse {
|
1250 | |
1251 |
|
1252 |
|
1253 | Termination?: Termination;
|
1254 | }
|
1255 | export type RegistrationStatus = "Unregistered"|"Registered"|"Suspended"|string;
|
1256 | export interface ResetPersonalPINRequest {
|
1257 | |
1258 |
|
1259 |
|
1260 | AccountId: NonEmptyString;
|
1261 | |
1262 |
|
1263 |
|
1264 | UserId: NonEmptyString;
|
1265 | }
|
1266 | export interface ResetPersonalPINResponse {
|
1267 | |
1268 |
|
1269 |
|
1270 | User?: User;
|
1271 | }
|
1272 | export interface RestorePhoneNumberRequest {
|
1273 | |
1274 |
|
1275 |
|
1276 | PhoneNumberId: NonEmptyString;
|
1277 | }
|
1278 | export interface RestorePhoneNumberResponse {
|
1279 | |
1280 |
|
1281 |
|
1282 | PhoneNumber?: PhoneNumber;
|
1283 | }
|
1284 | export type ResultMax = number;
|
1285 | export interface SearchAvailablePhoneNumbersRequest {
|
1286 | |
1287 |
|
1288 |
|
1289 | AreaCode?: String;
|
1290 | |
1291 |
|
1292 |
|
1293 | City?: String;
|
1294 | |
1295 |
|
1296 |
|
1297 | Country?: String;
|
1298 | |
1299 |
|
1300 |
|
1301 | State?: String;
|
1302 | |
1303 |
|
1304 |
|
1305 | MaxResults?: PhoneNumberMaxResults;
|
1306 | |
1307 |
|
1308 |
|
1309 | NextToken?: String;
|
1310 | }
|
1311 | export interface SearchAvailablePhoneNumbersResponse {
|
1312 | |
1313 |
|
1314 |
|
1315 | E164PhoneNumbers?: E164PhoneNumberList;
|
1316 | }
|
1317 | export type SensitiveString = string;
|
1318 | export type SensitiveStringList = SensitiveString[];
|
1319 | export type String = string;
|
1320 | export type StringList = String[];
|
1321 | export interface TelephonySettings {
|
1322 | |
1323 |
|
1324 |
|
1325 | InboundCalling: Boolean;
|
1326 | |
1327 |
|
1328 |
|
1329 | OutboundCalling: Boolean;
|
1330 | |
1331 |
|
1332 |
|
1333 | SMS: Boolean;
|
1334 | }
|
1335 | export interface Termination {
|
1336 | |
1337 |
|
1338 |
|
1339 | CpsLimit?: CpsLimit;
|
1340 | |
1341 |
|
1342 |
|
1343 | DefaultPhoneNumber?: E164PhoneNumber;
|
1344 | |
1345 |
|
1346 |
|
1347 | CallingRegions?: CallingRegionList;
|
1348 | |
1349 |
|
1350 |
|
1351 | CidrAllowedList?: StringList;
|
1352 | |
1353 |
|
1354 |
|
1355 | Disabled?: Boolean;
|
1356 | }
|
1357 | export interface TerminationHealth {
|
1358 | |
1359 |
|
1360 |
|
1361 | Timestamp?: Iso8601Timestamp;
|
1362 | |
1363 |
|
1364 |
|
1365 | Source?: String;
|
1366 | }
|
1367 | export interface UpdateAccountRequest {
|
1368 | |
1369 |
|
1370 |
|
1371 | AccountId: NonEmptyString;
|
1372 | |
1373 |
|
1374 |
|
1375 | Name?: AccountName;
|
1376 | }
|
1377 | export interface UpdateAccountResponse {
|
1378 | |
1379 |
|
1380 |
|
1381 | Account?: Account;
|
1382 | }
|
1383 | export interface UpdateAccountSettingsRequest {
|
1384 | |
1385 |
|
1386 |
|
1387 | AccountId: NonEmptyString;
|
1388 | |
1389 |
|
1390 |
|
1391 | AccountSettings: AccountSettings;
|
1392 | }
|
1393 | export interface UpdateAccountSettingsResponse {
|
1394 | }
|
1395 | export interface UpdateGlobalSettingsRequest {
|
1396 | |
1397 |
|
1398 |
|
1399 | BusinessCalling: BusinessCallingSettings;
|
1400 | |
1401 |
|
1402 |
|
1403 | VoiceConnector: VoiceConnectorSettings;
|
1404 | }
|
1405 | export interface UpdatePhoneNumberRequest {
|
1406 | |
1407 |
|
1408 |
|
1409 | PhoneNumberId: String;
|
1410 | |
1411 |
|
1412 |
|
1413 | ProductType?: PhoneNumberProductType;
|
1414 | }
|
1415 | export interface UpdatePhoneNumberRequestItem {
|
1416 | |
1417 |
|
1418 |
|
1419 | PhoneNumberId: NonEmptyString;
|
1420 | |
1421 |
|
1422 |
|
1423 | ProductType?: PhoneNumberProductType;
|
1424 | }
|
1425 | export type UpdatePhoneNumberRequestItemList = UpdatePhoneNumberRequestItem[];
|
1426 | export interface UpdatePhoneNumberResponse {
|
1427 | |
1428 |
|
1429 |
|
1430 | PhoneNumber?: PhoneNumber;
|
1431 | }
|
1432 | export interface UpdateUserRequest {
|
1433 | |
1434 |
|
1435 |
|
1436 | AccountId: NonEmptyString;
|
1437 | |
1438 |
|
1439 |
|
1440 | UserId: NonEmptyString;
|
1441 | |
1442 |
|
1443 |
|
1444 | LicenseType?: License;
|
1445 | }
|
1446 | export interface UpdateUserRequestItem {
|
1447 | |
1448 |
|
1449 |
|
1450 | UserId: NonEmptyString;
|
1451 | |
1452 |
|
1453 |
|
1454 | LicenseType?: License;
|
1455 | }
|
1456 | export type UpdateUserRequestItemList = UpdateUserRequestItem[];
|
1457 | export interface UpdateUserResponse {
|
1458 | |
1459 |
|
1460 |
|
1461 | User?: User;
|
1462 | }
|
1463 | export interface UpdateUserSettingsRequest {
|
1464 | |
1465 |
|
1466 |
|
1467 | AccountId: String;
|
1468 | |
1469 |
|
1470 |
|
1471 | UserId: String;
|
1472 | |
1473 |
|
1474 |
|
1475 | UserSettings: UserSettings;
|
1476 | }
|
1477 | export interface UpdateVoiceConnectorRequest {
|
1478 | |
1479 |
|
1480 |
|
1481 | VoiceConnectorId: NonEmptyString;
|
1482 | |
1483 |
|
1484 |
|
1485 | Name: VoiceConnectorName;
|
1486 | |
1487 |
|
1488 |
|
1489 | RequireEncryption: Boolean;
|
1490 | }
|
1491 | export interface UpdateVoiceConnectorResponse {
|
1492 | |
1493 |
|
1494 |
|
1495 | VoiceConnector?: VoiceConnector;
|
1496 | }
|
1497 | export interface User {
|
1498 | |
1499 |
|
1500 |
|
1501 | UserId: String;
|
1502 | |
1503 |
|
1504 |
|
1505 | AccountId?: String;
|
1506 | |
1507 |
|
1508 |
|
1509 | PrimaryEmail?: EmailAddress;
|
1510 | |
1511 |
|
1512 |
|
1513 | PrimaryProvisionedNumber?: SensitiveString;
|
1514 | |
1515 |
|
1516 |
|
1517 | DisplayName?: SensitiveString;
|
1518 | |
1519 |
|
1520 |
|
1521 | LicenseType?: License;
|
1522 | |
1523 |
|
1524 |
|
1525 | UserRegistrationStatus?: RegistrationStatus;
|
1526 | |
1527 |
|
1528 |
|
1529 | UserInvitationStatus?: InviteStatus;
|
1530 | |
1531 |
|
1532 |
|
1533 | RegisteredOn?: Iso8601Timestamp;
|
1534 | |
1535 |
|
1536 |
|
1537 | InvitedOn?: Iso8601Timestamp;
|
1538 | |
1539 |
|
1540 |
|
1541 | PersonalPIN?: String;
|
1542 | }
|
1543 | export type UserEmailList = EmailAddress[];
|
1544 | export interface UserError {
|
1545 | |
1546 |
|
1547 |
|
1548 | UserId?: NonEmptyString;
|
1549 | |
1550 |
|
1551 |
|
1552 | ErrorCode?: ErrorCode;
|
1553 | |
1554 |
|
1555 |
|
1556 | ErrorMessage?: String;
|
1557 | }
|
1558 | export type UserErrorList = UserError[];
|
1559 | export type UserIdList = NonEmptyString[];
|
1560 | export type UserList = User[];
|
1561 | export interface UserSettings {
|
1562 | |
1563 |
|
1564 |
|
1565 | Telephony: TelephonySettings;
|
1566 | }
|
1567 | export interface VoiceConnector {
|
1568 | |
1569 |
|
1570 |
|
1571 | VoiceConnectorId?: NonEmptyString;
|
1572 | |
1573 |
|
1574 |
|
1575 | Name?: VoiceConnectorName;
|
1576 | |
1577 |
|
1578 |
|
1579 | OutboundHostName?: String;
|
1580 | |
1581 |
|
1582 |
|
1583 | RequireEncryption?: Boolean;
|
1584 | |
1585 |
|
1586 |
|
1587 | CreatedTimestamp?: Iso8601Timestamp;
|
1588 | |
1589 |
|
1590 |
|
1591 | UpdatedTimestamp?: Iso8601Timestamp;
|
1592 | }
|
1593 | export type VoiceConnectorList = VoiceConnector[];
|
1594 | export type VoiceConnectorName = string;
|
1595 | export interface VoiceConnectorSettings {
|
1596 | |
1597 |
|
1598 |
|
1599 | CdrBucket?: String;
|
1600 | }
|
1601 | |
1602 |
|
1603 |
|
1604 | export type apiVersion = "2018-05-01"|"latest"|string;
|
1605 | export interface ClientApiVersions {
|
1606 | |
1607 |
|
1608 |
|
1609 | apiVersion?: apiVersion;
|
1610 | }
|
1611 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1612 | |
1613 |
|
1614 |
|
1615 | export import Types = Chime;
|
1616 | }
|
1617 | export = Chime;
|