@aws-sdk/client-workmail 3.687.0 → 3.692.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.
@@ -7,19 +7,19 @@ export declare const AccessControlRuleEffect: {
7
7
  export type AccessControlRuleEffect =
8
8
  (typeof AccessControlRuleEffect)[keyof typeof AccessControlRuleEffect];
9
9
  export interface AccessControlRule {
10
- Name?: string;
11
- Effect?: AccessControlRuleEffect;
12
- Description?: string;
13
- IpRanges?: string[];
14
- NotIpRanges?: string[];
15
- Actions?: string[];
16
- NotActions?: string[];
17
- UserIds?: string[];
18
- NotUserIds?: string[];
19
- DateCreated?: Date;
20
- DateModified?: Date;
21
- ImpersonationRoleIds?: string[];
22
- NotImpersonationRoleIds?: string[];
10
+ Name?: string | undefined;
11
+ Effect?: AccessControlRuleEffect | undefined;
12
+ Description?: string | undefined;
13
+ IpRanges?: string[] | undefined;
14
+ NotIpRanges?: string[] | undefined;
15
+ Actions?: string[] | undefined;
16
+ NotActions?: string[] | undefined;
17
+ UserIds?: string[] | undefined;
18
+ NotUserIds?: string[] | undefined;
19
+ DateCreated?: Date | undefined;
20
+ DateModified?: Date | undefined;
21
+ ImpersonationRoleIds?: string[] | undefined;
22
+ NotImpersonationRoleIds?: string[] | undefined;
23
23
  }
24
24
  export declare const AccessEffect: {
25
25
  readonly ALLOW: "ALLOW";
@@ -35,7 +35,7 @@ export interface AssociateDelegateToResourceResponse {}
35
35
  export declare class EntityNotFoundException extends __BaseException {
36
36
  readonly name: "EntityNotFoundException";
37
37
  readonly $fault: "client";
38
- Message?: string;
38
+ Message?: string | undefined;
39
39
  constructor(
40
40
  opts: __ExceptionOptionType<EntityNotFoundException, __BaseException>
41
41
  );
@@ -43,7 +43,7 @@ export declare class EntityNotFoundException extends __BaseException {
43
43
  export declare class EntityStateException extends __BaseException {
44
44
  readonly name: "EntityStateException";
45
45
  readonly $fault: "client";
46
- Message?: string;
46
+ Message?: string | undefined;
47
47
  constructor(
48
48
  opts: __ExceptionOptionType<EntityStateException, __BaseException>
49
49
  );
@@ -51,7 +51,7 @@ export declare class EntityStateException extends __BaseException {
51
51
  export declare class InvalidParameterException extends __BaseException {
52
52
  readonly name: "InvalidParameterException";
53
53
  readonly $fault: "client";
54
- Message?: string;
54
+ Message?: string | undefined;
55
55
  constructor(
56
56
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
57
57
  );
@@ -59,7 +59,7 @@ export declare class InvalidParameterException extends __BaseException {
59
59
  export declare class OrganizationNotFoundException extends __BaseException {
60
60
  readonly name: "OrganizationNotFoundException";
61
61
  readonly $fault: "client";
62
- Message?: string;
62
+ Message?: string | undefined;
63
63
  constructor(
64
64
  opts: __ExceptionOptionType<OrganizationNotFoundException, __BaseException>
65
65
  );
@@ -67,7 +67,7 @@ export declare class OrganizationNotFoundException extends __BaseException {
67
67
  export declare class OrganizationStateException extends __BaseException {
68
68
  readonly name: "OrganizationStateException";
69
69
  readonly $fault: "client";
70
- Message?: string;
70
+ Message?: string | undefined;
71
71
  constructor(
72
72
  opts: __ExceptionOptionType<OrganizationStateException, __BaseException>
73
73
  );
@@ -75,7 +75,7 @@ export declare class OrganizationStateException extends __BaseException {
75
75
  export declare class UnsupportedOperationException extends __BaseException {
76
76
  readonly name: "UnsupportedOperationException";
77
77
  readonly $fault: "client";
78
- Message?: string;
78
+ Message?: string | undefined;
79
79
  constructor(
80
80
  opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
81
81
  );
@@ -89,7 +89,7 @@ export interface AssociateMemberToGroupResponse {}
89
89
  export declare class DirectoryServiceAuthenticationFailedException extends __BaseException {
90
90
  readonly name: "DirectoryServiceAuthenticationFailedException";
91
91
  readonly $fault: "client";
92
- Message?: string;
92
+ Message?: string | undefined;
93
93
  constructor(
94
94
  opts: __ExceptionOptionType<
95
95
  DirectoryServiceAuthenticationFailedException,
@@ -100,7 +100,7 @@ export declare class DirectoryServiceAuthenticationFailedException extends __Bas
100
100
  export declare class DirectoryUnavailableException extends __BaseException {
101
101
  readonly name: "DirectoryUnavailableException";
102
102
  readonly $fault: "client";
103
- Message?: string;
103
+ Message?: string | undefined;
104
104
  constructor(
105
105
  opts: __ExceptionOptionType<DirectoryUnavailableException, __BaseException>
106
106
  );
@@ -110,20 +110,20 @@ export interface AssumeImpersonationRoleRequest {
110
110
  ImpersonationRoleId: string | undefined;
111
111
  }
112
112
  export interface AssumeImpersonationRoleResponse {
113
- Token?: string;
114
- ExpiresIn?: number;
113
+ Token?: string | undefined;
114
+ ExpiresIn?: number | undefined;
115
115
  }
116
116
  export declare class ResourceNotFoundException extends __BaseException {
117
117
  readonly name: "ResourceNotFoundException";
118
118
  readonly $fault: "client";
119
- Message?: string;
119
+ Message?: string | undefined;
120
120
  constructor(
121
121
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
122
122
  );
123
123
  }
124
124
  export interface RedactedEwsAvailabilityProvider {
125
- EwsEndpoint?: string;
126
- EwsUsername?: string;
125
+ EwsEndpoint?: string | undefined;
126
+ EwsUsername?: string | undefined;
127
127
  }
128
128
  export interface LambdaAvailabilityProvider {
129
129
  LambdaArn: string | undefined;
@@ -135,20 +135,20 @@ export declare const AvailabilityProviderType: {
135
135
  export type AvailabilityProviderType =
136
136
  (typeof AvailabilityProviderType)[keyof typeof AvailabilityProviderType];
137
137
  export interface AvailabilityConfiguration {
138
- DomainName?: string;
139
- ProviderType?: AvailabilityProviderType;
140
- EwsProvider?: RedactedEwsAvailabilityProvider;
141
- LambdaProvider?: LambdaAvailabilityProvider;
142
- DateCreated?: Date;
143
- DateModified?: Date;
138
+ DomainName?: string | undefined;
139
+ ProviderType?: AvailabilityProviderType | undefined;
140
+ EwsProvider?: RedactedEwsAvailabilityProvider | undefined;
141
+ LambdaProvider?: LambdaAvailabilityProvider | undefined;
142
+ DateCreated?: Date | undefined;
143
+ DateModified?: Date | undefined;
144
144
  }
145
145
  export interface BookingOptions {
146
- AutoAcceptRequests?: boolean;
147
- AutoDeclineRecurringRequests?: boolean;
148
- AutoDeclineConflictingRequests?: boolean;
146
+ AutoAcceptRequests?: boolean | undefined;
147
+ AutoDeclineRecurringRequests?: boolean | undefined;
148
+ AutoDeclineConflictingRequests?: boolean | undefined;
149
149
  }
150
150
  export interface CancelMailboxExportJobRequest {
151
- ClientToken?: string;
151
+ ClientToken?: string | undefined;
152
152
  JobId: string | undefined;
153
153
  OrganizationId: string | undefined;
154
154
  }
@@ -162,7 +162,7 @@ export interface CreateAliasResponse {}
162
162
  export declare class EmailAddressInUseException extends __BaseException {
163
163
  readonly name: "EmailAddressInUseException";
164
164
  readonly $fault: "client";
165
- Message?: string;
165
+ Message?: string | undefined;
166
166
  constructor(
167
167
  opts: __ExceptionOptionType<EmailAddressInUseException, __BaseException>
168
168
  );
@@ -170,7 +170,7 @@ export declare class EmailAddressInUseException extends __BaseException {
170
170
  export declare class LimitExceededException extends __BaseException {
171
171
  readonly name: "LimitExceededException";
172
172
  readonly $fault: "client";
173
- Message?: string;
173
+ Message?: string | undefined;
174
174
  constructor(
175
175
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
176
176
  );
@@ -178,7 +178,7 @@ export declare class LimitExceededException extends __BaseException {
178
178
  export declare class MailDomainNotFoundException extends __BaseException {
179
179
  readonly name: "MailDomainNotFoundException";
180
180
  readonly $fault: "client";
181
- Message?: string;
181
+ Message?: string | undefined;
182
182
  constructor(
183
183
  opts: __ExceptionOptionType<MailDomainNotFoundException, __BaseException>
184
184
  );
@@ -186,7 +186,7 @@ export declare class MailDomainNotFoundException extends __BaseException {
186
186
  export declare class MailDomainStateException extends __BaseException {
187
187
  readonly name: "MailDomainStateException";
188
188
  readonly $fault: "client";
189
- Message?: string;
189
+ Message?: string | undefined;
190
190
  constructor(
191
191
  opts: __ExceptionOptionType<MailDomainStateException, __BaseException>
192
192
  );
@@ -197,17 +197,17 @@ export interface EwsAvailabilityProvider {
197
197
  EwsPassword: string | undefined;
198
198
  }
199
199
  export interface CreateAvailabilityConfigurationRequest {
200
- ClientToken?: string;
200
+ ClientToken?: string | undefined;
201
201
  OrganizationId: string | undefined;
202
202
  DomainName: string | undefined;
203
- EwsProvider?: EwsAvailabilityProvider;
204
- LambdaProvider?: LambdaAvailabilityProvider;
203
+ EwsProvider?: EwsAvailabilityProvider | undefined;
204
+ LambdaProvider?: LambdaAvailabilityProvider | undefined;
205
205
  }
206
206
  export interface CreateAvailabilityConfigurationResponse {}
207
207
  export declare class NameAvailabilityException extends __BaseException {
208
208
  readonly name: "NameAvailabilityException";
209
209
  readonly $fault: "client";
210
- Message?: string;
210
+ Message?: string | undefined;
211
211
  constructor(
212
212
  opts: __ExceptionOptionType<NameAvailabilityException, __BaseException>
213
213
  );
@@ -215,15 +215,15 @@ export declare class NameAvailabilityException extends __BaseException {
215
215
  export interface CreateGroupRequest {
216
216
  OrganizationId: string | undefined;
217
217
  Name: string | undefined;
218
- HiddenFromGlobalAddressList?: boolean;
218
+ HiddenFromGlobalAddressList?: boolean | undefined;
219
219
  }
220
220
  export interface CreateGroupResponse {
221
- GroupId?: string;
221
+ GroupId?: string | undefined;
222
222
  }
223
223
  export declare class ReservedNameException extends __BaseException {
224
224
  readonly name: "ReservedNameException";
225
225
  readonly $fault: "client";
226
- Message?: string;
226
+ Message?: string | undefined;
227
227
  constructor(
228
228
  opts: __ExceptionOptionType<ReservedNameException, __BaseException>
229
229
  );
@@ -231,18 +231,18 @@ export declare class ReservedNameException extends __BaseException {
231
231
  export interface CreateIdentityCenterApplicationRequest {
232
232
  Name: string | undefined;
233
233
  InstanceArn: string | undefined;
234
- ClientToken?: string;
234
+ ClientToken?: string | undefined;
235
235
  }
236
236
  export interface CreateIdentityCenterApplicationResponse {
237
- ApplicationArn?: string;
237
+ ApplicationArn?: string | undefined;
238
238
  }
239
239
  export interface ImpersonationRule {
240
240
  ImpersonationRuleId: string | undefined;
241
- Name?: string;
242
- Description?: string;
241
+ Name?: string | undefined;
242
+ Description?: string | undefined;
243
243
  Effect: AccessEffect | undefined;
244
- TargetUsers?: string[];
245
- NotTargetUsers?: string[];
244
+ TargetUsers?: string[] | undefined;
245
+ NotTargetUsers?: string[] | undefined;
246
246
  }
247
247
  export declare const ImpersonationRoleType: {
248
248
  readonly FULL_ACCESS: "FULL_ACCESS";
@@ -251,15 +251,15 @@ export declare const ImpersonationRoleType: {
251
251
  export type ImpersonationRoleType =
252
252
  (typeof ImpersonationRoleType)[keyof typeof ImpersonationRoleType];
253
253
  export interface CreateImpersonationRoleRequest {
254
- ClientToken?: string;
254
+ ClientToken?: string | undefined;
255
255
  OrganizationId: string | undefined;
256
256
  Name: string | undefined;
257
257
  Type: ImpersonationRoleType | undefined;
258
- Description?: string;
258
+ Description?: string | undefined;
259
259
  Rules: ImpersonationRule[] | undefined;
260
260
  }
261
261
  export interface CreateImpersonationRoleResponse {
262
- ImpersonationRoleId?: string;
262
+ ImpersonationRoleId?: string | undefined;
263
263
  }
264
264
  export declare const MobileDeviceAccessRuleEffect: {
265
265
  readonly ALLOW: "ALLOW";
@@ -269,41 +269,41 @@ export type MobileDeviceAccessRuleEffect =
269
269
  (typeof MobileDeviceAccessRuleEffect)[keyof typeof MobileDeviceAccessRuleEffect];
270
270
  export interface CreateMobileDeviceAccessRuleRequest {
271
271
  OrganizationId: string | undefined;
272
- ClientToken?: string;
272
+ ClientToken?: string | undefined;
273
273
  Name: string | undefined;
274
- Description?: string;
274
+ Description?: string | undefined;
275
275
  Effect: MobileDeviceAccessRuleEffect | undefined;
276
- DeviceTypes?: string[];
277
- NotDeviceTypes?: string[];
278
- DeviceModels?: string[];
279
- NotDeviceModels?: string[];
280
- DeviceOperatingSystems?: string[];
281
- NotDeviceOperatingSystems?: string[];
282
- DeviceUserAgents?: string[];
283
- NotDeviceUserAgents?: string[];
276
+ DeviceTypes?: string[] | undefined;
277
+ NotDeviceTypes?: string[] | undefined;
278
+ DeviceModels?: string[] | undefined;
279
+ NotDeviceModels?: string[] | undefined;
280
+ DeviceOperatingSystems?: string[] | undefined;
281
+ NotDeviceOperatingSystems?: string[] | undefined;
282
+ DeviceUserAgents?: string[] | undefined;
283
+ NotDeviceUserAgents?: string[] | undefined;
284
284
  }
285
285
  export interface CreateMobileDeviceAccessRuleResponse {
286
- MobileDeviceAccessRuleId?: string;
286
+ MobileDeviceAccessRuleId?: string | undefined;
287
287
  }
288
288
  export interface Domain {
289
289
  DomainName: string | undefined;
290
- HostedZoneId?: string;
290
+ HostedZoneId?: string | undefined;
291
291
  }
292
292
  export interface CreateOrganizationRequest {
293
- DirectoryId?: string;
293
+ DirectoryId?: string | undefined;
294
294
  Alias: string | undefined;
295
- ClientToken?: string;
296
- Domains?: Domain[];
297
- KmsKeyArn?: string;
298
- EnableInteroperability?: boolean;
295
+ ClientToken?: string | undefined;
296
+ Domains?: Domain[] | undefined;
297
+ KmsKeyArn?: string | undefined;
298
+ EnableInteroperability?: boolean | undefined;
299
299
  }
300
300
  export interface CreateOrganizationResponse {
301
- OrganizationId?: string;
301
+ OrganizationId?: string | undefined;
302
302
  }
303
303
  export declare class DirectoryInUseException extends __BaseException {
304
304
  readonly name: "DirectoryInUseException";
305
305
  readonly $fault: "client";
306
- Message?: string;
306
+ Message?: string | undefined;
307
307
  constructor(
308
308
  opts: __ExceptionOptionType<DirectoryInUseException, __BaseException>
309
309
  );
@@ -317,11 +317,11 @@ export interface CreateResourceRequest {
317
317
  OrganizationId: string | undefined;
318
318
  Name: string | undefined;
319
319
  Type: ResourceType | undefined;
320
- Description?: string;
321
- HiddenFromGlobalAddressList?: boolean;
320
+ Description?: string | undefined;
321
+ HiddenFromGlobalAddressList?: boolean | undefined;
322
322
  }
323
323
  export interface CreateResourceResponse {
324
- ResourceId?: string;
324
+ ResourceId?: string | undefined;
325
325
  }
326
326
  export declare const UserRole: {
327
327
  readonly REMOTE_USER: "REMOTE_USER";
@@ -334,20 +334,20 @@ export interface CreateUserRequest {
334
334
  OrganizationId: string | undefined;
335
335
  Name: string | undefined;
336
336
  DisplayName: string | undefined;
337
- Password?: string;
338
- Role?: UserRole;
339
- FirstName?: string;
340
- LastName?: string;
341
- HiddenFromGlobalAddressList?: boolean;
342
- IdentityProviderUserId?: string;
337
+ Password?: string | undefined;
338
+ Role?: UserRole | undefined;
339
+ FirstName?: string | undefined;
340
+ LastName?: string | undefined;
341
+ HiddenFromGlobalAddressList?: boolean | undefined;
342
+ IdentityProviderUserId?: string | undefined;
343
343
  }
344
344
  export interface CreateUserResponse {
345
- UserId?: string;
345
+ UserId?: string | undefined;
346
346
  }
347
347
  export declare class InvalidPasswordException extends __BaseException {
348
348
  readonly name: "InvalidPasswordException";
349
349
  readonly $fault: "client";
350
- Message?: string;
350
+ Message?: string | undefined;
351
351
  constructor(
352
352
  opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>
353
353
  );
@@ -417,15 +417,15 @@ export interface DeleteMobileDeviceAccessRuleRequest {
417
417
  }
418
418
  export interface DeleteMobileDeviceAccessRuleResponse {}
419
419
  export interface DeleteOrganizationRequest {
420
- ClientToken?: string;
420
+ ClientToken?: string | undefined;
421
421
  OrganizationId: string | undefined;
422
422
  DeleteDirectory: boolean | undefined;
423
- ForceDelete?: boolean;
424
- DeleteIdentityCenterApplication?: boolean;
423
+ ForceDelete?: boolean | undefined;
424
+ DeleteIdentityCenterApplication?: boolean | undefined;
425
425
  }
426
426
  export interface DeleteOrganizationResponse {
427
- OrganizationId?: string;
428
- State?: string;
427
+ OrganizationId?: string | undefined;
428
+ State?: string | undefined;
429
429
  }
430
430
  export interface DeletePersonalAccessTokenRequest {
431
431
  OrganizationId: string | undefined;
@@ -460,7 +460,7 @@ export interface DeregisterMailDomainResponse {}
460
460
  export declare class InvalidCustomSesConfigurationException extends __BaseException {
461
461
  readonly name: "InvalidCustomSesConfigurationException";
462
462
  readonly $fault: "client";
463
- Message?: string;
463
+ Message?: string | undefined;
464
464
  constructor(
465
465
  opts: __ExceptionOptionType<
466
466
  InvalidCustomSesConfigurationException,
@@ -471,7 +471,7 @@ export declare class InvalidCustomSesConfigurationException extends __BaseExcept
471
471
  export declare class MailDomainInUseException extends __BaseException {
472
472
  readonly name: "MailDomainInUseException";
473
473
  readonly $fault: "client";
474
- Message?: string;
474
+ Message?: string | undefined;
475
475
  constructor(
476
476
  opts: __ExceptionOptionType<MailDomainInUseException, __BaseException>
477
477
  );
@@ -480,8 +480,8 @@ export interface DescribeEmailMonitoringConfigurationRequest {
480
480
  OrganizationId: string | undefined;
481
481
  }
482
482
  export interface DescribeEmailMonitoringConfigurationResponse {
483
- RoleArn?: string;
484
- LogGroupArn?: string;
483
+ RoleArn?: string | undefined;
484
+ LogGroupArn?: string | undefined;
485
485
  }
486
486
  export interface DescribeEntityRequest {
487
487
  OrganizationId: string | undefined;
@@ -494,9 +494,9 @@ export declare const EntityType: {
494
494
  };
495
495
  export type EntityType = (typeof EntityType)[keyof typeof EntityType];
496
496
  export interface DescribeEntityResponse {
497
- EntityId?: string;
498
- Name?: string;
499
- Type?: EntityType;
497
+ EntityId?: string | undefined;
498
+ Name?: string | undefined;
499
+ Type?: EntityType | undefined;
500
500
  }
501
501
  export interface DescribeGroupRequest {
502
502
  OrganizationId: string | undefined;
@@ -509,13 +509,13 @@ export declare const EntityState: {
509
509
  };
510
510
  export type EntityState = (typeof EntityState)[keyof typeof EntityState];
511
511
  export interface DescribeGroupResponse {
512
- GroupId?: string;
513
- Name?: string;
514
- Email?: string;
515
- State?: EntityState;
516
- EnabledDate?: Date;
517
- DisabledDate?: Date;
518
- HiddenFromGlobalAddressList?: boolean;
512
+ GroupId?: string | undefined;
513
+ Name?: string | undefined;
514
+ Email?: string | undefined;
515
+ State?: EntityState | undefined;
516
+ EnabledDate?: Date | undefined;
517
+ DisabledDate?: Date | undefined;
518
+ HiddenFromGlobalAddressList?: boolean | undefined;
519
519
  }
520
520
  export interface DescribeIdentityProviderConfigurationRequest {
521
521
  OrganizationId: string | undefined;
@@ -538,18 +538,20 @@ export type PersonalAccessTokenConfigurationStatus =
538
538
  (typeof PersonalAccessTokenConfigurationStatus)[keyof typeof PersonalAccessTokenConfigurationStatus];
539
539
  export interface PersonalAccessTokenConfiguration {
540
540
  Status: PersonalAccessTokenConfigurationStatus | undefined;
541
- LifetimeInDays?: number;
541
+ LifetimeInDays?: number | undefined;
542
542
  }
543
543
  export interface DescribeIdentityProviderConfigurationResponse {
544
- AuthenticationMode?: IdentityProviderAuthenticationMode;
545
- IdentityCenterConfiguration?: IdentityCenterConfiguration;
546
- PersonalAccessTokenConfiguration?: PersonalAccessTokenConfiguration;
544
+ AuthenticationMode?: IdentityProviderAuthenticationMode | undefined;
545
+ IdentityCenterConfiguration?: IdentityCenterConfiguration | undefined;
546
+ PersonalAccessTokenConfiguration?:
547
+ | PersonalAccessTokenConfiguration
548
+ | undefined;
547
549
  }
548
550
  export interface DescribeInboundDmarcSettingsRequest {
549
551
  OrganizationId: string | undefined;
550
552
  }
551
553
  export interface DescribeInboundDmarcSettingsResponse {
552
- Enforced?: boolean;
554
+ Enforced?: boolean | undefined;
553
555
  }
554
556
  export interface DescribeMailboxExportJobRequest {
555
557
  JobId: string | undefined;
@@ -564,81 +566,81 @@ export declare const MailboxExportJobState: {
564
566
  export type MailboxExportJobState =
565
567
  (typeof MailboxExportJobState)[keyof typeof MailboxExportJobState];
566
568
  export interface DescribeMailboxExportJobResponse {
567
- EntityId?: string;
568
- Description?: string;
569
- RoleArn?: string;
570
- KmsKeyArn?: string;
571
- S3BucketName?: string;
572
- S3Prefix?: string;
573
- S3Path?: string;
574
- EstimatedProgress?: number;
575
- State?: MailboxExportJobState;
576
- ErrorInfo?: string;
577
- StartTime?: Date;
578
- EndTime?: Date;
569
+ EntityId?: string | undefined;
570
+ Description?: string | undefined;
571
+ RoleArn?: string | undefined;
572
+ KmsKeyArn?: string | undefined;
573
+ S3BucketName?: string | undefined;
574
+ S3Prefix?: string | undefined;
575
+ S3Path?: string | undefined;
576
+ EstimatedProgress?: number | undefined;
577
+ State?: MailboxExportJobState | undefined;
578
+ ErrorInfo?: string | undefined;
579
+ StartTime?: Date | undefined;
580
+ EndTime?: Date | undefined;
579
581
  }
580
582
  export interface DescribeOrganizationRequest {
581
583
  OrganizationId: string | undefined;
582
584
  }
583
585
  export interface DescribeOrganizationResponse {
584
- OrganizationId?: string;
585
- Alias?: string;
586
- State?: string;
587
- DirectoryId?: string;
588
- DirectoryType?: string;
589
- DefaultMailDomain?: string;
590
- CompletedDate?: Date;
591
- ErrorMessage?: string;
592
- ARN?: string;
593
- MigrationAdmin?: string;
594
- InteroperabilityEnabled?: boolean;
586
+ OrganizationId?: string | undefined;
587
+ Alias?: string | undefined;
588
+ State?: string | undefined;
589
+ DirectoryId?: string | undefined;
590
+ DirectoryType?: string | undefined;
591
+ DefaultMailDomain?: string | undefined;
592
+ CompletedDate?: Date | undefined;
593
+ ErrorMessage?: string | undefined;
594
+ ARN?: string | undefined;
595
+ MigrationAdmin?: string | undefined;
596
+ InteroperabilityEnabled?: boolean | undefined;
595
597
  }
596
598
  export interface DescribeResourceRequest {
597
599
  OrganizationId: string | undefined;
598
600
  ResourceId: string | undefined;
599
601
  }
600
602
  export interface DescribeResourceResponse {
601
- ResourceId?: string;
602
- Email?: string;
603
- Name?: string;
604
- Type?: ResourceType;
605
- BookingOptions?: BookingOptions;
606
- State?: EntityState;
607
- EnabledDate?: Date;
608
- DisabledDate?: Date;
609
- Description?: string;
610
- HiddenFromGlobalAddressList?: boolean;
603
+ ResourceId?: string | undefined;
604
+ Email?: string | undefined;
605
+ Name?: string | undefined;
606
+ Type?: ResourceType | undefined;
607
+ BookingOptions?: BookingOptions | undefined;
608
+ State?: EntityState | undefined;
609
+ EnabledDate?: Date | undefined;
610
+ DisabledDate?: Date | undefined;
611
+ Description?: string | undefined;
612
+ HiddenFromGlobalAddressList?: boolean | undefined;
611
613
  }
612
614
  export interface DescribeUserRequest {
613
615
  OrganizationId: string | undefined;
614
616
  UserId: string | undefined;
615
617
  }
616
618
  export interface DescribeUserResponse {
617
- UserId?: string;
618
- Name?: string;
619
- Email?: string;
620
- DisplayName?: string;
621
- State?: EntityState;
622
- UserRole?: UserRole;
623
- EnabledDate?: Date;
624
- DisabledDate?: Date;
625
- MailboxProvisionedDate?: Date;
626
- MailboxDeprovisionedDate?: Date;
627
- FirstName?: string;
628
- LastName?: string;
629
- HiddenFromGlobalAddressList?: boolean;
630
- Initials?: string;
631
- Telephone?: string;
632
- Street?: string;
633
- JobTitle?: string;
634
- City?: string;
635
- Company?: string;
636
- ZipCode?: string;
637
- Department?: string;
638
- Country?: string;
639
- Office?: string;
640
- IdentityProviderUserId?: string;
641
- IdentityProviderIdentityStoreId?: string;
619
+ UserId?: string | undefined;
620
+ Name?: string | undefined;
621
+ Email?: string | undefined;
622
+ DisplayName?: string | undefined;
623
+ State?: EntityState | undefined;
624
+ UserRole?: UserRole | undefined;
625
+ EnabledDate?: Date | undefined;
626
+ DisabledDate?: Date | undefined;
627
+ MailboxProvisionedDate?: Date | undefined;
628
+ MailboxDeprovisionedDate?: Date | undefined;
629
+ FirstName?: string | undefined;
630
+ LastName?: string | undefined;
631
+ HiddenFromGlobalAddressList?: boolean | undefined;
632
+ Initials?: string | undefined;
633
+ Telephone?: string | undefined;
634
+ Street?: string | undefined;
635
+ JobTitle?: string | undefined;
636
+ City?: string | undefined;
637
+ Company?: string | undefined;
638
+ ZipCode?: string | undefined;
639
+ Department?: string | undefined;
640
+ Country?: string | undefined;
641
+ Office?: string | undefined;
642
+ IdentityProviderUserId?: string | undefined;
643
+ IdentityProviderIdentityStoreId?: string | undefined;
642
644
  }
643
645
  export interface DisassociateDelegateFromResourceRequest {
644
646
  OrganizationId: string | undefined;
@@ -653,9 +655,9 @@ export interface DisassociateMemberFromGroupRequest {
653
655
  }
654
656
  export interface DisassociateMemberFromGroupResponse {}
655
657
  export interface DnsRecord {
656
- Type?: string;
657
- Hostname?: string;
658
- Value?: string;
658
+ Type?: string | undefined;
659
+ Hostname?: string | undefined;
660
+ Value?: string | undefined;
659
661
  }
660
662
  export declare const DnsRecordVerificationStatus: {
661
663
  readonly FAILED: "FAILED";
@@ -667,7 +669,7 @@ export type DnsRecordVerificationStatus =
667
669
  export declare class EntityAlreadyRegisteredException extends __BaseException {
668
670
  readonly name: "EntityAlreadyRegisteredException";
669
671
  readonly $fault: "client";
670
- Message?: string;
672
+ Message?: string | undefined;
671
673
  constructor(
672
674
  opts: __ExceptionOptionType<
673
675
  EntityAlreadyRegisteredException,
@@ -693,40 +695,40 @@ export type FolderName = (typeof FolderName)[keyof typeof FolderName];
693
695
  export interface FolderConfiguration {
694
696
  Name: FolderName | undefined;
695
697
  Action: RetentionAction | undefined;
696
- Period?: number;
698
+ Period?: number | undefined;
697
699
  }
698
700
  export interface GetAccessControlEffectRequest {
699
701
  OrganizationId: string | undefined;
700
702
  IpAddress: string | undefined;
701
703
  Action: string | undefined;
702
- UserId?: string;
703
- ImpersonationRoleId?: string;
704
+ UserId?: string | undefined;
705
+ ImpersonationRoleId?: string | undefined;
704
706
  }
705
707
  export interface GetAccessControlEffectResponse {
706
- Effect?: AccessControlRuleEffect;
707
- MatchedRules?: string[];
708
+ Effect?: AccessControlRuleEffect | undefined;
709
+ MatchedRules?: string[] | undefined;
708
710
  }
709
711
  export interface GetDefaultRetentionPolicyRequest {
710
712
  OrganizationId: string | undefined;
711
713
  }
712
714
  export interface GetDefaultRetentionPolicyResponse {
713
- Id?: string;
714
- Name?: string;
715
- Description?: string;
716
- FolderConfigurations?: FolderConfiguration[];
715
+ Id?: string | undefined;
716
+ Name?: string | undefined;
717
+ Description?: string | undefined;
718
+ FolderConfigurations?: FolderConfiguration[] | undefined;
717
719
  }
718
720
  export interface GetImpersonationRoleRequest {
719
721
  OrganizationId: string | undefined;
720
722
  ImpersonationRoleId: string | undefined;
721
723
  }
722
724
  export interface GetImpersonationRoleResponse {
723
- ImpersonationRoleId?: string;
724
- Name?: string;
725
- Type?: ImpersonationRoleType;
726
- Description?: string;
727
- Rules?: ImpersonationRule[];
728
- DateCreated?: Date;
729
- DateModified?: Date;
725
+ ImpersonationRoleId?: string | undefined;
726
+ Name?: string | undefined;
727
+ Type?: ImpersonationRoleType | undefined;
728
+ Description?: string | undefined;
729
+ Rules?: ImpersonationRule[] | undefined;
730
+ DateCreated?: Date | undefined;
731
+ DateModified?: Date | undefined;
730
732
  }
731
733
  export interface GetImpersonationRoleEffectRequest {
732
734
  OrganizationId: string | undefined;
@@ -734,47 +736,47 @@ export interface GetImpersonationRoleEffectRequest {
734
736
  TargetUser: string | undefined;
735
737
  }
736
738
  export interface ImpersonationMatchedRule {
737
- ImpersonationRuleId?: string;
738
- Name?: string;
739
+ ImpersonationRuleId?: string | undefined;
740
+ Name?: string | undefined;
739
741
  }
740
742
  export interface GetImpersonationRoleEffectResponse {
741
- Type?: ImpersonationRoleType;
742
- Effect?: AccessEffect;
743
- MatchedRules?: ImpersonationMatchedRule[];
743
+ Type?: ImpersonationRoleType | undefined;
744
+ Effect?: AccessEffect | undefined;
745
+ MatchedRules?: ImpersonationMatchedRule[] | undefined;
744
746
  }
745
747
  export interface GetMailboxDetailsRequest {
746
748
  OrganizationId: string | undefined;
747
749
  UserId: string | undefined;
748
750
  }
749
751
  export interface GetMailboxDetailsResponse {
750
- MailboxQuota?: number;
751
- MailboxSize?: number;
752
+ MailboxQuota?: number | undefined;
753
+ MailboxSize?: number | undefined;
752
754
  }
753
755
  export interface GetMailDomainRequest {
754
756
  OrganizationId: string | undefined;
755
757
  DomainName: string | undefined;
756
758
  }
757
759
  export interface GetMailDomainResponse {
758
- Records?: DnsRecord[];
759
- IsTestDomain?: boolean;
760
- IsDefault?: boolean;
761
- OwnershipVerificationStatus?: DnsRecordVerificationStatus;
762
- DkimVerificationStatus?: DnsRecordVerificationStatus;
760
+ Records?: DnsRecord[] | undefined;
761
+ IsTestDomain?: boolean | undefined;
762
+ IsDefault?: boolean | undefined;
763
+ OwnershipVerificationStatus?: DnsRecordVerificationStatus | undefined;
764
+ DkimVerificationStatus?: DnsRecordVerificationStatus | undefined;
763
765
  }
764
766
  export interface GetMobileDeviceAccessEffectRequest {
765
767
  OrganizationId: string | undefined;
766
- DeviceType?: string;
767
- DeviceModel?: string;
768
- DeviceOperatingSystem?: string;
769
- DeviceUserAgent?: string;
768
+ DeviceType?: string | undefined;
769
+ DeviceModel?: string | undefined;
770
+ DeviceOperatingSystem?: string | undefined;
771
+ DeviceUserAgent?: string | undefined;
770
772
  }
771
773
  export interface MobileDeviceAccessMatchedRule {
772
- MobileDeviceAccessRuleId?: string;
773
- Name?: string;
774
+ MobileDeviceAccessRuleId?: string | undefined;
775
+ Name?: string | undefined;
774
776
  }
775
777
  export interface GetMobileDeviceAccessEffectResponse {
776
- Effect?: MobileDeviceAccessRuleEffect;
777
- MatchedRules?: MobileDeviceAccessMatchedRule[];
778
+ Effect?: MobileDeviceAccessRuleEffect | undefined;
779
+ MatchedRules?: MobileDeviceAccessMatchedRule[] | undefined;
778
780
  }
779
781
  export interface GetMobileDeviceAccessOverrideRequest {
780
782
  OrganizationId: string | undefined;
@@ -782,159 +784,159 @@ export interface GetMobileDeviceAccessOverrideRequest {
782
784
  DeviceId: string | undefined;
783
785
  }
784
786
  export interface GetMobileDeviceAccessOverrideResponse {
785
- UserId?: string;
786
- DeviceId?: string;
787
- Effect?: MobileDeviceAccessRuleEffect;
788
- Description?: string;
789
- DateCreated?: Date;
790
- DateModified?: Date;
787
+ UserId?: string | undefined;
788
+ DeviceId?: string | undefined;
789
+ Effect?: MobileDeviceAccessRuleEffect | undefined;
790
+ Description?: string | undefined;
791
+ DateCreated?: Date | undefined;
792
+ DateModified?: Date | undefined;
791
793
  }
792
794
  export interface GetPersonalAccessTokenMetadataRequest {
793
795
  OrganizationId: string | undefined;
794
796
  PersonalAccessTokenId: string | undefined;
795
797
  }
796
798
  export interface GetPersonalAccessTokenMetadataResponse {
797
- PersonalAccessTokenId?: string;
798
- UserId?: string;
799
- Name?: string;
800
- DateCreated?: Date;
801
- DateLastUsed?: Date;
802
- ExpiresTime?: Date;
803
- Scopes?: string[];
799
+ PersonalAccessTokenId?: string | undefined;
800
+ UserId?: string | undefined;
801
+ Name?: string | undefined;
802
+ DateCreated?: Date | undefined;
803
+ DateLastUsed?: Date | undefined;
804
+ ExpiresTime?: Date | undefined;
805
+ Scopes?: string[] | undefined;
804
806
  }
805
807
  export interface Group {
806
- Id?: string;
807
- Email?: string;
808
- Name?: string;
809
- State?: EntityState;
810
- EnabledDate?: Date;
811
- DisabledDate?: Date;
808
+ Id?: string | undefined;
809
+ Email?: string | undefined;
810
+ Name?: string | undefined;
811
+ State?: EntityState | undefined;
812
+ EnabledDate?: Date | undefined;
813
+ DisabledDate?: Date | undefined;
812
814
  }
813
815
  export interface GroupIdentifier {
814
- GroupId?: string;
815
- GroupName?: string;
816
+ GroupId?: string | undefined;
817
+ GroupName?: string | undefined;
816
818
  }
817
819
  export interface ImpersonationRole {
818
- ImpersonationRoleId?: string;
819
- Name?: string;
820
- Type?: ImpersonationRoleType;
821
- DateCreated?: Date;
822
- DateModified?: Date;
820
+ ImpersonationRoleId?: string | undefined;
821
+ Name?: string | undefined;
822
+ Type?: ImpersonationRoleType | undefined;
823
+ DateCreated?: Date | undefined;
824
+ DateModified?: Date | undefined;
823
825
  }
824
826
  export declare class InvalidConfigurationException extends __BaseException {
825
827
  readonly name: "InvalidConfigurationException";
826
828
  readonly $fault: "client";
827
- Message?: string;
829
+ Message?: string | undefined;
828
830
  constructor(
829
831
  opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>
830
832
  );
831
833
  }
832
834
  export interface MailboxExportJob {
833
- JobId?: string;
834
- EntityId?: string;
835
- Description?: string;
836
- S3BucketName?: string;
837
- S3Path?: string;
838
- EstimatedProgress?: number;
839
- State?: MailboxExportJobState;
840
- StartTime?: Date;
841
- EndTime?: Date;
835
+ JobId?: string | undefined;
836
+ EntityId?: string | undefined;
837
+ Description?: string | undefined;
838
+ S3BucketName?: string | undefined;
839
+ S3Path?: string | undefined;
840
+ EstimatedProgress?: number | undefined;
841
+ State?: MailboxExportJobState | undefined;
842
+ StartTime?: Date | undefined;
843
+ EndTime?: Date | undefined;
842
844
  }
843
845
  export interface ListAccessControlRulesRequest {
844
846
  OrganizationId: string | undefined;
845
847
  }
846
848
  export interface ListAccessControlRulesResponse {
847
- Rules?: AccessControlRule[];
849
+ Rules?: AccessControlRule[] | undefined;
848
850
  }
849
851
  export interface ListAliasesRequest {
850
852
  OrganizationId: string | undefined;
851
853
  EntityId: string | undefined;
852
- NextToken?: string;
853
- MaxResults?: number;
854
+ NextToken?: string | undefined;
855
+ MaxResults?: number | undefined;
854
856
  }
855
857
  export interface ListAliasesResponse {
856
- Aliases?: string[];
857
- NextToken?: string;
858
+ Aliases?: string[] | undefined;
859
+ NextToken?: string | undefined;
858
860
  }
859
861
  export interface ListAvailabilityConfigurationsRequest {
860
862
  OrganizationId: string | undefined;
861
- MaxResults?: number;
862
- NextToken?: string;
863
+ MaxResults?: number | undefined;
864
+ NextToken?: string | undefined;
863
865
  }
864
866
  export interface ListAvailabilityConfigurationsResponse {
865
- AvailabilityConfigurations?: AvailabilityConfiguration[];
866
- NextToken?: string;
867
+ AvailabilityConfigurations?: AvailabilityConfiguration[] | undefined;
868
+ NextToken?: string | undefined;
867
869
  }
868
870
  export interface ListGroupMembersRequest {
869
871
  OrganizationId: string | undefined;
870
872
  GroupId: string | undefined;
871
- NextToken?: string;
872
- MaxResults?: number;
873
+ NextToken?: string | undefined;
874
+ MaxResults?: number | undefined;
873
875
  }
874
876
  export interface Member {
875
- Id?: string;
876
- Name?: string;
877
- Type?: MemberType;
878
- State?: EntityState;
879
- EnabledDate?: Date;
880
- DisabledDate?: Date;
877
+ Id?: string | undefined;
878
+ Name?: string | undefined;
879
+ Type?: MemberType | undefined;
880
+ State?: EntityState | undefined;
881
+ EnabledDate?: Date | undefined;
882
+ DisabledDate?: Date | undefined;
881
883
  }
882
884
  export interface ListGroupMembersResponse {
883
- Members?: Member[];
884
- NextToken?: string;
885
+ Members?: Member[] | undefined;
886
+ NextToken?: string | undefined;
885
887
  }
886
888
  export interface ListGroupsFilters {
887
- NamePrefix?: string;
888
- PrimaryEmailPrefix?: string;
889
- State?: EntityState;
889
+ NamePrefix?: string | undefined;
890
+ PrimaryEmailPrefix?: string | undefined;
891
+ State?: EntityState | undefined;
890
892
  }
891
893
  export interface ListGroupsRequest {
892
894
  OrganizationId: string | undefined;
893
- NextToken?: string;
894
- MaxResults?: number;
895
- Filters?: ListGroupsFilters;
895
+ NextToken?: string | undefined;
896
+ MaxResults?: number | undefined;
897
+ Filters?: ListGroupsFilters | undefined;
896
898
  }
897
899
  export interface ListGroupsResponse {
898
- Groups?: Group[];
899
- NextToken?: string;
900
+ Groups?: Group[] | undefined;
901
+ NextToken?: string | undefined;
900
902
  }
901
903
  export interface ListGroupsForEntityFilters {
902
- GroupNamePrefix?: string;
904
+ GroupNamePrefix?: string | undefined;
903
905
  }
904
906
  export interface ListGroupsForEntityRequest {
905
907
  OrganizationId: string | undefined;
906
908
  EntityId: string | undefined;
907
- Filters?: ListGroupsForEntityFilters;
908
- NextToken?: string;
909
- MaxResults?: number;
909
+ Filters?: ListGroupsForEntityFilters | undefined;
910
+ NextToken?: string | undefined;
911
+ MaxResults?: number | undefined;
910
912
  }
911
913
  export interface ListGroupsForEntityResponse {
912
- Groups?: GroupIdentifier[];
913
- NextToken?: string;
914
+ Groups?: GroupIdentifier[] | undefined;
915
+ NextToken?: string | undefined;
914
916
  }
915
917
  export interface ListImpersonationRolesRequest {
916
918
  OrganizationId: string | undefined;
917
- NextToken?: string;
918
- MaxResults?: number;
919
+ NextToken?: string | undefined;
920
+ MaxResults?: number | undefined;
919
921
  }
920
922
  export interface ListImpersonationRolesResponse {
921
- Roles?: ImpersonationRole[];
922
- NextToken?: string;
923
+ Roles?: ImpersonationRole[] | undefined;
924
+ NextToken?: string | undefined;
923
925
  }
924
926
  export interface ListMailboxExportJobsRequest {
925
927
  OrganizationId: string | undefined;
926
- NextToken?: string;
927
- MaxResults?: number;
928
+ NextToken?: string | undefined;
929
+ MaxResults?: number | undefined;
928
930
  }
929
931
  export interface ListMailboxExportJobsResponse {
930
- Jobs?: MailboxExportJob[];
931
- NextToken?: string;
932
+ Jobs?: MailboxExportJob[] | undefined;
933
+ NextToken?: string | undefined;
932
934
  }
933
935
  export interface ListMailboxPermissionsRequest {
934
936
  OrganizationId: string | undefined;
935
937
  EntityId: string | undefined;
936
- NextToken?: string;
937
- MaxResults?: number;
938
+ NextToken?: string | undefined;
939
+ MaxResults?: number | undefined;
938
940
  }
939
941
  export declare const PermissionType: {
940
942
  readonly FULL_ACCESS: "FULL_ACCESS";
@@ -949,131 +951,131 @@ export interface Permission {
949
951
  PermissionValues: PermissionType[] | undefined;
950
952
  }
951
953
  export interface ListMailboxPermissionsResponse {
952
- Permissions?: Permission[];
953
- NextToken?: string;
954
+ Permissions?: Permission[] | undefined;
955
+ NextToken?: string | undefined;
954
956
  }
955
957
  export interface ListMailDomainsRequest {
956
958
  OrganizationId: string | undefined;
957
- MaxResults?: number;
958
- NextToken?: string;
959
+ MaxResults?: number | undefined;
960
+ NextToken?: string | undefined;
959
961
  }
960
962
  export interface MailDomainSummary {
961
- DomainName?: string;
962
- DefaultDomain?: boolean;
963
+ DomainName?: string | undefined;
964
+ DefaultDomain?: boolean | undefined;
963
965
  }
964
966
  export interface ListMailDomainsResponse {
965
- MailDomains?: MailDomainSummary[];
966
- NextToken?: string;
967
+ MailDomains?: MailDomainSummary[] | undefined;
968
+ NextToken?: string | undefined;
967
969
  }
968
970
  export interface ListMobileDeviceAccessOverridesRequest {
969
971
  OrganizationId: string | undefined;
970
- UserId?: string;
971
- DeviceId?: string;
972
- NextToken?: string;
973
- MaxResults?: number;
972
+ UserId?: string | undefined;
973
+ DeviceId?: string | undefined;
974
+ NextToken?: string | undefined;
975
+ MaxResults?: number | undefined;
974
976
  }
975
977
  export interface MobileDeviceAccessOverride {
976
- UserId?: string;
977
- DeviceId?: string;
978
- Effect?: MobileDeviceAccessRuleEffect;
979
- Description?: string;
980
- DateCreated?: Date;
981
- DateModified?: Date;
978
+ UserId?: string | undefined;
979
+ DeviceId?: string | undefined;
980
+ Effect?: MobileDeviceAccessRuleEffect | undefined;
981
+ Description?: string | undefined;
982
+ DateCreated?: Date | undefined;
983
+ DateModified?: Date | undefined;
982
984
  }
983
985
  export interface ListMobileDeviceAccessOverridesResponse {
984
- Overrides?: MobileDeviceAccessOverride[];
985
- NextToken?: string;
986
+ Overrides?: MobileDeviceAccessOverride[] | undefined;
987
+ NextToken?: string | undefined;
986
988
  }
987
989
  export interface ListMobileDeviceAccessRulesRequest {
988
990
  OrganizationId: string | undefined;
989
991
  }
990
992
  export interface MobileDeviceAccessRule {
991
- MobileDeviceAccessRuleId?: string;
992
- Name?: string;
993
- Description?: string;
994
- Effect?: MobileDeviceAccessRuleEffect;
995
- DeviceTypes?: string[];
996
- NotDeviceTypes?: string[];
997
- DeviceModels?: string[];
998
- NotDeviceModels?: string[];
999
- DeviceOperatingSystems?: string[];
1000
- NotDeviceOperatingSystems?: string[];
1001
- DeviceUserAgents?: string[];
1002
- NotDeviceUserAgents?: string[];
1003
- DateCreated?: Date;
1004
- DateModified?: Date;
993
+ MobileDeviceAccessRuleId?: string | undefined;
994
+ Name?: string | undefined;
995
+ Description?: string | undefined;
996
+ Effect?: MobileDeviceAccessRuleEffect | undefined;
997
+ DeviceTypes?: string[] | undefined;
998
+ NotDeviceTypes?: string[] | undefined;
999
+ DeviceModels?: string[] | undefined;
1000
+ NotDeviceModels?: string[] | undefined;
1001
+ DeviceOperatingSystems?: string[] | undefined;
1002
+ NotDeviceOperatingSystems?: string[] | undefined;
1003
+ DeviceUserAgents?: string[] | undefined;
1004
+ NotDeviceUserAgents?: string[] | undefined;
1005
+ DateCreated?: Date | undefined;
1006
+ DateModified?: Date | undefined;
1005
1007
  }
1006
1008
  export interface ListMobileDeviceAccessRulesResponse {
1007
- Rules?: MobileDeviceAccessRule[];
1009
+ Rules?: MobileDeviceAccessRule[] | undefined;
1008
1010
  }
1009
1011
  export interface ListOrganizationsRequest {
1010
- NextToken?: string;
1011
- MaxResults?: number;
1012
+ NextToken?: string | undefined;
1013
+ MaxResults?: number | undefined;
1012
1014
  }
1013
1015
  export interface OrganizationSummary {
1014
- OrganizationId?: string;
1015
- Alias?: string;
1016
- DefaultMailDomain?: string;
1017
- ErrorMessage?: string;
1018
- State?: string;
1016
+ OrganizationId?: string | undefined;
1017
+ Alias?: string | undefined;
1018
+ DefaultMailDomain?: string | undefined;
1019
+ ErrorMessage?: string | undefined;
1020
+ State?: string | undefined;
1019
1021
  }
1020
1022
  export interface ListOrganizationsResponse {
1021
- OrganizationSummaries?: OrganizationSummary[];
1022
- NextToken?: string;
1023
+ OrganizationSummaries?: OrganizationSummary[] | undefined;
1024
+ NextToken?: string | undefined;
1023
1025
  }
1024
1026
  export interface ListPersonalAccessTokensRequest {
1025
1027
  OrganizationId: string | undefined;
1026
- UserId?: string;
1027
- NextToken?: string;
1028
- MaxResults?: number;
1028
+ UserId?: string | undefined;
1029
+ NextToken?: string | undefined;
1030
+ MaxResults?: number | undefined;
1029
1031
  }
1030
1032
  export interface PersonalAccessTokenSummary {
1031
- PersonalAccessTokenId?: string;
1032
- UserId?: string;
1033
- Name?: string;
1034
- DateCreated?: Date;
1035
- DateLastUsed?: Date;
1036
- ExpiresTime?: Date;
1037
- Scopes?: string[];
1033
+ PersonalAccessTokenId?: string | undefined;
1034
+ UserId?: string | undefined;
1035
+ Name?: string | undefined;
1036
+ DateCreated?: Date | undefined;
1037
+ DateLastUsed?: Date | undefined;
1038
+ ExpiresTime?: Date | undefined;
1039
+ Scopes?: string[] | undefined;
1038
1040
  }
1039
1041
  export interface ListPersonalAccessTokensResponse {
1040
- NextToken?: string;
1041
- PersonalAccessTokenSummaries?: PersonalAccessTokenSummary[];
1042
+ NextToken?: string | undefined;
1043
+ PersonalAccessTokenSummaries?: PersonalAccessTokenSummary[] | undefined;
1042
1044
  }
1043
1045
  export interface ListResourceDelegatesRequest {
1044
1046
  OrganizationId: string | undefined;
1045
1047
  ResourceId: string | undefined;
1046
- NextToken?: string;
1047
- MaxResults?: number;
1048
+ NextToken?: string | undefined;
1049
+ MaxResults?: number | undefined;
1048
1050
  }
1049
1051
  export interface ListResourceDelegatesResponse {
1050
- Delegates?: Delegate[];
1051
- NextToken?: string;
1052
+ Delegates?: Delegate[] | undefined;
1053
+ NextToken?: string | undefined;
1052
1054
  }
1053
1055
  export interface ListResourcesFilters {
1054
- NamePrefix?: string;
1055
- PrimaryEmailPrefix?: string;
1056
- State?: EntityState;
1056
+ NamePrefix?: string | undefined;
1057
+ PrimaryEmailPrefix?: string | undefined;
1058
+ State?: EntityState | undefined;
1057
1059
  }
1058
1060
  export interface ListResourcesRequest {
1059
1061
  OrganizationId: string | undefined;
1060
- NextToken?: string;
1061
- MaxResults?: number;
1062
- Filters?: ListResourcesFilters;
1062
+ NextToken?: string | undefined;
1063
+ MaxResults?: number | undefined;
1064
+ Filters?: ListResourcesFilters | undefined;
1063
1065
  }
1064
1066
  export interface Resource {
1065
- Id?: string;
1066
- Email?: string;
1067
- Name?: string;
1068
- Type?: ResourceType;
1069
- State?: EntityState;
1070
- EnabledDate?: Date;
1071
- DisabledDate?: Date;
1072
- Description?: string;
1067
+ Id?: string | undefined;
1068
+ Email?: string | undefined;
1069
+ Name?: string | undefined;
1070
+ Type?: ResourceType | undefined;
1071
+ State?: EntityState | undefined;
1072
+ EnabledDate?: Date | undefined;
1073
+ DisabledDate?: Date | undefined;
1074
+ Description?: string | undefined;
1073
1075
  }
1074
1076
  export interface ListResourcesResponse {
1075
- Resources?: Resource[];
1076
- NextToken?: string;
1077
+ Resources?: Resource[] | undefined;
1078
+ NextToken?: string | undefined;
1077
1079
  }
1078
1080
  export interface ListTagsForResourceRequest {
1079
1081
  ResourceARN: string | undefined;
@@ -1083,50 +1085,50 @@ export interface Tag {
1083
1085
  Value: string | undefined;
1084
1086
  }
1085
1087
  export interface ListTagsForResourceResponse {
1086
- Tags?: Tag[];
1088
+ Tags?: Tag[] | undefined;
1087
1089
  }
1088
1090
  export interface ListUsersFilters {
1089
- UsernamePrefix?: string;
1090
- DisplayNamePrefix?: string;
1091
- PrimaryEmailPrefix?: string;
1092
- State?: EntityState;
1093
- IdentityProviderUserIdPrefix?: string;
1091
+ UsernamePrefix?: string | undefined;
1092
+ DisplayNamePrefix?: string | undefined;
1093
+ PrimaryEmailPrefix?: string | undefined;
1094
+ State?: EntityState | undefined;
1095
+ IdentityProviderUserIdPrefix?: string | undefined;
1094
1096
  }
1095
1097
  export interface ListUsersRequest {
1096
1098
  OrganizationId: string | undefined;
1097
- NextToken?: string;
1098
- MaxResults?: number;
1099
- Filters?: ListUsersFilters;
1099
+ NextToken?: string | undefined;
1100
+ MaxResults?: number | undefined;
1101
+ Filters?: ListUsersFilters | undefined;
1100
1102
  }
1101
1103
  export interface User {
1102
- Id?: string;
1103
- Email?: string;
1104
- Name?: string;
1105
- DisplayName?: string;
1106
- State?: EntityState;
1107
- UserRole?: UserRole;
1108
- EnabledDate?: Date;
1109
- DisabledDate?: Date;
1110
- IdentityProviderUserId?: string;
1111
- IdentityProviderIdentityStoreId?: string;
1104
+ Id?: string | undefined;
1105
+ Email?: string | undefined;
1106
+ Name?: string | undefined;
1107
+ DisplayName?: string | undefined;
1108
+ State?: EntityState | undefined;
1109
+ UserRole?: UserRole | undefined;
1110
+ EnabledDate?: Date | undefined;
1111
+ DisabledDate?: Date | undefined;
1112
+ IdentityProviderUserId?: string | undefined;
1113
+ IdentityProviderIdentityStoreId?: string | undefined;
1112
1114
  }
1113
1115
  export interface ListUsersResponse {
1114
- Users?: User[];
1115
- NextToken?: string;
1116
+ Users?: User[] | undefined;
1117
+ NextToken?: string | undefined;
1116
1118
  }
1117
1119
  export interface PutAccessControlRuleRequest {
1118
1120
  Name: string | undefined;
1119
1121
  Effect: AccessControlRuleEffect | undefined;
1120
1122
  Description: string | undefined;
1121
- IpRanges?: string[];
1122
- NotIpRanges?: string[];
1123
- Actions?: string[];
1124
- NotActions?: string[];
1125
- UserIds?: string[];
1126
- NotUserIds?: string[];
1123
+ IpRanges?: string[] | undefined;
1124
+ NotIpRanges?: string[] | undefined;
1125
+ Actions?: string[] | undefined;
1126
+ NotActions?: string[] | undefined;
1127
+ UserIds?: string[] | undefined;
1128
+ NotUserIds?: string[] | undefined;
1127
1129
  OrganizationId: string | undefined;
1128
- ImpersonationRoleIds?: string[];
1129
- NotImpersonationRoleIds?: string[];
1130
+ ImpersonationRoleIds?: string[] | undefined;
1131
+ NotImpersonationRoleIds?: string[] | undefined;
1130
1132
  }
1131
1133
  export interface PutAccessControlRuleResponse {}
1132
1134
  export interface PutEmailMonitoringConfigurationRequest {
@@ -1161,19 +1163,19 @@ export interface PutMobileDeviceAccessOverrideRequest {
1161
1163
  UserId: string | undefined;
1162
1164
  DeviceId: string | undefined;
1163
1165
  Effect: MobileDeviceAccessRuleEffect | undefined;
1164
- Description?: string;
1166
+ Description?: string | undefined;
1165
1167
  }
1166
1168
  export interface PutMobileDeviceAccessOverrideResponse {}
1167
1169
  export interface PutRetentionPolicyRequest {
1168
1170
  OrganizationId: string | undefined;
1169
- Id?: string;
1171
+ Id?: string | undefined;
1170
1172
  Name: string | undefined;
1171
- Description?: string;
1173
+ Description?: string | undefined;
1172
1174
  FolderConfigurations: FolderConfiguration[] | undefined;
1173
1175
  }
1174
1176
  export interface PutRetentionPolicyResponse {}
1175
1177
  export interface RegisterMailDomainRequest {
1176
- ClientToken?: string;
1178
+ ClientToken?: string | undefined;
1177
1179
  OrganizationId: string | undefined;
1178
1180
  DomainName: string | undefined;
1179
1181
  }
@@ -1191,17 +1193,17 @@ export interface ResetPasswordRequest {
1191
1193
  }
1192
1194
  export interface ResetPasswordResponse {}
1193
1195
  export interface StartMailboxExportJobRequest {
1194
- ClientToken?: string;
1196
+ ClientToken?: string | undefined;
1195
1197
  OrganizationId: string | undefined;
1196
1198
  EntityId: string | undefined;
1197
- Description?: string;
1199
+ Description?: string | undefined;
1198
1200
  RoleArn: string | undefined;
1199
1201
  KmsKeyArn: string | undefined;
1200
1202
  S3BucketName: string | undefined;
1201
1203
  S3Prefix: string | undefined;
1202
1204
  }
1203
1205
  export interface StartMailboxExportJobResponse {
1204
- JobId?: string;
1206
+ JobId?: string | undefined;
1205
1207
  }
1206
1208
  export interface TagResourceRequest {
1207
1209
  ResourceARN: string | undefined;
@@ -1211,20 +1213,20 @@ export interface TagResourceResponse {}
1211
1213
  export declare class TooManyTagsException extends __BaseException {
1212
1214
  readonly name: "TooManyTagsException";
1213
1215
  readonly $fault: "client";
1214
- Message?: string;
1216
+ Message?: string | undefined;
1215
1217
  constructor(
1216
1218
  opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
1217
1219
  );
1218
1220
  }
1219
1221
  export interface TestAvailabilityConfigurationRequest {
1220
1222
  OrganizationId: string | undefined;
1221
- DomainName?: string;
1222
- EwsProvider?: EwsAvailabilityProvider;
1223
- LambdaProvider?: LambdaAvailabilityProvider;
1223
+ DomainName?: string | undefined;
1224
+ EwsProvider?: EwsAvailabilityProvider | undefined;
1225
+ LambdaProvider?: LambdaAvailabilityProvider | undefined;
1224
1226
  }
1225
1227
  export interface TestAvailabilityConfigurationResponse {
1226
- TestPassed?: boolean;
1227
- FailureReason?: string;
1228
+ TestPassed?: boolean | undefined;
1229
+ FailureReason?: string | undefined;
1228
1230
  }
1229
1231
  export interface UntagResourceRequest {
1230
1232
  ResourceARN: string | undefined;
@@ -1234,8 +1236,8 @@ export interface UntagResourceResponse {}
1234
1236
  export interface UpdateAvailabilityConfigurationRequest {
1235
1237
  OrganizationId: string | undefined;
1236
1238
  DomainName: string | undefined;
1237
- EwsProvider?: EwsAvailabilityProvider;
1238
- LambdaProvider?: LambdaAvailabilityProvider;
1239
+ EwsProvider?: EwsAvailabilityProvider | undefined;
1240
+ LambdaProvider?: LambdaAvailabilityProvider | undefined;
1239
1241
  }
1240
1242
  export interface UpdateAvailabilityConfigurationResponse {}
1241
1243
  export interface UpdateDefaultMailDomainRequest {
@@ -1246,7 +1248,7 @@ export interface UpdateDefaultMailDomainResponse {}
1246
1248
  export interface UpdateGroupRequest {
1247
1249
  OrganizationId: string | undefined;
1248
1250
  GroupId: string | undefined;
1249
- HiddenFromGlobalAddressList?: boolean;
1251
+ HiddenFromGlobalAddressList?: boolean | undefined;
1250
1252
  }
1251
1253
  export interface UpdateGroupResponse {}
1252
1254
  export interface UpdateImpersonationRoleRequest {
@@ -1254,7 +1256,7 @@ export interface UpdateImpersonationRoleRequest {
1254
1256
  ImpersonationRoleId: string | undefined;
1255
1257
  Name: string | undefined;
1256
1258
  Type: ImpersonationRoleType | undefined;
1257
- Description?: string;
1259
+ Description?: string | undefined;
1258
1260
  Rules: ImpersonationRule[] | undefined;
1259
1261
  }
1260
1262
  export interface UpdateImpersonationRoleResponse {}
@@ -1268,16 +1270,16 @@ export interface UpdateMobileDeviceAccessRuleRequest {
1268
1270
  OrganizationId: string | undefined;
1269
1271
  MobileDeviceAccessRuleId: string | undefined;
1270
1272
  Name: string | undefined;
1271
- Description?: string;
1273
+ Description?: string | undefined;
1272
1274
  Effect: MobileDeviceAccessRuleEffect | undefined;
1273
- DeviceTypes?: string[];
1274
- NotDeviceTypes?: string[];
1275
- DeviceModels?: string[];
1276
- NotDeviceModels?: string[];
1277
- DeviceOperatingSystems?: string[];
1278
- NotDeviceOperatingSystems?: string[];
1279
- DeviceUserAgents?: string[];
1280
- NotDeviceUserAgents?: string[];
1275
+ DeviceTypes?: string[] | undefined;
1276
+ NotDeviceTypes?: string[] | undefined;
1277
+ DeviceModels?: string[] | undefined;
1278
+ NotDeviceModels?: string[] | undefined;
1279
+ DeviceOperatingSystems?: string[] | undefined;
1280
+ NotDeviceOperatingSystems?: string[] | undefined;
1281
+ DeviceUserAgents?: string[] | undefined;
1282
+ NotDeviceUserAgents?: string[] | undefined;
1281
1283
  }
1282
1284
  export interface UpdateMobileDeviceAccessRuleResponse {}
1283
1285
  export interface UpdatePrimaryEmailAddressRequest {
@@ -1289,32 +1291,32 @@ export interface UpdatePrimaryEmailAddressResponse {}
1289
1291
  export interface UpdateResourceRequest {
1290
1292
  OrganizationId: string | undefined;
1291
1293
  ResourceId: string | undefined;
1292
- Name?: string;
1293
- BookingOptions?: BookingOptions;
1294
- Description?: string;
1295
- Type?: ResourceType;
1296
- HiddenFromGlobalAddressList?: boolean;
1294
+ Name?: string | undefined;
1295
+ BookingOptions?: BookingOptions | undefined;
1296
+ Description?: string | undefined;
1297
+ Type?: ResourceType | undefined;
1298
+ HiddenFromGlobalAddressList?: boolean | undefined;
1297
1299
  }
1298
1300
  export interface UpdateResourceResponse {}
1299
1301
  export interface UpdateUserRequest {
1300
1302
  OrganizationId: string | undefined;
1301
1303
  UserId: string | undefined;
1302
- Role?: UserRole;
1303
- DisplayName?: string;
1304
- FirstName?: string;
1305
- LastName?: string;
1306
- HiddenFromGlobalAddressList?: boolean;
1307
- Initials?: string;
1308
- Telephone?: string;
1309
- Street?: string;
1310
- JobTitle?: string;
1311
- City?: string;
1312
- Company?: string;
1313
- ZipCode?: string;
1314
- Department?: string;
1315
- Country?: string;
1316
- Office?: string;
1317
- IdentityProviderUserId?: string;
1304
+ Role?: UserRole | undefined;
1305
+ DisplayName?: string | undefined;
1306
+ FirstName?: string | undefined;
1307
+ LastName?: string | undefined;
1308
+ HiddenFromGlobalAddressList?: boolean | undefined;
1309
+ Initials?: string | undefined;
1310
+ Telephone?: string | undefined;
1311
+ Street?: string | undefined;
1312
+ JobTitle?: string | undefined;
1313
+ City?: string | undefined;
1314
+ Company?: string | undefined;
1315
+ ZipCode?: string | undefined;
1316
+ Department?: string | undefined;
1317
+ Country?: string | undefined;
1318
+ Office?: string | undefined;
1319
+ IdentityProviderUserId?: string | undefined;
1318
1320
  }
1319
1321
  export interface UpdateUserResponse {}
1320
1322
  export declare const EwsAvailabilityProviderFilterSensitiveLog: (