describeElasticsearchDomainConfig method

Future<DescribeElasticsearchDomainConfigResponse> describeElasticsearchDomainConfig({
  1. required String domainName,
})

Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.

May throw BaseException. May throw InternalException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter domainName : The Elasticsearch domain that you want to get information about.

Implementation

Future<DescribeElasticsearchDomainConfigResponse>
    describeElasticsearchDomainConfig({
  required String domainName,
}) async {
  ArgumentError.checkNotNull(domainName, 'domainName');
  _s.validateStringLength(
    'domainName',
    domainName,
    3,
    28,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/2015-01-01/es/domain/${Uri.encodeComponent(domainName)}/config',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeElasticsearchDomainConfigResponse.fromJson(response);
}