getArtifactUrl method
Returns the artifact info that corresponds to an artifact id.
May throw BadRequestException.
May throw InternalFailureException.
May throw LimitExceededException.
May throw NotFoundException.
May throw UnauthorizedException.
Parameter artifactId :
The unique ID for an artifact.
Implementation
Future<GetArtifactUrlResult> getArtifactUrl({
required String artifactId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/artifacts/${Uri.encodeComponent(artifactId)}',
exceptionFnMap: _exceptionFns,
);
return GetArtifactUrlResult.fromJson(response);
}