cdk-lambda-subminute 2.0.241 → 2.0.243
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +10 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +2 -1
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +5 -1
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +813 -809
- package/node_modules/aws-sdk/apis/workmail-2017-10-01.min.json +310 -47
- package/node_modules/aws-sdk/apis/workmail-2017-10-01.paginators.json +5 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +1 -1
- package/node_modules/aws-sdk/clients/macie2.d.ts +2 -2
- package/node_modules/aws-sdk/clients/outposts.d.ts +10 -4
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +48 -31
- package/node_modules/aws-sdk/clients/workmail.d.ts +445 -62
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +6 -6
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -235,6 +235,14 @@ declare class WorkMail extends Service {
|
|
235
235
|
* Describes the current email monitoring configuration for a specified organization.
|
236
236
|
*/
|
237
237
|
describeEmailMonitoringConfiguration(callback?: (err: AWSError, data: WorkMail.Types.DescribeEmailMonitoringConfigurationResponse) => void): Request<WorkMail.Types.DescribeEmailMonitoringConfigurationResponse, AWSError>;
|
238
|
+
/**
|
239
|
+
* Returns basic details about an entity in WorkMail.
|
240
|
+
*/
|
241
|
+
describeEntity(params: WorkMail.Types.DescribeEntityRequest, callback?: (err: AWSError, data: WorkMail.Types.DescribeEntityResponse) => void): Request<WorkMail.Types.DescribeEntityResponse, AWSError>;
|
242
|
+
/**
|
243
|
+
* Returns basic details about an entity in WorkMail.
|
244
|
+
*/
|
245
|
+
describeEntity(callback?: (err: AWSError, data: WorkMail.Types.DescribeEntityResponse) => void): Request<WorkMail.Types.DescribeEntityResponse, AWSError>;
|
238
246
|
/**
|
239
247
|
* Returns the data available for the group.
|
240
248
|
*/
|
@@ -403,6 +411,14 @@ declare class WorkMail extends Service {
|
|
403
411
|
* Returns summaries of the organization's groups.
|
404
412
|
*/
|
405
413
|
listGroups(callback?: (err: AWSError, data: WorkMail.Types.ListGroupsResponse) => void): Request<WorkMail.Types.ListGroupsResponse, AWSError>;
|
414
|
+
/**
|
415
|
+
* Returns all the groups to which an entity belongs.
|
416
|
+
*/
|
417
|
+
listGroupsForEntity(params: WorkMail.Types.ListGroupsForEntityRequest, callback?: (err: AWSError, data: WorkMail.Types.ListGroupsForEntityResponse) => void): Request<WorkMail.Types.ListGroupsForEntityResponse, AWSError>;
|
418
|
+
/**
|
419
|
+
* Returns all the groups to which an entity belongs.
|
420
|
+
*/
|
421
|
+
listGroupsForEntity(callback?: (err: AWSError, data: WorkMail.Types.ListGroupsForEntityResponse) => void): Request<WorkMail.Types.ListGroupsForEntityResponse, AWSError>;
|
406
422
|
/**
|
407
423
|
* Lists all the impersonation roles for the given WorkMail organization.
|
408
424
|
*/
|
@@ -611,6 +627,14 @@ declare class WorkMail extends Service {
|
|
611
627
|
* Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.
|
612
628
|
*/
|
613
629
|
updateDefaultMailDomain(callback?: (err: AWSError, data: WorkMail.Types.UpdateDefaultMailDomainResponse) => void): Request<WorkMail.Types.UpdateDefaultMailDomainResponse, AWSError>;
|
630
|
+
/**
|
631
|
+
* Updates attibutes in a group.
|
632
|
+
*/
|
633
|
+
updateGroup(params: WorkMail.Types.UpdateGroupRequest, callback?: (err: AWSError, data: WorkMail.Types.UpdateGroupResponse) => void): Request<WorkMail.Types.UpdateGroupResponse, AWSError>;
|
634
|
+
/**
|
635
|
+
* Updates attibutes in a group.
|
636
|
+
*/
|
637
|
+
updateGroup(callback?: (err: AWSError, data: WorkMail.Types.UpdateGroupResponse) => void): Request<WorkMail.Types.UpdateGroupResponse, AWSError>;
|
614
638
|
/**
|
615
639
|
* Updates an impersonation role for the given WorkMail organization.
|
616
640
|
*/
|
@@ -651,6 +675,14 @@ declare class WorkMail extends Service {
|
|
651
675
|
* Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call.
|
652
676
|
*/
|
653
677
|
updateResource(callback?: (err: AWSError, data: WorkMail.Types.UpdateResourceResponse) => void): Request<WorkMail.Types.UpdateResourceResponse, AWSError>;
|
678
|
+
/**
|
679
|
+
* Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The dataset in the request should be the one expected when performing another DescribeUser call.
|
680
|
+
*/
|
681
|
+
updateUser(params: WorkMail.Types.UpdateUserRequest, callback?: (err: AWSError, data: WorkMail.Types.UpdateUserResponse) => void): Request<WorkMail.Types.UpdateUserResponse, AWSError>;
|
682
|
+
/**
|
683
|
+
* Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The dataset in the request should be the one expected when performing another DescribeUser call.
|
684
|
+
*/
|
685
|
+
updateUser(callback?: (err: AWSError, data: WorkMail.Types.UpdateUserResponse) => void): Request<WorkMail.Types.UpdateUserResponse, AWSError>;
|
654
686
|
}
|
655
687
|
declare namespace WorkMail {
|
656
688
|
export interface AccessControlRule {
|
@@ -723,13 +755,13 @@ declare namespace WorkMail {
|
|
723
755
|
*/
|
724
756
|
OrganizationId: OrganizationId;
|
725
757
|
/**
|
726
|
-
* The resource for which members (users or groups) are associated.
|
758
|
+
* The resource for which members (users or groups) are associated. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource
|
727
759
|
*/
|
728
|
-
ResourceId:
|
760
|
+
ResourceId: EntityIdentifier;
|
729
761
|
/**
|
730
|
-
* The member (user or group) to associate to the resource.
|
762
|
+
* The member (user or group) to associate to the resource. The entity ID can accept UserId or GroupID, Username or Groupname, or email. Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity: entity
|
731
763
|
*/
|
732
|
-
EntityId:
|
764
|
+
EntityId: EntityIdentifier;
|
733
765
|
}
|
734
766
|
export interface AssociateDelegateToResourceResponse {
|
735
767
|
}
|
@@ -739,13 +771,13 @@ declare namespace WorkMail {
|
|
739
771
|
*/
|
740
772
|
OrganizationId: OrganizationId;
|
741
773
|
/**
|
742
|
-
* The group to which the member (user or group) is associated.
|
774
|
+
* The group to which the member (user or group) is associated. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group
|
743
775
|
*/
|
744
|
-
GroupId:
|
776
|
+
GroupId: EntityIdentifier;
|
745
777
|
/**
|
746
|
-
* The member (user or group) to associate to the group.
|
778
|
+
* The member (user or group) to associate to the group. The member ID can accept UserID or GroupId, Username or Groupname, or email. Member: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: member@domain.tld Member name: member
|
747
779
|
*/
|
748
|
-
MemberId:
|
780
|
+
MemberId: EntityIdentifier;
|
749
781
|
}
|
750
782
|
export interface AssociateMemberToGroupResponse {
|
751
783
|
}
|
@@ -878,6 +910,10 @@ declare namespace WorkMail {
|
|
878
910
|
* The name of the group.
|
879
911
|
*/
|
880
912
|
Name: GroupName;
|
913
|
+
/**
|
914
|
+
* If this parameter is enabled, the group will be hidden from the address book.
|
915
|
+
*/
|
916
|
+
HiddenFromGlobalAddressList?: Boolean;
|
881
917
|
}
|
882
918
|
export interface CreateGroupResponse {
|
883
919
|
/**
|
@@ -1022,6 +1058,14 @@ declare namespace WorkMail {
|
|
1022
1058
|
* The type of the new resource. The available types are equipment and room.
|
1023
1059
|
*/
|
1024
1060
|
Type: ResourceType;
|
1061
|
+
/**
|
1062
|
+
* Resource description.
|
1063
|
+
*/
|
1064
|
+
Description?: ResourceDescription;
|
1065
|
+
/**
|
1066
|
+
* If this parameter is enabled, the resource will be hidden from the address book.
|
1067
|
+
*/
|
1068
|
+
HiddenFromGlobalAddressList?: Boolean;
|
1025
1069
|
}
|
1026
1070
|
export interface CreateResourceResponse {
|
1027
1071
|
/**
|
@@ -1041,11 +1085,27 @@ declare namespace WorkMail {
|
|
1041
1085
|
/**
|
1042
1086
|
* The display name for the new user.
|
1043
1087
|
*/
|
1044
|
-
DisplayName:
|
1088
|
+
DisplayName: UserAttribute;
|
1045
1089
|
/**
|
1046
1090
|
* The password for the new user.
|
1047
1091
|
*/
|
1048
|
-
Password
|
1092
|
+
Password?: Password;
|
1093
|
+
/**
|
1094
|
+
* The role of the new user. You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.
|
1095
|
+
*/
|
1096
|
+
Role?: UserRole;
|
1097
|
+
/**
|
1098
|
+
* The first name of the new user.
|
1099
|
+
*/
|
1100
|
+
FirstName?: UserAttribute;
|
1101
|
+
/**
|
1102
|
+
* The last name of the new user.
|
1103
|
+
*/
|
1104
|
+
LastName?: UserAttribute;
|
1105
|
+
/**
|
1106
|
+
* If this parameter is enabled, the user will be hidden from the address book.
|
1107
|
+
*/
|
1108
|
+
HiddenFromGlobalAddressList?: Boolean;
|
1049
1109
|
}
|
1050
1110
|
export interface CreateUserResponse {
|
1051
1111
|
/**
|
@@ -1117,9 +1177,9 @@ declare namespace WorkMail {
|
|
1117
1177
|
*/
|
1118
1178
|
OrganizationId: OrganizationId;
|
1119
1179
|
/**
|
1120
|
-
* The identifier of the group to be deleted.
|
1180
|
+
* The identifier of the group to be deleted. The identifier can be the GroupId, or Groupname. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Group name: group
|
1121
1181
|
*/
|
1122
|
-
GroupId:
|
1182
|
+
GroupId: EntityIdentifier;
|
1123
1183
|
}
|
1124
1184
|
export interface DeleteGroupResponse {
|
1125
1185
|
}
|
@@ -1141,13 +1201,13 @@ declare namespace WorkMail {
|
|
1141
1201
|
*/
|
1142
1202
|
OrganizationId: OrganizationId;
|
1143
1203
|
/**
|
1144
|
-
* The identifier of the
|
1204
|
+
* The identifier of the entity that owns the mailbox. The identifier can be UserId or Group Id, Username or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity
|
1145
1205
|
*/
|
1146
|
-
EntityId:
|
1206
|
+
EntityId: EntityIdentifier;
|
1147
1207
|
/**
|
1148
|
-
* The identifier of the
|
1208
|
+
* The identifier of the entity for which to delete granted permissions. The identifier can be UserId, ResourceID, or Group Id, Username or Groupname, or email. Grantee ID: 12345678-1234-1234-1234-123456789012,r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: grantee@domain.tld Grantee name: grantee
|
1149
1209
|
*/
|
1150
|
-
GranteeId:
|
1210
|
+
GranteeId: EntityIdentifier;
|
1151
1211
|
}
|
1152
1212
|
export interface DeleteMailboxPermissionsResponse {
|
1153
1213
|
}
|
@@ -1192,6 +1252,10 @@ declare namespace WorkMail {
|
|
1192
1252
|
* If true, deletes the AWS Directory Service directory associated with the organization.
|
1193
1253
|
*/
|
1194
1254
|
DeleteDirectory: Boolean;
|
1255
|
+
/**
|
1256
|
+
* Deletes a WorkMail organization even if the organization has enabled users.
|
1257
|
+
*/
|
1258
|
+
ForceDelete?: Boolean;
|
1195
1259
|
}
|
1196
1260
|
export interface DeleteOrganizationResponse {
|
1197
1261
|
/**
|
@@ -1209,9 +1273,9 @@ declare namespace WorkMail {
|
|
1209
1273
|
*/
|
1210
1274
|
OrganizationId: OrganizationId;
|
1211
1275
|
/**
|
1212
|
-
* The identifier of the resource to be deleted.
|
1276
|
+
* The identifier of the resource to be deleted. The identifier can accept ResourceId, or Resourcename. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Resource name: resource
|
1213
1277
|
*/
|
1214
|
-
ResourceId:
|
1278
|
+
ResourceId: EntityIdentifier;
|
1215
1279
|
}
|
1216
1280
|
export interface DeleteResourceResponse {
|
1217
1281
|
}
|
@@ -1233,9 +1297,9 @@ declare namespace WorkMail {
|
|
1233
1297
|
*/
|
1234
1298
|
OrganizationId: OrganizationId;
|
1235
1299
|
/**
|
1236
|
-
* The identifier of the user to be deleted.
|
1300
|
+
* The identifier of the user to be deleted. The identifier can be the UserId or Username. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 User name: user
|
1237
1301
|
*/
|
1238
|
-
UserId:
|
1302
|
+
UserId: EntityIdentifier;
|
1239
1303
|
}
|
1240
1304
|
export interface DeleteUserResponse {
|
1241
1305
|
}
|
@@ -1245,9 +1309,9 @@ declare namespace WorkMail {
|
|
1245
1309
|
*/
|
1246
1310
|
OrganizationId: OrganizationId;
|
1247
1311
|
/**
|
1248
|
-
* The identifier for the member
|
1312
|
+
* The identifier for the member to be updated. The identifier can be UserId, ResourceId, or Group Id, Username, Resourcename, or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity
|
1249
1313
|
*/
|
1250
|
-
EntityId:
|
1314
|
+
EntityId: EntityIdentifier;
|
1251
1315
|
}
|
1252
1316
|
export interface DeregisterFromWorkMailResponse {
|
1253
1317
|
}
|
@@ -1279,15 +1343,39 @@ declare namespace WorkMail {
|
|
1279
1343
|
*/
|
1280
1344
|
LogGroupArn?: LogGroupArn;
|
1281
1345
|
}
|
1346
|
+
export interface DescribeEntityRequest {
|
1347
|
+
/**
|
1348
|
+
* The identifier for the organization under which the entity exists.
|
1349
|
+
*/
|
1350
|
+
OrganizationId: OrganizationId;
|
1351
|
+
/**
|
1352
|
+
* The email under which the entity exists.
|
1353
|
+
*/
|
1354
|
+
Email: EmailAddress;
|
1355
|
+
}
|
1356
|
+
export interface DescribeEntityResponse {
|
1357
|
+
/**
|
1358
|
+
* The entity ID under which the entity exists.
|
1359
|
+
*/
|
1360
|
+
EntityId?: WorkMailIdentifier;
|
1361
|
+
/**
|
1362
|
+
* Username, GroupName, or ResourceName based on entity type.
|
1363
|
+
*/
|
1364
|
+
Name?: String;
|
1365
|
+
/**
|
1366
|
+
* Entity type.
|
1367
|
+
*/
|
1368
|
+
Type?: EntityType;
|
1369
|
+
}
|
1282
1370
|
export interface DescribeGroupRequest {
|
1283
1371
|
/**
|
1284
1372
|
* The identifier for the organization under which the group exists.
|
1285
1373
|
*/
|
1286
1374
|
OrganizationId: OrganizationId;
|
1287
1375
|
/**
|
1288
|
-
* The identifier for the group to be described.
|
1376
|
+
* The identifier for the group to be described. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group
|
1289
1377
|
*/
|
1290
|
-
GroupId:
|
1378
|
+
GroupId: EntityIdentifier;
|
1291
1379
|
}
|
1292
1380
|
export interface DescribeGroupResponse {
|
1293
1381
|
/**
|
@@ -1314,6 +1402,10 @@ declare namespace WorkMail {
|
|
1314
1402
|
* The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.
|
1315
1403
|
*/
|
1316
1404
|
DisabledDate?: Timestamp;
|
1405
|
+
/**
|
1406
|
+
* If the value is set to true, the group is hidden from the address book.
|
1407
|
+
*/
|
1408
|
+
HiddenFromGlobalAddressList?: Boolean;
|
1317
1409
|
}
|
1318
1410
|
export interface DescribeInboundDmarcSettingsRequest {
|
1319
1411
|
/**
|
@@ -1430,6 +1522,14 @@ declare namespace WorkMail {
|
|
1430
1522
|
* The Amazon Resource Name (ARN) of the organization.
|
1431
1523
|
*/
|
1432
1524
|
ARN?: AmazonResourceName;
|
1525
|
+
/**
|
1526
|
+
* The user ID of the migration admin if migration is enabled for the organization.
|
1527
|
+
*/
|
1528
|
+
MigrationAdmin?: WorkMailIdentifier;
|
1529
|
+
/**
|
1530
|
+
* Indicates if interoperability is enabled for this organization.
|
1531
|
+
*/
|
1532
|
+
InteroperabilityEnabled?: Boolean;
|
1433
1533
|
}
|
1434
1534
|
export interface DescribeResourceRequest {
|
1435
1535
|
/**
|
@@ -1437,9 +1537,9 @@ declare namespace WorkMail {
|
|
1437
1537
|
*/
|
1438
1538
|
OrganizationId: OrganizationId;
|
1439
1539
|
/**
|
1440
|
-
* The identifier of the resource to be described.
|
1540
|
+
* The identifier of the resource to be described. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource
|
1441
1541
|
*/
|
1442
|
-
ResourceId:
|
1542
|
+
ResourceId: EntityIdentifier;
|
1443
1543
|
}
|
1444
1544
|
export interface DescribeResourceResponse {
|
1445
1545
|
/**
|
@@ -1474,6 +1574,14 @@ declare namespace WorkMail {
|
|
1474
1574
|
* The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
|
1475
1575
|
*/
|
1476
1576
|
DisabledDate?: Timestamp;
|
1577
|
+
/**
|
1578
|
+
* Description of the resource.
|
1579
|
+
*/
|
1580
|
+
Description?: ResourceDescription;
|
1581
|
+
/**
|
1582
|
+
* If enabled, the resource is hidden from the global address list.
|
1583
|
+
*/
|
1584
|
+
HiddenFromGlobalAddressList?: Boolean;
|
1477
1585
|
}
|
1478
1586
|
export interface DescribeUserRequest {
|
1479
1587
|
/**
|
@@ -1481,9 +1589,9 @@ declare namespace WorkMail {
|
|
1481
1589
|
*/
|
1482
1590
|
OrganizationId: OrganizationId;
|
1483
1591
|
/**
|
1484
|
-
* The identifier for the user to be described.
|
1592
|
+
* The identifier for the user to be described. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
1485
1593
|
*/
|
1486
|
-
UserId:
|
1594
|
+
UserId: EntityIdentifier;
|
1487
1595
|
}
|
1488
1596
|
export interface DescribeUserResponse {
|
1489
1597
|
/**
|
@@ -1501,13 +1609,13 @@ declare namespace WorkMail {
|
|
1501
1609
|
/**
|
1502
1610
|
* The display name of the user.
|
1503
1611
|
*/
|
1504
|
-
DisplayName?:
|
1612
|
+
DisplayName?: UserAttribute;
|
1505
1613
|
/**
|
1506
1614
|
* The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
1507
1615
|
*/
|
1508
1616
|
State?: EntityState;
|
1509
1617
|
/**
|
1510
|
-
* In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, and
|
1618
|
+
* In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
|
1511
1619
|
*/
|
1512
1620
|
UserRole?: UserRole;
|
1513
1621
|
/**
|
@@ -1518,6 +1626,66 @@ declare namespace WorkMail {
|
|
1518
1626
|
* The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
|
1519
1627
|
*/
|
1520
1628
|
DisabledDate?: Timestamp;
|
1629
|
+
/**
|
1630
|
+
* The date when the mailbox was created for the user.
|
1631
|
+
*/
|
1632
|
+
MailboxProvisionedDate?: Timestamp;
|
1633
|
+
/**
|
1634
|
+
* The date when the mailbox was removed for the user.
|
1635
|
+
*/
|
1636
|
+
MailboxDeprovisionedDate?: Timestamp;
|
1637
|
+
/**
|
1638
|
+
* First name of the user.
|
1639
|
+
*/
|
1640
|
+
FirstName?: UserAttribute;
|
1641
|
+
/**
|
1642
|
+
* Last name of the user.
|
1643
|
+
*/
|
1644
|
+
LastName?: UserAttribute;
|
1645
|
+
/**
|
1646
|
+
* If enabled, the user is hidden from the global address list.
|
1647
|
+
*/
|
1648
|
+
HiddenFromGlobalAddressList?: Boolean;
|
1649
|
+
/**
|
1650
|
+
* Initials of the user.
|
1651
|
+
*/
|
1652
|
+
Initials?: UserAttribute;
|
1653
|
+
/**
|
1654
|
+
* User's contact number.
|
1655
|
+
*/
|
1656
|
+
Telephone?: UserAttribute;
|
1657
|
+
/**
|
1658
|
+
* Street where the user is located.
|
1659
|
+
*/
|
1660
|
+
Street?: UserAttribute;
|
1661
|
+
/**
|
1662
|
+
* Job title of the user.
|
1663
|
+
*/
|
1664
|
+
JobTitle?: UserAttribute;
|
1665
|
+
/**
|
1666
|
+
* City where the user is located.
|
1667
|
+
*/
|
1668
|
+
City?: UserAttribute;
|
1669
|
+
/**
|
1670
|
+
* Company of the user.
|
1671
|
+
*/
|
1672
|
+
Company?: UserAttribute;
|
1673
|
+
/**
|
1674
|
+
* Zip code of the user.
|
1675
|
+
*/
|
1676
|
+
ZipCode?: UserAttribute;
|
1677
|
+
/**
|
1678
|
+
* Department of the user.
|
1679
|
+
*/
|
1680
|
+
Department?: UserAttribute;
|
1681
|
+
/**
|
1682
|
+
* Country where the user is located.
|
1683
|
+
*/
|
1684
|
+
Country?: UserAttribute;
|
1685
|
+
/**
|
1686
|
+
* Office where the user is located.
|
1687
|
+
*/
|
1688
|
+
Office?: UserAttribute;
|
1521
1689
|
}
|
1522
1690
|
export type Description = string;
|
1523
1691
|
export type DeviceId = string;
|
@@ -1536,13 +1704,13 @@ declare namespace WorkMail {
|
|
1536
1704
|
*/
|
1537
1705
|
OrganizationId: OrganizationId;
|
1538
1706
|
/**
|
1539
|
-
* The identifier of the resource from which delegates' set members are removed.
|
1707
|
+
* The identifier of the resource from which delegates' set members are removed. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource
|
1540
1708
|
*/
|
1541
|
-
ResourceId:
|
1709
|
+
ResourceId: EntityIdentifier;
|
1542
1710
|
/**
|
1543
|
-
* The identifier for the member (user, group) to be removed from the resource's delegates.
|
1711
|
+
* The identifier for the member (user, group) to be removed from the resource's delegates. The entity ID can accept UserId or GroupID, Username or Groupname, or email. Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity: entity
|
1544
1712
|
*/
|
1545
|
-
EntityId:
|
1713
|
+
EntityId: EntityIdentifier;
|
1546
1714
|
}
|
1547
1715
|
export interface DisassociateDelegateFromResourceResponse {
|
1548
1716
|
}
|
@@ -1552,13 +1720,13 @@ declare namespace WorkMail {
|
|
1552
1720
|
*/
|
1553
1721
|
OrganizationId: OrganizationId;
|
1554
1722
|
/**
|
1555
|
-
* The identifier for the group from which members are removed.
|
1723
|
+
* The identifier for the group from which members are removed. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group
|
1556
1724
|
*/
|
1557
|
-
GroupId:
|
1725
|
+
GroupId: EntityIdentifier;
|
1558
1726
|
/**
|
1559
|
-
* The identifier for the member to be removed
|
1727
|
+
* The identifier for the member to be removed from the group. The member ID can accept UserID or GroupId, Username or Groupname, or email. Member ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: member@domain.tld Member name: member
|
1560
1728
|
*/
|
1561
|
-
MemberId:
|
1729
|
+
MemberId: EntityIdentifier;
|
1562
1730
|
}
|
1563
1731
|
export interface DisassociateMemberFromGroupResponse {
|
1564
1732
|
}
|
@@ -1582,7 +1750,7 @@ declare namespace WorkMail {
|
|
1582
1750
|
/**
|
1583
1751
|
* The fully qualified domain name.
|
1584
1752
|
*/
|
1585
|
-
DomainName
|
1753
|
+
DomainName: DomainName;
|
1586
1754
|
/**
|
1587
1755
|
* The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53.
|
1588
1756
|
*/
|
@@ -1593,6 +1761,7 @@ declare namespace WorkMail {
|
|
1593
1761
|
export type EmailAddress = string;
|
1594
1762
|
export type EntityIdentifier = string;
|
1595
1763
|
export type EntityState = "ENABLED"|"DISABLED"|"DELETED"|string;
|
1764
|
+
export type EntityType = "GROUP"|"USER"|"RESOURCE"|string;
|
1596
1765
|
export interface EwsAvailabilityProvider {
|
1597
1766
|
/**
|
1598
1767
|
* The endpoint of the remote EWS server.
|
@@ -1787,9 +1956,9 @@ declare namespace WorkMail {
|
|
1787
1956
|
*/
|
1788
1957
|
OrganizationId: OrganizationId;
|
1789
1958
|
/**
|
1790
|
-
* The identifier for the user whose mailbox details are being requested.
|
1959
|
+
* The identifier for the user whose mailbox details are being requested. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
1791
1960
|
*/
|
1792
|
-
UserId:
|
1961
|
+
UserId: EntityIdentifier;
|
1793
1962
|
}
|
1794
1963
|
export interface GetMailboxDetailsResponse {
|
1795
1964
|
/**
|
@@ -1899,6 +2068,17 @@ declare namespace WorkMail {
|
|
1899
2068
|
*/
|
1900
2069
|
DisabledDate?: Timestamp;
|
1901
2070
|
}
|
2071
|
+
export interface GroupIdentifier {
|
2072
|
+
/**
|
2073
|
+
* Group ID that matched the group.
|
2074
|
+
*/
|
2075
|
+
GroupId?: WorkMailIdentifier;
|
2076
|
+
/**
|
2077
|
+
* Group name that matched the group.
|
2078
|
+
*/
|
2079
|
+
GroupName?: GroupName;
|
2080
|
+
}
|
2081
|
+
export type GroupIdentifiers = GroupIdentifier[];
|
1902
2082
|
export type GroupName = string;
|
1903
2083
|
export type Groups = Group[];
|
1904
2084
|
export type HostedZoneId = string;
|
@@ -2055,9 +2235,9 @@ declare namespace WorkMail {
|
|
2055
2235
|
*/
|
2056
2236
|
OrganizationId: OrganizationId;
|
2057
2237
|
/**
|
2058
|
-
* The identifier for the group to which the members (users or groups) are associated.
|
2238
|
+
* The identifier for the group to which the members (users or groups) are associated. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group
|
2059
2239
|
*/
|
2060
|
-
GroupId:
|
2240
|
+
GroupId: EntityIdentifier;
|
2061
2241
|
/**
|
2062
2242
|
* The token to use to retrieve the next page of results. The first call does not contain any tokens.
|
2063
2243
|
*/
|
@@ -2077,6 +2257,58 @@ declare namespace WorkMail {
|
|
2077
2257
|
*/
|
2078
2258
|
NextToken?: NextToken;
|
2079
2259
|
}
|
2260
|
+
export interface ListGroupsFilters {
|
2261
|
+
/**
|
2262
|
+
* Filters only groups with the provided name prefix.
|
2263
|
+
*/
|
2264
|
+
NamePrefix?: String;
|
2265
|
+
/**
|
2266
|
+
* Filters only groups with the provided primary email prefix.
|
2267
|
+
*/
|
2268
|
+
PrimaryEmailPrefix?: String;
|
2269
|
+
/**
|
2270
|
+
* Filters only groups with the provided state.
|
2271
|
+
*/
|
2272
|
+
State?: EntityState;
|
2273
|
+
}
|
2274
|
+
export interface ListGroupsForEntityFilters {
|
2275
|
+
/**
|
2276
|
+
* Filters only group names that start with the provided name prefix.
|
2277
|
+
*/
|
2278
|
+
GroupNamePrefix?: String;
|
2279
|
+
}
|
2280
|
+
export interface ListGroupsForEntityRequest {
|
2281
|
+
/**
|
2282
|
+
* The identifier for the organization under which the entity exists.
|
2283
|
+
*/
|
2284
|
+
OrganizationId: OrganizationId;
|
2285
|
+
/**
|
2286
|
+
* The identifier for the entity. The entity ID can accept UserId or GroupID, Username or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity
|
2287
|
+
*/
|
2288
|
+
EntityId: EntityIdentifier;
|
2289
|
+
/**
|
2290
|
+
* Limit the search results based on the filter criteria.
|
2291
|
+
*/
|
2292
|
+
Filters?: ListGroupsForEntityFilters;
|
2293
|
+
/**
|
2294
|
+
* The token to use to retrieve the next page of results. The first call does not contain any tokens.
|
2295
|
+
*/
|
2296
|
+
NextToken?: NextToken;
|
2297
|
+
/**
|
2298
|
+
* The maximum number of results to return in a single call.
|
2299
|
+
*/
|
2300
|
+
MaxResults?: MaxResults;
|
2301
|
+
}
|
2302
|
+
export interface ListGroupsForEntityResponse {
|
2303
|
+
/**
|
2304
|
+
* The overview of groups in an organization.
|
2305
|
+
*/
|
2306
|
+
Groups?: GroupIdentifiers;
|
2307
|
+
/**
|
2308
|
+
* The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.
|
2309
|
+
*/
|
2310
|
+
NextToken?: NextToken;
|
2311
|
+
}
|
2080
2312
|
export interface ListGroupsRequest {
|
2081
2313
|
/**
|
2082
2314
|
* The identifier for the organization under which the groups exist.
|
@@ -2090,6 +2322,10 @@ declare namespace WorkMail {
|
|
2090
2322
|
* The maximum number of results to return in a single call.
|
2091
2323
|
*/
|
2092
2324
|
MaxResults?: MaxResults;
|
2325
|
+
/**
|
2326
|
+
* Limit the search results based on the filter criteria. Only one filter per request is supported.
|
2327
|
+
*/
|
2328
|
+
Filters?: ListGroupsFilters;
|
2093
2329
|
}
|
2094
2330
|
export interface ListGroupsResponse {
|
2095
2331
|
/**
|
@@ -2179,9 +2415,9 @@ declare namespace WorkMail {
|
|
2179
2415
|
*/
|
2180
2416
|
OrganizationId: OrganizationId;
|
2181
2417
|
/**
|
2182
|
-
* The identifier of the user,
|
2418
|
+
* The identifier of the user, or resource for which to list mailbox permissions. The entity ID can accept UserId or ResourceId, Username or Resourcename, or email. Entity ID: 12345678-1234-1234-1234-123456789012, or r-0123456789a0123456789b0123456789 Email address: entity@domain.tld Entity name: entity
|
2183
2419
|
*/
|
2184
|
-
EntityId:
|
2420
|
+
EntityId: EntityIdentifier;
|
2185
2421
|
/**
|
2186
2422
|
* The token to use to retrieve the next page of results. The first call does not contain any tokens.
|
2187
2423
|
*/
|
@@ -2271,9 +2507,9 @@ declare namespace WorkMail {
|
|
2271
2507
|
*/
|
2272
2508
|
OrganizationId: OrganizationId;
|
2273
2509
|
/**
|
2274
|
-
* The identifier for the resource whose delegates are listed.
|
2510
|
+
* The identifier for the resource whose delegates are listed. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource
|
2275
2511
|
*/
|
2276
|
-
ResourceId:
|
2512
|
+
ResourceId: EntityIdentifier;
|
2277
2513
|
/**
|
2278
2514
|
* The token used to paginate through the delegates associated with a resource.
|
2279
2515
|
*/
|
@@ -2293,6 +2529,20 @@ declare namespace WorkMail {
|
|
2293
2529
|
*/
|
2294
2530
|
NextToken?: NextToken;
|
2295
2531
|
}
|
2532
|
+
export interface ListResourcesFilters {
|
2533
|
+
/**
|
2534
|
+
* Filters only resource that start with the entered name prefix .
|
2535
|
+
*/
|
2536
|
+
NamePrefix?: String;
|
2537
|
+
/**
|
2538
|
+
* Filters only resource with the provided primary email prefix.
|
2539
|
+
*/
|
2540
|
+
PrimaryEmailPrefix?: String;
|
2541
|
+
/**
|
2542
|
+
* Filters only resource with the provided state.
|
2543
|
+
*/
|
2544
|
+
State?: EntityState;
|
2545
|
+
}
|
2296
2546
|
export interface ListResourcesRequest {
|
2297
2547
|
/**
|
2298
2548
|
* The identifier for the organization under which the resources exist.
|
@@ -2306,6 +2556,10 @@ declare namespace WorkMail {
|
|
2306
2556
|
* The maximum number of results to return in a single call.
|
2307
2557
|
*/
|
2308
2558
|
MaxResults?: MaxResults;
|
2559
|
+
/**
|
2560
|
+
* Limit the resource search results based on the filter criteria. You can only use one filter per request.
|
2561
|
+
*/
|
2562
|
+
Filters?: ListResourcesFilters;
|
2309
2563
|
}
|
2310
2564
|
export interface ListResourcesResponse {
|
2311
2565
|
/**
|
@@ -2329,6 +2583,24 @@ declare namespace WorkMail {
|
|
2329
2583
|
*/
|
2330
2584
|
Tags?: TagList;
|
2331
2585
|
}
|
2586
|
+
export interface ListUsersFilters {
|
2587
|
+
/**
|
2588
|
+
* Filters only users with the provided username prefix.
|
2589
|
+
*/
|
2590
|
+
UsernamePrefix?: String;
|
2591
|
+
/**
|
2592
|
+
* Filters only users with the provided display name prefix.
|
2593
|
+
*/
|
2594
|
+
DisplayNamePrefix?: UserAttribute;
|
2595
|
+
/**
|
2596
|
+
* Filters only users with the provided email prefix.
|
2597
|
+
*/
|
2598
|
+
PrimaryEmailPrefix?: String;
|
2599
|
+
/**
|
2600
|
+
* Filters only users with the provided state.
|
2601
|
+
*/
|
2602
|
+
State?: EntityState;
|
2603
|
+
}
|
2332
2604
|
export interface ListUsersRequest {
|
2333
2605
|
/**
|
2334
2606
|
* The identifier for the organization under which the users exist.
|
@@ -2342,6 +2614,10 @@ declare namespace WorkMail {
|
|
2342
2614
|
* The maximum number of results to return in a single call.
|
2343
2615
|
*/
|
2344
2616
|
MaxResults?: MaxResults;
|
2617
|
+
/**
|
2618
|
+
* Limit the user search results based on the filter criteria. You can only use one filter per request.
|
2619
|
+
*/
|
2620
|
+
Filters?: ListUsersFilters;
|
2345
2621
|
}
|
2346
2622
|
export interface ListUsersResponse {
|
2347
2623
|
/**
|
@@ -2538,6 +2814,7 @@ declare namespace WorkMail {
|
|
2538
2814
|
export type MobileDeviceAccessRuleId = string;
|
2539
2815
|
export type MobileDeviceAccessRuleName = string;
|
2540
2816
|
export type MobileDeviceAccessRulesList = MobileDeviceAccessRule[];
|
2817
|
+
export type NewResourceDescription = string;
|
2541
2818
|
export type NextToken = string;
|
2542
2819
|
export type OrganizationId = string;
|
2543
2820
|
export type OrganizationName = string;
|
@@ -2670,13 +2947,13 @@ declare namespace WorkMail {
|
|
2670
2947
|
*/
|
2671
2948
|
OrganizationId: OrganizationId;
|
2672
2949
|
/**
|
2673
|
-
* The identifier of the user
|
2950
|
+
* The identifier of the user or resource for which to update mailbox permissions. The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email. Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity
|
2674
2951
|
*/
|
2675
|
-
EntityId:
|
2952
|
+
EntityId: EntityIdentifier;
|
2676
2953
|
/**
|
2677
|
-
* The identifier of the user, group, or resource to which to grant the permissions.
|
2954
|
+
* The identifier of the user, group, or resource to which to grant the permissions. The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email. Grantee ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: grantee@domain.tld Grantee name: grantee
|
2678
2955
|
*/
|
2679
|
-
GranteeId:
|
2956
|
+
GranteeId: EntityIdentifier;
|
2680
2957
|
/**
|
2681
2958
|
* The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
|
2682
2959
|
*/
|
@@ -2764,9 +3041,9 @@ declare namespace WorkMail {
|
|
2764
3041
|
*/
|
2765
3042
|
OrganizationId: OrganizationId;
|
2766
3043
|
/**
|
2767
|
-
* The identifier for the user, group, or resource to be updated.
|
3044
|
+
* The identifier for the user, group, or resource to be updated. The identifier can accept UserId, ResourceId, or GroupId, or Username, Resourcename, or Groupname. The following identity formats are available: Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Entity name: entity
|
2768
3045
|
*/
|
2769
|
-
EntityId:
|
3046
|
+
EntityId: EntityIdentifier;
|
2770
3047
|
/**
|
2771
3048
|
* The email for the user, group, or resource to be updated.
|
2772
3049
|
*/
|
@@ -2819,8 +3096,13 @@ declare namespace WorkMail {
|
|
2819
3096
|
* The date indicating when the resource was disabled from WorkMail use.
|
2820
3097
|
*/
|
2821
3098
|
DisabledDate?: Timestamp;
|
3099
|
+
/**
|
3100
|
+
* Resource description.
|
3101
|
+
*/
|
3102
|
+
Description?: ResourceDescription;
|
2822
3103
|
}
|
2823
3104
|
export type ResourceDelegates = Delegate[];
|
3105
|
+
export type ResourceDescription = string;
|
2824
3106
|
export type ResourceId = string;
|
2825
3107
|
export type ResourceName = string;
|
2826
3108
|
export type ResourceType = "ROOM"|"EQUIPMENT"|string;
|
@@ -2841,9 +3123,9 @@ declare namespace WorkMail {
|
|
2841
3123
|
*/
|
2842
3124
|
OrganizationId: OrganizationId;
|
2843
3125
|
/**
|
2844
|
-
* The identifier of the user or resource associated with the mailbox.
|
3126
|
+
* The identifier of the user or resource associated with the mailbox. The identifier can accept UserId or ResourceId, Username or Resourcename, or email. The following identity formats are available: Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789 , or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity
|
2845
3127
|
*/
|
2846
|
-
EntityId:
|
3128
|
+
EntityId: EntityIdentifier;
|
2847
3129
|
/**
|
2848
3130
|
* The mailbox export job description.
|
2849
3131
|
*/
|
@@ -2966,6 +3248,22 @@ declare namespace WorkMail {
|
|
2966
3248
|
}
|
2967
3249
|
export interface UpdateDefaultMailDomainResponse {
|
2968
3250
|
}
|
3251
|
+
export interface UpdateGroupRequest {
|
3252
|
+
/**
|
3253
|
+
* The identifier for the organization under which the group exists.
|
3254
|
+
*/
|
3255
|
+
OrganizationId: OrganizationId;
|
3256
|
+
/**
|
3257
|
+
* The identifier for the group to be updated. The identifier can accept GroupId, Groupname, or email. The following identity formats are available: Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: group@domain.tld Group name: group
|
3258
|
+
*/
|
3259
|
+
GroupId: EntityIdentifier;
|
3260
|
+
/**
|
3261
|
+
* If enabled, the group is hidden from the global address list.
|
3262
|
+
*/
|
3263
|
+
HiddenFromGlobalAddressList?: BooleanObject;
|
3264
|
+
}
|
3265
|
+
export interface UpdateGroupResponse {
|
3266
|
+
}
|
2969
3267
|
export interface UpdateImpersonationRoleRequest {
|
2970
3268
|
/**
|
2971
3269
|
* The WorkMail organization that contains the impersonation role to update.
|
@@ -3000,9 +3298,9 @@ declare namespace WorkMail {
|
|
3000
3298
|
*/
|
3001
3299
|
OrganizationId: OrganizationId;
|
3002
3300
|
/**
|
3003
|
-
* The identifer for the user for whom to update the mailbox quota.
|
3301
|
+
* The identifer for the user for whom to update the mailbox quota. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
3004
3302
|
*/
|
3005
|
-
UserId:
|
3303
|
+
UserId: EntityIdentifier;
|
3006
3304
|
/**
|
3007
3305
|
* The updated mailbox quota, in MB, for the specified user.
|
3008
3306
|
*/
|
@@ -3072,9 +3370,9 @@ declare namespace WorkMail {
|
|
3072
3370
|
*/
|
3073
3371
|
OrganizationId: OrganizationId;
|
3074
3372
|
/**
|
3075
|
-
* The user, group, or resource to update.
|
3373
|
+
* The user, group, or resource to update. The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available: Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234 Email address: entity@domain.tld Entity name: entity
|
3076
3374
|
*/
|
3077
|
-
EntityId:
|
3375
|
+
EntityId: EntityIdentifier;
|
3078
3376
|
/**
|
3079
3377
|
* The value of the email to be updated as primary.
|
3080
3378
|
*/
|
@@ -3088,9 +3386,9 @@ declare namespace WorkMail {
|
|
3088
3386
|
*/
|
3089
3387
|
OrganizationId: OrganizationId;
|
3090
3388
|
/**
|
3091
|
-
* The identifier of the resource to be updated.
|
3389
|
+
* The identifier of the resource to be updated. The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available: Resource ID: r-0123456789a0123456789b0123456789 Email address: resource@domain.tld Resource name: resource
|
3092
3390
|
*/
|
3093
|
-
ResourceId:
|
3391
|
+
ResourceId: EntityIdentifier;
|
3094
3392
|
/**
|
3095
3393
|
* The name of the resource to be updated.
|
3096
3394
|
*/
|
@@ -3099,9 +3397,93 @@ declare namespace WorkMail {
|
|
3099
3397
|
* The resource's booking options to be updated.
|
3100
3398
|
*/
|
3101
3399
|
BookingOptions?: BookingOptions;
|
3400
|
+
/**
|
3401
|
+
* Updates the resource description.
|
3402
|
+
*/
|
3403
|
+
Description?: NewResourceDescription;
|
3404
|
+
/**
|
3405
|
+
* Updates the resource type.
|
3406
|
+
*/
|
3407
|
+
Type?: ResourceType;
|
3408
|
+
/**
|
3409
|
+
* If enabled, the resource is hidden from the global address list.
|
3410
|
+
*/
|
3411
|
+
HiddenFromGlobalAddressList?: BooleanObject;
|
3102
3412
|
}
|
3103
3413
|
export interface UpdateResourceResponse {
|
3104
3414
|
}
|
3415
|
+
export interface UpdateUserRequest {
|
3416
|
+
/**
|
3417
|
+
* The identifier for the organization under which the user exists.
|
3418
|
+
*/
|
3419
|
+
OrganizationId: OrganizationId;
|
3420
|
+
/**
|
3421
|
+
* The identifier for the user to be updated. The identifier can be the UserId, Username, or email. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
3422
|
+
*/
|
3423
|
+
UserId: EntityIdentifier;
|
3424
|
+
/**
|
3425
|
+
* Updates the user role. You cannot pass SYSTEM_USER or RESOURCE.
|
3426
|
+
*/
|
3427
|
+
Role?: UserRole;
|
3428
|
+
/**
|
3429
|
+
* Updates the display name of the user.
|
3430
|
+
*/
|
3431
|
+
DisplayName?: UserAttribute;
|
3432
|
+
/**
|
3433
|
+
* Updates the user's first name.
|
3434
|
+
*/
|
3435
|
+
FirstName?: UserAttribute;
|
3436
|
+
/**
|
3437
|
+
* Updates the user's last name.
|
3438
|
+
*/
|
3439
|
+
LastName?: UserAttribute;
|
3440
|
+
/**
|
3441
|
+
* If enabled, the user is hidden from the global address list.
|
3442
|
+
*/
|
3443
|
+
HiddenFromGlobalAddressList?: BooleanObject;
|
3444
|
+
/**
|
3445
|
+
* Updates the user's initials.
|
3446
|
+
*/
|
3447
|
+
Initials?: UserAttribute;
|
3448
|
+
/**
|
3449
|
+
* Updates the user's contact details.
|
3450
|
+
*/
|
3451
|
+
Telephone?: UserAttribute;
|
3452
|
+
/**
|
3453
|
+
* Updates the user's street address.
|
3454
|
+
*/
|
3455
|
+
Street?: UserAttribute;
|
3456
|
+
/**
|
3457
|
+
* Updates the user's job title.
|
3458
|
+
*/
|
3459
|
+
JobTitle?: UserAttribute;
|
3460
|
+
/**
|
3461
|
+
* Updates the user's city.
|
3462
|
+
*/
|
3463
|
+
City?: UserAttribute;
|
3464
|
+
/**
|
3465
|
+
* Updates the user's company.
|
3466
|
+
*/
|
3467
|
+
Company?: UserAttribute;
|
3468
|
+
/**
|
3469
|
+
* Updates the user's zipcode.
|
3470
|
+
*/
|
3471
|
+
ZipCode?: UserAttribute;
|
3472
|
+
/**
|
3473
|
+
* Updates the user's department.
|
3474
|
+
*/
|
3475
|
+
Department?: UserAttribute;
|
3476
|
+
/**
|
3477
|
+
* Updates the user's country.
|
3478
|
+
*/
|
3479
|
+
Country?: UserAttribute;
|
3480
|
+
/**
|
3481
|
+
* Updates the user's office.
|
3482
|
+
*/
|
3483
|
+
Office?: UserAttribute;
|
3484
|
+
}
|
3485
|
+
export interface UpdateUserResponse {
|
3486
|
+
}
|
3105
3487
|
export type Url = string;
|
3106
3488
|
export interface User {
|
3107
3489
|
/**
|
@@ -3137,9 +3519,10 @@ declare namespace WorkMail {
|
|
3137
3519
|
*/
|
3138
3520
|
DisabledDate?: Timestamp;
|
3139
3521
|
}
|
3522
|
+
export type UserAttribute = string;
|
3140
3523
|
export type UserIdList = WorkMailIdentifier[];
|
3141
3524
|
export type UserName = string;
|
3142
|
-
export type UserRole = "USER"|"RESOURCE"|"SYSTEM_USER"|string;
|
3525
|
+
export type UserRole = "USER"|"RESOURCE"|"SYSTEM_USER"|"REMOTE_USER"|string;
|
3143
3526
|
export type Users = User[];
|
3144
3527
|
export type WorkMailDomainName = string;
|
3145
3528
|
export type WorkMailIdentifier = string;
|