getNotificationsAccessForOrganization method

Future<GetNotificationsAccessForOrganizationResponse> getNotificationsAccessForOrganization()

Returns the AccessStatus of Service Trust Enablement for User Notifications and Amazon Web Services Organizations.

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

Implementation

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