@@ -129,25 +129,49 @@ type renderProgressInternalConfig struct {
129
129
LogLevel string `json:"logLevel" validate:"required"`
130
130
}
131
131
132
+ type FileNameAndSize struct {
133
+ Name string `json:"name"`
134
+ Size int `json:"size"`
135
+ }
136
+
137
+ type TmpDir struct {
138
+ Files []FileNameAndSize `json:"files"`
139
+ Total int `json:"total"`
140
+ }
141
+
142
+ type FunctionErrorInfo struct {
143
+ Type string `json:"type"`
144
+ Message string `json:"message"`
145
+ Name string `json:"name"`
146
+ Stack string `json:"stack"`
147
+ Frame * int `json:"frame,omitempty"`
148
+ Chunk * int `json:"chunk,omitempty"`
149
+ IsFatal bool `json:"isFatal"`
150
+ Attempt int `json:"attempt"`
151
+ WillRetry bool `json:"willRetry"`
152
+ TotalAttempts int `json:"totalAttempts"`
153
+ TmpDir * TmpDir `json:"tmpDir,omitempty"`
154
+ }
155
+
132
156
type RenderProgress struct {
133
- OverallProgress float64 `json:"overallProgress"`
134
- Chunks int `json:"chunks"`
135
- Done bool `json:"done"`
136
- EncodingStatus * EncodingStatus `json:"encodingStatus,omitempty"`
137
- Costs * Costs `json:"costs,omitempty"`
138
- RenderId string `json:"renderId"`
139
- RenderMetadata * RenderMetadata `json:"renderMetadata,omitempty"`
140
- OutputFile * string `json:"outputFile,omitempty"`
141
- OutKey * string `json:"outKey,omitempty"`
142
- TimeToFinish * int `json:"timeToFinish,omitempty"`
143
- Errors []string `json:"errors,omitempty"`
144
- FatalErrorEncountered bool `json:"fatalErrorEncountered"`
145
- CurrentTime int64 `json:"currentTime"`
146
- RenderSize int64 `json:"renderSize"`
147
- OutputSizeInBytes * int64 `json:"outputSizeInBytes,omitempty"`
148
- LambdasInvoked int `json:"lambdasInvoked"`
149
- FramesRendered * int `json:"framesRendered,omitempty"`
150
- MostExpensiveFrameRanges []FrameRange `json:"mostExpensiveFrameRanges,omitempty"`
157
+ OverallProgress float64 `json:"overallProgress"`
158
+ Chunks int `json:"chunks"`
159
+ Done bool `json:"done"`
160
+ EncodingStatus * EncodingStatus `json:"encodingStatus,omitempty"`
161
+ Costs * Costs `json:"costs,omitempty"`
162
+ RenderId string `json:"renderId"`
163
+ RenderMetadata * RenderMetadata `json:"renderMetadata,omitempty"`
164
+ OutputFile * string `json:"outputFile,omitempty"`
165
+ OutKey * string `json:"outKey,omitempty"`
166
+ TimeToFinish * int `json:"timeToFinish,omitempty"`
167
+ Errors []FunctionErrorInfo `json:"errors,omitempty"`
168
+ FatalErrorEncountered bool `json:"fatalErrorEncountered"`
169
+ CurrentTime int64 `json:"currentTime"`
170
+ RenderSize int64 `json:"renderSize"`
171
+ OutputSizeInBytes * int64 `json:"outputSizeInBytes,omitempty"`
172
+ LambdasInvoked int `json:"lambdasInvoked"`
173
+ FramesRendered * int `json:"framesRendered,omitempty"`
174
+ MostExpensiveFrameRanges []FrameRange `json:"mostExpensiveFrameRanges,omitempty"`
151
175
}
152
176
153
177
type EncodingStatus struct {
0 commit comments