@flyteorg/flyteidl 0.24.18 → 0.24.21

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.
@@ -0,0 +1,3765 @@
1
+ ######################
2
+ Protocol Documentation
3
+ ######################
4
+
5
+
6
+
7
+
8
+ .. _ref_flyteidl/admin/cluster_assignment.proto:
9
+
10
+ flyteidl/admin/cluster_assignment.proto
11
+ ==================================================================
12
+
13
+
14
+
15
+
16
+
17
+ .. _ref_flyteidl.admin.Affinity:
18
+
19
+ Affinity
20
+ ------------------------------------------------------------------
21
+
22
+ Defines a set of constraints used to select eligible objects based on labels they possess.
23
+
24
+
25
+
26
+ .. csv-table:: Affinity type fields
27
+ :header: "Field", "Type", "Label", "Description"
28
+ :widths: auto
29
+
30
+ "selectors", ":ref:`ref_flyteidl.admin.Selector`", "repeated", "Multiples selectors are 'and'-ed together to produce the list of matching, eligible objects."
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+ .. _ref_flyteidl.admin.ClusterAssignment:
39
+
40
+ ClusterAssignment
41
+ ------------------------------------------------------------------
42
+
43
+ Encapsulates specifications for routing an execution onto a specific cluster.
44
+
45
+
46
+
47
+ .. csv-table:: ClusterAssignment type fields
48
+ :header: "Field", "Type", "Label", "Description"
49
+ :widths: auto
50
+
51
+ "affinity", ":ref:`ref_flyteidl.admin.Affinity`", "", ""
52
+ "toleration", ":ref:`ref_flyteidl.admin.Toleration`", "", ""
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+ .. _ref_flyteidl.admin.Selector:
61
+
62
+ Selector
63
+ ------------------------------------------------------------------
64
+
65
+ A Selector is a specification for identifying a set of objects with corresponding labels.
66
+
67
+
68
+
69
+ .. csv-table:: Selector type fields
70
+ :header: "Field", "Type", "Label", "Description"
71
+ :widths: auto
72
+
73
+ "key", ":ref:`ref_string`", "", "The label key."
74
+ "value", ":ref:`ref_string`", "repeated", "One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements."
75
+ "operator", ":ref:`ref_flyteidl.admin.Selector.Operator`", "", ""
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+ .. _ref_flyteidl.admin.Toleration:
84
+
85
+ Toleration
86
+ ------------------------------------------------------------------
87
+
88
+ Defines a set of specific label selectors that the execution can tolerate on a cluster.
89
+
90
+
91
+
92
+ .. csv-table:: Toleration type fields
93
+ :header: "Field", "Type", "Label", "Description"
94
+ :widths: auto
95
+
96
+ "selectors", ":ref:`ref_flyteidl.admin.Selector`", "repeated", "A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS."
97
+
98
+
99
+
100
+
101
+
102
+ <!-- end messages -->
103
+
104
+
105
+
106
+ .. _ref_flyteidl.admin.Selector.Operator:
107
+
108
+ Selector.Operator
109
+ ------------------------------------------------------------------
110
+
111
+ Defines how a label with a corresponding key and value is selected or excluded.
112
+
113
+ .. csv-table:: Enum Selector.Operator values
114
+ :header: "Name", "Number", "Description"
115
+ :widths: auto
116
+
117
+ "EQUALS", "0", ""
118
+ "NOT_EQUALS", "1", ""
119
+ "IN", "2", ""
120
+ "NOT_IN", "3", ""
121
+ "EXISTS", "4", "A label key with any value"
122
+
123
+ <!-- end enums -->
124
+
125
+ <!-- end HasExtensions -->
126
+
127
+ <!-- end services -->
128
+
129
+
130
+
131
+
132
+ .. _ref_flyteidl/admin/common.proto:
133
+
134
+ flyteidl/admin/common.proto
135
+ ==================================================================
136
+
137
+
138
+
139
+
140
+
141
+ .. _ref_flyteidl.admin.Annotations:
142
+
143
+ Annotations
144
+ ------------------------------------------------------------------
145
+
146
+ Annotation values to be applied to an execution resource.
147
+ In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
148
+ to specify how to merge annotations defined at registration and execution time.
149
+
150
+
151
+
152
+ .. csv-table:: Annotations type fields
153
+ :header: "Field", "Type", "Label", "Description"
154
+ :widths: auto
155
+
156
+ "values", ":ref:`ref_flyteidl.admin.Annotations.ValuesEntry`", "repeated", "Map of custom annotations to be applied to the execution resource."
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+ .. _ref_flyteidl.admin.Annotations.ValuesEntry:
165
+
166
+ Annotations.ValuesEntry
167
+ ------------------------------------------------------------------
168
+
169
+
170
+
171
+
172
+
173
+ .. csv-table:: Annotations.ValuesEntry type fields
174
+ :header: "Field", "Type", "Label", "Description"
175
+ :widths: auto
176
+
177
+ "key", ":ref:`ref_string`", "", ""
178
+ "value", ":ref:`ref_string`", "", ""
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+ .. _ref_flyteidl.admin.AuthRole:
187
+
188
+ AuthRole
189
+ ------------------------------------------------------------------
190
+
191
+ Defines permissions associated with executions created by this launch plan spec.
192
+ Use either of these roles when they have permissions required by your workflow execution.
193
+ Deprecated.
194
+
195
+
196
+
197
+ .. csv-table:: AuthRole type fields
198
+ :header: "Field", "Type", "Label", "Description"
199
+ :widths: auto
200
+
201
+ "assumable_iam_role", ":ref:`ref_string`", "", "Defines an optional iam role which will be used for tasks run in executions created with this launch plan."
202
+ "kubernetes_service_account", ":ref:`ref_string`", "", "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan."
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+ .. _ref_flyteidl.admin.EmailNotification:
211
+
212
+ EmailNotification
213
+ ------------------------------------------------------------------
214
+
215
+ Defines an email notification specification.
216
+
217
+
218
+
219
+ .. csv-table:: EmailNotification type fields
220
+ :header: "Field", "Type", "Label", "Description"
221
+ :widths: auto
222
+
223
+ "recipients_email", ":ref:`ref_string`", "repeated", "The list of email addresses recipients for this notification. +required"
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+ .. _ref_flyteidl.admin.Labels:
232
+
233
+ Labels
234
+ ------------------------------------------------------------------
235
+
236
+ Label values to be applied to an execution resource.
237
+ In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
238
+ to specify how to merge labels defined at registration and execution time.
239
+
240
+
241
+
242
+ .. csv-table:: Labels type fields
243
+ :header: "Field", "Type", "Label", "Description"
244
+ :widths: auto
245
+
246
+ "values", ":ref:`ref_flyteidl.admin.Labels.ValuesEntry`", "repeated", "Map of custom labels to be applied to the execution resource."
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+ .. _ref_flyteidl.admin.Labels.ValuesEntry:
255
+
256
+ Labels.ValuesEntry
257
+ ------------------------------------------------------------------
258
+
259
+
260
+
261
+
262
+
263
+ .. csv-table:: Labels.ValuesEntry type fields
264
+ :header: "Field", "Type", "Label", "Description"
265
+ :widths: auto
266
+
267
+ "key", ":ref:`ref_string`", "", ""
268
+ "value", ":ref:`ref_string`", "", ""
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+ .. _ref_flyteidl.admin.NamedEntity:
277
+
278
+ NamedEntity
279
+ ------------------------------------------------------------------
280
+
281
+ Encapsulates information common to a NamedEntity, a Flyte resource such as a task,
282
+ workflow or launch plan. A NamedEntity is exclusively identified by its resource type
283
+ and identifier.
284
+
285
+
286
+
287
+ .. csv-table:: NamedEntity type fields
288
+ :header: "Field", "Type", "Label", "Description"
289
+ :widths: auto
290
+
291
+ "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the named entity. One of Task, Workflow or LaunchPlan."
292
+ "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", ""
293
+ "metadata", ":ref:`ref_flyteidl.admin.NamedEntityMetadata`", "", "Additional metadata around a named entity."
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+ .. _ref_flyteidl.admin.NamedEntityGetRequest:
302
+
303
+ NamedEntityGetRequest
304
+ ------------------------------------------------------------------
305
+
306
+ A request to retrieve the metadata associated with a NamedEntityIdentifier
307
+
308
+
309
+
310
+ .. csv-table:: NamedEntityGetRequest type fields
311
+ :header: "Field", "Type", "Label", "Description"
312
+ :widths: auto
313
+
314
+ "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required"
315
+ "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "The identifier for the named entity for which to fetch metadata. +required"
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+ .. _ref_flyteidl.admin.NamedEntityIdentifier:
324
+
325
+ NamedEntityIdentifier
326
+ ------------------------------------------------------------------
327
+
328
+ Encapsulation of fields that identifies a Flyte resource.
329
+ A Flyte resource can be a task, workflow or launch plan.
330
+ A resource can internally have multiple versions and is uniquely identified
331
+ by project, domain, and name.
332
+
333
+
334
+
335
+ .. csv-table:: NamedEntityIdentifier type fields
336
+ :header: "Field", "Type", "Label", "Description"
337
+ :widths: auto
338
+
339
+ "project", ":ref:`ref_string`", "", "Name of the project the resource belongs to."
340
+ "domain", ":ref:`ref_string`", "", "Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project."
341
+ "name", ":ref:`ref_string`", "", "User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'"
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+ .. _ref_flyteidl.admin.NamedEntityIdentifierList:
350
+
351
+ NamedEntityIdentifierList
352
+ ------------------------------------------------------------------
353
+
354
+ Represents a list of NamedEntityIdentifiers.
355
+
356
+
357
+
358
+ .. csv-table:: NamedEntityIdentifierList type fields
359
+ :header: "Field", "Type", "Label", "Description"
360
+ :widths: auto
361
+
362
+ "entities", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "repeated", "A list of identifiers."
363
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+ .. _ref_flyteidl.admin.NamedEntityIdentifierListRequest:
372
+
373
+ NamedEntityIdentifierListRequest
374
+ ------------------------------------------------------------------
375
+
376
+ Represents a request structure to list NamedEntityIdentifiers.
377
+
378
+
379
+
380
+ .. csv-table:: NamedEntityIdentifierListRequest type fields
381
+ :header: "Field", "Type", "Label", "Description"
382
+ :widths: auto
383
+
384
+ "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required"
385
+ "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project. +required"
386
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required"
387
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional"
388
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Specifies how listed entities should be sorted in the response. +optional"
389
+ "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. +optional"
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+ .. _ref_flyteidl.admin.NamedEntityList:
398
+
399
+ NamedEntityList
400
+ ------------------------------------------------------------------
401
+
402
+ Represents a list of NamedEntityIdentifiers.
403
+
404
+
405
+
406
+ .. csv-table:: NamedEntityList type fields
407
+ :header: "Field", "Type", "Label", "Description"
408
+ :widths: auto
409
+
410
+ "entities", ":ref:`ref_flyteidl.admin.NamedEntity`", "repeated", "A list of NamedEntity objects"
411
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+ .. _ref_flyteidl.admin.NamedEntityListRequest:
420
+
421
+ NamedEntityListRequest
422
+ ------------------------------------------------------------------
423
+
424
+ Represents a request structure to list NamedEntity objects
425
+
426
+
427
+
428
+ .. csv-table:: NamedEntityListRequest type fields
429
+ :header: "Field", "Type", "Label", "Description"
430
+ :widths: auto
431
+
432
+ "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required"
433
+ "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required"
434
+ "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project."
435
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned."
436
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional"
437
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Specifies how listed entities should be sorted in the response. +optional"
438
+ "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. +optional"
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+ .. _ref_flyteidl.admin.NamedEntityMetadata:
447
+
448
+ NamedEntityMetadata
449
+ ------------------------------------------------------------------
450
+
451
+ Additional metadata around a named entity.
452
+
453
+
454
+
455
+ .. csv-table:: NamedEntityMetadata type fields
456
+ :header: "Field", "Type", "Label", "Description"
457
+ :widths: auto
458
+
459
+ "description", ":ref:`ref_string`", "", "Common description across all versions of the entity +optional"
460
+ "state", ":ref:`ref_flyteidl.admin.NamedEntityState`", "", "Shared state across all version of the entity At this point in time, only workflow entities can have their state archived."
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+ .. _ref_flyteidl.admin.NamedEntityUpdateRequest:
469
+
470
+ NamedEntityUpdateRequest
471
+ ------------------------------------------------------------------
472
+
473
+ Request to set the referenced named entity state to the configured value.
474
+
475
+
476
+
477
+ .. csv-table:: NamedEntityUpdateRequest type fields
478
+ :header: "Field", "Type", "Label", "Description"
479
+ :widths: auto
480
+
481
+ "resource_type", ":ref:`ref_flyteidl.core.ResourceType`", "", "Resource type of the metadata to update +required"
482
+ "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "Identifier of the metadata to update +required"
483
+ "metadata", ":ref:`ref_flyteidl.admin.NamedEntityMetadata`", "", "Metadata object to set as the new value +required"
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+ .. _ref_flyteidl.admin.NamedEntityUpdateResponse:
492
+
493
+ NamedEntityUpdateResponse
494
+ ------------------------------------------------------------------
495
+
496
+ Purposefully empty, may be populated in the future.
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+ .. _ref_flyteidl.admin.Notification:
506
+
507
+ Notification
508
+ ------------------------------------------------------------------
509
+
510
+ Represents a structure for notifications based on execution status.
511
+ The notification content is configured within flyte admin but can be templatized.
512
+ Future iterations could expose configuring notifications with custom content.
513
+
514
+
515
+
516
+ .. csv-table:: Notification type fields
517
+ :header: "Field", "Type", "Label", "Description"
518
+ :widths: auto
519
+
520
+ "phases", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "repeated", "A list of phases to which users can associate the notifications to. +required"
521
+ "email", ":ref:`ref_flyteidl.admin.EmailNotification`", "", ""
522
+ "pager_duty", ":ref:`ref_flyteidl.admin.PagerDutyNotification`", "", ""
523
+ "slack", ":ref:`ref_flyteidl.admin.SlackNotification`", "", ""
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+ .. _ref_flyteidl.admin.ObjectGetRequest:
532
+
533
+ ObjectGetRequest
534
+ ------------------------------------------------------------------
535
+
536
+ Shared request structure to fetch a single resource.
537
+ Resources include: Task, Workflow, LaunchPlan
538
+
539
+
540
+
541
+ .. csv-table:: ObjectGetRequest type fields
542
+ :header: "Field", "Type", "Label", "Description"
543
+ :widths: auto
544
+
545
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Indicates a unique version of resource. +required"
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+ .. _ref_flyteidl.admin.PagerDutyNotification:
554
+
555
+ PagerDutyNotification
556
+ ------------------------------------------------------------------
557
+
558
+ Defines a pager duty notification specification.
559
+
560
+
561
+
562
+ .. csv-table:: PagerDutyNotification type fields
563
+ :header: "Field", "Type", "Label", "Description"
564
+ :widths: auto
565
+
566
+ "recipients_email", ":ref:`ref_string`", "repeated", "Currently, PagerDuty notifications leverage email to trigger a notification. +required"
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+ .. _ref_flyteidl.admin.RawOutputDataConfig:
575
+
576
+ RawOutputDataConfig
577
+ ------------------------------------------------------------------
578
+
579
+ Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
580
+ See https://github.com/flyteorg/flyte/issues/211 for more background information.
581
+
582
+
583
+
584
+ .. csv-table:: RawOutputDataConfig type fields
585
+ :header: "Field", "Type", "Label", "Description"
586
+ :widths: auto
587
+
588
+ "output_location_prefix", ":ref:`ref_string`", "", "Prefix for where offloaded data from user workflows will be written e.g. s3://bucket/key or s3://bucket/"
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+ .. _ref_flyteidl.admin.ResourceListRequest:
597
+
598
+ ResourceListRequest
599
+ ------------------------------------------------------------------
600
+
601
+ Shared request structure to retrieve a list of resources.
602
+ Resources include: Task, Workflow, LaunchPlan
603
+
604
+
605
+
606
+ .. csv-table:: ResourceListRequest type fields
607
+ :header: "Field", "Type", "Label", "Description"
608
+ :widths: auto
609
+
610
+ "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "id represents the unique identifier of the resource. +required"
611
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required"
612
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional"
613
+ "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional"
614
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional"
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+ .. _ref_flyteidl.admin.SlackNotification:
623
+
624
+ SlackNotification
625
+ ------------------------------------------------------------------
626
+
627
+ Defines a slack notification specification.
628
+
629
+
630
+
631
+ .. csv-table:: SlackNotification type fields
632
+ :header: "Field", "Type", "Label", "Description"
633
+ :widths: auto
634
+
635
+ "recipients_email", ":ref:`ref_string`", "repeated", "Currently, Slack notifications leverage email to trigger a notification. +required"
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+ .. _ref_flyteidl.admin.Sort:
644
+
645
+ Sort
646
+ ------------------------------------------------------------------
647
+
648
+ Specifies sort ordering in a list request.
649
+
650
+
651
+
652
+ .. csv-table:: Sort type fields
653
+ :header: "Field", "Type", "Label", "Description"
654
+ :widths: auto
655
+
656
+ "key", ":ref:`ref_string`", "", "Indicates an attribute to sort the response values. +required"
657
+ "direction", ":ref:`ref_flyteidl.admin.Sort.Direction`", "", "Indicates the direction to apply sort key for response values. +optional"
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+ .. _ref_flyteidl.admin.UrlBlob:
666
+
667
+ UrlBlob
668
+ ------------------------------------------------------------------
669
+
670
+ Represents a string url and associated metadata used throughout the platform.
671
+
672
+
673
+
674
+ .. csv-table:: UrlBlob type fields
675
+ :header: "Field", "Type", "Label", "Description"
676
+ :widths: auto
677
+
678
+ "url", ":ref:`ref_string`", "", "Actual url value."
679
+ "bytes", ":ref:`ref_int64`", "", "Represents the size of the file accessible at the above url."
680
+
681
+
682
+
683
+
684
+
685
+ <!-- end messages -->
686
+
687
+
688
+
689
+ .. _ref_flyteidl.admin.NamedEntityState:
690
+
691
+ NamedEntityState
692
+ ------------------------------------------------------------------
693
+
694
+ The status of the named entity is used to control its visibility in the UI.
695
+
696
+ .. csv-table:: Enum NamedEntityState values
697
+ :header: "Name", "Number", "Description"
698
+ :widths: auto
699
+
700
+ "NAMED_ENTITY_ACTIVE", "0", "By default, all named entities are considered active and under development."
701
+ "NAMED_ENTITY_ARCHIVED", "1", "Archived named entities are no longer visible in the UI."
702
+ "SYSTEM_GENERATED", "2", "System generated entities that aren't explicitly created or managed by a user."
703
+
704
+
705
+
706
+ .. _ref_flyteidl.admin.Sort.Direction:
707
+
708
+ Sort.Direction
709
+ ------------------------------------------------------------------
710
+
711
+
712
+
713
+ .. csv-table:: Enum Sort.Direction values
714
+ :header: "Name", "Number", "Description"
715
+ :widths: auto
716
+
717
+ "DESCENDING", "0", "By default, fields are sorted in descending order."
718
+ "ASCENDING", "1", ""
719
+
720
+ <!-- end enums -->
721
+
722
+ <!-- end HasExtensions -->
723
+
724
+ <!-- end services -->
725
+
726
+
727
+
728
+
729
+ .. _ref_flyteidl/admin/event.proto:
730
+
731
+ flyteidl/admin/event.proto
732
+ ==================================================================
733
+
734
+
735
+
736
+
737
+
738
+ .. _ref_flyteidl.admin.EventErrorAlreadyInTerminalState:
739
+
740
+ EventErrorAlreadyInTerminalState
741
+ ------------------------------------------------------------------
742
+
743
+ Indicates that a sent event was not used to update execution state due to
744
+ the referenced execution already being terminated (and therefore ineligible
745
+ for further state transitions).
746
+
747
+
748
+
749
+ .. csv-table:: EventErrorAlreadyInTerminalState type fields
750
+ :header: "Field", "Type", "Label", "Description"
751
+ :widths: auto
752
+
753
+ "current_phase", ":ref:`ref_string`", "", "+required"
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+ .. _ref_flyteidl.admin.EventErrorIncompatibleCluster:
762
+
763
+ EventErrorIncompatibleCluster
764
+ ------------------------------------------------------------------
765
+
766
+ Indicates an event was rejected because it came from a different cluster than
767
+ is on record as running the execution.
768
+
769
+
770
+
771
+ .. csv-table:: EventErrorIncompatibleCluster type fields
772
+ :header: "Field", "Type", "Label", "Description"
773
+ :widths: auto
774
+
775
+ "cluster", ":ref:`ref_string`", "", "The cluster which has been recorded as processing the execution. +required"
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+ .. _ref_flyteidl.admin.EventFailureReason:
784
+
785
+ EventFailureReason
786
+ ------------------------------------------------------------------
787
+
788
+ Indicates why a sent event was not used to update execution.
789
+
790
+
791
+
792
+ .. csv-table:: EventFailureReason type fields
793
+ :header: "Field", "Type", "Label", "Description"
794
+ :widths: auto
795
+
796
+ "already_in_terminal_state", ":ref:`ref_flyteidl.admin.EventErrorAlreadyInTerminalState`", "", ""
797
+ "incompatible_cluster", ":ref:`ref_flyteidl.admin.EventErrorIncompatibleCluster`", "", ""
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+ .. _ref_flyteidl.admin.NodeExecutionEventRequest:
806
+
807
+ NodeExecutionEventRequest
808
+ ------------------------------------------------------------------
809
+
810
+ Request to send a notification that a node execution event has occurred.
811
+
812
+
813
+
814
+ .. csv-table:: NodeExecutionEventRequest type fields
815
+ :header: "Field", "Type", "Label", "Description"
816
+ :widths: auto
817
+
818
+ "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services"
819
+ "event", ":ref:`ref_flyteidl.event.NodeExecutionEvent`", "", "Details about the event that occurred."
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+ .. _ref_flyteidl.admin.NodeExecutionEventResponse:
828
+
829
+ NodeExecutionEventResponse
830
+ ------------------------------------------------------------------
831
+
832
+ Purposefully empty, may be populated in the future.
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+ .. _ref_flyteidl.admin.TaskExecutionEventRequest:
842
+
843
+ TaskExecutionEventRequest
844
+ ------------------------------------------------------------------
845
+
846
+ Request to send a notification that a task execution event has occurred.
847
+
848
+
849
+
850
+ .. csv-table:: TaskExecutionEventRequest type fields
851
+ :header: "Field", "Type", "Label", "Description"
852
+ :widths: auto
853
+
854
+ "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services"
855
+ "event", ":ref:`ref_flyteidl.event.TaskExecutionEvent`", "", "Details about the event that occurred."
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+ .. _ref_flyteidl.admin.TaskExecutionEventResponse:
864
+
865
+ TaskExecutionEventResponse
866
+ ------------------------------------------------------------------
867
+
868
+ Purposefully empty, may be populated in the future.
869
+
870
+
871
+
872
+
873
+
874
+
875
+
876
+
877
+ .. _ref_flyteidl.admin.WorkflowExecutionEventRequest:
878
+
879
+ WorkflowExecutionEventRequest
880
+ ------------------------------------------------------------------
881
+
882
+ Request to send a notification that a workflow execution event has occurred.
883
+
884
+
885
+
886
+ .. csv-table:: WorkflowExecutionEventRequest type fields
887
+ :header: "Field", "Type", "Label", "Description"
888
+ :widths: auto
889
+
890
+ "request_id", ":ref:`ref_string`", "", "Unique ID for this request that can be traced between services"
891
+ "event", ":ref:`ref_flyteidl.event.WorkflowExecutionEvent`", "", "Details about the event that occurred."
892
+
893
+
894
+
895
+
896
+
897
+
898
+
899
+ .. _ref_flyteidl.admin.WorkflowExecutionEventResponse:
900
+
901
+ WorkflowExecutionEventResponse
902
+ ------------------------------------------------------------------
903
+
904
+ Purposefully empty, may be populated in the future.
905
+
906
+
907
+
908
+
909
+
910
+
911
+ <!-- end messages -->
912
+
913
+ <!-- end enums -->
914
+
915
+ <!-- end HasExtensions -->
916
+
917
+ <!-- end services -->
918
+
919
+
920
+
921
+
922
+ .. _ref_flyteidl/admin/execution.proto:
923
+
924
+ flyteidl/admin/execution.proto
925
+ ==================================================================
926
+
927
+
928
+
929
+
930
+
931
+ .. _ref_flyteidl.admin.AbortMetadata:
932
+
933
+ AbortMetadata
934
+ ------------------------------------------------------------------
935
+
936
+ Specifies metadata around an aborted workflow execution.
937
+
938
+
939
+
940
+ .. csv-table:: AbortMetadata type fields
941
+ :header: "Field", "Type", "Label", "Description"
942
+ :widths: auto
943
+
944
+ "cause", ":ref:`ref_string`", "", "In the case of a user-specified abort, this will pass along the user-supplied cause."
945
+ "principal", ":ref:`ref_string`", "", "Identifies the entity (if any) responsible for terminating the execution"
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+ .. _ref_flyteidl.admin.Execution:
954
+
955
+ Execution
956
+ ------------------------------------------------------------------
957
+
958
+ A workflow execution represents an instantiated workflow, including all inputs and additional
959
+ metadata as well as computed results included state, outputs, and duration-based attributes.
960
+ Used as a response object used in Get and List execution requests.
961
+
962
+
963
+
964
+ .. csv-table:: Execution type fields
965
+ :header: "Field", "Type", "Label", "Description"
966
+ :widths: auto
967
+
968
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Unique identifier of the workflow execution."
969
+ "spec", ":ref:`ref_flyteidl.admin.ExecutionSpec`", "", "User-provided configuration and inputs for launching the execution."
970
+ "closure", ":ref:`ref_flyteidl.admin.ExecutionClosure`", "", "Execution results."
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+ .. _ref_flyteidl.admin.ExecutionClosure:
979
+
980
+ ExecutionClosure
981
+ ------------------------------------------------------------------
982
+
983
+ Encapsulates the results of the Execution
984
+
985
+
986
+
987
+ .. csv-table:: ExecutionClosure type fields
988
+ :header: "Field", "Type", "Label", "Description"
989
+ :widths: auto
990
+
991
+ "outputs", ":ref:`ref_flyteidl.admin.LiteralMapBlob`", "", "**Deprecated.** Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead."
992
+ "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information in the case of a failed execution."
993
+ "abort_cause", ":ref:`ref_string`", "", "**Deprecated.** In the case of a user-specified abort, this will pass along the user-supplied cause."
994
+ "abort_metadata", ":ref:`ref_flyteidl.admin.AbortMetadata`", "", "In the case of a user-specified abort, this will pass along the user and their supplied cause."
995
+ "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead."
996
+ "computed_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Inputs computed and passed for execution. computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan"
997
+ "phase", ":ref:`ref_flyteidl.core.WorkflowExecution.Phase`", "", "Most recent recorded phase for the execution."
998
+ "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution began running."
999
+ "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the execution spent running."
1000
+ "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution was created."
1001
+ "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Reported time at which the execution was last updated."
1002
+ "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan."
1003
+ "workflow_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Identifies the workflow definition for this execution."
1004
+ "state_change_details", ":ref:`ref_flyteidl.admin.ExecutionStateChangeDetails`", "", "Provides the details of the last stage change"
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+ .. _ref_flyteidl.admin.ExecutionCreateRequest:
1013
+
1014
+ ExecutionCreateRequest
1015
+ ------------------------------------------------------------------
1016
+
1017
+ Request to launch an execution with the given project, domain and optionally-assigned name.
1018
+
1019
+
1020
+
1021
+ .. csv-table:: ExecutionCreateRequest type fields
1022
+ :header: "Field", "Type", "Label", "Description"
1023
+ :widths: auto
1024
+
1025
+ "project", ":ref:`ref_string`", "", "Name of the project the execution belongs to. +required"
1026
+ "domain", ":ref:`ref_string`", "", "Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required"
1027
+ "name", ":ref:`ref_string`", "", "User provided value for the resource. If none is provided the system will generate a unique string. +optional"
1028
+ "spec", ":ref:`ref_flyteidl.admin.ExecutionSpec`", "", "Additional fields necessary to launch the execution. +optional"
1029
+ "inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional"
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+ .. _ref_flyteidl.admin.ExecutionCreateResponse:
1038
+
1039
+ ExecutionCreateResponse
1040
+ ------------------------------------------------------------------
1041
+
1042
+ The unique identifier for a successfully created execution.
1043
+ If the name was *not* specified in the create request, this identifier will include a generated name.
1044
+
1045
+
1046
+
1047
+ .. csv-table:: ExecutionCreateResponse type fields
1048
+ :header: "Field", "Type", "Label", "Description"
1049
+ :widths: auto
1050
+
1051
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", ""
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+ .. _ref_flyteidl.admin.ExecutionList:
1060
+
1061
+ ExecutionList
1062
+ ------------------------------------------------------------------
1063
+
1064
+ Used as a response for request to list executions.
1065
+ See :ref:`ref_flyteidl.admin.Execution` for more details
1066
+
1067
+
1068
+
1069
+ .. csv-table:: ExecutionList type fields
1070
+ :header: "Field", "Type", "Label", "Description"
1071
+ :widths: auto
1072
+
1073
+ "executions", ":ref:`ref_flyteidl.admin.Execution`", "repeated", ""
1074
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+ .. _ref_flyteidl.admin.ExecutionMetadata:
1083
+
1084
+ ExecutionMetadata
1085
+ ------------------------------------------------------------------
1086
+
1087
+ Represents attributes about an execution which are not required to launch the execution but are useful to record.
1088
+ These attributes are assigned at launch time and do not change.
1089
+
1090
+
1091
+
1092
+ .. csv-table:: ExecutionMetadata type fields
1093
+ :header: "Field", "Type", "Label", "Description"
1094
+ :widths: auto
1095
+
1096
+ "mode", ":ref:`ref_flyteidl.admin.ExecutionMetadata.ExecutionMode`", "", ""
1097
+ "principal", ":ref:`ref_string`", "", "Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context."
1098
+ "nesting", ":ref:`ref_uint32`", "", "Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1."
1099
+ "scheduled_at", ":ref:`ref_google.protobuf.Timestamp`", "", "For scheduled executions, the requested time for execution for this specific schedule invocation."
1100
+ "parent_node_execution", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Which subworkflow node (if any) launched this execution"
1101
+ "reference_execution", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution."
1102
+ "system_metadata", ":ref:`ref_flyteidl.admin.SystemMetadata`", "", "Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization."
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+ .. _ref_flyteidl.admin.ExecutionRecoverRequest:
1111
+
1112
+ ExecutionRecoverRequest
1113
+ ------------------------------------------------------------------
1114
+
1115
+ Request to recover the referenced execution.
1116
+
1117
+
1118
+
1119
+ .. csv-table:: ExecutionRecoverRequest type fields
1120
+ :header: "Field", "Type", "Label", "Description"
1121
+ :widths: auto
1122
+
1123
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the workflow execution to recover."
1124
+ "name", ":ref:`ref_string`", "", "User provided value for the recovered execution. If none is provided the system will generate a unique string. +optional"
1125
+ "metadata", ":ref:`ref_flyteidl.admin.ExecutionMetadata`", "", "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution."
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+ .. _ref_flyteidl.admin.ExecutionRelaunchRequest:
1134
+
1135
+ ExecutionRelaunchRequest
1136
+ ------------------------------------------------------------------
1137
+
1138
+ Request to relaunch the referenced execution.
1139
+
1140
+
1141
+
1142
+ .. csv-table:: ExecutionRelaunchRequest type fields
1143
+ :header: "Field", "Type", "Label", "Description"
1144
+ :widths: auto
1145
+
1146
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the workflow execution to relaunch. +required"
1147
+ "name", ":ref:`ref_string`", "", "User provided value for the relaunched execution. If none is provided the system will generate a unique string. +optional"
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+ .. _ref_flyteidl.admin.ExecutionSpec:
1156
+
1157
+ ExecutionSpec
1158
+ ------------------------------------------------------------------
1159
+
1160
+ An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime
1161
+ of an execution as it progresses across phase changes.
1162
+
1163
+
1164
+
1165
+ .. csv-table:: ExecutionSpec type fields
1166
+ :header: "Field", "Type", "Label", "Description"
1167
+ :widths: auto
1168
+
1169
+ "launch_plan", ":ref:`ref_flyteidl.core.Identifier`", "", "Launch plan to be executed"
1170
+ "inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Input values to be passed for the execution"
1171
+ "metadata", ":ref:`ref_flyteidl.admin.ExecutionMetadata`", "", "Metadata for the execution"
1172
+ "notifications", ":ref:`ref_flyteidl.admin.NotificationList`", "", "List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied."
1173
+ "disable_all", ":ref:`ref_bool`", "", "This should be set to true if all notifications are intended to be disabled for this execution."
1174
+ "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Labels to apply to the execution resource."
1175
+ "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Annotations to apply to the execution resource."
1176
+ "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Optional: security context override to apply this execution."
1177
+ "auth_role", ":ref:`ref_flyteidl.admin.AuthRole`", "", "**Deprecated.** Optional: auth override to apply this execution."
1178
+ "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of the execution."
1179
+ "max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this."
1180
+ "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). This should be a prefix like s3://my-bucket/my-data"
1181
+ "cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", "Controls how to select an available cluster on which this execution should run."
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+ .. _ref_flyteidl.admin.ExecutionStateChangeDetails:
1190
+
1191
+ ExecutionStateChangeDetails
1192
+ ------------------------------------------------------------------
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+ .. csv-table:: ExecutionStateChangeDetails type fields
1199
+ :header: "Field", "Type", "Label", "Description"
1200
+ :widths: auto
1201
+
1202
+ "state", ":ref:`ref_flyteidl.admin.ExecutionState`", "", "The state of the execution is used to control its visibility in the UI/CLI."
1203
+ "occurred_at", ":ref:`ref_google.protobuf.Timestamp`", "", "This timestamp represents when the state changed."
1204
+ "principal", ":ref:`ref_string`", "", "Identifies the entity (if any) responsible for causing the state change of the execution"
1205
+
1206
+
1207
+
1208
+
1209
+
1210
+
1211
+
1212
+ .. _ref_flyteidl.admin.ExecutionTerminateRequest:
1213
+
1214
+ ExecutionTerminateRequest
1215
+ ------------------------------------------------------------------
1216
+
1217
+ Request to terminate an in-progress execution. This action is irreversible.
1218
+ If an execution is already terminated, this request will simply be a no-op.
1219
+ This request will fail if it references a non-existent execution.
1220
+ If the request succeeds the phase "ABORTED" will be recorded for the termination
1221
+ with the optional cause added to the output_result.
1222
+
1223
+
1224
+
1225
+ .. csv-table:: ExecutionTerminateRequest type fields
1226
+ :header: "Field", "Type", "Label", "Description"
1227
+ :widths: auto
1228
+
1229
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Uniquely identifies the individual workflow execution to be terminated."
1230
+ "cause", ":ref:`ref_string`", "", "Optional reason for aborting."
1231
+
1232
+
1233
+
1234
+
1235
+
1236
+
1237
+
1238
+ .. _ref_flyteidl.admin.ExecutionTerminateResponse:
1239
+
1240
+ ExecutionTerminateResponse
1241
+ ------------------------------------------------------------------
1242
+
1243
+ Purposefully empty, may be populated in the future.
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+ .. _ref_flyteidl.admin.ExecutionUpdateRequest:
1253
+
1254
+ ExecutionUpdateRequest
1255
+ ------------------------------------------------------------------
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+ .. csv-table:: ExecutionUpdateRequest type fields
1262
+ :header: "Field", "Type", "Label", "Description"
1263
+ :widths: auto
1264
+
1265
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the execution to update"
1266
+ "state", ":ref:`ref_flyteidl.admin.ExecutionState`", "", "State to set as the new value active/archive"
1267
+
1268
+
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+ .. _ref_flyteidl.admin.ExecutionUpdateResponse:
1275
+
1276
+ ExecutionUpdateResponse
1277
+ ------------------------------------------------------------------
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+ .. _ref_flyteidl.admin.LiteralMapBlob:
1289
+
1290
+ LiteralMapBlob
1291
+ ------------------------------------------------------------------
1292
+
1293
+ Input/output data can represented by actual values or a link to where values are stored
1294
+
1295
+
1296
+
1297
+ .. csv-table:: LiteralMapBlob type fields
1298
+ :header: "Field", "Type", "Label", "Description"
1299
+ :widths: auto
1300
+
1301
+ "values", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Data in LiteralMap format"
1302
+ "uri", ":ref:`ref_string`", "", "In the event that the map is too large, we return a uri to the data"
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+ .. _ref_flyteidl.admin.NotificationList:
1311
+
1312
+ NotificationList
1313
+ ------------------------------------------------------------------
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+ .. csv-table:: NotificationList type fields
1320
+ :header: "Field", "Type", "Label", "Description"
1321
+ :widths: auto
1322
+
1323
+ "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", ""
1324
+
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+ .. _ref_flyteidl.admin.SystemMetadata:
1332
+
1333
+ SystemMetadata
1334
+ ------------------------------------------------------------------
1335
+
1336
+ Represents system, rather than user-facing, metadata about an execution.
1337
+
1338
+
1339
+
1340
+ .. csv-table:: SystemMetadata type fields
1341
+ :header: "Field", "Type", "Label", "Description"
1342
+ :widths: auto
1343
+
1344
+ "execution_cluster", ":ref:`ref_string`", "", "Which execution cluster this execution ran on."
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+ .. _ref_flyteidl.admin.WorkflowExecutionGetDataRequest:
1353
+
1354
+ WorkflowExecutionGetDataRequest
1355
+ ------------------------------------------------------------------
1356
+
1357
+ Request structure to fetch inputs, output and other data produced by an execution.
1358
+ By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`
1359
+
1360
+
1361
+
1362
+ .. csv-table:: WorkflowExecutionGetDataRequest type fields
1363
+ :header: "Field", "Type", "Label", "Description"
1364
+ :widths: auto
1365
+
1366
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "The identifier of the execution for which to fetch inputs and outputs."
1367
+
1368
+
1369
+
1370
+
1371
+
1372
+
1373
+
1374
+ .. _ref_flyteidl.admin.WorkflowExecutionGetDataResponse:
1375
+
1376
+ WorkflowExecutionGetDataResponse
1377
+ ------------------------------------------------------------------
1378
+
1379
+ Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution.
1380
+
1381
+
1382
+
1383
+ .. csv-table:: WorkflowExecutionGetDataResponse type fields
1384
+ :header: "Field", "Type", "Label", "Description"
1385
+ :widths: auto
1386
+
1387
+ "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead."
1388
+ "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead."
1389
+ "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold."
1390
+ "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold."
1391
+
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+
1398
+ .. _ref_flyteidl.admin.WorkflowExecutionGetRequest:
1399
+
1400
+ WorkflowExecutionGetRequest
1401
+ ------------------------------------------------------------------
1402
+
1403
+ A message used to fetch a single workflow execution entity.
1404
+ See :ref:`ref_flyteidl.admin.Execution` for more details
1405
+
1406
+
1407
+
1408
+ .. csv-table:: WorkflowExecutionGetRequest type fields
1409
+ :header: "Field", "Type", "Label", "Description"
1410
+ :widths: auto
1411
+
1412
+ "id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Uniquely identifies an individual workflow execution."
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+ <!-- end messages -->
1419
+
1420
+
1421
+
1422
+ .. _ref_flyteidl.admin.ExecutionMetadata.ExecutionMode:
1423
+
1424
+ ExecutionMetadata.ExecutionMode
1425
+ ------------------------------------------------------------------
1426
+
1427
+ The method by which this execution was launched.
1428
+
1429
+ .. csv-table:: Enum ExecutionMetadata.ExecutionMode values
1430
+ :header: "Name", "Number", "Description"
1431
+ :widths: auto
1432
+
1433
+ "MANUAL", "0", "The default execution mode, MANUAL implies that an execution was launched by an individual."
1434
+ "SCHEDULED", "1", "A schedule triggered this execution launch."
1435
+ "SYSTEM", "2", "A system process was responsible for launching this execution rather an individual."
1436
+ "RELAUNCH", "3", "This execution was launched with identical inputs as a previous execution."
1437
+ "CHILD_WORKFLOW", "4", "This execution was triggered by another execution."
1438
+ "RECOVERED", "5", "This execution was recovered from another execution."
1439
+
1440
+
1441
+
1442
+ .. _ref_flyteidl.admin.ExecutionState:
1443
+
1444
+ ExecutionState
1445
+ ------------------------------------------------------------------
1446
+
1447
+ The state of the execution is used to control its visibility in the UI/CLI.
1448
+
1449
+ .. csv-table:: Enum ExecutionState values
1450
+ :header: "Name", "Number", "Description"
1451
+ :widths: auto
1452
+
1453
+ "EXECUTION_ACTIVE", "0", "By default, all executions are considered active."
1454
+ "EXECUTION_ARCHIVED", "1", "Archived executions are no longer visible in the UI."
1455
+
1456
+ <!-- end enums -->
1457
+
1458
+ <!-- end HasExtensions -->
1459
+
1460
+ <!-- end services -->
1461
+
1462
+
1463
+
1464
+
1465
+ .. _ref_flyteidl/admin/launch_plan.proto:
1466
+
1467
+ flyteidl/admin/launch_plan.proto
1468
+ ==================================================================
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+ .. _ref_flyteidl.admin.ActiveLaunchPlanListRequest:
1475
+
1476
+ ActiveLaunchPlanListRequest
1477
+ ------------------------------------------------------------------
1478
+
1479
+ Represents a request structure to list active launch plans within a project/domain.
1480
+ See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
1481
+
1482
+
1483
+
1484
+ .. csv-table:: ActiveLaunchPlanListRequest type fields
1485
+ :header: "Field", "Type", "Label", "Description"
1486
+ :widths: auto
1487
+
1488
+ "project", ":ref:`ref_string`", "", "Name of the project that contains the identifiers. +required."
1489
+ "domain", ":ref:`ref_string`", "", "Name of the domain the identifiers belongs to within the project. +required."
1490
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required."
1491
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional"
1492
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional"
1493
+
1494
+
1495
+
1496
+
1497
+
1498
+
1499
+
1500
+ .. _ref_flyteidl.admin.ActiveLaunchPlanRequest:
1501
+
1502
+ ActiveLaunchPlanRequest
1503
+ ------------------------------------------------------------------
1504
+
1505
+ Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier
1506
+ See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
1507
+
1508
+
1509
+
1510
+ .. csv-table:: ActiveLaunchPlanRequest type fields
1511
+ :header: "Field", "Type", "Label", "Description"
1512
+ :widths: auto
1513
+
1514
+ "id", ":ref:`ref_flyteidl.admin.NamedEntityIdentifier`", "", "+required."
1515
+
1516
+
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+ .. _ref_flyteidl.admin.Auth:
1523
+
1524
+ Auth
1525
+ ------------------------------------------------------------------
1526
+
1527
+ Defines permissions associated with executions created by this launch plan spec.
1528
+ Use either of these roles when they have permissions required by your workflow execution.
1529
+ Deprecated.
1530
+
1531
+
1532
+
1533
+ .. csv-table:: Auth type fields
1534
+ :header: "Field", "Type", "Label", "Description"
1535
+ :widths: auto
1536
+
1537
+ "assumable_iam_role", ":ref:`ref_string`", "", "Defines an optional iam role which will be used for tasks run in executions created with this launch plan."
1538
+ "kubernetes_service_account", ":ref:`ref_string`", "", "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan."
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+ .. _ref_flyteidl.admin.LaunchPlan:
1547
+
1548
+ LaunchPlan
1549
+ ------------------------------------------------------------------
1550
+
1551
+ A LaunchPlan provides the capability to templatize workflow executions.
1552
+ Launch plans simplify associating one or more schedules, inputs and notifications with your workflows.
1553
+ Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow
1554
+ definition doesn't necessarily have a default value for said input.
1555
+
1556
+
1557
+
1558
+ .. csv-table:: LaunchPlan type fields
1559
+ :header: "Field", "Type", "Label", "Description"
1560
+ :widths: auto
1561
+
1562
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Uniquely identifies a launch plan entity."
1563
+ "spec", ":ref:`ref_flyteidl.admin.LaunchPlanSpec`", "", "User-provided launch plan details, including reference workflow, inputs and other metadata."
1564
+ "closure", ":ref:`ref_flyteidl.admin.LaunchPlanClosure`", "", "Values computed by the flyte platform after launch plan registration."
1565
+
1566
+
1567
+
1568
+
1569
+
1570
+
1571
+
1572
+ .. _ref_flyteidl.admin.LaunchPlanClosure:
1573
+
1574
+ LaunchPlanClosure
1575
+ ------------------------------------------------------------------
1576
+
1577
+ Values computed by the flyte platform after launch plan registration.
1578
+ These include expected_inputs required to be present in a CreateExecutionRequest
1579
+ to launch the reference workflow as well timestamp values associated with the launch plan.
1580
+
1581
+
1582
+
1583
+ .. csv-table:: LaunchPlanClosure type fields
1584
+ :header: "Field", "Type", "Label", "Description"
1585
+ :widths: auto
1586
+
1587
+ "state", ":ref:`ref_flyteidl.admin.LaunchPlanState`", "", "Indicate the Launch plan state."
1588
+ "expected_inputs", ":ref:`ref_flyteidl.core.ParameterMap`", "", "Indicates the set of inputs expected when creating an execution with the Launch plan"
1589
+ "expected_outputs", ":ref:`ref_flyteidl.core.VariableMap`", "", "Indicates the set of outputs expected to be produced by creating an execution with the Launch plan"
1590
+ "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the launch plan was created."
1591
+ "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the launch plan was last updated."
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+
1599
+ .. _ref_flyteidl.admin.LaunchPlanCreateRequest:
1600
+
1601
+ LaunchPlanCreateRequest
1602
+ ------------------------------------------------------------------
1603
+
1604
+ Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required
1605
+ to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to
1606
+ set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan.
1607
+
1608
+
1609
+
1610
+ .. csv-table:: LaunchPlanCreateRequest type fields
1611
+ :header: "Field", "Type", "Label", "Description"
1612
+ :widths: auto
1613
+
1614
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Uniquely identifies a launch plan entity."
1615
+ "spec", ":ref:`ref_flyteidl.admin.LaunchPlanSpec`", "", "User-provided launch plan details, including reference workflow, inputs and other metadata."
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+ .. _ref_flyteidl.admin.LaunchPlanCreateResponse:
1624
+
1625
+ LaunchPlanCreateResponse
1626
+ ------------------------------------------------------------------
1627
+
1628
+ Purposefully empty, may be populated in the future.
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+ .. _ref_flyteidl.admin.LaunchPlanList:
1638
+
1639
+ LaunchPlanList
1640
+ ------------------------------------------------------------------
1641
+
1642
+ Response object for list launch plan requests.
1643
+ See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
1644
+
1645
+
1646
+
1647
+ .. csv-table:: LaunchPlanList type fields
1648
+ :header: "Field", "Type", "Label", "Description"
1649
+ :widths: auto
1650
+
1651
+ "launch_plans", ":ref:`ref_flyteidl.admin.LaunchPlan`", "repeated", ""
1652
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
1653
+
1654
+
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+ .. _ref_flyteidl.admin.LaunchPlanMetadata:
1661
+
1662
+ LaunchPlanMetadata
1663
+ ------------------------------------------------------------------
1664
+
1665
+ Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch
1666
+ the reference workflow.
1667
+
1668
+
1669
+
1670
+ .. csv-table:: LaunchPlanMetadata type fields
1671
+ :header: "Field", "Type", "Label", "Description"
1672
+ :widths: auto
1673
+
1674
+ "schedule", ":ref:`ref_flyteidl.admin.Schedule`", "", "Schedule to execute the Launch Plan"
1675
+ "notifications", ":ref:`ref_flyteidl.admin.Notification`", "repeated", "List of notifications based on Execution status transitions"
1676
+
1677
+
1678
+
1679
+
1680
+
1681
+
1682
+
1683
+ .. _ref_flyteidl.admin.LaunchPlanSpec:
1684
+
1685
+ LaunchPlanSpec
1686
+ ------------------------------------------------------------------
1687
+
1688
+ User-provided launch plan definition and configuration values.
1689
+
1690
+
1691
+
1692
+ .. csv-table:: LaunchPlanSpec type fields
1693
+ :header: "Field", "Type", "Label", "Description"
1694
+ :widths: auto
1695
+
1696
+ "workflow_id", ":ref:`ref_flyteidl.core.Identifier`", "", "Reference to the Workflow template that the launch plan references"
1697
+ "entity_metadata", ":ref:`ref_flyteidl.admin.LaunchPlanMetadata`", "", "Metadata for the Launch Plan"
1698
+ "default_inputs", ":ref:`ref_flyteidl.core.ParameterMap`", "", "Input values to be passed for the execution. These can be overriden when an execution is created with this launch plan."
1699
+ "fixed_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Fixed, non-overridable inputs for the Launch Plan. These can not be overriden when an execution is created with this launch plan."
1700
+ "role", ":ref:`ref_string`", "", "**Deprecated.** String to indicate the role to use to execute the workflow underneath"
1701
+ "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to the execution resource."
1702
+ "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to the execution resource."
1703
+ "auth", ":ref:`ref_flyteidl.admin.Auth`", "", "**Deprecated.** Indicates the permission associated with workflow executions triggered with this launch plan."
1704
+ "auth_role", ":ref:`ref_flyteidl.admin.AuthRole`", "", "**Deprecated.** "
1705
+ "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Indicates security context for permissions triggered with this launch plan"
1706
+ "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of the execution."
1707
+ "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)."
1708
+ "max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this."
1709
+
1710
+
1711
+
1712
+
1713
+
1714
+
1715
+
1716
+ .. _ref_flyteidl.admin.LaunchPlanUpdateRequest:
1717
+
1718
+ LaunchPlanUpdateRequest
1719
+ ------------------------------------------------------------------
1720
+
1721
+ Request to set the referenced launch plan state to the configured value.
1722
+ See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
1723
+
1724
+
1725
+
1726
+ .. csv-table:: LaunchPlanUpdateRequest type fields
1727
+ :header: "Field", "Type", "Label", "Description"
1728
+ :widths: auto
1729
+
1730
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "Identifier of launch plan for which to change state. +required."
1731
+ "state", ":ref:`ref_flyteidl.admin.LaunchPlanState`", "", "Desired state to apply to the launch plan. +required."
1732
+
1733
+
1734
+
1735
+
1736
+
1737
+
1738
+
1739
+ .. _ref_flyteidl.admin.LaunchPlanUpdateResponse:
1740
+
1741
+ LaunchPlanUpdateResponse
1742
+ ------------------------------------------------------------------
1743
+
1744
+ Purposefully empty, may be populated in the future.
1745
+
1746
+
1747
+
1748
+
1749
+
1750
+
1751
+ <!-- end messages -->
1752
+
1753
+
1754
+
1755
+ .. _ref_flyteidl.admin.LaunchPlanState:
1756
+
1757
+ LaunchPlanState
1758
+ ------------------------------------------------------------------
1759
+
1760
+ By default any launch plan regardless of state can be used to launch a workflow execution.
1761
+ However, at most one version of a launch plan
1762
+ (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be
1763
+ active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier
1764
+ group will be observed and trigger executions at a defined cadence.
1765
+
1766
+ .. csv-table:: Enum LaunchPlanState values
1767
+ :header: "Name", "Number", "Description"
1768
+ :widths: auto
1769
+
1770
+ "INACTIVE", "0", ""
1771
+ "ACTIVE", "1", ""
1772
+
1773
+ <!-- end enums -->
1774
+
1775
+ <!-- end HasExtensions -->
1776
+
1777
+ <!-- end services -->
1778
+
1779
+
1780
+
1781
+
1782
+ .. _ref_flyteidl/admin/matchable_resource.proto:
1783
+
1784
+ flyteidl/admin/matchable_resource.proto
1785
+ ==================================================================
1786
+
1787
+
1788
+
1789
+
1790
+
1791
+ .. _ref_flyteidl.admin.ClusterResourceAttributes:
1792
+
1793
+ ClusterResourceAttributes
1794
+ ------------------------------------------------------------------
1795
+
1796
+
1797
+
1798
+
1799
+
1800
+ .. csv-table:: ClusterResourceAttributes type fields
1801
+ :header: "Field", "Type", "Label", "Description"
1802
+ :widths: auto
1803
+
1804
+ "attributes", ":ref:`ref_flyteidl.admin.ClusterResourceAttributes.AttributesEntry`", "repeated", "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation."
1805
+
1806
+
1807
+
1808
+
1809
+
1810
+
1811
+
1812
+ .. _ref_flyteidl.admin.ClusterResourceAttributes.AttributesEntry:
1813
+
1814
+ ClusterResourceAttributes.AttributesEntry
1815
+ ------------------------------------------------------------------
1816
+
1817
+
1818
+
1819
+
1820
+
1821
+ .. csv-table:: ClusterResourceAttributes.AttributesEntry type fields
1822
+ :header: "Field", "Type", "Label", "Description"
1823
+ :widths: auto
1824
+
1825
+ "key", ":ref:`ref_string`", "", ""
1826
+ "value", ":ref:`ref_string`", "", ""
1827
+
1828
+
1829
+
1830
+
1831
+
1832
+
1833
+
1834
+ .. _ref_flyteidl.admin.ExecutionClusterLabel:
1835
+
1836
+ ExecutionClusterLabel
1837
+ ------------------------------------------------------------------
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+ .. csv-table:: ExecutionClusterLabel type fields
1844
+ :header: "Field", "Type", "Label", "Description"
1845
+ :widths: auto
1846
+
1847
+ "value", ":ref:`ref_string`", "", "Label value to determine where the execution will be run"
1848
+
1849
+
1850
+
1851
+
1852
+
1853
+
1854
+
1855
+ .. _ref_flyteidl.admin.ExecutionQueueAttributes:
1856
+
1857
+ ExecutionQueueAttributes
1858
+ ------------------------------------------------------------------
1859
+
1860
+
1861
+
1862
+
1863
+
1864
+ .. csv-table:: ExecutionQueueAttributes type fields
1865
+ :header: "Field", "Type", "Label", "Description"
1866
+ :widths: auto
1867
+
1868
+ "tags", ":ref:`ref_string`", "repeated", "Tags used for assigning execution queues for tasks defined within this project."
1869
+
1870
+
1871
+
1872
+
1873
+
1874
+
1875
+
1876
+ .. _ref_flyteidl.admin.ListMatchableAttributesRequest:
1877
+
1878
+ ListMatchableAttributesRequest
1879
+ ------------------------------------------------------------------
1880
+
1881
+ Request all matching resource attributes for a resource type.
1882
+ See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details
1883
+
1884
+
1885
+
1886
+ .. csv-table:: ListMatchableAttributesRequest type fields
1887
+ :header: "Field", "Type", "Label", "Description"
1888
+ :widths: auto
1889
+
1890
+ "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "+required"
1891
+
1892
+
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+ .. _ref_flyteidl.admin.ListMatchableAttributesResponse:
1899
+
1900
+ ListMatchableAttributesResponse
1901
+ ------------------------------------------------------------------
1902
+
1903
+ Response for a request for all matching resource attributes for a resource type.
1904
+ See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details
1905
+
1906
+
1907
+
1908
+ .. csv-table:: ListMatchableAttributesResponse type fields
1909
+ :header: "Field", "Type", "Label", "Description"
1910
+ :widths: auto
1911
+
1912
+ "configurations", ":ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`", "repeated", ""
1913
+
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+ .. _ref_flyteidl.admin.MatchableAttributesConfiguration:
1921
+
1922
+ MatchableAttributesConfiguration
1923
+ ------------------------------------------------------------------
1924
+
1925
+ Represents a custom set of attributes applied for either a domain; a domain and project; or
1926
+ domain, project and workflow name.
1927
+ These are used to override system level defaults for kubernetes cluster resource management,
1928
+ default execution values, and more all across different levels of specificity.
1929
+
1930
+
1931
+
1932
+ .. csv-table:: MatchableAttributesConfiguration type fields
1933
+ :header: "Field", "Type", "Label", "Description"
1934
+ :widths: auto
1935
+
1936
+ "attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", ""
1937
+ "domain", ":ref:`ref_string`", "", ""
1938
+ "project", ":ref:`ref_string`", "", ""
1939
+ "workflow", ":ref:`ref_string`", "", ""
1940
+ "launch_plan", ":ref:`ref_string`", "", ""
1941
+
1942
+
1943
+
1944
+
1945
+
1946
+
1947
+
1948
+ .. _ref_flyteidl.admin.MatchingAttributes:
1949
+
1950
+ MatchingAttributes
1951
+ ------------------------------------------------------------------
1952
+
1953
+ Generic container for encapsulating all types of the above attributes messages.
1954
+
1955
+
1956
+
1957
+ .. csv-table:: MatchingAttributes type fields
1958
+ :header: "Field", "Type", "Label", "Description"
1959
+ :widths: auto
1960
+
1961
+ "task_resource_attributes", ":ref:`ref_flyteidl.admin.TaskResourceAttributes`", "", ""
1962
+ "cluster_resource_attributes", ":ref:`ref_flyteidl.admin.ClusterResourceAttributes`", "", ""
1963
+ "execution_queue_attributes", ":ref:`ref_flyteidl.admin.ExecutionQueueAttributes`", "", ""
1964
+ "execution_cluster_label", ":ref:`ref_flyteidl.admin.ExecutionClusterLabel`", "", ""
1965
+ "quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", ""
1966
+ "plugin_overrides", ":ref:`ref_flyteidl.admin.PluginOverrides`", "", ""
1967
+ "workflow_execution_config", ":ref:`ref_flyteidl.admin.WorkflowExecutionConfig`", "", ""
1968
+ "cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", ""
1969
+
1970
+
1971
+
1972
+
1973
+
1974
+
1975
+
1976
+ .. _ref_flyteidl.admin.PluginOverride:
1977
+
1978
+ PluginOverride
1979
+ ------------------------------------------------------------------
1980
+
1981
+ This MatchableAttribute configures selecting alternate plugin implementations for a given task type.
1982
+ In addition to an override implementation a selection of fallbacks can be provided or other modes
1983
+ for handling cases where the desired plugin override is not enabled in a given Flyte deployment.
1984
+
1985
+
1986
+
1987
+ .. csv-table:: PluginOverride type fields
1988
+ :header: "Field", "Type", "Label", "Description"
1989
+ :widths: auto
1990
+
1991
+ "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier."
1992
+ "plugin_id", ":ref:`ref_string`", "repeated", "A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id."
1993
+ "missing_plugin_behavior", ":ref:`ref_flyteidl.admin.PluginOverride.MissingPluginBehavior`", "", "Defines the behavior when no plugin from the plugin_id list is not found."
1994
+
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+
2001
+ .. _ref_flyteidl.admin.PluginOverrides:
2002
+
2003
+ PluginOverrides
2004
+ ------------------------------------------------------------------
2005
+
2006
+
2007
+
2008
+
2009
+
2010
+ .. csv-table:: PluginOverrides type fields
2011
+ :header: "Field", "Type", "Label", "Description"
2012
+ :widths: auto
2013
+
2014
+ "overrides", ":ref:`ref_flyteidl.admin.PluginOverride`", "repeated", ""
2015
+
2016
+
2017
+
2018
+
2019
+
2020
+
2021
+
2022
+ .. _ref_flyteidl.admin.TaskResourceAttributes:
2023
+
2024
+ TaskResourceAttributes
2025
+ ------------------------------------------------------------------
2026
+
2027
+ Defines task resource defaults and limits that will be applied at task registration.
2028
+
2029
+
2030
+
2031
+ .. csv-table:: TaskResourceAttributes type fields
2032
+ :header: "Field", "Type", "Label", "Description"
2033
+ :widths: auto
2034
+
2035
+ "defaults", ":ref:`ref_flyteidl.admin.TaskResourceSpec`", "", ""
2036
+ "limits", ":ref:`ref_flyteidl.admin.TaskResourceSpec`", "", ""
2037
+
2038
+
2039
+
2040
+
2041
+
2042
+
2043
+
2044
+ .. _ref_flyteidl.admin.TaskResourceSpec:
2045
+
2046
+ TaskResourceSpec
2047
+ ------------------------------------------------------------------
2048
+
2049
+ Defines a set of overridable task resource attributes set during task registration.
2050
+
2051
+
2052
+
2053
+ .. csv-table:: TaskResourceSpec type fields
2054
+ :header: "Field", "Type", "Label", "Description"
2055
+ :widths: auto
2056
+
2057
+ "cpu", ":ref:`ref_string`", "", ""
2058
+ "gpu", ":ref:`ref_string`", "", ""
2059
+ "memory", ":ref:`ref_string`", "", ""
2060
+ "storage", ":ref:`ref_string`", "", ""
2061
+ "ephemeral_storage", ":ref:`ref_string`", "", ""
2062
+
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+ .. _ref_flyteidl.admin.WorkflowExecutionConfig:
2070
+
2071
+ WorkflowExecutionConfig
2072
+ ------------------------------------------------------------------
2073
+
2074
+ Adds defaults for customizable workflow-execution specifications and overrides.
2075
+
2076
+
2077
+
2078
+ .. csv-table:: WorkflowExecutionConfig type fields
2079
+ :header: "Field", "Type", "Label", "Description"
2080
+ :widths: auto
2081
+
2082
+ "max_parallelism", ":ref:`ref_int32`", "", "Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness."
2083
+ "security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Indicates security context permissions for executions triggered with this matchable attribute."
2084
+ "raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)."
2085
+ "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to a triggered execution resource."
2086
+ "annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to a triggered execution resource."
2087
+
2088
+
2089
+
2090
+
2091
+
2092
+ <!-- end messages -->
2093
+
2094
+
2095
+
2096
+ .. _ref_flyteidl.admin.MatchableResource:
2097
+
2098
+ MatchableResource
2099
+ ------------------------------------------------------------------
2100
+
2101
+ Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes
2102
+ based on matching tags.
2103
+
2104
+ .. csv-table:: Enum MatchableResource values
2105
+ :header: "Name", "Number", "Description"
2106
+ :widths: auto
2107
+
2108
+ "TASK_RESOURCE", "0", "Applies to customizable task resource requests and limits."
2109
+ "CLUSTER_RESOURCE", "1", "Applies to configuring templated kubernetes cluster resources."
2110
+ "EXECUTION_QUEUE", "2", "Configures task and dynamic task execution queue assignment."
2111
+ "EXECUTION_CLUSTER_LABEL", "3", "Configures the K8s cluster label to be used for execution to be run"
2112
+ "QUALITY_OF_SERVICE_SPECIFICATION", "4", "Configures default quality of service when undefined in an execution spec."
2113
+ "PLUGIN_OVERRIDE", "5", "Selects configurable plugin implementation behavior for a given task type."
2114
+ "WORKFLOW_EXECUTION_CONFIG", "6", "Adds defaults for customizable workflow-execution specifications and overrides."
2115
+ "CLUSTER_ASSIGNMENT", "7", "Controls how to select an available cluster on which this execution should run."
2116
+
2117
+
2118
+
2119
+ .. _ref_flyteidl.admin.PluginOverride.MissingPluginBehavior:
2120
+
2121
+ PluginOverride.MissingPluginBehavior
2122
+ ------------------------------------------------------------------
2123
+
2124
+
2125
+
2126
+ .. csv-table:: Enum PluginOverride.MissingPluginBehavior values
2127
+ :header: "Name", "Number", "Description"
2128
+ :widths: auto
2129
+
2130
+ "FAIL", "0", "By default, if this plugin is not enabled for a Flyte deployment then execution will fail."
2131
+ "USE_DEFAULT", "1", "Uses the system-configured default implementation."
2132
+
2133
+ <!-- end enums -->
2134
+
2135
+ <!-- end HasExtensions -->
2136
+
2137
+ <!-- end services -->
2138
+
2139
+
2140
+
2141
+
2142
+ .. _ref_flyteidl/admin/node_execution.proto:
2143
+
2144
+ flyteidl/admin/node_execution.proto
2145
+ ==================================================================
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+ .. _ref_flyteidl.admin.DynamicWorkflowNodeMetadata:
2152
+
2153
+ DynamicWorkflowNodeMetadata
2154
+ ------------------------------------------------------------------
2155
+
2156
+ For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated.
2157
+
2158
+
2159
+
2160
+ .. csv-table:: DynamicWorkflowNodeMetadata type fields
2161
+ :header: "Field", "Type", "Label", "Description"
2162
+ :widths: auto
2163
+
2164
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow."
2165
+ "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the embedded dynamic workflow."
2166
+
2167
+
2168
+
2169
+
2170
+
2171
+
2172
+
2173
+ .. _ref_flyteidl.admin.NodeExecution:
2174
+
2175
+ NodeExecution
2176
+ ------------------------------------------------------------------
2177
+
2178
+ Encapsulates all details for a single node execution entity.
2179
+ A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested
2180
+ sub-workflow, or even a separate child-workflow execution.
2181
+ The same task can be called repeatedly in a single workflow but each node is unique.
2182
+
2183
+
2184
+
2185
+ .. csv-table:: NodeExecution type fields
2186
+ :header: "Field", "Type", "Label", "Description"
2187
+ :widths: auto
2188
+
2189
+ "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Uniquely identifies an individual node execution."
2190
+ "input_uri", ":ref:`ref_string`", "", "Path to remote data store where input blob is stored."
2191
+ "closure", ":ref:`ref_flyteidl.admin.NodeExecutionClosure`", "", "Computed results associated with this node execution."
2192
+ "metadata", ":ref:`ref_flyteidl.admin.NodeExecutionMetaData`", "", "Metadata for Node Execution"
2193
+
2194
+
2195
+
2196
+
2197
+
2198
+
2199
+
2200
+ .. _ref_flyteidl.admin.NodeExecutionClosure:
2201
+
2202
+ NodeExecutionClosure
2203
+ ------------------------------------------------------------------
2204
+
2205
+ Container for node execution details and results.
2206
+
2207
+
2208
+
2209
+ .. csv-table:: NodeExecutionClosure type fields
2210
+ :header: "Field", "Type", "Label", "Description"
2211
+ :widths: auto
2212
+
2213
+ "output_uri", ":ref:`ref_string`", "", "**Deprecated.** Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead."
2214
+ "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the Node"
2215
+ "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead."
2216
+ "phase", ":ref:`ref_flyteidl.core.NodeExecution.Phase`", "", "The last recorded phase for this node execution."
2217
+ "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution began running."
2218
+ "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the node execution spent running."
2219
+ "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution was created."
2220
+ "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the node execution was last updated."
2221
+ "workflow_node_metadata", ":ref:`ref_flyteidl.admin.WorkflowNodeMetadata`", "", ""
2222
+ "task_node_metadata", ":ref:`ref_flyteidl.admin.TaskNodeMetadata`", "", ""
2223
+
2224
+
2225
+
2226
+
2227
+
2228
+
2229
+
2230
+ .. _ref_flyteidl.admin.NodeExecutionForTaskListRequest:
2231
+
2232
+ NodeExecutionForTaskListRequest
2233
+ ------------------------------------------------------------------
2234
+
2235
+ Represents a request structure to retrieve a list of node execution entities launched by a specific task.
2236
+ This can arise when a task yields a subworkflow.
2237
+
2238
+
2239
+
2240
+ .. csv-table:: NodeExecutionForTaskListRequest type fields
2241
+ :header: "Field", "Type", "Label", "Description"
2242
+ :widths: auto
2243
+
2244
+ "task_execution_id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Indicates the node execution to filter by. +required"
2245
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required"
2246
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional"
2247
+ "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional"
2248
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional"
2249
+
2250
+
2251
+
2252
+
2253
+
2254
+
2255
+
2256
+ .. _ref_flyteidl.admin.NodeExecutionGetDataRequest:
2257
+
2258
+ NodeExecutionGetDataRequest
2259
+ ------------------------------------------------------------------
2260
+
2261
+ Request structure to fetch inputs and output for a node execution.
2262
+ By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest`
2263
+
2264
+
2265
+
2266
+ .. csv-table:: NodeExecutionGetDataRequest type fields
2267
+ :header: "Field", "Type", "Label", "Description"
2268
+ :widths: auto
2269
+
2270
+ "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "The identifier of the node execution for which to fetch inputs and outputs."
2271
+
2272
+
2273
+
2274
+
2275
+
2276
+
2277
+
2278
+ .. _ref_flyteidl.admin.NodeExecutionGetDataResponse:
2279
+
2280
+ NodeExecutionGetDataResponse
2281
+ ------------------------------------------------------------------
2282
+
2283
+ Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution.
2284
+
2285
+
2286
+
2287
+ .. csv-table:: NodeExecutionGetDataResponse type fields
2288
+ :header: "Field", "Type", "Label", "Description"
2289
+ :widths: auto
2290
+
2291
+ "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead."
2292
+ "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead."
2293
+ "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold."
2294
+ "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold."
2295
+ "dynamic_workflow", ":ref:`ref_flyteidl.admin.DynamicWorkflowNodeMetadata`", "", "Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here."
2296
+
2297
+
2298
+
2299
+
2300
+
2301
+
2302
+
2303
+ .. _ref_flyteidl.admin.NodeExecutionGetRequest:
2304
+
2305
+ NodeExecutionGetRequest
2306
+ ------------------------------------------------------------------
2307
+
2308
+ A message used to fetch a single node execution entity.
2309
+ See :ref:`ref_flyteidl.admin.NodeExecution` for more details
2310
+
2311
+
2312
+
2313
+ .. csv-table:: NodeExecutionGetRequest type fields
2314
+ :header: "Field", "Type", "Label", "Description"
2315
+ :widths: auto
2316
+
2317
+ "id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Uniquely identifies an individual node execution. +required"
2318
+
2319
+
2320
+
2321
+
2322
+
2323
+
2324
+
2325
+ .. _ref_flyteidl.admin.NodeExecutionList:
2326
+
2327
+ NodeExecutionList
2328
+ ------------------------------------------------------------------
2329
+
2330
+ Request structure to retrieve a list of node execution entities.
2331
+ See :ref:`ref_flyteidl.admin.NodeExecution` for more details
2332
+
2333
+
2334
+
2335
+ .. csv-table:: NodeExecutionList type fields
2336
+ :header: "Field", "Type", "Label", "Description"
2337
+ :widths: auto
2338
+
2339
+ "node_executions", ":ref:`ref_flyteidl.admin.NodeExecution`", "repeated", ""
2340
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
2341
+
2342
+
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+ .. _ref_flyteidl.admin.NodeExecutionListRequest:
2349
+
2350
+ NodeExecutionListRequest
2351
+ ------------------------------------------------------------------
2352
+
2353
+ Represents a request structure to retrieve a list of node execution entities.
2354
+ See :ref:`ref_flyteidl.admin.NodeExecution` for more details
2355
+
2356
+
2357
+
2358
+ .. csv-table:: NodeExecutionListRequest type fields
2359
+ :header: "Field", "Type", "Label", "Description"
2360
+ :widths: auto
2361
+
2362
+ "workflow_execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Indicates the workflow execution to filter by. +required"
2363
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required"
2364
+ "token", ":ref:`ref_string`", "", ""
2365
+ "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional"
2366
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional"
2367
+ "unique_parent_id", ":ref:`ref_string`", "", "Unique identifier of the parent node in the execution +optional"
2368
+
2369
+
2370
+
2371
+
2372
+
2373
+
2374
+
2375
+ .. _ref_flyteidl.admin.NodeExecutionMetaData:
2376
+
2377
+ NodeExecutionMetaData
2378
+ ------------------------------------------------------------------
2379
+
2380
+ Represents additional attributes related to a Node Execution
2381
+
2382
+
2383
+
2384
+ .. csv-table:: NodeExecutionMetaData type fields
2385
+ :header: "Field", "Type", "Label", "Description"
2386
+ :widths: auto
2387
+
2388
+ "retry_group", ":ref:`ref_string`", "", "Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node."
2389
+ "is_parent_node", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes."
2390
+ "spec_node_id", ":ref:`ref_string`", "", "Node id of the node in the original workflow This maps to value of WorkflowTemplate.nodes[X].id"
2391
+ "is_dynamic", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true."
2392
+
2393
+
2394
+
2395
+
2396
+
2397
+
2398
+
2399
+ .. _ref_flyteidl.admin.TaskNodeMetadata:
2400
+
2401
+ TaskNodeMetadata
2402
+ ------------------------------------------------------------------
2403
+
2404
+ Metadata for the case in which the node is a TaskNode
2405
+
2406
+
2407
+
2408
+ .. csv-table:: TaskNodeMetadata type fields
2409
+ :header: "Field", "Type", "Label", "Description"
2410
+ :widths: auto
2411
+
2412
+ "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this execution."
2413
+ "catalog_key", ":ref:`ref_flyteidl.core.CatalogMetadata`", "", "This structure carries the catalog artifact information"
2414
+
2415
+
2416
+
2417
+
2418
+
2419
+
2420
+
2421
+ .. _ref_flyteidl.admin.WorkflowNodeMetadata:
2422
+
2423
+ WorkflowNodeMetadata
2424
+ ------------------------------------------------------------------
2425
+
2426
+ Metadata for a WorkflowNode
2427
+
2428
+
2429
+
2430
+ .. csv-table:: WorkflowNodeMetadata type fields
2431
+ :header: "Field", "Type", "Label", "Description"
2432
+ :widths: auto
2433
+
2434
+ "executionId", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "The identifier for a workflow execution launched by a node."
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+ <!-- end messages -->
2441
+
2442
+ <!-- end enums -->
2443
+
2444
+ <!-- end HasExtensions -->
2445
+
2446
+ <!-- end services -->
2447
+
2448
+
2449
+
2450
+
2451
+ .. _ref_flyteidl/admin/notification.proto:
2452
+
2453
+ flyteidl/admin/notification.proto
2454
+ ==================================================================
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+ .. _ref_flyteidl.admin.EmailMessage:
2461
+
2462
+ EmailMessage
2463
+ ------------------------------------------------------------------
2464
+
2465
+ Represents the Email object that is sent to a publisher/subscriber
2466
+ to forward the notification.
2467
+ Note: This is internal to Admin and doesn't need to be exposed to other components.
2468
+
2469
+
2470
+
2471
+ .. csv-table:: EmailMessage type fields
2472
+ :header: "Field", "Type", "Label", "Description"
2473
+ :widths: auto
2474
+
2475
+ "recipients_email", ":ref:`ref_string`", "repeated", "The list of email addresses to receive an email with the content populated in the other fields. Currently, each email recipient will receive its own email. This populates the TO field."
2476
+ "sender_email", ":ref:`ref_string`", "", "The email of the sender. This populates the FROM field."
2477
+ "subject_line", ":ref:`ref_string`", "", "The content of the subject line. This populates the SUBJECT field."
2478
+ "body", ":ref:`ref_string`", "", "The content of the email body. This populates the BODY field."
2479
+
2480
+
2481
+
2482
+
2483
+
2484
+ <!-- end messages -->
2485
+
2486
+ <!-- end enums -->
2487
+
2488
+ <!-- end HasExtensions -->
2489
+
2490
+ <!-- end services -->
2491
+
2492
+
2493
+
2494
+
2495
+ .. _ref_flyteidl/admin/project.proto:
2496
+
2497
+ flyteidl/admin/project.proto
2498
+ ==================================================================
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+ .. _ref_flyteidl.admin.Domain:
2505
+
2506
+ Domain
2507
+ ------------------------------------------------------------------
2508
+
2509
+ Namespace within a project commonly used to differentiate between different service instances.
2510
+ e.g. "production", "development", etc.
2511
+
2512
+
2513
+
2514
+ .. csv-table:: Domain type fields
2515
+ :header: "Field", "Type", "Label", "Description"
2516
+ :widths: auto
2517
+
2518
+ "id", ":ref:`ref_string`", "", "Globally unique domain name."
2519
+ "name", ":ref:`ref_string`", "", "Display name."
2520
+
2521
+
2522
+
2523
+
2524
+
2525
+
2526
+
2527
+ .. _ref_flyteidl.admin.Project:
2528
+
2529
+ Project
2530
+ ------------------------------------------------------------------
2531
+
2532
+ Top-level namespace used to classify different entities like workflows and executions.
2533
+
2534
+
2535
+
2536
+ .. csv-table:: Project type fields
2537
+ :header: "Field", "Type", "Label", "Description"
2538
+ :widths: auto
2539
+
2540
+ "id", ":ref:`ref_string`", "", "Globally unique project name."
2541
+ "name", ":ref:`ref_string`", "", "Display name."
2542
+ "domains", ":ref:`ref_flyteidl.admin.Domain`", "repeated", ""
2543
+ "description", ":ref:`ref_string`", "", ""
2544
+ "labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Leverage Labels from flyteidel.admin.common.proto to tag projects with ownership information."
2545
+ "state", ":ref:`ref_flyteidl.admin.Project.ProjectState`", "", ""
2546
+
2547
+
2548
+
2549
+
2550
+
2551
+
2552
+
2553
+ .. _ref_flyteidl.admin.ProjectListRequest:
2554
+
2555
+ ProjectListRequest
2556
+ ------------------------------------------------------------------
2557
+
2558
+ Request to retrieve a list of projects matching specified filters.
2559
+ See :ref:`ref_flyteidl.admin.Project` for more details
2560
+
2561
+
2562
+
2563
+ .. csv-table:: ProjectListRequest type fields
2564
+ :header: "Field", "Type", "Label", "Description"
2565
+ :widths: auto
2566
+
2567
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of projects to be returned. +required"
2568
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional"
2569
+ "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional"
2570
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering. +optional"
2571
+
2572
+
2573
+
2574
+
2575
+
2576
+
2577
+
2578
+ .. _ref_flyteidl.admin.ProjectRegisterRequest:
2579
+
2580
+ ProjectRegisterRequest
2581
+ ------------------------------------------------------------------
2582
+
2583
+ Adds a new user-project within the Flyte deployment.
2584
+ See :ref:`ref_flyteidl.admin.Project` for more details
2585
+
2586
+
2587
+
2588
+ .. csv-table:: ProjectRegisterRequest type fields
2589
+ :header: "Field", "Type", "Label", "Description"
2590
+ :widths: auto
2591
+
2592
+ "project", ":ref:`ref_flyteidl.admin.Project`", "", "+required"
2593
+
2594
+
2595
+
2596
+
2597
+
2598
+
2599
+
2600
+ .. _ref_flyteidl.admin.ProjectRegisterResponse:
2601
+
2602
+ ProjectRegisterResponse
2603
+ ------------------------------------------------------------------
2604
+
2605
+ Purposefully empty, may be updated in the future.
2606
+
2607
+
2608
+
2609
+
2610
+
2611
+
2612
+
2613
+
2614
+ .. _ref_flyteidl.admin.ProjectUpdateResponse:
2615
+
2616
+ ProjectUpdateResponse
2617
+ ------------------------------------------------------------------
2618
+
2619
+ Purposefully empty, may be updated in the future.
2620
+
2621
+
2622
+
2623
+
2624
+
2625
+
2626
+
2627
+
2628
+ .. _ref_flyteidl.admin.Projects:
2629
+
2630
+ Projects
2631
+ ------------------------------------------------------------------
2632
+
2633
+ Represents a list of projects.
2634
+ See :ref:`ref_flyteidl.admin.Project` for more details
2635
+
2636
+
2637
+
2638
+ .. csv-table:: Projects type fields
2639
+ :header: "Field", "Type", "Label", "Description"
2640
+ :widths: auto
2641
+
2642
+ "projects", ":ref:`ref_flyteidl.admin.Project`", "repeated", ""
2643
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
2644
+
2645
+
2646
+
2647
+
2648
+
2649
+ <!-- end messages -->
2650
+
2651
+
2652
+
2653
+ .. _ref_flyteidl.admin.Project.ProjectState:
2654
+
2655
+ Project.ProjectState
2656
+ ------------------------------------------------------------------
2657
+
2658
+ The state of the project is used to control its visibility in the UI and validity.
2659
+
2660
+ .. csv-table:: Enum Project.ProjectState values
2661
+ :header: "Name", "Number", "Description"
2662
+ :widths: auto
2663
+
2664
+ "ACTIVE", "0", "By default, all projects are considered active."
2665
+ "ARCHIVED", "1", "Archived projects are no longer visible in the UI and no longer valid."
2666
+ "SYSTEM_GENERATED", "2", "System generated projects that aren't explicitly created or managed by a user."
2667
+
2668
+ <!-- end enums -->
2669
+
2670
+ <!-- end HasExtensions -->
2671
+
2672
+ <!-- end services -->
2673
+
2674
+
2675
+
2676
+
2677
+ .. _ref_flyteidl/admin/project_domain_attributes.proto:
2678
+
2679
+ flyteidl/admin/project_domain_attributes.proto
2680
+ ==================================================================
2681
+
2682
+
2683
+
2684
+
2685
+
2686
+ .. _ref_flyteidl.admin.ProjectDomainAttributes:
2687
+
2688
+ ProjectDomainAttributes
2689
+ ------------------------------------------------------------------
2690
+
2691
+ Defines a set of custom matching attributes which defines resource defaults for a project and domain.
2692
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
2693
+
2694
+
2695
+
2696
+ .. csv-table:: ProjectDomainAttributes type fields
2697
+ :header: "Field", "Type", "Label", "Description"
2698
+ :widths: auto
2699
+
2700
+ "project", ":ref:`ref_string`", "", "Unique project id for which this set of attributes will be applied."
2701
+ "domain", ":ref:`ref_string`", "", "Unique domain id for which this set of attributes will be applied."
2702
+ "matching_attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", ""
2703
+
2704
+
2705
+
2706
+
2707
+
2708
+
2709
+
2710
+ .. _ref_flyteidl.admin.ProjectDomainAttributesDeleteRequest:
2711
+
2712
+ ProjectDomainAttributesDeleteRequest
2713
+ ------------------------------------------------------------------
2714
+
2715
+ Request to delete a set matchable project domain attribute override.
2716
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
2717
+
2718
+
2719
+
2720
+ .. csv-table:: ProjectDomainAttributesDeleteRequest type fields
2721
+ :header: "Field", "Type", "Label", "Description"
2722
+ :widths: auto
2723
+
2724
+ "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required"
2725
+ "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required"
2726
+ "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to delete. +required"
2727
+
2728
+
2729
+
2730
+
2731
+
2732
+
2733
+
2734
+ .. _ref_flyteidl.admin.ProjectDomainAttributesDeleteResponse:
2735
+
2736
+ ProjectDomainAttributesDeleteResponse
2737
+ ------------------------------------------------------------------
2738
+
2739
+ Purposefully empty, may be populated in the future.
2740
+
2741
+
2742
+
2743
+
2744
+
2745
+
2746
+
2747
+
2748
+ .. _ref_flyteidl.admin.ProjectDomainAttributesGetRequest:
2749
+
2750
+ ProjectDomainAttributesGetRequest
2751
+ ------------------------------------------------------------------
2752
+
2753
+ Request to get an individual project domain attribute override.
2754
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
2755
+
2756
+
2757
+
2758
+ .. csv-table:: ProjectDomainAttributesGetRequest type fields
2759
+ :header: "Field", "Type", "Label", "Description"
2760
+ :widths: auto
2761
+
2762
+ "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required"
2763
+ "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required"
2764
+ "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to return. +required"
2765
+
2766
+
2767
+
2768
+
2769
+
2770
+
2771
+
2772
+ .. _ref_flyteidl.admin.ProjectDomainAttributesGetResponse:
2773
+
2774
+ ProjectDomainAttributesGetResponse
2775
+ ------------------------------------------------------------------
2776
+
2777
+ Response to get an individual project domain attribute override.
2778
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
2779
+
2780
+
2781
+
2782
+ .. csv-table:: ProjectDomainAttributesGetResponse type fields
2783
+ :header: "Field", "Type", "Label", "Description"
2784
+ :widths: auto
2785
+
2786
+ "attributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributes`", "", ""
2787
+
2788
+
2789
+
2790
+
2791
+
2792
+
2793
+
2794
+ .. _ref_flyteidl.admin.ProjectDomainAttributesUpdateRequest:
2795
+
2796
+ ProjectDomainAttributesUpdateRequest
2797
+ ------------------------------------------------------------------
2798
+
2799
+ Sets custom attributes for a project-domain combination.
2800
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
2801
+
2802
+
2803
+
2804
+ .. csv-table:: ProjectDomainAttributesUpdateRequest type fields
2805
+ :header: "Field", "Type", "Label", "Description"
2806
+ :widths: auto
2807
+
2808
+ "attributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributes`", "", "+required"
2809
+
2810
+
2811
+
2812
+
2813
+
2814
+
2815
+
2816
+ .. _ref_flyteidl.admin.ProjectDomainAttributesUpdateResponse:
2817
+
2818
+ ProjectDomainAttributesUpdateResponse
2819
+ ------------------------------------------------------------------
2820
+
2821
+ Purposefully empty, may be populated in the future.
2822
+
2823
+
2824
+
2825
+
2826
+
2827
+
2828
+ <!-- end messages -->
2829
+
2830
+ <!-- end enums -->
2831
+
2832
+ <!-- end HasExtensions -->
2833
+
2834
+ <!-- end services -->
2835
+
2836
+
2837
+
2838
+
2839
+ .. _ref_flyteidl/admin/schedule.proto:
2840
+
2841
+ flyteidl/admin/schedule.proto
2842
+ ==================================================================
2843
+
2844
+
2845
+
2846
+
2847
+
2848
+ .. _ref_flyteidl.admin.CronSchedule:
2849
+
2850
+ CronSchedule
2851
+ ------------------------------------------------------------------
2852
+
2853
+ Options for schedules to run according to a cron expression.
2854
+
2855
+
2856
+
2857
+ .. csv-table:: CronSchedule type fields
2858
+ :header: "Field", "Type", "Label", "Description"
2859
+ :widths: auto
2860
+
2861
+ "schedule", ":ref:`ref_string`", "", "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression; Also supports nonstandard predefined scheduling definitions as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions except @reboot"
2862
+ "offset", ":ref:`ref_string`", "", "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations"
2863
+
2864
+
2865
+
2866
+
2867
+
2868
+
2869
+
2870
+ .. _ref_flyteidl.admin.FixedRate:
2871
+
2872
+ FixedRate
2873
+ ------------------------------------------------------------------
2874
+
2875
+ Option for schedules run at a certain frequency e.g. every 2 minutes.
2876
+
2877
+
2878
+
2879
+ .. csv-table:: FixedRate type fields
2880
+ :header: "Field", "Type", "Label", "Description"
2881
+ :widths: auto
2882
+
2883
+ "value", ":ref:`ref_uint32`", "", ""
2884
+ "unit", ":ref:`ref_flyteidl.admin.FixedRateUnit`", "", ""
2885
+
2886
+
2887
+
2888
+
2889
+
2890
+
2891
+
2892
+ .. _ref_flyteidl.admin.Schedule:
2893
+
2894
+ Schedule
2895
+ ------------------------------------------------------------------
2896
+
2897
+ Defines complete set of information required to trigger an execution on a schedule.
2898
+
2899
+
2900
+
2901
+ .. csv-table:: Schedule type fields
2902
+ :header: "Field", "Type", "Label", "Description"
2903
+ :widths: auto
2904
+
2905
+ "cron_expression", ":ref:`ref_string`", "", "**Deprecated.** Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *"
2906
+ "rate", ":ref:`ref_flyteidl.admin.FixedRate`", "", ""
2907
+ "cron_schedule", ":ref:`ref_flyteidl.admin.CronSchedule`", "", ""
2908
+ "kickoff_time_input_arg", ":ref:`ref_string`", "", "Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off."
2909
+
2910
+
2911
+
2912
+
2913
+
2914
+ <!-- end messages -->
2915
+
2916
+
2917
+
2918
+ .. _ref_flyteidl.admin.FixedRateUnit:
2919
+
2920
+ FixedRateUnit
2921
+ ------------------------------------------------------------------
2922
+
2923
+ Represents a frequency at which to run a schedule.
2924
+
2925
+ .. csv-table:: Enum FixedRateUnit values
2926
+ :header: "Name", "Number", "Description"
2927
+ :widths: auto
2928
+
2929
+ "MINUTE", "0", ""
2930
+ "HOUR", "1", ""
2931
+ "DAY", "2", ""
2932
+
2933
+ <!-- end enums -->
2934
+
2935
+ <!-- end HasExtensions -->
2936
+
2937
+ <!-- end services -->
2938
+
2939
+
2940
+
2941
+
2942
+ .. _ref_flyteidl/admin/task.proto:
2943
+
2944
+ flyteidl/admin/task.proto
2945
+ ==================================================================
2946
+
2947
+
2948
+
2949
+
2950
+
2951
+ .. _ref_flyteidl.admin.Task:
2952
+
2953
+ Task
2954
+ ------------------------------------------------------------------
2955
+
2956
+ Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks
2957
+ arranged to process workflow inputs and produce a deterministic set of outputs.
2958
+ Tasks can come in many varieties tuned for specialized behavior.
2959
+
2960
+
2961
+
2962
+ .. csv-table:: Task type fields
2963
+ :header: "Field", "Type", "Label", "Description"
2964
+ :widths: auto
2965
+
2966
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the task."
2967
+ "closure", ":ref:`ref_flyteidl.admin.TaskClosure`", "", "closure encapsulates all the fields that maps to a compiled version of the task."
2968
+
2969
+
2970
+
2971
+
2972
+
2973
+
2974
+
2975
+ .. _ref_flyteidl.admin.TaskClosure:
2976
+
2977
+ TaskClosure
2978
+ ------------------------------------------------------------------
2979
+
2980
+ Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data
2981
+ and task metadata.
2982
+
2983
+
2984
+
2985
+ .. csv-table:: TaskClosure type fields
2986
+ :header: "Field", "Type", "Label", "Description"
2987
+ :widths: auto
2988
+
2989
+ "compiled_task", ":ref:`ref_flyteidl.core.CompiledTask`", "", "Represents the compiled representation of the task from the specification provided."
2990
+ "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task was created."
2991
+
2992
+
2993
+
2994
+
2995
+
2996
+
2997
+
2998
+ .. _ref_flyteidl.admin.TaskCreateRequest:
2999
+
3000
+ TaskCreateRequest
3001
+ ------------------------------------------------------------------
3002
+
3003
+ Represents a request structure to create a revision of a task.
3004
+ See :ref:`ref_flyteidl.admin.Task` for more details
3005
+
3006
+
3007
+
3008
+ .. csv-table:: TaskCreateRequest type fields
3009
+ :header: "Field", "Type", "Label", "Description"
3010
+ :widths: auto
3011
+
3012
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the task. +required"
3013
+ "spec", ":ref:`ref_flyteidl.admin.TaskSpec`", "", "Represents the specification for task. +required"
3014
+
3015
+
3016
+
3017
+
3018
+
3019
+
3020
+
3021
+ .. _ref_flyteidl.admin.TaskCreateResponse:
3022
+
3023
+ TaskCreateResponse
3024
+ ------------------------------------------------------------------
3025
+
3026
+ Represents a response structure if task creation succeeds.
3027
+
3028
+ Purposefully empty, may be populated in the future.
3029
+
3030
+
3031
+
3032
+
3033
+
3034
+
3035
+
3036
+
3037
+ .. _ref_flyteidl.admin.TaskList:
3038
+
3039
+ TaskList
3040
+ ------------------------------------------------------------------
3041
+
3042
+ Represents a list of tasks returned from the admin.
3043
+ See :ref:`ref_flyteidl.admin.Task` for more details
3044
+
3045
+
3046
+
3047
+ .. csv-table:: TaskList type fields
3048
+ :header: "Field", "Type", "Label", "Description"
3049
+ :widths: auto
3050
+
3051
+ "tasks", ":ref:`ref_flyteidl.admin.Task`", "repeated", "A list of tasks returned based on the request."
3052
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
3053
+
3054
+
3055
+
3056
+
3057
+
3058
+
3059
+
3060
+ .. _ref_flyteidl.admin.TaskSpec:
3061
+
3062
+ TaskSpec
3063
+ ------------------------------------------------------------------
3064
+
3065
+ Represents a structure that encapsulates the user-configured specification of the task.
3066
+
3067
+
3068
+
3069
+ .. csv-table:: TaskSpec type fields
3070
+ :header: "Field", "Type", "Label", "Description"
3071
+ :widths: auto
3072
+
3073
+ "template", ":ref:`ref_flyteidl.core.TaskTemplate`", "", "Template of the task that encapsulates all the metadata of the task."
3074
+
3075
+
3076
+
3077
+
3078
+
3079
+ <!-- end messages -->
3080
+
3081
+ <!-- end enums -->
3082
+
3083
+ <!-- end HasExtensions -->
3084
+
3085
+ <!-- end services -->
3086
+
3087
+
3088
+
3089
+
3090
+ .. _ref_flyteidl/admin/task_execution.proto:
3091
+
3092
+ flyteidl/admin/task_execution.proto
3093
+ ==================================================================
3094
+
3095
+
3096
+
3097
+
3098
+
3099
+ .. _ref_flyteidl.admin.TaskExecution:
3100
+
3101
+ TaskExecution
3102
+ ------------------------------------------------------------------
3103
+
3104
+ Encapsulates all details for a single task execution entity.
3105
+ A task execution represents an instantiated task, including all inputs and additional
3106
+ metadata as well as computed results included state, outputs, and duration-based attributes.
3107
+
3108
+
3109
+
3110
+ .. csv-table:: TaskExecution type fields
3111
+ :header: "Field", "Type", "Label", "Description"
3112
+ :widths: auto
3113
+
3114
+ "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Unique identifier for the task execution."
3115
+ "input_uri", ":ref:`ref_string`", "", "Path to remote data store where input blob is stored."
3116
+ "closure", ":ref:`ref_flyteidl.admin.TaskExecutionClosure`", "", "Task execution details and results."
3117
+ "is_parent", ":ref:`ref_bool`", "", "Whether this task spawned nodes."
3118
+
3119
+
3120
+
3121
+
3122
+
3123
+
3124
+
3125
+ .. _ref_flyteidl.admin.TaskExecutionClosure:
3126
+
3127
+ TaskExecutionClosure
3128
+ ------------------------------------------------------------------
3129
+
3130
+ Container for task execution details and results.
3131
+
3132
+
3133
+
3134
+ .. csv-table:: TaskExecutionClosure type fields
3135
+ :header: "Field", "Type", "Label", "Description"
3136
+ :widths: auto
3137
+
3138
+ "output_uri", ":ref:`ref_string`", "", "**Deprecated.** Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead."
3139
+ "error", ":ref:`ref_flyteidl.core.ExecutionError`", "", "Error information for the task execution. Populated if the execution failed."
3140
+ "output_data", ":ref:`ref_flyteidl.core.LiteralMap`", "", "**Deprecated.** Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead."
3141
+ "phase", ":ref:`ref_flyteidl.core.TaskExecution.Phase`", "", "The last recorded phase for this task execution."
3142
+ "logs", ":ref:`ref_flyteidl.core.TaskLog`", "repeated", "Detailed log information output by the task execution."
3143
+ "started_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution began running."
3144
+ "duration", ":ref:`ref_google.protobuf.Duration`", "", "The amount of time the task execution spent running."
3145
+ "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution was created."
3146
+ "updated_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the task execution was last updated."
3147
+ "custom_info", ":ref:`ref_google.protobuf.Struct`", "", "Custom data specific to the task plugin."
3148
+ "reason", ":ref:`ref_string`", "", "If there is an explanation for the most recent phase transition, the reason will capture it."
3149
+ "task_type", ":ref:`ref_string`", "", "A predefined yet extensible Task type identifier."
3150
+ "metadata", ":ref:`ref_flyteidl.event.TaskExecutionMetadata`", "", "Metadata around how a task was executed."
3151
+ "event_version", ":ref:`ref_int32`", "", "The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message."
3152
+
3153
+
3154
+
3155
+
3156
+
3157
+
3158
+
3159
+ .. _ref_flyteidl.admin.TaskExecutionGetDataRequest:
3160
+
3161
+ TaskExecutionGetDataRequest
3162
+ ------------------------------------------------------------------
3163
+
3164
+ Request structure to fetch inputs and output for a task execution.
3165
+ By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest`
3166
+
3167
+
3168
+
3169
+ .. csv-table:: TaskExecutionGetDataRequest type fields
3170
+ :header: "Field", "Type", "Label", "Description"
3171
+ :widths: auto
3172
+
3173
+ "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "The identifier of the task execution for which to fetch inputs and outputs. +required"
3174
+
3175
+
3176
+
3177
+
3178
+
3179
+
3180
+
3181
+ .. _ref_flyteidl.admin.TaskExecutionGetDataResponse:
3182
+
3183
+ TaskExecutionGetDataResponse
3184
+ ------------------------------------------------------------------
3185
+
3186
+ Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution.
3187
+
3188
+
3189
+
3190
+ .. csv-table:: TaskExecutionGetDataResponse type fields
3191
+ :header: "Field", "Type", "Label", "Description"
3192
+ :widths: auto
3193
+
3194
+ "inputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead."
3195
+ "outputs", ":ref:`ref_flyteidl.admin.UrlBlob`", "", "**Deprecated.** Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead."
3196
+ "full_inputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_inputs will only be populated if they are under a configured size threshold."
3197
+ "full_outputs", ":ref:`ref_flyteidl.core.LiteralMap`", "", "Full_outputs will only be populated if they are under a configured size threshold."
3198
+
3199
+
3200
+
3201
+
3202
+
3203
+
3204
+
3205
+ .. _ref_flyteidl.admin.TaskExecutionGetRequest:
3206
+
3207
+ TaskExecutionGetRequest
3208
+ ------------------------------------------------------------------
3209
+
3210
+ A message used to fetch a single task execution entity.
3211
+ See :ref:`ref_flyteidl.admin.TaskExecution` for more details
3212
+
3213
+
3214
+
3215
+ .. csv-table:: TaskExecutionGetRequest type fields
3216
+ :header: "Field", "Type", "Label", "Description"
3217
+ :widths: auto
3218
+
3219
+ "id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Unique identifier for the task execution. +required"
3220
+
3221
+
3222
+
3223
+
3224
+
3225
+
3226
+
3227
+ .. _ref_flyteidl.admin.TaskExecutionList:
3228
+
3229
+ TaskExecutionList
3230
+ ------------------------------------------------------------------
3231
+
3232
+ Response structure for a query to list of task execution entities.
3233
+ See :ref:`ref_flyteidl.admin.TaskExecution` for more details
3234
+
3235
+
3236
+
3237
+ .. csv-table:: TaskExecutionList type fields
3238
+ :header: "Field", "Type", "Label", "Description"
3239
+ :widths: auto
3240
+
3241
+ "task_executions", ":ref:`ref_flyteidl.admin.TaskExecution`", "repeated", ""
3242
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
3243
+
3244
+
3245
+
3246
+
3247
+
3248
+
3249
+
3250
+ .. _ref_flyteidl.admin.TaskExecutionListRequest:
3251
+
3252
+ TaskExecutionListRequest
3253
+ ------------------------------------------------------------------
3254
+
3255
+ Represents a request structure to retrieve a list of task execution entities yielded by a specific node execution.
3256
+ See :ref:`ref_flyteidl.admin.TaskExecution` for more details
3257
+
3258
+
3259
+
3260
+ .. csv-table:: TaskExecutionListRequest type fields
3261
+ :header: "Field", "Type", "Label", "Description"
3262
+ :widths: auto
3263
+
3264
+ "node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "Indicates the node execution to filter by. +required"
3265
+ "limit", ":ref:`ref_uint32`", "", "Indicates the number of resources to be returned. +required"
3266
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional"
3267
+ "filters", ":ref:`ref_string`", "", "Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional"
3268
+ "sort_by", ":ref:`ref_flyteidl.admin.Sort`", "", "Sort ordering for returned list. +optional"
3269
+
3270
+
3271
+
3272
+
3273
+
3274
+ <!-- end messages -->
3275
+
3276
+ <!-- end enums -->
3277
+
3278
+ <!-- end HasExtensions -->
3279
+
3280
+ <!-- end services -->
3281
+
3282
+
3283
+
3284
+
3285
+ .. _ref_flyteidl/admin/version.proto:
3286
+
3287
+ flyteidl/admin/version.proto
3288
+ ==================================================================
3289
+
3290
+
3291
+
3292
+
3293
+
3294
+ .. _ref_flyteidl.admin.GetVersionRequest:
3295
+
3296
+ GetVersionRequest
3297
+ ------------------------------------------------------------------
3298
+
3299
+ Empty request for GetVersion
3300
+
3301
+
3302
+
3303
+
3304
+
3305
+
3306
+
3307
+
3308
+ .. _ref_flyteidl.admin.GetVersionResponse:
3309
+
3310
+ GetVersionResponse
3311
+ ------------------------------------------------------------------
3312
+
3313
+ Response for the GetVersion API
3314
+
3315
+
3316
+
3317
+ .. csv-table:: GetVersionResponse type fields
3318
+ :header: "Field", "Type", "Label", "Description"
3319
+ :widths: auto
3320
+
3321
+ "control_plane_version", ":ref:`ref_flyteidl.admin.Version`", "", "The control plane version information. FlyteAdmin and related components form the control plane of Flyte"
3322
+
3323
+
3324
+
3325
+
3326
+
3327
+
3328
+
3329
+ .. _ref_flyteidl.admin.Version:
3330
+
3331
+ Version
3332
+ ------------------------------------------------------------------
3333
+
3334
+ Provides Version information for a component
3335
+
3336
+
3337
+
3338
+ .. csv-table:: Version type fields
3339
+ :header: "Field", "Type", "Label", "Description"
3340
+ :widths: auto
3341
+
3342
+ "Build", ":ref:`ref_string`", "", "Specifies the GIT sha of the build"
3343
+ "Version", ":ref:`ref_string`", "", "Version for the build, should follow a semver"
3344
+ "BuildTime", ":ref:`ref_string`", "", "Build timestamp"
3345
+
3346
+
3347
+
3348
+
3349
+
3350
+ <!-- end messages -->
3351
+
3352
+ <!-- end enums -->
3353
+
3354
+ <!-- end HasExtensions -->
3355
+
3356
+ <!-- end services -->
3357
+
3358
+
3359
+
3360
+
3361
+ .. _ref_flyteidl/admin/workflow.proto:
3362
+
3363
+ flyteidl/admin/workflow.proto
3364
+ ==================================================================
3365
+
3366
+
3367
+
3368
+
3369
+
3370
+ .. _ref_flyteidl.admin.Workflow:
3371
+
3372
+ Workflow
3373
+ ------------------------------------------------------------------
3374
+
3375
+ Represents the workflow structure stored in the Admin
3376
+ A workflow is created by ordering tasks and associating outputs to inputs
3377
+ in order to produce a directed-acyclic execution graph.
3378
+
3379
+
3380
+
3381
+ .. csv-table:: Workflow type fields
3382
+ :header: "Field", "Type", "Label", "Description"
3383
+ :widths: auto
3384
+
3385
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow."
3386
+ "closure", ":ref:`ref_flyteidl.admin.WorkflowClosure`", "", "closure encapsulates all the fields that maps to a compiled version of the workflow."
3387
+
3388
+
3389
+
3390
+
3391
+
3392
+
3393
+
3394
+ .. _ref_flyteidl.admin.WorkflowClosure:
3395
+
3396
+ WorkflowClosure
3397
+ ------------------------------------------------------------------
3398
+
3399
+ A container holding the compiled workflow produced from the WorkflowSpec and additional metadata.
3400
+
3401
+
3402
+
3403
+ .. csv-table:: WorkflowClosure type fields
3404
+ :header: "Field", "Type", "Label", "Description"
3405
+ :widths: auto
3406
+
3407
+ "compiled_workflow", ":ref:`ref_flyteidl.core.CompiledWorkflowClosure`", "", "Represents the compiled representation of the workflow from the specification provided."
3408
+ "created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Time at which the workflow was created."
3409
+
3410
+
3411
+
3412
+
3413
+
3414
+
3415
+
3416
+ .. _ref_flyteidl.admin.WorkflowCreateRequest:
3417
+
3418
+ WorkflowCreateRequest
3419
+ ------------------------------------------------------------------
3420
+
3421
+ Represents a request structure to create a revision of a workflow.
3422
+ See :ref:`ref_flyteidl.admin.Workflow` for more details
3423
+
3424
+
3425
+
3426
+ .. csv-table:: WorkflowCreateRequest type fields
3427
+ :header: "Field", "Type", "Label", "Description"
3428
+ :widths: auto
3429
+
3430
+ "id", ":ref:`ref_flyteidl.core.Identifier`", "", "id represents the unique identifier of the workflow. +required"
3431
+ "spec", ":ref:`ref_flyteidl.admin.WorkflowSpec`", "", "Represents the specification for workflow. +required"
3432
+
3433
+
3434
+
3435
+
3436
+
3437
+
3438
+
3439
+ .. _ref_flyteidl.admin.WorkflowCreateResponse:
3440
+
3441
+ WorkflowCreateResponse
3442
+ ------------------------------------------------------------------
3443
+
3444
+ Purposefully empty, may be populated in the future.
3445
+
3446
+
3447
+
3448
+
3449
+
3450
+
3451
+
3452
+
3453
+ .. _ref_flyteidl.admin.WorkflowList:
3454
+
3455
+ WorkflowList
3456
+ ------------------------------------------------------------------
3457
+
3458
+ Represents a list of workflows returned from the admin.
3459
+ See :ref:`ref_flyteidl.admin.Workflow` for more details
3460
+
3461
+
3462
+
3463
+ .. csv-table:: WorkflowList type fields
3464
+ :header: "Field", "Type", "Label", "Description"
3465
+ :widths: auto
3466
+
3467
+ "workflows", ":ref:`ref_flyteidl.admin.Workflow`", "repeated", "A list of workflows returned based on the request."
3468
+ "token", ":ref:`ref_string`", "", "In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty."
3469
+
3470
+
3471
+
3472
+
3473
+
3474
+
3475
+
3476
+ .. _ref_flyteidl.admin.WorkflowSpec:
3477
+
3478
+ WorkflowSpec
3479
+ ------------------------------------------------------------------
3480
+
3481
+ Represents a structure that encapsulates the specification of the workflow.
3482
+
3483
+
3484
+
3485
+ .. csv-table:: WorkflowSpec type fields
3486
+ :header: "Field", "Type", "Label", "Description"
3487
+ :widths: auto
3488
+
3489
+ "template", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "", "Template of the task that encapsulates all the metadata of the workflow."
3490
+ "sub_workflows", ":ref:`ref_flyteidl.core.WorkflowTemplate`", "repeated", "Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered."
3491
+
3492
+
3493
+
3494
+
3495
+
3496
+ <!-- end messages -->
3497
+
3498
+ <!-- end enums -->
3499
+
3500
+ <!-- end HasExtensions -->
3501
+
3502
+ <!-- end services -->
3503
+
3504
+
3505
+
3506
+
3507
+ .. _ref_flyteidl/admin/workflow_attributes.proto:
3508
+
3509
+ flyteidl/admin/workflow_attributes.proto
3510
+ ==================================================================
3511
+
3512
+
3513
+
3514
+
3515
+
3516
+ .. _ref_flyteidl.admin.WorkflowAttributes:
3517
+
3518
+ WorkflowAttributes
3519
+ ------------------------------------------------------------------
3520
+
3521
+ Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.
3522
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
3523
+
3524
+
3525
+
3526
+ .. csv-table:: WorkflowAttributes type fields
3527
+ :header: "Field", "Type", "Label", "Description"
3528
+ :widths: auto
3529
+
3530
+ "project", ":ref:`ref_string`", "", "Unique project id for which this set of attributes will be applied."
3531
+ "domain", ":ref:`ref_string`", "", "Unique domain id for which this set of attributes will be applied."
3532
+ "workflow", ":ref:`ref_string`", "", "Workflow name for which this set of attributes will be applied."
3533
+ "matching_attributes", ":ref:`ref_flyteidl.admin.MatchingAttributes`", "", ""
3534
+
3535
+
3536
+
3537
+
3538
+
3539
+
3540
+
3541
+ .. _ref_flyteidl.admin.WorkflowAttributesDeleteRequest:
3542
+
3543
+ WorkflowAttributesDeleteRequest
3544
+ ------------------------------------------------------------------
3545
+
3546
+ Request to delete a set matchable workflow attribute override.
3547
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
3548
+
3549
+
3550
+
3551
+ .. csv-table:: WorkflowAttributesDeleteRequest type fields
3552
+ :header: "Field", "Type", "Label", "Description"
3553
+ :widths: auto
3554
+
3555
+ "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required"
3556
+ "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required"
3557
+ "workflow", ":ref:`ref_string`", "", "Workflow name which this set of attributes references. +required"
3558
+ "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to delete. +required"
3559
+
3560
+
3561
+
3562
+
3563
+
3564
+
3565
+
3566
+ .. _ref_flyteidl.admin.WorkflowAttributesDeleteResponse:
3567
+
3568
+ WorkflowAttributesDeleteResponse
3569
+ ------------------------------------------------------------------
3570
+
3571
+ Purposefully empty, may be populated in the future.
3572
+
3573
+
3574
+
3575
+
3576
+
3577
+
3578
+
3579
+
3580
+ .. _ref_flyteidl.admin.WorkflowAttributesGetRequest:
3581
+
3582
+ WorkflowAttributesGetRequest
3583
+ ------------------------------------------------------------------
3584
+
3585
+ Request to get an individual workflow attribute override.
3586
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
3587
+
3588
+
3589
+
3590
+ .. csv-table:: WorkflowAttributesGetRequest type fields
3591
+ :header: "Field", "Type", "Label", "Description"
3592
+ :widths: auto
3593
+
3594
+ "project", ":ref:`ref_string`", "", "Unique project id which this set of attributes references. +required"
3595
+ "domain", ":ref:`ref_string`", "", "Unique domain id which this set of attributes references. +required"
3596
+ "workflow", ":ref:`ref_string`", "", "Workflow name which this set of attributes references. +required"
3597
+ "resource_type", ":ref:`ref_flyteidl.admin.MatchableResource`", "", "Which type of matchable attributes to return. +required"
3598
+
3599
+
3600
+
3601
+
3602
+
3603
+
3604
+
3605
+ .. _ref_flyteidl.admin.WorkflowAttributesGetResponse:
3606
+
3607
+ WorkflowAttributesGetResponse
3608
+ ------------------------------------------------------------------
3609
+
3610
+ Response to get an individual workflow attribute override.
3611
+
3612
+
3613
+
3614
+ .. csv-table:: WorkflowAttributesGetResponse type fields
3615
+ :header: "Field", "Type", "Label", "Description"
3616
+ :widths: auto
3617
+
3618
+ "attributes", ":ref:`ref_flyteidl.admin.WorkflowAttributes`", "", ""
3619
+
3620
+
3621
+
3622
+
3623
+
3624
+
3625
+
3626
+ .. _ref_flyteidl.admin.WorkflowAttributesUpdateRequest:
3627
+
3628
+ WorkflowAttributesUpdateRequest
3629
+ ------------------------------------------------------------------
3630
+
3631
+ Sets custom attributes for a project, domain and workflow combination.
3632
+ For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
3633
+
3634
+
3635
+
3636
+ .. csv-table:: WorkflowAttributesUpdateRequest type fields
3637
+ :header: "Field", "Type", "Label", "Description"
3638
+ :widths: auto
3639
+
3640
+ "attributes", ":ref:`ref_flyteidl.admin.WorkflowAttributes`", "", ""
3641
+
3642
+
3643
+
3644
+
3645
+
3646
+
3647
+
3648
+ .. _ref_flyteidl.admin.WorkflowAttributesUpdateResponse:
3649
+
3650
+ WorkflowAttributesUpdateResponse
3651
+ ------------------------------------------------------------------
3652
+
3653
+ Purposefully empty, may be populated in the future.
3654
+
3655
+
3656
+
3657
+
3658
+
3659
+
3660
+ <!-- end messages -->
3661
+
3662
+ <!-- end enums -->
3663
+
3664
+ <!-- end HasExtensions -->
3665
+
3666
+ <!-- end services -->
3667
+
3668
+
3669
+
3670
+
3671
+ .. _ref_google/protobuf/duration.proto:
3672
+
3673
+ google/protobuf/duration.proto
3674
+ ==================================================================
3675
+
3676
+
3677
+
3678
+
3679
+
3680
+ .. _ref_google.protobuf.Duration:
3681
+
3682
+ Duration
3683
+ ------------------------------------------------------------------
3684
+
3685
+ A Duration represents a signed, fixed-length span of time represented
3686
+ as a count of seconds and fractions of seconds at nanosecond
3687
+ resolution. It is independent of any calendar and concepts like "day"
3688
+ or "month". It is related to Timestamp in that the difference between
3689
+ two Timestamp values is a Duration and it can be added or subtracted
3690
+ from a Timestamp. Range is approximately +-10,000 years.
3691
+
3692
+ # Examples
3693
+
3694
+ Example 1: Compute Duration from two Timestamps in pseudo code.
3695
+
3696
+ Timestamp start = ...;
3697
+ Timestamp end = ...;
3698
+ Duration duration = ...;
3699
+
3700
+ duration.seconds = end.seconds - start.seconds;
3701
+ duration.nanos = end.nanos - start.nanos;
3702
+
3703
+ if (duration.seconds < 0 && duration.nanos > 0) {
3704
+ duration.seconds += 1;
3705
+ duration.nanos -= 1000000000;
3706
+ } else if (duration.seconds > 0 && duration.nanos < 0) {
3707
+ duration.seconds -= 1;
3708
+ duration.nanos += 1000000000;
3709
+ }
3710
+
3711
+ Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
3712
+
3713
+ Timestamp start = ...;
3714
+ Duration duration = ...;
3715
+ Timestamp end = ...;
3716
+
3717
+ end.seconds = start.seconds + duration.seconds;
3718
+ end.nanos = start.nanos + duration.nanos;
3719
+
3720
+ if (end.nanos < 0) {
3721
+ end.seconds -= 1;
3722
+ end.nanos += 1000000000;
3723
+ } else if (end.nanos >= 1000000000) {
3724
+ end.seconds += 1;
3725
+ end.nanos -= 1000000000;
3726
+ }
3727
+
3728
+ Example 3: Compute Duration from datetime.timedelta in Python.
3729
+
3730
+ td = datetime.timedelta(days=3, minutes=10)
3731
+ duration = Duration()
3732
+ duration.FromTimedelta(td)
3733
+
3734
+ # JSON Mapping
3735
+
3736
+ In JSON format, the Duration type is encoded as a string rather than an
3737
+ object, where the string ends in the suffix "s" (indicating seconds) and
3738
+ is preceded by the number of seconds, with nanoseconds expressed as
3739
+ fractional seconds. For example, 3 seconds with 0 nanoseconds should be
3740
+ encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
3741
+ be expressed in JSON format as "3.000000001s", and 3 seconds and 1
3742
+ microsecond should be expressed in JSON format as "3.000001s".
3743
+
3744
+
3745
+
3746
+ .. csv-table:: Duration type fields
3747
+ :header: "Field", "Type", "Label", "Description"
3748
+ :widths: auto
3749
+
3750
+ "seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years"
3751
+ "nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive."
3752
+
3753
+
3754
+
3755
+
3756
+
3757
+ <!-- end messages -->
3758
+
3759
+ <!-- end enums -->
3760
+
3761
+ <!-- end HasExtensions -->
3762
+
3763
+ <!-- end services -->
3764
+
3765
+