Skip to content

Commit fb56903

Browse files
authored
feat: update generated APIs (#517)
1 parent 8a0be54 commit fb56903

File tree

70 files changed

+106
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+106
-74
lines changed

scaleway-async/scaleway_async/account/v2/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class AccountV2API(API):
2828
"""
29-
This API allows you to manage projects.
29+
This API allows you to manage your Scaleway Projects.
3030
"""
3131

3232
async def create_project(

scaleway-async/scaleway_async/account/v3/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class AccountV3ProjectAPI(API):
2828
"""
29-
This API allows you to manage projects.
29+
This API allows you to manage your Scaleway Projects.
3030
"""
3131

3232
async def create_project(

scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343

4444

4545
class ApplesiliconV1Alpha1API(API):
46-
""" """
46+
"""
47+
This API allows you to manage your Apple silicon machines.
48+
"""
4749

4850
async def list_server_types(
4951
self,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
class BaremetalV1API(API):
9191
"""
92-
This API allows to manage your Elastic Metal server.
92+
This API allows you to manage your Elastic Metal servers.
9393
"""
9494

9595
async def list_servers(

scaleway-async/scaleway_async/billing/v2alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
class BillingV2Alpha1API(API):
3535
"""
36-
This API allows you to query your consumption.
36+
This API allows you to manage and query your Scaleway billing and consumption.
3737
"""
3838

3939
async def get_consumption(

scaleway-async/scaleway_async/billing/v2beta1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
class BillingV2Beta1API(API):
4646
"""
47-
This API allows you to query your consumption.
47+
This API allows you to manage and query your Scaleway billing and consumption.
4848
"""
4949

5050
async def list_consumptions(

scaleway-async/scaleway_async/block/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
class BlockV1Alpha1API(API):
5252
"""
53-
This API allows you to use and manage your Block Storage volumes.
53+
This API allows you to manage your Block Storage volumes.
5454
"""
5555

5656
async def list_volume_types(

scaleway-async/scaleway_async/cockpit/v1beta1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
class CockpitV1Beta1API(API):
8787
"""
88-
The Cockpit API allows you to activate your Cockpit to store metrics and logs. It also provides you with a dedicated Grafana for dashboarding to visualize your metrics and logs.
88+
This API allows you to manage your Scaleway Cockpit, for storing and visualizing metrics and logs.
8989
"""
9090

9191
async def activate_cockpit(

scaleway-async/scaleway_async/container/v1beta1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
class ContainerV1Beta1API(API):
9393
"""
94-
Serverless Containers API.
94+
This API allows you to manage your Serverless Containers.
9595
"""
9696

9797
async def list_namespaces(

scaleway-async/scaleway_async/document_db/v1beta1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@
143143

144144

145145
class DocumentDbV1Beta1API(API):
146-
""" """
146+
"""
147+
This API allows you to manage your Document Databases.
148+
"""
147149

148150
async def list_database_engines(
149151
self,

scaleway-async/scaleway_async/domain/v2beta1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170

171171
class DomainV2Beta1API(API):
172172
"""
173-
Manage your domains, DNS zones and records with the Domains and DNS API.
173+
This API allows you to manage your domains, DNS zones and records.
174174
"""
175175

176176
async def list_dns_zones(

scaleway-async/scaleway_async/flexibleip/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
class FlexibleipV1Alpha1API(API):
5151
"""
52-
Elastic Metal - Flexible IP API.
52+
This API allows you to manage your Elastic Metal servers' flexible public IP addresses.
5353
"""
5454

5555
async def create_flexible_ip(

scaleway-async/scaleway_async/function/v1beta1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@
9696

9797

9898
class FunctionV1Beta1API(API):
99-
""" """
99+
"""
100+
This API allows you to manage your Serverless Functions.
101+
"""
100102

101103
async def list_namespaces(
102104
self,

scaleway-async/scaleway_async/iam/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116

117117
class IamV1Alpha1API(API):
118118
"""
119-
IAM API.
119+
This API allows you to manage Identity and Access Management (IAM) across your Scaleway Organizations, Projects and resources.
120120
"""
121121

122122
async def list_ssh_keys(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247

248248
class InstanceV1API(API):
249249
"""
250-
Instance API.
250+
This API allows you to manage your Instances.
251251
"""
252252

253253
async def get_server_types_availability(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101
class IotV1API(API):
102102
"""
103-
This API allows you to manage IoT hubs and devices.
103+
This API allows you to manage your IoT hubs and devices.
104104
"""
105105

106106
async def list_hubs(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
class IpamV1API(API):
3535
"""
36-
This API allows you to manage IP addresses with Scaleway's IP Address Management tool.
36+
This API allows you to manage your Scaleway IP addresses with our IP Address Management tool.
3737
"""
3838

3939
async def book_ip(

scaleway-async/scaleway_async/ipam/v1/marshalling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def marshal_BookIPRequest(
214214
output: Dict[str, Any] = {}
215215

216216
if request.source is not None:
217-
output["source"] = (marshal_Source(request.source, defaults),)
217+
output["source"] = marshal_Source(request.source, defaults)
218218

219219
if request.is_ipv6 is not None:
220220
output["is_ipv6"] = request.is_ipv6

scaleway-async/scaleway_async/jobs/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
class JobsV1Alpha1API(API):
4242
"""
43-
Serverless Jobs API.
43+
This API allows you to manage your Serverless Jobs.
4444
"""
4545

4646
async def create_job_definition(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
class K8SV1API(API):
9191
"""
92-
Kubernetes API.
92+
This API allows you to manage Kubernetes Kapsule and Kosmos clusters.
9393
"""
9494

9595
async def list_clusters(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3217,7 +3217,7 @@ async def detach_private_network(
32173217

32183218
class LbV1API(API):
32193219
"""
3220-
This API allows you to manage your load balancer service.
3220+
This API allows you to manage your Load Balancers.
32213221
"""
32223222

32233223
async def list_lbs(

scaleway-async/scaleway_async/llm_inference/v1beta1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@
6464

6565

6666
class LlmInferenceV1Beta1API(API):
67-
""" """
67+
"""
68+
This API allows you to manage your LLM Inference services.
69+
"""
6870

6971
async def list_deployments(
7072
self,

scaleway-async/scaleway_async/marketplace/v2/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040

4141

4242
class MarketplaceV2API(API):
43-
""" """
43+
"""
44+
This API allows you to find available images for use when launching a Scaleway Instance.
45+
"""
4446

4547
async def list_images(
4648
self,

scaleway-async/scaleway_async/mnq/v1beta1/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
class MnqV1Beta1NatsAPI(API):
7070
"""
71-
This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
71+
This API allows you to manage Scaleway Messaging and Queuing NATS accounts.
7272
"""
7373

7474
async def create_nats_account(
@@ -500,7 +500,7 @@ async def list_nats_credentials_all(
500500

501501
class MnqV1Beta1SnsAPI(API):
502502
"""
503-
This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
503+
This API allows you to manage your Scaleway Messaging and Queuing SNS brokers.
504504
"""
505505

506506
async def activate_sns(
@@ -860,7 +860,7 @@ async def list_sns_credentials_all(
860860

861861
class MnqV1Beta1SqsAPI(API):
862862
"""
863-
This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
863+
This API allows you to manage your Scaleway Messaging and Queuing SQS brokers.
864864
"""
865865

866866
async def activate_sqs(

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@
159159

160160

161161
class RdbV1API(API):
162-
""" """
162+
"""
163+
This API allows you to manage your Managed Databases for PostgreSQL and MySQL.
164+
"""
163165

164166
async def list_database_engines(
165167
self,

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@
7979

8080

8181
class RedisV1API(API):
82-
""" """
82+
"""
83+
This API allows you to manage your Managed Databases for Redis™.
84+
"""
8385

8486
async def create_cluster(
8587
self,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
class RegistryV1API(API):
5151
"""
52-
Container Registry API.
52+
This API allows you to manage your Container Registry resources.
5353
"""
5454

5555
async def list_namespaces(

scaleway-async/scaleway_async/secret/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
class SecretV1Alpha1API(API):
5959
"""
60-
This API allows you to conveniently store, access and share sensitive data.
60+
This API allows you to manage your Secret Manager services, for storing, accessing and sharing sensitive data such as passwords, API keys and certificates.
6161
"""
6262

6363
async def create_secret(

scaleway-async/scaleway_async/secret/v1beta1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
class SecretV1Beta1API(API):
5252
"""
53-
This API allows you to conveniently store, access and share sensitive data such as passwords, API keys and certificates.
53+
This API allows you to manage your Secret Manager services, for storing, accessing and sharing sensitive data such as passwords, API keys and certificates.
5454
"""
5555

5656
async def create_secret(

scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
class ServerlessSqldbV1Alpha1API(API):
4242
"""
43-
This API allows you to manage your Serverless SQL DB databases.
43+
This API allows you to manage your Serverless SQL Databases.
4444
"""
4545

4646
async def create_database(

scaleway-async/scaleway_async/tem/v1alpha1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050

5151

5252
class TemV1Alpha1API(API):
53-
""" """
53+
"""
54+
This API allows you to manage your Transactional Email services.
55+
"""
5456

5557
async def create_email(
5658
self,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
class VpcV1API(API):
3131
"""
32-
VPC API.
32+
This API allows you to manage your Virtual Private Clouds (VPCs) and Private Networks.
3333
"""
3434

3535
async def list_private_networks(

scaleway-async/scaleway_async/vpc/v2/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
class VpcV2API(API):
5454
"""
55-
VPC API.
55+
This API allows you to manage your Virtual Private Clouds (VPCs) and Private Networks.
5656
"""
5757

5858
async def list_vp_cs(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
class VpcgwV1API(API):
100100
"""
101-
Public Gateways API.
101+
This API allows you to manage your Public Gateways.
102102
"""
103103

104104
async def list_gateways(

scaleway-async/scaleway_async/webhosting/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
class WebhostingV1Alpha1API(API):
5252
"""
53-
Web Hosting API.
53+
This API allows you to manage your Web Hosting services.
5454
"""
5555

5656
async def create_hosting(

scaleway/scaleway/account/v2/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class AccountV2API(API):
2828
"""
29-
This API allows you to manage projects.
29+
This API allows you to manage your Scaleway Projects.
3030
"""
3131

3232
def create_project(

scaleway/scaleway/account/v3/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class AccountV3ProjectAPI(API):
2828
"""
29-
This API allows you to manage projects.
29+
This API allows you to manage your Scaleway Projects.
3030
"""
3131

3232
def create_project(

scaleway/scaleway/applesilicon/v1alpha1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343

4444

4545
class ApplesiliconV1Alpha1API(API):
46-
""" """
46+
"""
47+
This API allows you to manage your Apple silicon machines.
48+
"""
4749

4850
def list_server_types(
4951
self,

scaleway/scaleway/baremetal/v1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
class BaremetalV1API(API):
9191
"""
92-
This API allows to manage your Elastic Metal server.
92+
This API allows you to manage your Elastic Metal servers.
9393
"""
9494

9595
def list_servers(

scaleway/scaleway/billing/v2alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
class BillingV2Alpha1API(API):
3535
"""
36-
This API allows you to query your consumption.
36+
This API allows you to manage and query your Scaleway billing and consumption.
3737
"""
3838

3939
def get_consumption(

0 commit comments

Comments
 (0)