Skip to content

Commit ebe861a

Browse files
authored
Merge pull request #44 from A-Hilaly/print-fields
Update `generator.yaml` print configurations
2 parents 32777f0 + 89bc914 commit ebe861a

File tree

1 file changed

+40
-21
lines changed

1 file changed

+40
-21
lines changed

generator.yaml

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,16 @@ resources:
9595
fields:
9696
EndpointStatus:
9797
is_read_only: true
98-
is_printable: true
98+
print:
99+
name: STATUS
99100
from:
100101
operation: DescribeEndpoint
101102
path: EndpointStatus
102103
FailureReason:
103104
is_read_only: true
104-
is_printable: true
105+
print:
106+
name: FAILURE-REASON
107+
priority: 1
105108
from:
106109
operation: DescribeEndpoint
107110
path: FailureReason
@@ -159,14 +162,16 @@ resources:
159162
template_path: training_job/sdk_delete_pre_build_request.go.tpl
160163
fields:
161164
TrainingJobStatus:
162-
is_read_only: true
163-
is_printable: true
164-
from:
165-
operation: DescribeTrainingJob
166-
path: TrainingJobStatus
165+
is_read_only: true
166+
print:
167+
name: STATUS
168+
from:
169+
operation: DescribeTrainingJob
170+
path: TrainingJobStatus
167171
SecondaryStatus:
168172
is_read_only: true
169-
is_printable: true
173+
print:
174+
name: SECONDARY-STATUS
170175
from:
171176
operation: DescribeTrainingJob
172177
path: SecondaryStatus
@@ -177,7 +182,9 @@ resources:
177182
path: DebugRuleEvaluationStatuses
178183
FailureReason:
179184
is_read_only: true
180-
is_printable: true
185+
print:
186+
name: FAILURE-REASON
187+
priority: 1
181188
from:
182189
operation: DescribeTrainingJob
183190
path: FailureReason
@@ -213,13 +220,16 @@ resources:
213220
fields:
214221
ProcessingJobStatus:
215222
is_read_only: true
216-
is_printable: true
223+
print:
224+
name: STATUS
217225
from:
218226
operation: DescribeProcessingJob
219227
path: ProcessingJobStatus
220228
FailureReason:
221229
is_read_only: true
222-
is_printable: true
230+
print:
231+
name: FAILURE-REASON
232+
priority: 1
223233
from:
224234
operation: DescribeProcessingJob
225235
path: FailureReason
@@ -254,14 +264,17 @@ resources:
254264
code: rm.customSetOutput(r, resp.TransformJobStatus, ko)
255265
fields:
256266
TransformJobStatus:
257-
is_read_only: true
258-
is_printable: true
259-
from:
260-
operation: DescribeTransformJob
261-
path: TransformJobStatus
267+
is_read_only: true
268+
print:
269+
name: STATUS
270+
from:
271+
operation: DescribeTransformJob
272+
path: TransformJobStatus
262273
FailureReason:
263274
is_read_only: true
264-
is_printable: true
275+
print:
276+
name: FAILURE-REASON
277+
priority: 1
265278
from:
266279
operation: DescribeTransformJob
267280
path: FailureReason
@@ -296,13 +309,16 @@ resources:
296309
fields:
297310
HyperParameterTuningJobStatus:
298311
is_read_only: true
299-
is_printable: true
312+
print:
313+
name: STATUS
300314
from:
301315
operation: DescribeHyperParameterTuningJob
302316
path: HyperParameterTuningJobStatus
303317
FailureReason:
304318
is_read_only: true
305-
is_printable: true
319+
print:
320+
name: FAILURE-REASON
321+
priority: 1
306322
from:
307323
operation: DescribeHyperParameterTuningJob
308324
path: FailureReason
@@ -441,13 +457,16 @@ resources:
441457
fields:
442458
MonitoringScheduleStatus:
443459
is_read_only: true
444-
is_printable: true
460+
print:
461+
name: STATUS
445462
from:
446463
operation: DescribeMonitoringSchedule
447464
path: MonitoringScheduleStatus
448465
FailureReason:
449466
is_read_only: true
450-
is_printable: true
467+
print:
468+
name: FAILURE-REASON
469+
priority: 1
451470
from:
452471
operation: DescribeMonitoringSchedule
453472
path: FailureReason

0 commit comments

Comments
 (0)