Skip to content

Commit 4cbe09c

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@3083836d.
1 parent ba91826 commit 4cbe09c

File tree

576 files changed

+1007
-593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

576 files changed

+1007
-593
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ See the next sections for more information on how to use the Segment Public API.
1111

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

14-
- API version: 53.1.0
15-
- Package version: 53.1.0
14+
- API version: 53.2.0
15+
- Package version: 53.2.0
1616
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1717

1818
For more information, please visit [https://docs.segmentapis.com](https://docs.segmentapis.com)

docs/ReverseETLApi.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Method | HTTP request | Description
1010
[**get_reverse_etl_model**](ReverseETLApi.md#get_reverse_etl_model) | **GET** /reverse-etl-models/{modelId} | Get Reverse Etl Model
1111
[**get_reverse_etl_sync_status**](ReverseETLApi.md#get_reverse_etl_sync_status) | **GET** /reverse-etl-models/{modelId}/syncs/{syncId} | Get Reverse ETL Sync Status
1212
[**list_reverse_etl_models**](ReverseETLApi.md#list_reverse_etl_models) | **GET** /reverse-etl-models | List Reverse Etl Models
13+
[**list_reverse_etl_sync_statuses_from_model_and_subscription_id**](ReverseETLApi.md#list_reverse_etl_sync_statuses_from_model_and_subscription_id) | **GET** /reverse-etl-models/{modelId}/subscriptionId/{subscriptionId}/syncs | List Reverse ETL Sync Statuses from Model And Subscription Id
1314
[**update_reverse_etl_model**](ReverseETLApi.md#update_reverse_etl_model) | **PATCH** /reverse-etl-models/{modelId} | Update Reverse Etl Model
1415

1516

@@ -457,6 +458,85 @@ Name | Type | Description | Notes
457458
[[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)
458459

459460

461+
## Operation: list_reverse_etl_sync_statuses_from_model_and_subscription_id
462+
463+
> ListReverseETLSyncStatusesFromModelAndSubscriptionId200Response list_reverse_etl_sync_statuses_from_model_and_subscription_id(model_id, subscription_id, count=count, cursor=cursor)
464+
465+
List Reverse ETL Sync Statuses from Model And Subscription Id
466+
467+
Get the sync statuses for a Reverse ETL mapping subscription. The sync status includes all detailed information about the sync - sync status, duration, details about the extract and load phase if applicable, etc. The default page count is 10, and then the next page can be fetched by passing the `cursor` query parameter.
468+
469+
### Example
470+
471+
* Bearer Authentication (token):
472+
```python
473+
import time
474+
import os
475+
import segment_public_api
476+
from segment_public_api.models.list_reverse_etl_sync_statuses_from_model_and_subscription_id200_response import ListReverseETLSyncStatusesFromModelAndSubscriptionId200Response
477+
from segment_public_api.rest import ApiException
478+
from pprint import pprint
479+
480+
481+
482+
# Configure Bearer authorization: token
483+
configuration = segment_public_api.Configuration(
484+
access_token = os.environ["BEARER_TOKEN"]
485+
)
486+
487+
# Enter a context with an instance of the API client
488+
with segment_public_api.ApiClient(configuration) as api_client:
489+
# Create an instance of the API class
490+
api_instance = segment_public_api.ReverseETLApi(api_client)
491+
model_id = 'modelId' # str |
492+
subscription_id = 'subscriptionId' # str |
493+
count = 3.4 # float | The number of items to retrieve in a page, between 1 and 100. Default is 10 This parameter exists in alpha. (optional)
494+
cursor = 'cursor_example' # str | The page to request. Acceptable values to use are from the `current`, `next`, and `previous` keys. This parameter exists in alpha. (optional)
495+
496+
try:
497+
# List Reverse ETL Sync Statuses from Model And Subscription Id
498+
api_response = api_instance.list_reverse_etl_sync_statuses_from_model_and_subscription_id(model_id, subscription_id, count=count, cursor=cursor)
499+
print("The response of ReverseETLApi->list_reverse_etl_sync_statuses_from_model_and_subscription_id:\n")
500+
pprint(api_response)
501+
except Exception as e:
502+
print("Exception when calling ReverseETLApi->list_reverse_etl_sync_statuses_from_model_and_subscription_id: %s\n" % e)
503+
```
504+
505+
506+
507+
### Parameters
508+
509+
Name | Type | Description | Notes
510+
------------- | ------------- | ------------- | -------------
511+
**model_id** | **str**| |
512+
**subscription_id** | **str**| |
513+
**count** | **float**| The number of items to retrieve in a page, between 1 and 100. Default is 10 This parameter exists in alpha. | [optional]
514+
**cursor** | **str**| The page to request. Acceptable values to use are from the `current`, `next`, and `previous` keys. This parameter exists in alpha. | [optional]
515+
516+
### Return type
517+
518+
[**ListReverseETLSyncStatusesFromModelAndSubscriptionId200Response**](ListReverseETLSyncStatusesFromModelAndSubscriptionId200Response.md)
519+
520+
### Authorization
521+
522+
[token](../README.md#token)
523+
524+
### HTTP request headers
525+
526+
- **Content-Type**: Not defined
527+
- **Accept**: application/vnd.segment.v1alpha+json, application/json
528+
529+
### HTTP response details
530+
| Status code | Description | Response headers |
531+
|-------------|-------------|------------------|
532+
**200** | OK | - |
533+
**404** | Resource not found | - |
534+
**422** | Validation failure | - |
535+
**429** | Too many requests | - |
536+
537+
[[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)
538+
539+
460540
## Operation: update_reverse_etl_model
461541

462542
> UpdateReverseEtlModel200Response update_reverse_etl_model(model_id, update_reverse_etl_model_input)

segment_public_api/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
88
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.
99
10-
The version of the OpenAPI document: 53.1.0
10+
The version of the OpenAPI document: 53.2.0
1111
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "53.1.0"
18+
__version__ = "53.2.0"
1919

2020
# import apis into sdk package
2121
from segment_public_api.api.api_calls_api import APICallsApi
@@ -371,6 +371,8 @@
371371
from segment_public_api.models.list_profiles_warehouse_in_space_alpha_output import ListProfilesWarehouseInSpaceAlphaOutput
372372
from segment_public_api.models.list_regulations_from_source200_response import ListRegulationsFromSource200Response
373373
from segment_public_api.models.list_regulations_from_source_v1_output import ListRegulationsFromSourceV1Output
374+
from segment_public_api.models.list_reverse_etl_sync_statuses_from_model_and_subscription_id200_response import ListReverseETLSyncStatusesFromModelAndSubscriptionId200Response
375+
from segment_public_api.models.list_reverse_etl_sync_statuses_from_model_and_subscription_id_output import ListReverseETLSyncStatusesFromModelAndSubscriptionIdOutput
374376
from segment_public_api.models.list_reverse_etl_models200_response import ListReverseEtlModels200Response
375377
from segment_public_api.models.list_reverse_etl_models_output import ListReverseEtlModelsOutput
376378
from segment_public_api.models.list_roles200_response import ListRoles200Response
@@ -493,7 +495,7 @@
493495
from segment_public_api.models.restore_function_version_alpha_input import RestoreFunctionVersionAlphaInput
494496
from segment_public_api.models.restore_function_version_alpha_output import RestoreFunctionVersionAlphaOutput
495497
from segment_public_api.models.reverse_etl_manual_sync_job_output import ReverseETLManualSyncJobOutput
496-
from segment_public_api.models.reverse_etl_sync_output import ReverseETLSyncOutput
498+
from segment_public_api.models.reverse_etl_sync_status import ReverseETLSyncStatus
497499
from segment_public_api.models.reverse_etl_model import ReverseEtlModel
498500
from segment_public_api.models.reverse_etl_periodic_schedule_config import ReverseEtlPeriodicScheduleConfig
499501
from segment_public_api.models.reverse_etl_schedule_config import ReverseEtlScheduleConfig

segment_public_api/api/api_calls_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 53.1.0
8+
The version of the OpenAPI document: 53.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/audiences_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 53.1.0
8+
The version of the OpenAPI document: 53.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/audit_trail_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 53.1.0
8+
The version of the OpenAPI document: 53.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/catalog_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 53.1.0
8+
The version of the OpenAPI document: 53.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/computed_traits_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 53.1.0
8+
The version of the OpenAPI document: 53.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/deletion_and_suppression_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 53.1.0
8+
The version of the OpenAPI document: 53.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/delivery_overview_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 53.1.0
8+
The version of the OpenAPI document: 53.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)