DescribeConnectors - Amazon Appflow

DescribeConnectors

Describes the connectors vended by Amazon AppFlow for specified connector types. If you don't specify a connector type, this operation describes all connectors vended by Amazon AppFlow. If there are more connectors than can be returned in one page, the response contains a nextToken object, which can be be passed in to the next call to the DescribeConnectors API operation to retrieve the next page.

Request Syntax

POST /describe-connectors HTTP/1.1 Content-type: application/json { "connectorTypes": [ "string" ], "nextToken": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

connectorTypes

The type of connector, such as Salesforce, Amplitude, and so on.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Valid Values: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | Upsolver

Required: No

nextToken

The pagination token for the next page of data.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: \S+

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "connectorConfigurations": { "string" : { "canUseAsDestination": boolean, "canUseAsSource": boolean, "connectorMetadata": { "Amplitude": { }, "Datadog": { }, "Dynatrace": { }, "EventBridge": { }, "GoogleAnalytics": { "oAuthScopes": [ "string" ] }, "InforNexus": { }, "Marketo": { }, "Redshift": { }, "S3": { }, "Salesforce": { "oAuthScopes": [ "string" ] }, "ServiceNow": { }, "Singular": { }, "Slack": { "oAuthScopes": [ "string" ] }, "Snowflake": { "supportedRegions": [ "string" ] }, "Trendmicro": { }, "Upsolver": { }, "Veeva": { }, "Zendesk": { "oAuthScopes": [ "string" ] } }, "isPrivateLinkEnabled": boolean, "isPrivateLinkEndpointUrlRequired": boolean, "supportedDestinationConnectors": [ "string" ], "supportedSchedulingFrequencies": [ "string" ], "supportedTriggerTypes": [ "string" ] } }, "nextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

connectorConfigurations

The configuration that is applied to the connectors used in the flow.

Type: String to ConnectorConfiguration object map

Valid Keys: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | Upsolver

nextToken

The pagination token for the next page of data.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: \S+

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

An internal service error occurred during the processing of your request. Try again later.

HTTP Status Code: 500

ValidationException

The request has invalid or missing parameters.

HTTP Status Code: 400

Examples

DescribeConnectors example

This example shows a sample request and response for the DescribeConnectors API using Marketo and Salesforce. The second sample shows how to proceed if you receive nextToken.

Sample Request

{"connectorTypes": ["Marketo", "Salesforce"]}
{ "connectorTypes":["Marketo","Salesforce"], "nextToken": "nextToken_value" }

Sample Response

{ "connectorConfigurations": { "Marketo": { "canUseAsDestination": false, "canUseAsSource": true, "compatibleConnectors": [ "S3", "Snowflake", "Salesforce", "Redshift" ], "connectorMetadata": { "Amplitude": null, "Datadog": null, "Dynatrace": null, "GoogleAnalytics": null, "InforNexus": null, "Marketo": {}, "Redshift": null, "S3": null, "Salesforce": null, "ServiceNow": null, "Singular": null, "Slack": null, "Snowflake": null, "Trendmicro": null, "Veeva": null, "Zendesk": null }, "connectorSpecificConfiguration": { "api_version": "v1" }, "credentialKeys": [ "accessToken", "clientId", "clientSecret" ], "displayName": "Marketo", "hasLogoImage": false, "isPrivateLinkEnabled": false, "isPrivateLinkEndpointUrlRequired": false, "privateLinkEndpointServiceUrl": null, "supportedDestinationConnectors": [ "S3", "Snowflake", "Salesforce", "Redshift" ], "supportedFrequencies": [ "Hour", "Day", "Week", "Month", "Once" ], "supportedRegions": null, "supportedSchedulingFrequencies": [ "Hour", "Day", "Week", "Month", "Once" ], "supportedTriggerTypes": [ "Scheduled", "OnDemand" ], "supportedTriggers": [ "Scheduled", "OnDemand" ] }, "Salesforce": { "canUseAsDestination": true, "canUseAsSource": true, "compatibleConnectors": [ "S3", "Snowflake", "Redshift", "Salesforce" ], "connectorMetadata": { "Amplitude": null, "Datadog": null, "Dynatrace": null, "GoogleAnalytics": null, "InforNexus": null, "Marketo": null, "Redshift": null, "S3": null, "Salesforce": { "authScopes": [ "api", "refresh_token", "id" ] }, "ServiceNow": null, "Singular": null, "Slack": null, "Snowflake": null, "Trendmicro": null, "Veeva": null, "Zendesk": null }, "connectorSpecificConfiguration": { "api_version": "v47.0", "auth_scopes": "[api, refresh_token, id]", "bulk_api_path": "services/data", "query_api_path": "query", "sobject_api_path": "sobjects" }, "credentialKeys": [ "accessToken", "refreshToken", "clientId", "clientSecret" ], "displayName": "Salesforce", "hasLogoImage": false, "isPrivateLinkEnabled": false, "isPrivateLinkEndpointUrlRequired": false, "privateLinkEndpointServiceUrl": null, "supportedDestinationConnectors": [ "S3", "Snowflake", "Redshift", "Salesforce" ], "supportedFrequencies": [ "Minute", "Hour", "Day", "Week", "Month", "Once" ], "supportedRegions": null, "supportedSchedulingFrequencies": [ "Minute", "Hour", "Day", "Week", "Month", "Once" ], "supportedTriggerTypes": [ "Scheduled", "OnDemand", "Event" ], "supportedTriggers": [ "Scheduled", "OnDemand", "Event" ] } }, "nextToken": null, "pageToken": null }

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: