getRegistry method

Future<GetRegistryResponse> getRegistry({
  1. required String registryId,
})

Retrieves information about a specific registry.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter registryId : The identifier of the registry to retrieve. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

Implementation

Future<GetRegistryResponse> getRegistry({
  required String registryId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/registries/${Uri.encodeComponent(registryId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetRegistryResponse.fromJson(response);
}