getRegistryScanningConfiguration method

Future<GetRegistryScanningConfigurationResponse> getRegistryScanningConfiguration()

Retrieves the scanning configuration for a registry.

May throw InvalidParameterException. May throw ServerException. May throw ValidationException.

Implementation

Future<GetRegistryScanningConfigurationResponse>
    getRegistryScanningConfiguration() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target':
        'AmazonEC2ContainerRegistry_V20150921.GetRegistryScanningConfiguration'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return GetRegistryScanningConfigurationResponse.fromJson(jsonResponse.body);
}