getApprovalTeam method

Future<GetApprovalTeamResponse> getApprovalTeam({
  1. required String arn,
})

Returns details for an approval team.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter arn : Amazon Resource Name (ARN) for the team.

Implementation

Future<GetApprovalTeamResponse> getApprovalTeam({
  required String arn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/approval-teams/${Uri.encodeComponent(arn)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetApprovalTeamResponse.fromJson(response);
}