Skip to content

Commit ead044f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit c943fd2 of spec repo (#3869)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b8c1613 commit ead044f

3 files changed

Lines changed: 61 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4249,6 +4249,18 @@ components:
42494249
description: Name of the connection
42504250
example: My AWS Connection
42514251
type: string
4252+
tags:
4253+
description: |-
4254+
Tags associated with the connection. Each tag must follow the `key:value` format.
4255+
The `default` tag key is reserved.
4256+
example:
4257+
- env:prod
4258+
- team:action-platform
4259+
items:
4260+
description: A non-reserved tag in `key:value` format.
4261+
pattern: "^[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
4262+
type: string
4263+
type: array
42524264
required:
42534265
- name
42544266
- integration
@@ -4262,6 +4274,18 @@ components:
42624274
description: Name of the connection
42634275
example: My AWS Connection
42644276
type: string
4277+
tags:
4278+
description: |-
4279+
Tags associated with the connection. Each tag must follow the `key:value` format.
4280+
The `default` tag key is reserved.
4281+
example:
4282+
- env:prod
4283+
- team:action-platform
4284+
items:
4285+
description: A non-reserved tag in `key:value` format.
4286+
pattern: "^[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
4287+
type: string
4288+
type: array
42654289
type: object
42664290
ActionConnectionData:
42674291
description: Data related to the connection.
@@ -121707,6 +121731,9 @@ paths:
121707121731
type: AWSAssumeRole
121708121732
type: AWS
121709121733
name: My AWS Connection
121734+
tags:
121735+
- env:prod
121736+
- team:action-platform
121710121737
type: action_connection
121711121738
schema:
121712121739
$ref: "#/components/schemas/CreateActionConnectionRequest"
@@ -121723,6 +121750,9 @@ paths:
121723121750
integration:
121724121751
type: AWS
121725121752
name: My AWS Connection
121753+
tags:
121754+
- env:prod
121755+
- team:action-platform
121726121756
id: 00000000-0000-0000-0000-000000000001
121727121757
type: action_connection
121728121758
schema:
@@ -121800,6 +121830,9 @@ paths:
121800121830
integration:
121801121831
type: AWS
121802121832
name: My AWS Connection
121833+
tags:
121834+
- env:prod
121835+
- team:action-platform
121803121836
id: 00000000-0000-0000-0000-000000000002
121804121837
type: action_connection
121805121838
schema:
@@ -121848,6 +121881,9 @@ paths:
121848121881
integration:
121849121882
type: AWS
121850121883
name: My AWS Connection
121884+
tags:
121885+
- env:prod
121886+
- team:action-platform
121851121887
type: action_connection
121852121888
schema:
121853121889
$ref: "#/components/schemas/UpdateActionConnectionRequest"
@@ -121865,6 +121901,9 @@ paths:
121865121901
integration:
121866121902
type: AWS
121867121903
name: My AWS Connection
121904+
tags:
121905+
- env:prod
121906+
- team:action-platform
121868121907
id: 00000000-0000-0000-0000-000000000003
121869121908
type: action_connection
121870121909
schema:

src/datadog_api_client/v2/model/action_connection_attributes.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import Union, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -47,11 +49,13 @@ def openapi_types(_):
4749
return {
4850
"integration": (ActionConnectionIntegration,),
4951
"name": (str,),
52+
"tags": ([str],),
5053
}
5154

5255
attribute_map = {
5356
"integration": "integration",
5457
"name": "name",
58+
"tags": "tags",
5559
}
5660

5761
def __init__(
@@ -84,6 +88,7 @@ def __init__(
8488
VirusTotalIntegration,
8589
],
8690
name: str,
91+
tags: Union[List[str], UnsetType] = unset,
8792
**kwargs,
8893
):
8994
"""
@@ -94,7 +99,13 @@ def __init__(
9499
95100
:param name: Name of the connection
96101
:type name: str
102+
103+
:param tags: Tags associated with the connection. Each tag must follow the ``key:value`` format.
104+
The ``default`` tag key is reserved.
105+
:type tags: [str], optional
97106
"""
107+
if tags is not unset:
108+
kwargs["tags"] = tags
98109
super().__init__(kwargs)
99110

100111
self_.integration = integration

src/datadog_api_client/v2/model/action_connection_attributes_update.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import Union, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
@@ -49,11 +49,13 @@ def openapi_types(_):
4949
return {
5050
"integration": (ActionConnectionIntegrationUpdate,),
5151
"name": (str,),
52+
"tags": ([str],),
5253
}
5354

5455
attribute_map = {
5556
"integration": "integration",
5657
"name": "name",
58+
"tags": "tags",
5759
}
5860

5961
def __init__(
@@ -87,6 +89,7 @@ def __init__(
8789
UnsetType,
8890
] = unset,
8991
name: Union[str, UnsetType] = unset,
92+
tags: Union[List[str], UnsetType] = unset,
9093
**kwargs,
9194
):
9295
"""
@@ -97,9 +100,15 @@ def __init__(
97100
98101
:param name: Name of the connection
99102
:type name: str, optional
103+
104+
:param tags: Tags associated with the connection. Each tag must follow the ``key:value`` format.
105+
The ``default`` tag key is reserved.
106+
:type tags: [str], optional
100107
"""
101108
if integration is not unset:
102109
kwargs["integration"] = integration
103110
if name is not unset:
104111
kwargs["name"] = name
112+
if tags is not unset:
113+
kwargs["tags"] = tags
105114
super().__init__(kwargs)

0 commit comments

Comments
 (0)