getPolicy method
Retrieve the JSON for your policy.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceQuotaExceededException.
May throw TooManyRequestsException.
Implementation
Future<GetPolicyResponse> getPolicy() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/2017-08-29/policy',
exceptionFnMap: _exceptionFns,
);
return GetPolicyResponse.fromJson(response);
}