@scaleway/sdk-vpc 2.13.0 → 2.14.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.
@@ -1,6 +1,6 @@
1
1
  import { API as ParentAPI } from '@scaleway/sdk-client';
2
2
  import type { ApiLocality } from '@scaleway/sdk-client';
3
- import type { AddPrivateNetworkS3EndpointRequest, AddPrivateNetworkS3EndpointResponse, CreateIngressRuleRequest, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCConnectorRequest, CreateVPCRequest, DeleteIngressRuleRequest, DeletePrivateNetworkRequest, DeletePrivateNetworkS3EndpointRequest, DeleteRouteRequest, DeleteVPCConnectorRequest, DeleteVPCRequest, DisableS3EndpointRequest, EnableCustomRoutesPropagationRequest, EnableDHCPRequest, EnableRoutingRequest, EnableS3EndpointRequest, GetAclRequest, GetAclResponse, GetIngressRuleRequest, GetPrivateNetworkRequest, GetRouteRequest, GetVPCConnectorRequest, GetVPCRequest, IngressRule, ListIngressRulesRequest, ListIngressRulesResponse, ListPrivateNetworksRequest, ListPrivateNetworksResponse, ListSubnetOverlapsRequest, ListSubnetOverlapsResponse, ListSubnetsRequest, ListSubnetsResponse, ListVPCConnectorsRequest, ListVPCConnectorsResponse, ListVPCsRequest, ListVPCsResponse, PrivateNetwork, Route, SetAclRequest, SetAclResponse, SetPrivateNetworksS3EndpointRequest, SetPrivateNetworksS3EndpointResponse, UpdateIngressRuleRequest, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCConnectorRequest, UpdateVPCRequest, VPC, VPCConnector } from './types.gen.js';
3
+ import type { AddPrivateNetworkObjectStoragePrivateAccessRequest, AddPrivateNetworkObjectStoragePrivateAccessResponse, CreateIngressRuleRequest, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCConnectorRequest, CreateVPCRequest, DeleteIngressRuleRequest, DeletePrivateNetworkObjectStoragePrivateAccessRequest, DeletePrivateNetworkRequest, DeleteRouteRequest, DeleteVPCConnectorRequest, DeleteVPCRequest, DisableObjectStoragePrivateAccessRequest, EnableCustomRoutesPropagationRequest, EnableDHCPRequest, EnableObjectStoragePrivateAccessRequest, EnableRoutingRequest, GetAclRequest, GetAclResponse, GetIngressRuleRequest, GetPrivateNetworkRequest, GetRouteRequest, GetVPCConnectorRequest, GetVPCRequest, IngressRule, ListIngressRulesRequest, ListIngressRulesResponse, ListPrivateNetworksRequest, ListPrivateNetworksResponse, ListSubnetOverlapsRequest, ListSubnetOverlapsResponse, ListSubnetsRequest, ListSubnetsResponse, ListVPCConnectorsRequest, ListVPCConnectorsResponse, ListVPCsRequest, ListVPCsResponse, PrivateNetwork, Route, SetAclRequest, SetAclResponse, SetPrivateNetworksObjectStoragePrivateAccessRequest, SetPrivateNetworksObjectStoragePrivateAccessResponse, UpdateIngressRuleRequest, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCConnectorRequest, UpdateVPCRequest, VPC, VPCConnector } from './types.gen.js';
4
4
  /**
5
5
  * VPC API.
6
6
 
@@ -249,37 +249,37 @@ export declare class API extends ParentAPI {
249
249
  */
250
250
  deleteIngressRule: (request: Readonly<DeleteIngressRuleRequest>) => Promise<void>;
251
251
  /**
252
- * Enable S3 integration. Enable S3 integration for a VPC.
252
+ * Enable Object Storage private access. Enable Object Storage private access for a VPC.
253
253
  *
254
- * @param request - The request {@link EnableS3EndpointRequest}
254
+ * @param request - The request {@link EnableObjectStoragePrivateAccessRequest}
255
255
  * @returns A Promise of VPC
256
256
  */
257
- enableS3Endpoint: (request: Readonly<EnableS3EndpointRequest>) => Promise<VPC>;
257
+ enableObjectStoragePrivateAccess: (request: Readonly<EnableObjectStoragePrivateAccessRequest>) => Promise<VPC>;
258
258
  /**
259
- * Disable S3 integration. Disable S3 integration for a VPC.
259
+ * Disable Object Storage private access. Disable Object Storage private access for a VPC.
260
260
  *
261
- * @param request - The request {@link DisableS3EndpointRequest}
261
+ * @param request - The request {@link DisableObjectStoragePrivateAccessRequest}
262
262
  * @returns A Promise of VPC
263
263
  */
264
- disableS3Endpoint: (request: Readonly<DisableS3EndpointRequest>) => Promise<VPC>;
264
+ disableObjectStoragePrivateAccess: (request: Readonly<DisableObjectStoragePrivateAccessRequest>) => Promise<VPC>;
265
265
  /**
266
- * Add a Private Network to an S3 Endpoint. Add a Private Network to the S3 Endpoint to enable S3 integration for its resources.
266
+ * Add a Private Network to an Object Storage private access. Add a Private Network to the Object Storage private access to enable Object Storage integration for its resources.
267
267
  *
268
- * @param request - The request {@link AddPrivateNetworkS3EndpointRequest}
269
- * @returns A Promise of AddPrivateNetworkS3EndpointResponse
268
+ * @param request - The request {@link AddPrivateNetworkObjectStoragePrivateAccessRequest}
269
+ * @returns A Promise of AddPrivateNetworkObjectStoragePrivateAccessResponse
270
270
  */
271
- addPrivateNetworkS3Endpoint: (request: Readonly<AddPrivateNetworkS3EndpointRequest>) => Promise<AddPrivateNetworkS3EndpointResponse>;
271
+ addPrivateNetworkObjectStoragePrivateAccess: (request: Readonly<AddPrivateNetworkObjectStoragePrivateAccessRequest>) => Promise<AddPrivateNetworkObjectStoragePrivateAccessResponse>;
272
272
  /**
273
- * Set S3 Endpoint Private Networks. Set the Private Networks associated with the S3 Endpoint to enable S3 integration for their resources.
273
+ * Set Object Storage private access Private Networks. Set the Private Networks associated with the Object Storage private access to enable Object Storage integration for their resources.
274
274
  *
275
- * @param request - The request {@link SetPrivateNetworksS3EndpointRequest}
276
- * @returns A Promise of SetPrivateNetworksS3EndpointResponse
275
+ * @param request - The request {@link SetPrivateNetworksObjectStoragePrivateAccessRequest}
276
+ * @returns A Promise of SetPrivateNetworksObjectStoragePrivateAccessResponse
277
277
  */
278
- setPrivateNetworksS3Endpoint: (request: Readonly<SetPrivateNetworksS3EndpointRequest>) => Promise<SetPrivateNetworksS3EndpointResponse>;
278
+ setPrivateNetworksObjectStoragePrivateAccess: (request: Readonly<SetPrivateNetworksObjectStoragePrivateAccessRequest>) => Promise<SetPrivateNetworksObjectStoragePrivateAccessResponse>;
279
279
  /**
280
- * Remove a Private Network from an S3 Endpoint. Remove a Private Network from the S3 Endpoint to disable S3 integration for its resources.
280
+ * Remove a Private Network from an Object Storage private access. Remove a Private Network from the Object Storage private access to disable Object Storage integration for its resources.
281
281
  *
282
- * @param request - The request {@link DeletePrivateNetworkS3EndpointRequest}
282
+ * @param request - The request {@link DeletePrivateNetworkObjectStoragePrivateAccessRequest}
283
283
  */
284
- deletePrivateNetworkS3Endpoint: (request: Readonly<DeletePrivateNetworkS3EndpointRequest>) => Promise<void>;
284
+ deletePrivateNetworkObjectStoragePrivateAccess: (request: Readonly<DeletePrivateNetworkObjectStoragePrivateAccessRequest>) => Promise<void>;
285
285
  }
@@ -1,4 +1,4 @@
1
- import { marshalAddPrivateNetworkS3EndpointRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksS3EndpointRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkS3EndpointResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksS3EndpointResponse, unmarshalVPC, unmarshalVPCConnector } from "./marshalling.gen.js";
1
+ import { marshalAddPrivateNetworkObjectStoragePrivateAccessRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksObjectStoragePrivateAccessRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse, unmarshalVPC, unmarshalVPCConnector } from "./marshalling.gen.js";
2
2
  import { API as API$1, enrichForPagination, toApiLocality, urlParams, validatePathParam } from "@scaleway/sdk-client";
3
3
  //#region src/v2/api.gen.ts
4
4
  const jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
@@ -13,7 +13,7 @@ var API = class extends API$1 {
13
13
  this.pageOfListVPCs = (request = {}) => this.client.fetch({
14
14
  method: "GET",
15
15
  path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/vpcs`,
16
- urlParams: urlParams(["is_default", request.isDefault], ["name", request.name], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["project_id", request.projectId], ["routing_enabled", request.routingEnabled], ["s3_integration_enabled", request.s3IntegrationEnabled], ["tags", request.tags])
16
+ urlParams: urlParams(["is_default", request.isDefault], ["name", request.name], ["object_storage_private_access_enabled", request.objectStoragePrivateAccessEnabled], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["project_id", request.projectId], ["routing_enabled", request.routingEnabled], ["tags", request.tags])
17
17
  }, unmarshalListVPCsResponse);
18
18
  this.listVPCs = (request = {}) => enrichForPagination("vpcs", this.pageOfListVPCs, request);
19
19
  this.createVPC = (request) => this.client.fetch({
@@ -39,7 +39,7 @@ var API = class extends API$1 {
39
39
  this.pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
40
40
  method: "GET",
41
41
  path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/private-networks`,
42
- urlParams: urlParams(["dhcp_enabled", request.dhcpEnabled], ["name", request.name], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["private_network_ids", request.privateNetworkIds], ["project_id", request.projectId], ["s3_integration_enabled", request.s3IntegrationEnabled], ["tags", request.tags], ["vpc_id", request.vpcId])
42
+ urlParams: urlParams(["dhcp_enabled", request.dhcpEnabled], ["name", request.name], ["object_storage_private_access_enabled", request.objectStoragePrivateAccessEnabled], ["order_by", request.orderBy], ["organization_id", request.organizationId], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["private_network_ids", request.privateNetworkIds], ["project_id", request.projectId], ["tags", request.tags], ["vpc_id", request.vpcId])
43
43
  }, unmarshalListPrivateNetworksResponse);
44
44
  this.listPrivateNetworks = (request = {}) => enrichForPagination("privateNetworks", this.pageOfListPrivateNetworks, request);
45
45
  this.createPrivateNetwork = (request) => this.client.fetch({
@@ -175,30 +175,30 @@ var API = class extends API$1 {
175
175
  method: "DELETE",
176
176
  path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/ingress-rules/${validatePathParam("ruleId", request.ruleId)}`
177
177
  });
178
- this.enableS3Endpoint = (request) => this.client.fetch({
178
+ this.enableObjectStoragePrivateAccess = (request) => this.client.fetch({
179
179
  method: "POST",
180
- path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/s3-integration/${validatePathParam("vpcId", request.vpcId)}/enable`,
180
+ path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/object-storage-private-access/${validatePathParam("vpcId", request.vpcId)}/enable`,
181
181
  urlParams: urlParams(["private_network_ids", request.privateNetworkIds])
182
182
  }, unmarshalVPC);
183
- this.disableS3Endpoint = (request) => this.client.fetch({
183
+ this.disableObjectStoragePrivateAccess = (request) => this.client.fetch({
184
184
  method: "POST",
185
- path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/s3-integration/${validatePathParam("vpcId", request.vpcId)}/disable`
185
+ path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/object-storage-private-access/${validatePathParam("vpcId", request.vpcId)}/disable`
186
186
  }, unmarshalVPC);
187
- this.addPrivateNetworkS3Endpoint = (request) => this.client.fetch({
188
- body: JSON.stringify(marshalAddPrivateNetworkS3EndpointRequest(request, this.client.settings)),
187
+ this.addPrivateNetworkObjectStoragePrivateAccess = (request) => this.client.fetch({
188
+ body: JSON.stringify(marshalAddPrivateNetworkObjectStoragePrivateAccessRequest(request, this.client.settings)),
189
189
  headers: jsonContentHeaders,
190
190
  method: "POST",
191
- path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/s3-integration/${validatePathParam("vpcId", request.vpcId)}/private-networks`
192
- }, unmarshalAddPrivateNetworkS3EndpointResponse);
193
- this.setPrivateNetworksS3Endpoint = (request) => this.client.fetch({
194
- body: JSON.stringify(marshalSetPrivateNetworksS3EndpointRequest(request, this.client.settings)),
191
+ path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/object-storage-private-access/${validatePathParam("vpcId", request.vpcId)}/private-networks`
192
+ }, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse);
193
+ this.setPrivateNetworksObjectStoragePrivateAccess = (request) => this.client.fetch({
194
+ body: JSON.stringify(marshalSetPrivateNetworksObjectStoragePrivateAccessRequest(request, this.client.settings)),
195
195
  headers: jsonContentHeaders,
196
196
  method: "PUT",
197
- path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/s3-integration/${validatePathParam("vpcId", request.vpcId)}/private-networks`
198
- }, unmarshalSetPrivateNetworksS3EndpointResponse);
199
- this.deletePrivateNetworkS3Endpoint = (request) => this.client.fetch({
197
+ path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/object-storage-private-access/${validatePathParam("vpcId", request.vpcId)}/private-networks`
198
+ }, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse);
199
+ this.deletePrivateNetworkObjectStoragePrivateAccess = (request) => this.client.fetch({
200
200
  method: "DELETE",
201
- path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/s3-integration/${validatePathParam("vpcId", request.vpcId)}/private-networks/${validatePathParam("privateNetworkId", request.privateNetworkId)}`
201
+ path: `/vpc/v2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/object-storage-private-access/${validatePathParam("vpcId", request.vpcId)}/private-networks/${validatePathParam("privateNetworkId", request.privateNetworkId)}`
202
202
  });
203
203
  }
204
204
  static {
@@ -1,4 +1,4 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './marshalling.gen.js';
3
- export type { AclRule, AclRuleProtocol, Action, AddPrivateNetworkS3EndpointRequest, AddPrivateNetworkS3EndpointResponse, CreateIngressRuleRequest, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCConnectorRequest, CreateVPCRequest, DeleteIngressRuleRequest, DeletePrivateNetworkRequest, DeletePrivateNetworkS3EndpointRequest, DeleteRouteRequest, DeleteVPCConnectorRequest, DeleteVPCRequest, DisableS3EndpointRequest, EnableCustomRoutesPropagationRequest, EnableDHCPRequest, EnableRoutingRequest, EnableS3EndpointRequest, GetAclRequest, GetAclResponse, GetIngressRuleRequest, GetPrivateNetworkRequest, GetRouteRequest, GetVPCConnectorRequest, GetVPCRequest, IngressRule, ListIngressRulesRequest, ListIngressRulesRequestOrderBy, ListIngressRulesResponse, ListPrivateNetworksRequest, ListPrivateNetworksRequestOrderBy, ListPrivateNetworksResponse, ListSubnetOverlapsRequest, ListSubnetOverlapsRequestOrderBy, ListSubnetOverlapsResponse, ListSubnetOverlapsResponseSubnetOverlap, ListSubnetsRequest, ListSubnetsRequestOrderBy, ListSubnetsResponse, ListVPCConnectorsRequest, ListVPCConnectorsRequestOrderBy, ListVPCConnectorsResponse, ListVPCsRequest, ListVPCsRequestOrderBy, ListVPCsResponse, PrivateNetwork, Route, RouteType, SetAclRequest, SetAclResponse, SetPrivateNetworksS3EndpointRequest, SetPrivateNetworksS3EndpointResponse, Subnet, UpdateIngressRuleRequest, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCConnectorRequest, UpdateVPCRequest, VPC, VPCConnector, VPCConnectorPeerInfo, VPCConnectorStatus, } from './types.gen.js';
3
+ export type { AclRule, AclRuleProtocol, Action, AddPrivateNetworkObjectStoragePrivateAccessRequest, AddPrivateNetworkObjectStoragePrivateAccessResponse, CreateIngressRuleRequest, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCConnectorRequest, CreateVPCRequest, DeleteIngressRuleRequest, DeletePrivateNetworkObjectStoragePrivateAccessRequest, DeletePrivateNetworkRequest, DeleteRouteRequest, DeleteVPCConnectorRequest, DeleteVPCRequest, DisableObjectStoragePrivateAccessRequest, EnableCustomRoutesPropagationRequest, EnableDHCPRequest, EnableObjectStoragePrivateAccessRequest, EnableRoutingRequest, GetAclRequest, GetAclResponse, GetIngressRuleRequest, GetPrivateNetworkRequest, GetRouteRequest, GetVPCConnectorRequest, GetVPCRequest, IngressRule, ListIngressRulesRequest, ListIngressRulesRequestOrderBy, ListIngressRulesResponse, ListPrivateNetworksRequest, ListPrivateNetworksRequestOrderBy, ListPrivateNetworksResponse, ListSubnetOverlapsRequest, ListSubnetOverlapsRequestOrderBy, ListSubnetOverlapsResponse, ListSubnetOverlapsResponseSubnetOverlap, ListSubnetsRequest, ListSubnetsRequestOrderBy, ListSubnetsResponse, ListVPCConnectorsRequest, ListVPCConnectorsRequestOrderBy, ListVPCConnectorsResponse, ListVPCsRequest, ListVPCsRequestOrderBy, ListVPCsResponse, PrivateNetwork, Route, RouteType, SetAclRequest, SetAclResponse, SetPrivateNetworksObjectStoragePrivateAccessRequest, SetPrivateNetworksObjectStoragePrivateAccessResponse, Subnet, UpdateIngressRuleRequest, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCConnectorRequest, UpdateVPCRequest, VPC, VPCConnector, VPCConnectorPeerInfo, VPCConnectorStatus, } from './types.gen.js';
4
4
  export * as ValidationRules from './validation-rules.gen.js';
@@ -1,25 +1,25 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
- import { marshalAddPrivateNetworkS3EndpointRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksS3EndpointRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkS3EndpointResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksS3EndpointResponse, unmarshalVPC, unmarshalVPCConnector } from "./marshalling.gen.js";
2
+ import { marshalAddPrivateNetworkObjectStoragePrivateAccessRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksObjectStoragePrivateAccessRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse, unmarshalVPC, unmarshalVPCConnector } from "./marshalling.gen.js";
3
3
  import { API } from "./api.gen.js";
4
4
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
5
5
  //#region src/v2/index.gen.ts
6
6
  var index_gen_exports = /* @__PURE__ */ __exportAll({
7
7
  API: () => API,
8
8
  ValidationRules: () => validation_rules_gen_exports,
9
- marshalAddPrivateNetworkS3EndpointRequest: () => marshalAddPrivateNetworkS3EndpointRequest,
9
+ marshalAddPrivateNetworkObjectStoragePrivateAccessRequest: () => marshalAddPrivateNetworkObjectStoragePrivateAccessRequest,
10
10
  marshalCreateIngressRuleRequest: () => marshalCreateIngressRuleRequest,
11
11
  marshalCreatePrivateNetworkRequest: () => marshalCreatePrivateNetworkRequest,
12
12
  marshalCreateRouteRequest: () => marshalCreateRouteRequest,
13
13
  marshalCreateVPCConnectorRequest: () => marshalCreateVPCConnectorRequest,
14
14
  marshalCreateVPCRequest: () => marshalCreateVPCRequest,
15
15
  marshalSetAclRequest: () => marshalSetAclRequest,
16
- marshalSetPrivateNetworksS3EndpointRequest: () => marshalSetPrivateNetworksS3EndpointRequest,
16
+ marshalSetPrivateNetworksObjectStoragePrivateAccessRequest: () => marshalSetPrivateNetworksObjectStoragePrivateAccessRequest,
17
17
  marshalUpdateIngressRuleRequest: () => marshalUpdateIngressRuleRequest,
18
18
  marshalUpdatePrivateNetworkRequest: () => marshalUpdatePrivateNetworkRequest,
19
19
  marshalUpdateRouteRequest: () => marshalUpdateRouteRequest,
20
20
  marshalUpdateVPCConnectorRequest: () => marshalUpdateVPCConnectorRequest,
21
21
  marshalUpdateVPCRequest: () => marshalUpdateVPCRequest,
22
- unmarshalAddPrivateNetworkS3EndpointResponse: () => unmarshalAddPrivateNetworkS3EndpointResponse,
22
+ unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse: () => unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse,
23
23
  unmarshalGetAclResponse: () => unmarshalGetAclResponse,
24
24
  unmarshalIngressRule: () => unmarshalIngressRule,
25
25
  unmarshalListIngressRulesResponse: () => unmarshalListIngressRulesResponse,
@@ -31,9 +31,9 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
31
31
  unmarshalPrivateNetwork: () => unmarshalPrivateNetwork,
32
32
  unmarshalRoute: () => unmarshalRoute,
33
33
  unmarshalSetAclResponse: () => unmarshalSetAclResponse,
34
- unmarshalSetPrivateNetworksS3EndpointResponse: () => unmarshalSetPrivateNetworksS3EndpointResponse,
34
+ unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse: () => unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse,
35
35
  unmarshalVPC: () => unmarshalVPC,
36
36
  unmarshalVPCConnector: () => unmarshalVPCConnector
37
37
  });
38
38
  //#endregion
39
- export { API, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddPrivateNetworkS3EndpointRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksS3EndpointRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkS3EndpointResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksS3EndpointResponse, unmarshalVPC, unmarshalVPCConnector };
39
+ export { API, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddPrivateNetworkObjectStoragePrivateAccessRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksObjectStoragePrivateAccessRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse, unmarshalVPC, unmarshalVPCConnector };
@@ -1,11 +1,11 @@
1
1
  import type { DefaultValues } from '@scaleway/sdk-client';
2
- import type { PrivateNetwork, Route, IngressRule, VPCConnector, VPC, AddPrivateNetworkS3EndpointResponse, GetAclResponse, ListIngressRulesResponse, ListPrivateNetworksResponse, ListSubnetOverlapsResponse, ListSubnetsResponse, ListVPCConnectorsResponse, ListVPCsResponse, SetAclResponse, SetPrivateNetworksS3EndpointResponse, AddPrivateNetworkS3EndpointRequest, CreateIngressRuleRequest, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCConnectorRequest, CreateVPCRequest, SetAclRequest, SetPrivateNetworksS3EndpointRequest, UpdateIngressRuleRequest, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCConnectorRequest, UpdateVPCRequest } from './types.gen.js';
2
+ import type { PrivateNetwork, Route, IngressRule, VPCConnector, VPC, AddPrivateNetworkObjectStoragePrivateAccessResponse, GetAclResponse, ListIngressRulesResponse, ListPrivateNetworksResponse, ListSubnetOverlapsResponse, ListSubnetsResponse, ListVPCConnectorsResponse, ListVPCsResponse, SetAclResponse, SetPrivateNetworksObjectStoragePrivateAccessResponse, AddPrivateNetworkObjectStoragePrivateAccessRequest, CreateIngressRuleRequest, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCConnectorRequest, CreateVPCRequest, SetAclRequest, SetPrivateNetworksObjectStoragePrivateAccessRequest, UpdateIngressRuleRequest, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCConnectorRequest, UpdateVPCRequest } from './types.gen.js';
3
3
  export declare const unmarshalPrivateNetwork: (data: unknown) => PrivateNetwork;
4
4
  export declare const unmarshalRoute: (data: unknown) => Route;
5
5
  export declare const unmarshalIngressRule: (data: unknown) => IngressRule;
6
6
  export declare const unmarshalVPCConnector: (data: unknown) => VPCConnector;
7
7
  export declare const unmarshalVPC: (data: unknown) => VPC;
8
- export declare const unmarshalAddPrivateNetworkS3EndpointResponse: (data: unknown) => AddPrivateNetworkS3EndpointResponse;
8
+ export declare const unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse: (data: unknown) => AddPrivateNetworkObjectStoragePrivateAccessResponse;
9
9
  export declare const unmarshalGetAclResponse: (data: unknown) => GetAclResponse;
10
10
  export declare const unmarshalListIngressRulesResponse: (data: unknown) => ListIngressRulesResponse;
11
11
  export declare const unmarshalListPrivateNetworksResponse: (data: unknown) => ListPrivateNetworksResponse;
@@ -14,15 +14,15 @@ export declare const unmarshalListSubnetsResponse: (data: unknown) => ListSubnet
14
14
  export declare const unmarshalListVPCConnectorsResponse: (data: unknown) => ListVPCConnectorsResponse;
15
15
  export declare const unmarshalListVPCsResponse: (data: unknown) => ListVPCsResponse;
16
16
  export declare const unmarshalSetAclResponse: (data: unknown) => SetAclResponse;
17
- export declare const unmarshalSetPrivateNetworksS3EndpointResponse: (data: unknown) => SetPrivateNetworksS3EndpointResponse;
18
- export declare const marshalAddPrivateNetworkS3EndpointRequest: (request: AddPrivateNetworkS3EndpointRequest, defaults: DefaultValues) => Record<string, unknown>;
17
+ export declare const unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse: (data: unknown) => SetPrivateNetworksObjectStoragePrivateAccessResponse;
18
+ export declare const marshalAddPrivateNetworkObjectStoragePrivateAccessRequest: (request: AddPrivateNetworkObjectStoragePrivateAccessRequest, defaults: DefaultValues) => Record<string, unknown>;
19
19
  export declare const marshalCreateIngressRuleRequest: (request: CreateIngressRuleRequest, defaults: DefaultValues) => Record<string, unknown>;
20
20
  export declare const marshalCreatePrivateNetworkRequest: (request: CreatePrivateNetworkRequest, defaults: DefaultValues) => Record<string, unknown>;
21
21
  export declare const marshalCreateRouteRequest: (request: CreateRouteRequest, defaults: DefaultValues) => Record<string, unknown>;
22
22
  export declare const marshalCreateVPCConnectorRequest: (request: CreateVPCConnectorRequest, defaults: DefaultValues) => Record<string, unknown>;
23
23
  export declare const marshalCreateVPCRequest: (request: CreateVPCRequest, defaults: DefaultValues) => Record<string, unknown>;
24
24
  export declare const marshalSetAclRequest: (request: SetAclRequest, defaults: DefaultValues) => Record<string, unknown>;
25
- export declare const marshalSetPrivateNetworksS3EndpointRequest: (request: SetPrivateNetworksS3EndpointRequest, defaults: DefaultValues) => Record<string, unknown>;
25
+ export declare const marshalSetPrivateNetworksObjectStoragePrivateAccessRequest: (request: SetPrivateNetworksObjectStoragePrivateAccessRequest, defaults: DefaultValues) => Record<string, unknown>;
26
26
  export declare const marshalUpdateIngressRuleRequest: (request: UpdateIngressRuleRequest, defaults: DefaultValues) => Record<string, unknown>;
27
27
  export declare const marshalUpdatePrivateNetworkRequest: (request: UpdatePrivateNetworkRequest, defaults: DefaultValues) => Record<string, unknown>;
28
28
  export declare const marshalUpdateRouteRequest: (request: UpdateRouteRequest, defaults: DefaultValues) => Record<string, unknown>;
@@ -20,7 +20,7 @@ const unmarshalPrivateNetwork = (data) => {
20
20
  createdAt: unmarshalDate(data.created_at),
21
21
  defaultRoutePropagationEnabled: data.default_route_propagation_enabled,
22
22
  dhcpEnabled: data.dhcp_enabled,
23
- hasS3Integration: data.has_s3_integration,
23
+ hasObjectStoragePrivateAccess: data.has_object_storage_private_access,
24
24
  id: data.id,
25
25
  name: data.name,
26
26
  organizationId: data.organization_id,
@@ -101,19 +101,19 @@ const unmarshalVPC = (data) => {
101
101
  id: data.id,
102
102
  isDefault: data.is_default,
103
103
  name: data.name,
104
+ objectStoragePrivateAccessEnabled: data.object_storage_private_access_enabled,
104
105
  organizationId: data.organization_id,
105
106
  privateNetworkCount: data.private_network_count,
106
107
  projectId: data.project_id,
107
108
  region: data.region,
108
109
  routingEnabled: data.routing_enabled,
109
- s3IntegrationEnabled: data.s3_integration_enabled,
110
110
  tags: data.tags,
111
111
  transitivityEnabled: data.transitivity_enabled,
112
112
  updatedAt: unmarshalDate(data.updated_at)
113
113
  };
114
114
  };
115
- const unmarshalAddPrivateNetworkS3EndpointResponse = (data) => {
116
- if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AddPrivateNetworkS3EndpointResponse' failed as data isn't a dictionary.`);
115
+ const unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse = (data) => {
116
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AddPrivateNetworkObjectStoragePrivateAccessResponse' failed as data isn't a dictionary.`);
117
117
  return {
118
118
  privateNetworkIds: data.private_network_ids,
119
119
  vpcId: data.vpc_id
@@ -198,14 +198,14 @@ const unmarshalSetAclResponse = (data) => {
198
198
  rules: unmarshalArrayOfObject(data.rules, unmarshalAclRule)
199
199
  };
200
200
  };
201
- const unmarshalSetPrivateNetworksS3EndpointResponse = (data) => {
202
- if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetPrivateNetworksS3EndpointResponse' failed as data isn't a dictionary.`);
201
+ const unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse = (data) => {
202
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetPrivateNetworksObjectStoragePrivateAccessResponse' failed as data isn't a dictionary.`);
203
203
  return {
204
204
  privateNetworkIds: data.private_network_ids,
205
205
  vpcId: data.vpc_id
206
206
  };
207
207
  };
208
- const marshalAddPrivateNetworkS3EndpointRequest = (request, defaults) => ({ private_network_id: request.privateNetworkId });
208
+ const marshalAddPrivateNetworkObjectStoragePrivateAccessRequest = (request, defaults) => ({ private_network_id: request.privateNetworkId });
209
209
  const marshalCreateIngressRuleRequest = (request, defaults) => ({
210
210
  description: request.description,
211
211
  nexthop_private_network_id: request.nexthopPrivateNetworkId,
@@ -260,7 +260,7 @@ const marshalSetAclRequest = (request, defaults) => ({
260
260
  is_ipv6: request.isIpv6,
261
261
  rules: request.rules.map((elt) => marshalAclRule(elt, defaults))
262
262
  });
263
- const marshalSetPrivateNetworksS3EndpointRequest = (request, defaults) => ({ private_network_ids: request.privateNetworkIds });
263
+ const marshalSetPrivateNetworksObjectStoragePrivateAccessRequest = (request, defaults) => ({ private_network_ids: request.privateNetworkIds });
264
264
  const marshalUpdateIngressRuleRequest = (request, defaults) => ({
265
265
  description: request.description,
266
266
  nexthop_private_network_id: request.nexthopPrivateNetworkId,
@@ -290,4 +290,4 @@ const marshalUpdateVPCRequest = (request, defaults) => ({
290
290
  tags: request.tags
291
291
  });
292
292
  //#endregion
293
- export { marshalAddPrivateNetworkS3EndpointRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksS3EndpointRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkS3EndpointResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksS3EndpointResponse, unmarshalVPC, unmarshalVPCConnector };
293
+ export { marshalAddPrivateNetworkObjectStoragePrivateAccessRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksObjectStoragePrivateAccessRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse, unmarshalVPC, unmarshalVPCConnector };
@@ -93,9 +93,9 @@ export interface PrivateNetwork {
93
93
  */
94
94
  defaultRoutePropagationEnabled: boolean;
95
95
  /**
96
- * Defines whether this Private Network is enabled for S3 integration.
96
+ * Defines whether this Private Network is enabled for Object Storage private access.
97
97
  */
98
- hasS3Integration: boolean;
98
+ hasObjectStoragePrivateAccess: boolean;
99
99
  }
100
100
  export interface Route {
101
101
  /**
@@ -358,31 +358,31 @@ export interface VPC {
358
358
  */
359
359
  transitivityEnabled: boolean;
360
360
  /**
361
- * Defines whether the S3 integration is enabled for the VPC.
361
+ * Defines whether the Object Storage private access is enabled for the VPC.
362
362
  */
363
- s3IntegrationEnabled: boolean;
363
+ objectStoragePrivateAccessEnabled: boolean;
364
364
  }
365
- export type AddPrivateNetworkS3EndpointRequest = {
365
+ export type AddPrivateNetworkObjectStoragePrivateAccessRequest = {
366
366
  /**
367
367
  * Region to target. If none is passed will use default region from the config.
368
368
  */
369
369
  region?: ScwRegion;
370
370
  /**
371
- * ID of the VPC containing the S3 Endpoint.
371
+ * ID of the VPC containing the Object Storage private access.
372
372
  */
373
373
  vpcId: string;
374
374
  /**
375
- * ID of the Private Network to add to the S3 Endpoint.
375
+ * ID of the Private Network to add to the Object Storage private access.
376
376
  */
377
377
  privateNetworkId: string;
378
378
  };
379
- export interface AddPrivateNetworkS3EndpointResponse {
379
+ export interface AddPrivateNetworkObjectStoragePrivateAccessResponse {
380
380
  /**
381
- * ID of the VPC containing the S3 Endpoint.
381
+ * ID of the VPC containing the Object Storage private access.
382
382
  */
383
383
  vpcId: string;
384
384
  /**
385
- * IDs of the Private Networks associated with the S3 Endpoint.
385
+ * IDs of the Private Networks associated with the Object Storage private access.
386
386
  */
387
387
  privateNetworkIds: string[];
388
388
  }
@@ -538,27 +538,27 @@ export type DeleteIngressRuleRequest = {
538
538
  */
539
539
  ruleId: string;
540
540
  };
541
- export type DeletePrivateNetworkRequest = {
541
+ export type DeletePrivateNetworkObjectStoragePrivateAccessRequest = {
542
542
  /**
543
543
  * Region to target. If none is passed will use default region from the config.
544
544
  */
545
545
  region?: ScwRegion;
546
546
  /**
547
- * Private Network ID.
547
+ * ID of the VPC containing the Object Storage private access.
548
+ */
549
+ vpcId: string;
550
+ /**
551
+ * ID of the Private Network to remove from the Object Storage private access.
548
552
  */
549
553
  privateNetworkId: string;
550
554
  };
551
- export type DeletePrivateNetworkS3EndpointRequest = {
555
+ export type DeletePrivateNetworkRequest = {
552
556
  /**
553
557
  * Region to target. If none is passed will use default region from the config.
554
558
  */
555
559
  region?: ScwRegion;
556
560
  /**
557
- * ID of the VPC containing the S3 Endpoint.
558
- */
559
- vpcId: string;
560
- /**
561
- * ID of the Private Network to remove from the S3 Endpoint.
561
+ * Private Network ID.
562
562
  */
563
563
  privateNetworkId: string;
564
564
  };
@@ -592,13 +592,13 @@ export type DeleteVPCRequest = {
592
592
  */
593
593
  vpcId: string;
594
594
  };
595
- export type DisableS3EndpointRequest = {
595
+ export type DisableObjectStoragePrivateAccessRequest = {
596
596
  /**
597
597
  * Region to target. If none is passed will use default region from the config.
598
598
  */
599
599
  region?: ScwRegion;
600
600
  /**
601
- * ID of the VPC for which to disable S3 integration.
601
+ * ID of the VPC for which to disable Object Storage private access.
602
602
  */
603
603
  vpcId: string;
604
604
  };
@@ -622,29 +622,29 @@ export type EnableDHCPRequest = {
622
622
  */
623
623
  privateNetworkId: string;
624
624
  };
625
- export type EnableRoutingRequest = {
625
+ export type EnableObjectStoragePrivateAccessRequest = {
626
626
  /**
627
627
  * Region to target. If none is passed will use default region from the config.
628
628
  */
629
629
  region?: ScwRegion;
630
630
  /**
631
- * VPC ID.
631
+ * ID of the VPC for which to enable Object Storage private access.
632
632
  */
633
633
  vpcId: string;
634
+ /**
635
+ * IDs of the Private Networks for which to enable Object Storage private access.
636
+ */
637
+ privateNetworkIds?: string[];
634
638
  };
635
- export type EnableS3EndpointRequest = {
639
+ export type EnableRoutingRequest = {
636
640
  /**
637
641
  * Region to target. If none is passed will use default region from the config.
638
642
  */
639
643
  region?: ScwRegion;
640
644
  /**
641
- * ID of the VPC for which to enable S3 integration.
645
+ * VPC ID.
642
646
  */
643
647
  vpcId: string;
644
- /**
645
- * IDs of the Private Networks for which to enable S3 integration.
646
- */
647
- privateNetworkIds?: string[];
648
648
  };
649
649
  export type GetAclRequest = {
650
650
  /**
@@ -810,9 +810,9 @@ export type ListPrivateNetworksRequest = {
810
810
  */
811
811
  dhcpEnabled?: boolean;
812
812
  /**
813
- * Filter by whether S3 integration is enabled. When set, only matching Private Networks will be returned.
813
+ * Filter by whether Object Storage private access is enabled. When set, only matching Private Networks will be returned.
814
814
  */
815
- s3IntegrationEnabled?: boolean;
815
+ objectStoragePrivateAccessEnabled?: boolean;
816
816
  };
817
817
  export interface ListPrivateNetworksResponse {
818
818
  privateNetworks: PrivateNetwork[];
@@ -974,9 +974,9 @@ export type ListVPCsRequest = {
974
974
  */
975
975
  routingEnabled?: boolean;
976
976
  /**
977
- * Defines whether to filter only for VPCs with S3 integration enabled.
977
+ * Defines whether to filter only for VPCs with Object Storage private access enabled.
978
978
  */
979
- s3IntegrationEnabled?: boolean;
979
+ objectStoragePrivateAccessEnabled?: boolean;
980
980
  };
981
981
  export interface ListVPCsResponse {
982
982
  vpcs: VPC[];
@@ -1008,27 +1008,27 @@ export interface SetAclResponse {
1008
1008
  rules: AclRule[];
1009
1009
  defaultPolicy: Action;
1010
1010
  }
1011
- export type SetPrivateNetworksS3EndpointRequest = {
1011
+ export type SetPrivateNetworksObjectStoragePrivateAccessRequest = {
1012
1012
  /**
1013
1013
  * Region to target. If none is passed will use default region from the config.
1014
1014
  */
1015
1015
  region?: ScwRegion;
1016
1016
  /**
1017
- * ID of the VPC containing the S3 Endpoint.
1017
+ * ID of the VPC containing the Object Storage private access.
1018
1018
  */
1019
1019
  vpcId: string;
1020
1020
  /**
1021
- * IDs of the Private Networks to associate with the S3 Endpoint.
1021
+ * IDs of the Private Networks to associate with the Object Storage private access.
1022
1022
  */
1023
1023
  privateNetworkIds: string[];
1024
1024
  };
1025
- export interface SetPrivateNetworksS3EndpointResponse {
1025
+ export interface SetPrivateNetworksObjectStoragePrivateAccessResponse {
1026
1026
  /**
1027
- * ID of the VPC containing the S3 Endpoint.
1027
+ * ID of the VPC containing the Object Storage private access.
1028
1028
  */
1029
1029
  vpcId: string;
1030
1030
  /**
1031
- * IDs of the Private Networks associated with the S3 Endpoint.
1031
+ * IDs of the Private Networks associated with the Object Storage private access.
1032
1032
  */
1033
1033
  privateNetworkIds: string[];
1034
1034
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-vpc",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
4
4
  "description": "Scaleway SDK vpc",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -36,8 +36,8 @@
36
36
  "@scaleway/sdk-std": "2.6.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.6.0"
39
+ "@scaleway/sdk-client": "^2.6.0",
40
+ "@repo/configs": "^0.1.1"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@scaleway/sdk-client": "^2.6.0"