describePackage method
Returns information about a package.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter packageId :
The package's ID.
Implementation
Future<DescribePackageResponse> describePackage({
required String packageId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/packages/metadata/${Uri.encodeComponent(packageId)}',
exceptionFnMap: _exceptionFns,
);
return DescribePackageResponse.fromJson(response);
}