describeScalingParameters method
Future<DescribeScalingParametersResponse>
describeScalingParameters({
- required String domainName,
Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
May throw BaseException. May throw InternalException. May throw ResourceNotFoundException.
Implementation
Future<DescribeScalingParametersResponse> describeScalingParameters({
required String domainName,
}) async {
ArgumentError.checkNotNull(domainName, 'domainName');
_s.validateStringLength(
'domainName',
domainName,
3,
28,
isRequired: true,
);
final $request = <String, dynamic>{};
$request['DomainName'] = domainName;
final $result = await _protocol.send(
$request,
action: 'DescribeScalingParameters',
version: '2013-01-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeScalingParametersRequest'],
shapes: shapes,
resultWrapper: 'DescribeScalingParametersResult',
);
return DescribeScalingParametersResponse.fromXml($result);
}