getKxScalingGroup method

Future<GetKxScalingGroupResponse> getKxScalingGroup({
  1. required String environmentId,
  2. required String scalingGroupName,
})

Retrieves details of a scaling group.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw LimitExceededException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter environmentId : A unique identifier for the kdb environment.

Parameter scalingGroupName : A unique identifier for the kdb scaling group.

Implementation

Future<GetKxScalingGroupResponse> getKxScalingGroup({
  required String environmentId,
  required String scalingGroupName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/kx/environments/${Uri.encodeComponent(environmentId)}/scalingGroups/${Uri.encodeComponent(scalingGroupName)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetKxScalingGroupResponse.fromJson(response);
}