describeDaemon method

Future<DescribeDaemonResponse> describeDaemon({
  1. required String daemonArn,
})

Describes the specified daemon.

May throw AccessDeniedException. May throw ClientException. May throw ClusterNotFoundException. May throw DaemonNotFoundException. May throw InvalidParameterException. May throw ServerException. May throw UnsupportedFeatureException.

Parameter daemonArn : The Amazon Resource Name (ARN) of the daemon to describe.

Implementation

Future<DescribeDaemonResponse> describeDaemon({
  required String daemonArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AmazonEC2ContainerServiceV20141113.DescribeDaemon'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'daemonArn': daemonArn,
    },
  );

  return DescribeDaemonResponse.fromJson(jsonResponse.body);
}