describeRegistry method
Describes the settings for a registry. The replication configuration for a repository can be created or updated with the PutReplicationConfiguration API action.
May throw ServerException. May throw InvalidParameterException. May throw ValidationException.
Implementation
Future<DescribeRegistryResponse> describeRegistry() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AmazonEC2ContainerRegistry_V20150921.DescribeRegistry'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return DescribeRegistryResponse.fromJson(jsonResponse.body);
}