# \SqsTriggerApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_sqs_trigger**](SqsTriggerApi.md#create_sqs_trigger) | **POST** /w/{workspace}/sqs_triggers/create | create sqs trigger
[**delete_sqs_trigger**](SqsTriggerApi.md#delete_sqs_trigger) | **DELETE** /w/{workspace}/sqs_triggers/delete/{path} | delete sqs trigger
[**exists_sqs_trigger**](SqsTriggerApi.md#exists_sqs_trigger) | **GET** /w/{workspace}/sqs_triggers/exists/{path} | does sqs trigger exists
[**get_sqs_trigger**](SqsTriggerApi.md#get_sqs_trigger) | **GET** /w/{workspace}/sqs_triggers/get/{path} | get sqs trigger
[**list_sqs_triggers**](SqsTriggerApi.md#list_sqs_triggers) | **GET** /w/{workspace}/sqs_triggers/list | list sqs triggers
[**set_sqs_trigger_mode**](SqsTriggerApi.md#set_sqs_trigger_mode) | **POST** /w/{workspace}/sqs_triggers/setmode/{path} | set enabled sqs trigger
[**test_sqs_connection**](SqsTriggerApi.md#test_sqs_connection) | **POST** /w/{workspace}/sqs_triggers/test | test sqs connection
[**update_sqs_trigger**](SqsTriggerApi.md#update_sqs_trigger) | **POST** /w/{workspace}/sqs_triggers/update/{path} | update sqs trigger



## create_sqs_trigger

> String create_sqs_trigger(workspace, new_sqs_trigger)
create sqs trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**new_sqs_trigger** | [**NewSqsTrigger**](NewSqsTrigger.md) | new sqs trigger | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_sqs_trigger

> String delete_sqs_trigger(workspace, path)
delete sqs trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## exists_sqs_trigger

> bool exists_sqs_trigger(workspace, path)
does sqs trigger exists

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

**bool**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_sqs_trigger

> models::SqsTrigger get_sqs_trigger(workspace, path)
get sqs trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

[**models::SqsTrigger**](SqsTrigger.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_sqs_triggers

> Vec<models::SqsTrigger> list_sqs_triggers(workspace, page, per_page, path, is_flow, path_start, label)
list sqs triggers

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**page** | Option<**i32**> | which page to return (start at 1, default 1) |  |
**per_page** | Option<**i32**> | number of items to return for a given page (default 30, max 100) |  |
**path** | Option<**String**> | filter by path |  |
**is_flow** | Option<**bool**> |  |  |
**path_start** | Option<**String**> |  |  |
**label** | Option<**String**> | Filter by label |  |

### Return type

[**Vec<models::SqsTrigger>**](SqsTrigger.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## set_sqs_trigger_mode

> String set_sqs_trigger_mode(workspace, path, set_http_trigger_mode_request)
set enabled sqs trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**set_http_trigger_mode_request** | [**SetHttpTriggerModeRequest**](SetHttpTriggerModeRequest.md) | updated sqs trigger enable | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## test_sqs_connection

> String test_sqs_connection(workspace, test_kafka_connection_request)
test sqs connection

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**test_kafka_connection_request** | [**TestKafkaConnectionRequest**](TestKafkaConnectionRequest.md) | test sqs connection | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_sqs_trigger

> String update_sqs_trigger(workspace, path, edit_sqs_trigger)
update sqs trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**edit_sqs_trigger** | [**EditSqsTrigger**](EditSqsTrigger.md) | updated trigger | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

