getAnalyzedResource method
Retrieves information about a resource that was analyzed.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter analyzerArn :
The ARN
of the analyzer to retrieve information from.
Parameter resourceArn :
The ARN of the resource to retrieve information about.
Implementation
Future<GetAnalyzedResourceResponse> getAnalyzedResource({
required String analyzerArn,
required String resourceArn,
}) async {
final $query = <String, List<String>>{
'analyzerArn': [analyzerArn],
'resourceArn': [resourceArn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/analyzed-resource',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetAnalyzedResourceResponse.fromJson(response);
}