deleteQuickConnect method

Future<void> deleteQuickConnect({
  1. required String instanceId,
  2. required String quickConnectId,
})

Deletes a quick connect.

  • Avoid dangling resources that impact your service quotas.
  • Remove deleted users so they don't appear to agents as transfer options.
  • Avoid the disruption of other Connect Customer processes, such as instance replication and syncing if you're using Connect Customer Global Resiliency.

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

Parameter instanceId : The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Parameter quickConnectId : The identifier for the quick connect.

Implementation

Future<void> deleteQuickConnect({
  required String instanceId,
  required String quickConnectId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/quick-connects/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(quickConnectId)}',
    exceptionFnMap: _exceptionFns,
  );
}