Skip to content

Commit

Permalink
Automated SDK update
Browse files Browse the repository at this point in the history
This updates the SDK from internal repo commit segmentio/public-api@2e20e535.
  • Loading branch information
APIs and Common Services team committed Dec 11, 2023
1 parent 21d50fc commit 114deb5
Show file tree
Hide file tree
Showing 535 changed files with 1,073 additions and 536 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ See the next sections for more information on how to use the Segment Public API.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 38.4.0
- Package version: 38.4.0
- API version: 38.5.0
- Package version: 38.5.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://docs.segmentapis.com](https://docs.segmentapis.com)

Expand Down
75 changes: 75 additions & 0 deletions docs/ReverseETLApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All URIs are relative to *https://api.segmentapis.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_reverse_etl_manual_sync**](ReverseETLApi.md#create_reverse_etl_manual_sync) | **POST** /reverse-etl-syncs | Create Reverse ETL Manual Sync
[**create_reverse_etl_model**](ReverseETLApi.md#create_reverse_etl_model) | **POST** /reverse-etl-models | Create Reverse Etl Model
[**delete_reverse_etl_model**](ReverseETLApi.md#delete_reverse_etl_model) | **DELETE** /reverse-etl-models/{modelId} | Delete Reverse Etl Model
[**get_reverse_etl_model**](ReverseETLApi.md#get_reverse_etl_model) | **GET** /reverse-etl-models/{modelId} | Get Reverse Etl Model
Expand All @@ -12,6 +13,80 @@ Method | HTTP request | Description



## Operation: create_reverse_etl_manual_sync

> CreateReverseETLManualSync200Response create_reverse_etl_manual_sync(create_reverse_etl_manual_sync_input)
Create Reverse ETL Manual Sync

Triggers a manual sync for a Reverse ETL Connection. The rate limit for this endpoint is 20 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.

### Example

* Bearer Authentication (token):
```python
import time
import os
import segment_public_api
from segment_public_api.models.create_reverse_etl_manual_sync200_response import CreateReverseETLManualSync200Response
from segment_public_api.models.create_reverse_etl_manual_sync_input import CreateReverseETLManualSyncInput
from segment_public_api.rest import ApiException
from pprint import pprint



# Configure Bearer authorization: token
configuration = segment_public_api.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with segment_public_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = segment_public_api.ReverseETLApi(api_client)
create_reverse_etl_manual_sync_input = {"sourceId":"sourceId","modelId":"modelId","subscriptionId":"subscriptionId"} # CreateReverseETLManualSyncInput |

try:
# Create Reverse ETL Manual Sync
api_response = api_instance.create_reverse_etl_manual_sync(create_reverse_etl_manual_sync_input)
print("The response of ReverseETLApi->create_reverse_etl_manual_sync:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ReverseETLApi->create_reverse_etl_manual_sync: %s\n" % e)
```



### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**create_reverse_etl_manual_sync_input** | [**CreateReverseETLManualSyncInput**](CreateReverseETLManualSyncInput.md)| |

### Return type

[**CreateReverseETLManualSync200Response**](CreateReverseETLManualSync200Response.md)

### Authorization

[token](../README.md#token)

### HTTP request headers

- **Content-Type**: application/vnd.segment.v1alpha+json
- **Accept**: application/vnd.segment.v1alpha+json, application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | OK | - |
**404** | Resource not found | - |
**422** | Validation failure | - |
**429** | Too many requests | - |

[[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)


## Operation: create_reverse_etl_model

> CreateReverseEtlModel200Response create_reverse_etl_model(create_reverse_etl_model_input)
Expand Down
8 changes: 6 additions & 2 deletions segment_public_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501


__version__ = "38.4.0"
__version__ = "38.5.0"

# import apis into sdk package
from segment_public_api.api.api_calls_api import APICallsApi
Expand Down Expand Up @@ -123,6 +123,9 @@
from segment_public_api.models.create_profiles_warehouse200_response import CreateProfilesWarehouse200Response
from segment_public_api.models.create_profiles_warehouse_alpha_input import CreateProfilesWarehouseAlphaInput
from segment_public_api.models.create_profiles_warehouse_alpha_output import CreateProfilesWarehouseAlphaOutput
from segment_public_api.models.create_reverse_etl_manual_sync200_response import CreateReverseETLManualSync200Response
from segment_public_api.models.create_reverse_etl_manual_sync_input import CreateReverseETLManualSyncInput
from segment_public_api.models.create_reverse_etl_manual_sync_output import CreateReverseETLManualSyncOutput
from segment_public_api.models.create_reverse_etl_model200_response import CreateReverseEtlModel200Response
from segment_public_api.models.create_reverse_etl_model_input import CreateReverseEtlModelInput
from segment_public_api.models.create_reverse_etl_model_output import CreateReverseEtlModelOutput
Expand Down Expand Up @@ -460,6 +463,7 @@
from segment_public_api.models.restore_function_version200_response import RestoreFunctionVersion200Response
from segment_public_api.models.restore_function_version_alpha_input import RestoreFunctionVersionAlphaInput
from segment_public_api.models.restore_function_version_alpha_output import RestoreFunctionVersionAlphaOutput
from segment_public_api.models.reverse_etl_manual_sync_job_output import ReverseETLManualSyncJobOutput
from segment_public_api.models.reverse_etl_model import ReverseEtlModel
from segment_public_api.models.role_v1 import RoleV1
from segment_public_api.models.rule_input_v1 import RuleInputV1
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/api_calls_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/audiences_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/audit_trail_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/catalog_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/computed_traits_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/deletion_and_suppression_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/destination_filters_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/destinations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/edge_functions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/events_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/functions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/iam_groups_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/iam_roles_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/iam_users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/labels_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/monthly_tracked_users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
The version of the OpenAPI document: 38.4.0
The version of the OpenAPI document: 38.5.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Loading

0 comments on commit 114deb5

Please sign in to comment.