getApplicationPolicy method
Retrieves the policy for the application.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter applicationId :
The Amazon Resource Name (ARN) of the application.
Implementation
Future<GetApplicationPolicyResponse> getApplicationPolicy({
required String applicationId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/applications/${Uri.encodeComponent(applicationId)}/policy',
exceptionFnMap: _exceptionFns,
);
return GetApplicationPolicyResponse.fromJson(response);
}