get_retention_settings
(**kwargs)¶Gets the retention settings for the specified Amazon Chime Enterprise account. For more information about retention settings, see Managing Chat Retention Policies in the Amazon Chime Administration Guide .
See also: AWS API Documentation
Request Syntax
response = client.get_retention_settings(
AccountId='string'
)
[REQUIRED]
The Amazon Chime account ID.
{
'RetentionSettings': {
'RoomRetentionSettings': {
'RetentionDays': 123
},
'ConversationRetentionSettings': {
'RetentionDays': 123
}
},
'InitiateDeletionTimestamp': datetime(2015, 1, 1)
}
Response Structure
The retention settings.
The chat room retention settings.
The number of days for which to retain chat-room messages.
The chat conversation retention settings.
The number of days for which to retain conversation messages.
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
Exceptions
Chime.Client.exceptions.UnauthorizedClientException
Chime.Client.exceptions.NotFoundException
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException