CloudWatchLogs / Client / get_storage_tier_policy
get_storage_tier_policy¶
- CloudWatchLogs.Client.get_storage_tier_policy()¶
Returns the storage tier policy for your account.
See also: AWS API Documentation
Request Syntax
response = client.get_storage_tier_policy()
- Return type:
dict
- Returns:
Response Syntax
{ 'storageTier': 'STANDARD'|'INTELLIGENT_TIERING', 'lastUpdatedTime': 123 }
Response Structure
(dict) –
storageTier (string) –
The current storage tier for the account.
lastUpdatedTime (integer) –
The time when the storage tier policy was last updated, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.
Exceptions
CloudWatchLogs.Client.exceptions.ServiceUnavailableExceptionCloudWatchLogs.Client.exceptions.InvalidParameterExceptionCloudWatchLogs.Client.exceptions.AccessDeniedExceptionCloudWatchLogs.Client.exceptions.OperationAbortedExceptionCloudWatchLogs.Client.exceptions.ResourceNotFoundException