getMember method

Future<GetMemberResponse> getMember({
  1. required String accountId,
})

Gets member information for your organization.

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

Parameter accountId : The Amazon Web Services account ID of the member account to retrieve information on.

Implementation

Future<GetMemberResponse> getMember({
  required String accountId,
}) async {
  final $payload = <String, dynamic>{
    'accountId': accountId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/members/get',
    exceptionFnMap: _exceptionFns,
  );
  return GetMemberResponse.fromJson(response);
}