getShare method
Retrieves the metadata for the specified resource share.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter shareId :
The ID of the share.
Implementation
Future<GetShareResponse> getShare({
required String shareId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/share/${Uri.encodeComponent(shareId)}',
exceptionFnMap: _exceptionFns,
);
return GetShareResponse.fromJson(response);
}