get_app_instance_retention_settings(**kwargs)¶Gets the retention settings for an AppInstance .
See also: AWS API Documentation
Request Syntax
response = client.get_app_instance_retention_settings(
AppInstanceArn='string'
)
[REQUIRED]
The ARN of the AppInstance .
{
'AppInstanceRetentionSettings': {
'ChannelRetentionSettings': {
'RetentionDays': 123
}
},
'InitiateDeletionTimestamp': datetime(2015, 1, 1)
}
Response Structure
The retention settings for the AppInstance .
The length of time in days to retain the messages in a channel.
The time in days to retain the messages in a channel.
The timestamp representing the time at which the specified items are retained, in Epoch Seconds.
Exceptions
Chime.Client.exceptions.UnauthorizedClientExceptionChime.Client.exceptions.NotFoundExceptionChime.Client.exceptions.BadRequestExceptionChime.Client.exceptions.ForbiddenExceptionChime.Client.exceptions.ThrottledClientExceptionChime.Client.exceptions.ServiceUnavailableExceptionChime.Client.exceptions.ServiceFailureException