describeDomainConfig method
Returns the configuration of an Amazon OpenSearch Service domain.
May throw BaseException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter domainName :
Name of the OpenSearch Service domain configuration that you want to
describe.
Implementation
Future<DescribeDomainConfigResponse> describeDomainConfig({
required String domainName,
}) async {
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);
}