updateConnectorV2 method
Grants permission to update a connectorV2 based on its id and input parameters.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter connectorId :
The UUID of the connectorV2 to identify connectorV2 resource.
Parameter description :
The description of the connectorV2.
Parameter provider :
The third-party provider’s service configuration.
Implementation
Future<void> updateConnectorV2({
required String connectorId,
String? description,
ProviderUpdateConfiguration? provider,
}) async {
final $payload = <String, dynamic>{
if (description != null) 'Description': description,
if (provider != null) 'Provider': provider,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri:
'/connectorsv2/${connectorId.split('/').map(Uri.encodeComponent).join('/')}',
exceptionFnMap: _exceptionFns,
);
}