vellum-ai 0.7.8__py3-none-any.whl → 0.7.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vellum/__init__.py +8 -0
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/ml_models/client.py +56 -4
- vellum/terraform/__init__.py +2 -0
- vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz +0 -0
- vellum/terraform/data_vellum_document_index/__init__.py +10 -10
- vellum/terraform/data_vellum_ml_model/__init__.py +409 -0
- vellum/terraform/document_index/__init__.py +16 -16
- vellum/terraform/ml_model/__init__.py +806 -0
- vellum/terraform/provider/__init__.py +13 -13
- vellum/terraform/versions.json +1 -1
- vellum/types/__init__.py +8 -0
- vellum/types/ml_model_display_config_labelled.py +4 -0
- vellum/types/ml_model_display_config_request.py +4 -0
- vellum/types/ml_model_exec_config.py +5 -0
- vellum/types/ml_model_exec_config_request.py +5 -0
- vellum/types/open_api_array_property.py +1 -1
- vellum/types/open_api_array_property_request.py +1 -1
- vellum/types/open_api_boolean_property.py +1 -1
- vellum/types/open_api_boolean_property_request.py +1 -1
- vellum/types/open_api_const_property.py +1 -1
- vellum/types/open_api_const_property_request.py +1 -1
- vellum/types/open_api_integer_property.py +1 -1
- vellum/types/open_api_integer_property_request.py +1 -1
- vellum/types/open_api_number_property.py +1 -1
- vellum/types/open_api_number_property_request.py +1 -1
- vellum/types/open_api_object_property.py +1 -1
- vellum/types/open_api_object_property_request.py +1 -1
- vellum/types/open_api_one_of_property.py +1 -1
- vellum/types/open_api_one_of_property_request.py +1 -1
- vellum/types/open_api_property.py +26 -0
- vellum/types/open_api_property_request.py +26 -0
- vellum/types/open_api_ref_property.py +35 -0
- vellum/types/open_api_ref_property_request.py +35 -0
- vellum/types/open_api_string_property.py +1 -1
- vellum/types/open_api_string_property_request.py +1 -1
- {vellum_ai-0.7.8.dist-info → vellum_ai-0.7.10.dist-info}/METADATA +1 -1
- {vellum_ai-0.7.8.dist-info → vellum_ai-0.7.10.dist-info}/RECORD +40 -36
- {vellum_ai-0.7.8.dist-info → vellum_ai-0.7.10.dist-info}/LICENSE +0 -0
- {vellum_ai-0.7.8.dist-info → vellum_ai-0.7.10.dist-info}/WHEEL +0 -0
@@ -0,0 +1,806 @@
|
|
1
|
+
'''
|
2
|
+
# `vellum_ml_model`
|
3
|
+
|
4
|
+
Refer to the Terraform Registry for docs: [`vellum_ml_model`](https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model).
|
5
|
+
'''
|
6
|
+
from pkgutil import extend_path
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
8
|
+
|
9
|
+
import abc
|
10
|
+
import builtins
|
11
|
+
import datetime
|
12
|
+
import enum
|
13
|
+
import typing
|
14
|
+
|
15
|
+
import jsii
|
16
|
+
import publication
|
17
|
+
import typing_extensions
|
18
|
+
|
19
|
+
from typeguard import check_type
|
20
|
+
|
21
|
+
from .._jsii import *
|
22
|
+
|
23
|
+
import cdktf as _cdktf_9a9027ec
|
24
|
+
import constructs as _constructs_77d1e7e8
|
25
|
+
|
26
|
+
|
27
|
+
class MlModel(
|
28
|
+
_cdktf_9a9027ec.TerraformResource,
|
29
|
+
metaclass=jsii.JSIIMeta,
|
30
|
+
jsii_type="vellum-ai_vellum.mlModel.MlModel",
|
31
|
+
):
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model}.'''
|
33
|
+
|
34
|
+
def __init__(
|
35
|
+
self,
|
36
|
+
scope: _constructs_77d1e7e8.Construct,
|
37
|
+
id: builtins.str,
|
38
|
+
*,
|
39
|
+
developed_by: builtins.str,
|
40
|
+
exec_config: typing.Union["MlModelExecConfig", typing.Dict[builtins.str, typing.Any]],
|
41
|
+
family: builtins.str,
|
42
|
+
hosted_by: builtins.str,
|
43
|
+
name: builtins.str,
|
44
|
+
visibility: builtins.str,
|
45
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
46
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
47
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
48
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
49
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
50
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
51
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
52
|
+
) -> None:
|
53
|
+
'''Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model} Resource.
|
54
|
+
|
55
|
+
:param scope: The scope in which to define this construct.
|
56
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
57
|
+
:param developed_by: The organization that developed the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#developed_by MlModel#developed_by}
|
58
|
+
:param exec_config: The execution configuration of the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#exec_config MlModel#exec_config}
|
59
|
+
:param family: The family of the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#family MlModel#family}
|
60
|
+
:param hosted_by: The organization hosting the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#hosted_by MlModel#hosted_by}
|
61
|
+
:param name: A name that uniquely identifies this ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#name MlModel#name}
|
62
|
+
:param visibility: The visibility of the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#visibility MlModel#visibility}
|
63
|
+
:param connection:
|
64
|
+
:param count:
|
65
|
+
:param depends_on:
|
66
|
+
:param for_each:
|
67
|
+
:param lifecycle:
|
68
|
+
:param provider:
|
69
|
+
:param provisioners:
|
70
|
+
'''
|
71
|
+
if __debug__:
|
72
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7f5770609c9e007f726d44f32fd136172a03655c2380a9b3c83504aac134e29a)
|
73
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
74
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
75
|
+
config = MlModelConfig(
|
76
|
+
developed_by=developed_by,
|
77
|
+
exec_config=exec_config,
|
78
|
+
family=family,
|
79
|
+
hosted_by=hosted_by,
|
80
|
+
name=name,
|
81
|
+
visibility=visibility,
|
82
|
+
connection=connection,
|
83
|
+
count=count,
|
84
|
+
depends_on=depends_on,
|
85
|
+
for_each=for_each,
|
86
|
+
lifecycle=lifecycle,
|
87
|
+
provider=provider,
|
88
|
+
provisioners=provisioners,
|
89
|
+
)
|
90
|
+
|
91
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
92
|
+
|
93
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
94
|
+
@builtins.classmethod
|
95
|
+
def generate_config_for_import(
|
96
|
+
cls,
|
97
|
+
scope: _constructs_77d1e7e8.Construct,
|
98
|
+
import_to_id: builtins.str,
|
99
|
+
import_from_id: builtins.str,
|
100
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
101
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
102
|
+
'''Generates CDKTF code for importing a MlModel resource upon running "cdktf plan ".
|
103
|
+
|
104
|
+
:param scope: The scope in which to define this construct.
|
105
|
+
:param import_to_id: The construct id used in the generated config for the MlModel to import.
|
106
|
+
:param import_from_id: The id of the existing MlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#import import section} in the documentation of this resource for the id to use
|
107
|
+
:param provider: ? Optional instance of the provider where the MlModel to import is found.
|
108
|
+
'''
|
109
|
+
if __debug__:
|
110
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0453f34be46be9f6e7945b1cc5ce547530fb25343e8d7f9db612883c0e78b32b)
|
111
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
112
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
113
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
114
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
115
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
116
|
+
|
117
|
+
@jsii.member(jsii_name="putExecConfig")
|
118
|
+
def put_exec_config(
|
119
|
+
self,
|
120
|
+
*,
|
121
|
+
base_url: builtins.str,
|
122
|
+
features: typing.Sequence[builtins.str],
|
123
|
+
metadata: typing.Mapping[builtins.str, builtins.str],
|
124
|
+
model_identifier: builtins.str,
|
125
|
+
) -> None:
|
126
|
+
'''
|
127
|
+
:param base_url: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#base_url MlModel#base_url}.
|
128
|
+
:param features: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#features MlModel#features}.
|
129
|
+
:param metadata: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#metadata MlModel#metadata}.
|
130
|
+
:param model_identifier: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#model_identifier MlModel#model_identifier}.
|
131
|
+
'''
|
132
|
+
value = MlModelExecConfig(
|
133
|
+
base_url=base_url,
|
134
|
+
features=features,
|
135
|
+
metadata=metadata,
|
136
|
+
model_identifier=model_identifier,
|
137
|
+
)
|
138
|
+
|
139
|
+
return typing.cast(None, jsii.invoke(self, "putExecConfig", [value]))
|
140
|
+
|
141
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
142
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
143
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
144
|
+
|
145
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
146
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
147
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
148
|
+
|
149
|
+
@jsii.python.classproperty
|
150
|
+
@jsii.member(jsii_name="tfResourceType")
|
151
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
152
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
153
|
+
|
154
|
+
@builtins.property
|
155
|
+
@jsii.member(jsii_name="execConfig")
|
156
|
+
def exec_config(self) -> "MlModelExecConfigOutputReference":
|
157
|
+
return typing.cast("MlModelExecConfigOutputReference", jsii.get(self, "execConfig"))
|
158
|
+
|
159
|
+
@builtins.property
|
160
|
+
@jsii.member(jsii_name="id")
|
161
|
+
def id(self) -> builtins.str:
|
162
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
163
|
+
|
164
|
+
@builtins.property
|
165
|
+
@jsii.member(jsii_name="developedByInput")
|
166
|
+
def developed_by_input(self) -> typing.Optional[builtins.str]:
|
167
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "developedByInput"))
|
168
|
+
|
169
|
+
@builtins.property
|
170
|
+
@jsii.member(jsii_name="execConfigInput")
|
171
|
+
def exec_config_input(
|
172
|
+
self,
|
173
|
+
) -> typing.Optional[typing.Union["MlModelExecConfig", _cdktf_9a9027ec.IResolvable]]:
|
174
|
+
return typing.cast(typing.Optional[typing.Union["MlModelExecConfig", _cdktf_9a9027ec.IResolvable]], jsii.get(self, "execConfigInput"))
|
175
|
+
|
176
|
+
@builtins.property
|
177
|
+
@jsii.member(jsii_name="familyInput")
|
178
|
+
def family_input(self) -> typing.Optional[builtins.str]:
|
179
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "familyInput"))
|
180
|
+
|
181
|
+
@builtins.property
|
182
|
+
@jsii.member(jsii_name="hostedByInput")
|
183
|
+
def hosted_by_input(self) -> typing.Optional[builtins.str]:
|
184
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "hostedByInput"))
|
185
|
+
|
186
|
+
@builtins.property
|
187
|
+
@jsii.member(jsii_name="nameInput")
|
188
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
189
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
190
|
+
|
191
|
+
@builtins.property
|
192
|
+
@jsii.member(jsii_name="visibilityInput")
|
193
|
+
def visibility_input(self) -> typing.Optional[builtins.str]:
|
194
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "visibilityInput"))
|
195
|
+
|
196
|
+
@builtins.property
|
197
|
+
@jsii.member(jsii_name="developedBy")
|
198
|
+
def developed_by(self) -> builtins.str:
|
199
|
+
return typing.cast(builtins.str, jsii.get(self, "developedBy"))
|
200
|
+
|
201
|
+
@developed_by.setter
|
202
|
+
def developed_by(self, value: builtins.str) -> None:
|
203
|
+
if __debug__:
|
204
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8ec43331bd7fafd8350c3f2d400f49584743d02a9695374d8511cf2455f1f0fe)
|
205
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
206
|
+
jsii.set(self, "developedBy", value)
|
207
|
+
|
208
|
+
@builtins.property
|
209
|
+
@jsii.member(jsii_name="family")
|
210
|
+
def family(self) -> builtins.str:
|
211
|
+
return typing.cast(builtins.str, jsii.get(self, "family"))
|
212
|
+
|
213
|
+
@family.setter
|
214
|
+
def family(self, value: builtins.str) -> None:
|
215
|
+
if __debug__:
|
216
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eccdb890011d8efe15b8530cd24861fe69440843204d16aac022bfa90e60729b)
|
217
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
218
|
+
jsii.set(self, "family", value)
|
219
|
+
|
220
|
+
@builtins.property
|
221
|
+
@jsii.member(jsii_name="hostedBy")
|
222
|
+
def hosted_by(self) -> builtins.str:
|
223
|
+
return typing.cast(builtins.str, jsii.get(self, "hostedBy"))
|
224
|
+
|
225
|
+
@hosted_by.setter
|
226
|
+
def hosted_by(self, value: builtins.str) -> None:
|
227
|
+
if __debug__:
|
228
|
+
type_hints = typing.get_type_hints(_typecheckingstub__88b540ebcd83e978800a72855783a3e04fa7fa45932517a00556955f24a4ba0e)
|
229
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
230
|
+
jsii.set(self, "hostedBy", value)
|
231
|
+
|
232
|
+
@builtins.property
|
233
|
+
@jsii.member(jsii_name="name")
|
234
|
+
def name(self) -> builtins.str:
|
235
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
236
|
+
|
237
|
+
@name.setter
|
238
|
+
def name(self, value: builtins.str) -> None:
|
239
|
+
if __debug__:
|
240
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2834794a1a16c331213fe75bccbbfa8b551d950d268e915929c914e9e2407932)
|
241
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
242
|
+
jsii.set(self, "name", value)
|
243
|
+
|
244
|
+
@builtins.property
|
245
|
+
@jsii.member(jsii_name="visibility")
|
246
|
+
def visibility(self) -> builtins.str:
|
247
|
+
return typing.cast(builtins.str, jsii.get(self, "visibility"))
|
248
|
+
|
249
|
+
@visibility.setter
|
250
|
+
def visibility(self, value: builtins.str) -> None:
|
251
|
+
if __debug__:
|
252
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f42a50ff9d8140ea1fd22013750ed23a41b97e1c9fe164e99a9b981775a5ae4f)
|
253
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
254
|
+
jsii.set(self, "visibility", value)
|
255
|
+
|
256
|
+
|
257
|
+
@jsii.data_type(
|
258
|
+
jsii_type="vellum-ai_vellum.mlModel.MlModelConfig",
|
259
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
260
|
+
name_mapping={
|
261
|
+
"connection": "connection",
|
262
|
+
"count": "count",
|
263
|
+
"depends_on": "dependsOn",
|
264
|
+
"for_each": "forEach",
|
265
|
+
"lifecycle": "lifecycle",
|
266
|
+
"provider": "provider",
|
267
|
+
"provisioners": "provisioners",
|
268
|
+
"developed_by": "developedBy",
|
269
|
+
"exec_config": "execConfig",
|
270
|
+
"family": "family",
|
271
|
+
"hosted_by": "hostedBy",
|
272
|
+
"name": "name",
|
273
|
+
"visibility": "visibility",
|
274
|
+
},
|
275
|
+
)
|
276
|
+
class MlModelConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
277
|
+
def __init__(
|
278
|
+
self,
|
279
|
+
*,
|
280
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
281
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
282
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
283
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
284
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
285
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
286
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
287
|
+
developed_by: builtins.str,
|
288
|
+
exec_config: typing.Union["MlModelExecConfig", typing.Dict[builtins.str, typing.Any]],
|
289
|
+
family: builtins.str,
|
290
|
+
hosted_by: builtins.str,
|
291
|
+
name: builtins.str,
|
292
|
+
visibility: builtins.str,
|
293
|
+
) -> None:
|
294
|
+
'''
|
295
|
+
:param connection:
|
296
|
+
:param count:
|
297
|
+
:param depends_on:
|
298
|
+
:param for_each:
|
299
|
+
:param lifecycle:
|
300
|
+
:param provider:
|
301
|
+
:param provisioners:
|
302
|
+
:param developed_by: The organization that developed the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#developed_by MlModel#developed_by}
|
303
|
+
:param exec_config: The execution configuration of the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#exec_config MlModel#exec_config}
|
304
|
+
:param family: The family of the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#family MlModel#family}
|
305
|
+
:param hosted_by: The organization hosting the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#hosted_by MlModel#hosted_by}
|
306
|
+
:param name: A name that uniquely identifies this ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#name MlModel#name}
|
307
|
+
:param visibility: The visibility of the ML Model. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#visibility MlModel#visibility}
|
308
|
+
'''
|
309
|
+
if isinstance(lifecycle, dict):
|
310
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
311
|
+
if isinstance(exec_config, dict):
|
312
|
+
exec_config = MlModelExecConfig(**exec_config)
|
313
|
+
if __debug__:
|
314
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c3d1b492e753e07ce481b7879b6f159fefc04adb9d9eeaa23bcff894fb0c09ef)
|
315
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
316
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
317
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
318
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
319
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
320
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
321
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
322
|
+
check_type(argname="argument developed_by", value=developed_by, expected_type=type_hints["developed_by"])
|
323
|
+
check_type(argname="argument exec_config", value=exec_config, expected_type=type_hints["exec_config"])
|
324
|
+
check_type(argname="argument family", value=family, expected_type=type_hints["family"])
|
325
|
+
check_type(argname="argument hosted_by", value=hosted_by, expected_type=type_hints["hosted_by"])
|
326
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
327
|
+
check_type(argname="argument visibility", value=visibility, expected_type=type_hints["visibility"])
|
328
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
329
|
+
"developed_by": developed_by,
|
330
|
+
"exec_config": exec_config,
|
331
|
+
"family": family,
|
332
|
+
"hosted_by": hosted_by,
|
333
|
+
"name": name,
|
334
|
+
"visibility": visibility,
|
335
|
+
}
|
336
|
+
if connection is not None:
|
337
|
+
self._values["connection"] = connection
|
338
|
+
if count is not None:
|
339
|
+
self._values["count"] = count
|
340
|
+
if depends_on is not None:
|
341
|
+
self._values["depends_on"] = depends_on
|
342
|
+
if for_each is not None:
|
343
|
+
self._values["for_each"] = for_each
|
344
|
+
if lifecycle is not None:
|
345
|
+
self._values["lifecycle"] = lifecycle
|
346
|
+
if provider is not None:
|
347
|
+
self._values["provider"] = provider
|
348
|
+
if provisioners is not None:
|
349
|
+
self._values["provisioners"] = provisioners
|
350
|
+
|
351
|
+
@builtins.property
|
352
|
+
def connection(
|
353
|
+
self,
|
354
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
355
|
+
'''
|
356
|
+
:stability: experimental
|
357
|
+
'''
|
358
|
+
result = self._values.get("connection")
|
359
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
360
|
+
|
361
|
+
@builtins.property
|
362
|
+
def count(
|
363
|
+
self,
|
364
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
365
|
+
'''
|
366
|
+
:stability: experimental
|
367
|
+
'''
|
368
|
+
result = self._values.get("count")
|
369
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
370
|
+
|
371
|
+
@builtins.property
|
372
|
+
def depends_on(
|
373
|
+
self,
|
374
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
375
|
+
'''
|
376
|
+
:stability: experimental
|
377
|
+
'''
|
378
|
+
result = self._values.get("depends_on")
|
379
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
380
|
+
|
381
|
+
@builtins.property
|
382
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
383
|
+
'''
|
384
|
+
:stability: experimental
|
385
|
+
'''
|
386
|
+
result = self._values.get("for_each")
|
387
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
388
|
+
|
389
|
+
@builtins.property
|
390
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
391
|
+
'''
|
392
|
+
:stability: experimental
|
393
|
+
'''
|
394
|
+
result = self._values.get("lifecycle")
|
395
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
396
|
+
|
397
|
+
@builtins.property
|
398
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
399
|
+
'''
|
400
|
+
:stability: experimental
|
401
|
+
'''
|
402
|
+
result = self._values.get("provider")
|
403
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
404
|
+
|
405
|
+
@builtins.property
|
406
|
+
def provisioners(
|
407
|
+
self,
|
408
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
409
|
+
'''
|
410
|
+
:stability: experimental
|
411
|
+
'''
|
412
|
+
result = self._values.get("provisioners")
|
413
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
414
|
+
|
415
|
+
@builtins.property
|
416
|
+
def developed_by(self) -> builtins.str:
|
417
|
+
'''The organization that developed the ML Model.
|
418
|
+
|
419
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#developed_by MlModel#developed_by}
|
420
|
+
'''
|
421
|
+
result = self._values.get("developed_by")
|
422
|
+
assert result is not None, "Required property 'developed_by' is missing"
|
423
|
+
return typing.cast(builtins.str, result)
|
424
|
+
|
425
|
+
@builtins.property
|
426
|
+
def exec_config(self) -> "MlModelExecConfig":
|
427
|
+
'''The execution configuration of the ML Model.
|
428
|
+
|
429
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#exec_config MlModel#exec_config}
|
430
|
+
'''
|
431
|
+
result = self._values.get("exec_config")
|
432
|
+
assert result is not None, "Required property 'exec_config' is missing"
|
433
|
+
return typing.cast("MlModelExecConfig", result)
|
434
|
+
|
435
|
+
@builtins.property
|
436
|
+
def family(self) -> builtins.str:
|
437
|
+
'''The family of the ML Model.
|
438
|
+
|
439
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#family MlModel#family}
|
440
|
+
'''
|
441
|
+
result = self._values.get("family")
|
442
|
+
assert result is not None, "Required property 'family' is missing"
|
443
|
+
return typing.cast(builtins.str, result)
|
444
|
+
|
445
|
+
@builtins.property
|
446
|
+
def hosted_by(self) -> builtins.str:
|
447
|
+
'''The organization hosting the ML Model.
|
448
|
+
|
449
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#hosted_by MlModel#hosted_by}
|
450
|
+
'''
|
451
|
+
result = self._values.get("hosted_by")
|
452
|
+
assert result is not None, "Required property 'hosted_by' is missing"
|
453
|
+
return typing.cast(builtins.str, result)
|
454
|
+
|
455
|
+
@builtins.property
|
456
|
+
def name(self) -> builtins.str:
|
457
|
+
'''A name that uniquely identifies this ML Model.
|
458
|
+
|
459
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#name MlModel#name}
|
460
|
+
'''
|
461
|
+
result = self._values.get("name")
|
462
|
+
assert result is not None, "Required property 'name' is missing"
|
463
|
+
return typing.cast(builtins.str, result)
|
464
|
+
|
465
|
+
@builtins.property
|
466
|
+
def visibility(self) -> builtins.str:
|
467
|
+
'''The visibility of the ML Model.
|
468
|
+
|
469
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#visibility MlModel#visibility}
|
470
|
+
'''
|
471
|
+
result = self._values.get("visibility")
|
472
|
+
assert result is not None, "Required property 'visibility' is missing"
|
473
|
+
return typing.cast(builtins.str, result)
|
474
|
+
|
475
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
476
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
477
|
+
|
478
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
479
|
+
return not (rhs == self)
|
480
|
+
|
481
|
+
def __repr__(self) -> str:
|
482
|
+
return "MlModelConfig(%s)" % ", ".join(
|
483
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
484
|
+
)
|
485
|
+
|
486
|
+
|
487
|
+
@jsii.data_type(
|
488
|
+
jsii_type="vellum-ai_vellum.mlModel.MlModelExecConfig",
|
489
|
+
jsii_struct_bases=[],
|
490
|
+
name_mapping={
|
491
|
+
"base_url": "baseUrl",
|
492
|
+
"features": "features",
|
493
|
+
"metadata": "metadata",
|
494
|
+
"model_identifier": "modelIdentifier",
|
495
|
+
},
|
496
|
+
)
|
497
|
+
class MlModelExecConfig:
|
498
|
+
def __init__(
|
499
|
+
self,
|
500
|
+
*,
|
501
|
+
base_url: builtins.str,
|
502
|
+
features: typing.Sequence[builtins.str],
|
503
|
+
metadata: typing.Mapping[builtins.str, builtins.str],
|
504
|
+
model_identifier: builtins.str,
|
505
|
+
) -> None:
|
506
|
+
'''
|
507
|
+
:param base_url: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#base_url MlModel#base_url}.
|
508
|
+
:param features: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#features MlModel#features}.
|
509
|
+
:param metadata: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#metadata MlModel#metadata}.
|
510
|
+
:param model_identifier: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#model_identifier MlModel#model_identifier}.
|
511
|
+
'''
|
512
|
+
if __debug__:
|
513
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c784282f736cf32b66b9651cd4452753c77b4f6e1f99a8c68a9c8997badcc6ba)
|
514
|
+
check_type(argname="argument base_url", value=base_url, expected_type=type_hints["base_url"])
|
515
|
+
check_type(argname="argument features", value=features, expected_type=type_hints["features"])
|
516
|
+
check_type(argname="argument metadata", value=metadata, expected_type=type_hints["metadata"])
|
517
|
+
check_type(argname="argument model_identifier", value=model_identifier, expected_type=type_hints["model_identifier"])
|
518
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
519
|
+
"base_url": base_url,
|
520
|
+
"features": features,
|
521
|
+
"metadata": metadata,
|
522
|
+
"model_identifier": model_identifier,
|
523
|
+
}
|
524
|
+
|
525
|
+
@builtins.property
|
526
|
+
def base_url(self) -> builtins.str:
|
527
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#base_url MlModel#base_url}.'''
|
528
|
+
result = self._values.get("base_url")
|
529
|
+
assert result is not None, "Required property 'base_url' is missing"
|
530
|
+
return typing.cast(builtins.str, result)
|
531
|
+
|
532
|
+
@builtins.property
|
533
|
+
def features(self) -> typing.List[builtins.str]:
|
534
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#features MlModel#features}.'''
|
535
|
+
result = self._values.get("features")
|
536
|
+
assert result is not None, "Required property 'features' is missing"
|
537
|
+
return typing.cast(typing.List[builtins.str], result)
|
538
|
+
|
539
|
+
@builtins.property
|
540
|
+
def metadata(self) -> typing.Mapping[builtins.str, builtins.str]:
|
541
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#metadata MlModel#metadata}.'''
|
542
|
+
result = self._values.get("metadata")
|
543
|
+
assert result is not None, "Required property 'metadata' is missing"
|
544
|
+
return typing.cast(typing.Mapping[builtins.str, builtins.str], result)
|
545
|
+
|
546
|
+
@builtins.property
|
547
|
+
def model_identifier(self) -> builtins.str:
|
548
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#model_identifier MlModel#model_identifier}.'''
|
549
|
+
result = self._values.get("model_identifier")
|
550
|
+
assert result is not None, "Required property 'model_identifier' is missing"
|
551
|
+
return typing.cast(builtins.str, result)
|
552
|
+
|
553
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
554
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
555
|
+
|
556
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
557
|
+
return not (rhs == self)
|
558
|
+
|
559
|
+
def __repr__(self) -> str:
|
560
|
+
return "MlModelExecConfig(%s)" % ", ".join(
|
561
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
562
|
+
)
|
563
|
+
|
564
|
+
|
565
|
+
class MlModelExecConfigOutputReference(
|
566
|
+
_cdktf_9a9027ec.ComplexObject,
|
567
|
+
metaclass=jsii.JSIIMeta,
|
568
|
+
jsii_type="vellum-ai_vellum.mlModel.MlModelExecConfigOutputReference",
|
569
|
+
):
|
570
|
+
def __init__(
|
571
|
+
self,
|
572
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
573
|
+
terraform_attribute: builtins.str,
|
574
|
+
) -> None:
|
575
|
+
'''
|
576
|
+
:param terraform_resource: The parent resource.
|
577
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
578
|
+
'''
|
579
|
+
if __debug__:
|
580
|
+
type_hints = typing.get_type_hints(_typecheckingstub__43fc3316762ca85a1036e22132ce4a4260d687b34c9456a6c74c09b91f7e1ef2)
|
581
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
582
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
583
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute])
|
584
|
+
|
585
|
+
@builtins.property
|
586
|
+
@jsii.member(jsii_name="baseUrlInput")
|
587
|
+
def base_url_input(self) -> typing.Optional[builtins.str]:
|
588
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "baseUrlInput"))
|
589
|
+
|
590
|
+
@builtins.property
|
591
|
+
@jsii.member(jsii_name="featuresInput")
|
592
|
+
def features_input(self) -> typing.Optional[typing.List[builtins.str]]:
|
593
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "featuresInput"))
|
594
|
+
|
595
|
+
@builtins.property
|
596
|
+
@jsii.member(jsii_name="metadataInput")
|
597
|
+
def metadata_input(
|
598
|
+
self,
|
599
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
600
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "metadataInput"))
|
601
|
+
|
602
|
+
@builtins.property
|
603
|
+
@jsii.member(jsii_name="modelIdentifierInput")
|
604
|
+
def model_identifier_input(self) -> typing.Optional[builtins.str]:
|
605
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "modelIdentifierInput"))
|
606
|
+
|
607
|
+
@builtins.property
|
608
|
+
@jsii.member(jsii_name="baseUrl")
|
609
|
+
def base_url(self) -> builtins.str:
|
610
|
+
return typing.cast(builtins.str, jsii.get(self, "baseUrl"))
|
611
|
+
|
612
|
+
@base_url.setter
|
613
|
+
def base_url(self, value: builtins.str) -> None:
|
614
|
+
if __debug__:
|
615
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5b7a9658f45325eed897dff1cd3db98b1f5957ba50eada8892db4e4d16cfd01f)
|
616
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
617
|
+
jsii.set(self, "baseUrl", value)
|
618
|
+
|
619
|
+
@builtins.property
|
620
|
+
@jsii.member(jsii_name="features")
|
621
|
+
def features(self) -> typing.List[builtins.str]:
|
622
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "features"))
|
623
|
+
|
624
|
+
@features.setter
|
625
|
+
def features(self, value: typing.List[builtins.str]) -> None:
|
626
|
+
if __debug__:
|
627
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eaf7c7e76489d0570cbd3740a2e2e806536d5f8472bec5dc00c8475aced34b3b)
|
628
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
629
|
+
jsii.set(self, "features", value)
|
630
|
+
|
631
|
+
@builtins.property
|
632
|
+
@jsii.member(jsii_name="metadata")
|
633
|
+
def metadata(self) -> typing.Mapping[builtins.str, builtins.str]:
|
634
|
+
return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "metadata"))
|
635
|
+
|
636
|
+
@metadata.setter
|
637
|
+
def metadata(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
|
638
|
+
if __debug__:
|
639
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f93121b1a61e7dddefae33ede4fcb1795948f5405513c00a28d5e45b1080615c)
|
640
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
641
|
+
jsii.set(self, "metadata", value)
|
642
|
+
|
643
|
+
@builtins.property
|
644
|
+
@jsii.member(jsii_name="modelIdentifier")
|
645
|
+
def model_identifier(self) -> builtins.str:
|
646
|
+
return typing.cast(builtins.str, jsii.get(self, "modelIdentifier"))
|
647
|
+
|
648
|
+
@model_identifier.setter
|
649
|
+
def model_identifier(self, value: builtins.str) -> None:
|
650
|
+
if __debug__:
|
651
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b2bc1e2cd7f30694799c24996b86af3699ce8904c15341987885600203b285e)
|
652
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
653
|
+
jsii.set(self, "modelIdentifier", value)
|
654
|
+
|
655
|
+
@builtins.property
|
656
|
+
@jsii.member(jsii_name="internalValue")
|
657
|
+
def internal_value(
|
658
|
+
self,
|
659
|
+
) -> typing.Optional[typing.Union[MlModelExecConfig, _cdktf_9a9027ec.IResolvable]]:
|
660
|
+
return typing.cast(typing.Optional[typing.Union[MlModelExecConfig, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "internalValue"))
|
661
|
+
|
662
|
+
@internal_value.setter
|
663
|
+
def internal_value(
|
664
|
+
self,
|
665
|
+
value: typing.Optional[typing.Union[MlModelExecConfig, _cdktf_9a9027ec.IResolvable]],
|
666
|
+
) -> None:
|
667
|
+
if __debug__:
|
668
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c008a6bf93234ee88aa1473d90814128b94f61f4325e2b19c106d3cc4a389d66)
|
669
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
670
|
+
jsii.set(self, "internalValue", value)
|
671
|
+
|
672
|
+
|
673
|
+
__all__ = [
|
674
|
+
"MlModel",
|
675
|
+
"MlModelConfig",
|
676
|
+
"MlModelExecConfig",
|
677
|
+
"MlModelExecConfigOutputReference",
|
678
|
+
]
|
679
|
+
|
680
|
+
publication.publish()
|
681
|
+
|
682
|
+
def _typecheckingstub__7f5770609c9e007f726d44f32fd136172a03655c2380a9b3c83504aac134e29a(
|
683
|
+
scope: _constructs_77d1e7e8.Construct,
|
684
|
+
id: builtins.str,
|
685
|
+
*,
|
686
|
+
developed_by: builtins.str,
|
687
|
+
exec_config: typing.Union[MlModelExecConfig, typing.Dict[builtins.str, typing.Any]],
|
688
|
+
family: builtins.str,
|
689
|
+
hosted_by: builtins.str,
|
690
|
+
name: builtins.str,
|
691
|
+
visibility: builtins.str,
|
692
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
693
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
694
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
695
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
696
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
697
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
698
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
699
|
+
) -> None:
|
700
|
+
"""Type checking stubs"""
|
701
|
+
pass
|
702
|
+
|
703
|
+
def _typecheckingstub__0453f34be46be9f6e7945b1cc5ce547530fb25343e8d7f9db612883c0e78b32b(
|
704
|
+
scope: _constructs_77d1e7e8.Construct,
|
705
|
+
import_to_id: builtins.str,
|
706
|
+
import_from_id: builtins.str,
|
707
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
708
|
+
) -> None:
|
709
|
+
"""Type checking stubs"""
|
710
|
+
pass
|
711
|
+
|
712
|
+
def _typecheckingstub__8ec43331bd7fafd8350c3f2d400f49584743d02a9695374d8511cf2455f1f0fe(
|
713
|
+
value: builtins.str,
|
714
|
+
) -> None:
|
715
|
+
"""Type checking stubs"""
|
716
|
+
pass
|
717
|
+
|
718
|
+
def _typecheckingstub__eccdb890011d8efe15b8530cd24861fe69440843204d16aac022bfa90e60729b(
|
719
|
+
value: builtins.str,
|
720
|
+
) -> None:
|
721
|
+
"""Type checking stubs"""
|
722
|
+
pass
|
723
|
+
|
724
|
+
def _typecheckingstub__88b540ebcd83e978800a72855783a3e04fa7fa45932517a00556955f24a4ba0e(
|
725
|
+
value: builtins.str,
|
726
|
+
) -> None:
|
727
|
+
"""Type checking stubs"""
|
728
|
+
pass
|
729
|
+
|
730
|
+
def _typecheckingstub__2834794a1a16c331213fe75bccbbfa8b551d950d268e915929c914e9e2407932(
|
731
|
+
value: builtins.str,
|
732
|
+
) -> None:
|
733
|
+
"""Type checking stubs"""
|
734
|
+
pass
|
735
|
+
|
736
|
+
def _typecheckingstub__f42a50ff9d8140ea1fd22013750ed23a41b97e1c9fe164e99a9b981775a5ae4f(
|
737
|
+
value: builtins.str,
|
738
|
+
) -> None:
|
739
|
+
"""Type checking stubs"""
|
740
|
+
pass
|
741
|
+
|
742
|
+
def _typecheckingstub__c3d1b492e753e07ce481b7879b6f159fefc04adb9d9eeaa23bcff894fb0c09ef(
|
743
|
+
*,
|
744
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
745
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
746
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
747
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
748
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
749
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
750
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
751
|
+
developed_by: builtins.str,
|
752
|
+
exec_config: typing.Union[MlModelExecConfig, typing.Dict[builtins.str, typing.Any]],
|
753
|
+
family: builtins.str,
|
754
|
+
hosted_by: builtins.str,
|
755
|
+
name: builtins.str,
|
756
|
+
visibility: builtins.str,
|
757
|
+
) -> None:
|
758
|
+
"""Type checking stubs"""
|
759
|
+
pass
|
760
|
+
|
761
|
+
def _typecheckingstub__c784282f736cf32b66b9651cd4452753c77b4f6e1f99a8c68a9c8997badcc6ba(
|
762
|
+
*,
|
763
|
+
base_url: builtins.str,
|
764
|
+
features: typing.Sequence[builtins.str],
|
765
|
+
metadata: typing.Mapping[builtins.str, builtins.str],
|
766
|
+
model_identifier: builtins.str,
|
767
|
+
) -> None:
|
768
|
+
"""Type checking stubs"""
|
769
|
+
pass
|
770
|
+
|
771
|
+
def _typecheckingstub__43fc3316762ca85a1036e22132ce4a4260d687b34c9456a6c74c09b91f7e1ef2(
|
772
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
773
|
+
terraform_attribute: builtins.str,
|
774
|
+
) -> None:
|
775
|
+
"""Type checking stubs"""
|
776
|
+
pass
|
777
|
+
|
778
|
+
def _typecheckingstub__5b7a9658f45325eed897dff1cd3db98b1f5957ba50eada8892db4e4d16cfd01f(
|
779
|
+
value: builtins.str,
|
780
|
+
) -> None:
|
781
|
+
"""Type checking stubs"""
|
782
|
+
pass
|
783
|
+
|
784
|
+
def _typecheckingstub__eaf7c7e76489d0570cbd3740a2e2e806536d5f8472bec5dc00c8475aced34b3b(
|
785
|
+
value: typing.List[builtins.str],
|
786
|
+
) -> None:
|
787
|
+
"""Type checking stubs"""
|
788
|
+
pass
|
789
|
+
|
790
|
+
def _typecheckingstub__f93121b1a61e7dddefae33ede4fcb1795948f5405513c00a28d5e45b1080615c(
|
791
|
+
value: typing.Mapping[builtins.str, builtins.str],
|
792
|
+
) -> None:
|
793
|
+
"""Type checking stubs"""
|
794
|
+
pass
|
795
|
+
|
796
|
+
def _typecheckingstub__8b2bc1e2cd7f30694799c24996b86af3699ce8904c15341987885600203b285e(
|
797
|
+
value: builtins.str,
|
798
|
+
) -> None:
|
799
|
+
"""Type checking stubs"""
|
800
|
+
pass
|
801
|
+
|
802
|
+
def _typecheckingstub__c008a6bf93234ee88aa1473d90814128b94f61f4325e2b19c106d3cc4a389d66(
|
803
|
+
value: typing.Optional[typing.Union[MlModelExecConfig, _cdktf_9a9027ec.IResolvable]],
|
804
|
+
) -> None:
|
805
|
+
"""Type checking stubs"""
|
806
|
+
pass
|