getUserAccessLoggingSettings method

Future<GetUserAccessLoggingSettingsResponse> getUserAccessLoggingSettings({
  1. required String userAccessLoggingSettingsArn,
})

Gets user access logging settings.

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

Parameter userAccessLoggingSettingsArn : The ARN of the user access logging settings.

Implementation

Future<GetUserAccessLoggingSettingsResponse> getUserAccessLoggingSettings({
  required String userAccessLoggingSettingsArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/userAccessLoggingSettings/${userAccessLoggingSettingsArn.split('/').map(Uri.encodeComponent).join('/')}',
    exceptionFnMap: _exceptionFns,
  );
  return GetUserAccessLoggingSettingsResponse.fromJson(response);
}