Skip to content

Commit 526e723

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d2c1ef5 of spec repo
1 parent 587de71 commit 526e723

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
@@ -4241,6 +4241,18 @@ components:
42414241
description: Name of the connection
42424242
example: My AWS Connection
42434243
type: string
4244+
tags:
4245+
description: |-
4246+
Tags associated with the connection. Each tag must follow the `key:value` format.
4247+
The `default` tag key is reserved.
4248+
example:
4249+
- env:prod
4250+
- team:action-platform
4251+
items:
4252+
description: A non-reserved tag in `key:value` format.
4253+
pattern: "^(?!default:)[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
4254+
type: string
4255+
type: array
42444256
required:
42454257
- name
42464258
- integration
@@ -4254,6 +4266,18 @@ components:
42544266
description: Name of the connection
42554267
example: My AWS Connection
42564268
type: string
4269+
tags:
4270+
description: |-
4271+
Tags associated with the connection. Each tag must follow the `key:value` format.
4272+
The `default` tag key is reserved.
4273+
example:
4274+
- env:prod
4275+
- team:action-platform
4276+
items:
4277+
description: A non-reserved tag in `key:value` format.
4278+
pattern: "^(?!default:)[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
4279+
type: string
4280+
type: array
42574281
type: object
42584282
ActionConnectionData:
42594283
description: Data related to the connection.
@@ -121471,6 +121495,9 @@ paths:
121471121495
type: AWSAssumeRole
121472121496
type: AWS
121473121497
name: My AWS Connection
121498+
tags:
121499+
- env:prod
121500+
- team:action-platform
121474121501
type: action_connection
121475121502
schema:
121476121503
$ref: "#/components/schemas/CreateActionConnectionRequest"
@@ -121487,6 +121514,9 @@ paths:
121487121514
integration:
121488121515
type: AWS
121489121516
name: My AWS Connection
121517+
tags:
121518+
- env:prod
121519+
- team:action-platform
121490121520
id: 00000000-0000-0000-0000-000000000001
121491121521
type: action_connection
121492121522
schema:
@@ -121564,6 +121594,9 @@ paths:
121564121594
integration:
121565121595
type: AWS
121566121596
name: My AWS Connection
121597+
tags:
121598+
- env:prod
121599+
- team:action-platform
121567121600
id: 00000000-0000-0000-0000-000000000002
121568121601
type: action_connection
121569121602
schema:
@@ -121612,6 +121645,9 @@ paths:
121612121645
integration:
121613121646
type: AWS
121614121647
name: My AWS Connection
121648+
tags:
121649+
- env:prod
121650+
- team:action-platform
121615121651
type: action_connection
121616121652
schema:
121617121653
$ref: "#/components/schemas/UpdateActionConnectionRequest"
@@ -121629,6 +121665,9 @@ paths:
121629121665
integration:
121630121666
type: AWS
121631121667
name: My AWS Connection
121668+
tags:
121669+
- env:prod
121670+
- team:action-platform
121632121671
id: 00000000-0000-0000-0000-000000000003
121633121672
type: action_connection
121634121673
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)