pyfivetran.endpoints.logs
Module Contents
Classes
API
- class pyfivetran.endpoints.logs.LogEndpoint(client: pyfivetran.endpoints.base.Client)[source]
Bases:
pyfivetran.endpoints.base.Endpoint- BASE_URL: str = None
- create_service(group_id: Optional[str] = None, service: Optional[str] = None, enabled: Optional[bool] = None, **kwargs) pyfivetran.shed.GeneralApiResponse[source]
Creates a new logging service within a specified group in your Fivetran account.
- Parameters:
group_id – The ID of the group
service – The name of the service
enabled – Whether the service is enabled
config – The config of the service
- Returns:
GeneralApiResponse
- delete_service(log_id: str) pyfivetran.shed.GeneralApiResponse[source]
Deletes a logging service within a specified group in your Fivetran account.
- Parameters:
log_id – The ID of the service
- Returns:
GeneralApiResponse
- get_service(log_id: str) pyfivetran.shed.GeneralApiResponse[source]
Gets a logging service within a specified group in your Fivetran account.
- Parameters:
log_id – The ID of the service
- Returns:
GeneralApiResponse
- test_service(log_id: str) pyfivetran.shed.GeneralApiResponse[source]
Runs setup tests on a logging service in your Fivetran account.
- Parameters:
log_id – The ID of the service
- Returns:
GeneralApiResponse
- update_service(log_id: str, enabled: Optional[bool] = None, **kwargs) pyfivetran.shed.GeneralApiResponse[source]
Updates a logging service within a specified group in your Fivetran account.
- Parameters:
log_id – The ID of the service
enabled – Whether the service is enabled
config – The config of the service
- Returns:
GeneralApiResponse