getMacieSession method

Future<GetMacieSessionResponse> getMacieSession()

Retrieves the status and configuration settings for an Amazon Macie account.

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

Implementation

Future<GetMacieSessionResponse> getMacieSession() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/macie',
    exceptionFnMap: _exceptionFns,
  );
  return GetMacieSessionResponse.fromJson(response);
}