getResourceProfile method
Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter resourceArn :
The Amazon Resource Name (ARN) of the S3 bucket that the request applies
to.
Implementation
Future<GetResourceProfileResponse> getResourceProfile({
required String resourceArn,
}) async {
final $query = <String, List<String>>{
'resourceArn': [resourceArn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/resource-profiles',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetResourceProfileResponse.fromJson(response);
}