update_flow
¶
update_flow(
flow_name: FlowName,
trigger_config: TriggerConfig,
source_flow_config: SourceFlowConfig,
destination_flow_config_list: DestinationFlowConfigList,
tasks: Tasks,
*,
config_overrides: Optional[AppflowClientConfig] = None,
description: Optional[FlowDescription] = None,
metadata_catalog_config: Optional[MetadataCatalogConfig] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateFlowResponse
Updates an existing flow.
Parameters:
-
flow_name(FlowName) –The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
-
description(Optional[FlowDescription], default:None) –A description of the flow.
-
trigger_config(TriggerConfig) –The trigger settings that determine how and when the flow runs.
-
destination_flow_config_list(DestinationFlowConfigList) –The configuration that controls how Amazon AppFlow transfers data to the destination connector.
-
tasks(Tasks) –A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
-
metadata_catalog_config(Optional[MetadataCatalogConfig], default:None) –Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
-
client_token(Optional[ClientToken], default:None) –The
clientTokenparameter is an idempotency token. It ensures that yourUpdateFlowrequest completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the sameclientTokenparameter value.If you omit a
clientTokenvalue, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.If you specify input parameters that differ from your first request, an error occurs. If you use a different value for
clientToken, Amazon AppFlow considers it a new call toUpdateFlow. The token is active for 8 hours.
Raises:
-
AccessDeniedException–AppFlow/Requester has invalid or missing permissions.
-
ConflictException–There was a conflict when processing the request (for example, a flow with the given name already exists within the account. Check for conflicting resource names and try again.
-
ConnectorAuthenticationException–An error occurred when authenticating with the connector endpoint.
-
ConnectorServerException–An error occurred when retrieving data from the connector endpoint.
-
InternalServerException–An internal service error occurred during the processing of your request. Try again later.
-
ResourceNotFoundException–The resource specified in the request (such as the source or destination connector profile) is not found.
-
ServiceQuotaExceededException–The request would cause a service quota (such as the number of flows) to be exceeded.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appflow/_services/appflow.py
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 | |