deleteDataAccessor method

Future<void> deleteDataAccessor({
  1. required String applicationId,
  2. required String dataAccessorId,
})

Deletes a specified data accessor. This operation permanently removes the data accessor and its associated IAM Identity Center application. Any access granted to the ISV through this data accessor will be revoked.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter applicationId : The unique identifier of the Amazon Q Business application.

Parameter dataAccessorId : The unique identifier of the data accessor to delete.

Implementation

Future<void> deleteDataAccessor({
  required String applicationId,
  required String dataAccessorId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/applications/${Uri.encodeComponent(applicationId)}/dataaccessors/${Uri.encodeComponent(dataAccessorId)}',
    exceptionFnMap: _exceptionFns,
  );
}