List Email Messages For Email Folder Id Input
data class ListEmailMessagesForEmailFolderIdInput(val folderId: String, val dateRange: EmailMessageDateRange? = null, val cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY, val limit: Int? = SudoEmailClient.DEFAULT_EMAIL_MESSAGE_LIMIT, val nextToken: String? = null, val sortOrder: SortOrder = SortOrder.DESC)
Input object containing an email address identifier and other properties used to list email messages for an email address.
Constructors
Link copied to clipboard
constructor(folderId: String, dateRange: EmailMessageDateRange? = null, cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY, limit: Int? = SudoEmailClient.DEFAULT_EMAIL_MESSAGE_LIMIT, nextToken: String? = null, sortOrder: SortOrder = SortOrder.DESC)
Properties
Link copied to clipboard
CachePolicy Determines how the data will be fetched. When using CachePolicy.CACHE_ONLY, be aware that this will only return cached results of identical API calls.
Link copied to clipboard
EmailMessageDateRange Email messages matching the specified date range inclusive will be fetched.
Link copied to clipboard
String A token generated from previous calls to SudoEmailClient.listEmailMessagesForEmailFolderId. This is to allow for pagination. This value should be generated from a previous pagination call, otherwise it will throw an exception. The same arguments should be supplied to this method if using a previously generated nextToken.