getStorageTierPolicy method
Returns the storage tier policy for the account.
May throw AccessDeniedException.
May throw InvalidParameterException.
May throw OperationAbortedException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
Implementation
Future<GetStorageTierPolicyResponse> getStorageTierPolicy() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Logs_20140328.GetStorageTierPolicy'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return GetStorageTierPolicyResponse.fromJson(jsonResponse.body);
}