updateQuickConnectConfig method

Future<void> updateQuickConnectConfig({
  1. required String instanceId,
  2. required QuickConnectConfig quickConnectConfig,
  3. required String quickConnectId,
})

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

Updates the configuration settings for the specified 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 quickConnectConfig : Information about the configuration settings for the quick connect.

Parameter quickConnectId : The identifier for the quick connect.

Implementation

Future<void> updateQuickConnectConfig({
  required String instanceId,
  required QuickConnectConfig quickConnectConfig,
  required String quickConnectId,
}) async {
  ArgumentError.checkNotNull(instanceId, 'instanceId');
  _s.validateStringLength(
    'instanceId',
    instanceId,
    1,
    100,
    isRequired: true,
  );
  ArgumentError.checkNotNull(quickConnectConfig, 'quickConnectConfig');
  ArgumentError.checkNotNull(quickConnectId, 'quickConnectId');
  final $payload = <String, dynamic>{
    'QuickConnectConfig': quickConnectConfig,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/quick-connects/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(quickConnectId)}/config',
    exceptionFnMap: _exceptionFns,
  );
}