Skip to content

Commit 240d6a6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 217b6e8 of spec repo (#168)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 41e9e5e commit 240d6a6

22 files changed

+2091
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.3.0",
7-
"regenerated": "2020-11-24 11:32:41.427732",
8-
"spec_repo_commit": "edb67b7"
7+
"regenerated": "2020-11-24 15:02:29.562802",
8+
"spec_repo_commit": "217b6e8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.3.0",
12-
"regenerated": "2020-11-24 11:32:52.753559",
13-
"spec_repo_commit": "edb67b7"
12+
"regenerated": "2020-11-24 15:02:41.111923",
13+
"spec_repo_commit": "217b6e8"
1414
}
1515
}
1616
}

docs/v1/AWSIntegrationApi.md

Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ All URIs are relative to *https://api.datadoghq.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**create_aws_account**](AWSIntegrationApi.md#create_aws_account) | **POST** /api/v1/integration/aws | Create an AWS integration
8+
[**create_aws_tag_filter**](AWSIntegrationApi.md#create_aws_tag_filter) | **POST** /api/v1/integration/aws/filtering | Set an AWS tag filter
89
[**create_new_aws_external_id**](AWSIntegrationApi.md#create_new_aws_external_id) | **PUT** /api/v1/integration/aws/generate_new_external_id | Generate a new external ID
910
[**delete_aws_account**](AWSIntegrationApi.md#delete_aws_account) | **DELETE** /api/v1/integration/aws | Delete an AWS integration
11+
[**delete_aws_tag_filter**](AWSIntegrationApi.md#delete_aws_tag_filter) | **DELETE** /api/v1/integration/aws/filtering | Delete a tag filtering entry
1012
[**list_available_aws_namespaces**](AWSIntegrationApi.md#list_available_aws_namespaces) | **GET** /api/v1/integration/aws/available_namespace_rules | List namespace rules
1113
[**list_aws_accounts**](AWSIntegrationApi.md#list_aws_accounts) | **GET** /api/v1/integration/aws | List all AWS integrations
14+
[**list_aws_tag_filters**](AWSIntegrationApi.md#list_aws_tag_filters) | **GET** /api/v1/integration/aws/filtering | Get all AWS tag filters
1215
[**update_aws_account**](AWSIntegrationApi.md#update_aws_account) | **PUT** /api/v1/integration/aws | Update an AWS integration
1316

1417

@@ -114,6 +117,94 @@ Name | Type | Description | Notes
114117

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

120+
# **create_aws_tag_filter**
121+
> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} create_aws_tag_filter(body)
122+
123+
Set an AWS tag filter
124+
125+
Set an AWS tag filter.
126+
127+
### Example
128+
129+
* Api Key Authentication (apiKeyAuth):
130+
* Api Key Authentication (appKeyAuth):
131+
```python
132+
import os
133+
from dateutil.parser import parse as dateutil_parser
134+
import datadog_api_client.v1
135+
from datadog_api_client.v1.api import aws_integration_api
136+
from datadog_api_client.v1.models import *
137+
from pprint import pprint
138+
# Defining the host is optional and defaults to https://api.datadoghq.com
139+
# See configuration.py for a list of all supported configuration parameters.
140+
configuration = datadog_api_client.v1.Configuration(
141+
host = "https://api.datadoghq.com"
142+
)
143+
144+
# The client must configure the authentication and authorization parameters
145+
# in accordance with the API server security policy.
146+
# Examples for each auth method are provided below, use the example that
147+
# satisfies your auth use case.
148+
149+
# Configure API key authorization: apiKeyAuth
150+
configuration.api_key['apiKeyAuth'] = os.getenv('DD_CLIENT_API_KEY')
151+
152+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
153+
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
154+
155+
# Configure API key authorization: appKeyAuth
156+
configuration.api_key['appKeyAuth'] = os.getenv('DD_CLIENT_APP_KEY')
157+
158+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
159+
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
160+
161+
# Enter a context with an instance of the API client
162+
with datadog_api_client.v1.ApiClient(configuration) as api_client:
163+
# Create an instance of the API class
164+
api_instance = aws_integration_api.AWSIntegrationApi(api_client)
165+
body = AWSTagFilterCreateRequest(
166+
account_id="1234567",
167+
namespace=AWSNamespace("elb"),
168+
tag_filter_str="prod*",
169+
) # AWSTagFilterCreateRequest | Set an AWS tag filter using an `aws_account_identifier`, `namespace`, and filtering string. Namespace options are `application_elb`, `elb`, `lambda`, `network_elb`, `rds`, `sqs`, and `custom`.
170+
171+
# example passing only required values which don't have defaults set
172+
try:
173+
# Set an AWS tag filter
174+
api_response = api_instance.create_aws_tag_filter(body)
175+
pprint(api_response)
176+
except datadog_api_client.v1.ApiException as e:
177+
print("Exception when calling AWSIntegrationApi->create_aws_tag_filter: %s\n" % e)
178+
```
179+
180+
### Parameters
181+
182+
Name | Type | Description | Notes
183+
------------- | ------------- | ------------- | -------------
184+
**body** | [**AWSTagFilterCreateRequest**](AWSTagFilterCreateRequest.md)| Set an AWS tag filter using an &#x60;aws_account_identifier&#x60;, &#x60;namespace&#x60;, and filtering string. Namespace options are &#x60;application_elb&#x60;, &#x60;elb&#x60;, &#x60;lambda&#x60;, &#x60;network_elb&#x60;, &#x60;rds&#x60;, &#x60;sqs&#x60;, and &#x60;custom&#x60;. |
185+
186+
### Return type
187+
188+
**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}**
189+
190+
### Authorization
191+
192+
[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
193+
194+
### HTTP request headers
195+
196+
- **Content-Type**: application/json
197+
- **Accept**: application/json
198+
199+
### HTTP response details
200+
| Status code | Description | Response headers |
201+
|-------------|-------------|------------------|
202+
**200** | OK | - |
203+
**400** | Bad Request | - |
204+
**403** | Authentication Error | - |
205+
206+
[[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)
207+
117208
# **create_new_aws_external_id**
118209
> AWSAccountCreateResponse create_new_aws_external_id(body)
119210
@@ -317,6 +408,93 @@ Name | Type | Description | Notes
317408

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

411+
# **delete_aws_tag_filter**
412+
> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} delete_aws_tag_filter(body)
413+
414+
Delete a tag filtering entry
415+
416+
Delete a tag filtering entry.
417+
418+
### Example
419+
420+
* Api Key Authentication (apiKeyAuth):
421+
* Api Key Authentication (appKeyAuth):
422+
```python
423+
import os
424+
from dateutil.parser import parse as dateutil_parser
425+
import datadog_api_client.v1
426+
from datadog_api_client.v1.api import aws_integration_api
427+
from datadog_api_client.v1.models import *
428+
from pprint import pprint
429+
# Defining the host is optional and defaults to https://api.datadoghq.com
430+
# See configuration.py for a list of all supported configuration parameters.
431+
configuration = datadog_api_client.v1.Configuration(
432+
host = "https://api.datadoghq.com"
433+
)
434+
435+
# The client must configure the authentication and authorization parameters
436+
# in accordance with the API server security policy.
437+
# Examples for each auth method are provided below, use the example that
438+
# satisfies your auth use case.
439+
440+
# Configure API key authorization: apiKeyAuth
441+
configuration.api_key['apiKeyAuth'] = os.getenv('DD_CLIENT_API_KEY')
442+
443+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
444+
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
445+
446+
# Configure API key authorization: appKeyAuth
447+
configuration.api_key['appKeyAuth'] = os.getenv('DD_CLIENT_APP_KEY')
448+
449+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
450+
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
451+
452+
# Enter a context with an instance of the API client
453+
with datadog_api_client.v1.ApiClient(configuration) as api_client:
454+
# Create an instance of the API class
455+
api_instance = aws_integration_api.AWSIntegrationApi(api_client)
456+
body = AWSTagFilterDeleteRequest(
457+
aws_account_identifier="FAKEAC0FAKEAC2FAKEAC",
458+
namespace=AWSNamespace("elb"),
459+
) # AWSTagFilterDeleteRequest | Delete a tag filtering entry for a given AWS account and `dd-aws` namespace.
460+
461+
# example passing only required values which don't have defaults set
462+
try:
463+
# Delete a tag filtering entry
464+
api_response = api_instance.delete_aws_tag_filter(body)
465+
pprint(api_response)
466+
except datadog_api_client.v1.ApiException as e:
467+
print("Exception when calling AWSIntegrationApi->delete_aws_tag_filter: %s\n" % e)
468+
```
469+
470+
### Parameters
471+
472+
Name | Type | Description | Notes
473+
------------- | ------------- | ------------- | -------------
474+
**body** | [**AWSTagFilterDeleteRequest**](AWSTagFilterDeleteRequest.md)| Delete a tag filtering entry for a given AWS account and &#x60;dd-aws&#x60; namespace. |
475+
476+
### Return type
477+
478+
**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}**
479+
480+
### Authorization
481+
482+
[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
483+
484+
### HTTP request headers
485+
486+
- **Content-Type**: application/json
487+
- **Accept**: application/json
488+
489+
### HTTP response details
490+
| Status code | Description | Response headers |
491+
|-------------|-------------|------------------|
492+
**200** | OK | - |
493+
**400** | Bad Request | - |
494+
**403** | Authentication Error | - |
495+
496+
[[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)
497+
320498
# **list_available_aws_namespaces**
321499
> [str] list_available_aws_namespaces()
322500
@@ -485,6 +663,90 @@ Name | Type | Description | Notes
485663

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

666+
# **list_aws_tag_filters**
667+
> AWSTagFilterListResponse list_aws_tag_filters(account_id)
668+
669+
Get all AWS tag filters
670+
671+
Get all AWS tag filters.
672+
673+
### Example
674+
675+
* Api Key Authentication (apiKeyAuth):
676+
* Api Key Authentication (appKeyAuth):
677+
```python
678+
import os
679+
from dateutil.parser import parse as dateutil_parser
680+
import datadog_api_client.v1
681+
from datadog_api_client.v1.api import aws_integration_api
682+
from datadog_api_client.v1.models import *
683+
from pprint import pprint
684+
# Defining the host is optional and defaults to https://api.datadoghq.com
685+
# See configuration.py for a list of all supported configuration parameters.
686+
configuration = datadog_api_client.v1.Configuration(
687+
host = "https://api.datadoghq.com"
688+
)
689+
690+
# The client must configure the authentication and authorization parameters
691+
# in accordance with the API server security policy.
692+
# Examples for each auth method are provided below, use the example that
693+
# satisfies your auth use case.
694+
695+
# Configure API key authorization: apiKeyAuth
696+
configuration.api_key['apiKeyAuth'] = os.getenv('DD_CLIENT_API_KEY')
697+
698+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
699+
# configuration.api_key_prefix['apiKeyAuth'] = 'Bearer'
700+
701+
# Configure API key authorization: appKeyAuth
702+
configuration.api_key['appKeyAuth'] = os.getenv('DD_CLIENT_APP_KEY')
703+
704+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
705+
# configuration.api_key_prefix['appKeyAuth'] = 'Bearer'
706+
707+
# Enter a context with an instance of the API client
708+
with datadog_api_client.v1.ApiClient(configuration) as api_client:
709+
# Create an instance of the API class
710+
api_instance = aws_integration_api.AWSIntegrationApi(api_client)
711+
account_id = "account_id_example" # str | Only return AWS filters that matches this `account_id`.
712+
713+
# example passing only required values which don't have defaults set
714+
try:
715+
# Get all AWS tag filters
716+
api_response = api_instance.list_aws_tag_filters(account_id)
717+
pprint(api_response)
718+
except datadog_api_client.v1.ApiException as e:
719+
print("Exception when calling AWSIntegrationApi->list_aws_tag_filters: %s\n" % e)
720+
```
721+
722+
### Parameters
723+
724+
Name | Type | Description | Notes
725+
------------- | ------------- | ------------- | -------------
726+
**account_id** | **str**| Only return AWS filters that matches this &#x60;account_id&#x60;. |
727+
728+
### Return type
729+
730+
[**AWSTagFilterListResponse**](AWSTagFilterListResponse.md)
731+
732+
### Authorization
733+
734+
[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
735+
736+
### HTTP request headers
737+
738+
- **Content-Type**: Not defined
739+
- **Accept**: application/json
740+
741+
### HTTP response details
742+
| Status code | Description | Response headers |
743+
|-------------|-------------|------------------|
744+
**200** | OK | - |
745+
**400** | Bad Request | - |
746+
**403** | Authentication Error | - |
747+
748+
[[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)
749+
488750
# **update_aws_account**
489751
> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} update_aws_account(body)
490752

docs/v1/AWSNamespace.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AWSNamespace
2+
3+
The namespace associated with the tag filter entry.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**value** | **str** | The namespace associated with the tag filter entry. | must be one of ["elb", "application_elb", "sqs", "rds", "custom", "network_elb", "lambda", ]
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/v1/AWSTagFilterCreateRequest.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AWSTagFilterCreateRequest
2+
3+
The objects used to set an AWS tag filter.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**account_id** | **str** | Your AWS Account ID without dashes. | [optional]
8+
**namespace** | [**AWSNamespace**](AWSNamespace.md) | | [optional]
9+
**tag_filter_str** | **str** | The tag filter string. | [optional]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+

docs/v1/AWSTagFilterDeleteRequest.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AWSTagFilterDeleteRequest
2+
3+
The objects used to delete an AWS tag filter entry.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**aws_account_identifier** | **str** | The unique identifier of your AWS account. | [optional]
8+
**namespace** | [**AWSNamespace**](AWSNamespace.md) | | [optional]
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+

docs/v1/AWSTagFilterListResponse.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AWSTagFilterListResponse
2+
3+
An array of tag filter rules by `namespace` and tag filter string.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**filters** | [**[AWSTagFilterListResponseFilters]**](AWSTagFilterListResponseFilters.md) | An array of tag filters. | [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+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AWSTagFilterListResponseFilters
2+
3+
A list of tag filters.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**namespace** | [**AWSNamespace**](AWSNamespace.md) | | [optional]
8+
**tag_filter_str** | **str** | The tag filter string. | [optional]
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+

0 commit comments

Comments
 (0)