updateQuickConnectName method
Updates the name and description of a quick connect. The request accepts
the following data in JSON format. At least Name or
Description must be provided.
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.
Parameter description :
The description of the quick connect.
Parameter name :
The name of the quick connect.
Implementation
Future<void> updateQuickConnectName({
required String instanceId,
required String quickConnectId,
String? description,
String? name,
}) async {
final $payload = <String, dynamic>{
if (description != null) 'Description': description,
if (name != null) 'Name': name,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/quick-connects/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(quickConnectId)}/name',
exceptionFnMap: _exceptionFns,
);
}