describeAgentStatus method
Describes an agent status.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter agentStatusId :
The identifier for the agent status.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Implementation
Future<DescribeAgentStatusResponse> describeAgentStatus({
required String agentStatusId,
required String instanceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/agent-status/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(agentStatusId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeAgentStatusResponse.fromJson(response);
}