stackit-cdn 2.1.0__tar.gz → 2.3.0__tar.gz
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.
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/PKG-INFO +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/pyproject.toml +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/__init__.py +51 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/api/default_api.py +327 -15
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/api_client.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/configuration.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/exceptions.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/__init__.py +33 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/bucket_backend.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/bucket_backend_create.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/bucket_backend_patch.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/bucket_credentials.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/config.py +8 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/config_backend.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/config_patch.py +8 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/config_patch_backend.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/create_distribution_payload.py +8 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/create_distribution_payload_backend.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/create_distribution_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/custom_domain.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/delete_custom_domain_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/delete_distribution_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/distribution.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/distribution_logs_record.py +11 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/distribution_statistics_record.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/distribution_statistics_record_entry.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/distribution_statistics_record_regions.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/distribution_waf.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/domain.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/domain_status.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/error_details.py +5 -3
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/find_cache_paths_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/find_cache_paths_response_entry.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/generic_json_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_cache_info_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_cache_info_response_history_entry.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_custom_domain_custom_certificate.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_custom_domain_managed_certificate.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_custom_domain_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_custom_domain_response_certificate.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_distribution_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_logs_response.py +1 -1
- stackit_cdn-2.3.0/src/stackit/cdn/models/get_logs_search_filters_response.py +115 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/get_logs_search_filters_response_datacenter_block.py +152 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/get_logs_search_filters_response_datacenter_block_item.py +82 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/get_statistics_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/http_backend.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/http_backend_create.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/http_backend_patch.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/list_distributions_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/list_waf_collections_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/loki_log_sink.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/loki_log_sink_create.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/loki_log_sink_credentials.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/loki_log_sink_patch.py +1 -1
- stackit_cdn-2.3.0/src/stackit/cdn/models/match_condition.py +37 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/matcher.py +93 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/optimizer.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/optimizer_patch.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/patch_distribution_payload.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/patch_distribution_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/purge_cache_payload.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/put_custom_domain_custom_certificate.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/put_custom_domain_managed_certificate.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/put_custom_domain_payload.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/put_custom_domain_payload_certificate.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/put_custom_domain_response.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/put_custom_domain_response_certificate.py +1 -1
- stackit_cdn-2.3.0/src/stackit/cdn/models/redirect_config.py +98 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/redirect_rule.py +135 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/region.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/status_error.py +10 -3
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_config.py +166 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_config_patch.py +163 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/waf_mode.py +2 -2
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_paranoia_level.py +38 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/waf_rule.py +1 -1
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_rule_action.py +37 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/waf_rule_collection.py +1 -1
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/waf_rule_group.py +1 -1
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_status_rule_block.py +92 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_status_rule_block_reason.py +235 -0
- stackit_cdn-2.1.0/src/stackit/cdn/models/waf_status_rule_block.py → stackit_cdn-2.3.0/src/stackit/cdn/models/waf_status_rule_block_reason_directly_defined.py +8 -8
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_status_rule_block_reason_inherited_from_collection.py +84 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_status_rule_block_reason_inherited_from_group.py +84 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_status_rule_block_reason_invalid_waf_type.py +87 -0
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_status_rule_block_reason_never_defined.py +81 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/models/waf_type.py +1 -1
- stackit_cdn-2.3.0/src/stackit/cdn/models/waf_violation.py +97 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/rest.py +1 -1
- stackit_cdn-2.1.0/src/stackit/cdn/models/waf_config.py +0 -91
- stackit_cdn-2.1.0/src/stackit/cdn/models/waf_config_patch.py +0 -85
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/LICENSE.md +0 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/NOTICE.txt +0 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/README.md +0 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/api/__init__.py +0 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/api_response.py +0 -0
- {stackit_cdn-2.1.0 → stackit_cdn-2.3.0}/src/stackit/cdn/py.typed +0 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
API used to create and manage your CDN distributions.
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document:
|
|
10
|
+
The version of the OpenAPI document: 1.0.0
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
13
|
Do not edit the class manually.
|
|
@@ -62,6 +62,9 @@ __all__ = [
|
|
|
62
62
|
"GetCustomDomainResponseCertificate",
|
|
63
63
|
"GetDistributionResponse",
|
|
64
64
|
"GetLogsResponse",
|
|
65
|
+
"GetLogsSearchFiltersResponse",
|
|
66
|
+
"GetLogsSearchFiltersResponseDatacenterBlock",
|
|
67
|
+
"GetLogsSearchFiltersResponseDatacenterBlockItem",
|
|
65
68
|
"GetStatisticsResponse",
|
|
66
69
|
"HttpBackend",
|
|
67
70
|
"HttpBackendCreate",
|
|
@@ -72,6 +75,8 @@ __all__ = [
|
|
|
72
75
|
"LokiLogSinkCreate",
|
|
73
76
|
"LokiLogSinkCredentials",
|
|
74
77
|
"LokiLogSinkPatch",
|
|
78
|
+
"MatchCondition",
|
|
79
|
+
"Matcher",
|
|
75
80
|
"Optimizer",
|
|
76
81
|
"OptimizerPatch",
|
|
77
82
|
"PatchDistributionPayload",
|
|
@@ -83,15 +88,26 @@ __all__ = [
|
|
|
83
88
|
"PutCustomDomainPayloadCertificate",
|
|
84
89
|
"PutCustomDomainResponse",
|
|
85
90
|
"PutCustomDomainResponseCertificate",
|
|
91
|
+
"RedirectConfig",
|
|
92
|
+
"RedirectRule",
|
|
86
93
|
"Region",
|
|
87
94
|
"StatusError",
|
|
95
|
+
"WAFRuleAction",
|
|
96
|
+
"WAFViolation",
|
|
88
97
|
"WafConfig",
|
|
89
98
|
"WafConfigPatch",
|
|
90
99
|
"WafMode",
|
|
100
|
+
"WafParanoiaLevel",
|
|
91
101
|
"WafRule",
|
|
92
102
|
"WafRuleCollection",
|
|
93
103
|
"WafRuleGroup",
|
|
94
104
|
"WafStatusRuleBlock",
|
|
105
|
+
"WafStatusRuleBlockReason",
|
|
106
|
+
"WafStatusRuleBlockReasonDirectlyDefined",
|
|
107
|
+
"WafStatusRuleBlockReasonInheritedFromCollection",
|
|
108
|
+
"WafStatusRuleBlockReasonInheritedFromGroup",
|
|
109
|
+
"WafStatusRuleBlockReasonInvalidWafType",
|
|
110
|
+
"WafStatusRuleBlockReasonNeverDefined",
|
|
95
111
|
"WafType",
|
|
96
112
|
]
|
|
97
113
|
|
|
@@ -188,6 +204,15 @@ from stackit.cdn.models.get_distribution_response import (
|
|
|
188
204
|
GetDistributionResponse as GetDistributionResponse,
|
|
189
205
|
)
|
|
190
206
|
from stackit.cdn.models.get_logs_response import GetLogsResponse as GetLogsResponse
|
|
207
|
+
from stackit.cdn.models.get_logs_search_filters_response import (
|
|
208
|
+
GetLogsSearchFiltersResponse as GetLogsSearchFiltersResponse,
|
|
209
|
+
)
|
|
210
|
+
from stackit.cdn.models.get_logs_search_filters_response_datacenter_block import (
|
|
211
|
+
GetLogsSearchFiltersResponseDatacenterBlock as GetLogsSearchFiltersResponseDatacenterBlock,
|
|
212
|
+
)
|
|
213
|
+
from stackit.cdn.models.get_logs_search_filters_response_datacenter_block_item import (
|
|
214
|
+
GetLogsSearchFiltersResponseDatacenterBlockItem as GetLogsSearchFiltersResponseDatacenterBlockItem,
|
|
215
|
+
)
|
|
191
216
|
from stackit.cdn.models.get_statistics_response import (
|
|
192
217
|
GetStatisticsResponse as GetStatisticsResponse,
|
|
193
218
|
)
|
|
@@ -210,6 +235,8 @@ from stackit.cdn.models.loki_log_sink_credentials import (
|
|
|
210
235
|
LokiLogSinkCredentials as LokiLogSinkCredentials,
|
|
211
236
|
)
|
|
212
237
|
from stackit.cdn.models.loki_log_sink_patch import LokiLogSinkPatch as LokiLogSinkPatch
|
|
238
|
+
from stackit.cdn.models.match_condition import MatchCondition as MatchCondition
|
|
239
|
+
from stackit.cdn.models.matcher import Matcher as Matcher
|
|
213
240
|
from stackit.cdn.models.optimizer import Optimizer as Optimizer
|
|
214
241
|
from stackit.cdn.models.optimizer_patch import OptimizerPatch as OptimizerPatch
|
|
215
242
|
from stackit.cdn.models.patch_distribution_payload import (
|
|
@@ -239,12 +266,16 @@ from stackit.cdn.models.put_custom_domain_response import (
|
|
|
239
266
|
from stackit.cdn.models.put_custom_domain_response_certificate import (
|
|
240
267
|
PutCustomDomainResponseCertificate as PutCustomDomainResponseCertificate,
|
|
241
268
|
)
|
|
269
|
+
from stackit.cdn.models.redirect_config import RedirectConfig as RedirectConfig
|
|
270
|
+
from stackit.cdn.models.redirect_rule import RedirectRule as RedirectRule
|
|
242
271
|
from stackit.cdn.models.region import Region as Region
|
|
243
272
|
from stackit.cdn.models.status_error import StatusError as StatusError
|
|
244
273
|
from stackit.cdn.models.waf_config import WafConfig as WafConfig
|
|
245
274
|
from stackit.cdn.models.waf_config_patch import WafConfigPatch as WafConfigPatch
|
|
246
275
|
from stackit.cdn.models.waf_mode import WafMode as WafMode
|
|
276
|
+
from stackit.cdn.models.waf_paranoia_level import WafParanoiaLevel as WafParanoiaLevel
|
|
247
277
|
from stackit.cdn.models.waf_rule import WafRule as WafRule
|
|
278
|
+
from stackit.cdn.models.waf_rule_action import WAFRuleAction as WAFRuleAction
|
|
248
279
|
from stackit.cdn.models.waf_rule_collection import (
|
|
249
280
|
WafRuleCollection as WafRuleCollection,
|
|
250
281
|
)
|
|
@@ -252,4 +283,23 @@ from stackit.cdn.models.waf_rule_group import WafRuleGroup as WafRuleGroup
|
|
|
252
283
|
from stackit.cdn.models.waf_status_rule_block import (
|
|
253
284
|
WafStatusRuleBlock as WafStatusRuleBlock,
|
|
254
285
|
)
|
|
286
|
+
from stackit.cdn.models.waf_status_rule_block_reason import (
|
|
287
|
+
WafStatusRuleBlockReason as WafStatusRuleBlockReason,
|
|
288
|
+
)
|
|
289
|
+
from stackit.cdn.models.waf_status_rule_block_reason_directly_defined import (
|
|
290
|
+
WafStatusRuleBlockReasonDirectlyDefined as WafStatusRuleBlockReasonDirectlyDefined,
|
|
291
|
+
)
|
|
292
|
+
from stackit.cdn.models.waf_status_rule_block_reason_inherited_from_collection import (
|
|
293
|
+
WafStatusRuleBlockReasonInheritedFromCollection as WafStatusRuleBlockReasonInheritedFromCollection,
|
|
294
|
+
)
|
|
295
|
+
from stackit.cdn.models.waf_status_rule_block_reason_inherited_from_group import (
|
|
296
|
+
WafStatusRuleBlockReasonInheritedFromGroup as WafStatusRuleBlockReasonInheritedFromGroup,
|
|
297
|
+
)
|
|
298
|
+
from stackit.cdn.models.waf_status_rule_block_reason_invalid_waf_type import (
|
|
299
|
+
WafStatusRuleBlockReasonInvalidWafType as WafStatusRuleBlockReasonInvalidWafType,
|
|
300
|
+
)
|
|
301
|
+
from stackit.cdn.models.waf_status_rule_block_reason_never_defined import (
|
|
302
|
+
WafStatusRuleBlockReasonNeverDefined as WafStatusRuleBlockReasonNeverDefined,
|
|
303
|
+
)
|
|
255
304
|
from stackit.cdn.models.waf_type import WafType as WafType
|
|
305
|
+
from stackit.cdn.models.waf_violation import WAFViolation as WAFViolation
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
API used to create and manage your CDN distributions.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -36,6 +36,9 @@ from stackit.cdn.models.get_cache_info_response import GetCacheInfoResponse
|
|
|
36
36
|
from stackit.cdn.models.get_custom_domain_response import GetCustomDomainResponse
|
|
37
37
|
from stackit.cdn.models.get_distribution_response import GetDistributionResponse
|
|
38
38
|
from stackit.cdn.models.get_logs_response import GetLogsResponse
|
|
39
|
+
from stackit.cdn.models.get_logs_search_filters_response import (
|
|
40
|
+
GetLogsSearchFiltersResponse,
|
|
41
|
+
)
|
|
39
42
|
from stackit.cdn.models.get_statistics_response import GetStatisticsResponse
|
|
40
43
|
from stackit.cdn.models.list_distributions_response import ListDistributionsResponse
|
|
41
44
|
from stackit.cdn.models.list_waf_collections_response import ListWafCollectionsResponse
|
|
@@ -44,6 +47,7 @@ from stackit.cdn.models.patch_distribution_response import PatchDistributionResp
|
|
|
44
47
|
from stackit.cdn.models.purge_cache_payload import PurgeCachePayload
|
|
45
48
|
from stackit.cdn.models.put_custom_domain_payload import PutCustomDomainPayload
|
|
46
49
|
from stackit.cdn.models.put_custom_domain_response import PutCustomDomainResponse
|
|
50
|
+
from stackit.cdn.models.waf_rule_action import WAFRuleAction
|
|
47
51
|
from stackit.cdn.rest import RESTResponseType
|
|
48
52
|
|
|
49
53
|
|
|
@@ -308,7 +312,7 @@ class DefaultApi:
|
|
|
308
312
|
|
|
309
313
|
return self.api_client.param_serialize(
|
|
310
314
|
method="POST",
|
|
311
|
-
resource_path="/
|
|
315
|
+
resource_path="/v1/projects/{projectId}/distributions",
|
|
312
316
|
path_params=_path_params,
|
|
313
317
|
query_params=_query_params,
|
|
314
318
|
header_params=_header_params,
|
|
@@ -590,7 +594,7 @@ class DefaultApi:
|
|
|
590
594
|
|
|
591
595
|
return self.api_client.param_serialize(
|
|
592
596
|
method="DELETE",
|
|
593
|
-
resource_path="/
|
|
597
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
594
598
|
path_params=_path_params,
|
|
595
599
|
query_params=_query_params,
|
|
596
600
|
header_params=_header_params,
|
|
@@ -872,7 +876,7 @@ class DefaultApi:
|
|
|
872
876
|
|
|
873
877
|
return self.api_client.param_serialize(
|
|
874
878
|
method="DELETE",
|
|
875
|
-
resource_path="/
|
|
879
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}",
|
|
876
880
|
path_params=_path_params,
|
|
877
881
|
query_params=_query_params,
|
|
878
882
|
header_params=_header_params,
|
|
@@ -1139,7 +1143,7 @@ class DefaultApi:
|
|
|
1139
1143
|
|
|
1140
1144
|
return self.api_client.param_serialize(
|
|
1141
1145
|
method="GET",
|
|
1142
|
-
resource_path="/
|
|
1146
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/cache/paths",
|
|
1143
1147
|
path_params=_path_params,
|
|
1144
1148
|
query_params=_query_params,
|
|
1145
1149
|
header_params=_header_params,
|
|
@@ -1406,7 +1410,7 @@ class DefaultApi:
|
|
|
1406
1410
|
|
|
1407
1411
|
return self.api_client.param_serialize(
|
|
1408
1412
|
method="GET",
|
|
1409
|
-
resource_path="/
|
|
1413
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/cache",
|
|
1410
1414
|
path_params=_path_params,
|
|
1411
1415
|
query_params=_query_params,
|
|
1412
1416
|
header_params=_header_params,
|
|
@@ -1674,7 +1678,7 @@ class DefaultApi:
|
|
|
1674
1678
|
|
|
1675
1679
|
return self.api_client.param_serialize(
|
|
1676
1680
|
method="GET",
|
|
1677
|
-
resource_path="/
|
|
1681
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
1678
1682
|
path_params=_path_params,
|
|
1679
1683
|
query_params=_query_params,
|
|
1680
1684
|
header_params=_header_params,
|
|
@@ -1959,7 +1963,7 @@ class DefaultApi:
|
|
|
1959
1963
|
|
|
1960
1964
|
return self.api_client.param_serialize(
|
|
1961
1965
|
method="GET",
|
|
1962
|
-
resource_path="/
|
|
1966
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}",
|
|
1963
1967
|
path_params=_path_params,
|
|
1964
1968
|
query_params=_query_params,
|
|
1965
1969
|
header_params=_header_params,
|
|
@@ -2005,6 +2009,12 @@ class DefaultApi:
|
|
|
2005
2009
|
),
|
|
2006
2010
|
] = None,
|
|
2007
2011
|
sort_order: Optional[StrictStr] = None,
|
|
2012
|
+
waf_action: Annotated[
|
|
2013
|
+
Optional[WAFRuleAction],
|
|
2014
|
+
Field(
|
|
2015
|
+
description="If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked "
|
|
2016
|
+
),
|
|
2017
|
+
] = None,
|
|
2008
2018
|
data_center_region: Annotated[
|
|
2009
2019
|
Optional[StrictStr],
|
|
2010
2020
|
Field(
|
|
@@ -2058,6 +2068,8 @@ class DefaultApi:
|
|
|
2058
2068
|
:type sort_by: str
|
|
2059
2069
|
:param sort_order:
|
|
2060
2070
|
:type sort_order: str
|
|
2071
|
+
:param waf_action: If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked
|
|
2072
|
+
:type waf_action: WAFRuleAction
|
|
2061
2073
|
:param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
|
|
2062
2074
|
:type data_center_region: str
|
|
2063
2075
|
:param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
|
|
@@ -2097,6 +2109,7 @@ class DefaultApi:
|
|
|
2097
2109
|
page_identifier=page_identifier,
|
|
2098
2110
|
sort_by=sort_by,
|
|
2099
2111
|
sort_order=sort_order,
|
|
2112
|
+
waf_action=waf_action,
|
|
2100
2113
|
data_center_region=data_center_region,
|
|
2101
2114
|
request_country_code=request_country_code,
|
|
2102
2115
|
status_code=status_code,
|
|
@@ -2153,6 +2166,12 @@ class DefaultApi:
|
|
|
2153
2166
|
),
|
|
2154
2167
|
] = None,
|
|
2155
2168
|
sort_order: Optional[StrictStr] = None,
|
|
2169
|
+
waf_action: Annotated[
|
|
2170
|
+
Optional[WAFRuleAction],
|
|
2171
|
+
Field(
|
|
2172
|
+
description="If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked "
|
|
2173
|
+
),
|
|
2174
|
+
] = None,
|
|
2156
2175
|
data_center_region: Annotated[
|
|
2157
2176
|
Optional[StrictStr],
|
|
2158
2177
|
Field(
|
|
@@ -2206,6 +2225,8 @@ class DefaultApi:
|
|
|
2206
2225
|
:type sort_by: str
|
|
2207
2226
|
:param sort_order:
|
|
2208
2227
|
:type sort_order: str
|
|
2228
|
+
:param waf_action: If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked
|
|
2229
|
+
:type waf_action: WAFRuleAction
|
|
2209
2230
|
:param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
|
|
2210
2231
|
:type data_center_region: str
|
|
2211
2232
|
:param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
|
|
@@ -2245,6 +2266,7 @@ class DefaultApi:
|
|
|
2245
2266
|
page_identifier=page_identifier,
|
|
2246
2267
|
sort_by=sort_by,
|
|
2247
2268
|
sort_order=sort_order,
|
|
2269
|
+
waf_action=waf_action,
|
|
2248
2270
|
data_center_region=data_center_region,
|
|
2249
2271
|
request_country_code=request_country_code,
|
|
2250
2272
|
status_code=status_code,
|
|
@@ -2301,6 +2323,12 @@ class DefaultApi:
|
|
|
2301
2323
|
),
|
|
2302
2324
|
] = None,
|
|
2303
2325
|
sort_order: Optional[StrictStr] = None,
|
|
2326
|
+
waf_action: Annotated[
|
|
2327
|
+
Optional[WAFRuleAction],
|
|
2328
|
+
Field(
|
|
2329
|
+
description="If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked "
|
|
2330
|
+
),
|
|
2331
|
+
] = None,
|
|
2304
2332
|
data_center_region: Annotated[
|
|
2305
2333
|
Optional[StrictStr],
|
|
2306
2334
|
Field(
|
|
@@ -2354,6 +2382,8 @@ class DefaultApi:
|
|
|
2354
2382
|
:type sort_by: str
|
|
2355
2383
|
:param sort_order:
|
|
2356
2384
|
:type sort_order: str
|
|
2385
|
+
:param waf_action: If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked
|
|
2386
|
+
:type waf_action: WAFRuleAction
|
|
2357
2387
|
:param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
|
|
2358
2388
|
:type data_center_region: str
|
|
2359
2389
|
:param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
|
|
@@ -2393,6 +2423,7 @@ class DefaultApi:
|
|
|
2393
2423
|
page_identifier=page_identifier,
|
|
2394
2424
|
sort_by=sort_by,
|
|
2395
2425
|
sort_order=sort_order,
|
|
2426
|
+
waf_action=waf_action,
|
|
2396
2427
|
data_center_region=data_center_region,
|
|
2397
2428
|
request_country_code=request_country_code,
|
|
2398
2429
|
status_code=status_code,
|
|
@@ -2422,6 +2453,7 @@ class DefaultApi:
|
|
|
2422
2453
|
page_identifier,
|
|
2423
2454
|
sort_by,
|
|
2424
2455
|
sort_order,
|
|
2456
|
+
waf_action,
|
|
2425
2457
|
data_center_region,
|
|
2426
2458
|
request_country_code,
|
|
2427
2459
|
status_code,
|
|
@@ -2477,6 +2509,10 @@ class DefaultApi:
|
|
|
2477
2509
|
|
|
2478
2510
|
_query_params.append(("sortOrder", sort_order))
|
|
2479
2511
|
|
|
2512
|
+
if waf_action is not None:
|
|
2513
|
+
|
|
2514
|
+
_query_params.append(("wafAction", waf_action.value))
|
|
2515
|
+
|
|
2480
2516
|
if data_center_region is not None:
|
|
2481
2517
|
|
|
2482
2518
|
_query_params.append(("dataCenterRegion", data_center_region))
|
|
@@ -2506,7 +2542,283 @@ class DefaultApi:
|
|
|
2506
2542
|
|
|
2507
2543
|
return self.api_client.param_serialize(
|
|
2508
2544
|
method="GET",
|
|
2509
|
-
resource_path="/
|
|
2545
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/logs",
|
|
2546
|
+
path_params=_path_params,
|
|
2547
|
+
query_params=_query_params,
|
|
2548
|
+
header_params=_header_params,
|
|
2549
|
+
body=_body_params,
|
|
2550
|
+
post_params=_form_params,
|
|
2551
|
+
files=_files,
|
|
2552
|
+
auth_settings=_auth_settings,
|
|
2553
|
+
collection_formats=_collection_formats,
|
|
2554
|
+
_host=_host,
|
|
2555
|
+
_request_auth=_request_auth,
|
|
2556
|
+
)
|
|
2557
|
+
|
|
2558
|
+
@validate_call
|
|
2559
|
+
def get_logs_search_filters(
|
|
2560
|
+
self,
|
|
2561
|
+
project_id: Annotated[StrictStr, Field(description="Your STACKIT Project ID.")],
|
|
2562
|
+
distribution_id: Annotated[StrictStr, Field(description="Your CDN distribution ID.")],
|
|
2563
|
+
filter: Annotated[
|
|
2564
|
+
Optional[StrictStr],
|
|
2565
|
+
Field(description="Optional search string. Will search the **values** for the text input."),
|
|
2566
|
+
] = None,
|
|
2567
|
+
_request_timeout: Union[
|
|
2568
|
+
None,
|
|
2569
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2570
|
+
Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]],
|
|
2571
|
+
] = None,
|
|
2572
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2573
|
+
_content_type: Optional[StrictStr] = None,
|
|
2574
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2575
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2576
|
+
) -> GetLogsSearchFiltersResponse:
|
|
2577
|
+
"""Get relevant search filters for this distribution based on user input.
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
:param project_id: Your STACKIT Project ID. (required)
|
|
2581
|
+
:type project_id: str
|
|
2582
|
+
:param distribution_id: Your CDN distribution ID. (required)
|
|
2583
|
+
:type distribution_id: str
|
|
2584
|
+
:param filter: Optional search string. Will search the **values** for the text input.
|
|
2585
|
+
:type filter: str
|
|
2586
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2587
|
+
number provided, it will be total request
|
|
2588
|
+
timeout. It can also be a pair (tuple) of
|
|
2589
|
+
(connection, read) timeouts.
|
|
2590
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2591
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2592
|
+
request; this effectively ignores the
|
|
2593
|
+
authentication in the spec for a single request.
|
|
2594
|
+
:type _request_auth: dict, optional
|
|
2595
|
+
:param _content_type: force content-type for the request.
|
|
2596
|
+
:type _content_type: str, Optional
|
|
2597
|
+
:param _headers: set to override the headers for a single
|
|
2598
|
+
request; this effectively ignores the headers
|
|
2599
|
+
in the spec for a single request.
|
|
2600
|
+
:type _headers: dict, optional
|
|
2601
|
+
:param _host_index: set to override the host_index for a single
|
|
2602
|
+
request; this effectively ignores the host_index
|
|
2603
|
+
in the spec for a single request.
|
|
2604
|
+
:type _host_index: int, optional
|
|
2605
|
+
:return: Returns the result object.
|
|
2606
|
+
""" # noqa: E501
|
|
2607
|
+
|
|
2608
|
+
_param = self._get_logs_search_filters_serialize(
|
|
2609
|
+
project_id=project_id,
|
|
2610
|
+
distribution_id=distribution_id,
|
|
2611
|
+
filter=filter,
|
|
2612
|
+
_request_auth=_request_auth,
|
|
2613
|
+
_content_type=_content_type,
|
|
2614
|
+
_headers=_headers,
|
|
2615
|
+
_host_index=_host_index,
|
|
2616
|
+
)
|
|
2617
|
+
|
|
2618
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2619
|
+
"200": "GetLogsSearchFiltersResponse",
|
|
2620
|
+
"400": "GenericJsonResponse",
|
|
2621
|
+
"401": "str",
|
|
2622
|
+
"422": "GenericJsonResponse",
|
|
2623
|
+
"500": "GenericJsonResponse",
|
|
2624
|
+
}
|
|
2625
|
+
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
2626
|
+
response_data.read()
|
|
2627
|
+
return self.api_client.response_deserialize(
|
|
2628
|
+
response_data=response_data,
|
|
2629
|
+
response_types_map=_response_types_map,
|
|
2630
|
+
).data
|
|
2631
|
+
|
|
2632
|
+
@validate_call
|
|
2633
|
+
def get_logs_search_filters_with_http_info(
|
|
2634
|
+
self,
|
|
2635
|
+
project_id: Annotated[StrictStr, Field(description="Your STACKIT Project ID.")],
|
|
2636
|
+
distribution_id: Annotated[StrictStr, Field(description="Your CDN distribution ID.")],
|
|
2637
|
+
filter: Annotated[
|
|
2638
|
+
Optional[StrictStr],
|
|
2639
|
+
Field(description="Optional search string. Will search the **values** for the text input."),
|
|
2640
|
+
] = None,
|
|
2641
|
+
_request_timeout: Union[
|
|
2642
|
+
None,
|
|
2643
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2644
|
+
Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]],
|
|
2645
|
+
] = None,
|
|
2646
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2647
|
+
_content_type: Optional[StrictStr] = None,
|
|
2648
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2649
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2650
|
+
) -> ApiResponse[GetLogsSearchFiltersResponse]:
|
|
2651
|
+
"""Get relevant search filters for this distribution based on user input.
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
:param project_id: Your STACKIT Project ID. (required)
|
|
2655
|
+
:type project_id: str
|
|
2656
|
+
:param distribution_id: Your CDN distribution ID. (required)
|
|
2657
|
+
:type distribution_id: str
|
|
2658
|
+
:param filter: Optional search string. Will search the **values** for the text input.
|
|
2659
|
+
:type filter: str
|
|
2660
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2661
|
+
number provided, it will be total request
|
|
2662
|
+
timeout. It can also be a pair (tuple) of
|
|
2663
|
+
(connection, read) timeouts.
|
|
2664
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2665
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2666
|
+
request; this effectively ignores the
|
|
2667
|
+
authentication in the spec for a single request.
|
|
2668
|
+
:type _request_auth: dict, optional
|
|
2669
|
+
:param _content_type: force content-type for the request.
|
|
2670
|
+
:type _content_type: str, Optional
|
|
2671
|
+
:param _headers: set to override the headers for a single
|
|
2672
|
+
request; this effectively ignores the headers
|
|
2673
|
+
in the spec for a single request.
|
|
2674
|
+
:type _headers: dict, optional
|
|
2675
|
+
:param _host_index: set to override the host_index for a single
|
|
2676
|
+
request; this effectively ignores the host_index
|
|
2677
|
+
in the spec for a single request.
|
|
2678
|
+
:type _host_index: int, optional
|
|
2679
|
+
:return: Returns the result object.
|
|
2680
|
+
""" # noqa: E501
|
|
2681
|
+
|
|
2682
|
+
_param = self._get_logs_search_filters_serialize(
|
|
2683
|
+
project_id=project_id,
|
|
2684
|
+
distribution_id=distribution_id,
|
|
2685
|
+
filter=filter,
|
|
2686
|
+
_request_auth=_request_auth,
|
|
2687
|
+
_content_type=_content_type,
|
|
2688
|
+
_headers=_headers,
|
|
2689
|
+
_host_index=_host_index,
|
|
2690
|
+
)
|
|
2691
|
+
|
|
2692
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2693
|
+
"200": "GetLogsSearchFiltersResponse",
|
|
2694
|
+
"400": "GenericJsonResponse",
|
|
2695
|
+
"401": "str",
|
|
2696
|
+
"422": "GenericJsonResponse",
|
|
2697
|
+
"500": "GenericJsonResponse",
|
|
2698
|
+
}
|
|
2699
|
+
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
2700
|
+
response_data.read()
|
|
2701
|
+
return self.api_client.response_deserialize(
|
|
2702
|
+
response_data=response_data,
|
|
2703
|
+
response_types_map=_response_types_map,
|
|
2704
|
+
)
|
|
2705
|
+
|
|
2706
|
+
@validate_call
|
|
2707
|
+
def get_logs_search_filters_without_preload_content(
|
|
2708
|
+
self,
|
|
2709
|
+
project_id: Annotated[StrictStr, Field(description="Your STACKIT Project ID.")],
|
|
2710
|
+
distribution_id: Annotated[StrictStr, Field(description="Your CDN distribution ID.")],
|
|
2711
|
+
filter: Annotated[
|
|
2712
|
+
Optional[StrictStr],
|
|
2713
|
+
Field(description="Optional search string. Will search the **values** for the text input."),
|
|
2714
|
+
] = None,
|
|
2715
|
+
_request_timeout: Union[
|
|
2716
|
+
None,
|
|
2717
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2718
|
+
Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]],
|
|
2719
|
+
] = None,
|
|
2720
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2721
|
+
_content_type: Optional[StrictStr] = None,
|
|
2722
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2723
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2724
|
+
) -> RESTResponseType:
|
|
2725
|
+
"""Get relevant search filters for this distribution based on user input.
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
:param project_id: Your STACKIT Project ID. (required)
|
|
2729
|
+
:type project_id: str
|
|
2730
|
+
:param distribution_id: Your CDN distribution ID. (required)
|
|
2731
|
+
:type distribution_id: str
|
|
2732
|
+
:param filter: Optional search string. Will search the **values** for the text input.
|
|
2733
|
+
:type filter: str
|
|
2734
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2735
|
+
number provided, it will be total request
|
|
2736
|
+
timeout. It can also be a pair (tuple) of
|
|
2737
|
+
(connection, read) timeouts.
|
|
2738
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2739
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2740
|
+
request; this effectively ignores the
|
|
2741
|
+
authentication in the spec for a single request.
|
|
2742
|
+
:type _request_auth: dict, optional
|
|
2743
|
+
:param _content_type: force content-type for the request.
|
|
2744
|
+
:type _content_type: str, Optional
|
|
2745
|
+
:param _headers: set to override the headers for a single
|
|
2746
|
+
request; this effectively ignores the headers
|
|
2747
|
+
in the spec for a single request.
|
|
2748
|
+
:type _headers: dict, optional
|
|
2749
|
+
:param _host_index: set to override the host_index for a single
|
|
2750
|
+
request; this effectively ignores the host_index
|
|
2751
|
+
in the spec for a single request.
|
|
2752
|
+
:type _host_index: int, optional
|
|
2753
|
+
:return: Returns the result object.
|
|
2754
|
+
""" # noqa: E501
|
|
2755
|
+
|
|
2756
|
+
_param = self._get_logs_search_filters_serialize(
|
|
2757
|
+
project_id=project_id,
|
|
2758
|
+
distribution_id=distribution_id,
|
|
2759
|
+
filter=filter,
|
|
2760
|
+
_request_auth=_request_auth,
|
|
2761
|
+
_content_type=_content_type,
|
|
2762
|
+
_headers=_headers,
|
|
2763
|
+
_host_index=_host_index,
|
|
2764
|
+
)
|
|
2765
|
+
|
|
2766
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2767
|
+
"200": "GetLogsSearchFiltersResponse",
|
|
2768
|
+
"400": "GenericJsonResponse",
|
|
2769
|
+
"401": "str",
|
|
2770
|
+
"422": "GenericJsonResponse",
|
|
2771
|
+
"500": "GenericJsonResponse",
|
|
2772
|
+
}
|
|
2773
|
+
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
2774
|
+
return response_data.response
|
|
2775
|
+
|
|
2776
|
+
def _get_logs_search_filters_serialize(
|
|
2777
|
+
self,
|
|
2778
|
+
project_id,
|
|
2779
|
+
distribution_id,
|
|
2780
|
+
filter,
|
|
2781
|
+
_request_auth,
|
|
2782
|
+
_content_type,
|
|
2783
|
+
_headers,
|
|
2784
|
+
_host_index,
|
|
2785
|
+
) -> RequestSerialized:
|
|
2786
|
+
|
|
2787
|
+
_host = None
|
|
2788
|
+
|
|
2789
|
+
_collection_formats: Dict[str, str] = {}
|
|
2790
|
+
|
|
2791
|
+
_path_params: Dict[str, str] = {}
|
|
2792
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2793
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2794
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2795
|
+
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
|
|
2796
|
+
_body_params: Optional[bytes] = None
|
|
2797
|
+
|
|
2798
|
+
# process the path parameters
|
|
2799
|
+
if project_id is not None:
|
|
2800
|
+
_path_params["projectId"] = project_id
|
|
2801
|
+
if distribution_id is not None:
|
|
2802
|
+
_path_params["distributionId"] = distribution_id
|
|
2803
|
+
# process the query parameters
|
|
2804
|
+
if filter is not None:
|
|
2805
|
+
|
|
2806
|
+
_query_params.append(("filter", filter))
|
|
2807
|
+
|
|
2808
|
+
# process the header parameters
|
|
2809
|
+
# process the form parameters
|
|
2810
|
+
# process the body parameter
|
|
2811
|
+
|
|
2812
|
+
# set the HTTP header `Accept`
|
|
2813
|
+
if "Accept" not in _header_params:
|
|
2814
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json", "text/plain"])
|
|
2815
|
+
|
|
2816
|
+
# authentication setting
|
|
2817
|
+
_auth_settings: List[str] = []
|
|
2818
|
+
|
|
2819
|
+
return self.api_client.param_serialize(
|
|
2820
|
+
method="GET",
|
|
2821
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/logs/searchFilters",
|
|
2510
2822
|
path_params=_path_params,
|
|
2511
2823
|
query_params=_query_params,
|
|
2512
2824
|
header_params=_header_params,
|
|
@@ -2847,7 +3159,7 @@ class DefaultApi:
|
|
|
2847
3159
|
|
|
2848
3160
|
return self.api_client.param_serialize(
|
|
2849
3161
|
method="GET",
|
|
2850
|
-
resource_path="/
|
|
3162
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/statistics",
|
|
2851
3163
|
path_params=_path_params,
|
|
2852
3164
|
query_params=_query_params,
|
|
2853
3165
|
header_params=_header_params,
|
|
@@ -3227,7 +3539,7 @@ class DefaultApi:
|
|
|
3227
3539
|
|
|
3228
3540
|
return self.api_client.param_serialize(
|
|
3229
3541
|
method="GET",
|
|
3230
|
-
resource_path="/
|
|
3542
|
+
resource_path="/v1/projects/{projectId}/distributions",
|
|
3231
3543
|
path_params=_path_params,
|
|
3232
3544
|
query_params=_query_params,
|
|
3233
3545
|
header_params=_header_params,
|
|
@@ -3462,7 +3774,7 @@ class DefaultApi:
|
|
|
3462
3774
|
|
|
3463
3775
|
return self.api_client.param_serialize(
|
|
3464
3776
|
method="GET",
|
|
3465
|
-
resource_path="/
|
|
3777
|
+
resource_path="/v1/projects/{projectId}/waf/collections",
|
|
3466
3778
|
path_params=_path_params,
|
|
3467
3779
|
query_params=_query_params,
|
|
3468
3780
|
header_params=_header_params,
|
|
@@ -3735,7 +4047,7 @@ class DefaultApi:
|
|
|
3735
4047
|
|
|
3736
4048
|
return self.api_client.param_serialize(
|
|
3737
4049
|
method="PATCH",
|
|
3738
|
-
resource_path="/
|
|
4050
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}",
|
|
3739
4051
|
path_params=_path_params,
|
|
3740
4052
|
query_params=_query_params,
|
|
3741
4053
|
header_params=_header_params,
|
|
@@ -4008,7 +4320,7 @@ class DefaultApi:
|
|
|
4008
4320
|
|
|
4009
4321
|
return self.api_client.param_serialize(
|
|
4010
4322
|
method="POST",
|
|
4011
|
-
resource_path="/
|
|
4323
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/cache/purge",
|
|
4012
4324
|
path_params=_path_params,
|
|
4013
4325
|
query_params=_query_params,
|
|
4014
4326
|
header_params=_header_params,
|
|
@@ -4296,7 +4608,7 @@ class DefaultApi:
|
|
|
4296
4608
|
|
|
4297
4609
|
return self.api_client.param_serialize(
|
|
4298
4610
|
method="PUT",
|
|
4299
|
-
resource_path="/
|
|
4611
|
+
resource_path="/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
4300
4612
|
path_params=_path_params,
|
|
4301
4613
|
query_params=_query_params,
|
|
4302
4614
|
header_params=_header_params,
|