getRegistry method

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

Gets a registry by identifier (ARN or ID)

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

Parameter registryId : The identifier of the registry to retrieve (ARN or ID)

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);
}