You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -126,6 +131,34 @@ type DataLakePipelineIngestionSchedule struct {
126
131
RetentionValueint32`json:"retentionValue,omitempty"`// Duration in days, weeks, or months that MongoDB Cloud retains the snapshot.
127
132
}
128
133
134
+
// DataLakePipelineRunsResponse represents the response of DataLakePipelineService.ListRuns.
135
+
typeDataLakePipelineRunsResponsestruct {
136
+
Links []*Link`json:"links,omitempty"`// List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both.
137
+
Results []*DataLakePipelineRun`json:"results,omitempty"`// List of returned documents that MongoDB Cloud providers when completing this request.
138
+
TotalCountint`json:"totalCount,omitempty"`// Number of documents returned in this response.
139
+
}
140
+
141
+
// DataLakePipelineRun represents a DataLake Pipeline Run.
142
+
typeDataLakePipelineRunstruct {
143
+
IDstring`json:"_id,omitempty"`// Unique 24-hexadecimal character string that identifies a Data Lake Pipeline run.
144
+
BackupFrequencyTypestring`json:"backupFrequencyType,omitempty"`// Backup schedule interval of the Data Lake Pipeline.
145
+
CreatedDatestring`json:"createdDate,omitempty"`// Timestamp that indicates when the pipeline run was created.
146
+
DatasetNamestring`json:"datasetName,omitempty"`// Human-readable label that identifies the dataset that Atlas generates during this pipeline run.
147
+
GroupIDstring`json:"groupId,omitempty"`// Unique 24-hexadecimal character string that identifies the project.
148
+
LastUpdatedDatestring`json:"lastUpdatedDate,omitempty"`// Timestamp that indicates the last time that the pipeline run was updated.
149
+
Phasestring`json:"phase,omitempty"`// Processing phase of the Data Lake Pipeline.
150
+
PipelineIDstring`json:"pipelineId,omitempty"`// Unique 24-hexadecimal character string that identifies a Data Lake Pipeline.
151
+
SnapshotIDstring`json:"snapshotId,omitempty"`// Unique 24-hexadecimal character string that identifies the snapshot of a cluster.
152
+
Statestring`json:"state,omitempty"`// State of the pipeline run.
153
+
Stats*DataLakePipelineRunStats`json:"stats,omitempty"`// Runtime statistics for this Data Lake Pipeline run.
154
+
}
155
+
156
+
// DataLakePipelineRunStats represents runtime statistics for this Data Lake Pipeline run.
157
+
typeDataLakePipelineRunStatsstruct {
158
+
BytesExportedint64`json:"bytesExported,omitempty"`// Total data size in bytes exported for this pipeline run.
159
+
NumDocsint64`json:"numDocs,omitempty"`// Number of docs ingested for a this pipeline run.
160
+
}
161
+
129
162
// List gets a list of Data Lake Pipelines.
130
163
//
131
164
// See more: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Lake-Pipelines/operation/listPipelines
@@ -214,6 +247,32 @@ func (s *DataLakePipelineServiceOp) ListIngestionSchedules(ctx context.Context,
214
247
returnroot, resp, nil
215
248
}
216
249
250
+
// ListRuns gets a list of past Data Lake Pipeline runs.
0 commit comments