describeRegistry method

Future<DescribeRegistryResponse> describeRegistry({
  1. required String registryName,
})

Describes the registry.

May throw BadRequestException. May throw UnauthorizedException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException.

Parameter registryName : The name of the registry.

Implementation

Future<DescribeRegistryResponse> describeRegistry({
  required String registryName,
}) async {
  ArgumentError.checkNotNull(registryName, 'registryName');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/registries/name/${Uri.encodeComponent(registryName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeRegistryResponse.fromJson(response);
}