describeDomainConfig method
Provides cluster configuration information about the specified 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 domain you want to get information about.
Implementation
Future<DescribeDomainConfigResponse> describeDomainConfig({
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:
'/2021-01-01/opensearch/domain/${Uri.encodeComponent(domainName)}/config',
exceptionFnMap: _exceptionFns,
);
return DescribeDomainConfigResponse.fromJson(response);
}