@@ -1764,6 +1764,22 @@ async def create_trigger(
17641764 sqs_config : Optional [CreateTriggerRequestSqsClientConfig ] = None ,
17651765 ) -> Trigger :
17661766 """
1767+ Create a trigger.
1768+ Create a new trigger for a specified function.
1769+ :param region: Region to target. If none is passed will use default region from the config.
1770+ :param name: Name of the trigger.
1771+ :param function_id: ID of the function to trigger.
1772+ :param description: Description of the trigger.
1773+ :param scw_sqs_config: Configuration for a Scaleway M&Q SQS queue.
1774+
1775+ One-of ('config'): at most one of 'scw_sqs_config', 'scw_nats_config', 'sqs_config' could be set.
1776+ :param scw_nats_config: Configuration for a Scaleway M&Q NATS subject.
1777+
1778+ One-of ('config'): at most one of 'scw_sqs_config', 'scw_nats_config', 'sqs_config' could be set.
1779+ :param sqs_config: Configuration for an AWS SQS queue.
1780+
1781+ One-of ('config'): at most one of 'scw_sqs_config', 'scw_nats_config', 'sqs_config' could be set.
1782+ :return: :class:`Trigger <Trigger>`
17671783
17681784 Usage:
17691785 ::
@@ -1805,6 +1821,11 @@ async def get_trigger(
18051821 region : Optional [Region ] = None ,
18061822 ) -> Trigger :
18071823 """
1824+ Get a trigger.
1825+ Get a trigger with a specified ID.
1826+ :param region: Region to target. If none is passed will use default region from the config.
1827+ :param trigger_id: ID of the trigger to get.
1828+ :return: :class:`Trigger <Trigger>`
18081829
18091830 Usage:
18101831 ::
@@ -1872,6 +1893,22 @@ async def list_triggers(
18721893 project_id : Optional [str ] = None ,
18731894 ) -> ListTriggersResponse :
18741895 """
1896+ List all triggers.
1897+ List all triggers belonging to a specified Organization or Project.
1898+ :param region: Region to target. If none is passed will use default region from the config.
1899+ :param page: Page number to return.
1900+ :param page_size: Maximum number of triggers to return per page.
1901+ :param order_by: Order in which to return results.
1902+ :param function_id: ID of the function the triggers belongs to.
1903+
1904+ One-of ('scope'): at most one of 'function_id', 'namespace_id', 'project_id' could be set.
1905+ :param namespace_id: ID of the namespace the triggers belongs to.
1906+
1907+ One-of ('scope'): at most one of 'function_id', 'namespace_id', 'project_id' could be set.
1908+ :param project_id: ID of the project the triggers belongs to.
1909+
1910+ One-of ('scope'): at most one of 'function_id', 'namespace_id', 'project_id' could be set.
1911+ :return: :class:`ListTriggersResponse <ListTriggersResponse>`
18751912
18761913 Usage:
18771914 ::
@@ -1917,6 +1954,21 @@ async def list_triggers_all(
19171954 project_id : Optional [str ] = None ,
19181955 ) -> List [Trigger ]:
19191956 """
1957+ List all triggers.
1958+ List all triggers belonging to a specified Organization or Project.
1959+ :param region: Region to target. If none is passed will use default region from the config.
1960+ :param page: Page number to return.
1961+ :param page_size: Maximum number of triggers to return per page.
1962+ :param order_by: Order in which to return results.
1963+ :param function_id: ID of the function the triggers belongs to.
1964+
1965+ One-of ('scope'): at most one of 'function_id', 'namespace_id', 'project_id' could be set.
1966+ :param namespace_id: ID of the namespace the triggers belongs to.
1967+
1968+ One-of ('scope'): at most one of 'function_id', 'namespace_id', 'project_id' could be set.
1969+ :param project_id: ID of the project the triggers belongs to.
1970+
1971+ One-of ('scope'): at most one of 'function_id', 'namespace_id', 'project_id' could be set.
19201972 :return: :class:`List[ListTriggersResponse] <List[ListTriggersResponse]>`
19211973
19221974 Usage:
@@ -1950,6 +2002,16 @@ async def update_trigger(
19502002 sqs_config : Optional [UpdateTriggerRequestSqsClientConfig ] = None ,
19512003 ) -> Trigger :
19522004 """
2005+ Update a trigger.
2006+ Update a trigger with a specified ID.
2007+ :param region: Region to target. If none is passed will use default region from the config.
2008+ :param trigger_id: ID of the trigger to update.
2009+ :param name: Name of the trigger.
2010+ :param description: Description of the trigger.
2011+ :param sqs_config: Configuration for an AWS SQS queue.
2012+
2013+ One-of ('config'): at most one of 'sqs_config' could be set.
2014+ :return: :class:`Trigger <Trigger>`
19532015
19542016 Usage:
19552017 ::
@@ -1987,6 +2049,11 @@ async def delete_trigger(
19872049 region : Optional [Region ] = None ,
19882050 ) -> Trigger :
19892051 """
2052+ Delete a trigger.
2053+ Delete a trigger with a specified ID.
2054+ :param region: Region to target. If none is passed will use default region from the config.
2055+ :param trigger_id: ID of the trigger to delete.
2056+ :return: :class:`Trigger <Trigger>`
19902057
19912058 Usage:
19922059 ::
0 commit comments