vellum-ai 0.3.21__py3-none-any.whl → 0.3.23__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 +48 -0
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/test_suite_runs/client.py +14 -0
- vellum/terraform/__init__.py +26 -0
- vellum/terraform/_jsii/__init__.py +27 -0
- vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz +0 -0
- vellum/terraform/constraints.json +4 -0
- vellum/terraform/data_vellum_document_index/__init__.py +409 -0
- vellum/terraform/document_index/__init__.py +490 -0
- vellum/terraform/provider/__init__.py +237 -0
- vellum/terraform/py.typed +1 -0
- vellum/terraform/versions.json +3 -0
- vellum/types/__init__.py +50 -0
- vellum/types/external_test_case_execution.py +35 -0
- vellum/types/external_test_case_execution_request.py +35 -0
- vellum/types/fulfilled_workflow_node_result_event.py +1 -1
- vellum/types/named_test_case_chat_history_variable_value.py +35 -0
- vellum/types/named_test_case_chat_history_variable_value_request.py +5 -1
- vellum/types/named_test_case_error_variable_value.py +35 -0
- vellum/types/named_test_case_error_variable_value_request.py +5 -1
- vellum/types/named_test_case_json_variable_value.py +34 -0
- vellum/types/named_test_case_json_variable_value_request.py +5 -1
- vellum/types/named_test_case_number_variable_value.py +34 -0
- vellum/types/named_test_case_number_variable_value_request.py +5 -1
- vellum/types/named_test_case_search_results_variable_value.py +35 -0
- vellum/types/named_test_case_search_results_variable_value_request.py +5 -1
- vellum/types/named_test_case_string_variable_value.py +34 -0
- vellum/types/named_test_case_string_variable_value_request.py +5 -1
- vellum/types/named_test_case_variable_value.py +82 -0
- vellum/types/prompt_template_block.py +2 -0
- vellum/types/prompt_template_block_request.py +2 -0
- vellum/types/prompt_template_block_state.py +22 -0
- vellum/types/sandbox_scenario.py +4 -0
- vellum/types/test_case_chat_history_variable_value.py +5 -0
- vellum/types/test_case_error_variable_value.py +5 -0
- vellum/types/test_case_json_variable_value.py +5 -0
- vellum/types/test_case_number_variable_value.py +5 -0
- vellum/types/test_case_search_results_variable_value.py +5 -0
- vellum/types/test_case_string_variable_value.py +5 -0
- vellum/types/test_suite_run_exec_config.py +14 -1
- vellum/types/test_suite_run_exec_config_request.py +14 -1
- vellum/types/test_suite_run_execution_chat_history_output.py +6 -1
- vellum/types/test_suite_run_execution_error_output.py +6 -1
- vellum/types/test_suite_run_execution_json_output.py +6 -1
- vellum/types/test_suite_run_execution_metric_definition.py +31 -0
- vellum/types/test_suite_run_execution_metric_result.py +3 -0
- vellum/types/test_suite_run_execution_number_output.py +6 -1
- vellum/types/test_suite_run_execution_search_results_output.py +6 -1
- vellum/types/test_suite_run_execution_string_output.py +6 -1
- vellum/types/test_suite_run_external_exec_config.py +38 -0
- vellum/types/test_suite_run_external_exec_config_data.py +33 -0
- vellum/types/test_suite_run_external_exec_config_data_request.py +33 -0
- vellum/types/test_suite_run_external_exec_config_request.py +38 -0
- vellum/types/test_suite_run_external_exec_config_type_enum.py +5 -0
- {vellum_ai-0.3.21.dist-info → vellum_ai-0.3.23.dist-info}/METADATA +2 -1
- {vellum_ai-0.3.21.dist-info → vellum_ai-0.3.23.dist-info}/RECORD +58 -33
- {vellum_ai-0.3.21.dist-info → vellum_ai-0.3.23.dist-info}/LICENSE +0 -0
- {vellum_ai-0.3.21.dist-info → vellum_ai-0.3.23.dist-info}/WHEEL +0 -0
@@ -0,0 +1,409 @@
|
|
1
|
+
'''
|
2
|
+
# `data_vellum_document_index`
|
3
|
+
|
4
|
+
Refer to the Terraform Registry for docs: [`data_vellum_document_index`](https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index).
|
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 DataVellumDocumentIndex(
|
28
|
+
_cdktf_9a9027ec.TerraformDataSource,
|
29
|
+
metaclass=jsii.JSIIMeta,
|
30
|
+
jsii_type="vellum-ai_vellum.dataVellumDocumentIndex.DataVellumDocumentIndex",
|
31
|
+
):
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index vellum_document_index}.'''
|
33
|
+
|
34
|
+
def __init__(
|
35
|
+
self,
|
36
|
+
scope: _constructs_77d1e7e8.Construct,
|
37
|
+
id_: builtins.str,
|
38
|
+
*,
|
39
|
+
id: typing.Optional[builtins.str] = None,
|
40
|
+
name: typing.Optional[builtins.str] = None,
|
41
|
+
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,
|
42
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
43
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
44
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
45
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
46
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
47
|
+
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,
|
48
|
+
) -> None:
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index vellum_document_index} Data Source.
|
50
|
+
|
51
|
+
:param scope: The scope in which to define this construct.
|
52
|
+
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
53
|
+
:param id: The Document Index's ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#id DataVellumDocumentIndex#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
54
|
+
:param name: A name that uniquely identifies this index within its workspace. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
|
55
|
+
:param connection:
|
56
|
+
:param count:
|
57
|
+
:param depends_on:
|
58
|
+
:param for_each:
|
59
|
+
:param lifecycle:
|
60
|
+
:param provider:
|
61
|
+
:param provisioners:
|
62
|
+
'''
|
63
|
+
if __debug__:
|
64
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0bc5b33c1995e6b6e696de461f28c651c4c56ac6f532ab44c49a5bf361c75c65)
|
65
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
66
|
+
check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
|
67
|
+
config = DataVellumDocumentIndexConfig(
|
68
|
+
id=id,
|
69
|
+
name=name,
|
70
|
+
connection=connection,
|
71
|
+
count=count,
|
72
|
+
depends_on=depends_on,
|
73
|
+
for_each=for_each,
|
74
|
+
lifecycle=lifecycle,
|
75
|
+
provider=provider,
|
76
|
+
provisioners=provisioners,
|
77
|
+
)
|
78
|
+
|
79
|
+
jsii.create(self.__class__, self, [scope, id_, config])
|
80
|
+
|
81
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
82
|
+
@builtins.classmethod
|
83
|
+
def generate_config_for_import(
|
84
|
+
cls,
|
85
|
+
scope: _constructs_77d1e7e8.Construct,
|
86
|
+
import_to_id: builtins.str,
|
87
|
+
import_from_id: builtins.str,
|
88
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
89
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
90
|
+
'''Generates CDKTF code for importing a DataVellumDocumentIndex resource upon running "cdktf plan ".
|
91
|
+
|
92
|
+
:param scope: The scope in which to define this construct.
|
93
|
+
:param import_to_id: The construct id used in the generated config for the DataVellumDocumentIndex to import.
|
94
|
+
:param import_from_id: The id of the existing DataVellumDocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#import import section} in the documentation of this resource for the id to use
|
95
|
+
:param provider: ? Optional instance of the provider where the DataVellumDocumentIndex to import is found.
|
96
|
+
'''
|
97
|
+
if __debug__:
|
98
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6188c2844375085b6bf86c3fbadee75ee53a0b9d851bd1338854014696ecf57b)
|
99
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
100
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
101
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
102
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
103
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
104
|
+
|
105
|
+
@jsii.member(jsii_name="resetId")
|
106
|
+
def reset_id(self) -> None:
|
107
|
+
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
108
|
+
|
109
|
+
@jsii.member(jsii_name="resetName")
|
110
|
+
def reset_name(self) -> None:
|
111
|
+
return typing.cast(None, jsii.invoke(self, "resetName", []))
|
112
|
+
|
113
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
114
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
115
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
116
|
+
|
117
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
118
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
119
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
120
|
+
|
121
|
+
@jsii.python.classproperty
|
122
|
+
@jsii.member(jsii_name="tfResourceType")
|
123
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
124
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
125
|
+
|
126
|
+
@builtins.property
|
127
|
+
@jsii.member(jsii_name="created")
|
128
|
+
def created(self) -> builtins.str:
|
129
|
+
return typing.cast(builtins.str, jsii.get(self, "created"))
|
130
|
+
|
131
|
+
@builtins.property
|
132
|
+
@jsii.member(jsii_name="environment")
|
133
|
+
def environment(self) -> builtins.str:
|
134
|
+
return typing.cast(builtins.str, jsii.get(self, "environment"))
|
135
|
+
|
136
|
+
@builtins.property
|
137
|
+
@jsii.member(jsii_name="label")
|
138
|
+
def label(self) -> builtins.str:
|
139
|
+
return typing.cast(builtins.str, jsii.get(self, "label"))
|
140
|
+
|
141
|
+
@builtins.property
|
142
|
+
@jsii.member(jsii_name="status")
|
143
|
+
def status(self) -> builtins.str:
|
144
|
+
return typing.cast(builtins.str, jsii.get(self, "status"))
|
145
|
+
|
146
|
+
@builtins.property
|
147
|
+
@jsii.member(jsii_name="idInput")
|
148
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
149
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
150
|
+
|
151
|
+
@builtins.property
|
152
|
+
@jsii.member(jsii_name="nameInput")
|
153
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
154
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
155
|
+
|
156
|
+
@builtins.property
|
157
|
+
@jsii.member(jsii_name="id")
|
158
|
+
def id(self) -> builtins.str:
|
159
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
160
|
+
|
161
|
+
@id.setter
|
162
|
+
def id(self, value: builtins.str) -> None:
|
163
|
+
if __debug__:
|
164
|
+
type_hints = typing.get_type_hints(_typecheckingstub__00069088befbd70729d087d2fac43a23a7c164be2e83b3504a2b40460cd8fb40)
|
165
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
166
|
+
jsii.set(self, "id", value)
|
167
|
+
|
168
|
+
@builtins.property
|
169
|
+
@jsii.member(jsii_name="name")
|
170
|
+
def name(self) -> builtins.str:
|
171
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
172
|
+
|
173
|
+
@name.setter
|
174
|
+
def name(self, value: builtins.str) -> None:
|
175
|
+
if __debug__:
|
176
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c16ca1e6b115f5f1e1c642cae6613187dbe77b1c47d4c4c5a11ffb7488327d29)
|
177
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
178
|
+
jsii.set(self, "name", value)
|
179
|
+
|
180
|
+
|
181
|
+
@jsii.data_type(
|
182
|
+
jsii_type="vellum-ai_vellum.dataVellumDocumentIndex.DataVellumDocumentIndexConfig",
|
183
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
184
|
+
name_mapping={
|
185
|
+
"connection": "connection",
|
186
|
+
"count": "count",
|
187
|
+
"depends_on": "dependsOn",
|
188
|
+
"for_each": "forEach",
|
189
|
+
"lifecycle": "lifecycle",
|
190
|
+
"provider": "provider",
|
191
|
+
"provisioners": "provisioners",
|
192
|
+
"id": "id",
|
193
|
+
"name": "name",
|
194
|
+
},
|
195
|
+
)
|
196
|
+
class DataVellumDocumentIndexConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
197
|
+
def __init__(
|
198
|
+
self,
|
199
|
+
*,
|
200
|
+
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,
|
201
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
202
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
203
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
204
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
205
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
206
|
+
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,
|
207
|
+
id: typing.Optional[builtins.str] = None,
|
208
|
+
name: typing.Optional[builtins.str] = None,
|
209
|
+
) -> None:
|
210
|
+
'''
|
211
|
+
:param connection:
|
212
|
+
:param count:
|
213
|
+
:param depends_on:
|
214
|
+
:param for_each:
|
215
|
+
:param lifecycle:
|
216
|
+
:param provider:
|
217
|
+
:param provisioners:
|
218
|
+
:param id: The Document Index's ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#id DataVellumDocumentIndex#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
219
|
+
:param name: A name that uniquely identifies this index within its workspace. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
|
220
|
+
'''
|
221
|
+
if isinstance(lifecycle, dict):
|
222
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
223
|
+
if __debug__:
|
224
|
+
type_hints = typing.get_type_hints(_typecheckingstub__21fcd2eefb7148719636663aa2c43b63b1d2114acd2edc65d539f913e8fa438b)
|
225
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
226
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
227
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
228
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
229
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
230
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
231
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
232
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
233
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
234
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
235
|
+
if connection is not None:
|
236
|
+
self._values["connection"] = connection
|
237
|
+
if count is not None:
|
238
|
+
self._values["count"] = count
|
239
|
+
if depends_on is not None:
|
240
|
+
self._values["depends_on"] = depends_on
|
241
|
+
if for_each is not None:
|
242
|
+
self._values["for_each"] = for_each
|
243
|
+
if lifecycle is not None:
|
244
|
+
self._values["lifecycle"] = lifecycle
|
245
|
+
if provider is not None:
|
246
|
+
self._values["provider"] = provider
|
247
|
+
if provisioners is not None:
|
248
|
+
self._values["provisioners"] = provisioners
|
249
|
+
if id is not None:
|
250
|
+
self._values["id"] = id
|
251
|
+
if name is not None:
|
252
|
+
self._values["name"] = name
|
253
|
+
|
254
|
+
@builtins.property
|
255
|
+
def connection(
|
256
|
+
self,
|
257
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
258
|
+
'''
|
259
|
+
:stability: experimental
|
260
|
+
'''
|
261
|
+
result = self._values.get("connection")
|
262
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
263
|
+
|
264
|
+
@builtins.property
|
265
|
+
def count(
|
266
|
+
self,
|
267
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
268
|
+
'''
|
269
|
+
:stability: experimental
|
270
|
+
'''
|
271
|
+
result = self._values.get("count")
|
272
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
273
|
+
|
274
|
+
@builtins.property
|
275
|
+
def depends_on(
|
276
|
+
self,
|
277
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
278
|
+
'''
|
279
|
+
:stability: experimental
|
280
|
+
'''
|
281
|
+
result = self._values.get("depends_on")
|
282
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
283
|
+
|
284
|
+
@builtins.property
|
285
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
286
|
+
'''
|
287
|
+
:stability: experimental
|
288
|
+
'''
|
289
|
+
result = self._values.get("for_each")
|
290
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
291
|
+
|
292
|
+
@builtins.property
|
293
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
294
|
+
'''
|
295
|
+
:stability: experimental
|
296
|
+
'''
|
297
|
+
result = self._values.get("lifecycle")
|
298
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
299
|
+
|
300
|
+
@builtins.property
|
301
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
302
|
+
'''
|
303
|
+
:stability: experimental
|
304
|
+
'''
|
305
|
+
result = self._values.get("provider")
|
306
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
307
|
+
|
308
|
+
@builtins.property
|
309
|
+
def provisioners(
|
310
|
+
self,
|
311
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
312
|
+
'''
|
313
|
+
:stability: experimental
|
314
|
+
'''
|
315
|
+
result = self._values.get("provisioners")
|
316
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
317
|
+
|
318
|
+
@builtins.property
|
319
|
+
def id(self) -> typing.Optional[builtins.str]:
|
320
|
+
'''The Document Index's ID.
|
321
|
+
|
322
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#id DataVellumDocumentIndex#id}
|
323
|
+
|
324
|
+
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
325
|
+
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
326
|
+
'''
|
327
|
+
result = self._values.get("id")
|
328
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
329
|
+
|
330
|
+
@builtins.property
|
331
|
+
def name(self) -> typing.Optional[builtins.str]:
|
332
|
+
'''A name that uniquely identifies this index within its workspace.
|
333
|
+
|
334
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
|
335
|
+
'''
|
336
|
+
result = self._values.get("name")
|
337
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
338
|
+
|
339
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
340
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
341
|
+
|
342
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
343
|
+
return not (rhs == self)
|
344
|
+
|
345
|
+
def __repr__(self) -> str:
|
346
|
+
return "DataVellumDocumentIndexConfig(%s)" % ", ".join(
|
347
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
348
|
+
)
|
349
|
+
|
350
|
+
|
351
|
+
__all__ = [
|
352
|
+
"DataVellumDocumentIndex",
|
353
|
+
"DataVellumDocumentIndexConfig",
|
354
|
+
]
|
355
|
+
|
356
|
+
publication.publish()
|
357
|
+
|
358
|
+
def _typecheckingstub__0bc5b33c1995e6b6e696de461f28c651c4c56ac6f532ab44c49a5bf361c75c65(
|
359
|
+
scope: _constructs_77d1e7e8.Construct,
|
360
|
+
id_: builtins.str,
|
361
|
+
*,
|
362
|
+
id: typing.Optional[builtins.str] = None,
|
363
|
+
name: typing.Optional[builtins.str] = None,
|
364
|
+
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,
|
365
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
366
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
367
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
368
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
369
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
370
|
+
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,
|
371
|
+
) -> None:
|
372
|
+
"""Type checking stubs"""
|
373
|
+
pass
|
374
|
+
|
375
|
+
def _typecheckingstub__6188c2844375085b6bf86c3fbadee75ee53a0b9d851bd1338854014696ecf57b(
|
376
|
+
scope: _constructs_77d1e7e8.Construct,
|
377
|
+
import_to_id: builtins.str,
|
378
|
+
import_from_id: builtins.str,
|
379
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
380
|
+
) -> None:
|
381
|
+
"""Type checking stubs"""
|
382
|
+
pass
|
383
|
+
|
384
|
+
def _typecheckingstub__00069088befbd70729d087d2fac43a23a7c164be2e83b3504a2b40460cd8fb40(
|
385
|
+
value: builtins.str,
|
386
|
+
) -> None:
|
387
|
+
"""Type checking stubs"""
|
388
|
+
pass
|
389
|
+
|
390
|
+
def _typecheckingstub__c16ca1e6b115f5f1e1c642cae6613187dbe77b1c47d4c4c5a11ffb7488327d29(
|
391
|
+
value: builtins.str,
|
392
|
+
) -> None:
|
393
|
+
"""Type checking stubs"""
|
394
|
+
pass
|
395
|
+
|
396
|
+
def _typecheckingstub__21fcd2eefb7148719636663aa2c43b63b1d2114acd2edc65d539f913e8fa438b(
|
397
|
+
*,
|
398
|
+
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,
|
399
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
400
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
401
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
402
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
403
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
404
|
+
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,
|
405
|
+
id: typing.Optional[builtins.str] = None,
|
406
|
+
name: typing.Optional[builtins.str] = None,
|
407
|
+
) -> None:
|
408
|
+
"""Type checking stubs"""
|
409
|
+
pass
|