describeQuickConnect method

Future<DescribeQuickConnectResponse> describeQuickConnect({
  1. required String instanceId,
  2. required String quickConnectId,
})

This API is in preview release for Amazon Connect and is subject to change.

Describes the quick connect.

May throw InvalidRequestException. May throw InvalidParameterException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalServiceException.

Parameter instanceId : The identifier of the Amazon Connect instance.

Parameter quickConnectId : The identifier for the quick connect.

Implementation

Future<DescribeQuickConnectResponse> describeQuickConnect({
  required String instanceId,
  required String quickConnectId,
}) async {
  ArgumentError.checkNotNull(instanceId, 'instanceId');
  _s.validateStringLength(
    'instanceId',
    instanceId,
    1,
    100,
    isRequired: true,
  );
  ArgumentError.checkNotNull(quickConnectId, 'quickConnectId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/quick-connects/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(quickConnectId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeQuickConnectResponse.fromJson(response);
}