Skip to content

Commit d8987bb

Browse files
committed
feat: update generated APIs
1 parent 23b48cc commit d8987bb

File tree

16 files changed

+48
-48
lines changed

16 files changed

+48
-48
lines changed

scaleway-async/scaleway_async/inference/v1beta1/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class Model:
281281

282282
has_eula: bool
283283
"""
284-
Defines whether the model has an end user licence agreement.
284+
Defines whether the model has an end user license agreement.
285285
"""
286286

287287
region: Region
@@ -521,7 +521,7 @@ class DeleteEndpointRequest:
521521
class Eula:
522522
content: str
523523
"""
524-
Content of the end user licence agreement.
524+
Content of the end user license agreement.
525525
"""
526526

527527

scaleway-async/scaleway_async/instance/v1/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,9 +1832,9 @@ async def export_snapshot(
18321832
) -> ExportSnapshotResponse:
18331833
"""
18341834
Export a snapshot.
1835-
Export a snapshot to a specified S3 bucket in the same region.
1836-
:param bucket: S3 bucket name.
1837-
:param key: S3 object key.
1835+
Export a snapshot to a specified Object Storage bucket in the same region.
1836+
:param bucket: Object Storage bucket name.
1837+
:param key: Object key.
18381838
:param snapshot_id: Snapshot ID.
18391839
:param zone: Zone to target. If none is passed will use default zone from the config.
18401840
:return: :class:`ExportSnapshotResponse <ExportSnapshotResponse>`

scaleway-async/scaleway_async/instance/v1/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2093,12 +2093,12 @@ class DetachServerVolumeResponse:
20932093
class ExportSnapshotRequest:
20942094
bucket: str
20952095
"""
2096-
S3 bucket name.
2096+
Object Storage bucket name.
20972097
"""
20982098

20992099
key: str
21002100
"""
2101-
S3 object key.
2101+
Object key.
21022102
"""
21032103

21042104
snapshot_id: str

scaleway-async/scaleway_async/iot/v1/api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,15 +1222,15 @@ async def create_route(
12221222
<b>You need to manage the database by yourself</b>.
12231223
- REST Route.
12241224
Create a route that will call a REST API on received subscribed MQTT messages.
1225-
- S3 Routes.
1226-
Create a route that will put subscribed MQTT messages into an S3 bucket.
1225+
- Amazon S3 Routes.
1226+
Create a route that will put subscribed MQTT messages into an Object Storage bucket.
12271227
You need to create the bucket yourself and grant write access.
12281228
Granting can be done with s3cmd (`s3cmd setacl s3://<my-bucket> --acl-grant=write:555c69c3-87d0-4bf8-80f1-99a2f757d031:555c69c3-87d0-4bf8-80f1-99a2f757d031`).
12291229
:param hub_id: Hub ID of the route.
12301230
:param topic: Topic the route subscribes to. It must be a valid MQTT topic and up to 65535 characters.
12311231
:param region: Region to target. If none is passed will use default region from the config.
12321232
:param name: Route name.
1233-
:param s3_config: If creating S3 Route, S3-specific configuration fields.
1233+
:param s3_config: If creating Amazon S3 Routes, Amazon S3-specific configuration fields.
12341234
One-Of ('config'): at most one of 's3_config', 'db_config', 'rest_config' could be set.
12351235
:param db_config: If creating Database Route, DB-specific configuration fields.
12361236
One-Of ('config'): at most one of 's3_config', 'db_config', 'rest_config' could be set.
@@ -1289,7 +1289,7 @@ async def update_route(
12891289
:param region: Region to target. If none is passed will use default region from the config.
12901290
:param name: Route name.
12911291
:param topic: Topic the route subscribes to. It must be a valid MQTT topic and up to 65535 characters.
1292-
:param s3_config: When updating S3 Route, S3-specific configuration fields.
1292+
:param s3_config: When updating Amazon S3 Route, Amazon S3-specific configuration fields.
12931293
One-Of ('config'): at most one of 's3_config', 'db_config', 'rest_config' could be set.
12941294
:param db_config: When updating Database Route, DB-specific configuration fields.
12951295
One-Of ('config'): at most one of 's3_config', 'db_config', 'rest_config' could be set.

scaleway-async/scaleway_async/iot/v1/types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,12 +544,12 @@ class RouteRestConfig:
544544
class RouteS3Config:
545545
bucket_region: str
546546
"""
547-
Region of the S3 route's destination bucket (e.g., 'fr-par').
547+
Region of the Amazon S3 route's destination bucket (e.g., 'fr-par').
548548
"""
549549

550550
bucket_name: str
551551
"""
552-
Destination bucket name of the S3 route.
552+
Destination bucket name of the Amazon S3 route.
553553
"""
554554

555555
object_prefix: str
@@ -559,7 +559,7 @@ class RouteS3Config:
559559

560560
strategy: RouteS3ConfigS3Strategy
561561
"""
562-
How the S3 route's objects will be created: one per topic or one per message.
562+
How the Amazon S3 route's objects will be created: one per topic or one per message.
563563
"""
564564

565565

scaleway-async/scaleway_async/lb/v1/api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ async def create_backend(
970970
:param timeout_tunnel: Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
971971
:param on_marked_down_action: Action to take when a backend server is marked as down.
972972
:param proxy_protocol: Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
973-
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
973+
:param failover_host: Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
974974
:param ssl_bridging: Defines whether to enable SSL bridging between the Load Balancer and backend servers.
975975
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
976976
:param redispatch_attempt_count: Whether to use another backend server on each attempt.
@@ -1107,7 +1107,7 @@ async def update_backend(
11071107
:param timeout_tunnel: Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
11081108
:param on_marked_down_action: Action to take when a backend server is marked as down.
11091109
:param proxy_protocol: Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
1110-
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
1110+
:param failover_host: Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
11111111
:param ssl_bridging: Defines whether to enable SSL bridging between the Load Balancer and backend servers.
11121112
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
11131113
:param redispatch_attempt_count: Whether to use another backend server on each attempt.
@@ -3995,7 +3995,7 @@ async def create_backend(
39953995
:param timeout_tunnel: Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
39963996
:param on_marked_down_action: Action to take when a backend server is marked as down.
39973997
:param proxy_protocol: Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
3998-
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
3998+
:param failover_host: Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
39993999
:param ssl_bridging: Defines whether to enable SSL bridging between the Load Balancer and backend servers.
40004000
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
40014001
:param redispatch_attempt_count: Whether to use another backend server on each attempt.
@@ -4134,7 +4134,7 @@ async def update_backend(
41344134
:param timeout_tunnel: Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
41354135
:param on_marked_down_action: Action to take when a backend server is marked as down.
41364136
:param proxy_protocol: Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
4137-
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
4137+
:param failover_host: Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
41384138
:param ssl_bridging: Defines whether to enable SSL bridging between the Load Balancer and backend servers.
41394139
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
41404140
:param redispatch_attempt_count: Whether to use another backend server on each attempt.

scaleway-async/scaleway_async/lb/v1/types.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ class Backend:
744744

745745
failover_host: Optional[str]
746746
"""
747-
Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
747+
Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
748748
"""
749749

750750
ssl_bridging: Optional[bool]
@@ -1373,7 +1373,7 @@ class CreateBackendRequest:
13731373

13741374
failover_host: Optional[str]
13751375
"""
1376-
Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
1376+
Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
13771377
"""
13781378

13791379
ssl_bridging: Optional[bool]
@@ -2581,7 +2581,7 @@ class UpdateBackendRequest:
25812581

25822582
failover_host: Optional[str]
25832583
"""
2584-
Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
2584+
Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
25852585
"""
25862586

25872587
ssl_bridging: Optional[bool]
@@ -3017,7 +3017,7 @@ class ZonedApiCreateBackendRequest:
30173017

30183018
failover_host: Optional[str]
30193019
"""
3020-
Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
3020+
Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
30213021
"""
30223022

30233023
ssl_bridging: Optional[bool]
@@ -4079,7 +4079,7 @@ class ZonedApiUpdateBackendRequest:
40794079

40804080
failover_host: Optional[str]
40814081
"""
4082-
Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
4082+
Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
40834083
"""
40844084

40854085
ssl_bridging: Optional[bool]

scaleway-async/scaleway_async/rdb/v1/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ class InstanceLog:
841841

842842
download_url: Optional[str]
843843
"""
844-
Presigned S3 URL to download your log file.
844+
Presigned Object Storage URL to download your log file.
845845
"""
846846

847847
expires_at: Optional[datetime]

scaleway/scaleway/inference/v1beta1/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class Model:
281281

282282
has_eula: bool
283283
"""
284-
Defines whether the model has an end user licence agreement.
284+
Defines whether the model has an end user license agreement.
285285
"""
286286

287287
region: Region
@@ -521,7 +521,7 @@ class DeleteEndpointRequest:
521521
class Eula:
522522
content: str
523523
"""
524-
Content of the end user licence agreement.
524+
Content of the end user license agreement.
525525
"""
526526

527527

scaleway/scaleway/instance/v1/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,9 +1832,9 @@ def export_snapshot(
18321832
) -> ExportSnapshotResponse:
18331833
"""
18341834
Export a snapshot.
1835-
Export a snapshot to a specified S3 bucket in the same region.
1836-
:param bucket: S3 bucket name.
1837-
:param key: S3 object key.
1835+
Export a snapshot to a specified Object Storage bucket in the same region.
1836+
:param bucket: Object Storage bucket name.
1837+
:param key: Object key.
18381838
:param snapshot_id: Snapshot ID.
18391839
:param zone: Zone to target. If none is passed will use default zone from the config.
18401840
:return: :class:`ExportSnapshotResponse <ExportSnapshotResponse>`

0 commit comments

Comments
 (0)