deleteQuickConnect method

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

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

Deletes a 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<void> deleteQuickConnect({
  required String instanceId,
  required String quickConnectId,
}) async {
  ArgumentError.checkNotNull(instanceId, 'instanceId');
  _s.validateStringLength(
    'instanceId',
    instanceId,
    1,
    100,
    isRequired: true,
  );
  ArgumentError.checkNotNull(quickConnectId, 'quickConnectId');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/quick-connects/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(quickConnectId)}',
    exceptionFnMap: _exceptionFns,
  );
}