acceptShare method
Accept a resource share request.
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 resource share.
Implementation
Future<AcceptShareResponse> acceptShare({
required String shareId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/share/${Uri.encodeComponent(shareId)}',
exceptionFnMap: _exceptionFns,
);
return AcceptShareResponse.fromJson(response);
}