list_connector_entities
¶
list_connector_entities(
*,
config_overrides: Optional[AppflowClientConfig] = None,
connector_profile_name: Optional[ConnectorProfileName] = None,
connector_type: Optional[ConnectorType] = None,
entities_path: Optional[EntitiesPath] = None,
api_version: Optional[ApiVersion] = None,
max_results: Optional[ListEntitiesMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListConnectorEntitiesResponse
Returns the list of available connector entities supported by Amazon AppFlow. For example, you can query Salesforce for Account and Opportunity entities, or query ServiceNow for the Incident entity.
Parameters:
-
connector_profile_name(Optional[ConnectorProfileName], default:None) –The name of the connector profile. The name is unique for each
ConnectorProfilein the Amazon Web Services account, and is used to query the downstream connector. -
connector_type(Optional[ConnectorType], default:None) –The type of connector, such as Salesforce, Amplitude, and so on.
-
entities_path(Optional[EntitiesPath], default:None) –This optional parameter is specific to connector implementation. Some connectors support multiple levels or categories of entities. You can find out the list of roots for such providers by sending a request without the
entitiesPathparameter. If the connector supports entities at different roots, this initial request returns the list of roots. Otherwise, this request returns all entities supported by the provider. -
api_version(Optional[ApiVersion], default:None) –The version of the API that's used by the connector.
-
max_results(Optional[ListEntitiesMaxResults], default:None) –The maximum number of items that the operation returns in the response.
-
next_token(Optional[NextToken], default:None) –A token that was provided by your prior
ListConnectorEntitiesoperation if the response was too big for the page size. You specify this token to get the next page of results in paginated response.
Raises:
-
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.
-
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
971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 | |