cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.4.0a6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +8 -4
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +48 -24
- cribl_control_plane/hectokens.py +16 -8
- cribl_control_plane/lakedatasets.py +40 -20
- cribl_control_plane/models/__init__.py +568 -214
- cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
- cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
- cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
- cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
- cribl_control_plane/models/createoutputtestbyidop.py +20 -1
- cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
- cribl_control_plane/models/createpipelineop.py +24 -0
- cribl_control_plane/models/createroutesappendbyidop.py +20 -2
- cribl_control_plane/models/createversioncommitop.py +19 -1
- cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
- cribl_control_plane/models/createversionrevertop.py +19 -1
- cribl_control_plane/models/createversionundoop.py +18 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/deleteinputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
- cribl_control_plane/models/deletepacksbyidop.py +20 -1
- cribl_control_plane/models/deletepipelinebyidop.py +20 -1
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +20 -1
- cribl_control_plane/models/getinputbyidop.py +20 -1
- cribl_control_plane/models/getmasterworkerentryop.py +18 -1
- cribl_control_plane/models/getoutputbyidop.py +20 -1
- cribl_control_plane/models/getoutputpqbyidop.py +20 -1
- cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
- cribl_control_plane/models/getpacksbyidop.py +20 -1
- cribl_control_plane/models/getpacksop.py +19 -1
- cribl_control_plane/models/getpipelinebyidop.py +20 -1
- cribl_control_plane/models/getroutesbyidop.py +20 -1
- cribl_control_plane/models/getsummaryop.py +19 -1
- cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
- cribl_control_plane/models/getversioncountop.py +19 -1
- cribl_control_plane/models/getversiondiffop.py +19 -1
- cribl_control_plane/models/getversionfilesop.py +19 -1
- cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
- cribl_control_plane/models/getversionop.py +19 -1
- cribl_control_plane/models/getversionshowop.py +19 -1
- cribl_control_plane/models/getversionstatusop.py +19 -1
- cribl_control_plane/models/input.py +18 -15
- cribl_control_plane/models/inputcloudflarehec.py +513 -0
- cribl_control_plane/models/inputfile.py +7 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
- cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
- cribl_control_plane/models/listmasterworkerentryop.py +19 -1
- cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
- cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
- cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
- cribl_control_plane/models/output.py +23 -17
- cribl_control_plane/models/outputazureblob.py +14 -0
- cribl_control_plane/models/outputazuredataexplorer.py +7 -0
- cribl_control_plane/models/outputchronicle.py +5 -0
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcribllake.py +14 -0
- cribl_control_plane/models/outputdatabricks.py +19 -0
- cribl_control_plane/models/outputdls3.py +14 -0
- cribl_control_plane/models/outputexabeam.py +7 -0
- cribl_control_plane/models/outputfilesystem.py +14 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +14 -0
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +19 -4
- cribl_control_plane/models/outputs3.py +14 -0
- cribl_control_plane/models/outputsecuritylake.py +14 -0
- cribl_control_plane/models/outputsyslog.py +7 -0
- cribl_control_plane/models/runnablejobcollection.py +0 -8
- cribl_control_plane/models/runnablejobexecutor.py +0 -4
- cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/updateinputbyidop.py +19 -1
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
- cribl_control_plane/models/updateoutputbyidop.py +19 -1
- cribl_control_plane/models/updatepacksbyidop.py +20 -1
- cribl_control_plane/models/updatepipelinebyidop.py +19 -1
- cribl_control_plane/models/updateroutesbyidop.py +19 -1
- cribl_control_plane/nodes.py +12 -8
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +20 -16
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +4 -8
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/utils/retries.py +69 -5
- cribl_control_plane/utils/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/METADATA +6 -14
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/RECORD +109 -123
- cribl_control_plane-0.4.0a6.dist-info/licenses/LICENSE +201 -0
- cribl_control_plane/models/countedlistconfiggroup.py +0 -20
- cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
- cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcountresult.py +0 -20
- cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
- cribl_control_plane/models/countedlistgitlogresult.py +0 -20
- cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
- cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
- cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
- cribl_control_plane/models/countedlistjobinfo.py +0 -20
- cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
- cribl_control_plane/models/countedlistnumber.py +0 -19
- cribl_control_plane/models/countedlistobject.py +0 -19
- cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
- cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
- cribl_control_plane/models/countedlistpackinfo.py +0 -20
- cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/WHEEL +0 -0
cribl_control_plane/packs.py
CHANGED
|
@@ -23,7 +23,7 @@ class Packs(BaseSDK):
|
|
|
23
23
|
server_url: Optional[str] = None,
|
|
24
24
|
timeout_ms: Optional[int] = None,
|
|
25
25
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
26
|
-
) -> models.
|
|
26
|
+
) -> models.CreatePacksResponse:
|
|
27
27
|
r"""Install a Pack
|
|
28
28
|
|
|
29
29
|
Install a Pack.<br><br>To install an uploaded Pack, provide the <code>source</code> value from the <code>PUT /packs</code> response as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a URL, provide the direct URL location of the <code>.crbl</code> file for the Pack as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a Git repository, provide <code>git+<repo-url></code> as the <code>source</code> parameter in the request body.<br><br>If you do not include the <code>source</code> parameter in the request body, an empty Pack is created.
|
|
@@ -92,7 +92,7 @@ class Packs(BaseSDK):
|
|
|
92
92
|
|
|
93
93
|
response_data: Any = None
|
|
94
94
|
if utils.match_response(http_res, "200", "application/json"):
|
|
95
|
-
return unmarshal_json_response(models.
|
|
95
|
+
return unmarshal_json_response(models.CreatePacksResponse, http_res)
|
|
96
96
|
if utils.match_response(http_res, "500", "application/json"):
|
|
97
97
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
98
98
|
raise errors.Error(response_data, http_res)
|
|
@@ -115,7 +115,7 @@ class Packs(BaseSDK):
|
|
|
115
115
|
server_url: Optional[str] = None,
|
|
116
116
|
timeout_ms: Optional[int] = None,
|
|
117
117
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
118
|
-
) -> models.
|
|
118
|
+
) -> models.CreatePacksResponse:
|
|
119
119
|
r"""Install a Pack
|
|
120
120
|
|
|
121
121
|
Install a Pack.<br><br>To install an uploaded Pack, provide the <code>source</code> value from the <code>PUT /packs</code> response as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a URL, provide the direct URL location of the <code>.crbl</code> file for the Pack as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a Git repository, provide <code>git+<repo-url></code> as the <code>source</code> parameter in the request body.<br><br>If you do not include the <code>source</code> parameter in the request body, an empty Pack is created.
|
|
@@ -184,7 +184,7 @@ class Packs(BaseSDK):
|
|
|
184
184
|
|
|
185
185
|
response_data: Any = None
|
|
186
186
|
if utils.match_response(http_res, "200", "application/json"):
|
|
187
|
-
return unmarshal_json_response(models.
|
|
187
|
+
return unmarshal_json_response(models.CreatePacksResponse, http_res)
|
|
188
188
|
if utils.match_response(http_res, "500", "application/json"):
|
|
189
189
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
190
190
|
raise errors.Error(response_data, http_res)
|
|
@@ -205,7 +205,7 @@ class Packs(BaseSDK):
|
|
|
205
205
|
server_url: Optional[str] = None,
|
|
206
206
|
timeout_ms: Optional[int] = None,
|
|
207
207
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
208
|
-
) -> models.
|
|
208
|
+
) -> models.GetPacksResponse:
|
|
209
209
|
r"""List all Packs
|
|
210
210
|
|
|
211
211
|
Get a list of all Packs.
|
|
@@ -271,7 +271,7 @@ class Packs(BaseSDK):
|
|
|
271
271
|
|
|
272
272
|
response_data: Any = None
|
|
273
273
|
if utils.match_response(http_res, "200", "application/json"):
|
|
274
|
-
return unmarshal_json_response(models.
|
|
274
|
+
return unmarshal_json_response(models.GetPacksResponse, http_res)
|
|
275
275
|
if utils.match_response(http_res, "500", "application/json"):
|
|
276
276
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
277
277
|
raise errors.Error(response_data, http_res)
|
|
@@ -292,7 +292,7 @@ class Packs(BaseSDK):
|
|
|
292
292
|
server_url: Optional[str] = None,
|
|
293
293
|
timeout_ms: Optional[int] = None,
|
|
294
294
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
295
|
-
) -> models.
|
|
295
|
+
) -> models.GetPacksResponse:
|
|
296
296
|
r"""List all Packs
|
|
297
297
|
|
|
298
298
|
Get a list of all Packs.
|
|
@@ -358,7 +358,7 @@ class Packs(BaseSDK):
|
|
|
358
358
|
|
|
359
359
|
response_data: Any = None
|
|
360
360
|
if utils.match_response(http_res, "200", "application/json"):
|
|
361
|
-
return unmarshal_json_response(models.
|
|
361
|
+
return unmarshal_json_response(models.GetPacksResponse, http_res)
|
|
362
362
|
if utils.match_response(http_res, "500", "application/json"):
|
|
363
363
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
364
364
|
raise errors.Error(response_data, http_res)
|
|
@@ -573,7 +573,7 @@ class Packs(BaseSDK):
|
|
|
573
573
|
server_url: Optional[str] = None,
|
|
574
574
|
timeout_ms: Optional[int] = None,
|
|
575
575
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
576
|
-
) -> models.
|
|
576
|
+
) -> models.DeletePacksByIDResponse:
|
|
577
577
|
r"""Uninstall a Pack
|
|
578
578
|
|
|
579
579
|
Uninstall the specified Pack.
|
|
@@ -639,7 +639,7 @@ class Packs(BaseSDK):
|
|
|
639
639
|
|
|
640
640
|
response_data: Any = None
|
|
641
641
|
if utils.match_response(http_res, "200", "application/json"):
|
|
642
|
-
return unmarshal_json_response(models.
|
|
642
|
+
return unmarshal_json_response(models.DeletePacksByIDResponse, http_res)
|
|
643
643
|
if utils.match_response(http_res, "500", "application/json"):
|
|
644
644
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
645
645
|
raise errors.Error(response_data, http_res)
|
|
@@ -660,7 +660,7 @@ class Packs(BaseSDK):
|
|
|
660
660
|
server_url: Optional[str] = None,
|
|
661
661
|
timeout_ms: Optional[int] = None,
|
|
662
662
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
663
|
-
) -> models.
|
|
663
|
+
) -> models.DeletePacksByIDResponse:
|
|
664
664
|
r"""Uninstall a Pack
|
|
665
665
|
|
|
666
666
|
Uninstall the specified Pack.
|
|
@@ -726,7 +726,7 @@ class Packs(BaseSDK):
|
|
|
726
726
|
|
|
727
727
|
response_data: Any = None
|
|
728
728
|
if utils.match_response(http_res, "200", "application/json"):
|
|
729
|
-
return unmarshal_json_response(models.
|
|
729
|
+
return unmarshal_json_response(models.DeletePacksByIDResponse, http_res)
|
|
730
730
|
if utils.match_response(http_res, "500", "application/json"):
|
|
731
731
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
732
732
|
raise errors.Error(response_data, http_res)
|
|
@@ -747,7 +747,7 @@ class Packs(BaseSDK):
|
|
|
747
747
|
server_url: Optional[str] = None,
|
|
748
748
|
timeout_ms: Optional[int] = None,
|
|
749
749
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
750
|
-
) -> models.
|
|
750
|
+
) -> models.GetPacksByIDResponse:
|
|
751
751
|
r"""Get a Pack
|
|
752
752
|
|
|
753
753
|
Get the specified Pack.
|
|
@@ -813,7 +813,7 @@ class Packs(BaseSDK):
|
|
|
813
813
|
|
|
814
814
|
response_data: Any = None
|
|
815
815
|
if utils.match_response(http_res, "200", "application/json"):
|
|
816
|
-
return unmarshal_json_response(models.
|
|
816
|
+
return unmarshal_json_response(models.GetPacksByIDResponse, http_res)
|
|
817
817
|
if utils.match_response(http_res, "500", "application/json"):
|
|
818
818
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
819
819
|
raise errors.Error(response_data, http_res)
|
|
@@ -834,7 +834,7 @@ class Packs(BaseSDK):
|
|
|
834
834
|
server_url: Optional[str] = None,
|
|
835
835
|
timeout_ms: Optional[int] = None,
|
|
836
836
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
837
|
-
) -> models.
|
|
837
|
+
) -> models.GetPacksByIDResponse:
|
|
838
838
|
r"""Get a Pack
|
|
839
839
|
|
|
840
840
|
Get the specified Pack.
|
|
@@ -900,7 +900,7 @@ class Packs(BaseSDK):
|
|
|
900
900
|
|
|
901
901
|
response_data: Any = None
|
|
902
902
|
if utils.match_response(http_res, "200", "application/json"):
|
|
903
|
-
return unmarshal_json_response(models.
|
|
903
|
+
return unmarshal_json_response(models.GetPacksByIDResponse, http_res)
|
|
904
904
|
if utils.match_response(http_res, "500", "application/json"):
|
|
905
905
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
906
906
|
raise errors.Error(response_data, http_res)
|
|
@@ -925,7 +925,7 @@ class Packs(BaseSDK):
|
|
|
925
925
|
server_url: Optional[str] = None,
|
|
926
926
|
timeout_ms: Optional[int] = None,
|
|
927
927
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
928
|
-
) -> models.
|
|
928
|
+
) -> models.UpdatePacksByIDResponse:
|
|
929
929
|
r"""Upgrade a Pack
|
|
930
930
|
|
|
931
931
|
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack.Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
@@ -1008,7 +1008,7 @@ class Packs(BaseSDK):
|
|
|
1008
1008
|
|
|
1009
1009
|
response_data: Any = None
|
|
1010
1010
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1011
|
-
return unmarshal_json_response(models.
|
|
1011
|
+
return unmarshal_json_response(models.UpdatePacksByIDResponse, http_res)
|
|
1012
1012
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1013
1013
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1014
1014
|
raise errors.Error(response_data, http_res)
|
|
@@ -1033,7 +1033,7 @@ class Packs(BaseSDK):
|
|
|
1033
1033
|
server_url: Optional[str] = None,
|
|
1034
1034
|
timeout_ms: Optional[int] = None,
|
|
1035
1035
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1036
|
-
) -> models.
|
|
1036
|
+
) -> models.UpdatePacksByIDResponse:
|
|
1037
1037
|
r"""Upgrade a Pack
|
|
1038
1038
|
|
|
1039
1039
|
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack.Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
@@ -1116,7 +1116,7 @@ class Packs(BaseSDK):
|
|
|
1116
1116
|
|
|
1117
1117
|
response_data: Any = None
|
|
1118
1118
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1119
|
-
return unmarshal_json_response(models.
|
|
1119
|
+
return unmarshal_json_response(models.UpdatePacksByIDResponse, http_res)
|
|
1120
1120
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1121
1121
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1122
1122
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/pipelines.py
CHANGED
|
@@ -19,7 +19,7 @@ class Pipelines(BaseSDK):
|
|
|
19
19
|
server_url: Optional[str] = None,
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
|
-
) -> models.
|
|
22
|
+
) -> models.ListPipelineResponse:
|
|
23
23
|
r"""List all Pipelines
|
|
24
24
|
|
|
25
25
|
Get a list of all Pipelines.
|
|
@@ -79,7 +79,7 @@ class Pipelines(BaseSDK):
|
|
|
79
79
|
|
|
80
80
|
response_data: Any = None
|
|
81
81
|
if utils.match_response(http_res, "200", "application/json"):
|
|
82
|
-
return unmarshal_json_response(models.
|
|
82
|
+
return unmarshal_json_response(models.ListPipelineResponse, http_res)
|
|
83
83
|
if utils.match_response(http_res, "500", "application/json"):
|
|
84
84
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
85
85
|
raise errors.Error(response_data, http_res)
|
|
@@ -99,7 +99,7 @@ class Pipelines(BaseSDK):
|
|
|
99
99
|
server_url: Optional[str] = None,
|
|
100
100
|
timeout_ms: Optional[int] = None,
|
|
101
101
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
102
|
-
) -> models.
|
|
102
|
+
) -> models.ListPipelineResponse:
|
|
103
103
|
r"""List all Pipelines
|
|
104
104
|
|
|
105
105
|
Get a list of all Pipelines.
|
|
@@ -159,7 +159,7 @@ class Pipelines(BaseSDK):
|
|
|
159
159
|
|
|
160
160
|
response_data: Any = None
|
|
161
161
|
if utils.match_response(http_res, "200", "application/json"):
|
|
162
|
-
return unmarshal_json_response(models.
|
|
162
|
+
return unmarshal_json_response(models.ListPipelineResponse, http_res)
|
|
163
163
|
if utils.match_response(http_res, "500", "application/json"):
|
|
164
164
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
165
165
|
raise errors.Error(response_data, http_res)
|
|
@@ -181,7 +181,7 @@ class Pipelines(BaseSDK):
|
|
|
181
181
|
server_url: Optional[str] = None,
|
|
182
182
|
timeout_ms: Optional[int] = None,
|
|
183
183
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
184
|
-
) -> models.
|
|
184
|
+
) -> models.CreatePipelineResponse:
|
|
185
185
|
r"""Create a Pipeline
|
|
186
186
|
|
|
187
187
|
Create a new Pipeline.
|
|
@@ -252,7 +252,7 @@ class Pipelines(BaseSDK):
|
|
|
252
252
|
|
|
253
253
|
response_data: Any = None
|
|
254
254
|
if utils.match_response(http_res, "200", "application/json"):
|
|
255
|
-
return unmarshal_json_response(models.
|
|
255
|
+
return unmarshal_json_response(models.CreatePipelineResponse, http_res)
|
|
256
256
|
if utils.match_response(http_res, "500", "application/json"):
|
|
257
257
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
258
258
|
raise errors.Error(response_data, http_res)
|
|
@@ -274,7 +274,7 @@ class Pipelines(BaseSDK):
|
|
|
274
274
|
server_url: Optional[str] = None,
|
|
275
275
|
timeout_ms: Optional[int] = None,
|
|
276
276
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
277
|
-
) -> models.
|
|
277
|
+
) -> models.CreatePipelineResponse:
|
|
278
278
|
r"""Create a Pipeline
|
|
279
279
|
|
|
280
280
|
Create a new Pipeline.
|
|
@@ -345,7 +345,7 @@ class Pipelines(BaseSDK):
|
|
|
345
345
|
|
|
346
346
|
response_data: Any = None
|
|
347
347
|
if utils.match_response(http_res, "200", "application/json"):
|
|
348
|
-
return unmarshal_json_response(models.
|
|
348
|
+
return unmarshal_json_response(models.CreatePipelineResponse, http_res)
|
|
349
349
|
if utils.match_response(http_res, "500", "application/json"):
|
|
350
350
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
351
351
|
raise errors.Error(response_data, http_res)
|
|
@@ -366,7 +366,7 @@ class Pipelines(BaseSDK):
|
|
|
366
366
|
server_url: Optional[str] = None,
|
|
367
367
|
timeout_ms: Optional[int] = None,
|
|
368
368
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
369
|
-
) -> models.
|
|
369
|
+
) -> models.GetPipelineByIDResponse:
|
|
370
370
|
r"""Get a Pipeline
|
|
371
371
|
|
|
372
372
|
Get the specified Pipeline.
|
|
@@ -432,7 +432,7 @@ class Pipelines(BaseSDK):
|
|
|
432
432
|
|
|
433
433
|
response_data: Any = None
|
|
434
434
|
if utils.match_response(http_res, "200", "application/json"):
|
|
435
|
-
return unmarshal_json_response(models.
|
|
435
|
+
return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
|
|
436
436
|
if utils.match_response(http_res, "500", "application/json"):
|
|
437
437
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
438
438
|
raise errors.Error(response_data, http_res)
|
|
@@ -453,7 +453,7 @@ class Pipelines(BaseSDK):
|
|
|
453
453
|
server_url: Optional[str] = None,
|
|
454
454
|
timeout_ms: Optional[int] = None,
|
|
455
455
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
456
|
-
) -> models.
|
|
456
|
+
) -> models.GetPipelineByIDResponse:
|
|
457
457
|
r"""Get a Pipeline
|
|
458
458
|
|
|
459
459
|
Get the specified Pipeline.
|
|
@@ -519,7 +519,7 @@ class Pipelines(BaseSDK):
|
|
|
519
519
|
|
|
520
520
|
response_data: Any = None
|
|
521
521
|
if utils.match_response(http_res, "200", "application/json"):
|
|
522
|
-
return unmarshal_json_response(models.
|
|
522
|
+
return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
|
|
523
523
|
if utils.match_response(http_res, "500", "application/json"):
|
|
524
524
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
525
525
|
raise errors.Error(response_data, http_res)
|
|
@@ -542,7 +542,7 @@ class Pipelines(BaseSDK):
|
|
|
542
542
|
server_url: Optional[str] = None,
|
|
543
543
|
timeout_ms: Optional[int] = None,
|
|
544
544
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
545
|
-
) -> models.
|
|
545
|
+
) -> models.UpdatePipelineByIDResponse:
|
|
546
546
|
r"""Update a Pipeline
|
|
547
547
|
|
|
548
548
|
Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
|
|
@@ -617,7 +617,7 @@ class Pipelines(BaseSDK):
|
|
|
617
617
|
|
|
618
618
|
response_data: Any = None
|
|
619
619
|
if utils.match_response(http_res, "200", "application/json"):
|
|
620
|
-
return unmarshal_json_response(models.
|
|
620
|
+
return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
|
|
621
621
|
if utils.match_response(http_res, "500", "application/json"):
|
|
622
622
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
623
623
|
raise errors.Error(response_data, http_res)
|
|
@@ -640,7 +640,7 @@ class Pipelines(BaseSDK):
|
|
|
640
640
|
server_url: Optional[str] = None,
|
|
641
641
|
timeout_ms: Optional[int] = None,
|
|
642
642
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
643
|
-
) -> models.
|
|
643
|
+
) -> models.UpdatePipelineByIDResponse:
|
|
644
644
|
r"""Update a Pipeline
|
|
645
645
|
|
|
646
646
|
Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
|
|
@@ -715,7 +715,7 @@ class Pipelines(BaseSDK):
|
|
|
715
715
|
|
|
716
716
|
response_data: Any = None
|
|
717
717
|
if utils.match_response(http_res, "200", "application/json"):
|
|
718
|
-
return unmarshal_json_response(models.
|
|
718
|
+
return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
|
|
719
719
|
if utils.match_response(http_res, "500", "application/json"):
|
|
720
720
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
721
721
|
raise errors.Error(response_data, http_res)
|
|
@@ -736,7 +736,7 @@ class Pipelines(BaseSDK):
|
|
|
736
736
|
server_url: Optional[str] = None,
|
|
737
737
|
timeout_ms: Optional[int] = None,
|
|
738
738
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
739
|
-
) -> models.
|
|
739
|
+
) -> models.DeletePipelineByIDResponse:
|
|
740
740
|
r"""Delete a Pipeline
|
|
741
741
|
|
|
742
742
|
Delete the specified Pipeline.
|
|
@@ -802,7 +802,7 @@ class Pipelines(BaseSDK):
|
|
|
802
802
|
|
|
803
803
|
response_data: Any = None
|
|
804
804
|
if utils.match_response(http_res, "200", "application/json"):
|
|
805
|
-
return unmarshal_json_response(models.
|
|
805
|
+
return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
|
|
806
806
|
if utils.match_response(http_res, "500", "application/json"):
|
|
807
807
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
808
808
|
raise errors.Error(response_data, http_res)
|
|
@@ -823,7 +823,7 @@ class Pipelines(BaseSDK):
|
|
|
823
823
|
server_url: Optional[str] = None,
|
|
824
824
|
timeout_ms: Optional[int] = None,
|
|
825
825
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
826
|
-
) -> models.
|
|
826
|
+
) -> models.DeletePipelineByIDResponse:
|
|
827
827
|
r"""Delete a Pipeline
|
|
828
828
|
|
|
829
829
|
Delete the specified Pipeline.
|
|
@@ -889,7 +889,7 @@ class Pipelines(BaseSDK):
|
|
|
889
889
|
|
|
890
890
|
response_data: Any = None
|
|
891
891
|
if utils.match_response(http_res, "200", "application/json"):
|
|
892
|
-
return unmarshal_json_response(models.
|
|
892
|
+
return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
|
|
893
893
|
if utils.match_response(http_res, "500", "application/json"):
|
|
894
894
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
895
895
|
raise errors.Error(response_data, http_res)
|
|
@@ -19,7 +19,7 @@ class RoutesSDK(BaseSDK):
|
|
|
19
19
|
server_url: Optional[str] = None,
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
|
-
) -> models.
|
|
22
|
+
) -> models.ListRoutesResponse:
|
|
23
23
|
r"""List all Routes
|
|
24
24
|
|
|
25
25
|
Get a list of all Routes.
|
|
@@ -79,7 +79,7 @@ class RoutesSDK(BaseSDK):
|
|
|
79
79
|
|
|
80
80
|
response_data: Any = None
|
|
81
81
|
if utils.match_response(http_res, "200", "application/json"):
|
|
82
|
-
return unmarshal_json_response(models.
|
|
82
|
+
return unmarshal_json_response(models.ListRoutesResponse, http_res)
|
|
83
83
|
if utils.match_response(http_res, "500", "application/json"):
|
|
84
84
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
85
85
|
raise errors.Error(response_data, http_res)
|
|
@@ -99,7 +99,7 @@ class RoutesSDK(BaseSDK):
|
|
|
99
99
|
server_url: Optional[str] = None,
|
|
100
100
|
timeout_ms: Optional[int] = None,
|
|
101
101
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
102
|
-
) -> models.
|
|
102
|
+
) -> models.ListRoutesResponse:
|
|
103
103
|
r"""List all Routes
|
|
104
104
|
|
|
105
105
|
Get a list of all Routes.
|
|
@@ -159,7 +159,7 @@ class RoutesSDK(BaseSDK):
|
|
|
159
159
|
|
|
160
160
|
response_data: Any = None
|
|
161
161
|
if utils.match_response(http_res, "200", "application/json"):
|
|
162
|
-
return unmarshal_json_response(models.
|
|
162
|
+
return unmarshal_json_response(models.ListRoutesResponse, http_res)
|
|
163
163
|
if utils.match_response(http_res, "500", "application/json"):
|
|
164
164
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
165
165
|
raise errors.Error(response_data, http_res)
|
|
@@ -180,7 +180,7 @@ class RoutesSDK(BaseSDK):
|
|
|
180
180
|
server_url: Optional[str] = None,
|
|
181
181
|
timeout_ms: Optional[int] = None,
|
|
182
182
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
183
|
-
) -> models.
|
|
183
|
+
) -> models.GetRoutesByIDResponse:
|
|
184
184
|
r"""Get a Routing table
|
|
185
185
|
|
|
186
186
|
Get the specified Routing table.
|
|
@@ -246,7 +246,7 @@ class RoutesSDK(BaseSDK):
|
|
|
246
246
|
|
|
247
247
|
response_data: Any = None
|
|
248
248
|
if utils.match_response(http_res, "200", "application/json"):
|
|
249
|
-
return unmarshal_json_response(models.
|
|
249
|
+
return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
|
|
250
250
|
if utils.match_response(http_res, "500", "application/json"):
|
|
251
251
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
252
252
|
raise errors.Error(response_data, http_res)
|
|
@@ -267,7 +267,7 @@ class RoutesSDK(BaseSDK):
|
|
|
267
267
|
server_url: Optional[str] = None,
|
|
268
268
|
timeout_ms: Optional[int] = None,
|
|
269
269
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
270
|
-
) -> models.
|
|
270
|
+
) -> models.GetRoutesByIDResponse:
|
|
271
271
|
r"""Get a Routing table
|
|
272
272
|
|
|
273
273
|
Get the specified Routing table.
|
|
@@ -333,7 +333,7 @@ class RoutesSDK(BaseSDK):
|
|
|
333
333
|
|
|
334
334
|
response_data: Any = None
|
|
335
335
|
if utils.match_response(http_res, "200", "application/json"):
|
|
336
|
-
return unmarshal_json_response(models.
|
|
336
|
+
return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
|
|
337
337
|
if utils.match_response(http_res, "500", "application/json"):
|
|
338
338
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
339
339
|
raise errors.Error(response_data, http_res)
|
|
@@ -364,7 +364,7 @@ class RoutesSDK(BaseSDK):
|
|
|
364
364
|
server_url: Optional[str] = None,
|
|
365
365
|
timeout_ms: Optional[int] = None,
|
|
366
366
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
367
|
-
) -> models.
|
|
367
|
+
) -> models.UpdateRoutesByIDResponse:
|
|
368
368
|
r"""Update a Route
|
|
369
369
|
|
|
370
370
|
Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
|
|
@@ -447,7 +447,7 @@ class RoutesSDK(BaseSDK):
|
|
|
447
447
|
|
|
448
448
|
response_data: Any = None
|
|
449
449
|
if utils.match_response(http_res, "200", "application/json"):
|
|
450
|
-
return unmarshal_json_response(models.
|
|
450
|
+
return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
|
|
451
451
|
if utils.match_response(http_res, "500", "application/json"):
|
|
452
452
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
453
453
|
raise errors.Error(response_data, http_res)
|
|
@@ -478,7 +478,7 @@ class RoutesSDK(BaseSDK):
|
|
|
478
478
|
server_url: Optional[str] = None,
|
|
479
479
|
timeout_ms: Optional[int] = None,
|
|
480
480
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
481
|
-
) -> models.
|
|
481
|
+
) -> models.UpdateRoutesByIDResponse:
|
|
482
482
|
r"""Update a Route
|
|
483
483
|
|
|
484
484
|
Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
|
|
@@ -561,7 +561,7 @@ class RoutesSDK(BaseSDK):
|
|
|
561
561
|
|
|
562
562
|
response_data: Any = None
|
|
563
563
|
if utils.match_response(http_res, "200", "application/json"):
|
|
564
|
-
return unmarshal_json_response(models.
|
|
564
|
+
return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
|
|
565
565
|
if utils.match_response(http_res, "500", "application/json"):
|
|
566
566
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
567
567
|
raise errors.Error(response_data, http_res)
|
|
@@ -583,7 +583,7 @@ class RoutesSDK(BaseSDK):
|
|
|
583
583
|
server_url: Optional[str] = None,
|
|
584
584
|
timeout_ms: Optional[int] = None,
|
|
585
585
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
586
|
-
) -> models.
|
|
586
|
+
) -> models.CreateRoutesAppendByIDResponse:
|
|
587
587
|
r"""Add a Route to the end of the Routing table
|
|
588
588
|
|
|
589
589
|
Add a Route to the end of the specified Routing table.
|
|
@@ -654,7 +654,9 @@ class RoutesSDK(BaseSDK):
|
|
|
654
654
|
|
|
655
655
|
response_data: Any = None
|
|
656
656
|
if utils.match_response(http_res, "200", "application/json"):
|
|
657
|
-
return unmarshal_json_response(
|
|
657
|
+
return unmarshal_json_response(
|
|
658
|
+
models.CreateRoutesAppendByIDResponse, http_res
|
|
659
|
+
)
|
|
658
660
|
if utils.match_response(http_res, "500", "application/json"):
|
|
659
661
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
660
662
|
raise errors.Error(response_data, http_res)
|
|
@@ -676,7 +678,7 @@ class RoutesSDK(BaseSDK):
|
|
|
676
678
|
server_url: Optional[str] = None,
|
|
677
679
|
timeout_ms: Optional[int] = None,
|
|
678
680
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
679
|
-
) -> models.
|
|
681
|
+
) -> models.CreateRoutesAppendByIDResponse:
|
|
680
682
|
r"""Add a Route to the end of the Routing table
|
|
681
683
|
|
|
682
684
|
Add a Route to the end of the specified Routing table.
|
|
@@ -747,7 +749,9 @@ class RoutesSDK(BaseSDK):
|
|
|
747
749
|
|
|
748
750
|
response_data: Any = None
|
|
749
751
|
if utils.match_response(http_res, "200", "application/json"):
|
|
750
|
-
return unmarshal_json_response(
|
|
752
|
+
return unmarshal_json_response(
|
|
753
|
+
models.CreateRoutesAppendByIDResponse, http_res
|
|
754
|
+
)
|
|
751
755
|
if utils.match_response(http_res, "500", "application/json"):
|
|
752
756
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
753
757
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/samples.py
CHANGED
|
@@ -18,7 +18,7 @@ class Samples(BaseSDK):
|
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
20
20
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
21
|
-
) -> models.
|
|
21
|
+
) -> models.GetOutputSamplesByIDResponse:
|
|
22
22
|
r"""Get sample event data for a Destination
|
|
23
23
|
|
|
24
24
|
Get sample event data for the specified Destination to validate the configuration or test connectivity.
|
|
@@ -85,7 +85,7 @@ class Samples(BaseSDK):
|
|
|
85
85
|
response_data: Any = None
|
|
86
86
|
if utils.match_response(http_res, "200", "application/json"):
|
|
87
87
|
return unmarshal_json_response(
|
|
88
|
-
models.
|
|
88
|
+
models.GetOutputSamplesByIDResponse, http_res
|
|
89
89
|
)
|
|
90
90
|
if utils.match_response(http_res, "500", "application/json"):
|
|
91
91
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -107,7 +107,7 @@ class Samples(BaseSDK):
|
|
|
107
107
|
server_url: Optional[str] = None,
|
|
108
108
|
timeout_ms: Optional[int] = None,
|
|
109
109
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
110
|
-
) -> models.
|
|
110
|
+
) -> models.GetOutputSamplesByIDResponse:
|
|
111
111
|
r"""Get sample event data for a Destination
|
|
112
112
|
|
|
113
113
|
Get sample event data for the specified Destination to validate the configuration or test connectivity.
|
|
@@ -174,7 +174,7 @@ class Samples(BaseSDK):
|
|
|
174
174
|
response_data: Any = None
|
|
175
175
|
if utils.match_response(http_res, "200", "application/json"):
|
|
176
176
|
return unmarshal_json_response(
|
|
177
|
-
models.
|
|
177
|
+
models.GetOutputSamplesByIDResponse, http_res
|
|
178
178
|
)
|
|
179
179
|
if utils.match_response(http_res, "500", "application/json"):
|
|
180
180
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -197,7 +197,7 @@ class Samples(BaseSDK):
|
|
|
197
197
|
server_url: Optional[str] = None,
|
|
198
198
|
timeout_ms: Optional[int] = None,
|
|
199
199
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
200
|
-
) -> models.
|
|
200
|
+
) -> models.CreateOutputTestByIDResponse:
|
|
201
201
|
r"""Send sample event data to a Destination
|
|
202
202
|
|
|
203
203
|
Send sample event data to the specified Destination to validate the configuration or test connectivity.
|
|
@@ -275,7 +275,7 @@ class Samples(BaseSDK):
|
|
|
275
275
|
response_data: Any = None
|
|
276
276
|
if utils.match_response(http_res, "200", "application/json"):
|
|
277
277
|
return unmarshal_json_response(
|
|
278
|
-
models.
|
|
278
|
+
models.CreateOutputTestByIDResponse, http_res
|
|
279
279
|
)
|
|
280
280
|
if utils.match_response(http_res, "500", "application/json"):
|
|
281
281
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -298,7 +298,7 @@ class Samples(BaseSDK):
|
|
|
298
298
|
server_url: Optional[str] = None,
|
|
299
299
|
timeout_ms: Optional[int] = None,
|
|
300
300
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
301
|
-
) -> models.
|
|
301
|
+
) -> models.CreateOutputTestByIDResponse:
|
|
302
302
|
r"""Send sample event data to a Destination
|
|
303
303
|
|
|
304
304
|
Send sample event data to the specified Destination to validate the configuration or test connectivity.
|
|
@@ -376,7 +376,7 @@ class Samples(BaseSDK):
|
|
|
376
376
|
response_data: Any = None
|
|
377
377
|
if utils.match_response(http_res, "200", "application/json"):
|
|
378
378
|
return unmarshal_json_response(
|
|
379
|
-
models.
|
|
379
|
+
models.CreateOutputTestByIDResponse, http_res
|
|
380
380
|
)
|
|
381
381
|
if utils.match_response(http_res, "500", "application/json"):
|
|
382
382
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|