getAuthPolicy method
Retrieves information about the auth policy for the specified service or service network.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter resourceIdentifier :
The ID or ARN of the service network or service.
Implementation
Future<GetAuthPolicyResponse> getAuthPolicy({
required String resourceIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/authpolicy/${Uri.encodeComponent(resourceIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetAuthPolicyResponse.fromJson(response);
}