Skip to main content

connectors

Creates, updates, deletes, gets or lists a connectors resource.

Overview

Nameconnectors
TypeResource
Idaws.appflow.connectors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
authentication_configobjectThe authentication config required for the connector.
can_use_as_destinationbooleanSpecifies whether the connector can be used as a destination.
can_use_as_sourcebooleanSpecifies whether the connector can be used as a source.
connector_arnstringThe Amazon Resource Name (ARN) for the registered connector. (pattern: <code>arn:aws:.:.:[0-9]+:.*</code>)
connector_descriptionstringA description about the connector. (pattern: <code>[\w!@#-.?,\s]*</code>)
connector_labelstringThe label used for registering the connector. (pattern: <code>[a-zA-Z0-9][\w!@#.-]+</code>)
connector_metadataobjectSpecifies connector-specific metadata such as oAuthScopes, supportedRegions, privateLinkServiceUrl, and so on.
connector_modesarrayThe connection modes that the connector supports.
connector_namestringThe connector name. (pattern: <code>.*</code>)
connector_ownerstringThe owner who developed the connector. (pattern: <code>.*</code>)
connector_provisioning_configobjectThe configuration required for registering the connector.
connector_provisioning_typestringThe provisioning type used to register the connector. (LAMBDA)
connector_runtime_settingsarrayThe required connector runtime settings.
connector_typestringThe connector type. (Salesforce, Singular, Slack, Redshift, S3, Marketo, Googleanalytics, Zendesk, Servicenow, Datadog, Trendmicro, Snowflake, Dynatrace, Infornexus, Amplitude, Veeva, EventBridge, LookoutMetrics, Upsolver, Honeycode, CustomerProfiles, SAPOData, CustomConnector, Pardot)
connector_versionstringThe connector version. (pattern: <code>\S+</code>)
is_private_link_enabledbooleanSpecifies if PrivateLink is enabled for that connector.
is_private_link_endpoint_url_requiredbooleanSpecifies if a PrivateLink endpoint URL is required.
logo_urlstringLogo URL of the connector. (pattern: <code>^(https?|ftp|file):​//[-a-zA-Z0-9+&@#/%?=_|!:,.;]*[-a-zA-Z0-9+&@#/%=_|]</code>)
registered_atstring (date-time)The date on which the connector was registered.
registered_bystringInformation about who registered the connector. (pattern: <code>\S+</code>)
supported_api_versionsarrayA list of API versions that are supported by the connector.
supported_data_transfer_apisarrayThe APIs of the connector application that Amazon AppFlow can use to transfer your data.
supported_data_transfer_typesarrayThe data transfer types that the connector supports. RECORD Structured records. FILE Files or binary data.
supported_destination_connectorsarrayLists the connectors that are available for use as destinations.
supported_operatorsarrayA list of operators supported by the connector.
supported_scheduling_frequenciesarraySpecifies the supported flow frequency for that connector.
supported_trigger_typesarraySpecifies the supported trigger types for the flow.
supported_write_operationsarrayA list of write operations supported by the connector.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_connectorselectregionDescribes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors.
describe_connectorsselectregionDescribes 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.
register_connectorinsertregionRegisters a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.
update_connector_registrationupdateregion, connectorLabelUpdates 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
list_connectorsexecregionReturns the list of all registered custom connectors in your Amazon Web Services account. This API lists only custom connectors registered in this account, not the Amazon Web Services authored connectors.
reset_connector_metadata_cacheexecregionResets metadata about your connector entities that Amazon AppFlow stored in its cache. Use this action when you want Amazon AppFlow to return the latest information about the data that you have in a source application. Amazon AppFlow returns metadata about your entities when you use the ListConnectorEntities or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches the metadata to reduce the number of API requests that it must send to the source application. Amazon AppFlow automatically resets the cache once every hour, but you can use this action when you want to get the latest metadata right away.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors.

SELECT
authentication_config,
can_use_as_destination,
can_use_as_source,
connector_arn,
connector_description,
connector_label,
connector_metadata,
connector_modes,
connector_name,
connector_owner,
connector_provisioning_config,
connector_provisioning_type,
connector_runtime_settings,
connector_type,
connector_version,
is_private_link_enabled,
is_private_link_endpoint_url_required,
logo_url,
registered_at,
registered_by,
supported_api_versions,
supported_data_transfer_apis,
supported_data_transfer_types,
supported_destination_connectors,
supported_operators,
supported_scheduling_frequencies,
supported_trigger_types,
supported_write_operations
FROM aws.appflow.connectors
WHERE region = '{{ region }}' -- required
;

INSERT examples

Registers a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.

INSERT INTO aws.appflow.connectors (
connectorLabel,
description,
connectorProvisioningType,
connectorProvisioningConfig,
clientToken,
region
)
SELECT
'{{ connectorLabel }}',
'{{ description }}',
'{{ connectorProvisioningType }}',
'{{ connectorProvisioningConfig }}',
'{{ clientToken }}',
'{{ region }}'
RETURNING
connector_arn
;

UPDATE examples

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

UPDATE aws.appflow.connectors
SET
connectorLabel = '{{ connectorLabel }}',
description = '{{ description }}',
connectorProvisioningConfig = '{{ connectorProvisioningConfig }}',
clientToken = '{{ clientToken }}'
WHERE
region = '{{ region }}' --required
AND connectorLabel = '{{ connectorLabel }}' --required
RETURNING
connector_arn;

Lifecycle Methods

Returns the list of all registered custom connectors in your Amazon Web Services account. This API lists only custom connectors registered in this account, not the Amazon Web Services authored connectors.

EXEC aws.appflow.connectors.list_connectors
@region='{{ region }}' --required
@@json=
'{
"maxResults": {{ maxResults }},
"nextToken": "{{ nextToken }}"
}'
;