@scaleway/sdk 1.5.0 → 1.7.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.
Files changed (46) hide show
  1. package/dist/api/applesilicon/v1alpha1/api.gen.js +2 -2
  2. package/dist/api/baremetal/v1/api.gen.js +3 -3
  3. package/dist/api/baremetal/v1/api.utils.js +1 -1
  4. package/dist/api/cockpit/v1beta1/api.gen.js +89 -29
  5. package/dist/api/cockpit/v1beta1/marshalling.gen.js +44 -1
  6. package/dist/api/container/v1beta1/api.gen.js +35 -29
  7. package/dist/api/container/v1beta1/marshalling.gen.js +1 -1
  8. package/dist/api/domain/v2beta1/api.gen.js +2 -2
  9. package/dist/api/flexibleip/v1alpha1/api.gen.js +2 -2
  10. package/dist/api/function/v1beta1/api.gen.js +40 -31
  11. package/dist/api/function/v1beta1/marshalling.gen.js +1 -20
  12. package/dist/api/iam/v1alpha1/api.gen.js +2 -3
  13. package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -0
  14. package/dist/api/iam/v1alpha1/validation-rules.gen.js +10 -10
  15. package/dist/api/instance/v1/api.gen.js +86 -67
  16. package/dist/api/instance/v1/api.utils.js +7 -13
  17. package/dist/api/iot/v1/api.gen.js +2 -2
  18. package/dist/api/k8s/v1/api.gen.js +4 -4
  19. package/dist/api/lb/v1/api.gen.js +6 -6
  20. package/dist/api/lb/v1/api.utils.js +4 -4
  21. package/dist/api/lb/v1/marshalling.gen.js +33 -19
  22. package/dist/api/marketplace/v2/api.gen.js +46 -3
  23. package/dist/api/mnq/v1alpha1/api.gen.js +36 -13
  24. package/dist/api/rdb/v1/api.gen.js +6 -6
  25. package/dist/api/redis/v1/api.gen.js +2 -2
  26. package/dist/api/redis/v1/marshalling.gen.js +2 -0
  27. package/dist/api/registry/v1/api.gen.js +4 -4
  28. package/dist/api/secret/v1alpha1/api.gen.js +27 -16
  29. package/dist/api/secret/v1alpha1/marshalling.gen.js +22 -3
  30. package/dist/api/tem/v1alpha1/api.gen.js +3 -3
  31. package/dist/api/test/v1/api.gen.js +1 -1
  32. package/dist/api/vpc/v1/api.gen.js +15 -7
  33. package/dist/api/vpcgw/v1/api.gen.js +3 -3
  34. package/dist/api/webhosting/v1alpha1/api.gen.js +2 -2
  35. package/dist/helpers/marshalling.js +1 -1
  36. package/dist/index.cjs +513 -234
  37. package/dist/index.d.ts +1469 -736
  38. package/dist/internal/async/interval-retrier.js +8 -2
  39. package/dist/internal/logger/level-resolver.js +3 -3
  40. package/dist/scw/client-ini-factory.js +6 -0
  41. package/dist/scw/client-ini-profile.js +18 -0
  42. package/dist/scw/client-settings.js +12 -0
  43. package/dist/scw/constants.js +1 -1
  44. package/dist/scw/custom-marshalling.js +4 -7
  45. package/dist/scw/errors/standard/quotas-exceeded-error.js +6 -0
  46. package/package.json +2 -2
@@ -275,7 +275,7 @@ class API extends API$1 {
275
275
  * @param options - The waiting options
276
276
  * @returns A Promise of SSLCertificate
277
277
  */
278
- this.waitForSSLCertificate = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!SSL_CERTIFICATE_TRANSIENT_STATUSES.includes(res.status))), this.getSSLCertificate, request, options);
278
+ this.waitForSSLCertificate = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!SSL_CERTIFICATE_TRANSIENT_STATUSES.includes(res.status))), this.getSSLCertificate, request, options);
279
279
  /**
280
280
  * Create or return the zone TLS certificate.
281
281
  *
@@ -571,7 +571,7 @@ class RegistrarAPI extends API$1 {
571
571
  * @param options - The waiting options
572
572
  * @returns A Promise of Domain
573
573
  */
574
- this.waitForDomain = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!DOMAIN_TRANSIENT_STATUSES.includes(res.status))), this.getDomain, request, options);
574
+ this.waitForDomain = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!DOMAIN_TRANSIENT_STATUSES.includes(res.status))), this.getDomain, request, options);
575
575
  /**
576
576
  * Update a domain. Update the domain contacts or create a new one.<br/> If
577
577
  * you add the same contact for multiple roles. Only one ID will be created
@@ -45,7 +45,7 @@ class API extends API$1 {
45
45
  * @param options - The waiting options
46
46
  * @returns A Promise of FlexibleIP
47
47
  */
48
- this.waitForFlexibleIP = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!FLEXIBLE_IP_TRANSIENT_STATUSES.includes(res.status))), this.getFlexibleIP, request, options);
48
+ this.waitForFlexibleIP = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!FLEXIBLE_IP_TRANSIENT_STATUSES.includes(res.status))), this.getFlexibleIP, request, options);
49
49
  this.pageOfListFlexibleIPs = function (request) {
50
50
  if (request === void 0) {
51
51
  request = {};
@@ -161,8 +161,8 @@ class API extends API$1 {
161
161
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
162
162
  });
163
163
  }
164
+ /** Lists the available zones of the API. */
164
165
  }
165
- /** Lists the available zones of the API. */
166
166
  API.LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
167
167
 
168
168
  export { API };
@@ -31,7 +31,8 @@ class API extends API$1 {
31
31
  }, unmarshalListNamespacesResponse);
32
32
  };
33
33
  /**
34
- * List all your namespaces.
34
+ * List all your namespaces. List all existing namespaces in the specified
35
+ * region.
35
36
  *
36
37
  * @param request - The request {@link ListNamespacesRequest}
37
38
  * @returns A Promise of ListNamespacesResponse
@@ -43,7 +44,7 @@ class API extends API$1 {
43
44
  return enrichForPagination('namespaces', _this.pageOfListNamespaces, request);
44
45
  };
45
46
  /**
46
- * Get a namespace. Get the namespace associated with the given id.
47
+ * Get a namespace. Get the namespace associated with the specified ID.
47
48
  *
48
49
  * @param request - The request {@link GetNamespaceRequest}
49
50
  * @returns A Promise of Namespace
@@ -59,9 +60,10 @@ class API extends API$1 {
59
60
  * @param options - The waiting options
60
61
  * @returns A Promise of Namespace
61
62
  */
62
- this.waitForNamespace = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!NAMESPACE_TRANSIENT_STATUSES.includes(res.status))), this.getNamespace, request, options);
63
+ this.waitForNamespace = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!NAMESPACE_TRANSIENT_STATUSES.includes(res.status))), this.getNamespace, request, options);
63
64
  /**
64
- * Create a new namespace.
65
+ * Create a new namespace. Create a new namespace in a specified Organization
66
+ * or Proejct.
65
67
  *
66
68
  * @param request - The request {@link CreateNamespaceRequest}
67
69
  * @returns A Promise of Namespace
@@ -78,8 +80,8 @@ class API extends API$1 {
78
80
  }, unmarshalNamespace);
79
81
  };
80
82
  /**
81
- * Update an existing namespace. Update the space associated with the given
82
- * id.
83
+ * Update an existing namespace. Update the namespace associated with the
84
+ * specified ID.
83
85
  *
84
86
  * @param request - The request {@link UpdateNamespaceRequest}
85
87
  * @returns A Promise of Namespace
@@ -92,7 +94,7 @@ class API extends API$1 {
92
94
  }, unmarshalNamespace);
93
95
  /**
94
96
  * Delete an existing namespace. Delete the namespace associated with the
95
- * given id.
97
+ * specified ID.
96
98
  *
97
99
  * @param request - The request {@link DeleteNamespaceRequest}
98
100
  * @returns A Promise of Namespace
@@ -114,7 +116,7 @@ class API extends API$1 {
114
116
  */
115
117
  this.listFunctions = request => enrichForPagination('functions', this.pageOfListFunctions, request);
116
118
  /**
117
- * Get a function. Get the function associated with the given id.
119
+ * Get a function. Get the function associated with the specified ID.
118
120
  *
119
121
  * @param request - The request {@link GetFunctionRequest}
120
122
  * @returns A Promise of Function
@@ -130,9 +132,10 @@ class API extends API$1 {
130
132
  * @param options - The waiting options
131
133
  * @returns A Promise of Function
132
134
  */
133
- this.waitForFunction = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!FUNCTION_TRANSIENT_STATUSES.includes(res.status))), this.getFunction, request, options);
135
+ this.waitForFunction = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!FUNCTION_TRANSIENT_STATUSES.includes(res.status))), this.getFunction, request, options);
134
136
  /**
135
- * Create a new function.
137
+ * Create a new function. Create a new function in the specified region for a
138
+ * specified Organization or Project.
136
139
  *
137
140
  * @param request - The request {@link CreateFunctionRequest}
138
141
  * @returns A Promise of Function
@@ -144,8 +147,8 @@ class API extends API$1 {
144
147
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
145
148
  }, unmarshalFunction);
146
149
  /**
147
- * Update an existing function. Update the function associated with the given
148
- * id.
150
+ * Update an existing function. Update the function associated with the
151
+ * specified ID.
149
152
  *
150
153
  * @param request - The request {@link UpdateFunctionRequest}
151
154
  * @returns A Promise of Function
@@ -157,7 +160,7 @@ class API extends API$1 {
157
160
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
158
161
  }, unmarshalFunction);
159
162
  /**
160
- * Delete a function. Delete the function associated with the given id.
163
+ * Delete a function. Delete the function associated with the specified ID.
161
164
  *
162
165
  * @param request - The request {@link DeleteFunctionRequest}
163
166
  * @returns A Promise of Function
@@ -167,7 +170,7 @@ class API extends API$1 {
167
170
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
168
171
  }, unmarshalFunction);
169
172
  /**
170
- * Deploy a function. Deploy a function associated with the given id.
173
+ * Deploy a function. Deploy a function associated with the specified ID.
171
174
  *
172
175
  * @param request - The request {@link DeployFunctionRequest}
173
176
  * @returns A Promise of Function
@@ -195,7 +198,7 @@ class API extends API$1 {
195
198
  };
196
199
  /**
197
200
  * Get an upload URL of a function. Get an upload URL of a function associated
198
- * with the given id.
201
+ * with the specified ID.
199
202
  *
200
203
  * @param request - The request {@link GetFunctionUploadURLRequest}
201
204
  * @returns A Promise of UploadURL
@@ -207,7 +210,7 @@ class API extends API$1 {
207
210
  }, unmarshalUploadURL);
208
211
  /**
209
212
  * Get a download URL of a function. Get a download URL for a function
210
- * associated with the given id.
213
+ * associated with the specified ID.
211
214
  *
212
215
  * @param request - The request {@link GetFunctionDownloadURLRequest}
213
216
  * @returns A Promise of DownloadURL
@@ -222,14 +225,14 @@ class API extends API$1 {
222
225
  urlParams: urlParams(['function_id', request.functionId], ['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
223
226
  }, unmarshalListCronsResponse);
224
227
  /**
225
- * List all your crons.
228
+ * List all crons. List all the cronjobs in a specified region.
226
229
  *
227
230
  * @param request - The request {@link ListCronsRequest}
228
231
  * @returns A Promise of ListCronsResponse
229
232
  */
230
233
  this.listCrons = request => enrichForPagination('crons', this.pageOfListCrons, request);
231
234
  /**
232
- * Get a cron. Get the cron associated with the given id.
235
+ * Get a cron. Get the cron associated with the specified ID.
233
236
  *
234
237
  * @param request - The request {@link GetCronRequest}
235
238
  * @returns A Promise of Cron
@@ -245,9 +248,10 @@ class API extends API$1 {
245
248
  * @param options - The waiting options
246
249
  * @returns A Promise of Cron
247
250
  */
248
- this.waitForCron = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!CRON_TRANSIENT_STATUSES.includes(res.status))), this.getCron, request, options);
251
+ this.waitForCron = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!CRON_TRANSIENT_STATUSES.includes(res.status))), this.getCron, request, options);
249
252
  /**
250
- * Create a new cron.
253
+ * Create a new cron. Create a new cronjob for a function with the specified
254
+ * ID.
251
255
  *
252
256
  * @param request - The request {@link CreateCronRequest}
253
257
  * @returns A Promise of Cron
@@ -259,7 +263,7 @@ class API extends API$1 {
259
263
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
260
264
  }, unmarshalCron);
261
265
  /**
262
- * Update an existing cron. Update the cron associated with the given id.
266
+ * Update an existing cron. Update the cron associated with the specified ID.
263
267
  *
264
268
  * @param request - The request {@link UpdateCronRequest}
265
269
  * @returns A Promise of Cron
@@ -271,7 +275,7 @@ class API extends API$1 {
271
275
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
272
276
  }, unmarshalCron);
273
277
  /**
274
- * Delete an existing cron. Delete the cron associated with the given id.
278
+ * Delete an existing cron. Delete the cron associated with the specified ID.
275
279
  *
276
280
  * @param request - The request {@link DeleteCronRequest}
277
281
  * @returns A Promise of Cron
@@ -286,7 +290,8 @@ class API extends API$1 {
286
290
  urlParams: urlParams(['order_by', request.orderBy ?? 'timestamp_desc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
287
291
  }, unmarshalListLogsResponse);
288
292
  /**
289
- * List your application logs.
293
+ * List application logs. List the application logs of the function with the
294
+ * specified ID.
290
295
  *
291
296
  * @param request - The request {@link ListLogsRequest}
292
297
  * @returns A Promise of ListLogsResponse
@@ -298,14 +303,16 @@ class API extends API$1 {
298
303
  urlParams: urlParams(['function_id', request.functionId], ['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
299
304
  }, unmarshalListDomainsResponse);
300
305
  /**
301
- * List all domain name bindings.
306
+ * List all domain name bindings. List all domain name bindings in a specified
307
+ * region.
302
308
  *
303
309
  * @param request - The request {@link ListDomainsRequest}
304
310
  * @returns A Promise of ListDomainsResponse
305
311
  */
306
312
  this.listDomains = request => enrichForPagination('domains', this.pageOfListDomains, request);
307
313
  /**
308
- * Get a domain name binding.
314
+ * Get a domain name binding. Get a domain name binding for the function with
315
+ * the specified ID.
309
316
  *
310
317
  * @param request - The request {@link GetDomainRequest}
311
318
  * @returns A Promise of Domain
@@ -321,9 +328,10 @@ class API extends API$1 {
321
328
  * @param options - The waiting options
322
329
  * @returns A Promise of Domain
323
330
  */
324
- this.waitForDomain = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!DOMAIN_TRANSIENT_STATUSES.includes(res.status))), this.getDomain, request, options);
331
+ this.waitForDomain = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!DOMAIN_TRANSIENT_STATUSES.includes(res.status))), this.getDomain, request, options);
325
332
  /**
326
- * Create a domain name binding.
333
+ * Create a domain name binding. Create a domain name binding for the function
334
+ * with the specified ID.
327
335
  *
328
336
  * @param request - The request {@link CreateDomainRequest}
329
337
  * @returns A Promise of Domain
@@ -335,7 +343,8 @@ class API extends API$1 {
335
343
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
336
344
  }, unmarshalDomain);
337
345
  /**
338
- * Delete a domain name binding.
346
+ * Delete a domain name binding. Delete a domain name binding for the function
347
+ * with the specified ID.
339
348
  *
340
349
  * @param request - The request {@link DeleteDomainRequest}
341
350
  * @returns A Promise of Domain
@@ -399,7 +408,7 @@ class API extends API$1 {
399
408
  * @param options - The waiting options
400
409
  * @returns A Promise of Token
401
410
  */
402
- this.waitForToken = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!TOKEN_TRANSIENT_STATUSES.includes(res.status))), this.getToken, request, options);
411
+ this.waitForToken = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!TOKEN_TRANSIENT_STATUSES.includes(res.status))), this.getToken, request, options);
403
412
  this.pageOfListTokens = function (request) {
404
413
  if (request === void 0) {
405
414
  request = {};
@@ -449,7 +458,7 @@ class API extends API$1 {
449
458
  * @param options - The waiting options
450
459
  * @returns A Promise of Trigger
451
460
  */
452
- this.waitForTrigger = (request, options) => waitForResource((options == null ? void 0 : options.stop) ?? (res => Promise.resolve(!TRIGGER_TRANSIENT_STATUSES.includes(res.status))), this.getTrigger, request, options);
461
+ this.waitForTrigger = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!TRIGGER_TRANSIENT_STATUSES.includes(res.status))), this.getTrigger, request, options);
453
462
  this.pageOfListTriggers = function (request) {
454
463
  if (request === void 0) {
455
464
  request = {};
@@ -487,8 +496,8 @@ class API extends API$1 {
487
496
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
488
497
  }, unmarshalTrigger);
489
498
  }
499
+ /** Lists the available regions of the API. */
490
500
  }
491
- /** Lists the available regions of the API. */
492
501
  API.LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
493
502
 
494
503
  export { API };
@@ -78,6 +78,7 @@ const unmarshalFunction = data => {
78
78
  throw new TypeError(`Unmarshalling the type 'Function' failed as data isn't a dictionary.`);
79
79
  }
80
80
  return {
81
+ buildMessage: data.build_message,
81
82
  cpuLimit: data.cpu_limit,
82
83
  description: data.description,
83
84
  domainName: data.domain_name,
@@ -293,22 +294,8 @@ const marshalSecret = (request, defaults) => ({
293
294
  key: request.key,
294
295
  value: request.value
295
296
  });
296
- const marshalUpdateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
297
- mnq_namespace_id: request.mnqNamespaceId,
298
- mnq_project_id: request.mnqProjectId,
299
- mnq_region: request.mnqRegion,
300
- subject: request.subject
301
- });
302
- const marshalUpdateTriggerRequestMnqSqsClientConfig = (request, defaults) => ({
303
- mnq_namespace_id: request.mnqNamespaceId,
304
- mnq_project_id: request.mnqProjectId,
305
- mnq_region: request.mnqRegion,
306
- queue: request.queue
307
- });
308
297
  const marshalUpdateTriggerRequestSqsClientConfig = (request, defaults) => ({
309
298
  access_key: request.accessKey,
310
- endpoint: request.endpoint,
311
- queue_url: request.queueUrl,
312
299
  secret_key: request.secretKey
313
300
  });
314
301
  const marshalCreateCronRequest = (request, defaults) => ({
@@ -398,14 +385,8 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
398
385
  description: request.description,
399
386
  name: request.name,
400
387
  ...resolveOneOf([{
401
- param: 'scw_sqs_config',
402
- value: request.scwSqsConfig ? marshalUpdateTriggerRequestMnqSqsClientConfig(request.scwSqsConfig) : undefined
403
- }, {
404
388
  param: 'sqs_config',
405
389
  value: request.sqsConfig ? marshalUpdateTriggerRequestSqsClientConfig(request.sqsConfig) : undefined
406
- }, {
407
- param: 'scw_nats_config',
408
- value: request.scwNatsConfig ? marshalUpdateTriggerRequestMnqNatsClientConfig(request.scwNatsConfig) : undefined
409
390
  }])
410
391
  });
411
392
 
@@ -95,7 +95,7 @@ class API extends API$1 {
95
95
  return _this.client.fetch({
96
96
  method: 'GET',
97
97
  path: `/iam/v1alpha1/users`,
98
- urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? _this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? _this.client.settings.defaultPageSize], ['user_ids', request.userIds])
98
+ urlParams: urlParams(['mfa', request.mfa], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? _this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? _this.client.settings.defaultPageSize], ['user_ids', request.userIds])
99
99
  }, unmarshalListUsersResponse);
100
100
  };
101
101
  /**
@@ -117,8 +117,7 @@ class API extends API$1 {
117
117
  /**
118
118
  * Get a given user. Retrieve information about a user, specified by the
119
119
  * `user_id` parameter. The user's full details, including `id`, `email`,
120
- * `organization_id`, `status` and `two_factor_enabled` are returned in the
121
- * response.
120
+ * `organization_id`, `status` and `mfa` are returned in the response.
122
121
  *
123
122
  * @param request - The request {@link GetUserRequest}
124
123
  * @returns A Promise of User
@@ -148,6 +148,7 @@ const unmarshalUser = data => {
148
148
  email: data.email,
149
149
  id: data.id,
150
150
  lastLoginAt: unmarshalDate(data.last_login_at),
151
+ mfa: data.mfa,
151
152
  organizationId: data.organization_id,
152
153
  status: data.status,
153
154
  twoFactorEnabled: data.two_factor_enabled,
@@ -60,7 +60,7 @@ const ListAPIKeysRequest = {
60
60
  maxLength: 200
61
61
  },
62
62
  page: {
63
- greaterThanOrEqual: 1
63
+ greaterThan: 0
64
64
  },
65
65
  pageSize: {
66
66
  greaterThanOrEqual: 1,
@@ -74,7 +74,7 @@ const ListApplicationsRequest = {
74
74
  pattern: /^[a-zA-Z0-9\(\)\._\- ]+$/
75
75
  },
76
76
  page: {
77
- greaterThanOrEqual: 1
77
+ greaterThan: 0
78
78
  },
79
79
  pageSize: {
80
80
  greaterThanOrEqual: 1,
@@ -86,7 +86,7 @@ const ListGroupsRequest = {
86
86
  minLength: 1
87
87
  },
88
88
  page: {
89
- greaterThanOrEqual: 1
89
+ greaterThan: 0
90
90
  },
91
91
  pageSize: {
92
92
  greaterThanOrEqual: 1,
@@ -95,7 +95,7 @@ const ListGroupsRequest = {
95
95
  };
96
96
  const ListJWTsRequest = {
97
97
  page: {
98
- greaterThanOrEqual: 1
98
+ greaterThan: 0
99
99
  },
100
100
  pageSize: {
101
101
  greaterThanOrEqual: 1,
@@ -104,7 +104,7 @@ const ListJWTsRequest = {
104
104
  };
105
105
  const ListPermissionSetsRequest = {
106
106
  page: {
107
- greaterThanOrEqual: 1
107
+ greaterThan: 0
108
108
  },
109
109
  pageSize: {
110
110
  greaterThanOrEqual: 1,
@@ -113,7 +113,7 @@ const ListPermissionSetsRequest = {
113
113
  };
114
114
  const ListPoliciesRequest = {
115
115
  page: {
116
- greaterThanOrEqual: 1
116
+ greaterThan: 0
117
117
  },
118
118
  pageSize: {
119
119
  greaterThanOrEqual: 1,
@@ -125,7 +125,7 @@ const ListPoliciesRequest = {
125
125
  };
126
126
  const ListQuotaRequest = {
127
127
  page: {
128
- greaterThanOrEqual: 1
128
+ greaterThan: 0
129
129
  },
130
130
  pageSize: {
131
131
  greaterThanOrEqual: 1,
@@ -134,7 +134,7 @@ const ListQuotaRequest = {
134
134
  };
135
135
  const ListRulesRequest = {
136
136
  page: {
137
- greaterThanOrEqual: 1
137
+ greaterThan: 0
138
138
  },
139
139
  pageSize: {
140
140
  greaterThanOrEqual: 1,
@@ -147,7 +147,7 @@ const ListSSHKeysRequest = {
147
147
  minLength: 1
148
148
  },
149
149
  page: {
150
- greaterThanOrEqual: 1
150
+ greaterThan: 0
151
151
  },
152
152
  pageSize: {
153
153
  greaterThanOrEqual: 1,
@@ -156,7 +156,7 @@ const ListSSHKeysRequest = {
156
156
  };
157
157
  const ListUsersRequest = {
158
158
  page: {
159
- greaterThanOrEqual: 1
159
+ greaterThan: 0
160
160
  },
161
161
  pageSize: {
162
162
  greaterThanOrEqual: 1,