@aws-sdk/client-workmail 3.315.0 → 3.319.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/WorkMail.js +84 -1120
- package/dist-cjs/protocols/Aws_json1_1.js +8 -8
- package/dist-es/WorkMail.js +84 -1120
- package/dist-es/protocols/Aws_json1_1.js +8 -8
- package/dist-types/WorkMail.d.ts +122 -273
- package/dist-types/ts3.4/WorkMail.d.ts +2 -1
- package/package.json +8 -8
package/dist-cjs/WorkMail.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WorkMail = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AssociateDelegateToResourceCommand_1 = require("./commands/AssociateDelegateToResourceCommand");
|
|
5
6
|
const AssociateMemberToGroupCommand_1 = require("./commands/AssociateMemberToGroupCommand");
|
|
6
7
|
const AssumeImpersonationRoleCommand_1 = require("./commands/AssumeImpersonationRoleCommand");
|
|
@@ -82,1126 +83,89 @@ const UpdateMobileDeviceAccessRuleCommand_1 = require("./commands/UpdateMobileDe
|
|
|
82
83
|
const UpdatePrimaryEmailAddressCommand_1 = require("./commands/UpdatePrimaryEmailAddressCommand");
|
|
83
84
|
const UpdateResourceCommand_1 = require("./commands/UpdateResourceCommand");
|
|
84
85
|
const WorkMailClient_1 = require("./WorkMailClient");
|
|
86
|
+
const commands = {
|
|
87
|
+
AssociateDelegateToResourceCommand: AssociateDelegateToResourceCommand_1.AssociateDelegateToResourceCommand,
|
|
88
|
+
AssociateMemberToGroupCommand: AssociateMemberToGroupCommand_1.AssociateMemberToGroupCommand,
|
|
89
|
+
AssumeImpersonationRoleCommand: AssumeImpersonationRoleCommand_1.AssumeImpersonationRoleCommand,
|
|
90
|
+
CancelMailboxExportJobCommand: CancelMailboxExportJobCommand_1.CancelMailboxExportJobCommand,
|
|
91
|
+
CreateAliasCommand: CreateAliasCommand_1.CreateAliasCommand,
|
|
92
|
+
CreateAvailabilityConfigurationCommand: CreateAvailabilityConfigurationCommand_1.CreateAvailabilityConfigurationCommand,
|
|
93
|
+
CreateGroupCommand: CreateGroupCommand_1.CreateGroupCommand,
|
|
94
|
+
CreateImpersonationRoleCommand: CreateImpersonationRoleCommand_1.CreateImpersonationRoleCommand,
|
|
95
|
+
CreateMobileDeviceAccessRuleCommand: CreateMobileDeviceAccessRuleCommand_1.CreateMobileDeviceAccessRuleCommand,
|
|
96
|
+
CreateOrganizationCommand: CreateOrganizationCommand_1.CreateOrganizationCommand,
|
|
97
|
+
CreateResourceCommand: CreateResourceCommand_1.CreateResourceCommand,
|
|
98
|
+
CreateUserCommand: CreateUserCommand_1.CreateUserCommand,
|
|
99
|
+
DeleteAccessControlRuleCommand: DeleteAccessControlRuleCommand_1.DeleteAccessControlRuleCommand,
|
|
100
|
+
DeleteAliasCommand: DeleteAliasCommand_1.DeleteAliasCommand,
|
|
101
|
+
DeleteAvailabilityConfigurationCommand: DeleteAvailabilityConfigurationCommand_1.DeleteAvailabilityConfigurationCommand,
|
|
102
|
+
DeleteEmailMonitoringConfigurationCommand: DeleteEmailMonitoringConfigurationCommand_1.DeleteEmailMonitoringConfigurationCommand,
|
|
103
|
+
DeleteGroupCommand: DeleteGroupCommand_1.DeleteGroupCommand,
|
|
104
|
+
DeleteImpersonationRoleCommand: DeleteImpersonationRoleCommand_1.DeleteImpersonationRoleCommand,
|
|
105
|
+
DeleteMailboxPermissionsCommand: DeleteMailboxPermissionsCommand_1.DeleteMailboxPermissionsCommand,
|
|
106
|
+
DeleteMobileDeviceAccessOverrideCommand: DeleteMobileDeviceAccessOverrideCommand_1.DeleteMobileDeviceAccessOverrideCommand,
|
|
107
|
+
DeleteMobileDeviceAccessRuleCommand: DeleteMobileDeviceAccessRuleCommand_1.DeleteMobileDeviceAccessRuleCommand,
|
|
108
|
+
DeleteOrganizationCommand: DeleteOrganizationCommand_1.DeleteOrganizationCommand,
|
|
109
|
+
DeleteResourceCommand: DeleteResourceCommand_1.DeleteResourceCommand,
|
|
110
|
+
DeleteRetentionPolicyCommand: DeleteRetentionPolicyCommand_1.DeleteRetentionPolicyCommand,
|
|
111
|
+
DeleteUserCommand: DeleteUserCommand_1.DeleteUserCommand,
|
|
112
|
+
DeregisterFromWorkMailCommand: DeregisterFromWorkMailCommand_1.DeregisterFromWorkMailCommand,
|
|
113
|
+
DeregisterMailDomainCommand: DeregisterMailDomainCommand_1.DeregisterMailDomainCommand,
|
|
114
|
+
DescribeEmailMonitoringConfigurationCommand: DescribeEmailMonitoringConfigurationCommand_1.DescribeEmailMonitoringConfigurationCommand,
|
|
115
|
+
DescribeGroupCommand: DescribeGroupCommand_1.DescribeGroupCommand,
|
|
116
|
+
DescribeInboundDmarcSettingsCommand: DescribeInboundDmarcSettingsCommand_1.DescribeInboundDmarcSettingsCommand,
|
|
117
|
+
DescribeMailboxExportJobCommand: DescribeMailboxExportJobCommand_1.DescribeMailboxExportJobCommand,
|
|
118
|
+
DescribeOrganizationCommand: DescribeOrganizationCommand_1.DescribeOrganizationCommand,
|
|
119
|
+
DescribeResourceCommand: DescribeResourceCommand_1.DescribeResourceCommand,
|
|
120
|
+
DescribeUserCommand: DescribeUserCommand_1.DescribeUserCommand,
|
|
121
|
+
DisassociateDelegateFromResourceCommand: DisassociateDelegateFromResourceCommand_1.DisassociateDelegateFromResourceCommand,
|
|
122
|
+
DisassociateMemberFromGroupCommand: DisassociateMemberFromGroupCommand_1.DisassociateMemberFromGroupCommand,
|
|
123
|
+
GetAccessControlEffectCommand: GetAccessControlEffectCommand_1.GetAccessControlEffectCommand,
|
|
124
|
+
GetDefaultRetentionPolicyCommand: GetDefaultRetentionPolicyCommand_1.GetDefaultRetentionPolicyCommand,
|
|
125
|
+
GetImpersonationRoleCommand: GetImpersonationRoleCommand_1.GetImpersonationRoleCommand,
|
|
126
|
+
GetImpersonationRoleEffectCommand: GetImpersonationRoleEffectCommand_1.GetImpersonationRoleEffectCommand,
|
|
127
|
+
GetMailboxDetailsCommand: GetMailboxDetailsCommand_1.GetMailboxDetailsCommand,
|
|
128
|
+
GetMailDomainCommand: GetMailDomainCommand_1.GetMailDomainCommand,
|
|
129
|
+
GetMobileDeviceAccessEffectCommand: GetMobileDeviceAccessEffectCommand_1.GetMobileDeviceAccessEffectCommand,
|
|
130
|
+
GetMobileDeviceAccessOverrideCommand: GetMobileDeviceAccessOverrideCommand_1.GetMobileDeviceAccessOverrideCommand,
|
|
131
|
+
ListAccessControlRulesCommand: ListAccessControlRulesCommand_1.ListAccessControlRulesCommand,
|
|
132
|
+
ListAliasesCommand: ListAliasesCommand_1.ListAliasesCommand,
|
|
133
|
+
ListAvailabilityConfigurationsCommand: ListAvailabilityConfigurationsCommand_1.ListAvailabilityConfigurationsCommand,
|
|
134
|
+
ListGroupMembersCommand: ListGroupMembersCommand_1.ListGroupMembersCommand,
|
|
135
|
+
ListGroupsCommand: ListGroupsCommand_1.ListGroupsCommand,
|
|
136
|
+
ListImpersonationRolesCommand: ListImpersonationRolesCommand_1.ListImpersonationRolesCommand,
|
|
137
|
+
ListMailboxExportJobsCommand: ListMailboxExportJobsCommand_1.ListMailboxExportJobsCommand,
|
|
138
|
+
ListMailboxPermissionsCommand: ListMailboxPermissionsCommand_1.ListMailboxPermissionsCommand,
|
|
139
|
+
ListMailDomainsCommand: ListMailDomainsCommand_1.ListMailDomainsCommand,
|
|
140
|
+
ListMobileDeviceAccessOverridesCommand: ListMobileDeviceAccessOverridesCommand_1.ListMobileDeviceAccessOverridesCommand,
|
|
141
|
+
ListMobileDeviceAccessRulesCommand: ListMobileDeviceAccessRulesCommand_1.ListMobileDeviceAccessRulesCommand,
|
|
142
|
+
ListOrganizationsCommand: ListOrganizationsCommand_1.ListOrganizationsCommand,
|
|
143
|
+
ListResourceDelegatesCommand: ListResourceDelegatesCommand_1.ListResourceDelegatesCommand,
|
|
144
|
+
ListResourcesCommand: ListResourcesCommand_1.ListResourcesCommand,
|
|
145
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
146
|
+
ListUsersCommand: ListUsersCommand_1.ListUsersCommand,
|
|
147
|
+
PutAccessControlRuleCommand: PutAccessControlRuleCommand_1.PutAccessControlRuleCommand,
|
|
148
|
+
PutEmailMonitoringConfigurationCommand: PutEmailMonitoringConfigurationCommand_1.PutEmailMonitoringConfigurationCommand,
|
|
149
|
+
PutInboundDmarcSettingsCommand: PutInboundDmarcSettingsCommand_1.PutInboundDmarcSettingsCommand,
|
|
150
|
+
PutMailboxPermissionsCommand: PutMailboxPermissionsCommand_1.PutMailboxPermissionsCommand,
|
|
151
|
+
PutMobileDeviceAccessOverrideCommand: PutMobileDeviceAccessOverrideCommand_1.PutMobileDeviceAccessOverrideCommand,
|
|
152
|
+
PutRetentionPolicyCommand: PutRetentionPolicyCommand_1.PutRetentionPolicyCommand,
|
|
153
|
+
RegisterMailDomainCommand: RegisterMailDomainCommand_1.RegisterMailDomainCommand,
|
|
154
|
+
RegisterToWorkMailCommand: RegisterToWorkMailCommand_1.RegisterToWorkMailCommand,
|
|
155
|
+
ResetPasswordCommand: ResetPasswordCommand_1.ResetPasswordCommand,
|
|
156
|
+
StartMailboxExportJobCommand: StartMailboxExportJobCommand_1.StartMailboxExportJobCommand,
|
|
157
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
158
|
+
TestAvailabilityConfigurationCommand: TestAvailabilityConfigurationCommand_1.TestAvailabilityConfigurationCommand,
|
|
159
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
160
|
+
UpdateAvailabilityConfigurationCommand: UpdateAvailabilityConfigurationCommand_1.UpdateAvailabilityConfigurationCommand,
|
|
161
|
+
UpdateDefaultMailDomainCommand: UpdateDefaultMailDomainCommand_1.UpdateDefaultMailDomainCommand,
|
|
162
|
+
UpdateImpersonationRoleCommand: UpdateImpersonationRoleCommand_1.UpdateImpersonationRoleCommand,
|
|
163
|
+
UpdateMailboxQuotaCommand: UpdateMailboxQuotaCommand_1.UpdateMailboxQuotaCommand,
|
|
164
|
+
UpdateMobileDeviceAccessRuleCommand: UpdateMobileDeviceAccessRuleCommand_1.UpdateMobileDeviceAccessRuleCommand,
|
|
165
|
+
UpdatePrimaryEmailAddressCommand: UpdatePrimaryEmailAddressCommand_1.UpdatePrimaryEmailAddressCommand,
|
|
166
|
+
UpdateResourceCommand: UpdateResourceCommand_1.UpdateResourceCommand,
|
|
167
|
+
};
|
|
85
168
|
class WorkMail extends WorkMailClient_1.WorkMailClient {
|
|
86
|
-
associateDelegateToResource(args, optionsOrCb, cb) {
|
|
87
|
-
const command = new AssociateDelegateToResourceCommand_1.AssociateDelegateToResourceCommand(args);
|
|
88
|
-
if (typeof optionsOrCb === "function") {
|
|
89
|
-
this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
else if (typeof cb === "function") {
|
|
92
|
-
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
associateMemberToGroup(args, optionsOrCb, cb) {
|
|
101
|
-
const command = new AssociateMemberToGroupCommand_1.AssociateMemberToGroupCommand(args);
|
|
102
|
-
if (typeof optionsOrCb === "function") {
|
|
103
|
-
this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
else if (typeof cb === "function") {
|
|
106
|
-
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
assumeImpersonationRole(args, optionsOrCb, cb) {
|
|
115
|
-
const command = new AssumeImpersonationRoleCommand_1.AssumeImpersonationRoleCommand(args);
|
|
116
|
-
if (typeof optionsOrCb === "function") {
|
|
117
|
-
this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
else if (typeof cb === "function") {
|
|
120
|
-
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
return this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
cancelMailboxExportJob(args, optionsOrCb, cb) {
|
|
129
|
-
const command = new CancelMailboxExportJobCommand_1.CancelMailboxExportJobCommand(args);
|
|
130
|
-
if (typeof optionsOrCb === "function") {
|
|
131
|
-
this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
else if (typeof cb === "function") {
|
|
134
|
-
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
return this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
createAlias(args, optionsOrCb, cb) {
|
|
143
|
-
const command = new CreateAliasCommand_1.CreateAliasCommand(args);
|
|
144
|
-
if (typeof optionsOrCb === "function") {
|
|
145
|
-
this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
else if (typeof cb === "function") {
|
|
148
|
-
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
createAvailabilityConfiguration(args, optionsOrCb, cb) {
|
|
157
|
-
const command = new CreateAvailabilityConfigurationCommand_1.CreateAvailabilityConfigurationCommand(args);
|
|
158
|
-
if (typeof optionsOrCb === "function") {
|
|
159
|
-
this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
else if (typeof cb === "function") {
|
|
162
|
-
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
164
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
return this.send(command, optionsOrCb);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
createGroup(args, optionsOrCb, cb) {
|
|
171
|
-
const command = new CreateGroupCommand_1.CreateGroupCommand(args);
|
|
172
|
-
if (typeof optionsOrCb === "function") {
|
|
173
|
-
this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
else if (typeof cb === "function") {
|
|
176
|
-
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
return this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
createImpersonationRole(args, optionsOrCb, cb) {
|
|
185
|
-
const command = new CreateImpersonationRoleCommand_1.CreateImpersonationRoleCommand(args);
|
|
186
|
-
if (typeof optionsOrCb === "function") {
|
|
187
|
-
this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
else if (typeof cb === "function") {
|
|
190
|
-
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
return this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
createMobileDeviceAccessRule(args, optionsOrCb, cb) {
|
|
199
|
-
const command = new CreateMobileDeviceAccessRuleCommand_1.CreateMobileDeviceAccessRuleCommand(args);
|
|
200
|
-
if (typeof optionsOrCb === "function") {
|
|
201
|
-
this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
else if (typeof cb === "function") {
|
|
204
|
-
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
206
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
return this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
createOrganization(args, optionsOrCb, cb) {
|
|
213
|
-
const command = new CreateOrganizationCommand_1.CreateOrganizationCommand(args);
|
|
214
|
-
if (typeof optionsOrCb === "function") {
|
|
215
|
-
this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
else if (typeof cb === "function") {
|
|
218
|
-
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
-
}
|
|
222
|
-
else {
|
|
223
|
-
return this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
createResource(args, optionsOrCb, cb) {
|
|
227
|
-
const command = new CreateResourceCommand_1.CreateResourceCommand(args);
|
|
228
|
-
if (typeof optionsOrCb === "function") {
|
|
229
|
-
this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
else if (typeof cb === "function") {
|
|
232
|
-
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
234
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
return this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
createUser(args, optionsOrCb, cb) {
|
|
241
|
-
const command = new CreateUserCommand_1.CreateUserCommand(args);
|
|
242
|
-
if (typeof optionsOrCb === "function") {
|
|
243
|
-
this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
else if (typeof cb === "function") {
|
|
246
|
-
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
return this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
deleteAccessControlRule(args, optionsOrCb, cb) {
|
|
255
|
-
const command = new DeleteAccessControlRuleCommand_1.DeleteAccessControlRuleCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
else if (typeof cb === "function") {
|
|
260
|
-
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
262
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
return this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
deleteAlias(args, optionsOrCb, cb) {
|
|
269
|
-
const command = new DeleteAliasCommand_1.DeleteAliasCommand(args);
|
|
270
|
-
if (typeof optionsOrCb === "function") {
|
|
271
|
-
this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
else if (typeof cb === "function") {
|
|
274
|
-
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
276
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
277
|
-
}
|
|
278
|
-
else {
|
|
279
|
-
return this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
deleteAvailabilityConfiguration(args, optionsOrCb, cb) {
|
|
283
|
-
const command = new DeleteAvailabilityConfigurationCommand_1.DeleteAvailabilityConfigurationCommand(args);
|
|
284
|
-
if (typeof optionsOrCb === "function") {
|
|
285
|
-
this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
else if (typeof cb === "function") {
|
|
288
|
-
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
290
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
291
|
-
}
|
|
292
|
-
else {
|
|
293
|
-
return this.send(command, optionsOrCb);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
deleteEmailMonitoringConfiguration(args, optionsOrCb, cb) {
|
|
297
|
-
const command = new DeleteEmailMonitoringConfigurationCommand_1.DeleteEmailMonitoringConfigurationCommand(args);
|
|
298
|
-
if (typeof optionsOrCb === "function") {
|
|
299
|
-
this.send(command, optionsOrCb);
|
|
300
|
-
}
|
|
301
|
-
else if (typeof cb === "function") {
|
|
302
|
-
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
305
|
-
}
|
|
306
|
-
else {
|
|
307
|
-
return this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
deleteGroup(args, optionsOrCb, cb) {
|
|
311
|
-
const command = new DeleteGroupCommand_1.DeleteGroupCommand(args);
|
|
312
|
-
if (typeof optionsOrCb === "function") {
|
|
313
|
-
this.send(command, optionsOrCb);
|
|
314
|
-
}
|
|
315
|
-
else if (typeof cb === "function") {
|
|
316
|
-
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
-
}
|
|
320
|
-
else {
|
|
321
|
-
return this.send(command, optionsOrCb);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
deleteImpersonationRole(args, optionsOrCb, cb) {
|
|
325
|
-
const command = new DeleteImpersonationRoleCommand_1.DeleteImpersonationRoleCommand(args);
|
|
326
|
-
if (typeof optionsOrCb === "function") {
|
|
327
|
-
this.send(command, optionsOrCb);
|
|
328
|
-
}
|
|
329
|
-
else if (typeof cb === "function") {
|
|
330
|
-
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
333
|
-
}
|
|
334
|
-
else {
|
|
335
|
-
return this.send(command, optionsOrCb);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
deleteMailboxPermissions(args, optionsOrCb, cb) {
|
|
339
|
-
const command = new DeleteMailboxPermissionsCommand_1.DeleteMailboxPermissionsCommand(args);
|
|
340
|
-
if (typeof optionsOrCb === "function") {
|
|
341
|
-
this.send(command, optionsOrCb);
|
|
342
|
-
}
|
|
343
|
-
else if (typeof cb === "function") {
|
|
344
|
-
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
346
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
347
|
-
}
|
|
348
|
-
else {
|
|
349
|
-
return this.send(command, optionsOrCb);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
deleteMobileDeviceAccessOverride(args, optionsOrCb, cb) {
|
|
353
|
-
const command = new DeleteMobileDeviceAccessOverrideCommand_1.DeleteMobileDeviceAccessOverrideCommand(args);
|
|
354
|
-
if (typeof optionsOrCb === "function") {
|
|
355
|
-
this.send(command, optionsOrCb);
|
|
356
|
-
}
|
|
357
|
-
else if (typeof cb === "function") {
|
|
358
|
-
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
360
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
361
|
-
}
|
|
362
|
-
else {
|
|
363
|
-
return this.send(command, optionsOrCb);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
deleteMobileDeviceAccessRule(args, optionsOrCb, cb) {
|
|
367
|
-
const command = new DeleteMobileDeviceAccessRuleCommand_1.DeleteMobileDeviceAccessRuleCommand(args);
|
|
368
|
-
if (typeof optionsOrCb === "function") {
|
|
369
|
-
this.send(command, optionsOrCb);
|
|
370
|
-
}
|
|
371
|
-
else if (typeof cb === "function") {
|
|
372
|
-
if (typeof optionsOrCb !== "object")
|
|
373
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
374
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
375
|
-
}
|
|
376
|
-
else {
|
|
377
|
-
return this.send(command, optionsOrCb);
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
deleteOrganization(args, optionsOrCb, cb) {
|
|
381
|
-
const command = new DeleteOrganizationCommand_1.DeleteOrganizationCommand(args);
|
|
382
|
-
if (typeof optionsOrCb === "function") {
|
|
383
|
-
this.send(command, optionsOrCb);
|
|
384
|
-
}
|
|
385
|
-
else if (typeof cb === "function") {
|
|
386
|
-
if (typeof optionsOrCb !== "object")
|
|
387
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
388
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
389
|
-
}
|
|
390
|
-
else {
|
|
391
|
-
return this.send(command, optionsOrCb);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
deleteResource(args, optionsOrCb, cb) {
|
|
395
|
-
const command = new DeleteResourceCommand_1.DeleteResourceCommand(args);
|
|
396
|
-
if (typeof optionsOrCb === "function") {
|
|
397
|
-
this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
else if (typeof cb === "function") {
|
|
400
|
-
if (typeof optionsOrCb !== "object")
|
|
401
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
402
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
403
|
-
}
|
|
404
|
-
else {
|
|
405
|
-
return this.send(command, optionsOrCb);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
deleteRetentionPolicy(args, optionsOrCb, cb) {
|
|
409
|
-
const command = new DeleteRetentionPolicyCommand_1.DeleteRetentionPolicyCommand(args);
|
|
410
|
-
if (typeof optionsOrCb === "function") {
|
|
411
|
-
this.send(command, optionsOrCb);
|
|
412
|
-
}
|
|
413
|
-
else if (typeof cb === "function") {
|
|
414
|
-
if (typeof optionsOrCb !== "object")
|
|
415
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
416
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
417
|
-
}
|
|
418
|
-
else {
|
|
419
|
-
return this.send(command, optionsOrCb);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
deleteUser(args, optionsOrCb, cb) {
|
|
423
|
-
const command = new DeleteUserCommand_1.DeleteUserCommand(args);
|
|
424
|
-
if (typeof optionsOrCb === "function") {
|
|
425
|
-
this.send(command, optionsOrCb);
|
|
426
|
-
}
|
|
427
|
-
else if (typeof cb === "function") {
|
|
428
|
-
if (typeof optionsOrCb !== "object")
|
|
429
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
430
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
431
|
-
}
|
|
432
|
-
else {
|
|
433
|
-
return this.send(command, optionsOrCb);
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
deregisterFromWorkMail(args, optionsOrCb, cb) {
|
|
437
|
-
const command = new DeregisterFromWorkMailCommand_1.DeregisterFromWorkMailCommand(args);
|
|
438
|
-
if (typeof optionsOrCb === "function") {
|
|
439
|
-
this.send(command, optionsOrCb);
|
|
440
|
-
}
|
|
441
|
-
else if (typeof cb === "function") {
|
|
442
|
-
if (typeof optionsOrCb !== "object")
|
|
443
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
-
}
|
|
446
|
-
else {
|
|
447
|
-
return this.send(command, optionsOrCb);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
deregisterMailDomain(args, optionsOrCb, cb) {
|
|
451
|
-
const command = new DeregisterMailDomainCommand_1.DeregisterMailDomainCommand(args);
|
|
452
|
-
if (typeof optionsOrCb === "function") {
|
|
453
|
-
this.send(command, optionsOrCb);
|
|
454
|
-
}
|
|
455
|
-
else if (typeof cb === "function") {
|
|
456
|
-
if (typeof optionsOrCb !== "object")
|
|
457
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
458
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
459
|
-
}
|
|
460
|
-
else {
|
|
461
|
-
return this.send(command, optionsOrCb);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
describeEmailMonitoringConfiguration(args, optionsOrCb, cb) {
|
|
465
|
-
const command = new DescribeEmailMonitoringConfigurationCommand_1.DescribeEmailMonitoringConfigurationCommand(args);
|
|
466
|
-
if (typeof optionsOrCb === "function") {
|
|
467
|
-
this.send(command, optionsOrCb);
|
|
468
|
-
}
|
|
469
|
-
else if (typeof cb === "function") {
|
|
470
|
-
if (typeof optionsOrCb !== "object")
|
|
471
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
472
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
473
|
-
}
|
|
474
|
-
else {
|
|
475
|
-
return this.send(command, optionsOrCb);
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
describeGroup(args, optionsOrCb, cb) {
|
|
479
|
-
const command = new DescribeGroupCommand_1.DescribeGroupCommand(args);
|
|
480
|
-
if (typeof optionsOrCb === "function") {
|
|
481
|
-
this.send(command, optionsOrCb);
|
|
482
|
-
}
|
|
483
|
-
else if (typeof cb === "function") {
|
|
484
|
-
if (typeof optionsOrCb !== "object")
|
|
485
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
486
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
487
|
-
}
|
|
488
|
-
else {
|
|
489
|
-
return this.send(command, optionsOrCb);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
describeInboundDmarcSettings(args, optionsOrCb, cb) {
|
|
493
|
-
const command = new DescribeInboundDmarcSettingsCommand_1.DescribeInboundDmarcSettingsCommand(args);
|
|
494
|
-
if (typeof optionsOrCb === "function") {
|
|
495
|
-
this.send(command, optionsOrCb);
|
|
496
|
-
}
|
|
497
|
-
else if (typeof cb === "function") {
|
|
498
|
-
if (typeof optionsOrCb !== "object")
|
|
499
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
-
}
|
|
502
|
-
else {
|
|
503
|
-
return this.send(command, optionsOrCb);
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
describeMailboxExportJob(args, optionsOrCb, cb) {
|
|
507
|
-
const command = new DescribeMailboxExportJobCommand_1.DescribeMailboxExportJobCommand(args);
|
|
508
|
-
if (typeof optionsOrCb === "function") {
|
|
509
|
-
this.send(command, optionsOrCb);
|
|
510
|
-
}
|
|
511
|
-
else if (typeof cb === "function") {
|
|
512
|
-
if (typeof optionsOrCb !== "object")
|
|
513
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
514
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
515
|
-
}
|
|
516
|
-
else {
|
|
517
|
-
return this.send(command, optionsOrCb);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
describeOrganization(args, optionsOrCb, cb) {
|
|
521
|
-
const command = new DescribeOrganizationCommand_1.DescribeOrganizationCommand(args);
|
|
522
|
-
if (typeof optionsOrCb === "function") {
|
|
523
|
-
this.send(command, optionsOrCb);
|
|
524
|
-
}
|
|
525
|
-
else if (typeof cb === "function") {
|
|
526
|
-
if (typeof optionsOrCb !== "object")
|
|
527
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
528
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
529
|
-
}
|
|
530
|
-
else {
|
|
531
|
-
return this.send(command, optionsOrCb);
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
describeResource(args, optionsOrCb, cb) {
|
|
535
|
-
const command = new DescribeResourceCommand_1.DescribeResourceCommand(args);
|
|
536
|
-
if (typeof optionsOrCb === "function") {
|
|
537
|
-
this.send(command, optionsOrCb);
|
|
538
|
-
}
|
|
539
|
-
else if (typeof cb === "function") {
|
|
540
|
-
if (typeof optionsOrCb !== "object")
|
|
541
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
542
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
543
|
-
}
|
|
544
|
-
else {
|
|
545
|
-
return this.send(command, optionsOrCb);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
describeUser(args, optionsOrCb, cb) {
|
|
549
|
-
const command = new DescribeUserCommand_1.DescribeUserCommand(args);
|
|
550
|
-
if (typeof optionsOrCb === "function") {
|
|
551
|
-
this.send(command, optionsOrCb);
|
|
552
|
-
}
|
|
553
|
-
else if (typeof cb === "function") {
|
|
554
|
-
if (typeof optionsOrCb !== "object")
|
|
555
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
556
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
557
|
-
}
|
|
558
|
-
else {
|
|
559
|
-
return this.send(command, optionsOrCb);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
disassociateDelegateFromResource(args, optionsOrCb, cb) {
|
|
563
|
-
const command = new DisassociateDelegateFromResourceCommand_1.DisassociateDelegateFromResourceCommand(args);
|
|
564
|
-
if (typeof optionsOrCb === "function") {
|
|
565
|
-
this.send(command, optionsOrCb);
|
|
566
|
-
}
|
|
567
|
-
else if (typeof cb === "function") {
|
|
568
|
-
if (typeof optionsOrCb !== "object")
|
|
569
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
570
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
571
|
-
}
|
|
572
|
-
else {
|
|
573
|
-
return this.send(command, optionsOrCb);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
disassociateMemberFromGroup(args, optionsOrCb, cb) {
|
|
577
|
-
const command = new DisassociateMemberFromGroupCommand_1.DisassociateMemberFromGroupCommand(args);
|
|
578
|
-
if (typeof optionsOrCb === "function") {
|
|
579
|
-
this.send(command, optionsOrCb);
|
|
580
|
-
}
|
|
581
|
-
else if (typeof cb === "function") {
|
|
582
|
-
if (typeof optionsOrCb !== "object")
|
|
583
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
584
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
585
|
-
}
|
|
586
|
-
else {
|
|
587
|
-
return this.send(command, optionsOrCb);
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
getAccessControlEffect(args, optionsOrCb, cb) {
|
|
591
|
-
const command = new GetAccessControlEffectCommand_1.GetAccessControlEffectCommand(args);
|
|
592
|
-
if (typeof optionsOrCb === "function") {
|
|
593
|
-
this.send(command, optionsOrCb);
|
|
594
|
-
}
|
|
595
|
-
else if (typeof cb === "function") {
|
|
596
|
-
if (typeof optionsOrCb !== "object")
|
|
597
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
598
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
599
|
-
}
|
|
600
|
-
else {
|
|
601
|
-
return this.send(command, optionsOrCb);
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
getDefaultRetentionPolicy(args, optionsOrCb, cb) {
|
|
605
|
-
const command = new GetDefaultRetentionPolicyCommand_1.GetDefaultRetentionPolicyCommand(args);
|
|
606
|
-
if (typeof optionsOrCb === "function") {
|
|
607
|
-
this.send(command, optionsOrCb);
|
|
608
|
-
}
|
|
609
|
-
else if (typeof cb === "function") {
|
|
610
|
-
if (typeof optionsOrCb !== "object")
|
|
611
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
612
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
613
|
-
}
|
|
614
|
-
else {
|
|
615
|
-
return this.send(command, optionsOrCb);
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
getImpersonationRole(args, optionsOrCb, cb) {
|
|
619
|
-
const command = new GetImpersonationRoleCommand_1.GetImpersonationRoleCommand(args);
|
|
620
|
-
if (typeof optionsOrCb === "function") {
|
|
621
|
-
this.send(command, optionsOrCb);
|
|
622
|
-
}
|
|
623
|
-
else if (typeof cb === "function") {
|
|
624
|
-
if (typeof optionsOrCb !== "object")
|
|
625
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
626
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
627
|
-
}
|
|
628
|
-
else {
|
|
629
|
-
return this.send(command, optionsOrCb);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
getImpersonationRoleEffect(args, optionsOrCb, cb) {
|
|
633
|
-
const command = new GetImpersonationRoleEffectCommand_1.GetImpersonationRoleEffectCommand(args);
|
|
634
|
-
if (typeof optionsOrCb === "function") {
|
|
635
|
-
this.send(command, optionsOrCb);
|
|
636
|
-
}
|
|
637
|
-
else if (typeof cb === "function") {
|
|
638
|
-
if (typeof optionsOrCb !== "object")
|
|
639
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
640
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
641
|
-
}
|
|
642
|
-
else {
|
|
643
|
-
return this.send(command, optionsOrCb);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
getMailboxDetails(args, optionsOrCb, cb) {
|
|
647
|
-
const command = new GetMailboxDetailsCommand_1.GetMailboxDetailsCommand(args);
|
|
648
|
-
if (typeof optionsOrCb === "function") {
|
|
649
|
-
this.send(command, optionsOrCb);
|
|
650
|
-
}
|
|
651
|
-
else if (typeof cb === "function") {
|
|
652
|
-
if (typeof optionsOrCb !== "object")
|
|
653
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
654
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
655
|
-
}
|
|
656
|
-
else {
|
|
657
|
-
return this.send(command, optionsOrCb);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
getMailDomain(args, optionsOrCb, cb) {
|
|
661
|
-
const command = new GetMailDomainCommand_1.GetMailDomainCommand(args);
|
|
662
|
-
if (typeof optionsOrCb === "function") {
|
|
663
|
-
this.send(command, optionsOrCb);
|
|
664
|
-
}
|
|
665
|
-
else if (typeof cb === "function") {
|
|
666
|
-
if (typeof optionsOrCb !== "object")
|
|
667
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
668
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
669
|
-
}
|
|
670
|
-
else {
|
|
671
|
-
return this.send(command, optionsOrCb);
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
getMobileDeviceAccessEffect(args, optionsOrCb, cb) {
|
|
675
|
-
const command = new GetMobileDeviceAccessEffectCommand_1.GetMobileDeviceAccessEffectCommand(args);
|
|
676
|
-
if (typeof optionsOrCb === "function") {
|
|
677
|
-
this.send(command, optionsOrCb);
|
|
678
|
-
}
|
|
679
|
-
else if (typeof cb === "function") {
|
|
680
|
-
if (typeof optionsOrCb !== "object")
|
|
681
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
682
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
683
|
-
}
|
|
684
|
-
else {
|
|
685
|
-
return this.send(command, optionsOrCb);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
getMobileDeviceAccessOverride(args, optionsOrCb, cb) {
|
|
689
|
-
const command = new GetMobileDeviceAccessOverrideCommand_1.GetMobileDeviceAccessOverrideCommand(args);
|
|
690
|
-
if (typeof optionsOrCb === "function") {
|
|
691
|
-
this.send(command, optionsOrCb);
|
|
692
|
-
}
|
|
693
|
-
else if (typeof cb === "function") {
|
|
694
|
-
if (typeof optionsOrCb !== "object")
|
|
695
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
696
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
697
|
-
}
|
|
698
|
-
else {
|
|
699
|
-
return this.send(command, optionsOrCb);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
listAccessControlRules(args, optionsOrCb, cb) {
|
|
703
|
-
const command = new ListAccessControlRulesCommand_1.ListAccessControlRulesCommand(args);
|
|
704
|
-
if (typeof optionsOrCb === "function") {
|
|
705
|
-
this.send(command, optionsOrCb);
|
|
706
|
-
}
|
|
707
|
-
else if (typeof cb === "function") {
|
|
708
|
-
if (typeof optionsOrCb !== "object")
|
|
709
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
710
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
711
|
-
}
|
|
712
|
-
else {
|
|
713
|
-
return this.send(command, optionsOrCb);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
listAliases(args, optionsOrCb, cb) {
|
|
717
|
-
const command = new ListAliasesCommand_1.ListAliasesCommand(args);
|
|
718
|
-
if (typeof optionsOrCb === "function") {
|
|
719
|
-
this.send(command, optionsOrCb);
|
|
720
|
-
}
|
|
721
|
-
else if (typeof cb === "function") {
|
|
722
|
-
if (typeof optionsOrCb !== "object")
|
|
723
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
724
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
725
|
-
}
|
|
726
|
-
else {
|
|
727
|
-
return this.send(command, optionsOrCb);
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
listAvailabilityConfigurations(args, optionsOrCb, cb) {
|
|
731
|
-
const command = new ListAvailabilityConfigurationsCommand_1.ListAvailabilityConfigurationsCommand(args);
|
|
732
|
-
if (typeof optionsOrCb === "function") {
|
|
733
|
-
this.send(command, optionsOrCb);
|
|
734
|
-
}
|
|
735
|
-
else if (typeof cb === "function") {
|
|
736
|
-
if (typeof optionsOrCb !== "object")
|
|
737
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
738
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
739
|
-
}
|
|
740
|
-
else {
|
|
741
|
-
return this.send(command, optionsOrCb);
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
listGroupMembers(args, optionsOrCb, cb) {
|
|
745
|
-
const command = new ListGroupMembersCommand_1.ListGroupMembersCommand(args);
|
|
746
|
-
if (typeof optionsOrCb === "function") {
|
|
747
|
-
this.send(command, optionsOrCb);
|
|
748
|
-
}
|
|
749
|
-
else if (typeof cb === "function") {
|
|
750
|
-
if (typeof optionsOrCb !== "object")
|
|
751
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
752
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
753
|
-
}
|
|
754
|
-
else {
|
|
755
|
-
return this.send(command, optionsOrCb);
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
listGroups(args, optionsOrCb, cb) {
|
|
759
|
-
const command = new ListGroupsCommand_1.ListGroupsCommand(args);
|
|
760
|
-
if (typeof optionsOrCb === "function") {
|
|
761
|
-
this.send(command, optionsOrCb);
|
|
762
|
-
}
|
|
763
|
-
else if (typeof cb === "function") {
|
|
764
|
-
if (typeof optionsOrCb !== "object")
|
|
765
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
766
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
767
|
-
}
|
|
768
|
-
else {
|
|
769
|
-
return this.send(command, optionsOrCb);
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
listImpersonationRoles(args, optionsOrCb, cb) {
|
|
773
|
-
const command = new ListImpersonationRolesCommand_1.ListImpersonationRolesCommand(args);
|
|
774
|
-
if (typeof optionsOrCb === "function") {
|
|
775
|
-
this.send(command, optionsOrCb);
|
|
776
|
-
}
|
|
777
|
-
else if (typeof cb === "function") {
|
|
778
|
-
if (typeof optionsOrCb !== "object")
|
|
779
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
780
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
781
|
-
}
|
|
782
|
-
else {
|
|
783
|
-
return this.send(command, optionsOrCb);
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
listMailboxExportJobs(args, optionsOrCb, cb) {
|
|
787
|
-
const command = new ListMailboxExportJobsCommand_1.ListMailboxExportJobsCommand(args);
|
|
788
|
-
if (typeof optionsOrCb === "function") {
|
|
789
|
-
this.send(command, optionsOrCb);
|
|
790
|
-
}
|
|
791
|
-
else if (typeof cb === "function") {
|
|
792
|
-
if (typeof optionsOrCb !== "object")
|
|
793
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
794
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
795
|
-
}
|
|
796
|
-
else {
|
|
797
|
-
return this.send(command, optionsOrCb);
|
|
798
|
-
}
|
|
799
|
-
}
|
|
800
|
-
listMailboxPermissions(args, optionsOrCb, cb) {
|
|
801
|
-
const command = new ListMailboxPermissionsCommand_1.ListMailboxPermissionsCommand(args);
|
|
802
|
-
if (typeof optionsOrCb === "function") {
|
|
803
|
-
this.send(command, optionsOrCb);
|
|
804
|
-
}
|
|
805
|
-
else if (typeof cb === "function") {
|
|
806
|
-
if (typeof optionsOrCb !== "object")
|
|
807
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
808
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
809
|
-
}
|
|
810
|
-
else {
|
|
811
|
-
return this.send(command, optionsOrCb);
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
listMailDomains(args, optionsOrCb, cb) {
|
|
815
|
-
const command = new ListMailDomainsCommand_1.ListMailDomainsCommand(args);
|
|
816
|
-
if (typeof optionsOrCb === "function") {
|
|
817
|
-
this.send(command, optionsOrCb);
|
|
818
|
-
}
|
|
819
|
-
else if (typeof cb === "function") {
|
|
820
|
-
if (typeof optionsOrCb !== "object")
|
|
821
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
822
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
823
|
-
}
|
|
824
|
-
else {
|
|
825
|
-
return this.send(command, optionsOrCb);
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
listMobileDeviceAccessOverrides(args, optionsOrCb, cb) {
|
|
829
|
-
const command = new ListMobileDeviceAccessOverridesCommand_1.ListMobileDeviceAccessOverridesCommand(args);
|
|
830
|
-
if (typeof optionsOrCb === "function") {
|
|
831
|
-
this.send(command, optionsOrCb);
|
|
832
|
-
}
|
|
833
|
-
else if (typeof cb === "function") {
|
|
834
|
-
if (typeof optionsOrCb !== "object")
|
|
835
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
836
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
837
|
-
}
|
|
838
|
-
else {
|
|
839
|
-
return this.send(command, optionsOrCb);
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
listMobileDeviceAccessRules(args, optionsOrCb, cb) {
|
|
843
|
-
const command = new ListMobileDeviceAccessRulesCommand_1.ListMobileDeviceAccessRulesCommand(args);
|
|
844
|
-
if (typeof optionsOrCb === "function") {
|
|
845
|
-
this.send(command, optionsOrCb);
|
|
846
|
-
}
|
|
847
|
-
else if (typeof cb === "function") {
|
|
848
|
-
if (typeof optionsOrCb !== "object")
|
|
849
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
850
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
851
|
-
}
|
|
852
|
-
else {
|
|
853
|
-
return this.send(command, optionsOrCb);
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
listOrganizations(args, optionsOrCb, cb) {
|
|
857
|
-
const command = new ListOrganizationsCommand_1.ListOrganizationsCommand(args);
|
|
858
|
-
if (typeof optionsOrCb === "function") {
|
|
859
|
-
this.send(command, optionsOrCb);
|
|
860
|
-
}
|
|
861
|
-
else if (typeof cb === "function") {
|
|
862
|
-
if (typeof optionsOrCb !== "object")
|
|
863
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
864
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
865
|
-
}
|
|
866
|
-
else {
|
|
867
|
-
return this.send(command, optionsOrCb);
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
listResourceDelegates(args, optionsOrCb, cb) {
|
|
871
|
-
const command = new ListResourceDelegatesCommand_1.ListResourceDelegatesCommand(args);
|
|
872
|
-
if (typeof optionsOrCb === "function") {
|
|
873
|
-
this.send(command, optionsOrCb);
|
|
874
|
-
}
|
|
875
|
-
else if (typeof cb === "function") {
|
|
876
|
-
if (typeof optionsOrCb !== "object")
|
|
877
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
878
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
879
|
-
}
|
|
880
|
-
else {
|
|
881
|
-
return this.send(command, optionsOrCb);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
listResources(args, optionsOrCb, cb) {
|
|
885
|
-
const command = new ListResourcesCommand_1.ListResourcesCommand(args);
|
|
886
|
-
if (typeof optionsOrCb === "function") {
|
|
887
|
-
this.send(command, optionsOrCb);
|
|
888
|
-
}
|
|
889
|
-
else if (typeof cb === "function") {
|
|
890
|
-
if (typeof optionsOrCb !== "object")
|
|
891
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
892
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
893
|
-
}
|
|
894
|
-
else {
|
|
895
|
-
return this.send(command, optionsOrCb);
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
899
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
900
|
-
if (typeof optionsOrCb === "function") {
|
|
901
|
-
this.send(command, optionsOrCb);
|
|
902
|
-
}
|
|
903
|
-
else if (typeof cb === "function") {
|
|
904
|
-
if (typeof optionsOrCb !== "object")
|
|
905
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
906
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
907
|
-
}
|
|
908
|
-
else {
|
|
909
|
-
return this.send(command, optionsOrCb);
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
listUsers(args, optionsOrCb, cb) {
|
|
913
|
-
const command = new ListUsersCommand_1.ListUsersCommand(args);
|
|
914
|
-
if (typeof optionsOrCb === "function") {
|
|
915
|
-
this.send(command, optionsOrCb);
|
|
916
|
-
}
|
|
917
|
-
else if (typeof cb === "function") {
|
|
918
|
-
if (typeof optionsOrCb !== "object")
|
|
919
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
920
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
921
|
-
}
|
|
922
|
-
else {
|
|
923
|
-
return this.send(command, optionsOrCb);
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
putAccessControlRule(args, optionsOrCb, cb) {
|
|
927
|
-
const command = new PutAccessControlRuleCommand_1.PutAccessControlRuleCommand(args);
|
|
928
|
-
if (typeof optionsOrCb === "function") {
|
|
929
|
-
this.send(command, optionsOrCb);
|
|
930
|
-
}
|
|
931
|
-
else if (typeof cb === "function") {
|
|
932
|
-
if (typeof optionsOrCb !== "object")
|
|
933
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
934
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
935
|
-
}
|
|
936
|
-
else {
|
|
937
|
-
return this.send(command, optionsOrCb);
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
putEmailMonitoringConfiguration(args, optionsOrCb, cb) {
|
|
941
|
-
const command = new PutEmailMonitoringConfigurationCommand_1.PutEmailMonitoringConfigurationCommand(args);
|
|
942
|
-
if (typeof optionsOrCb === "function") {
|
|
943
|
-
this.send(command, optionsOrCb);
|
|
944
|
-
}
|
|
945
|
-
else if (typeof cb === "function") {
|
|
946
|
-
if (typeof optionsOrCb !== "object")
|
|
947
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
948
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
949
|
-
}
|
|
950
|
-
else {
|
|
951
|
-
return this.send(command, optionsOrCb);
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
putInboundDmarcSettings(args, optionsOrCb, cb) {
|
|
955
|
-
const command = new PutInboundDmarcSettingsCommand_1.PutInboundDmarcSettingsCommand(args);
|
|
956
|
-
if (typeof optionsOrCb === "function") {
|
|
957
|
-
this.send(command, optionsOrCb);
|
|
958
|
-
}
|
|
959
|
-
else if (typeof cb === "function") {
|
|
960
|
-
if (typeof optionsOrCb !== "object")
|
|
961
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
962
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
963
|
-
}
|
|
964
|
-
else {
|
|
965
|
-
return this.send(command, optionsOrCb);
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
putMailboxPermissions(args, optionsOrCb, cb) {
|
|
969
|
-
const command = new PutMailboxPermissionsCommand_1.PutMailboxPermissionsCommand(args);
|
|
970
|
-
if (typeof optionsOrCb === "function") {
|
|
971
|
-
this.send(command, optionsOrCb);
|
|
972
|
-
}
|
|
973
|
-
else if (typeof cb === "function") {
|
|
974
|
-
if (typeof optionsOrCb !== "object")
|
|
975
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
976
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
977
|
-
}
|
|
978
|
-
else {
|
|
979
|
-
return this.send(command, optionsOrCb);
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
putMobileDeviceAccessOverride(args, optionsOrCb, cb) {
|
|
983
|
-
const command = new PutMobileDeviceAccessOverrideCommand_1.PutMobileDeviceAccessOverrideCommand(args);
|
|
984
|
-
if (typeof optionsOrCb === "function") {
|
|
985
|
-
this.send(command, optionsOrCb);
|
|
986
|
-
}
|
|
987
|
-
else if (typeof cb === "function") {
|
|
988
|
-
if (typeof optionsOrCb !== "object")
|
|
989
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
990
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
991
|
-
}
|
|
992
|
-
else {
|
|
993
|
-
return this.send(command, optionsOrCb);
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
putRetentionPolicy(args, optionsOrCb, cb) {
|
|
997
|
-
const command = new PutRetentionPolicyCommand_1.PutRetentionPolicyCommand(args);
|
|
998
|
-
if (typeof optionsOrCb === "function") {
|
|
999
|
-
this.send(command, optionsOrCb);
|
|
1000
|
-
}
|
|
1001
|
-
else if (typeof cb === "function") {
|
|
1002
|
-
if (typeof optionsOrCb !== "object")
|
|
1003
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1004
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1005
|
-
}
|
|
1006
|
-
else {
|
|
1007
|
-
return this.send(command, optionsOrCb);
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
registerMailDomain(args, optionsOrCb, cb) {
|
|
1011
|
-
const command = new RegisterMailDomainCommand_1.RegisterMailDomainCommand(args);
|
|
1012
|
-
if (typeof optionsOrCb === "function") {
|
|
1013
|
-
this.send(command, optionsOrCb);
|
|
1014
|
-
}
|
|
1015
|
-
else if (typeof cb === "function") {
|
|
1016
|
-
if (typeof optionsOrCb !== "object")
|
|
1017
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1018
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1019
|
-
}
|
|
1020
|
-
else {
|
|
1021
|
-
return this.send(command, optionsOrCb);
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
registerToWorkMail(args, optionsOrCb, cb) {
|
|
1025
|
-
const command = new RegisterToWorkMailCommand_1.RegisterToWorkMailCommand(args);
|
|
1026
|
-
if (typeof optionsOrCb === "function") {
|
|
1027
|
-
this.send(command, optionsOrCb);
|
|
1028
|
-
}
|
|
1029
|
-
else if (typeof cb === "function") {
|
|
1030
|
-
if (typeof optionsOrCb !== "object")
|
|
1031
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1032
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1033
|
-
}
|
|
1034
|
-
else {
|
|
1035
|
-
return this.send(command, optionsOrCb);
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
resetPassword(args, optionsOrCb, cb) {
|
|
1039
|
-
const command = new ResetPasswordCommand_1.ResetPasswordCommand(args);
|
|
1040
|
-
if (typeof optionsOrCb === "function") {
|
|
1041
|
-
this.send(command, optionsOrCb);
|
|
1042
|
-
}
|
|
1043
|
-
else if (typeof cb === "function") {
|
|
1044
|
-
if (typeof optionsOrCb !== "object")
|
|
1045
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1046
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1047
|
-
}
|
|
1048
|
-
else {
|
|
1049
|
-
return this.send(command, optionsOrCb);
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
startMailboxExportJob(args, optionsOrCb, cb) {
|
|
1053
|
-
const command = new StartMailboxExportJobCommand_1.StartMailboxExportJobCommand(args);
|
|
1054
|
-
if (typeof optionsOrCb === "function") {
|
|
1055
|
-
this.send(command, optionsOrCb);
|
|
1056
|
-
}
|
|
1057
|
-
else if (typeof cb === "function") {
|
|
1058
|
-
if (typeof optionsOrCb !== "object")
|
|
1059
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1060
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1061
|
-
}
|
|
1062
|
-
else {
|
|
1063
|
-
return this.send(command, optionsOrCb);
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
tagResource(args, optionsOrCb, cb) {
|
|
1067
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
1068
|
-
if (typeof optionsOrCb === "function") {
|
|
1069
|
-
this.send(command, optionsOrCb);
|
|
1070
|
-
}
|
|
1071
|
-
else if (typeof cb === "function") {
|
|
1072
|
-
if (typeof optionsOrCb !== "object")
|
|
1073
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1074
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1075
|
-
}
|
|
1076
|
-
else {
|
|
1077
|
-
return this.send(command, optionsOrCb);
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
testAvailabilityConfiguration(args, optionsOrCb, cb) {
|
|
1081
|
-
const command = new TestAvailabilityConfigurationCommand_1.TestAvailabilityConfigurationCommand(args);
|
|
1082
|
-
if (typeof optionsOrCb === "function") {
|
|
1083
|
-
this.send(command, optionsOrCb);
|
|
1084
|
-
}
|
|
1085
|
-
else if (typeof cb === "function") {
|
|
1086
|
-
if (typeof optionsOrCb !== "object")
|
|
1087
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1088
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1089
|
-
}
|
|
1090
|
-
else {
|
|
1091
|
-
return this.send(command, optionsOrCb);
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
untagResource(args, optionsOrCb, cb) {
|
|
1095
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
1096
|
-
if (typeof optionsOrCb === "function") {
|
|
1097
|
-
this.send(command, optionsOrCb);
|
|
1098
|
-
}
|
|
1099
|
-
else if (typeof cb === "function") {
|
|
1100
|
-
if (typeof optionsOrCb !== "object")
|
|
1101
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1102
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1103
|
-
}
|
|
1104
|
-
else {
|
|
1105
|
-
return this.send(command, optionsOrCb);
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
updateAvailabilityConfiguration(args, optionsOrCb, cb) {
|
|
1109
|
-
const command = new UpdateAvailabilityConfigurationCommand_1.UpdateAvailabilityConfigurationCommand(args);
|
|
1110
|
-
if (typeof optionsOrCb === "function") {
|
|
1111
|
-
this.send(command, optionsOrCb);
|
|
1112
|
-
}
|
|
1113
|
-
else if (typeof cb === "function") {
|
|
1114
|
-
if (typeof optionsOrCb !== "object")
|
|
1115
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1116
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1117
|
-
}
|
|
1118
|
-
else {
|
|
1119
|
-
return this.send(command, optionsOrCb);
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
updateDefaultMailDomain(args, optionsOrCb, cb) {
|
|
1123
|
-
const command = new UpdateDefaultMailDomainCommand_1.UpdateDefaultMailDomainCommand(args);
|
|
1124
|
-
if (typeof optionsOrCb === "function") {
|
|
1125
|
-
this.send(command, optionsOrCb);
|
|
1126
|
-
}
|
|
1127
|
-
else if (typeof cb === "function") {
|
|
1128
|
-
if (typeof optionsOrCb !== "object")
|
|
1129
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1130
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1131
|
-
}
|
|
1132
|
-
else {
|
|
1133
|
-
return this.send(command, optionsOrCb);
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
updateImpersonationRole(args, optionsOrCb, cb) {
|
|
1137
|
-
const command = new UpdateImpersonationRoleCommand_1.UpdateImpersonationRoleCommand(args);
|
|
1138
|
-
if (typeof optionsOrCb === "function") {
|
|
1139
|
-
this.send(command, optionsOrCb);
|
|
1140
|
-
}
|
|
1141
|
-
else if (typeof cb === "function") {
|
|
1142
|
-
if (typeof optionsOrCb !== "object")
|
|
1143
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1144
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1145
|
-
}
|
|
1146
|
-
else {
|
|
1147
|
-
return this.send(command, optionsOrCb);
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
updateMailboxQuota(args, optionsOrCb, cb) {
|
|
1151
|
-
const command = new UpdateMailboxQuotaCommand_1.UpdateMailboxQuotaCommand(args);
|
|
1152
|
-
if (typeof optionsOrCb === "function") {
|
|
1153
|
-
this.send(command, optionsOrCb);
|
|
1154
|
-
}
|
|
1155
|
-
else if (typeof cb === "function") {
|
|
1156
|
-
if (typeof optionsOrCb !== "object")
|
|
1157
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1158
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1159
|
-
}
|
|
1160
|
-
else {
|
|
1161
|
-
return this.send(command, optionsOrCb);
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
updateMobileDeviceAccessRule(args, optionsOrCb, cb) {
|
|
1165
|
-
const command = new UpdateMobileDeviceAccessRuleCommand_1.UpdateMobileDeviceAccessRuleCommand(args);
|
|
1166
|
-
if (typeof optionsOrCb === "function") {
|
|
1167
|
-
this.send(command, optionsOrCb);
|
|
1168
|
-
}
|
|
1169
|
-
else if (typeof cb === "function") {
|
|
1170
|
-
if (typeof optionsOrCb !== "object")
|
|
1171
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1172
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1173
|
-
}
|
|
1174
|
-
else {
|
|
1175
|
-
return this.send(command, optionsOrCb);
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
updatePrimaryEmailAddress(args, optionsOrCb, cb) {
|
|
1179
|
-
const command = new UpdatePrimaryEmailAddressCommand_1.UpdatePrimaryEmailAddressCommand(args);
|
|
1180
|
-
if (typeof optionsOrCb === "function") {
|
|
1181
|
-
this.send(command, optionsOrCb);
|
|
1182
|
-
}
|
|
1183
|
-
else if (typeof cb === "function") {
|
|
1184
|
-
if (typeof optionsOrCb !== "object")
|
|
1185
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1186
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1187
|
-
}
|
|
1188
|
-
else {
|
|
1189
|
-
return this.send(command, optionsOrCb);
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
|
-
updateResource(args, optionsOrCb, cb) {
|
|
1193
|
-
const command = new UpdateResourceCommand_1.UpdateResourceCommand(args);
|
|
1194
|
-
if (typeof optionsOrCb === "function") {
|
|
1195
|
-
this.send(command, optionsOrCb);
|
|
1196
|
-
}
|
|
1197
|
-
else if (typeof cb === "function") {
|
|
1198
|
-
if (typeof optionsOrCb !== "object")
|
|
1199
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1200
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1201
|
-
}
|
|
1202
|
-
else {
|
|
1203
|
-
return this.send(command, optionsOrCb);
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
169
|
}
|
|
1207
170
|
exports.WorkMail = WorkMail;
|
|
171
|
+
(0, smithy_client_1.createAggregatedClient)(commands, WorkMail);
|