Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 67d0ab8

Browse files
committed
Autogenerated Update v2.128.2.
1 parent 4b5c97b commit 67d0ab8

File tree

53 files changed

+4041
-614
lines changed

Some content is hidden

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

53 files changed

+4041
-614
lines changed

.swagger-codegen/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.126.1"
6+
"packageVersion": "2.128.2"
77
}

.swagger-codegen/config.jsone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.124.1"
6+
"packageVersion": "2.126.1"
77
}

README.md

Lines changed: 22 additions & 5 deletions
Large diffs are not rendered by default.

docs/AccountUserAndServiceAccountApi.md

Lines changed: 0 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Method | HTTP request | Description
88
[**add_account_to_roles**](AccountUserAndServiceAccountApi.md#add_account_to_roles) | **POST** /api/v2/account/{id}/addRoles | Adds specific roles to the account (user or service account)
99
[**add_account_to_user_groups**](AccountUserAndServiceAccountApi.md#add_account_to_user_groups) | **POST** /api/v2/account/{id}/addUserGroups | Adds specific groups to the account (user or service account)
1010
[**add_ingestion_policy**](AccountUserAndServiceAccountApi.md#add_ingestion_policy) | **POST** /api/v2/account/addingestionpolicy | Add a specific ingestion policy to multiple accounts
11-
[**add_single_ingestion_policy**](AccountUserAndServiceAccountApi.md#add_single_ingestion_policy) | **POST** /api/v2/account/addIngestionPolicy | Add single ingestion policy to multiple accounts
1211
[**create_or_update_user_account**](AccountUserAndServiceAccountApi.md#create_or_update_user_account) | **POST** /api/v2/account/user | Creates or updates a user account
1312
[**create_service_account**](AccountUserAndServiceAccountApi.md#create_service_account) | **POST** /api/v2/account/serviceaccount | Creates a service account
1413
[**deactivate_account**](AccountUserAndServiceAccountApi.md#deactivate_account) | **POST** /api/v2/account/serviceaccount/{id}/deactivate | Deactivates the given service account
@@ -27,7 +26,6 @@ Method | HTTP request | Description
2726
[**remove_account_from_roles**](AccountUserAndServiceAccountApi.md#remove_account_from_roles) | **POST** /api/v2/account/{id}/removeRoles | Removes specific roles from the account (user or service account)
2827
[**remove_account_from_user_groups**](AccountUserAndServiceAccountApi.md#remove_account_from_user_groups) | **POST** /api/v2/account/{id}/removeUserGroups | Removes specific groups from the account (user or service account)
2928
[**remove_ingestion_policies**](AccountUserAndServiceAccountApi.md#remove_ingestion_policies) | **POST** /api/v2/account/removeingestionpolicies | Removes ingestion policies from multiple accounts
30-
[**remove_single_ingestion_policy**](AccountUserAndServiceAccountApi.md#remove_single_ingestion_policy) | **POST** /api/v2/account/removeIngestionPolicy | Removes single ingestion policy from multiple accounts
3129
[**revoke_account_permission**](AccountUserAndServiceAccountApi.md#revoke_account_permission) | **POST** /api/v2/account/{id}/revoke/{permission} | Revokes a specific permission from account (user or service account)
3230
[**revoke_permission_from_accounts**](AccountUserAndServiceAccountApi.md#revoke_permission_from_accounts) | **POST** /api/v2/account/revoke/{permission} | Revokes a specific permission from multiple accounts (users or service accounts)
3331
[**update_service_account**](AccountUserAndServiceAccountApi.md#update_service_account) | **PUT** /api/v2/account/serviceaccount/{id} | Updates the service account
@@ -255,60 +253,6 @@ Name | Type | Description | Notes
255253

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

258-
# **add_single_ingestion_policy**
259-
> ResponseContainerUserDTO add_single_ingestion_policy(body=body)
260-
261-
Add single ingestion policy to multiple accounts
262-
263-
264-
265-
### Example
266-
```python
267-
from __future__ import print_function
268-
import time
269-
import wavefront_api_client
270-
from wavefront_api_client.rest import ApiException
271-
from pprint import pprint
272-
273-
# Configure API key authorization: api_key
274-
configuration = wavefront_api_client.Configuration()
275-
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
276-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
277-
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'
278-
279-
# create an instance of the API class
280-
api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration))
281-
body = wavefront_api_client.IngestionPolicyMapping() # IngestionPolicyMapping | Example Body: <pre>{ \"ingestionPolicyId\": \"Ingestion policy identifier\", \"accounts\": [ \"account1\", \"account2\", \"account3\" ], \"groups\": [ \"group1\", \"group2\" ] }</pre> (optional)
282-
283-
try:
284-
# Add single ingestion policy to multiple accounts
285-
api_response = api_instance.add_single_ingestion_policy(body=body)
286-
pprint(api_response)
287-
except ApiException as e:
288-
print("Exception when calling AccountUserAndServiceAccountApi->add_single_ingestion_policy: %s\n" % e)
289-
```
290-
291-
### Parameters
292-
293-
Name | Type | Description | Notes
294-
------------- | ------------- | ------------- | -------------
295-
**body** | [**IngestionPolicyMapping**](IngestionPolicyMapping.md)| Example Body: &lt;pre&gt;{ \&quot;ingestionPolicyId\&quot;: \&quot;Ingestion policy identifier\&quot;, \&quot;accounts\&quot;: [ \&quot;account1\&quot;, \&quot;account2\&quot;, \&quot;account3\&quot; ], \&quot;groups\&quot;: [ \&quot;group1\&quot;, \&quot;group2\&quot; ] }&lt;/pre&gt; | [optional]
296-
297-
### Return type
298-
299-
[**ResponseContainerUserDTO**](ResponseContainerUserDTO.md)
300-
301-
### Authorization
302-
303-
[api_key](../README.md#api_key)
304-
305-
### HTTP request headers
306-
307-
- **Content-Type**: application/json
308-
- **Accept**: application/json
309-
310-
[[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)
311-
312256
# **create_or_update_user_account**
313257
> UserModel create_or_update_user_account(send_email=send_email, body=body)
314258
@@ -1285,60 +1229,6 @@ Name | Type | Description | Notes
12851229

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

1288-
# **remove_single_ingestion_policy**
1289-
> ResponseContainerUserDTO remove_single_ingestion_policy(body=body)
1290-
1291-
Removes single ingestion policy from multiple accounts
1292-
1293-
1294-
1295-
### Example
1296-
```python
1297-
from __future__ import print_function
1298-
import time
1299-
import wavefront_api_client
1300-
from wavefront_api_client.rest import ApiException
1301-
from pprint import pprint
1302-
1303-
# Configure API key authorization: api_key
1304-
configuration = wavefront_api_client.Configuration()
1305-
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
1306-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
1307-
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'
1308-
1309-
# create an instance of the API class
1310-
api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration))
1311-
body = wavefront_api_client.IngestionPolicyMapping() # IngestionPolicyMapping | Example Body: <pre>{ \"ingestionPolicyId\": \"Ingestion policy identifier\", \"accounts\": [ \"account1\", \"account2\", \"account3\" ], \"groups\": [ \"group1\", \"group2\" ] }</pre> (optional)
1312-
1313-
try:
1314-
# Removes single ingestion policy from multiple accounts
1315-
api_response = api_instance.remove_single_ingestion_policy(body=body)
1316-
pprint(api_response)
1317-
except ApiException as e:
1318-
print("Exception when calling AccountUserAndServiceAccountApi->remove_single_ingestion_policy: %s\n" % e)
1319-
```
1320-
1321-
### Parameters
1322-
1323-
Name | Type | Description | Notes
1324-
------------- | ------------- | ------------- | -------------
1325-
**body** | [**IngestionPolicyMapping**](IngestionPolicyMapping.md)| Example Body: &lt;pre&gt;{ \&quot;ingestionPolicyId\&quot;: \&quot;Ingestion policy identifier\&quot;, \&quot;accounts\&quot;: [ \&quot;account1\&quot;, \&quot;account2\&quot;, \&quot;account3\&quot; ], \&quot;groups\&quot;: [ \&quot;group1\&quot;, \&quot;group2\&quot; ] }&lt;/pre&gt; | [optional]
1326-
1327-
### Return type
1328-
1329-
[**ResponseContainerUserDTO**](ResponseContainerUserDTO.md)
1330-
1331-
### Authorization
1332-
1333-
[api_key](../README.md#api_key)
1334-
1335-
### HTTP request headers
1336-
1337-
- **Content-Type**: application/json
1338-
- **Accept**: application/json
1339-
1340-
[[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)
1341-
13421232
# **revoke_account_permission**
13431233
> UserModel revoke_account_permission(id, permission)
13441234

docs/ApiTokenApi.md

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ All URIs are relative to *https://YOUR_INSTANCE.wavefront.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**create_token**](ApiTokenApi.md#create_token) | **POST** /api/v2/apitoken | Create new api token
8+
[**delete_customer_token**](ApiTokenApi.md#delete_customer_token) | **PUT** /api/v2/apitoken/customertokens/revoke | Delete the specified api token for a customer
89
[**delete_token**](ApiTokenApi.md#delete_token) | **DELETE** /api/v2/apitoken/{id} | Delete the specified api token
910
[**delete_token_service_account**](ApiTokenApi.md#delete_token_service_account) | **DELETE** /api/v2/apitoken/serviceaccount/{id}/{token} | Delete the specified api token of the given service account
1011
[**generate_token_service_account**](ApiTokenApi.md#generate_token_service_account) | **POST** /api/v2/apitoken/serviceaccount/{id} | Create a new api token for the service account
1112
[**get_all_tokens**](ApiTokenApi.md#get_all_tokens) | **GET** /api/v2/apitoken | Get all api tokens for a user
13+
[**get_customer_token**](ApiTokenApi.md#get_customer_token) | **GET** /api/v2/apitoken/customertokens/{id} | Get the specified api token for a customer
14+
[**get_customer_tokens**](ApiTokenApi.md#get_customer_tokens) | **GET** /api/v2/apitoken/customertokens | Get all api tokens for a customer
1215
[**get_tokens_service_account**](ApiTokenApi.md#get_tokens_service_account) | **GET** /api/v2/apitoken/serviceaccount/{id} | Get all api tokens for the given service account
1316
[**update_token_name**](ApiTokenApi.md#update_token_name) | **PUT** /api/v2/apitoken/{id} | Update the name of the specified api token
1417
[**update_token_name_service_account**](ApiTokenApi.md#update_token_name_service_account) | **PUT** /api/v2/apitoken/serviceaccount/{id}/{token} | Update the name of the specified api token for the given service account
@@ -64,6 +67,60 @@ This endpoint does not need any parameter.
6467

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

70+
# **delete_customer_token**
71+
> ResponseContainerUserApiToken delete_customer_token(body=body)
72+
73+
Delete the specified api token for a customer
74+
75+
76+
77+
### Example
78+
```python
79+
from __future__ import print_function
80+
import time
81+
import wavefront_api_client
82+
from wavefront_api_client.rest import ApiException
83+
from pprint import pprint
84+
85+
# Configure API key authorization: api_key
86+
configuration = wavefront_api_client.Configuration()
87+
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
88+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
89+
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'
90+
91+
# create an instance of the API class
92+
api_instance = wavefront_api_client.ApiTokenApi(wavefront_api_client.ApiClient(configuration))
93+
body = wavefront_api_client.UserApiToken() # UserApiToken | (optional)
94+
95+
try:
96+
# Delete the specified api token for a customer
97+
api_response = api_instance.delete_customer_token(body=body)
98+
pprint(api_response)
99+
except ApiException as e:
100+
print("Exception when calling ApiTokenApi->delete_customer_token: %s\n" % e)
101+
```
102+
103+
### Parameters
104+
105+
Name | Type | Description | Notes
106+
------------- | ------------- | ------------- | -------------
107+
**body** | [**UserApiToken**](UserApiToken.md)| | [optional]
108+
109+
### Return type
110+
111+
[**ResponseContainerUserApiToken**](ResponseContainerUserApiToken.md)
112+
113+
### Authorization
114+
115+
[api_key](../README.md#api_key)
116+
117+
### HTTP request headers
118+
119+
- **Content-Type**: application/json
120+
- **Accept**: application/json
121+
122+
[[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)
123+
67124
# **delete_token**
68125
> ResponseContainerListUserApiToken delete_token(id)
69126
@@ -280,6 +337,110 @@ This endpoint does not need any parameter.
280337

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

340+
# **get_customer_token**
341+
> ResponseContainerApiTokenModel get_customer_token(id)
342+
343+
Get the specified api token for a customer
344+
345+
346+
347+
### Example
348+
```python
349+
from __future__ import print_function
350+
import time
351+
import wavefront_api_client
352+
from wavefront_api_client.rest import ApiException
353+
from pprint import pprint
354+
355+
# Configure API key authorization: api_key
356+
configuration = wavefront_api_client.Configuration()
357+
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
358+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
359+
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'
360+
361+
# create an instance of the API class
362+
api_instance = wavefront_api_client.ApiTokenApi(wavefront_api_client.ApiClient(configuration))
363+
id = 'id_example' # str |
364+
365+
try:
366+
# Get the specified api token for a customer
367+
api_response = api_instance.get_customer_token(id)
368+
pprint(api_response)
369+
except ApiException as e:
370+
print("Exception when calling ApiTokenApi->get_customer_token: %s\n" % e)
371+
```
372+
373+
### Parameters
374+
375+
Name | Type | Description | Notes
376+
------------- | ------------- | ------------- | -------------
377+
**id** | **str**| |
378+
379+
### Return type
380+
381+
[**ResponseContainerApiTokenModel**](ResponseContainerApiTokenModel.md)
382+
383+
### Authorization
384+
385+
[api_key](../README.md#api_key)
386+
387+
### HTTP request headers
388+
389+
- **Content-Type**: Not defined
390+
- **Accept**: application/json
391+
392+
[[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)
393+
394+
# **get_customer_tokens**
395+
> ResponseContainerListApiTokenModel get_customer_tokens()
396+
397+
Get all api tokens for a customer
398+
399+
400+
401+
### Example
402+
```python
403+
from __future__ import print_function
404+
import time
405+
import wavefront_api_client
406+
from wavefront_api_client.rest import ApiException
407+
from pprint import pprint
408+
409+
# Configure API key authorization: api_key
410+
configuration = wavefront_api_client.Configuration()
411+
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
412+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
413+
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'
414+
415+
# create an instance of the API class
416+
api_instance = wavefront_api_client.ApiTokenApi(wavefront_api_client.ApiClient(configuration))
417+
418+
try:
419+
# Get all api tokens for a customer
420+
api_response = api_instance.get_customer_tokens()
421+
pprint(api_response)
422+
except ApiException as e:
423+
print("Exception when calling ApiTokenApi->get_customer_tokens: %s\n" % e)
424+
```
425+
426+
### Parameters
427+
This endpoint does not need any parameter.
428+
429+
### Return type
430+
431+
[**ResponseContainerListApiTokenModel**](ResponseContainerListApiTokenModel.md)
432+
433+
### Authorization
434+
435+
[api_key](../README.md#api_key)
436+
437+
### HTTP request headers
438+
439+
- **Content-Type**: Not defined
440+
- **Accept**: application/json
441+
442+
[[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)
443+
283444
# **get_tokens_service_account**
284445
> ResponseContainerListUserApiToken get_tokens_service_account(id)
285446

docs/ApiTokenModel.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ApiTokenModel
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**account** | **str** | The account who generated this token. | [optional]
7+
**account_type** | **str** | The user or service account generated this token. | [optional]
8+
**created_epoch_millis** | **int** | | [optional]
9+
**customer** | **str** | The id of the customer to which the token belongs. | [optional]
10+
**date_generated** | **int** | The generation date of the token. | [optional]
11+
**id** | **str** | The unique identifier of the token. | [optional]
12+
**last_used** | **int** | The last time this token was used. | [optional]
13+
**name** | **str** | The name of the token. | [optional]
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+

docs/CloudWatchConfiguration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**metric_filter_regex** | **str** | A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested | [optional]
1010
**namespaces** | **list[str]** | A list of namespace that limit what we query from CloudWatch. | [optional]
1111
**point_tag_filter_regex** | **str** | A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested | [optional]
12+
**thread_distribution_in_mins** | **int** | ThreadDistributionInMins | [optional]
1213
**volume_selection_tags** | **dict(str, str)** | A string-&gt;string map of allow list of AWS volume tag-value pairs (in AWS). If the volume&#39;s AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR&#39;ed | [optional]
1314
**volume_selection_tags_expr** | **str** | A string expressing the allow list of AWS volume tag-value pairs. If the volume&#39;s AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR&#39;ed and also OR&#39;ed with entries from volumeSelectionTags. Key-value pairs in the string are separated by commas and in the form k&#x3D;v. Example: \&quot;k1&#x3D;v1, k1&#x3D;v2, k3&#x3D;v3\&quot;. | [optional]
1415

docs/DefaultSavedAppMapSearch.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# DefaultSavedAppMapSearch
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**default_search_id** | **str** | | [optional]
7+
**user_setting** | **bool** | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/DefaultSavedTracesSearch.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# DefaultSavedTracesSearch
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**default_search_id** | **str** | | [optional]
7+
**user_setting** | **bool** | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

0 commit comments

Comments
 (0)