@aws-sdk/client-workmail 3.428.0 → 3.429.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.
@@ -26,7 +26,7 @@ export interface AccessControlRule {
26
26
  * @public
27
27
  * <p>The rule effect.</p>
28
28
  */
29
- Effect?: AccessControlRuleEffect | string;
29
+ Effect?: AccessControlRuleEffect;
30
30
  /**
31
31
  * @public
32
32
  * <p>The rule description.</p>
@@ -403,7 +403,7 @@ export interface AvailabilityConfiguration {
403
403
  * @public
404
404
  * <p>Displays the provider type that applies to this domain.</p>
405
405
  */
406
- ProviderType?: AvailabilityProviderType | string;
406
+ ProviderType?: AvailabilityProviderType;
407
407
  /**
408
408
  * @public
409
409
  * <p>If <code>ProviderType</code> is <code>EWS</code>, then this field contains
@@ -691,7 +691,7 @@ export interface ImpersonationRule {
691
691
  * <p>The effect of the rule when it matches the input. Allowed effect values are
692
692
  * <code>ALLOW</code> or <code>DENY</code>.</p>
693
693
  */
694
- Effect: AccessEffect | string | undefined;
694
+ Effect: AccessEffect | undefined;
695
695
  /**
696
696
  * @public
697
697
  * <p>A list of user IDs that match the rule.</p>
@@ -739,7 +739,7 @@ export interface CreateImpersonationRoleRequest {
739
739
  * <p>The impersonation role's type. The available impersonation role types are
740
740
  * <code>READ_ONLY</code> or <code>FULL_ACCESS</code>.</p>
741
741
  */
742
- Type: ImpersonationRoleType | string | undefined;
742
+ Type: ImpersonationRoleType | undefined;
743
743
  /**
744
744
  * @public
745
745
  * <p>The description of the new impersonation role.</p>
@@ -801,7 +801,7 @@ export interface CreateMobileDeviceAccessRuleRequest {
801
801
  * @public
802
802
  * <p>The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.</p>
803
803
  */
804
- Effect: MobileDeviceAccessRuleEffect | string | undefined;
804
+ Effect: MobileDeviceAccessRuleEffect | undefined;
805
805
  /**
806
806
  * @public
807
807
  * <p>Device types that the rule will match.</p>
@@ -962,7 +962,7 @@ export interface CreateResourceRequest {
962
962
  * <p>The type of the new resource. The available types are <code>equipment</code> and
963
963
  * <code>room</code>.</p>
964
964
  */
965
- Type: ResourceType | string | undefined;
965
+ Type: ResourceType | undefined;
966
966
  /**
967
967
  * @public
968
968
  * <p>Resource description.</p>
@@ -1027,7 +1027,7 @@ export interface CreateUserRequest {
1027
1027
  * <p>The role of the new user.</p>
1028
1028
  * <p>You cannot pass <i>SYSTEM_USER</i> or <i>RESOURCE</i> role in a single request. When a user role is not selected, the default role of <i>USER</i> is selected.</p>
1029
1029
  */
1030
- Role?: UserRole | string;
1030
+ Role?: UserRole;
1031
1031
  /**
1032
1032
  * @public
1033
1033
  * <p>The first name of the new user.</p>
@@ -1095,7 +1095,7 @@ export interface Delegate {
1095
1095
  * @public
1096
1096
  * <p>The type of the delegate: user or group.</p>
1097
1097
  */
1098
- Type: MemberType | string | undefined;
1098
+ Type: MemberType | undefined;
1099
1099
  }
1100
1100
  /**
1101
1101
  * @public
@@ -1606,7 +1606,7 @@ export interface DescribeEntityResponse {
1606
1606
  * @public
1607
1607
  * <p>Entity type.</p>
1608
1608
  */
1609
- Type?: EntityType | string;
1609
+ Type?: EntityType;
1610
1610
  }
1611
1611
  /**
1612
1612
  * @public
@@ -1672,7 +1672,7 @@ export interface DescribeGroupResponse {
1672
1672
  * <p>The state of the user: enabled (registered to WorkMail) or disabled (deregistered or
1673
1673
  * never registered to WorkMail).</p>
1674
1674
  */
1675
- State?: EntityState | string;
1675
+ State?: EntityState;
1676
1676
  /**
1677
1677
  * @public
1678
1678
  * <p>The date and time when a user was registered to WorkMail, in UNIX epoch time
@@ -1791,7 +1791,7 @@ export interface DescribeMailboxExportJobResponse {
1791
1791
  * @public
1792
1792
  * <p>The state of the mailbox export job.</p>
1793
1793
  */
1794
- State?: MailboxExportJobState | string;
1794
+ State?: MailboxExportJobState;
1795
1795
  /**
1796
1796
  * @public
1797
1797
  * <p>Error information for failed mailbox export jobs.</p>
@@ -1931,7 +1931,7 @@ export interface DescribeResourceResponse {
1931
1931
  * @public
1932
1932
  * <p>The type of the described resource.</p>
1933
1933
  */
1934
- Type?: ResourceType | string;
1934
+ Type?: ResourceType;
1935
1935
  /**
1936
1936
  * @public
1937
1937
  * <p>The booking options for the described resource.</p>
@@ -1942,7 +1942,7 @@ export interface DescribeResourceResponse {
1942
1942
  * <p>The state of the resource: enabled (registered to WorkMail), disabled (deregistered
1943
1943
  * or never registered to WorkMail), or deleted.</p>
1944
1944
  */
1945
- State?: EntityState | string;
1945
+ State?: EntityState;
1946
1946
  /**
1947
1947
  * @public
1948
1948
  * <p>The date and time when a resource was enabled for WorkMail, in UNIX epoch time
@@ -2023,7 +2023,7 @@ export interface DescribeUserResponse {
2023
2023
  * <p>The state of a user: enabled (registered to WorkMail) or disabled (deregistered or
2024
2024
  * never registered to WorkMail).</p>
2025
2025
  */
2026
- State?: EntityState | string;
2026
+ State?: EntityState;
2027
2027
  /**
2028
2028
  * @public
2029
2029
  * <p>In certain cases, other entities are modeled as users. If interoperability is
@@ -2032,7 +2032,7 @@ export interface DescribeUserResponse {
2032
2032
  * unregistered user (account is disabled and has a user role) and the directory
2033
2033
  * administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.</p>
2034
2034
  */
2035
- UserRole?: UserRole | string;
2035
+ UserRole?: UserRole;
2036
2036
  /**
2037
2037
  * @public
2038
2038
  * <p>The date and time at which the user was enabled for WorkMailusage, in UNIX epoch
@@ -2307,13 +2307,13 @@ export interface FolderConfiguration {
2307
2307
  * @public
2308
2308
  * <p>The folder name.</p>
2309
2309
  */
2310
- Name: FolderName | string | undefined;
2310
+ Name: FolderName | undefined;
2311
2311
  /**
2312
2312
  * @public
2313
2313
  * <p>The action to take on the folder contents at the end of the folder configuration
2314
2314
  * period.</p>
2315
2315
  */
2316
- Action: RetentionAction | string | undefined;
2316
+ Action: RetentionAction | undefined;
2317
2317
  /**
2318
2318
  * @public
2319
2319
  * <p>The number of days for which the folder-configuration action applies.</p>
@@ -2360,7 +2360,7 @@ export interface GetAccessControlEffectResponse {
2360
2360
  * @public
2361
2361
  * <p>The rule effect.</p>
2362
2362
  */
2363
- Effect?: AccessControlRuleEffect | string;
2363
+ Effect?: AccessControlRuleEffect;
2364
2364
  /**
2365
2365
  * @public
2366
2366
  * <p>The rules that match the given parameters, resulting in an effect.</p>
@@ -2435,7 +2435,7 @@ export interface GetImpersonationRoleResponse {
2435
2435
  * @public
2436
2436
  * <p>The impersonation role type.</p>
2437
2437
  */
2438
- Type?: ImpersonationRoleType | string;
2438
+ Type?: ImpersonationRoleType;
2439
2439
  /**
2440
2440
  * @public
2441
2441
  * <p>The impersonation role description.</p>
@@ -2516,14 +2516,14 @@ export interface GetImpersonationRoleEffectResponse {
2516
2516
  * @public
2517
2517
  * <p>The impersonation role type.</p>
2518
2518
  */
2519
- Type?: ImpersonationRoleType | string;
2519
+ Type?: ImpersonationRoleType;
2520
2520
  /**
2521
2521
  * @public
2522
2522
  * <p>
2523
2523
  * <code></code>Effect of the impersonation role on the target user based on its rules. Available
2524
2524
  * effects are <code>ALLOW</code> or <code>DENY</code>.</p>
2525
2525
  */
2526
- Effect?: AccessEffect | string;
2526
+ Effect?: AccessEffect;
2527
2527
  /**
2528
2528
  * @public
2529
2529
  * <p>A list of the rules that match the input and produce the configured effect.</p>
@@ -2612,12 +2612,12 @@ export interface GetMailDomainResponse {
2612
2612
  * @public
2613
2613
  * <p> Indicates the status of the domain ownership verification.</p>
2614
2614
  */
2615
- OwnershipVerificationStatus?: DnsRecordVerificationStatus | string;
2615
+ OwnershipVerificationStatus?: DnsRecordVerificationStatus;
2616
2616
  /**
2617
2617
  * @public
2618
2618
  * <p>Indicates the status of a DKIM verification.</p>
2619
2619
  */
2620
- DkimVerificationStatus?: DnsRecordVerificationStatus | string;
2620
+ DkimVerificationStatus?: DnsRecordVerificationStatus;
2621
2621
  }
2622
2622
  /**
2623
2623
  * @public
@@ -2674,7 +2674,7 @@ export interface GetMobileDeviceAccessEffectResponse {
2674
2674
  * <p>The effect of the simulated access, <code>ALLOW</code> or <code>DENY</code>, after evaluating mobile device access rules in the WorkMail organization for the simulated
2675
2675
  * user parameters.</p>
2676
2676
  */
2677
- Effect?: MobileDeviceAccessRuleEffect | string;
2677
+ Effect?: MobileDeviceAccessRuleEffect;
2678
2678
  /**
2679
2679
  * @public
2680
2680
  * <p>A list of the rules which matched the simulated user input and produced the effect.</p>
@@ -2733,7 +2733,7 @@ export interface GetMobileDeviceAccessOverrideResponse {
2733
2733
  * @public
2734
2734
  * <p>The effect of the override, <code>ALLOW</code> or <code>DENY</code>.</p>
2735
2735
  */
2736
- Effect?: MobileDeviceAccessRuleEffect | string;
2736
+ Effect?: MobileDeviceAccessRuleEffect;
2737
2737
  /**
2738
2738
  * @public
2739
2739
  * <p>A description of the override.</p>
@@ -2774,7 +2774,7 @@ export interface Group {
2774
2774
  * @public
2775
2775
  * <p>The state of the group, which can be ENABLED, DISABLED, or DELETED.</p>
2776
2776
  */
2777
- State?: EntityState | string;
2777
+ State?: EntityState;
2778
2778
  /**
2779
2779
  * @public
2780
2780
  * <p>The date indicating when the group was enabled for WorkMail use.</p>
@@ -2821,7 +2821,7 @@ export interface ImpersonationRole {
2821
2821
  * @public
2822
2822
  * <p>The impersonation role type.</p>
2823
2823
  */
2824
- Type?: ImpersonationRoleType | string;
2824
+ Type?: ImpersonationRoleType;
2825
2825
  /**
2826
2826
  * @public
2827
2827
  * <p>The date when the impersonation role was created.</p>
@@ -2888,7 +2888,7 @@ export interface MailboxExportJob {
2888
2888
  * @public
2889
2889
  * <p>The state of the mailbox export job.</p>
2890
2890
  */
2891
- State?: MailboxExportJobState | string;
2891
+ State?: MailboxExportJobState;
2892
2892
  /**
2893
2893
  * @public
2894
2894
  * <p>The mailbox export job start timestamp.</p>
@@ -3056,12 +3056,12 @@ export interface Member {
3056
3056
  * @public
3057
3057
  * <p>A member can be a user or group.</p>
3058
3058
  */
3059
- Type?: MemberType | string;
3059
+ Type?: MemberType;
3060
3060
  /**
3061
3061
  * @public
3062
3062
  * <p>The state of the member, which can be ENABLED, DISABLED, or DELETED.</p>
3063
3063
  */
3064
- State?: EntityState | string;
3064
+ State?: EntityState;
3065
3065
  /**
3066
3066
  * @public
3067
3067
  * <p>The date indicating when the member was enabled for WorkMail use.</p>
@@ -3108,7 +3108,7 @@ export interface ListGroupsFilters {
3108
3108
  * @public
3109
3109
  * <p>Filters only groups with the provided state.</p>
3110
3110
  */
3111
- State?: EntityState | string;
3111
+ State?: EntityState;
3112
3112
  }
3113
3113
  /**
3114
3114
  * @public
@@ -3361,7 +3361,7 @@ export interface Permission {
3361
3361
  * @public
3362
3362
  * <p>The type of user, group, or resource referred to in GranteeId.</p>
3363
3363
  */
3364
- GranteeType: MemberType | string | undefined;
3364
+ GranteeType: MemberType | undefined;
3365
3365
  /**
3366
3366
  * @public
3367
3367
  * <p>The permissions granted to the grantee. SEND_AS allows the grantee to send email as
@@ -3371,7 +3371,7 @@ export interface Permission {
3371
3371
  * access to the mailbox, irrespective of other folder-level permissions set on the
3372
3372
  * mailbox.</p>
3373
3373
  */
3374
- PermissionValues: (PermissionType | string)[] | undefined;
3374
+ PermissionValues: PermissionType[] | undefined;
3375
3375
  }
3376
3376
  /**
3377
3377
  * @public
@@ -3503,7 +3503,7 @@ export interface MobileDeviceAccessOverride {
3503
3503
  * @public
3504
3504
  * <p>The effect of the override, <code>ALLOW</code> or <code>DENY</code>.</p>
3505
3505
  */
3506
- Effect?: MobileDeviceAccessRuleEffect | string;
3506
+ Effect?: MobileDeviceAccessRuleEffect;
3507
3507
  /**
3508
3508
  * @public
3509
3509
  * <p>A description of the override.</p>
@@ -3569,7 +3569,7 @@ export interface MobileDeviceAccessRule {
3569
3569
  * @public
3570
3570
  * <p>The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.</p>
3571
3571
  */
3572
- Effect?: MobileDeviceAccessRuleEffect | string;
3572
+ Effect?: MobileDeviceAccessRuleEffect;
3573
3573
  /**
3574
3574
  * @public
3575
3575
  * <p>Device types that a rule will match.</p>
@@ -3772,7 +3772,7 @@ export interface ListResourcesFilters {
3772
3772
  * @public
3773
3773
  * <p>Filters only resource with the provided state.</p>
3774
3774
  */
3775
- State?: EntityState | string;
3775
+ State?: EntityState;
3776
3776
  }
3777
3777
  /**
3778
3778
  * @public
@@ -3824,12 +3824,12 @@ export interface Resource {
3824
3824
  * @public
3825
3825
  * <p>The type of the resource: equipment or room.</p>
3826
3826
  */
3827
- Type?: ResourceType | string;
3827
+ Type?: ResourceType;
3828
3828
  /**
3829
3829
  * @public
3830
3830
  * <p>The state of the resource, which can be ENABLED, DISABLED, or DELETED.</p>
3831
3831
  */
3832
- State?: EntityState | string;
3832
+ State?: EntityState;
3833
3833
  /**
3834
3834
  * @public
3835
3835
  * <p>The date indicating when the resource was enabled for WorkMail use.</p>
@@ -3923,7 +3923,7 @@ export interface ListUsersFilters {
3923
3923
  * @public
3924
3924
  * <p>Filters only users with the provided state.</p>
3925
3925
  */
3926
- State?: EntityState | string;
3926
+ State?: EntityState;
3927
3927
  }
3928
3928
  /**
3929
3929
  * @public
@@ -3980,12 +3980,12 @@ export interface User {
3980
3980
  * @public
3981
3981
  * <p>The state of the user, which can be ENABLED, DISABLED, or DELETED.</p>
3982
3982
  */
3983
- State?: EntityState | string;
3983
+ State?: EntityState;
3984
3984
  /**
3985
3985
  * @public
3986
3986
  * <p>The role of the user.</p>
3987
3987
  */
3988
- UserRole?: UserRole | string;
3988
+ UserRole?: UserRole;
3989
3989
  /**
3990
3990
  * @public
3991
3991
  * <p>The date indicating when the user was enabled for WorkMail use.</p>
@@ -4026,7 +4026,7 @@ export interface PutAccessControlRuleRequest {
4026
4026
  * @public
4027
4027
  * <p>The rule effect.</p>
4028
4028
  */
4029
- Effect: AccessControlRuleEffect | string | undefined;
4029
+ Effect: AccessControlRuleEffect | undefined;
4030
4030
  /**
4031
4031
  * @public
4032
4032
  * <p>The rule description.</p>
@@ -4187,7 +4187,7 @@ export interface PutMailboxPermissionsRequest {
4187
4187
  * access to the mailbox, irrespective of other folder-level permissions set on the
4188
4188
  * mailbox.</p>
4189
4189
  */
4190
- PermissionValues: (PermissionType | string)[] | undefined;
4190
+ PermissionValues: PermissionType[] | undefined;
4191
4191
  }
4192
4192
  /**
4193
4193
  * @public
@@ -4231,7 +4231,7 @@ export interface PutMobileDeviceAccessOverrideRequest {
4231
4231
  * @public
4232
4232
  * <p>The effect of the override, <code>ALLOW</code> or <code>DENY</code>.</p>
4233
4233
  */
4234
- Effect: MobileDeviceAccessRuleEffect | string | undefined;
4234
+ Effect: MobileDeviceAccessRuleEffect | undefined;
4235
4235
  /**
4236
4236
  * @public
4237
4237
  * <p>A description of the override.</p>
@@ -4642,7 +4642,7 @@ export interface UpdateImpersonationRoleRequest {
4642
4642
  * @public
4643
4643
  * <p>The updated impersonation role type.</p>
4644
4644
  */
4645
- Type: ImpersonationRoleType | string | undefined;
4645
+ Type: ImpersonationRoleType | undefined;
4646
4646
  /**
4647
4647
  * @public
4648
4648
  * <p>The updated impersonation role description.</p>
@@ -4725,7 +4725,7 @@ export interface UpdateMobileDeviceAccessRuleRequest {
4725
4725
  * @public
4726
4726
  * <p>The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.</p>
4727
4727
  */
4728
- Effect: MobileDeviceAccessRuleEffect | string | undefined;
4728
+ Effect: MobileDeviceAccessRuleEffect | undefined;
4729
4729
  /**
4730
4730
  * @public
4731
4731
  * <p>Device types that the updated rule will match.</p>
@@ -4855,7 +4855,7 @@ export interface UpdateResourceRequest {
4855
4855
  * @public
4856
4856
  * <p>Updates the resource type.</p>
4857
4857
  */
4858
- Type?: ResourceType | string;
4858
+ Type?: ResourceType;
4859
4859
  /**
4860
4860
  * @public
4861
4861
  * <p>If enabled, the resource is hidden from the global address list.</p>
@@ -4898,7 +4898,7 @@ export interface UpdateUserRequest {
4898
4898
  * <p>Updates the user role.</p>
4899
4899
  * <p>You cannot pass <i>SYSTEM_USER</i> or <i>RESOURCE</i>.</p>
4900
4900
  */
4901
- Role?: UserRole | string;
4901
+ Role?: UserRole;
4902
4902
  /**
4903
4903
  * @public
4904
4904
  * <p>Updates the display name of the user.</p>
@@ -8,7 +8,7 @@ export type AccessControlRuleEffect =
8
8
  (typeof AccessControlRuleEffect)[keyof typeof AccessControlRuleEffect];
9
9
  export interface AccessControlRule {
10
10
  Name?: string;
11
- Effect?: AccessControlRuleEffect | string;
11
+ Effect?: AccessControlRuleEffect;
12
12
  Description?: string;
13
13
  IpRanges?: string[];
14
14
  NotIpRanges?: string[];
@@ -136,7 +136,7 @@ export type AvailabilityProviderType =
136
136
  (typeof AvailabilityProviderType)[keyof typeof AvailabilityProviderType];
137
137
  export interface AvailabilityConfiguration {
138
138
  DomainName?: string;
139
- ProviderType?: AvailabilityProviderType | string;
139
+ ProviderType?: AvailabilityProviderType;
140
140
  EwsProvider?: RedactedEwsAvailabilityProvider;
141
141
  LambdaProvider?: LambdaAvailabilityProvider;
142
142
  DateCreated?: Date;
@@ -232,7 +232,7 @@ export interface ImpersonationRule {
232
232
  ImpersonationRuleId: string | undefined;
233
233
  Name?: string;
234
234
  Description?: string;
235
- Effect: AccessEffect | string | undefined;
235
+ Effect: AccessEffect | undefined;
236
236
  TargetUsers?: string[];
237
237
  NotTargetUsers?: string[];
238
238
  }
@@ -246,7 +246,7 @@ export interface CreateImpersonationRoleRequest {
246
246
  ClientToken?: string;
247
247
  OrganizationId: string | undefined;
248
248
  Name: string | undefined;
249
- Type: ImpersonationRoleType | string | undefined;
249
+ Type: ImpersonationRoleType | undefined;
250
250
  Description?: string;
251
251
  Rules: ImpersonationRule[] | undefined;
252
252
  }
@@ -264,7 +264,7 @@ export interface CreateMobileDeviceAccessRuleRequest {
264
264
  ClientToken?: string;
265
265
  Name: string | undefined;
266
266
  Description?: string;
267
- Effect: MobileDeviceAccessRuleEffect | string | undefined;
267
+ Effect: MobileDeviceAccessRuleEffect | undefined;
268
268
  DeviceTypes?: string[];
269
269
  NotDeviceTypes?: string[];
270
270
  DeviceModels?: string[];
@@ -308,7 +308,7 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
308
308
  export interface CreateResourceRequest {
309
309
  OrganizationId: string | undefined;
310
310
  Name: string | undefined;
311
- Type: ResourceType | string | undefined;
311
+ Type: ResourceType | undefined;
312
312
  Description?: string;
313
313
  HiddenFromGlobalAddressList?: boolean;
314
314
  }
@@ -327,7 +327,7 @@ export interface CreateUserRequest {
327
327
  Name: string | undefined;
328
328
  DisplayName: string | undefined;
329
329
  Password?: string;
330
- Role?: UserRole | string;
330
+ Role?: UserRole;
331
331
  FirstName?: string;
332
332
  LastName?: string;
333
333
  HiddenFromGlobalAddressList?: boolean;
@@ -350,7 +350,7 @@ export declare const MemberType: {
350
350
  export type MemberType = (typeof MemberType)[keyof typeof MemberType];
351
351
  export interface Delegate {
352
352
  Id: string | undefined;
353
- Type: MemberType | string | undefined;
353
+ Type: MemberType | undefined;
354
354
  }
355
355
  export interface DeleteAccessControlRuleRequest {
356
356
  OrganizationId: string | undefined;
@@ -473,7 +473,7 @@ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
473
473
  export interface DescribeEntityResponse {
474
474
  EntityId?: string;
475
475
  Name?: string;
476
- Type?: EntityType | string;
476
+ Type?: EntityType;
477
477
  }
478
478
  export interface DescribeGroupRequest {
479
479
  OrganizationId: string | undefined;
@@ -489,7 +489,7 @@ export interface DescribeGroupResponse {
489
489
  GroupId?: string;
490
490
  Name?: string;
491
491
  Email?: string;
492
- State?: EntityState | string;
492
+ State?: EntityState;
493
493
  EnabledDate?: Date;
494
494
  DisabledDate?: Date;
495
495
  HiddenFromGlobalAddressList?: boolean;
@@ -521,7 +521,7 @@ export interface DescribeMailboxExportJobResponse {
521
521
  S3Prefix?: string;
522
522
  S3Path?: string;
523
523
  EstimatedProgress?: number;
524
- State?: MailboxExportJobState | string;
524
+ State?: MailboxExportJobState;
525
525
  ErrorInfo?: string;
526
526
  StartTime?: Date;
527
527
  EndTime?: Date;
@@ -550,9 +550,9 @@ export interface DescribeResourceResponse {
550
550
  ResourceId?: string;
551
551
  Email?: string;
552
552
  Name?: string;
553
- Type?: ResourceType | string;
553
+ Type?: ResourceType;
554
554
  BookingOptions?: BookingOptions;
555
- State?: EntityState | string;
555
+ State?: EntityState;
556
556
  EnabledDate?: Date;
557
557
  DisabledDate?: Date;
558
558
  Description?: string;
@@ -567,8 +567,8 @@ export interface DescribeUserResponse {
567
567
  Name?: string;
568
568
  Email?: string;
569
569
  DisplayName?: string;
570
- State?: EntityState | string;
571
- UserRole?: UserRole | string;
570
+ State?: EntityState;
571
+ UserRole?: UserRole;
572
572
  EnabledDate?: Date;
573
573
  DisabledDate?: Date;
574
574
  MailboxProvisionedDate?: Date;
@@ -638,8 +638,8 @@ export declare const FolderName: {
638
638
  };
639
639
  export type FolderName = (typeof FolderName)[keyof typeof FolderName];
640
640
  export interface FolderConfiguration {
641
- Name: FolderName | string | undefined;
642
- Action: RetentionAction | string | undefined;
641
+ Name: FolderName | undefined;
642
+ Action: RetentionAction | undefined;
643
643
  Period?: number;
644
644
  }
645
645
  export interface GetAccessControlEffectRequest {
@@ -650,7 +650,7 @@ export interface GetAccessControlEffectRequest {
650
650
  ImpersonationRoleId?: string;
651
651
  }
652
652
  export interface GetAccessControlEffectResponse {
653
- Effect?: AccessControlRuleEffect | string;
653
+ Effect?: AccessControlRuleEffect;
654
654
  MatchedRules?: string[];
655
655
  }
656
656
  export interface GetDefaultRetentionPolicyRequest {
@@ -669,7 +669,7 @@ export interface GetImpersonationRoleRequest {
669
669
  export interface GetImpersonationRoleResponse {
670
670
  ImpersonationRoleId?: string;
671
671
  Name?: string;
672
- Type?: ImpersonationRoleType | string;
672
+ Type?: ImpersonationRoleType;
673
673
  Description?: string;
674
674
  Rules?: ImpersonationRule[];
675
675
  DateCreated?: Date;
@@ -685,8 +685,8 @@ export interface ImpersonationMatchedRule {
685
685
  Name?: string;
686
686
  }
687
687
  export interface GetImpersonationRoleEffectResponse {
688
- Type?: ImpersonationRoleType | string;
689
- Effect?: AccessEffect | string;
688
+ Type?: ImpersonationRoleType;
689
+ Effect?: AccessEffect;
690
690
  MatchedRules?: ImpersonationMatchedRule[];
691
691
  }
692
692
  export interface GetMailboxDetailsRequest {
@@ -705,8 +705,8 @@ export interface GetMailDomainResponse {
705
705
  Records?: DnsRecord[];
706
706
  IsTestDomain?: boolean;
707
707
  IsDefault?: boolean;
708
- OwnershipVerificationStatus?: DnsRecordVerificationStatus | string;
709
- DkimVerificationStatus?: DnsRecordVerificationStatus | string;
708
+ OwnershipVerificationStatus?: DnsRecordVerificationStatus;
709
+ DkimVerificationStatus?: DnsRecordVerificationStatus;
710
710
  }
711
711
  export interface GetMobileDeviceAccessEffectRequest {
712
712
  OrganizationId: string | undefined;
@@ -720,7 +720,7 @@ export interface MobileDeviceAccessMatchedRule {
720
720
  Name?: string;
721
721
  }
722
722
  export interface GetMobileDeviceAccessEffectResponse {
723
- Effect?: MobileDeviceAccessRuleEffect | string;
723
+ Effect?: MobileDeviceAccessRuleEffect;
724
724
  MatchedRules?: MobileDeviceAccessMatchedRule[];
725
725
  }
726
726
  export interface GetMobileDeviceAccessOverrideRequest {
@@ -731,7 +731,7 @@ export interface GetMobileDeviceAccessOverrideRequest {
731
731
  export interface GetMobileDeviceAccessOverrideResponse {
732
732
  UserId?: string;
733
733
  DeviceId?: string;
734
- Effect?: MobileDeviceAccessRuleEffect | string;
734
+ Effect?: MobileDeviceAccessRuleEffect;
735
735
  Description?: string;
736
736
  DateCreated?: Date;
737
737
  DateModified?: Date;
@@ -740,7 +740,7 @@ export interface Group {
740
740
  Id?: string;
741
741
  Email?: string;
742
742
  Name?: string;
743
- State?: EntityState | string;
743
+ State?: EntityState;
744
744
  EnabledDate?: Date;
745
745
  DisabledDate?: Date;
746
746
  }
@@ -751,7 +751,7 @@ export interface GroupIdentifier {
751
751
  export interface ImpersonationRole {
752
752
  ImpersonationRoleId?: string;
753
753
  Name?: string;
754
- Type?: ImpersonationRoleType | string;
754
+ Type?: ImpersonationRoleType;
755
755
  DateCreated?: Date;
756
756
  DateModified?: Date;
757
757
  }
@@ -770,7 +770,7 @@ export interface MailboxExportJob {
770
770
  S3BucketName?: string;
771
771
  S3Path?: string;
772
772
  EstimatedProgress?: number;
773
- State?: MailboxExportJobState | string;
773
+ State?: MailboxExportJobState;
774
774
  StartTime?: Date;
775
775
  EndTime?: Date;
776
776
  }
@@ -808,8 +808,8 @@ export interface ListGroupMembersRequest {
808
808
  export interface Member {
809
809
  Id?: string;
810
810
  Name?: string;
811
- Type?: MemberType | string;
812
- State?: EntityState | string;
811
+ Type?: MemberType;
812
+ State?: EntityState;
813
813
  EnabledDate?: Date;
814
814
  DisabledDate?: Date;
815
815
  }
@@ -820,7 +820,7 @@ export interface ListGroupMembersResponse {
820
820
  export interface ListGroupsFilters {
821
821
  NamePrefix?: string;
822
822
  PrimaryEmailPrefix?: string;
823
- State?: EntityState | string;
823
+ State?: EntityState;
824
824
  }
825
825
  export interface ListGroupsRequest {
826
826
  OrganizationId: string | undefined;
@@ -879,8 +879,8 @@ export type PermissionType =
879
879
  (typeof PermissionType)[keyof typeof PermissionType];
880
880
  export interface Permission {
881
881
  GranteeId: string | undefined;
882
- GranteeType: MemberType | string | undefined;
883
- PermissionValues: (PermissionType | string)[] | undefined;
882
+ GranteeType: MemberType | undefined;
883
+ PermissionValues: PermissionType[] | undefined;
884
884
  }
885
885
  export interface ListMailboxPermissionsResponse {
886
886
  Permissions?: Permission[];
@@ -909,7 +909,7 @@ export interface ListMobileDeviceAccessOverridesRequest {
909
909
  export interface MobileDeviceAccessOverride {
910
910
  UserId?: string;
911
911
  DeviceId?: string;
912
- Effect?: MobileDeviceAccessRuleEffect | string;
912
+ Effect?: MobileDeviceAccessRuleEffect;
913
913
  Description?: string;
914
914
  DateCreated?: Date;
915
915
  DateModified?: Date;
@@ -925,7 +925,7 @@ export interface MobileDeviceAccessRule {
925
925
  MobileDeviceAccessRuleId?: string;
926
926
  Name?: string;
927
927
  Description?: string;
928
- Effect?: MobileDeviceAccessRuleEffect | string;
928
+ Effect?: MobileDeviceAccessRuleEffect;
929
929
  DeviceTypes?: string[];
930
930
  NotDeviceTypes?: string[];
931
931
  DeviceModels?: string[];
@@ -968,7 +968,7 @@ export interface ListResourceDelegatesResponse {
968
968
  export interface ListResourcesFilters {
969
969
  NamePrefix?: string;
970
970
  PrimaryEmailPrefix?: string;
971
- State?: EntityState | string;
971
+ State?: EntityState;
972
972
  }
973
973
  export interface ListResourcesRequest {
974
974
  OrganizationId: string | undefined;
@@ -980,8 +980,8 @@ export interface Resource {
980
980
  Id?: string;
981
981
  Email?: string;
982
982
  Name?: string;
983
- Type?: ResourceType | string;
984
- State?: EntityState | string;
983
+ Type?: ResourceType;
984
+ State?: EntityState;
985
985
  EnabledDate?: Date;
986
986
  DisabledDate?: Date;
987
987
  Description?: string;
@@ -1004,7 +1004,7 @@ export interface ListUsersFilters {
1004
1004
  UsernamePrefix?: string;
1005
1005
  DisplayNamePrefix?: string;
1006
1006
  PrimaryEmailPrefix?: string;
1007
- State?: EntityState | string;
1007
+ State?: EntityState;
1008
1008
  }
1009
1009
  export interface ListUsersRequest {
1010
1010
  OrganizationId: string | undefined;
@@ -1017,8 +1017,8 @@ export interface User {
1017
1017
  Email?: string;
1018
1018
  Name?: string;
1019
1019
  DisplayName?: string;
1020
- State?: EntityState | string;
1021
- UserRole?: UserRole | string;
1020
+ State?: EntityState;
1021
+ UserRole?: UserRole;
1022
1022
  EnabledDate?: Date;
1023
1023
  DisabledDate?: Date;
1024
1024
  }
@@ -1028,7 +1028,7 @@ export interface ListUsersResponse {
1028
1028
  }
1029
1029
  export interface PutAccessControlRuleRequest {
1030
1030
  Name: string | undefined;
1031
- Effect: AccessControlRuleEffect | string | undefined;
1031
+ Effect: AccessControlRuleEffect | undefined;
1032
1032
  Description: string | undefined;
1033
1033
  IpRanges?: string[];
1034
1034
  NotIpRanges?: string[];
@@ -1056,14 +1056,14 @@ export interface PutMailboxPermissionsRequest {
1056
1056
  OrganizationId: string | undefined;
1057
1057
  EntityId: string | undefined;
1058
1058
  GranteeId: string | undefined;
1059
- PermissionValues: (PermissionType | string)[] | undefined;
1059
+ PermissionValues: PermissionType[] | undefined;
1060
1060
  }
1061
1061
  export interface PutMailboxPermissionsResponse {}
1062
1062
  export interface PutMobileDeviceAccessOverrideRequest {
1063
1063
  OrganizationId: string | undefined;
1064
1064
  UserId: string | undefined;
1065
1065
  DeviceId: string | undefined;
1066
- Effect: MobileDeviceAccessRuleEffect | string | undefined;
1066
+ Effect: MobileDeviceAccessRuleEffect | undefined;
1067
1067
  Description?: string;
1068
1068
  }
1069
1069
  export interface PutMobileDeviceAccessOverrideResponse {}
@@ -1156,7 +1156,7 @@ export interface UpdateImpersonationRoleRequest {
1156
1156
  OrganizationId: string | undefined;
1157
1157
  ImpersonationRoleId: string | undefined;
1158
1158
  Name: string | undefined;
1159
- Type: ImpersonationRoleType | string | undefined;
1159
+ Type: ImpersonationRoleType | undefined;
1160
1160
  Description?: string;
1161
1161
  Rules: ImpersonationRule[] | undefined;
1162
1162
  }
@@ -1172,7 +1172,7 @@ export interface UpdateMobileDeviceAccessRuleRequest {
1172
1172
  MobileDeviceAccessRuleId: string | undefined;
1173
1173
  Name: string | undefined;
1174
1174
  Description?: string;
1175
- Effect: MobileDeviceAccessRuleEffect | string | undefined;
1175
+ Effect: MobileDeviceAccessRuleEffect | undefined;
1176
1176
  DeviceTypes?: string[];
1177
1177
  NotDeviceTypes?: string[];
1178
1178
  DeviceModels?: string[];
@@ -1195,14 +1195,14 @@ export interface UpdateResourceRequest {
1195
1195
  Name?: string;
1196
1196
  BookingOptions?: BookingOptions;
1197
1197
  Description?: string;
1198
- Type?: ResourceType | string;
1198
+ Type?: ResourceType;
1199
1199
  HiddenFromGlobalAddressList?: boolean;
1200
1200
  }
1201
1201
  export interface UpdateResourceResponse {}
1202
1202
  export interface UpdateUserRequest {
1203
1203
  OrganizationId: string | undefined;
1204
1204
  UserId: string | undefined;
1205
- Role?: UserRole | string;
1205
+ Role?: UserRole;
1206
1206
  DisplayName?: string;
1207
1207
  FirstName?: string;
1208
1208
  LastName?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmail",
3
3
  "description": "AWS SDK for JavaScript Workmail Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",