@aws-sdk/client-workmail 3.682.0 → 3.683.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -1
- package/dist-cjs/index.js +386 -4
- package/dist-es/WorkMail.js +16 -0
- package/dist-es/commands/CreateIdentityCenterApplicationCommand.js +22 -0
- package/dist-es/commands/CreateResourceCommand.js +2 -1
- package/dist-es/commands/DeleteIdentityCenterApplicationCommand.js +22 -0
- package/dist-es/commands/DeleteIdentityProviderConfigurationCommand.js +22 -0
- package/dist-es/commands/DeletePersonalAccessTokenCommand.js +22 -0
- package/dist-es/commands/DescribeIdentityProviderConfigurationCommand.js +22 -0
- package/dist-es/commands/DescribeResourceCommand.js +2 -1
- package/dist-es/commands/GetPersonalAccessTokenMetadataCommand.js +22 -0
- package/dist-es/commands/ListPersonalAccessTokensCommand.js +22 -0
- package/dist-es/commands/ListResourcesCommand.js +2 -1
- package/dist-es/commands/PutIdentityProviderConfigurationCommand.js +22 -0
- package/dist-es/commands/UpdateResourceCommand.js +2 -1
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/ListPersonalAccessTokensPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +200 -0
- package/dist-types/WorkMail.d.ts +56 -0
- package/dist-types/WorkMailClient.d.ts +10 -2
- package/dist-types/commands/CreateIdentityCenterApplicationCommand.d.ts +78 -0
- package/dist-types/commands/CreateUserCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIdentityCenterApplicationCommand.d.ts +78 -0
- package/dist-types/commands/DeleteIdentityProviderConfigurationCommand.d.ts +82 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -0
- package/dist-types/commands/DeletePersonalAccessTokenCommand.d.ts +83 -0
- package/dist-types/commands/DescribeIdentityProviderConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +8 -0
- package/dist-types/commands/GetPersonalAccessTokenMetadataCommand.d.ts +96 -0
- package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/ListPersonalAccessTokensCommand.d.ts +108 -0
- package/dist-types/commands/ListUsersCommand.d.ts +3 -0
- package/dist-types/commands/PutIdentityProviderConfigurationCommand.d.ts +96 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +485 -1
- package/dist-types/pagination/ListPersonalAccessTokensPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +72 -0
- package/dist-types/ts3.4/WorkMail.d.ts +148 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateIdentityCenterApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIdentityCenterApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePersonalAccessTokenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPersonalAccessTokenMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPersonalAccessTokensCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutIdentityProviderConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +111 -0
- package/dist-types/ts3.4/pagination/ListPersonalAccessTokensPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
- package/package.json +1 -1
|
@@ -666,6 +666,48 @@ export declare class ReservedNameException extends __BaseException {
|
|
|
666
666
|
*/
|
|
667
667
|
constructor(opts: __ExceptionOptionType<ReservedNameException, __BaseException>);
|
|
668
668
|
}
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
*/
|
|
672
|
+
export interface CreateIdentityCenterApplicationRequest {
|
|
673
|
+
/**
|
|
674
|
+
* <p>
|
|
675
|
+
* The name of the IAM Identity Center application.
|
|
676
|
+
*
|
|
677
|
+
*
|
|
678
|
+
* </p>
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
681
|
+
Name: string | undefined;
|
|
682
|
+
/**
|
|
683
|
+
* <p>
|
|
684
|
+
* The Amazon Resource Name (ARN) of the instance.
|
|
685
|
+
* </p>
|
|
686
|
+
* @public
|
|
687
|
+
*/
|
|
688
|
+
InstanceArn: string | undefined;
|
|
689
|
+
/**
|
|
690
|
+
* <p>
|
|
691
|
+
* The idempotency token associated with the request.
|
|
692
|
+
*
|
|
693
|
+
*
|
|
694
|
+
* </p>
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
ClientToken?: string;
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
export interface CreateIdentityCenterApplicationResponse {
|
|
703
|
+
/**
|
|
704
|
+
* <p>
|
|
705
|
+
* The Amazon Resource Name (ARN) of the application.
|
|
706
|
+
* </p>
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
ApplicationArn?: string;
|
|
710
|
+
}
|
|
669
711
|
/**
|
|
670
712
|
* <p>The rules for the given impersonation role.</p>
|
|
671
713
|
* @public
|
|
@@ -1043,6 +1085,11 @@ export interface CreateUserRequest {
|
|
|
1043
1085
|
* @public
|
|
1044
1086
|
*/
|
|
1045
1087
|
HiddenFromGlobalAddressList?: boolean;
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.</p>
|
|
1090
|
+
* @public
|
|
1091
|
+
*/
|
|
1092
|
+
IdentityProviderUserId?: string;
|
|
1046
1093
|
}
|
|
1047
1094
|
/**
|
|
1048
1095
|
* @public
|
|
@@ -1208,6 +1255,39 @@ export interface DeleteGroupRequest {
|
|
|
1208
1255
|
*/
|
|
1209
1256
|
export interface DeleteGroupResponse {
|
|
1210
1257
|
}
|
|
1258
|
+
/**
|
|
1259
|
+
* @public
|
|
1260
|
+
*/
|
|
1261
|
+
export interface DeleteIdentityCenterApplicationRequest {
|
|
1262
|
+
/**
|
|
1263
|
+
* <p>
|
|
1264
|
+
* The Amazon Resource Name (ARN) of the application.
|
|
1265
|
+
* </p>
|
|
1266
|
+
* @public
|
|
1267
|
+
*/
|
|
1268
|
+
ApplicationArn: string | undefined;
|
|
1269
|
+
}
|
|
1270
|
+
/**
|
|
1271
|
+
* @public
|
|
1272
|
+
*/
|
|
1273
|
+
export interface DeleteIdentityCenterApplicationResponse {
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* @public
|
|
1277
|
+
*/
|
|
1278
|
+
export interface DeleteIdentityProviderConfigurationRequest {
|
|
1279
|
+
/**
|
|
1280
|
+
* <p>
|
|
1281
|
+
* The Organization ID. </p>
|
|
1282
|
+
* @public
|
|
1283
|
+
*/
|
|
1284
|
+
OrganizationId: string | undefined;
|
|
1285
|
+
}
|
|
1286
|
+
/**
|
|
1287
|
+
* @public
|
|
1288
|
+
*/
|
|
1289
|
+
export interface DeleteIdentityProviderConfigurationResponse {
|
|
1290
|
+
}
|
|
1211
1291
|
/**
|
|
1212
1292
|
* @public
|
|
1213
1293
|
*/
|
|
@@ -1361,6 +1441,11 @@ export interface DeleteOrganizationRequest {
|
|
|
1361
1441
|
* @public
|
|
1362
1442
|
*/
|
|
1363
1443
|
ForceDelete?: boolean;
|
|
1444
|
+
/**
|
|
1445
|
+
* <p>Deletes IAM Identity Center application for WorkMail. This action does not affect authentication settings for any organization.</p>
|
|
1446
|
+
* @public
|
|
1447
|
+
*/
|
|
1448
|
+
DeleteIdentityCenterApplication?: boolean;
|
|
1364
1449
|
}
|
|
1365
1450
|
/**
|
|
1366
1451
|
* @public
|
|
@@ -1377,6 +1462,28 @@ export interface DeleteOrganizationResponse {
|
|
|
1377
1462
|
*/
|
|
1378
1463
|
State?: string;
|
|
1379
1464
|
}
|
|
1465
|
+
/**
|
|
1466
|
+
* @public
|
|
1467
|
+
*/
|
|
1468
|
+
export interface DeletePersonalAccessTokenRequest {
|
|
1469
|
+
/**
|
|
1470
|
+
* <p>
|
|
1471
|
+
* The Organization ID. </p>
|
|
1472
|
+
* @public
|
|
1473
|
+
*/
|
|
1474
|
+
OrganizationId: string | undefined;
|
|
1475
|
+
/**
|
|
1476
|
+
* <p>
|
|
1477
|
+
* The Personal Access Token ID.</p>
|
|
1478
|
+
* @public
|
|
1479
|
+
*/
|
|
1480
|
+
PersonalAccessTokenId: string | undefined;
|
|
1481
|
+
}
|
|
1482
|
+
/**
|
|
1483
|
+
* @public
|
|
1484
|
+
*/
|
|
1485
|
+
export interface DeletePersonalAccessTokenResponse {
|
|
1486
|
+
}
|
|
1380
1487
|
/**
|
|
1381
1488
|
* @public
|
|
1382
1489
|
*/
|
|
@@ -1691,6 +1798,120 @@ export interface DescribeGroupResponse {
|
|
|
1691
1798
|
*/
|
|
1692
1799
|
HiddenFromGlobalAddressList?: boolean;
|
|
1693
1800
|
}
|
|
1801
|
+
/**
|
|
1802
|
+
* @public
|
|
1803
|
+
*/
|
|
1804
|
+
export interface DescribeIdentityProviderConfigurationRequest {
|
|
1805
|
+
/**
|
|
1806
|
+
* <p>
|
|
1807
|
+
* The Organization ID. </p>
|
|
1808
|
+
* @public
|
|
1809
|
+
*/
|
|
1810
|
+
OrganizationId: string | undefined;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* @public
|
|
1814
|
+
* @enum
|
|
1815
|
+
*/
|
|
1816
|
+
export declare const IdentityProviderAuthenticationMode: {
|
|
1817
|
+
readonly IDENTITY_PROVIDER_AND_DIRECTORY: "IDENTITY_PROVIDER_AND_DIRECTORY";
|
|
1818
|
+
readonly IDENTITY_PROVIDER_ONLY: "IDENTITY_PROVIDER_ONLY";
|
|
1819
|
+
};
|
|
1820
|
+
/**
|
|
1821
|
+
* @public
|
|
1822
|
+
*/
|
|
1823
|
+
export type IdentityProviderAuthenticationMode = (typeof IdentityProviderAuthenticationMode)[keyof typeof IdentityProviderAuthenticationMode];
|
|
1824
|
+
/**
|
|
1825
|
+
* <p>
|
|
1826
|
+
* The IAM Identity Center configuration.
|
|
1827
|
+
* </p>
|
|
1828
|
+
* @public
|
|
1829
|
+
*/
|
|
1830
|
+
export interface IdentityCenterConfiguration {
|
|
1831
|
+
/**
|
|
1832
|
+
* <p>
|
|
1833
|
+
* The Amazon Resource Name (ARN) of the of IAM Identity Center instance. Must be in the same AWS account and region as WorkMail organization.</p>
|
|
1834
|
+
* @public
|
|
1835
|
+
*/
|
|
1836
|
+
InstanceArn: string | undefined;
|
|
1837
|
+
/**
|
|
1838
|
+
* <p>
|
|
1839
|
+
* The Amazon Resource Name (ARN) of IAMIdentity Center Application for WorkMail. Must be created by the WorkMail API, see CreateIdentityCenterApplication.</p>
|
|
1840
|
+
* @public
|
|
1841
|
+
*/
|
|
1842
|
+
ApplicationArn: string | undefined;
|
|
1843
|
+
}
|
|
1844
|
+
/**
|
|
1845
|
+
* @public
|
|
1846
|
+
* @enum
|
|
1847
|
+
*/
|
|
1848
|
+
export declare const PersonalAccessTokenConfigurationStatus: {
|
|
1849
|
+
readonly ACTIVE: "ACTIVE";
|
|
1850
|
+
readonly INACTIVE: "INACTIVE";
|
|
1851
|
+
};
|
|
1852
|
+
/**
|
|
1853
|
+
* @public
|
|
1854
|
+
*/
|
|
1855
|
+
export type PersonalAccessTokenConfigurationStatus = (typeof PersonalAccessTokenConfigurationStatus)[keyof typeof PersonalAccessTokenConfigurationStatus];
|
|
1856
|
+
/**
|
|
1857
|
+
* <p>
|
|
1858
|
+
* Displays the Personal Access Token status.
|
|
1859
|
+
* </p>
|
|
1860
|
+
* @public
|
|
1861
|
+
*/
|
|
1862
|
+
export interface PersonalAccessTokenConfiguration {
|
|
1863
|
+
/**
|
|
1864
|
+
* <p>
|
|
1865
|
+
* The status of the Personal Access Token allowed for the organization.
|
|
1866
|
+
* </p>
|
|
1867
|
+
* <ul>
|
|
1868
|
+
* <li>
|
|
1869
|
+
* <p>
|
|
1870
|
+
* <i>Active</i> - Mailbox users can login to the web application and choose <i>Settings</i> to see the new <i>Personal Access Tokens</i> page to
|
|
1871
|
+
* create and delete the Personal Access Tokens. Mailbox users can use the Personal Access Tokens to set up mailbox connection from desktop or mobile email clients.</p>
|
|
1872
|
+
* </li>
|
|
1873
|
+
* <li>
|
|
1874
|
+
* <p>
|
|
1875
|
+
* <i>Inactive</i> - Personal Access Tokens are disabled for your organization. Mailbox users can’t create, list, or delete Personal Access Tokens and can’t use them to connect to
|
|
1876
|
+
* their mailboxes from desktop or mobile email clients.</p>
|
|
1877
|
+
* </li>
|
|
1878
|
+
* </ul>
|
|
1879
|
+
* @public
|
|
1880
|
+
*/
|
|
1881
|
+
Status: PersonalAccessTokenConfigurationStatus | undefined;
|
|
1882
|
+
/**
|
|
1883
|
+
* <p>
|
|
1884
|
+
* The validity of the Personal Access Token status in days.
|
|
1885
|
+
* </p>
|
|
1886
|
+
* @public
|
|
1887
|
+
*/
|
|
1888
|
+
LifetimeInDays?: number;
|
|
1889
|
+
}
|
|
1890
|
+
/**
|
|
1891
|
+
* @public
|
|
1892
|
+
*/
|
|
1893
|
+
export interface DescribeIdentityProviderConfigurationResponse {
|
|
1894
|
+
/**
|
|
1895
|
+
* <p>
|
|
1896
|
+
* The authentication mode used in WorkMail.</p>
|
|
1897
|
+
* @public
|
|
1898
|
+
*/
|
|
1899
|
+
AuthenticationMode?: IdentityProviderAuthenticationMode;
|
|
1900
|
+
/**
|
|
1901
|
+
* <p>
|
|
1902
|
+
* The details of the IAM Identity Center configuration.
|
|
1903
|
+
* </p>
|
|
1904
|
+
* @public
|
|
1905
|
+
*/
|
|
1906
|
+
IdentityCenterConfiguration?: IdentityCenterConfiguration;
|
|
1907
|
+
/**
|
|
1908
|
+
* <p>
|
|
1909
|
+
* The details of the Personal Access Token configuration.
|
|
1910
|
+
* </p>
|
|
1911
|
+
* @public
|
|
1912
|
+
*/
|
|
1913
|
+
PersonalAccessTokenConfiguration?: PersonalAccessTokenConfiguration;
|
|
1914
|
+
}
|
|
1694
1915
|
/**
|
|
1695
1916
|
* @public
|
|
1696
1917
|
*/
|
|
@@ -2120,6 +2341,18 @@ export interface DescribeUserResponse {
|
|
|
2120
2341
|
* @public
|
|
2121
2342
|
*/
|
|
2122
2343
|
Office?: string;
|
|
2344
|
+
/**
|
|
2345
|
+
* <p>User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.</p>
|
|
2346
|
+
* @public
|
|
2347
|
+
*/
|
|
2348
|
+
IdentityProviderUserId?: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* <p>
|
|
2351
|
+
* Identity Store ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.
|
|
2352
|
+
* </p>
|
|
2353
|
+
* @public
|
|
2354
|
+
*/
|
|
2355
|
+
IdentityProviderIdentityStoreId?: string;
|
|
2123
2356
|
}
|
|
2124
2357
|
/**
|
|
2125
2358
|
* @public
|
|
@@ -2750,6 +2983,76 @@ export interface GetMobileDeviceAccessOverrideResponse {
|
|
|
2750
2983
|
*/
|
|
2751
2984
|
DateModified?: Date;
|
|
2752
2985
|
}
|
|
2986
|
+
/**
|
|
2987
|
+
* @public
|
|
2988
|
+
*/
|
|
2989
|
+
export interface GetPersonalAccessTokenMetadataRequest {
|
|
2990
|
+
/**
|
|
2991
|
+
* <p>
|
|
2992
|
+
* The Organization ID. </p>
|
|
2993
|
+
* @public
|
|
2994
|
+
*/
|
|
2995
|
+
OrganizationId: string | undefined;
|
|
2996
|
+
/**
|
|
2997
|
+
* <p>
|
|
2998
|
+
* The Personal Access Token ID.</p>
|
|
2999
|
+
* @public
|
|
3000
|
+
*/
|
|
3001
|
+
PersonalAccessTokenId: string | undefined;
|
|
3002
|
+
}
|
|
3003
|
+
/**
|
|
3004
|
+
* @public
|
|
3005
|
+
*/
|
|
3006
|
+
export interface GetPersonalAccessTokenMetadataResponse {
|
|
3007
|
+
/**
|
|
3008
|
+
* <p>
|
|
3009
|
+
* The Personal Access Token ID.</p>
|
|
3010
|
+
* @public
|
|
3011
|
+
*/
|
|
3012
|
+
PersonalAccessTokenId?: string;
|
|
3013
|
+
/**
|
|
3014
|
+
* <p>
|
|
3015
|
+
* The WorkMail User ID.
|
|
3016
|
+
* </p>
|
|
3017
|
+
* @public
|
|
3018
|
+
*/
|
|
3019
|
+
UserId?: string;
|
|
3020
|
+
/**
|
|
3021
|
+
* <p>
|
|
3022
|
+
* The Personal Access Token name.
|
|
3023
|
+
* </p>
|
|
3024
|
+
* @public
|
|
3025
|
+
*/
|
|
3026
|
+
Name?: string;
|
|
3027
|
+
/**
|
|
3028
|
+
* <p>
|
|
3029
|
+
* The date when the Personal Access Token ID was created.
|
|
3030
|
+
* </p>
|
|
3031
|
+
* @public
|
|
3032
|
+
*/
|
|
3033
|
+
DateCreated?: Date;
|
|
3034
|
+
/**
|
|
3035
|
+
* <p>
|
|
3036
|
+
* The date when the Personal Access Token ID was last used.
|
|
3037
|
+
* </p>
|
|
3038
|
+
* @public
|
|
3039
|
+
*/
|
|
3040
|
+
DateLastUsed?: Date;
|
|
3041
|
+
/**
|
|
3042
|
+
* <p>
|
|
3043
|
+
* The time when the Personal Access Token ID will expire.
|
|
3044
|
+
* </p>
|
|
3045
|
+
* @public
|
|
3046
|
+
*/
|
|
3047
|
+
ExpiresTime?: Date;
|
|
3048
|
+
/**
|
|
3049
|
+
* <p>
|
|
3050
|
+
* Lists all the Personal Access Token permissions for a mailbox.
|
|
3051
|
+
* </p>
|
|
3052
|
+
* @public
|
|
3053
|
+
*/
|
|
3054
|
+
Scopes?: string[];
|
|
3055
|
+
}
|
|
2753
3056
|
/**
|
|
2754
3057
|
* <p>The representation of an WorkMail group.</p>
|
|
2755
3058
|
* @public
|
|
@@ -3697,6 +4000,112 @@ export interface ListOrganizationsResponse {
|
|
|
3697
4000
|
*/
|
|
3698
4001
|
NextToken?: string;
|
|
3699
4002
|
}
|
|
4003
|
+
/**
|
|
4004
|
+
* @public
|
|
4005
|
+
*/
|
|
4006
|
+
export interface ListPersonalAccessTokensRequest {
|
|
4007
|
+
/**
|
|
4008
|
+
* <p>
|
|
4009
|
+
* The Organization ID. </p>
|
|
4010
|
+
* @public
|
|
4011
|
+
*/
|
|
4012
|
+
OrganizationId: string | undefined;
|
|
4013
|
+
/**
|
|
4014
|
+
* <p>
|
|
4015
|
+
* The WorkMail User ID.
|
|
4016
|
+
* </p>
|
|
4017
|
+
* @public
|
|
4018
|
+
*/
|
|
4019
|
+
UserId?: string;
|
|
4020
|
+
/**
|
|
4021
|
+
* <p>
|
|
4022
|
+
* The token from the previous response to query the next page.</p>
|
|
4023
|
+
* @public
|
|
4024
|
+
*/
|
|
4025
|
+
NextToken?: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* <p>
|
|
4028
|
+
* The maximum amount of items that should be returned in a response.
|
|
4029
|
+
* </p>
|
|
4030
|
+
* @public
|
|
4031
|
+
*/
|
|
4032
|
+
MaxResults?: number;
|
|
4033
|
+
}
|
|
4034
|
+
/**
|
|
4035
|
+
* <p>
|
|
4036
|
+
* The summary of the Personal Access Token.
|
|
4037
|
+
* </p>
|
|
4038
|
+
* @public
|
|
4039
|
+
*/
|
|
4040
|
+
export interface PersonalAccessTokenSummary {
|
|
4041
|
+
/**
|
|
4042
|
+
* <p>
|
|
4043
|
+
* The ID of the Personal Access Token.
|
|
4044
|
+
* </p>
|
|
4045
|
+
* @public
|
|
4046
|
+
*/
|
|
4047
|
+
PersonalAccessTokenId?: string;
|
|
4048
|
+
/**
|
|
4049
|
+
* <p>
|
|
4050
|
+
* The user ID of the WorkMail user associated with the Personal Access Token.
|
|
4051
|
+
* </p>
|
|
4052
|
+
* @public
|
|
4053
|
+
*/
|
|
4054
|
+
UserId?: string;
|
|
4055
|
+
/**
|
|
4056
|
+
* <p>
|
|
4057
|
+
* The name of the Personal Access Token.
|
|
4058
|
+
* </p>
|
|
4059
|
+
* @public
|
|
4060
|
+
*/
|
|
4061
|
+
Name?: string;
|
|
4062
|
+
/**
|
|
4063
|
+
* <p>
|
|
4064
|
+
* The date when the Personal Access Token was created.
|
|
4065
|
+
* </p>
|
|
4066
|
+
* @public
|
|
4067
|
+
*/
|
|
4068
|
+
DateCreated?: Date;
|
|
4069
|
+
/**
|
|
4070
|
+
* <p>
|
|
4071
|
+
* The date when the Personal Access Token was last used.
|
|
4072
|
+
* </p>
|
|
4073
|
+
* @public
|
|
4074
|
+
*/
|
|
4075
|
+
DateLastUsed?: Date;
|
|
4076
|
+
/**
|
|
4077
|
+
* <p>
|
|
4078
|
+
* The date when the Personal Access Token will expire.
|
|
4079
|
+
* </p>
|
|
4080
|
+
* @public
|
|
4081
|
+
*/
|
|
4082
|
+
ExpiresTime?: Date;
|
|
4083
|
+
/**
|
|
4084
|
+
* <p>
|
|
4085
|
+
* Lists all the Personal Access Token permissions for a mailbox.
|
|
4086
|
+
* </p>
|
|
4087
|
+
* @public
|
|
4088
|
+
*/
|
|
4089
|
+
Scopes?: string[];
|
|
4090
|
+
}
|
|
4091
|
+
/**
|
|
4092
|
+
* @public
|
|
4093
|
+
*/
|
|
4094
|
+
export interface ListPersonalAccessTokensResponse {
|
|
4095
|
+
/**
|
|
4096
|
+
* <p>
|
|
4097
|
+
* The token from the previous response to query the next page.</p>
|
|
4098
|
+
* @public
|
|
4099
|
+
*/
|
|
4100
|
+
NextToken?: string;
|
|
4101
|
+
/**
|
|
4102
|
+
* <p>
|
|
4103
|
+
* Lists all the personal tokens in an organization or user, if user ID is provided.
|
|
4104
|
+
* </p>
|
|
4105
|
+
* @public
|
|
4106
|
+
*/
|
|
4107
|
+
PersonalAccessTokenSummaries?: PersonalAccessTokenSummary[];
|
|
4108
|
+
}
|
|
3700
4109
|
/**
|
|
3701
4110
|
* @public
|
|
3702
4111
|
*/
|
|
@@ -3924,6 +4333,11 @@ export interface ListUsersFilters {
|
|
|
3924
4333
|
* @public
|
|
3925
4334
|
*/
|
|
3926
4335
|
State?: EntityState;
|
|
4336
|
+
/**
|
|
4337
|
+
* <p>Filters only users with the ID from the IAM Identity Center.</p>
|
|
4338
|
+
* @public
|
|
4339
|
+
*/
|
|
4340
|
+
IdentityProviderUserIdPrefix?: string;
|
|
3927
4341
|
}
|
|
3928
4342
|
/**
|
|
3929
4343
|
* @public
|
|
@@ -3996,6 +4410,16 @@ export interface User {
|
|
|
3996
4410
|
* @public
|
|
3997
4411
|
*/
|
|
3998
4412
|
DisabledDate?: Date;
|
|
4413
|
+
/**
|
|
4414
|
+
* <p>User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.</p>
|
|
4415
|
+
* @public
|
|
4416
|
+
*/
|
|
4417
|
+
IdentityProviderUserId?: string;
|
|
4418
|
+
/**
|
|
4419
|
+
* <p>Identity store ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.</p>
|
|
4420
|
+
* @public
|
|
4421
|
+
*/
|
|
4422
|
+
IdentityProviderIdentityStoreId?: string;
|
|
3999
4423
|
}
|
|
4000
4424
|
/**
|
|
4001
4425
|
* @public
|
|
@@ -4112,6 +4536,41 @@ export interface PutEmailMonitoringConfigurationRequest {
|
|
|
4112
4536
|
*/
|
|
4113
4537
|
export interface PutEmailMonitoringConfigurationResponse {
|
|
4114
4538
|
}
|
|
4539
|
+
/**
|
|
4540
|
+
* @public
|
|
4541
|
+
*/
|
|
4542
|
+
export interface PutIdentityProviderConfigurationRequest {
|
|
4543
|
+
/**
|
|
4544
|
+
* <p>
|
|
4545
|
+
* The ID of the WorkMail Organization. </p>
|
|
4546
|
+
* @public
|
|
4547
|
+
*/
|
|
4548
|
+
OrganizationId: string | undefined;
|
|
4549
|
+
/**
|
|
4550
|
+
* <p>
|
|
4551
|
+
* The authentication mode used in WorkMail.</p>
|
|
4552
|
+
* @public
|
|
4553
|
+
*/
|
|
4554
|
+
AuthenticationMode: IdentityProviderAuthenticationMode | undefined;
|
|
4555
|
+
/**
|
|
4556
|
+
* <p>
|
|
4557
|
+
* The details of the IAM Identity Center configuration.</p>
|
|
4558
|
+
* @public
|
|
4559
|
+
*/
|
|
4560
|
+
IdentityCenterConfiguration: IdentityCenterConfiguration | undefined;
|
|
4561
|
+
/**
|
|
4562
|
+
* <p>
|
|
4563
|
+
* The details of the Personal Access Token configuration.
|
|
4564
|
+
* </p>
|
|
4565
|
+
* @public
|
|
4566
|
+
*/
|
|
4567
|
+
PersonalAccessTokenConfiguration: PersonalAccessTokenConfiguration | undefined;
|
|
4568
|
+
}
|
|
4569
|
+
/**
|
|
4570
|
+
* @public
|
|
4571
|
+
*/
|
|
4572
|
+
export interface PutIdentityProviderConfigurationResponse {
|
|
4573
|
+
}
|
|
4115
4574
|
/**
|
|
4116
4575
|
* @public
|
|
4117
4576
|
*/
|
|
@@ -4950,7 +5409,7 @@ export interface UpdateUserRequest {
|
|
|
4950
5409
|
*/
|
|
4951
5410
|
Company?: string;
|
|
4952
5411
|
/**
|
|
4953
|
-
* <p>Updates the user's
|
|
5412
|
+
* <p>Updates the user's zip code.</p>
|
|
4954
5413
|
* @public
|
|
4955
5414
|
*/
|
|
4956
5415
|
ZipCode?: string;
|
|
@@ -4969,6 +5428,11 @@ export interface UpdateUserRequest {
|
|
|
4969
5428
|
* @public
|
|
4970
5429
|
*/
|
|
4971
5430
|
Office?: string;
|
|
5431
|
+
/**
|
|
5432
|
+
* <p>User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.</p>
|
|
5433
|
+
* @public
|
|
5434
|
+
*/
|
|
5435
|
+
IdentityProviderUserId?: string;
|
|
4972
5436
|
}
|
|
4973
5437
|
/**
|
|
4974
5438
|
* @public
|
|
@@ -4983,14 +5447,30 @@ export declare const EwsAvailabilityProviderFilterSensitiveLog: (obj: EwsAvailab
|
|
|
4983
5447
|
* @internal
|
|
4984
5448
|
*/
|
|
4985
5449
|
export declare const CreateAvailabilityConfigurationRequestFilterSensitiveLog: (obj: CreateAvailabilityConfigurationRequest) => any;
|
|
5450
|
+
/**
|
|
5451
|
+
* @internal
|
|
5452
|
+
*/
|
|
5453
|
+
export declare const CreateResourceRequestFilterSensitiveLog: (obj: CreateResourceRequest) => any;
|
|
4986
5454
|
/**
|
|
4987
5455
|
* @internal
|
|
4988
5456
|
*/
|
|
4989
5457
|
export declare const CreateUserRequestFilterSensitiveLog: (obj: CreateUserRequest) => any;
|
|
5458
|
+
/**
|
|
5459
|
+
* @internal
|
|
5460
|
+
*/
|
|
5461
|
+
export declare const DescribeResourceResponseFilterSensitiveLog: (obj: DescribeResourceResponse) => any;
|
|
4990
5462
|
/**
|
|
4991
5463
|
* @internal
|
|
4992
5464
|
*/
|
|
4993
5465
|
export declare const DescribeUserResponseFilterSensitiveLog: (obj: DescribeUserResponse) => any;
|
|
5466
|
+
/**
|
|
5467
|
+
* @internal
|
|
5468
|
+
*/
|
|
5469
|
+
export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
|
|
5470
|
+
/**
|
|
5471
|
+
* @internal
|
|
5472
|
+
*/
|
|
5473
|
+
export declare const ListResourcesResponseFilterSensitiveLog: (obj: ListResourcesResponse) => any;
|
|
4994
5474
|
/**
|
|
4995
5475
|
* @internal
|
|
4996
5476
|
*/
|
|
@@ -5015,6 +5495,10 @@ export declare const TestAvailabilityConfigurationRequestFilterSensitiveLog: (ob
|
|
|
5015
5495
|
* @internal
|
|
5016
5496
|
*/
|
|
5017
5497
|
export declare const UpdateAvailabilityConfigurationRequestFilterSensitiveLog: (obj: UpdateAvailabilityConfigurationRequest) => any;
|
|
5498
|
+
/**
|
|
5499
|
+
* @internal
|
|
5500
|
+
*/
|
|
5501
|
+
export declare const UpdateResourceRequestFilterSensitiveLog: (obj: UpdateResourceRequest) => any;
|
|
5018
5502
|
/**
|
|
5019
5503
|
* @internal
|
|
5020
5504
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListPersonalAccessTokensCommandInput, ListPersonalAccessTokensCommandOutput } from "../commands/ListPersonalAccessTokensCommand";
|
|
3
|
+
import { WorkMailPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListPersonalAccessTokens: (config: WorkMailPaginationConfiguration, input: ListPersonalAccessTokensCommandInput, ...rest: any[]) => Paginator<ListPersonalAccessTokensCommandOutput>;
|
|
@@ -10,6 +10,7 @@ export * from "./ListMailboxExportJobsPaginator";
|
|
|
10
10
|
export * from "./ListMailboxPermissionsPaginator";
|
|
11
11
|
export * from "./ListMobileDeviceAccessOverridesPaginator";
|
|
12
12
|
export * from "./ListOrganizationsPaginator";
|
|
13
|
+
export * from "./ListPersonalAccessTokensPaginator";
|
|
13
14
|
export * from "./ListResourceDelegatesPaginator";
|
|
14
15
|
export * from "./ListResourcesPaginator";
|
|
15
16
|
export * from "./ListUsersPaginator";
|