Skip to content

Commit 15f7d6d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit fdce6690 of spec repo
1 parent 3a701d6 commit 15f7d6d

12 files changed

+63
-27
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.6.4",
7-
"regenerated": "2023-03-07 22:36:00.834683",
8-
"spec_repo_commit": "73e66c9a"
7+
"regenerated": "2023-03-08 22:56:46.605339",
8+
"spec_repo_commit": "fdce6690"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-03-07 22:36:00.847119",
13-
"spec_repo_commit": "73e66c9a"
12+
"regenerated": "2023-03-08 22:56:46.623502",
13+
"spec_repo_commit": "fdce6690"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,7 @@ components:
697697
description: Cancel downtimes according to scope.
698698
properties:
699699
scope:
700-
description: 'The scope(s) to which the downtime applies and must be in
701-
`key:value` format. For example, `host:app2`.
700+
description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
702701

703702
Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
704703

@@ -1679,8 +1678,7 @@ components:
16791678
recurrence:
16801679
$ref: '#/components/schemas/DowntimeRecurrence'
16811680
scope:
1682-
description: 'The scope(s) to which the downtime applies and must be in
1683-
`key:value` format. For example, `host:app2`.
1681+
description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
16841682

16851683
Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
16861684

@@ -1814,8 +1812,7 @@ components:
18141812
recurrence:
18151813
$ref: '#/components/schemas/DowntimeRecurrence'
18161814
scope:
1817-
description: 'The scope(s) to which the downtime applies and must be in
1818-
`key:value` format. For example, `host:app2`.
1815+
description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
18191816

18201817
Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
18211818

@@ -16714,6 +16711,11 @@ components:
1671416711
the current date for all organizations.
1671516712
format: int64
1671616713
type: integer
16714+
audit_trail_enabled_hwm:
16715+
description: Shows the number of organizations that had Audit Trail enabled
16716+
in the current date.
16717+
format: int64
16718+
type: integer
1671716719
avg_profiled_fargate_tasks:
1671816720
description: The average profiled task count for Fargate Profiling.
1671916721
format: int64
@@ -17100,6 +17102,11 @@ components:
1710017102
in the current date for the given org.
1710117103
format: int64
1710217104
type: integer
17105+
audit_trail_enabled_hwm:
17106+
description: Shows whether Audit Trail is enabled for the current date for
17107+
the given org.
17108+
format: int64
17109+
type: integer
1710317110
avg_profiled_fargate_tasks:
1710417111
description: The average profiled task count for Fargate Profiling.
1710517112
format: int64
@@ -17489,6 +17496,11 @@ components:
1748917496
in the current months for all organizations.
1749017497
format: int64
1749117498
type: integer
17499+
audit_trail_enabled_hwm_sum:
17500+
description: Shows the total number of organizations that had Audit Trail
17501+
enabled over a specific number of months.
17502+
format: int64
17503+
type: integer
1749217504
avg_profiled_fargate_tasks_sum:
1749317505
description: Shows the average of all profiled Fargate tasks over all hours
1749417506
in the current months for all organizations.
@@ -20764,14 +20776,14 @@ paths:
2076420776
name: metric_query
2076520777
schema:
2076620778
type: string
20767-
- description: The POSIX timestamp of the start of the query in seconds.
20779+
- description: The POSIX timestamp of the start of the query.
2076820780
in: query
2076920781
name: start
2077020782
required: true
2077120783
schema:
2077220784
format: int64
2077320785
type: integer
20774-
- description: The POSIX timestamp of the end of the query in seconds.
20786+
- description: The POSIX timestamp of the end of the query.
2077520787
in: query
2077620788
name: end
2077720789
required: true

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ components:
356356
type: integer
357357
ResourceID:
358358
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
359-
`dashboard`, `notebook`, `security-rule`, `slo`.'
359+
`dashboard`, `notebook`, `security-rule`.'
360360
example: dashboard:abc-def-ghi
361361
in: path
362362
name: resource_id
@@ -17738,9 +17738,7 @@ paths:
1773817738

1773917739
- Notebooks: `notebook`
1774017740

17741-
- Security Rules: `security-rule`
17742-
17743-
- Service Level Objectives: `slo`'
17741+
- Security Rules: `security-rule`'
1774417742
operationId: UpdateRestrictionPolicy
1774517743
parameters:
1774617744
- $ref: '#/components/parameters/ResourceID'
@@ -20790,7 +20788,9 @@ paths:
2079020788
- description: 'Comma separated list of product families to retrieve. Available
2079120789
families are `all`, `analyzed_logs`,
2079220790

20793-
`application_security`, `audit_logs`, `serverless`, `ci_app`, `cloud_cost_management`,
20791+
`application_security`, `audit_logs`, `audit_trail`, `serverless`, `ci_app`,
20792+
`cloud_cost_management`,
20793+
2079420794
`cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
2079520795

2079620796
`infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,

src/datadog_api_client/v1/api/snapshots_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ def get_graph_snapshot(
102102
Take graph snapshots.
103103
**Note** : When a snapshot is created, there is some delay before it is available.
104104
105-
:param start: The POSIX timestamp of the start of the query in seconds.
105+
:param start: The POSIX timestamp of the start of the query.
106106
:type start: int
107-
:param end: The POSIX timestamp of the end of the query in seconds.
107+
:param end: The POSIX timestamp of the end of the query.
108108
:type end: int
109109
:param metric_query: The metric query.
110110
:type metric_query: str, optional

src/datadog_api_client/v1/model/cancel_downtimes_by_scope_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self_, scope: str, **kwargs):
2525
"""
2626
Cancel downtimes according to scope.
2727
28-
:param scope: The scope(s) to which the downtime applies and must be in ``key:value`` format. For example, ``host:app2``.
28+
:param scope: The scope(s) to which the downtime applies. For example, ``host:app2``.
2929
Provide multiple scopes as a comma-separated list like ``env:dev,env:prod``.
3030
The resulting downtime applies to sources that matches ALL provided scopes ( ``env:dev`` **AND** ``env:prod`` ).
3131
:type scope: str

src/datadog_api_client/v1/model/downtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def __init__(
167167
:param recurrence: An object defining the recurrence of the downtime.
168168
:type recurrence: DowntimeRecurrence, none_type, optional
169169
170-
:param scope: The scope(s) to which the downtime applies and must be in ``key:value`` format. For example, ``host:app2``.
170+
:param scope: The scope(s) to which the downtime applies. For example, ``host:app2``.
171171
Provide multiple scopes as a comma-separated list like ``env:dev,env:prod``.
172172
The resulting downtime applies to sources that matches ALL provided scopes ( ``env:dev`` **AND** ``env:prod`` ).
173173
:type scope: [str], optional

src/datadog_api_client/v1/model/downtime_child.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def __init__(
156156
:param recurrence: An object defining the recurrence of the downtime.
157157
:type recurrence: DowntimeRecurrence, none_type, optional
158158
159-
:param scope: The scope(s) to which the downtime applies and must be in ``key:value`` format. For example, ``host:app2``.
159+
:param scope: The scope(s) to which the downtime applies. For example, ``host:app2``.
160160
Provide multiple scopes as a comma-separated list like ``env:dev,env:prod``.
161161
The resulting downtime applies to sources that matches ALL provided scopes ( ``env:dev`` **AND** ``env:prod`` ).
162162
:type scope: [str], optional

src/datadog_api_client/v1/model/usage_summary_date.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def openapi_types(_):
3030
"apm_host_top99p": (int,),
3131
"appsec_fargate_count_avg": (int,),
3232
"audit_logs_lines_indexed_sum": (int,),
33+
"audit_trail_enabled_hwm": (int,),
3334
"avg_profiled_fargate_tasks": (int,),
3435
"aws_host_top99p": (int,),
3536
"aws_lambda_func_count": (int,),
@@ -109,6 +110,7 @@ def openapi_types(_):
109110
"apm_host_top99p": "apm_host_top99p",
110111
"appsec_fargate_count_avg": "appsec_fargate_count_avg",
111112
"audit_logs_lines_indexed_sum": "audit_logs_lines_indexed_sum",
113+
"audit_trail_enabled_hwm": "audit_trail_enabled_hwm",
112114
"avg_profiled_fargate_tasks": "avg_profiled_fargate_tasks",
113115
"aws_host_top99p": "aws_host_top99p",
114116
"aws_lambda_func_count": "aws_lambda_func_count",
@@ -189,6 +191,7 @@ def __init__(
189191
apm_host_top99p: Union[int, UnsetType] = unset,
190192
appsec_fargate_count_avg: Union[int, UnsetType] = unset,
191193
audit_logs_lines_indexed_sum: Union[int, UnsetType] = unset,
194+
audit_trail_enabled_hwm: Union[int, UnsetType] = unset,
192195
avg_profiled_fargate_tasks: Union[int, UnsetType] = unset,
193196
aws_host_top99p: Union[int, UnsetType] = unset,
194197
aws_lambda_func_count: Union[int, UnsetType] = unset,
@@ -282,6 +285,9 @@ def __init__(
282285
:param audit_logs_lines_indexed_sum: Shows the sum of audit logs lines indexed over all hours in the current date for all organizations.
283286
:type audit_logs_lines_indexed_sum: int, optional
284287
288+
:param audit_trail_enabled_hwm: Shows the number of organizations that had Audit Trail enabled in the current date.
289+
:type audit_trail_enabled_hwm: int, optional
290+
285291
:param avg_profiled_fargate_tasks: The average profiled task count for Fargate Profiling.
286292
:type avg_profiled_fargate_tasks: int, optional
287293
@@ -504,6 +510,8 @@ def __init__(
504510
kwargs["appsec_fargate_count_avg"] = appsec_fargate_count_avg
505511
if audit_logs_lines_indexed_sum is not unset:
506512
kwargs["audit_logs_lines_indexed_sum"] = audit_logs_lines_indexed_sum
513+
if audit_trail_enabled_hwm is not unset:
514+
kwargs["audit_trail_enabled_hwm"] = audit_trail_enabled_hwm
507515
if avg_profiled_fargate_tasks is not unset:
508516
kwargs["avg_profiled_fargate_tasks"] = avg_profiled_fargate_tasks
509517
if aws_host_top99p is not unset:

src/datadog_api_client/v1/model/usage_summary_date_org.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def openapi_types(_):
2323
"apm_host_top99p": (int,),
2424
"appsec_fargate_count_avg": (int,),
2525
"audit_logs_lines_indexed_sum": (int,),
26+
"audit_trail_enabled_hwm": (int,),
2627
"avg_profiled_fargate_tasks": (int,),
2728
"aws_host_top99p": (int,),
2829
"aws_lambda_func_count": (int,),
@@ -104,6 +105,7 @@ def openapi_types(_):
104105
"apm_host_top99p": "apm_host_top99p",
105106
"appsec_fargate_count_avg": "appsec_fargate_count_avg",
106107
"audit_logs_lines_indexed_sum": "audit_logs_lines_indexed_sum",
108+
"audit_trail_enabled_hwm": "audit_trail_enabled_hwm",
107109
"avg_profiled_fargate_tasks": "avg_profiled_fargate_tasks",
108110
"aws_host_top99p": "aws_host_top99p",
109111
"aws_lambda_func_count": "aws_lambda_func_count",
@@ -186,6 +188,7 @@ def __init__(
186188
apm_host_top99p: Union[int, UnsetType] = unset,
187189
appsec_fargate_count_avg: Union[int, UnsetType] = unset,
188190
audit_logs_lines_indexed_sum: Union[int, UnsetType] = unset,
191+
audit_trail_enabled_hwm: Union[int, UnsetType] = unset,
189192
avg_profiled_fargate_tasks: Union[int, UnsetType] = unset,
190193
aws_host_top99p: Union[int, UnsetType] = unset,
191194
aws_lambda_func_count: Union[int, UnsetType] = unset,
@@ -281,6 +284,9 @@ def __init__(
281284
:param audit_logs_lines_indexed_sum: Shows the sum of all audit logs lines indexed over all hours in the current date for the given org.
282285
:type audit_logs_lines_indexed_sum: int, optional
283286
287+
:param audit_trail_enabled_hwm: Shows whether Audit Trail is enabled for the current date for the given org.
288+
:type audit_trail_enabled_hwm: int, optional
289+
284290
:param avg_profiled_fargate_tasks: The average profiled task count for Fargate Profiling.
285291
:type avg_profiled_fargate_tasks: int, optional
286292
@@ -509,6 +515,8 @@ def __init__(
509515
kwargs["appsec_fargate_count_avg"] = appsec_fargate_count_avg
510516
if audit_logs_lines_indexed_sum is not unset:
511517
kwargs["audit_logs_lines_indexed_sum"] = audit_logs_lines_indexed_sum
518+
if audit_trail_enabled_hwm is not unset:
519+
kwargs["audit_trail_enabled_hwm"] = audit_trail_enabled_hwm
512520
if avg_profiled_fargate_tasks is not unset:
513521
kwargs["avg_profiled_fargate_tasks"] = avg_profiled_fargate_tasks
514522
if aws_host_top99p is not unset:

src/datadog_api_client/v1/model/usage_summary_response.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def openapi_types(_):
3232
"apm_host_top99p_sum": (int,),
3333
"appsec_fargate_count_avg_sum": (int,),
3434
"audit_logs_lines_indexed_agg_sum": (int,),
35+
"audit_trail_enabled_hwm_sum": (int,),
3536
"avg_profiled_fargate_tasks_sum": (int,),
3637
"aws_host_top99p_sum": (int,),
3738
"aws_lambda_func_count": (int,),
@@ -120,6 +121,7 @@ def openapi_types(_):
120121
"apm_host_top99p_sum": "apm_host_top99p_sum",
121122
"appsec_fargate_count_avg_sum": "appsec_fargate_count_avg_sum",
122123
"audit_logs_lines_indexed_agg_sum": "audit_logs_lines_indexed_agg_sum",
124+
"audit_trail_enabled_hwm_sum": "audit_trail_enabled_hwm_sum",
123125
"avg_profiled_fargate_tasks_sum": "avg_profiled_fargate_tasks_sum",
124126
"aws_host_top99p_sum": "aws_host_top99p_sum",
125127
"aws_lambda_func_count": "aws_lambda_func_count",
@@ -209,6 +211,7 @@ def __init__(
209211
apm_host_top99p_sum: Union[int, UnsetType] = unset,
210212
appsec_fargate_count_avg_sum: Union[int, UnsetType] = unset,
211213
audit_logs_lines_indexed_agg_sum: Union[int, UnsetType] = unset,
214+
audit_trail_enabled_hwm_sum: Union[int, UnsetType] = unset,
212215
avg_profiled_fargate_tasks_sum: Union[int, UnsetType] = unset,
213216
aws_host_top99p_sum: Union[int, UnsetType] = unset,
214217
aws_lambda_func_count: Union[int, UnsetType] = unset,
@@ -311,6 +314,9 @@ def __init__(
311314
:param audit_logs_lines_indexed_agg_sum: Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations.
312315
:type audit_logs_lines_indexed_agg_sum: int, optional
313316
317+
:param audit_trail_enabled_hwm_sum: Shows the total number of organizations that had Audit Trail enabled over a specific number of months.
318+
:type audit_trail_enabled_hwm_sum: int, optional
319+
314320
:param avg_profiled_fargate_tasks_sum: Shows the average of all profiled Fargate tasks over all hours in the current months for all organizations.
315321
:type avg_profiled_fargate_tasks_sum: int, optional
316322
@@ -560,6 +566,8 @@ def __init__(
560566
kwargs["appsec_fargate_count_avg_sum"] = appsec_fargate_count_avg_sum
561567
if audit_logs_lines_indexed_agg_sum is not unset:
562568
kwargs["audit_logs_lines_indexed_agg_sum"] = audit_logs_lines_indexed_agg_sum
569+
if audit_trail_enabled_hwm_sum is not unset:
570+
kwargs["audit_trail_enabled_hwm_sum"] = audit_trail_enabled_hwm_sum
563571
if avg_profiled_fargate_tasks_sum is not unset:
564572
kwargs["avg_profiled_fargate_tasks_sum"] = avg_profiled_fargate_tasks_sum
565573
if aws_host_top99p_sum is not unset:

0 commit comments

Comments
 (0)