update_connector_profile
async
¶
update_connector_profile(
connector_profile_name: ConnectorProfileName,
connection_mode: ConnectionMode,
connector_profile_config: ConnectorProfileConfig,
*,
config_overrides: Optional[AsyncAppflowClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateConnectorProfileResponse
Updates a given connector profile associated with your account.
Parameters:
-
connector_profile_name(ConnectorProfileName) –The name of the connector profile and is unique for each
ConnectorProfilein the Amazon Web Services account. -
connection_mode(ConnectionMode) –Indicates the connection mode and if it is public or private.
-
connector_profile_config(ConnectorProfileConfig) –Defines the connector-specific profile configuration and credentials.
-
client_token(Optional[ClientToken], default:None) –The
clientTokenparameter is an idempotency token. It ensures that yourUpdateConnectorProfilerequest 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 toUpdateConnectorProfile. The token is active for 8 hours.
Raises:
-
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.
-
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.
-
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
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 | |