describeAuditSuppression method
Future<DescribeAuditSuppressionResponse>
describeAuditSuppression({
- required String checkName,
- required ResourceIdentifier resourceIdentifier,
Gets information about a Device Defender audit suppression.
May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalFailureException.
Implementation
Future<DescribeAuditSuppressionResponse> describeAuditSuppression({
required String checkName,
required ResourceIdentifier resourceIdentifier,
}) async {
ArgumentError.checkNotNull(checkName, 'checkName');
ArgumentError.checkNotNull(resourceIdentifier, 'resourceIdentifier');
final $payload = <String, dynamic>{
'checkName': checkName,
'resourceIdentifier': resourceIdentifier,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/audit/suppressions/describe',
exceptionFnMap: _exceptionFns,
);
return DescribeAuditSuppressionResponse.fromJson(response);
}