@scaleway/sdk-edge-services 2.4.1 → 2.6.0
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.
- package/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +2 -4
- package/dist/v1beta1/api.gen.js +574 -860
- package/dist/v1beta1/content.gen.js +5 -10
- package/dist/v1beta1/index.gen.js +62 -60
- package/dist/v1beta1/marshalling.gen.js +563 -845
- package/dist/v1beta1/types.gen.d.ts +13 -3
- package/dist/v1beta1/validation-rules.gen.js +19 -23
- package/package.json +4 -4
|
@@ -1,935 +1,653 @@
|
|
|
1
|
-
import { resolveOneOf,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
const unmarshalScalewayServerlessContainerBackendConfig = (data) => {
|
|
40
|
-
if (!isJSONObject(data)) {
|
|
41
|
-
throw new TypeError(
|
|
42
|
-
`Unmarshalling the type 'ScalewayServerlessContainerBackendConfig' failed as data isn't a dictionary.`
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
containerId: data.container_id,
|
|
47
|
-
region: data.region
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
const unmarshalScalewayServerlessFunctionBackendConfig = (data) => {
|
|
51
|
-
if (!isJSONObject(data)) {
|
|
52
|
-
throw new TypeError(
|
|
53
|
-
`Unmarshalling the type 'ScalewayServerlessFunctionBackendConfig' failed as data isn't a dictionary.`
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
functionId: data.function_id,
|
|
58
|
-
region: data.region
|
|
59
|
-
};
|
|
1
|
+
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalMapOfObject, unmarshalMoney } from "@scaleway/sdk-client";
|
|
2
|
+
var unmarshalScalewayLb = (data) => {
|
|
3
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ScalewayLb' failed as data isn't a dictionary.`);
|
|
4
|
+
return {
|
|
5
|
+
domainName: data.domain_name,
|
|
6
|
+
frontendId: data.frontend_id,
|
|
7
|
+
hasWebsocket: data.has_websocket,
|
|
8
|
+
id: data.id,
|
|
9
|
+
isSsl: data.is_ssl,
|
|
10
|
+
zone: data.zone
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
var unmarshalScalewayLbBackendConfig = (data) => {
|
|
14
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ScalewayLbBackendConfig' failed as data isn't a dictionary.`);
|
|
15
|
+
return { lbs: unmarshalArrayOfObject(data.lbs, unmarshalScalewayLb) };
|
|
16
|
+
};
|
|
17
|
+
var unmarshalScalewayS3BackendConfig = (data) => {
|
|
18
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ScalewayS3BackendConfig' failed as data isn't a dictionary.`);
|
|
19
|
+
return {
|
|
20
|
+
bucketName: data.bucket_name,
|
|
21
|
+
bucketRegion: data.bucket_region,
|
|
22
|
+
isWebsite: data.is_website
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
var unmarshalScalewayServerlessContainerBackendConfig = (data) => {
|
|
26
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ScalewayServerlessContainerBackendConfig' failed as data isn't a dictionary.`);
|
|
27
|
+
return {
|
|
28
|
+
containerId: data.container_id,
|
|
29
|
+
region: data.region
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
var unmarshalScalewayServerlessFunctionBackendConfig = (data) => {
|
|
33
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ScalewayServerlessFunctionBackendConfig' failed as data isn't a dictionary.`);
|
|
34
|
+
return {
|
|
35
|
+
functionId: data.function_id,
|
|
36
|
+
region: data.region
|
|
37
|
+
};
|
|
60
38
|
};
|
|
61
39
|
const unmarshalBackendStage = (data) => {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
scalewayServerlessContainer: data.scaleway_serverless_container ? unmarshalScalewayServerlessContainerBackendConfig(data.scaleway_serverless_container) : void 0,
|
|
74
|
-
scalewayServerlessFunction: data.scaleway_serverless_function ? unmarshalScalewayServerlessFunctionBackendConfig(data.scaleway_serverless_function) : void 0,
|
|
75
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
76
|
-
};
|
|
40
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'BackendStage' failed as data isn't a dictionary.`);
|
|
41
|
+
return {
|
|
42
|
+
createdAt: unmarshalDate(data.created_at),
|
|
43
|
+
id: data.id,
|
|
44
|
+
pipelineId: data.pipeline_id,
|
|
45
|
+
scalewayLb: data.scaleway_lb ? unmarshalScalewayLbBackendConfig(data.scaleway_lb) : void 0,
|
|
46
|
+
scalewayS3: data.scaleway_s3 ? unmarshalScalewayS3BackendConfig(data.scaleway_s3) : void 0,
|
|
47
|
+
scalewayServerlessContainer: data.scaleway_serverless_container ? unmarshalScalewayServerlessContainerBackendConfig(data.scaleway_serverless_container) : void 0,
|
|
48
|
+
scalewayServerlessFunction: data.scaleway_serverless_function ? unmarshalScalewayServerlessFunctionBackendConfig(data.scaleway_serverless_function) : void 0,
|
|
49
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
50
|
+
};
|
|
77
51
|
};
|
|
78
52
|
const unmarshalCacheStage = (data) => {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
routeStageId: data.route_stage_id,
|
|
92
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
93
|
-
wafStageId: data.waf_stage_id
|
|
94
|
-
};
|
|
53
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CacheStage' failed as data isn't a dictionary.`);
|
|
54
|
+
return {
|
|
55
|
+
backendStageId: data.backend_stage_id,
|
|
56
|
+
createdAt: unmarshalDate(data.created_at),
|
|
57
|
+
fallbackTtl: data.fallback_ttl,
|
|
58
|
+
id: data.id,
|
|
59
|
+
includeCookies: data.include_cookies,
|
|
60
|
+
pipelineId: data.pipeline_id,
|
|
61
|
+
routeStageId: data.route_stage_id,
|
|
62
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
63
|
+
wafStageId: data.waf_stage_id
|
|
64
|
+
};
|
|
95
65
|
};
|
|
96
66
|
const unmarshalDNSStage = (data) => {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
return {
|
|
122
|
-
code: data.code,
|
|
123
|
-
message: data.message,
|
|
124
|
-
severity: data.severity,
|
|
125
|
-
stage: data.stage,
|
|
126
|
-
type: data.type
|
|
127
|
-
};
|
|
67
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DNSStage' failed as data isn't a dictionary.`);
|
|
68
|
+
return {
|
|
69
|
+
backendStageId: data.backend_stage_id,
|
|
70
|
+
cacheStageId: data.cache_stage_id,
|
|
71
|
+
createdAt: unmarshalDate(data.created_at),
|
|
72
|
+
defaultFqdn: data.default_fqdn,
|
|
73
|
+
fqdns: data.fqdns,
|
|
74
|
+
id: data.id,
|
|
75
|
+
pipelineId: data.pipeline_id,
|
|
76
|
+
tlsStageId: data.tls_stage_id,
|
|
77
|
+
type: data.type,
|
|
78
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
var unmarshalPipelineError = (data) => {
|
|
82
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PipelineError' failed as data isn't a dictionary.`);
|
|
83
|
+
return {
|
|
84
|
+
code: data.code,
|
|
85
|
+
message: data.message,
|
|
86
|
+
severity: data.severity,
|
|
87
|
+
stage: data.stage,
|
|
88
|
+
type: data.type
|
|
89
|
+
};
|
|
128
90
|
};
|
|
129
91
|
const unmarshalPipeline = (data) => {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
projectId: data.project_id,
|
|
143
|
-
status: data.status,
|
|
144
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
145
|
-
};
|
|
92
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Pipeline' failed as data isn't a dictionary.`);
|
|
93
|
+
return {
|
|
94
|
+
createdAt: unmarshalDate(data.created_at),
|
|
95
|
+
description: data.description,
|
|
96
|
+
errors: unmarshalArrayOfObject(data.errors, unmarshalPipelineError),
|
|
97
|
+
id: data.id,
|
|
98
|
+
name: data.name,
|
|
99
|
+
organizationId: data.organization_id,
|
|
100
|
+
projectId: data.project_id,
|
|
101
|
+
status: data.status,
|
|
102
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
103
|
+
};
|
|
146
104
|
};
|
|
147
105
|
const unmarshalRouteStage = (data) => {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
throw new TypeError(
|
|
164
|
-
`Unmarshalling the type 'TLSSecret' failed as data isn't a dictionary.`
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
return {
|
|
168
|
-
region: data.region,
|
|
169
|
-
secretId: data.secret_id
|
|
170
|
-
};
|
|
106
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RouteStage' failed as data isn't a dictionary.`);
|
|
107
|
+
return {
|
|
108
|
+
createdAt: unmarshalDate(data.created_at),
|
|
109
|
+
id: data.id,
|
|
110
|
+
pipelineId: data.pipeline_id,
|
|
111
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
112
|
+
wafStageId: data.waf_stage_id
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
var unmarshalTLSSecret = (data) => {
|
|
116
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TLSSecret' failed as data isn't a dictionary.`);
|
|
117
|
+
return {
|
|
118
|
+
region: data.region,
|
|
119
|
+
secretId: data.secret_id
|
|
120
|
+
};
|
|
171
121
|
};
|
|
172
122
|
const unmarshalTLSStage = (data) => {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
secrets: unmarshalArrayOfObject(data.secrets, unmarshalTLSSecret),
|
|
188
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
189
|
-
wafStageId: data.waf_stage_id
|
|
190
|
-
};
|
|
123
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TLSStage' failed as data isn't a dictionary.`);
|
|
124
|
+
return {
|
|
125
|
+
backendStageId: data.backend_stage_id,
|
|
126
|
+
cacheStageId: data.cache_stage_id,
|
|
127
|
+
certificateExpiresAt: unmarshalDate(data.certificate_expires_at),
|
|
128
|
+
createdAt: unmarshalDate(data.created_at),
|
|
129
|
+
id: data.id,
|
|
130
|
+
managedCertificate: data.managed_certificate,
|
|
131
|
+
pipelineId: data.pipeline_id,
|
|
132
|
+
routeStageId: data.route_stage_id,
|
|
133
|
+
secrets: unmarshalArrayOfObject(data.secrets, unmarshalTLSSecret),
|
|
134
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
135
|
+
wafStageId: data.waf_stage_id
|
|
136
|
+
};
|
|
191
137
|
};
|
|
192
138
|
const unmarshalWafStage = (data) => {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
paranoiaLevel: data.paranoia_level,
|
|
204
|
-
pipelineId: data.pipeline_id,
|
|
205
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
206
|
-
};
|
|
139
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'WafStage' failed as data isn't a dictionary.`);
|
|
140
|
+
return {
|
|
141
|
+
backendStageId: data.backend_stage_id,
|
|
142
|
+
createdAt: unmarshalDate(data.created_at),
|
|
143
|
+
id: data.id,
|
|
144
|
+
mode: data.mode,
|
|
145
|
+
paranoiaLevel: data.paranoia_level,
|
|
146
|
+
pipelineId: data.pipeline_id,
|
|
147
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
148
|
+
};
|
|
207
149
|
};
|
|
208
150
|
const unmarshalPipelineStages = (data) => {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
routeStages: unmarshalArrayOfObject(data.route_stages, unmarshalRouteStage),
|
|
220
|
-
tlsStages: unmarshalArrayOfObject(data.tls_stages, unmarshalTLSStage),
|
|
221
|
-
wafStages: unmarshalArrayOfObject(data.waf_stages, unmarshalWafStage)
|
|
222
|
-
};
|
|
151
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PipelineStages' failed as data isn't a dictionary.`);
|
|
152
|
+
return {
|
|
153
|
+
backendStages: unmarshalArrayOfObject(data.backend_stages, unmarshalBackendStage),
|
|
154
|
+
cacheStages: unmarshalArrayOfObject(data.cache_stages, unmarshalCacheStage),
|
|
155
|
+
dnsStages: unmarshalArrayOfObject(data.dns_stages, unmarshalDNSStage),
|
|
156
|
+
pipeline: data.pipeline ? unmarshalPipeline(data.pipeline) : void 0,
|
|
157
|
+
routeStages: unmarshalArrayOfObject(data.route_stages, unmarshalRouteStage),
|
|
158
|
+
tlsStages: unmarshalArrayOfObject(data.tls_stages, unmarshalTLSStage),
|
|
159
|
+
wafStages: unmarshalArrayOfObject(data.waf_stages, unmarshalWafStage)
|
|
160
|
+
};
|
|
223
161
|
};
|
|
224
162
|
const unmarshalPurgeRequest = (data) => {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
pathFilter: data.path_filter ? unmarshalRuleHttpMatchPathFilter(data.path_filter) : void 0
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
const unmarshalRouteRule = (data) => {
|
|
263
|
-
if (!isJSONObject(data)) {
|
|
264
|
-
throw new TypeError(
|
|
265
|
-
`Unmarshalling the type 'RouteRule' failed as data isn't a dictionary.`
|
|
266
|
-
);
|
|
267
|
-
}
|
|
268
|
-
return {
|
|
269
|
-
backendStageId: data.backend_stage_id,
|
|
270
|
-
position: data.position,
|
|
271
|
-
routeStageId: data.route_stage_id,
|
|
272
|
-
ruleHttpMatch: data.rule_http_match ? unmarshalRuleHttpMatch(data.rule_http_match) : void 0
|
|
273
|
-
};
|
|
163
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PurgeRequest' failed as data isn't a dictionary.`);
|
|
164
|
+
return {
|
|
165
|
+
all: data.all,
|
|
166
|
+
assets: data.assets,
|
|
167
|
+
createdAt: unmarshalDate(data.created_at),
|
|
168
|
+
id: data.id,
|
|
169
|
+
pipelineId: data.pipeline_id,
|
|
170
|
+
status: data.status,
|
|
171
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
var unmarshalRuleHttpMatchPathFilter = (data) => {
|
|
175
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RuleHttpMatchPathFilter' failed as data isn't a dictionary.`);
|
|
176
|
+
return {
|
|
177
|
+
pathFilterType: data.path_filter_type,
|
|
178
|
+
value: data.value
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
var unmarshalRuleHttpMatch = (data) => {
|
|
182
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RuleHttpMatch' failed as data isn't a dictionary.`);
|
|
183
|
+
return {
|
|
184
|
+
methodFilters: data.method_filters,
|
|
185
|
+
pathFilter: data.path_filter ? unmarshalRuleHttpMatchPathFilter(data.path_filter) : void 0
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
var unmarshalRouteRule = (data) => {
|
|
189
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RouteRule' failed as data isn't a dictionary.`);
|
|
190
|
+
return {
|
|
191
|
+
backendStageId: data.backend_stage_id,
|
|
192
|
+
position: data.position,
|
|
193
|
+
routeStageId: data.route_stage_id,
|
|
194
|
+
ruleHttpMatch: data.rule_http_match ? unmarshalRuleHttpMatch(data.rule_http_match) : void 0,
|
|
195
|
+
wafStageId: data.waf_stage_id
|
|
196
|
+
};
|
|
274
197
|
};
|
|
275
198
|
const unmarshalAddRouteRulesResponse = (data) => {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
`Unmarshalling the type 'AddRouteRulesResponse' failed as data isn't a dictionary.`
|
|
279
|
-
);
|
|
280
|
-
}
|
|
281
|
-
return {
|
|
282
|
-
routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule)
|
|
283
|
-
};
|
|
199
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AddRouteRulesResponse' failed as data isn't a dictionary.`);
|
|
200
|
+
return { routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule) };
|
|
284
201
|
};
|
|
285
202
|
const unmarshalCheckDomainResponse = (data) => {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
`Unmarshalling the type 'CheckDomainResponse' failed as data isn't a dictionary.`
|
|
289
|
-
);
|
|
290
|
-
}
|
|
291
|
-
return {
|
|
292
|
-
isValid: data.is_valid
|
|
293
|
-
};
|
|
203
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CheckDomainResponse' failed as data isn't a dictionary.`);
|
|
204
|
+
return { isValid: data.is_valid };
|
|
294
205
|
};
|
|
295
206
|
const unmarshalCheckLbOriginResponse = (data) => {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
return {
|
|
302
|
-
errorType: data.error_type,
|
|
303
|
-
isValid: data.is_valid
|
|
304
|
-
};
|
|
207
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CheckLbOriginResponse' failed as data isn't a dictionary.`);
|
|
208
|
+
return {
|
|
209
|
+
errorType: data.error_type,
|
|
210
|
+
isValid: data.is_valid
|
|
211
|
+
};
|
|
305
212
|
};
|
|
306
213
|
const unmarshalCheckPEMChainResponse = (data) => {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
backendLimit: data.backend_limit,
|
|
324
|
-
packageGb: data.package_gb,
|
|
325
|
-
pipelineLimit: data.pipeline_limit,
|
|
326
|
-
planName: data.plan_name,
|
|
327
|
-
wafRequests: data.waf_requests
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
|
-
const unmarshalPlanUsageDetails = (data) => {
|
|
331
|
-
if (!isJSONObject(data)) {
|
|
332
|
-
throw new TypeError(
|
|
333
|
-
`Unmarshalling the type 'PlanUsageDetails' failed as data isn't a dictionary.`
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
|
-
return {
|
|
337
|
-
planCost: data.plan_cost ? unmarshalMoney(data.plan_cost) : void 0
|
|
338
|
-
};
|
|
214
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CheckPEMChainResponse' failed as data isn't a dictionary.`);
|
|
215
|
+
return { isValid: data.is_valid };
|
|
216
|
+
};
|
|
217
|
+
var unmarshalPlanDetails = (data) => {
|
|
218
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PlanDetails' failed as data isn't a dictionary.`);
|
|
219
|
+
return {
|
|
220
|
+
backendLimit: data.backend_limit,
|
|
221
|
+
packageGb: data.package_gb,
|
|
222
|
+
pipelineLimit: data.pipeline_limit,
|
|
223
|
+
planName: data.plan_name,
|
|
224
|
+
wafRequests: data.waf_requests
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
var unmarshalPlanUsageDetails = (data) => {
|
|
228
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PlanUsageDetails' failed as data isn't a dictionary.`);
|
|
229
|
+
return { planCost: data.plan_cost ? unmarshalMoney(data.plan_cost) : void 0 };
|
|
339
230
|
};
|
|
340
231
|
const unmarshalGetBillingResponse = (data) => {
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
};
|
|
362
|
-
const unmarshalHeadStageResponseHeadStage = (data) => {
|
|
363
|
-
if (!isJSONObject(data)) {
|
|
364
|
-
throw new TypeError(
|
|
365
|
-
`Unmarshalling the type 'HeadStageResponseHeadStage' failed as data isn't a dictionary.`
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
return {
|
|
369
|
-
dnsStageId: data.dns_stage_id
|
|
370
|
-
};
|
|
232
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GetBillingResponse' failed as data isn't a dictionary.`);
|
|
233
|
+
return {
|
|
234
|
+
currentPlan: data.current_plan ? unmarshalPlanDetails(data.current_plan) : void 0,
|
|
235
|
+
currentPlanCacheUsage: data.current_plan_cache_usage,
|
|
236
|
+
currentPlanWafUsage: data.current_plan_waf_usage,
|
|
237
|
+
extraCacheCost: data.extra_cache_cost ? unmarshalMoney(data.extra_cache_cost) : void 0,
|
|
238
|
+
extraCacheUsage: data.extra_cache_usage,
|
|
239
|
+
extraPipelinesCost: data.extra_pipelines_cost ? unmarshalMoney(data.extra_pipelines_cost) : void 0,
|
|
240
|
+
extraWafCost: data.extra_waf_cost ? unmarshalMoney(data.extra_waf_cost) : void 0,
|
|
241
|
+
extraWafUsage: data.extra_waf_usage,
|
|
242
|
+
pipelineNumber: data.pipeline_number,
|
|
243
|
+
planCost: data.plan_cost ? unmarshalMoney(data.plan_cost) : void 0,
|
|
244
|
+
plansUsageDetails: unmarshalMapOfObject(data.plans_usage_details, unmarshalPlanUsageDetails),
|
|
245
|
+
totalCost: data.total_cost ? unmarshalMoney(data.total_cost) : void 0,
|
|
246
|
+
wafAddOn: data.waf_add_on ? unmarshalMoney(data.waf_add_on) : void 0
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
var unmarshalHeadStageResponseHeadStage = (data) => {
|
|
250
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'HeadStageResponseHeadStage' failed as data isn't a dictionary.`);
|
|
251
|
+
return { dnsStageId: data.dns_stage_id };
|
|
371
252
|
};
|
|
372
253
|
const unmarshalHeadStageResponse = (data) => {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
`Unmarshalling the type 'HeadStageResponse' failed as data isn't a dictionary.`
|
|
376
|
-
);
|
|
377
|
-
}
|
|
378
|
-
return {
|
|
379
|
-
headStage: data.head_stage ? unmarshalHeadStageResponseHeadStage(data.head_stage) : void 0
|
|
380
|
-
};
|
|
254
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'HeadStageResponse' failed as data isn't a dictionary.`);
|
|
255
|
+
return { headStage: data.head_stage ? unmarshalHeadStageResponseHeadStage(data.head_stage) : void 0 };
|
|
381
256
|
};
|
|
382
257
|
const unmarshalListBackendStagesResponse = (data) => {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
return {
|
|
389
|
-
stages: unmarshalArrayOfObject(data.stages, unmarshalBackendStage),
|
|
390
|
-
totalCount: data.total_count
|
|
391
|
-
};
|
|
258
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListBackendStagesResponse' failed as data isn't a dictionary.`);
|
|
259
|
+
return {
|
|
260
|
+
stages: unmarshalArrayOfObject(data.stages, unmarshalBackendStage),
|
|
261
|
+
totalCount: data.total_count
|
|
262
|
+
};
|
|
392
263
|
};
|
|
393
264
|
const unmarshalListCacheStagesResponse = (data) => {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
return {
|
|
400
|
-
stages: unmarshalArrayOfObject(data.stages, unmarshalCacheStage),
|
|
401
|
-
totalCount: data.total_count
|
|
402
|
-
};
|
|
265
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListCacheStagesResponse' failed as data isn't a dictionary.`);
|
|
266
|
+
return {
|
|
267
|
+
stages: unmarshalArrayOfObject(data.stages, unmarshalCacheStage),
|
|
268
|
+
totalCount: data.total_count
|
|
269
|
+
};
|
|
403
270
|
};
|
|
404
271
|
const unmarshalListDNSStagesResponse = (data) => {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
};
|
|
415
|
-
const unmarshalListHeadStagesResponseHeadStage = (data) => {
|
|
416
|
-
if (!isJSONObject(data)) {
|
|
417
|
-
throw new TypeError(
|
|
418
|
-
`Unmarshalling the type 'ListHeadStagesResponseHeadStage' failed as data isn't a dictionary.`
|
|
419
|
-
);
|
|
420
|
-
}
|
|
421
|
-
return {
|
|
422
|
-
dnsStageId: data.dns_stage_id
|
|
423
|
-
};
|
|
272
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSStagesResponse' failed as data isn't a dictionary.`);
|
|
273
|
+
return {
|
|
274
|
+
stages: unmarshalArrayOfObject(data.stages, unmarshalDNSStage),
|
|
275
|
+
totalCount: data.total_count
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
var unmarshalListHeadStagesResponseHeadStage = (data) => {
|
|
279
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListHeadStagesResponseHeadStage' failed as data isn't a dictionary.`);
|
|
280
|
+
return { dnsStageId: data.dns_stage_id };
|
|
424
281
|
};
|
|
425
282
|
const unmarshalListHeadStagesResponse = (data) => {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
return {
|
|
432
|
-
headStages: unmarshalArrayOfObject(data.head_stages, unmarshalListHeadStagesResponseHeadStage),
|
|
433
|
-
totalCount: data.total_count
|
|
434
|
-
};
|
|
283
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListHeadStagesResponse' failed as data isn't a dictionary.`);
|
|
284
|
+
return {
|
|
285
|
+
headStages: unmarshalArrayOfObject(data.head_stages, unmarshalListHeadStagesResponseHeadStage),
|
|
286
|
+
totalCount: data.total_count
|
|
287
|
+
};
|
|
435
288
|
};
|
|
436
289
|
const unmarshalListPipelinesResponse = (data) => {
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
return {
|
|
443
|
-
pipelines: unmarshalArrayOfObject(data.pipelines, unmarshalPipeline),
|
|
444
|
-
totalCount: data.total_count
|
|
445
|
-
};
|
|
290
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPipelinesResponse' failed as data isn't a dictionary.`);
|
|
291
|
+
return {
|
|
292
|
+
pipelines: unmarshalArrayOfObject(data.pipelines, unmarshalPipeline),
|
|
293
|
+
totalCount: data.total_count
|
|
294
|
+
};
|
|
446
295
|
};
|
|
447
296
|
const unmarshalListPipelinesWithStagesResponse = (data) => {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
return {
|
|
454
|
-
pipelines: unmarshalArrayOfObject(data.pipelines, unmarshalPipelineStages),
|
|
455
|
-
totalCount: data.total_count
|
|
456
|
-
};
|
|
297
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPipelinesWithStagesResponse' failed as data isn't a dictionary.`);
|
|
298
|
+
return {
|
|
299
|
+
pipelines: unmarshalArrayOfObject(data.pipelines, unmarshalPipelineStages),
|
|
300
|
+
totalCount: data.total_count
|
|
301
|
+
};
|
|
457
302
|
};
|
|
458
303
|
const unmarshalListPlansResponse = (data) => {
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
return {
|
|
465
|
-
plans: unmarshalArrayOfObject(data.plans, unmarshalPlanDetails),
|
|
466
|
-
totalCount: data.total_count
|
|
467
|
-
};
|
|
304
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPlansResponse' failed as data isn't a dictionary.`);
|
|
305
|
+
return {
|
|
306
|
+
plans: unmarshalArrayOfObject(data.plans, unmarshalPlanDetails),
|
|
307
|
+
totalCount: data.total_count
|
|
308
|
+
};
|
|
468
309
|
};
|
|
469
310
|
const unmarshalListPurgeRequestsResponse = (data) => {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
return {
|
|
476
|
-
purgeRequests: unmarshalArrayOfObject(data.purge_requests, unmarshalPurgeRequest),
|
|
477
|
-
totalCount: data.total_count
|
|
478
|
-
};
|
|
311
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPurgeRequestsResponse' failed as data isn't a dictionary.`);
|
|
312
|
+
return {
|
|
313
|
+
purgeRequests: unmarshalArrayOfObject(data.purge_requests, unmarshalPurgeRequest),
|
|
314
|
+
totalCount: data.total_count
|
|
315
|
+
};
|
|
479
316
|
};
|
|
480
317
|
const unmarshalListRouteRulesResponse = (data) => {
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
return {
|
|
487
|
-
routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule),
|
|
488
|
-
totalCount: data.total_count
|
|
489
|
-
};
|
|
318
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListRouteRulesResponse' failed as data isn't a dictionary.`);
|
|
319
|
+
return {
|
|
320
|
+
routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule),
|
|
321
|
+
totalCount: data.total_count
|
|
322
|
+
};
|
|
490
323
|
};
|
|
491
324
|
const unmarshalListRouteStagesResponse = (data) => {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
return {
|
|
498
|
-
stages: unmarshalArrayOfObject(data.stages, unmarshalRouteStage),
|
|
499
|
-
totalCount: data.total_count
|
|
500
|
-
};
|
|
325
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListRouteStagesResponse' failed as data isn't a dictionary.`);
|
|
326
|
+
return {
|
|
327
|
+
stages: unmarshalArrayOfObject(data.stages, unmarshalRouteStage),
|
|
328
|
+
totalCount: data.total_count
|
|
329
|
+
};
|
|
501
330
|
};
|
|
502
331
|
const unmarshalListTLSStagesResponse = (data) => {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
return {
|
|
509
|
-
stages: unmarshalArrayOfObject(data.stages, unmarshalTLSStage),
|
|
510
|
-
totalCount: data.total_count
|
|
511
|
-
};
|
|
332
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTLSStagesResponse' failed as data isn't a dictionary.`);
|
|
333
|
+
return {
|
|
334
|
+
stages: unmarshalArrayOfObject(data.stages, unmarshalTLSStage),
|
|
335
|
+
totalCount: data.total_count
|
|
336
|
+
};
|
|
512
337
|
};
|
|
513
338
|
const unmarshalListWafStagesResponse = (data) => {
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
return {
|
|
520
|
-
stages: unmarshalArrayOfObject(data.stages, unmarshalWafStage),
|
|
521
|
-
totalCount: data.total_count
|
|
522
|
-
};
|
|
339
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListWafStagesResponse' failed as data isn't a dictionary.`);
|
|
340
|
+
return {
|
|
341
|
+
stages: unmarshalArrayOfObject(data.stages, unmarshalWafStage),
|
|
342
|
+
totalCount: data.total_count
|
|
343
|
+
};
|
|
523
344
|
};
|
|
524
345
|
const unmarshalPlan = (data) => {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
`Unmarshalling the type 'Plan' failed as data isn't a dictionary.`
|
|
528
|
-
);
|
|
529
|
-
}
|
|
530
|
-
return {
|
|
531
|
-
planName: data.plan_name
|
|
532
|
-
};
|
|
346
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Plan' failed as data isn't a dictionary.`);
|
|
347
|
+
return { planName: data.plan_name };
|
|
533
348
|
};
|
|
534
349
|
const unmarshalSetRouteRulesResponse = (data) => {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule)
|
|
542
|
-
};
|
|
543
|
-
};
|
|
544
|
-
const marshalRuleHttpMatchPathFilter = (request, defaults) => ({
|
|
545
|
-
path_filter_type: request.pathFilterType,
|
|
546
|
-
value: request.value
|
|
350
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetRouteRulesResponse' failed as data isn't a dictionary.`);
|
|
351
|
+
return { routeRules: unmarshalArrayOfObject(data.route_rules, unmarshalRouteRule) };
|
|
352
|
+
};
|
|
353
|
+
var marshalRuleHttpMatchPathFilter = (request, defaults) => ({
|
|
354
|
+
path_filter_type: request.pathFilterType,
|
|
355
|
+
value: request.value
|
|
547
356
|
});
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
357
|
+
var marshalRuleHttpMatch = (request, defaults) => ({
|
|
358
|
+
method_filters: request.methodFilters,
|
|
359
|
+
path_filter: request.pathFilter !== void 0 ? marshalRuleHttpMatchPathFilter(request.pathFilter, defaults) : void 0
|
|
551
360
|
});
|
|
552
361
|
const marshalSetRouteRulesRequestRouteRule = (request, defaults) => ({
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
])
|
|
362
|
+
...resolveOneOf([{
|
|
363
|
+
param: "rule_http_match",
|
|
364
|
+
value: request.ruleHttpMatch !== void 0 ? marshalRuleHttpMatch(request.ruleHttpMatch, defaults) : void 0
|
|
365
|
+
}]),
|
|
366
|
+
...resolveOneOf([{
|
|
367
|
+
param: "backend_stage_id",
|
|
368
|
+
value: request.backendStageId
|
|
369
|
+
}, {
|
|
370
|
+
param: "waf_stage_id",
|
|
371
|
+
value: request.wafStageId
|
|
372
|
+
}])
|
|
565
373
|
});
|
|
566
374
|
const marshalAddRouteRulesRequest = (request, defaults) => ({
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
value: request.beforePosition
|
|
576
|
-
}
|
|
577
|
-
])
|
|
375
|
+
route_rules: request.routeRules !== void 0 ? request.routeRules.map((elt) => marshalSetRouteRulesRequestRouteRule(elt, defaults)) : void 0,
|
|
376
|
+
...resolveOneOf([{
|
|
377
|
+
param: "after_position",
|
|
378
|
+
value: request.afterPosition
|
|
379
|
+
}, {
|
|
380
|
+
param: "before_position",
|
|
381
|
+
value: request.beforePosition
|
|
382
|
+
}])
|
|
578
383
|
});
|
|
579
384
|
const marshalCheckDomainRequest = (request, defaults) => ({
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
});
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
});
|
|
592
|
-
const marshalCheckLbOriginRequest = (request, defaults) => ({
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
secret_id: request.secretId,
|
|
597
|
-
secret_region: request.secretRegion
|
|
385
|
+
cname: request.cname,
|
|
386
|
+
fqdn: request.fqdn,
|
|
387
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
388
|
+
});
|
|
389
|
+
var marshalScalewayLb = (request, defaults) => ({
|
|
390
|
+
domain_name: request.domainName,
|
|
391
|
+
frontend_id: request.frontendId,
|
|
392
|
+
has_websocket: request.hasWebsocket,
|
|
393
|
+
id: request.id,
|
|
394
|
+
is_ssl: request.isSsl,
|
|
395
|
+
zone: request.zone
|
|
396
|
+
});
|
|
397
|
+
const marshalCheckLbOriginRequest = (request, defaults) => ({ lb: request.lb !== void 0 ? marshalScalewayLb(request.lb, defaults) : void 0 });
|
|
398
|
+
var marshalCheckPEMChainRequestSecretChain = (request, defaults) => ({
|
|
399
|
+
secret_id: request.secretId,
|
|
400
|
+
secret_region: request.secretRegion
|
|
598
401
|
});
|
|
599
402
|
const marshalCheckPEMChainRequest = (request, defaults) => ({
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
});
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
param: "scaleway_serverless_function",
|
|
645
|
-
value: request.scalewayServerlessFunction !== void 0 ? marshalScalewayServerlessFunctionBackendConfig(request.scalewayServerlessFunction) : void 0
|
|
646
|
-
}
|
|
647
|
-
])
|
|
648
|
-
});
|
|
403
|
+
fqdn: request.fqdn,
|
|
404
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
405
|
+
...resolveOneOf([{
|
|
406
|
+
param: "secret",
|
|
407
|
+
value: request.secret !== void 0 ? marshalCheckPEMChainRequestSecretChain(request.secret, defaults) : void 0
|
|
408
|
+
}, {
|
|
409
|
+
param: "raw",
|
|
410
|
+
value: request.raw
|
|
411
|
+
}])
|
|
412
|
+
});
|
|
413
|
+
var marshalScalewayLbBackendConfig = (request, defaults) => ({ lbs: request.lbs.map((elt) => marshalScalewayLb(elt, defaults)) });
|
|
414
|
+
var marshalScalewayS3BackendConfig = (request, defaults) => ({
|
|
415
|
+
bucket_name: request.bucketName,
|
|
416
|
+
bucket_region: request.bucketRegion,
|
|
417
|
+
is_website: request.isWebsite
|
|
418
|
+
});
|
|
419
|
+
var marshalScalewayServerlessContainerBackendConfig = (request, defaults) => ({
|
|
420
|
+
container_id: request.containerId,
|
|
421
|
+
region: request.region
|
|
422
|
+
});
|
|
423
|
+
var marshalScalewayServerlessFunctionBackendConfig = (request, defaults) => ({
|
|
424
|
+
function_id: request.functionId,
|
|
425
|
+
region: request.region
|
|
426
|
+
});
|
|
427
|
+
const marshalCreateBackendStageRequest = (request, defaults) => ({ ...resolveOneOf([
|
|
428
|
+
{
|
|
429
|
+
param: "scaleway_s3",
|
|
430
|
+
value: request.scalewayS3 !== void 0 ? marshalScalewayS3BackendConfig(request.scalewayS3, defaults) : void 0
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
param: "scaleway_lb",
|
|
434
|
+
value: request.scalewayLb !== void 0 ? marshalScalewayLbBackendConfig(request.scalewayLb, defaults) : void 0
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
param: "scaleway_serverless_container",
|
|
438
|
+
value: request.scalewayServerlessContainer !== void 0 ? marshalScalewayServerlessContainerBackendConfig(request.scalewayServerlessContainer, defaults) : void 0
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
param: "scaleway_serverless_function",
|
|
442
|
+
value: request.scalewayServerlessFunction !== void 0 ? marshalScalewayServerlessFunctionBackendConfig(request.scalewayServerlessFunction, defaults) : void 0
|
|
443
|
+
}
|
|
444
|
+
]) });
|
|
649
445
|
const marshalCreateCacheStageRequest = (request, defaults) => ({
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
446
|
+
fallback_ttl: request.fallbackTtl,
|
|
447
|
+
include_cookies: request.includeCookies,
|
|
448
|
+
...resolveOneOf([
|
|
449
|
+
{
|
|
450
|
+
param: "backend_stage_id",
|
|
451
|
+
value: request.backendStageId
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
param: "waf_stage_id",
|
|
455
|
+
value: request.wafStageId
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
param: "route_stage_id",
|
|
459
|
+
value: request.routeStageId
|
|
460
|
+
}
|
|
461
|
+
])
|
|
666
462
|
});
|
|
667
463
|
const marshalCreateDNSStageRequest = (request, defaults) => ({
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
464
|
+
fqdns: request.fqdns,
|
|
465
|
+
...resolveOneOf([
|
|
466
|
+
{
|
|
467
|
+
param: "tls_stage_id",
|
|
468
|
+
value: request.tlsStageId
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
param: "cache_stage_id",
|
|
472
|
+
value: request.cacheStageId
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
param: "backend_stage_id",
|
|
476
|
+
value: request.backendStageId
|
|
477
|
+
}
|
|
478
|
+
])
|
|
683
479
|
});
|
|
684
480
|
const marshalCreatePipelineRequest = (request, defaults) => ({
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
481
|
+
description: request.description,
|
|
482
|
+
name: request.name,
|
|
483
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
688
484
|
});
|
|
689
485
|
const marshalCreatePurgeRequestRequest = (request, defaults) => ({
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
value: request.wafStageId
|
|
707
|
-
}
|
|
708
|
-
])
|
|
709
|
-
});
|
|
710
|
-
const marshalTLSSecret = (request, defaults) => ({
|
|
711
|
-
region: request.region,
|
|
712
|
-
secret_id: request.secretId
|
|
486
|
+
pipeline_id: request.pipelineId,
|
|
487
|
+
...resolveOneOf([{
|
|
488
|
+
param: "assets",
|
|
489
|
+
value: request.assets
|
|
490
|
+
}, {
|
|
491
|
+
param: "all",
|
|
492
|
+
value: request.all
|
|
493
|
+
}])
|
|
494
|
+
});
|
|
495
|
+
const marshalCreateRouteStageRequest = (request, defaults) => ({ ...resolveOneOf([{
|
|
496
|
+
param: "waf_stage_id",
|
|
497
|
+
value: request.wafStageId
|
|
498
|
+
}]) });
|
|
499
|
+
var marshalTLSSecret = (request, defaults) => ({
|
|
500
|
+
region: request.region,
|
|
501
|
+
secret_id: request.secretId
|
|
713
502
|
});
|
|
714
503
|
const marshalCreateTLSStageRequest = (request, defaults) => ({
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
504
|
+
managed_certificate: request.managedCertificate,
|
|
505
|
+
secrets: request.secrets !== void 0 ? request.secrets.map((elt) => marshalTLSSecret(elt, defaults)) : void 0,
|
|
506
|
+
...resolveOneOf([
|
|
507
|
+
{
|
|
508
|
+
param: "cache_stage_id",
|
|
509
|
+
value: request.cacheStageId
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
param: "backend_stage_id",
|
|
513
|
+
value: request.backendStageId
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
param: "route_stage_id",
|
|
517
|
+
value: request.routeStageId
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
param: "waf_stage_id",
|
|
521
|
+
value: request.wafStageId
|
|
522
|
+
}
|
|
523
|
+
])
|
|
735
524
|
});
|
|
736
525
|
const marshalCreateWafStageRequest = (request, defaults) => ({
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
}
|
|
744
|
-
])
|
|
526
|
+
mode: request.mode,
|
|
527
|
+
paranoia_level: request.paranoiaLevel,
|
|
528
|
+
...resolveOneOf([{
|
|
529
|
+
param: "backend_stage_id",
|
|
530
|
+
value: request.backendStageId
|
|
531
|
+
}])
|
|
745
532
|
});
|
|
746
533
|
const marshalSelectPlanRequest = (request, defaults) => ({
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
});
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
});
|
|
756
|
-
const
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
param: "swap_head_stage",
|
|
772
|
-
value: request.swapHeadStage !== void 0 ? marshalSetHeadStageRequestSwapHeadStage(request.swapHeadStage) : void 0
|
|
773
|
-
}
|
|
774
|
-
])
|
|
775
|
-
});
|
|
776
|
-
const marshalSetRouteRulesRequest = (request, defaults) => ({
|
|
777
|
-
route_rules: request.routeRules !== void 0 ? request.routeRules.map((elt) => marshalSetRouteRulesRequestRouteRule(elt)) : void 0
|
|
778
|
-
});
|
|
534
|
+
plan_name: request.planName,
|
|
535
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
536
|
+
});
|
|
537
|
+
var marshalSetHeadStageRequestAddNewHeadStage = (request, defaults) => ({ new_stage_id: request.newStageId });
|
|
538
|
+
var marshalSetHeadStageRequestRemoveHeadStage = (request, defaults) => ({ remove_stage_id: request.removeStageId });
|
|
539
|
+
var marshalSetHeadStageRequestSwapHeadStage = (request, defaults) => ({
|
|
540
|
+
current_stage_id: request.currentStageId,
|
|
541
|
+
new_stage_id: request.newStageId
|
|
542
|
+
});
|
|
543
|
+
const marshalSetHeadStageRequest = (request, defaults) => ({ ...resolveOneOf([
|
|
544
|
+
{
|
|
545
|
+
param: "add_new_head_stage",
|
|
546
|
+
value: request.addNewHeadStage !== void 0 ? marshalSetHeadStageRequestAddNewHeadStage(request.addNewHeadStage, defaults) : void 0
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
param: "remove_head_stage",
|
|
550
|
+
value: request.removeHeadStage !== void 0 ? marshalSetHeadStageRequestRemoveHeadStage(request.removeHeadStage, defaults) : void 0
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
param: "swap_head_stage",
|
|
554
|
+
value: request.swapHeadStage !== void 0 ? marshalSetHeadStageRequestSwapHeadStage(request.swapHeadStage, defaults) : void 0
|
|
555
|
+
}
|
|
556
|
+
]) });
|
|
557
|
+
const marshalSetRouteRulesRequest = (request, defaults) => ({ route_rules: request.routeRules !== void 0 ? request.routeRules.map((elt) => marshalSetRouteRulesRequestRouteRule(elt, defaults)) : void 0 });
|
|
779
558
|
const marshalUpdateBackendStageRequest = (request, defaults) => ({
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
559
|
+
pipeline_id: request.pipelineId,
|
|
560
|
+
...resolveOneOf([
|
|
561
|
+
{
|
|
562
|
+
param: "scaleway_s3",
|
|
563
|
+
value: request.scalewayS3 !== void 0 ? marshalScalewayS3BackendConfig(request.scalewayS3, defaults) : void 0
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
param: "scaleway_lb",
|
|
567
|
+
value: request.scalewayLb !== void 0 ? marshalScalewayLbBackendConfig(request.scalewayLb, defaults) : void 0
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
param: "scaleway_serverless_container",
|
|
571
|
+
value: request.scalewayServerlessContainer !== void 0 ? marshalScalewayServerlessContainerBackendConfig(request.scalewayServerlessContainer, defaults) : void 0
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
param: "scaleway_serverless_function",
|
|
575
|
+
value: request.scalewayServerlessFunction !== void 0 ? marshalScalewayServerlessFunctionBackendConfig(request.scalewayServerlessFunction, defaults) : void 0
|
|
576
|
+
}
|
|
577
|
+
])
|
|
799
578
|
});
|
|
800
579
|
const marshalUpdateCacheStageRequest = (request, defaults) => ({
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
580
|
+
fallback_ttl: request.fallbackTtl,
|
|
581
|
+
include_cookies: request.includeCookies,
|
|
582
|
+
...resolveOneOf([
|
|
583
|
+
{
|
|
584
|
+
param: "backend_stage_id",
|
|
585
|
+
value: request.backendStageId
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
param: "waf_stage_id",
|
|
589
|
+
value: request.wafStageId
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
param: "route_stage_id",
|
|
593
|
+
value: request.routeStageId
|
|
594
|
+
}
|
|
595
|
+
])
|
|
817
596
|
});
|
|
818
597
|
const marshalUpdateDNSStageRequest = (request, defaults) => ({
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
598
|
+
fqdns: request.fqdns,
|
|
599
|
+
...resolveOneOf([
|
|
600
|
+
{
|
|
601
|
+
param: "tls_stage_id",
|
|
602
|
+
value: request.tlsStageId
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
param: "cache_stage_id",
|
|
606
|
+
value: request.cacheStageId
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
param: "backend_stage_id",
|
|
610
|
+
value: request.backendStageId
|
|
611
|
+
}
|
|
612
|
+
])
|
|
834
613
|
});
|
|
835
614
|
const marshalUpdatePipelineRequest = (request, defaults) => ({
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
});
|
|
839
|
-
const marshalUpdateRouteStageRequest = (request, defaults) => ({
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
}
|
|
845
|
-
])
|
|
846
|
-
});
|
|
847
|
-
const marshalTLSSecretsConfig = (request, defaults) => ({
|
|
848
|
-
tls_secrets: request.tlsSecrets.map((elt) => marshalTLSSecret(elt))
|
|
849
|
-
});
|
|
615
|
+
description: request.description,
|
|
616
|
+
name: request.name
|
|
617
|
+
});
|
|
618
|
+
const marshalUpdateRouteStageRequest = (request, defaults) => ({ ...resolveOneOf([{
|
|
619
|
+
param: "waf_stage_id",
|
|
620
|
+
value: request.wafStageId
|
|
621
|
+
}]) });
|
|
622
|
+
var marshalTLSSecretsConfig = (request, defaults) => ({ tls_secrets: request.tlsSecrets.map((elt) => marshalTLSSecret(elt, defaults)) });
|
|
850
623
|
const marshalUpdateTLSStageRequest = (request, defaults) => ({
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
624
|
+
managed_certificate: request.managedCertificate,
|
|
625
|
+
tls_secrets_config: request.tlsSecretsConfig !== void 0 ? marshalTLSSecretsConfig(request.tlsSecretsConfig, defaults) : void 0,
|
|
626
|
+
...resolveOneOf([
|
|
627
|
+
{
|
|
628
|
+
param: "cache_stage_id",
|
|
629
|
+
value: request.cacheStageId
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
param: "backend_stage_id",
|
|
633
|
+
value: request.backendStageId
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
param: "route_stage_id",
|
|
637
|
+
value: request.routeStageId
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
param: "waf_stage_id",
|
|
641
|
+
value: request.wafStageId
|
|
642
|
+
}
|
|
643
|
+
])
|
|
871
644
|
});
|
|
872
645
|
const marshalUpdateWafStageRequest = (request, defaults) => ({
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
});
|
|
882
|
-
export {
|
|
883
|
-
marshalAddRouteRulesRequest,
|
|
884
|
-
marshalCheckDomainRequest,
|
|
885
|
-
marshalCheckLbOriginRequest,
|
|
886
|
-
marshalCheckPEMChainRequest,
|
|
887
|
-
marshalCreateBackendStageRequest,
|
|
888
|
-
marshalCreateCacheStageRequest,
|
|
889
|
-
marshalCreateDNSStageRequest,
|
|
890
|
-
marshalCreatePipelineRequest,
|
|
891
|
-
marshalCreatePurgeRequestRequest,
|
|
892
|
-
marshalCreateRouteStageRequest,
|
|
893
|
-
marshalCreateTLSStageRequest,
|
|
894
|
-
marshalCreateWafStageRequest,
|
|
895
|
-
marshalSelectPlanRequest,
|
|
896
|
-
marshalSetHeadStageRequest,
|
|
897
|
-
marshalSetRouteRulesRequest,
|
|
898
|
-
marshalSetRouteRulesRequestRouteRule,
|
|
899
|
-
marshalUpdateBackendStageRequest,
|
|
900
|
-
marshalUpdateCacheStageRequest,
|
|
901
|
-
marshalUpdateDNSStageRequest,
|
|
902
|
-
marshalUpdatePipelineRequest,
|
|
903
|
-
marshalUpdateRouteStageRequest,
|
|
904
|
-
marshalUpdateTLSStageRequest,
|
|
905
|
-
marshalUpdateWafStageRequest,
|
|
906
|
-
unmarshalAddRouteRulesResponse,
|
|
907
|
-
unmarshalBackendStage,
|
|
908
|
-
unmarshalCacheStage,
|
|
909
|
-
unmarshalCheckDomainResponse,
|
|
910
|
-
unmarshalCheckLbOriginResponse,
|
|
911
|
-
unmarshalCheckPEMChainResponse,
|
|
912
|
-
unmarshalDNSStage,
|
|
913
|
-
unmarshalGetBillingResponse,
|
|
914
|
-
unmarshalHeadStageResponse,
|
|
915
|
-
unmarshalListBackendStagesResponse,
|
|
916
|
-
unmarshalListCacheStagesResponse,
|
|
917
|
-
unmarshalListDNSStagesResponse,
|
|
918
|
-
unmarshalListHeadStagesResponse,
|
|
919
|
-
unmarshalListPipelinesResponse,
|
|
920
|
-
unmarshalListPipelinesWithStagesResponse,
|
|
921
|
-
unmarshalListPlansResponse,
|
|
922
|
-
unmarshalListPurgeRequestsResponse,
|
|
923
|
-
unmarshalListRouteRulesResponse,
|
|
924
|
-
unmarshalListRouteStagesResponse,
|
|
925
|
-
unmarshalListTLSStagesResponse,
|
|
926
|
-
unmarshalListWafStagesResponse,
|
|
927
|
-
unmarshalPipeline,
|
|
928
|
-
unmarshalPipelineStages,
|
|
929
|
-
unmarshalPlan,
|
|
930
|
-
unmarshalPurgeRequest,
|
|
931
|
-
unmarshalRouteStage,
|
|
932
|
-
unmarshalSetRouteRulesResponse,
|
|
933
|
-
unmarshalTLSStage,
|
|
934
|
-
unmarshalWafStage
|
|
935
|
-
};
|
|
646
|
+
mode: request.mode,
|
|
647
|
+
paranoia_level: request.paranoiaLevel,
|
|
648
|
+
...resolveOneOf([{
|
|
649
|
+
param: "backend_stage_id",
|
|
650
|
+
value: request.backendStageId
|
|
651
|
+
}])
|
|
652
|
+
});
|
|
653
|
+
export { marshalAddRouteRulesRequest, marshalCheckDomainRequest, marshalCheckLbOriginRequest, marshalCheckPEMChainRequest, marshalCreateBackendStageRequest, marshalCreateCacheStageRequest, marshalCreateDNSStageRequest, marshalCreatePipelineRequest, marshalCreatePurgeRequestRequest, marshalCreateRouteStageRequest, marshalCreateTLSStageRequest, marshalCreateWafStageRequest, marshalSelectPlanRequest, marshalSetHeadStageRequest, marshalSetRouteRulesRequest, marshalSetRouteRulesRequestRouteRule, marshalUpdateBackendStageRequest, marshalUpdateCacheStageRequest, marshalUpdateDNSStageRequest, marshalUpdatePipelineRequest, marshalUpdateRouteStageRequest, marshalUpdateTLSStageRequest, marshalUpdateWafStageRequest, unmarshalAddRouteRulesResponse, unmarshalBackendStage, unmarshalCacheStage, unmarshalCheckDomainResponse, unmarshalCheckLbOriginResponse, unmarshalCheckPEMChainResponse, unmarshalDNSStage, unmarshalGetBillingResponse, unmarshalHeadStageResponse, unmarshalListBackendStagesResponse, unmarshalListCacheStagesResponse, unmarshalListDNSStagesResponse, unmarshalListHeadStagesResponse, unmarshalListPipelinesResponse, unmarshalListPipelinesWithStagesResponse, unmarshalListPlansResponse, unmarshalListPurgeRequestsResponse, unmarshalListRouteRulesResponse, unmarshalListRouteStagesResponse, unmarshalListTLSStagesResponse, unmarshalListWafStagesResponse, unmarshalPipeline, unmarshalPipelineStages, unmarshalPlan, unmarshalPurgeRequest, unmarshalRouteStage, unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalWafStage };
|