Skip to content

Commit eca2d39

Browse files
committed
feat: update generated APIs
1 parent a2946f9 commit eca2d39

File tree

4 files changed

+168
-168
lines changed

4 files changed

+168
-168
lines changed

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

Lines changed: 53 additions & 53 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 Queuing NATS accounts.
71+
This API allows you to manage Scaleway NATS accounts.
7272
"""
7373

7474
async def create_nats_account(
@@ -506,7 +506,7 @@ async def list_nats_credentials_all(
506506

507507
class MnqV1Beta1SnsAPI(API):
508508
"""
509-
This API allows you to manage your Scaleway Messaging and Queuing SNS brokers.
509+
This API allows you to manage your Scaleway Topics and Events.
510510
"""
511511

512512
async def activate_sns(
@@ -516,10 +516,10 @@ async def activate_sns(
516516
project_id: Optional[str] = None,
517517
) -> SnsInfo:
518518
"""
519-
Activate SNS.
520-
Activate SNS for the specified Project ID. SNS must be activated before any usage. Activating SNS does not trigger any billing, and you can deactivate at any time.
519+
Activate Topics and Events.
520+
Activate Topics and Events for the specified Project ID. Topics and Events must be activated before any usage. Activating Topics and Events does not trigger any billing, and you can deactivate at any time.
521521
:param region: Region to target. If none is passed will use default region from the config.
522-
:param project_id: Project on which to activate the SNS service.
522+
:param project_id: Project on which to activate the Topics and Events service.
523523
:return: :class:`SnsInfo <SnsInfo>`
524524
525525
Usage:
@@ -554,10 +554,10 @@ async def get_sns_info(
554554
project_id: Optional[str] = None,
555555
) -> SnsInfo:
556556
"""
557-
Get SNS info.
558-
Retrieve the SNS information of the specified Project ID. Informations include the activation status and the SNS API endpoint URL.
557+
Get Topics and Events info.
558+
Retrieve the Topics and Events information of the specified Project ID. Informations include the activation status and the Topics and Events API endpoint URL.
559559
:param region: Region to target. If none is passed will use default region from the config.
560-
:param project_id: Project to retrieve SNS info from.
560+
:param project_id: Project to retrieve Topics and Events info from.
561561
:return: :class:`SnsInfo <SnsInfo>`
562562
563563
Usage:
@@ -588,10 +588,10 @@ async def deactivate_sns(
588588
project_id: Optional[str] = None,
589589
) -> SnsInfo:
590590
"""
591-
Deactivate SNS.
592-
Deactivate SNS for the specified Project ID.You must delete all topics and credentials before this call or you need to set the force_delete parameter.
591+
Deactivate Topics and Events.
592+
Deactivate Topics and Events for the specified Project ID. You must delete all topics and credentials before this call or you need to set the force_delete parameter.
593593
:param region: Region to target. If none is passed will use default region from the config.
594-
:param project_id: Project on which to deactivate the SNS service.
594+
:param project_id: Project on which to deactivate the Topics and Events service.
595595
:return: :class:`SnsInfo <SnsInfo>`
596596
597597
Usage:
@@ -628,10 +628,10 @@ async def create_sns_credentials(
628628
permissions: Optional[SnsPermissions] = None,
629629
) -> SnsCredentials:
630630
"""
631-
Create SNS credentials.
632-
Create a set of credentials for SNS, specified by a Project ID. Credentials give the bearer access to topics, and the level of permissions can be defined granularly.
631+
Create Topics and Events credentials.
632+
Create a set of credentials for Topics and Events, specified by a Project ID. Credentials give the bearer access to topics, and the level of permissions can be defined granularly.
633633
:param region: Region to target. If none is passed will use default region from the config.
634-
:param project_id: Project containing the SNS credentials.
634+
:param project_id: Project containing the Topics and Events credentials.
635635
:param name: Name of the credentials.
636636
:param permissions: Permissions associated with these credentials.
637637
:return: :class:`SnsCredentials <SnsCredentials>`
@@ -670,8 +670,8 @@ async def delete_sns_credentials(
670670
region: Optional[Region] = None,
671671
) -> None:
672672
"""
673-
Delete SNS credentials.
674-
Delete a set of SNS credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access SNS.
673+
Delete Topics and Events credentials.
674+
Delete a set of Topics and Events credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access Topics and Events.
675675
:param sns_credentials_id: ID of the credentials to delete.
676676
:param region: Region to target. If none is passed will use default region from the config.
677677
@@ -706,9 +706,9 @@ async def update_sns_credentials(
706706
permissions: Optional[SnsPermissions] = None,
707707
) -> SnsCredentials:
708708
"""
709-
Update SNS credentials.
710-
Update a set of SNS credentials. You can update the credentials' name, or their permissions.
711-
:param sns_credentials_id: ID of the SNS credentials to update.
709+
Update Topics and Events credentials.
710+
Update a set of Topics and Events credentials. You can update the credentials' name, or their permissions.
711+
:param sns_credentials_id: ID of the Topics and Events credentials to update.
712712
:param region: Region to target. If none is passed will use default region from the config.
713713
:param name: Name of the credentials.
714714
:param permissions: Permissions associated with these credentials.
@@ -753,9 +753,9 @@ async def get_sns_credentials(
753753
region: Optional[Region] = None,
754754
) -> SnsCredentials:
755755
"""
756-
Get SNS credentials.
756+
Get Topics and Events credentials.
757757
Retrieve an existing set of credentials, identified by the `credentials_id`. The credentials themselves, as well as their metadata (name, project ID etc), are returned in the response.
758-
:param sns_credentials_id: ID of the SNS credentials to get.
758+
:param sns_credentials_id: ID of the Topics and Events credentials to get.
759759
:param region: Region to target. If none is passed will use default region from the config.
760760
:return: :class:`SnsCredentials <SnsCredentials>`
761761
@@ -792,10 +792,10 @@ async def list_sns_credentials(
792792
order_by: Optional[ListSnsCredentialsRequestOrderBy] = None,
793793
) -> ListSnsCredentialsResponse:
794794
"""
795-
List SNS credentials.
796-
List existing SNS credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
795+
List Topics and Events credentials.
796+
List existing Topics and Events credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
797797
:param region: Region to target. If none is passed will use default region from the config.
798-
:param project_id: Include only SNS credentials in this Project.
798+
:param project_id: Include only Topics and Events credentials in this Project.
799799
:param page: Page number to return.
800800
:param page_size: Maximum number of credentials to return per page.
801801
:param order_by: Order in which to return results.
@@ -835,10 +835,10 @@ async def list_sns_credentials_all(
835835
order_by: Optional[ListSnsCredentialsRequestOrderBy] = None,
836836
) -> List[SnsCredentials]:
837837
"""
838-
List SNS credentials.
839-
List existing SNS credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
838+
List Topics and Events credentials.
839+
List existing Topics and Events credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
840840
:param region: Region to target. If none is passed will use default region from the config.
841-
:param project_id: Include only SNS credentials in this Project.
841+
:param project_id: Include only Topics and Events credentials in this Project.
842842
:param page: Page number to return.
843843
:param page_size: Maximum number of credentials to return per page.
844844
:param order_by: Order in which to return results.
@@ -866,7 +866,7 @@ async def list_sns_credentials_all(
866866

867867
class MnqV1Beta1SqsAPI(API):
868868
"""
869-
This API allows you to manage your Scaleway Messaging and Queuing SQS brokers.
869+
This API allows you to manage your Scaleway Queues.
870870
"""
871871

872872
async def activate_sqs(
@@ -876,10 +876,10 @@ async def activate_sqs(
876876
project_id: Optional[str] = None,
877877
) -> SqsInfo:
878878
"""
879-
Activate SQS.
880-
Activate SQS for the specified Project ID. SQS must be activated before any usage such as creating credentials and queues. Activating SQS does not trigger any billing, and you can deactivate at any time.
879+
Activate Queues.
880+
Activate Queues for the specified Project ID. Queues must be activated before any usage such as creating credentials and queues. Activating Queues does not trigger any billing, and you can deactivate at any time.
881881
:param region: Region to target. If none is passed will use default region from the config.
882-
:param project_id: Project on which to activate the SQS service.
882+
:param project_id: Project on which to activate the Queues service.
883883
:return: :class:`SqsInfo <SqsInfo>`
884884
885885
Usage:
@@ -914,10 +914,10 @@ async def get_sqs_info(
914914
project_id: Optional[str] = None,
915915
) -> SqsInfo:
916916
"""
917-
Get SQS info.
918-
Retrieve the SQS information of the specified Project ID. Informations include the activation status and the SQS API endpoint URL.
917+
Get Queues info.
918+
Retrieve the Queues information of the specified Project ID. Informations include the activation status and the Queues API endpoint URL.
919919
:param region: Region to target. If none is passed will use default region from the config.
920-
:param project_id: Project to retrieve SQS info from.
920+
:param project_id: Project to retrieve Queues info from.
921921
:return: :class:`SqsInfo <SqsInfo>`
922922
923923
Usage:
@@ -948,10 +948,10 @@ async def deactivate_sqs(
948948
project_id: Optional[str] = None,
949949
) -> SqsInfo:
950950
"""
951-
Deactivate SQS.
952-
Deactivate SQS for the specified Project ID. You must delete all queues and credentials before this call or you need to set the force_delete parameter.
951+
Deactivate Queues.
952+
Deactivate Queues for the specified Project ID. You must delete all queues and credentials before this call or you need to set the force_delete parameter.
953953
:param region: Region to target. If none is passed will use default region from the config.
954-
:param project_id: Project on which to deactivate the SQS service.
954+
:param project_id: Project on which to deactivate the Queues service.
955955
:return: :class:`SqsInfo <SqsInfo>`
956956
957957
Usage:
@@ -988,10 +988,10 @@ async def create_sqs_credentials(
988988
permissions: Optional[SqsPermissions] = None,
989989
) -> SqsCredentials:
990990
"""
991-
Create SQS credentials.
992-
Create a set of credentials for SQS, specified by a Project ID. Credentials give the bearer access to queues, and the level of permissions can be defined granularly.
991+
Create Queues credentials.
992+
Create a set of credentials for Queues, specified by a Project ID. Credentials give the bearer access to queues, and the level of permissions can be defined granularly.
993993
:param region: Region to target. If none is passed will use default region from the config.
994-
:param project_id: Project containing the SQS credentials.
994+
:param project_id: Project containing the Queues credentials.
995995
:param name: Name of the credentials.
996996
:param permissions: Permissions associated with these credentials.
997997
:return: :class:`SqsCredentials <SqsCredentials>`
@@ -1030,8 +1030,8 @@ async def delete_sqs_credentials(
10301030
region: Optional[Region] = None,
10311031
) -> None:
10321032
"""
1033-
Delete SQS credentials.
1034-
Delete a set of SQS credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access SQS.
1033+
Delete Queues credentials.
1034+
Delete a set of Queues credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access Queues.
10351035
:param sqs_credentials_id: ID of the credentials to delete.
10361036
:param region: Region to target. If none is passed will use default region from the config.
10371037
@@ -1066,9 +1066,9 @@ async def update_sqs_credentials(
10661066
permissions: Optional[SqsPermissions] = None,
10671067
) -> SqsCredentials:
10681068
"""
1069-
Update SQS credentials.
1070-
Update a set of SQS credentials. You can update the credentials' name, or their permissions.
1071-
:param sqs_credentials_id: ID of the SQS credentials to update.
1069+
Update Queues credentials.
1070+
Update a set of Queues credentials. You can update the credentials' name, or their permissions.
1071+
:param sqs_credentials_id: ID of the Queues credentials to update.
10721072
:param region: Region to target. If none is passed will use default region from the config.
10731073
:param name: Name of the credentials.
10741074
:param permissions: Permissions associated with these credentials.
@@ -1113,9 +1113,9 @@ async def get_sqs_credentials(
11131113
region: Optional[Region] = None,
11141114
) -> SqsCredentials:
11151115
"""
1116-
Get SQS credentials.
1116+
Get Queues credentials.
11171117
Retrieve an existing set of credentials, identified by the `credentials_id`. The credentials themselves, as well as their metadata (name, project ID etc), are returned in the response.
1118-
:param sqs_credentials_id: ID of the SQS credentials to get.
1118+
:param sqs_credentials_id: ID of the Queues credentials to get.
11191119
:param region: Region to target. If none is passed will use default region from the config.
11201120
:return: :class:`SqsCredentials <SqsCredentials>`
11211121
@@ -1152,10 +1152,10 @@ async def list_sqs_credentials(
11521152
order_by: Optional[ListSqsCredentialsRequestOrderBy] = None,
11531153
) -> ListSqsCredentialsResponse:
11541154
"""
1155-
List SQS credentials.
1156-
List existing SQS credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
1155+
List Queues credentials.
1156+
List existing Queues credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
11571157
:param region: Region to target. If none is passed will use default region from the config.
1158-
:param project_id: Include only SQS credentials in this Project.
1158+
:param project_id: Include only Queues credentials in this Project.
11591159
:param page: Page number to return.
11601160
:param page_size: Maximum number of credentials to return per page.
11611161
:param order_by: Order in which to return results.
@@ -1195,10 +1195,10 @@ async def list_sqs_credentials_all(
11951195
order_by: Optional[ListSqsCredentialsRequestOrderBy] = None,
11961196
) -> List[SqsCredentials]:
11971197
"""
1198-
List SQS credentials.
1199-
List existing SQS credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
1198+
List Queues credentials.
1199+
List existing Queues credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
12001200
:param region: Region to target. If none is passed will use default region from the config.
1201-
:param project_id: Include only SQS credentials in this Project.
1201+
:param project_id: Include only Queues credentials in this Project.
12021202
:param page: Page number to return.
12031203
:param page_size: Maximum number of credentials to return per page.
12041204
:param order_by: Order in which to return results.

0 commit comments

Comments
 (0)