updateEventIntegration method

Future<void> updateEventIntegration({
  1. required String name,
  2. String? description,
})

Updates the description of an event integration.

May throw AccessDeniedException. May throw InternalServiceError. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter name : The name of the event integration.

Parameter description : The description of the event integration.

Implementation

Future<void> updateEventIntegration({
  required String name,
  String? description,
}) async {
  final $payload = <String, dynamic>{
    if (description != null) 'Description': description,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PATCH',
    requestUri: '/eventIntegrations/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
}