describeDomainAutoTunes method
Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date.
May throw BaseException. May throw InternalException. May throw ResourceNotFoundException. May throw ValidationException.
Parameter domainName
:
The domain name for which you want Auto-Tune action details.
Parameter maxResults
:
Set this value to limit the number of results returned. If not specified,
defaults to 100.
Parameter nextToken
:
NextToken is sent in case the earlier API call results contain the
NextToken. Used for pagination.
Implementation
Future<DescribeDomainAutoTunesResponse> describeDomainAutoTunes({
required String domainName,
int? maxResults,
String? nextToken,
}) async {
ArgumentError.checkNotNull(domainName, 'domainName');
_s.validateStringLength(
'domainName',
domainName,
3,
28,
isRequired: true,
);
_s.validateNumRange(
'maxResults',
maxResults,
0,
100,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/2021-01-01/opensearch/domain/${Uri.encodeComponent(domainName)}/autoTunes',
exceptionFnMap: _exceptionFns,
);
return DescribeDomainAutoTunesResponse.fromJson(response);
}