@scaleway/sdk 2.18.0 → 2.18.1

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.
@@ -90,13 +90,13 @@ class API extends API$1 {
90
90
  listClusters = (request = {}) => enrichForPagination('clusters', this.pageOfListClusters, request);
91
91
 
92
92
  /**
93
- * Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
94
- * Database Instance node, either by upgrading to a bigger node type (vertical
95
- * scaling) or by adding more nodes to your Database Instance to increase your
96
- * number of endpoints and distribute cache (horizontal scaling). Note that
97
- * scaling horizontally your Redis™ Database Instance will not renew its TLS
98
- * certificate. In order to refresh the TLS certificate, you must use the
99
- * Renew TLS certificate endpoint.
93
+ * Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
94
+ * either by upgrading to a bigger node type (vertical scaling) or by adding
95
+ * more nodes to your Database Instance to increase your number of endpoints
96
+ * and distribute cache (horizontal scaling, available for clusters only).
97
+ * Note that scaling horizontally your Redis™ Database Instance will not renew
98
+ * its TLS certificate. In order to refresh the TLS certificate, you must use
99
+ * the Renew TLS certificate endpoint.
100
100
  *
101
101
  * @param request - The request {@link MigrateClusterRequest}
102
102
  * @returns A Promise of Cluster
@@ -117,14 +117,13 @@ class API extends API$1 {
117
117
  * calls after the first will return no error but have no effect.
118
118
  *
119
119
  * @param request - The request {@link EnableIPMobilityRequest}
120
- * @returns A Promise of Gateway
121
120
  */
122
121
  enableIPMobility = request => this.client.fetch({
123
122
  body: '{}',
124
123
  headers: jsonContentHeaders,
125
124
  method: 'POST',
126
125
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`
127
- }, unmarshalGateway);
126
+ });
128
127
  pageOfListGatewayNetworks = (request = {}) => this.client.fetch({
129
128
  method: 'GET',
130
129
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateway-networks`,
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v2.17.0';
500
+ const version = 'v2.18.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () =>
@@ -23469,13 +23469,13 @@ let API$a = class API extends API$y {
23469
23469
  listClusters = (request = {}) => enrichForPagination('clusters', this.pageOfListClusters, request);
23470
23470
 
23471
23471
  /**
23472
- * Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
23473
- * Database Instance node, either by upgrading to a bigger node type (vertical
23474
- * scaling) or by adding more nodes to your Database Instance to increase your
23475
- * number of endpoints and distribute cache (horizontal scaling). Note that
23476
- * scaling horizontally your Redis™ Database Instance will not renew its TLS
23477
- * certificate. In order to refresh the TLS certificate, you must use the
23478
- * Renew TLS certificate endpoint.
23472
+ * Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
23473
+ * either by upgrading to a bigger node type (vertical scaling) or by adding
23474
+ * more nodes to your Database Instance to increase your number of endpoints
23475
+ * and distribute cache (horizontal scaling, available for clusters only).
23476
+ * Note that scaling horizontally your Redis™ Database Instance will not renew
23477
+ * its TLS certificate. In order to refresh the TLS certificate, you must use
23478
+ * the Renew TLS certificate endpoint.
23479
23479
  *
23480
23480
  * @param request - The request {@link MigrateClusterRequest}
23481
23481
  * @returns A Promise of Cluster
@@ -27027,14 +27027,13 @@ let API$1 = class API extends API$y {
27027
27027
  * calls after the first will return no error but have no effect.
27028
27028
  *
27029
27029
  * @param request - The request {@link EnableIPMobilityRequest}
27030
- * @returns A Promise of Gateway
27031
27030
  */
27032
27031
  enableIPMobility = request => this.client.fetch({
27033
27032
  body: '{}',
27034
27033
  headers: jsonContentHeaders$1,
27035
27034
  method: 'POST',
27036
27035
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`
27037
- }, unmarshalGateway);
27036
+ });
27038
27037
  pageOfListGatewayNetworks = (request = {}) => this.client.fetch({
27039
27038
  method: 'GET',
27040
27039
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateway-networks`,
package/dist/index.d.ts CHANGED
@@ -27461,13 +27461,13 @@ declare class API$a extends API$y {
27461
27461
  [Symbol.asyncIterator]: () => AsyncGenerator<Cluster[], void, void>;
27462
27462
  };
27463
27463
  /**
27464
- * Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
27465
- * Database Instance node, either by upgrading to a bigger node type (vertical
27466
- * scaling) or by adding more nodes to your Database Instance to increase your
27467
- * number of endpoints and distribute cache (horizontal scaling). Note that
27468
- * scaling horizontally your Redis™ Database Instance will not renew its TLS
27469
- * certificate. In order to refresh the TLS certificate, you must use the
27470
- * Renew TLS certificate endpoint.
27464
+ * Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
27465
+ * either by upgrading to a bigger node type (vertical scaling) or by adding
27466
+ * more nodes to your Database Instance to increase your number of endpoints
27467
+ * and distribute cache (horizontal scaling, available for clusters only).
27468
+ * Note that scaling horizontally your Redis™ Database Instance will not renew
27469
+ * its TLS certificate. In order to refresh the TLS certificate, you must use
27470
+ * the Renew TLS certificate endpoint.
27471
27471
  *
27472
27472
  * @param request - The request {@link MigrateClusterRequest}
27473
27473
  * @returns A Promise of Cluster
@@ -32523,9 +32523,8 @@ declare class API$1 extends API$y {
32523
32523
  * calls after the first will return no error but have no effect.
32524
32524
  *
32525
32525
  * @param request - The request {@link EnableIPMobilityRequest}
32526
- * @returns A Promise of Gateway
32527
32526
  */
32528
- enableIPMobility: (request: Readonly<EnableIPMobilityRequest>) => Promise<Gateway>;
32527
+ enableIPMobility: (request: Readonly<EnableIPMobilityRequest>) => Promise<void>;
32529
32528
  protected pageOfListGatewayNetworks: (request?: Readonly<ListGatewayNetworksRequest>) => Promise<ListGatewayNetworksResponse>;
32530
32529
  /**
32531
32530
  * List Public Gateway connections to Private Networks. List the connections
@@ -1,4 +1,4 @@
1
- const version = 'v2.17.0';
1
+ const version = 'v2.18.0';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "2.18.0",
3
+ "version": "2.18.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -35,5 +35,5 @@
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "9c45a5e1754dd35cc4d5a502f99bbbaff6ed7ba4"
38
+ "gitHead": "647593a141d24a4070c6404ca7bb00f3ac0b2be6"
39
39
  }