update_connector_registration
async
¶
update_connector_registration(
connector_label: ConnectorLabel,
*,
config_overrides: Optional[AsyncAppflowClientConfig] = None,
description: Optional[Description] = None,
connector_provisioning_config: Optional[ConnectorProvisioningConfig] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateConnectorRegistrationResponse
Updates a custom connector that you've previously registered. This operation updates the connector with one of the following:
-
The latest version of the AWS Lambda function that's assigned to the connector
-
A new AWS Lambda function that you specify
Parameters:
-
connector_label(ConnectorLabel) –The name of the connector. The name is unique for each connector registration in your AWS account.
-
description(Optional[Description], default:None) –A description about the update that you're applying to the connector.
-
client_token(Optional[ClientToken], default:None) –The
clientTokenparameter is an idempotency token. It ensures that yourUpdateConnectorRegistrationrequest 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 toUpdateConnectorRegistration. 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.
-
ThrottlingException–API calls have exceeded the maximum allowed API request rate per account and per Region.
-
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/async_appflow.py
1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 | |