PersonalAccessTokenSummary
Important
End of support notice: On March 31, 2027, AWS will end support for Amazon WorkMail. After March 31, 2027, you will no longer be able to access the WorkMail console or WorkMail resources. For more information, see Amazon WorkMail end of support.
The summary of the Personal Access Token.
Contents
- DateCreated
-
The date when the Personal Access Token was created.
Type: Timestamp
Required: No
- DateLastUsed
-
The date when the Personal Access Token was last used.
Type: Timestamp
Required: No
- ExpiresTime
-
The date when the Personal Access Token will expire.
Type: Timestamp
Required: No
- Name
-
The name of the Personal Access Token.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[^\x00-\x1F\x7F\x3C\x3E\x5C]+Required: No
- PersonalAccessTokenId
-
The ID of the Personal Access Token.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[a-zA-Z0-9_-]+Required: No
- Scopes
-
Lists all the Personal Access Token permissions for a mailbox.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Length Constraints: Minimum length of 1. Maximum length of 256.
Pattern:
[^\x00-\x1F\x7F\x3C\x3E\x5C]+Required: No
- UserId
-
The user ID of the WorkMail user associated with the Personal Access Token.
Type: String
Length Constraints: Minimum length of 12. Maximum length of 256.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: