ListEmailFoldersForEmailAddressIdInput

data class ListEmailFoldersForEmailAddressIdInput(val emailAddressId: String, val cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY, val limit: Int? = SudoEmailClient.DEFAULT_EMAIL_FOLDER_LIMIT, val nextToken: String? = null)

Input object containing an email address identifier and other properties used to list email folders for an email address.

Constructors

Link copied to clipboard
constructor(emailAddressId: String, cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY, limit: Int? = SudoEmailClient.DEFAULT_EMAIL_FOLDER_LIMIT, nextToken: String? = null)

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

String The identifier of the email address associated with the email folders.

Link copied to clipboard
val limit: Int?

Int Number of email folders to return. If omitted the limit defaults to 10.

Link copied to clipboard
val nextToken: String? = null

String A token generated from previous calls to SudoEmailClient.listEmailFoldersForEmailAddressId. 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.