You are viewing the documentation for an older major version of the AWS SDK for JavaScript.
The modular AWS SDK for JavaScript (v3), the latest major version of AWS SDK for JavaScript, is now stable and recommended for general use. For more information, see the Migration Guide and API Reference.

Class: AWS.Appflow

Inherits:
AWS.Service show all
Identifier:
appflow
API Version:
2020-08-23
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Welcome to the Amazon AppFlow API reference. This guide is for developers who need detailed information about the Amazon AppFlow API operations, data types, and errors.

Amazon AppFlow is a fully managed integration service that enables you to securely transfer data between software as a service (SaaS) applications like Salesforce, Marketo, Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.

Use the following links to get started on the Amazon AppFlow API:

  • Actions: An alphabetical list of all Amazon AppFlow API operations.

  • Data types: An alphabetical list of all Amazon AppFlow data types.

  • Common parameters: Parameters that all Query operations can use.

  • Common errors: Client and server errors that all operations can return.

If you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User Guide.

Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include applicable OAuth attributes (such as auth-code and redirecturi) with the connector-specific ConnectorProfileProperties when creating a new connector profile using Amazon AppFlow API operations. For example, Salesforce users can refer to the Authorize Apps with OAuth documentation.

Sending a Request Using Appflow

var appflow = new AWS.Appflow();
appflow.createConnectorProfile(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the Appflow object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var appflow = new AWS.Appflow({apiVersion: '2020-08-23'});

You can also set the API version globally in AWS.config.apiVersions using the appflow service identifier:

AWS.config.apiVersions = {
  appflow: '2020-08-23',
  // other service API versions
};

var appflow = new AWS.Appflow();

Version:

  • 2020-08-23

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.Appflow(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a Appflow object

var appflow = new AWS.Appflow({apiVersion: '2020-08-23'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.Appflow.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.Appflow.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.Appflow.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

createConnectorProfile(params = {}, callback) ⇒ AWS.Request

Creates a new connector profile associated with your Amazon Web Services account. There is a soft quota of 100 connector profiles per Amazon Web Services account. If you need more connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support channel.

Service Reference:

Examples:

Calling the createConnectorProfile operation

var params = {
  connectionMode: Public | Private, /* required */
  connectorProfileConfig: { /* required */
    connectorProfileCredentials: { /* required */
      Amplitude: {
        apiKey: 'STRING_VALUE', /* required */
        secretKey: 'STRING_VALUE' /* required */
      },
      Datadog: {
        apiKey: 'STRING_VALUE', /* required */
        applicationKey: 'STRING_VALUE' /* required */
      },
      Dynatrace: {
        apiToken: 'STRING_VALUE' /* required */
      },
      GoogleAnalytics: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        },
        refreshToken: 'STRING_VALUE'
      },
      Honeycode: {
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        },
        refreshToken: 'STRING_VALUE'
      },
      InforNexus: {
        accessKeyId: 'STRING_VALUE', /* required */
        datakey: 'STRING_VALUE', /* required */
        secretAccessKey: 'STRING_VALUE', /* required */
        userId: 'STRING_VALUE' /* required */
      },
      Marketo: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        }
      },
      Redshift: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      SAPOData: {
        basicAuthCredentials: {
          password: 'STRING_VALUE', /* required */
          username: 'STRING_VALUE' /* required */
        },
        oAuthCredentials: {
          clientId: 'STRING_VALUE', /* required */
          clientSecret: 'STRING_VALUE', /* required */
          accessToken: 'STRING_VALUE',
          oAuthRequest: {
            authCode: 'STRING_VALUE',
            redirectUri: 'STRING_VALUE'
          },
          refreshToken: 'STRING_VALUE'
        }
      },
      Salesforce: {
        accessToken: 'STRING_VALUE',
        clientCredentialsArn: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        },
        refreshToken: 'STRING_VALUE'
      },
      ServiceNow: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      Singular: {
        apiKey: 'STRING_VALUE' /* required */
      },
      Slack: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        }
      },
      Snowflake: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      Trendmicro: {
        apiSecretKey: 'STRING_VALUE' /* required */
      },
      Veeva: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      Zendesk: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        }
      }
    },
    connectorProfileProperties: { /* required */
      Amplitude: {
      },
      Datadog: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Dynatrace: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      GoogleAnalytics: {
      },
      Honeycode: {
      },
      InforNexus: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Marketo: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Redshift: {
        bucketName: 'STRING_VALUE', /* required */
        databaseUrl: 'STRING_VALUE', /* required */
        roleArn: 'STRING_VALUE', /* required */
        bucketPrefix: 'STRING_VALUE'
      },
      SAPOData: {
        applicationHostUrl: 'STRING_VALUE', /* required */
        applicationServicePath: 'STRING_VALUE', /* required */
        clientNumber: 'STRING_VALUE', /* required */
        portNumber: 'NUMBER_VALUE', /* required */
        logonLanguage: 'STRING_VALUE',
        oAuthProperties: {
          authCodeUrl: 'STRING_VALUE', /* required */
          oAuthScopes: [ /* required */
            'STRING_VALUE',
            /* more items */
          ],
          tokenUrl: 'STRING_VALUE' /* required */
        },
        privateLinkServiceName: 'STRING_VALUE'
      },
      Salesforce: {
        instanceUrl: 'STRING_VALUE',
        isSandboxEnvironment: true || false
      },
      ServiceNow: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Singular: {
      },
      Slack: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Snowflake: {
        bucketName: 'STRING_VALUE', /* required */
        stage: 'STRING_VALUE', /* required */
        warehouse: 'STRING_VALUE', /* required */
        accountName: 'STRING_VALUE',
        bucketPrefix: 'STRING_VALUE',
        privateLinkServiceName: 'STRING_VALUE',
        region: 'STRING_VALUE'
      },
      Trendmicro: {
      },
      Veeva: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Zendesk: {
        instanceUrl: 'STRING_VALUE' /* required */
      }
    }
  },
  connectorProfileName: 'STRING_VALUE', /* required */
  connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData, /* required */
  kmsArn: 'STRING_VALUE'
};
appflow.createConnectorProfile(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • connectorProfileName — (String)

      The name of the connector profile. The name is unique for each ConnectorProfile in your Amazon Web Services account.

    • kmsArn — (String)

      The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

    • connectorType — (String)

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

      Possible values include:
      • "Salesforce"
      • "Singular"
      • "Slack"
      • "Redshift"
      • "S3"
      • "Marketo"
      • "Googleanalytics"
      • "Zendesk"
      • "Servicenow"
      • "Datadog"
      • "Trendmicro"
      • "Snowflake"
      • "Dynatrace"
      • "Infornexus"
      • "Amplitude"
      • "Veeva"
      • "EventBridge"
      • "LookoutMetrics"
      • "Upsolver"
      • "Honeycode"
      • "CustomerProfiles"
      • "SAPOData"
    • connectionMode — (String)

      Indicates the connection mode and specifies whether it is public or private. Private flows use Amazon Web Services PrivateLink to route data over Amazon Web Services infrastructure without exposing it to the public internet.

      Possible values include:
      • "Public"
      • "Private"
    • connectorProfileConfig — (map)

      Defines the connector-specific configuration and credentials.

      • connectorProfilePropertiesrequired — (map)

        The connector-specific properties of the profile configuration.

        • Amplitude — (map)

          The connector-specific properties required by Amplitude.

        • Datadog — (map)

          The connector-specific properties required by Datadog.

          • instanceUrlrequired — (String)

            The location of the Datadog resource.

        • Dynatrace — (map)

          The connector-specific properties required by Dynatrace.

          • instanceUrlrequired — (String)

            The location of the Dynatrace resource.

        • GoogleAnalytics — (map)

          The connector-specific properties required Google Analytics.

        • Honeycode — (map)

          The connector-specific properties required by Amazon Honeycode.

        • InforNexus — (map)

          The connector-specific properties required by Infor Nexus.

          • instanceUrlrequired — (String)

            The location of the Infor Nexus resource.

        • Marketo — (map)

          The connector-specific properties required by Marketo.

          • instanceUrlrequired — (String)

            The location of the Marketo resource.

        • Redshift — (map)

          The connector-specific properties required by Amazon Redshift.

          • databaseUrlrequired — (String)

            The JDBC URL of the Amazon Redshift cluster.

          • bucketNamerequired — (String)

            A name for the associated Amazon S3 bucket.

          • bucketPrefix — (String)

            The object key for the destination bucket in which Amazon AppFlow places the files.

          • roleArnrequired — (String)

            The Amazon Resource Name (ARN) of the IAM role.

        • Salesforce — (map)

          The connector-specific properties required by Salesforce.

          • instanceUrl — (String)

            The location of the Salesforce resource.

          • isSandboxEnvironment — (Boolean)

            Indicates whether the connector profile applies to a sandbox or production environment.

        • ServiceNow — (map)

          The connector-specific properties required by serviceNow.

          • instanceUrlrequired — (String)

            The location of the ServiceNow resource.

        • Singular — (map)

          The connector-specific properties required by Singular.

        • Slack — (map)

          The connector-specific properties required by Slack.

          • instanceUrlrequired — (String)

            The location of the Slack resource.

        • Snowflake — (map)

          The connector-specific properties required by Snowflake.

          • warehouserequired — (String)

            The name of the Snowflake warehouse.

          • stagerequired — (String)

            The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account. This is written in the following format: < Database>< Schema><Stage Name>.

          • bucketNamerequired — (String)

            The name of the Amazon S3 bucket associated with Snowflake.

          • bucketPrefix — (String)

            The bucket path that refers to the Amazon S3 bucket associated with Snowflake.

          • privateLinkServiceName — (String)

            The Snowflake Private Link service name to be used for private data transfers.

          • accountName — (String)

            The name of the account.

          • region — (String)

            The Amazon Web Services Region of the Snowflake account.

        • Trendmicro — (map)

          The connector-specific properties required by Trend Micro.

        • Veeva — (map)

          The connector-specific properties required by Veeva.

          • instanceUrlrequired — (String)

            The location of the Veeva resource.

        • Zendesk — (map)

          The connector-specific properties required by Zendesk.

          • instanceUrlrequired — (String)

            The location of the Zendesk resource.

        • SAPOData — (map)

          The connector-specific profile properties required when using SAPOData.

          • applicationHostUrlrequired — (String)

            The location of the SAPOData resource.

          • applicationServicePathrequired — (String)

            The application path to catalog service.

          • portNumberrequired — (Integer)

            The port number of the SAPOData instance.

          • clientNumberrequired — (String)

            The client number for the client creating the connection.

          • logonLanguage — (String)

            The logon language of SAPOData instance.

          • privateLinkServiceName — (String)

            The SAPOData Private Link service name to be used for private data transfers.

          • oAuthProperties — (map)

            The SAPOData OAuth properties required for OAuth type authentication.

            • tokenUrlrequired — (String)

              The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

            • authCodeUrlrequired — (String)

              The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

            • oAuthScopesrequired — (Array<String>)

              The OAuth scopes required for OAuth type authentication.

      • connectorProfileCredentialsrequired — (map)

        The connector-specific credentials required by each connector.

        • Amplitude — (map)

          The connector-specific credentials required when using Amplitude.

          • apiKeyrequired — (String)

            A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.

          • secretKeyrequired — (String)

            The Secret Access Key portion of the credentials.

        • Datadog — (map)

          The connector-specific credentials required when using Datadog.

          • apiKeyrequired — (String)

            A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.

          • applicationKeyrequired — (String)

            Application keys, in conjunction with your API key, give you full access to Datadog’s programmatic API. Application keys are associated with the user account that created them. The application key is used to log all requests made to the API.

        • Dynatrace — (map)

          The connector-specific credentials required when using Dynatrace.

          • apiTokenrequired — (String)

            The API tokens used by Dynatrace API to authenticate various API calls.

        • GoogleAnalytics — (map)

          The connector-specific credentials required when using Google Analytics.

          • clientIdrequired — (String)

            The identifier for the desired client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Google Analytics resources.

          • refreshToken — (String)

            The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • Honeycode — (map)

          The connector-specific credentials required when using Amazon Honeycode.

          • accessToken — (String)

            The credentials used to access protected Amazon Honeycode resources.

          • refreshToken — (String)

            The credentials used to acquire new access tokens.

          • oAuthRequest — (map)

            Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • InforNexus — (map)

          The connector-specific credentials required when using Infor Nexus.

          • accessKeyIdrequired — (String)

            The Access Key portion of the credentials.

          • userIdrequired — (String)

            The identifier for the user.

          • secretAccessKeyrequired — (String)

            The secret key used to sign requests.

          • datakeyrequired — (String)

            The encryption keys used to encrypt data.

        • Marketo — (map)

          The connector-specific credentials required when using Marketo.

          • clientIdrequired — (String)

            The identifier for the desired client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Marketo resources.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • Redshift — (map)

          The connector-specific credentials required when using Amazon Redshift.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Salesforce — (map)

          The connector-specific credentials required when using Salesforce.

          • accessToken — (String)

            The credentials used to access protected Salesforce resources.

          • refreshToken — (String)

            The credentials used to acquire new access tokens.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

          • clientCredentialsArn — (String)

            The secret manager ARN, which contains the client ID and client secret of the connected app.

        • ServiceNow — (map)

          The connector-specific credentials required when using ServiceNow.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Singular — (map)

          The connector-specific credentials required when using Singular.

          • apiKeyrequired — (String)

            A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.

        • Slack — (map)

          The connector-specific credentials required when using Slack.

          • clientIdrequired — (String)

            The identifier for the client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Slack resources.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • Snowflake — (map)

          The connector-specific credentials required when using Snowflake.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Trendmicro — (map)

          The connector-specific credentials required when using Trend Micro.

          • apiSecretKeyrequired — (String)

            The Secret Access Key portion of the credentials.

        • Veeva — (map)

          The connector-specific credentials required when using Veeva.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Zendesk — (map)

          The connector-specific credentials required when using Zendesk.

          • clientIdrequired — (String)

            The identifier for the desired client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Zendesk resources.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • SAPOData — (map)

          The connector-specific profile credentials required when using SAPOData.

          • basicAuthCredentials — (map)

            The SAPOData basic authentication credentials.

            • usernamerequired — (String)

              The username to use to connect to a resource.

            • passwordrequired — (String)

              The password to use to connect to a resource.

          • oAuthCredentials — (map)

            The SAPOData OAuth type authentication credentials.

            • clientIdrequired — (String)

              The identifier for the desired client.

            • clientSecretrequired — (String)

              The client secret used by the OAuth client to authenticate to the authorization server.

            • accessToken — (String)

              The access token used to access protected SAPOData resources.

            • refreshToken — (String)

              The refresh token used to refresh expired access token.

            • oAuthRequest — (map)

              The OAuth requirement needed to request security tokens from the connector endpoint.

              • authCode — (String)

                The code provided by the connector when it has been authenticated via the connected app.

              • redirectUri — (String)

                The URL to which the authentication server redirects the browser after authorization has been granted.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • connectorProfileArn — (String)

        The Amazon Resource Name (ARN) of the connector profile.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createFlow(params = {}, callback) ⇒ AWS.Request

Enables your application to create a new flow using Amazon AppFlow. You must create a connector profile before calling this API. Please note that the Request Syntax below shows syntax for multiple destinations, however, you can only transfer data to one item in this list at a time. Amazon AppFlow does not currently support flows to multiple destinations at once.

Service Reference:

Examples:

Calling the createFlow operation

var params = {
  destinationFlowConfigList: [ /* required */
    {
      connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData, /* required */
      destinationConnectorProperties: { /* required */
        CustomerProfiles: {
          domainName: 'STRING_VALUE', /* required */
          objectTypeName: 'STRING_VALUE'
        },
        EventBridge: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        Honeycode: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        LookoutMetrics: {
        },
        Redshift: {
          intermediateBucketName: 'STRING_VALUE', /* required */
          object: 'STRING_VALUE', /* required */
          bucketPrefix: 'STRING_VALUE',
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        S3: {
          bucketName: 'STRING_VALUE', /* required */
          bucketPrefix: 'STRING_VALUE',
          s3OutputFormatConfig: {
            aggregationConfig: {
              aggregationType: None | SingleFile
            },
            fileType: CSV | JSON | PARQUET,
            prefixConfig: {
              prefixFormat: YEAR | MONTH | DAY | HOUR | MINUTE,
              prefixType: FILENAME | PATH | PATH_AND_FILENAME
            }
          }
        },
        Salesforce: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          },
          idFieldNames: [
            'STRING_VALUE',
            /* more items */
          ],
          writeOperationType: INSERT | UPSERT | UPDATE
        },
        Snowflake: {
          intermediateBucketName: 'STRING_VALUE', /* required */
          object: 'STRING_VALUE', /* required */
          bucketPrefix: 'STRING_VALUE',
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        Upsolver: {
          bucketName: 'STRING_VALUE', /* required */
          s3OutputFormatConfig: { /* required */
            prefixConfig: { /* required */
              prefixFormat: YEAR | MONTH | DAY | HOUR | MINUTE,
              prefixType: FILENAME | PATH | PATH_AND_FILENAME
            },
            aggregationConfig: {
              aggregationType: None | SingleFile
            },
            fileType: CSV | JSON | PARQUET
          },
          bucketPrefix: 'STRING_VALUE'
        },
        Zendesk: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          },
          idFieldNames: [
            'STRING_VALUE',
            /* more items */
          ],
          writeOperationType: INSERT | UPSERT | UPDATE
        }
      },
      connectorProfileName: 'STRING_VALUE'
    },
    /* more items */
  ],
  flowName: 'STRING_VALUE', /* required */
  sourceFlowConfig: { /* required */
    connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData, /* required */
    sourceConnectorProperties: { /* required */
      Amplitude: {
        object: 'STRING_VALUE' /* required */
      },
      Datadog: {
        object: 'STRING_VALUE' /* required */
      },
      Dynatrace: {
        object: 'STRING_VALUE' /* required */
      },
      GoogleAnalytics: {
        object: 'STRING_VALUE' /* required */
      },
      InforNexus: {
        object: 'STRING_VALUE' /* required */
      },
      Marketo: {
        object: 'STRING_VALUE' /* required */
      },
      S3: {
        bucketName: 'STRING_VALUE', /* required */
        bucketPrefix: 'STRING_VALUE',
        s3InputFormatConfig: {
          s3InputFileType: CSV | JSON
        }
      },
      SAPOData: {
        objectPath: 'STRING_VALUE'
      },
      Salesforce: {
        object: 'STRING_VALUE', /* required */
        enableDynamicFieldUpdate: true || false,
        includeDeletedRecords: true || false
      },
      ServiceNow: {
        object: 'STRING_VALUE' /* required */
      },
      Singular: {
        object: 'STRING_VALUE' /* required */
      },
      Slack: {
        object: 'STRING_VALUE' /* required */
      },
      Trendmicro: {
        object: 'STRING_VALUE' /* required */
      },
      Veeva: {
        object: 'STRING_VALUE', /* required */
        documentType: 'STRING_VALUE',
        includeAllVersions: true || false,
        includeRenditions: true || false,
        includeSourceFiles: true || false
      },
      Zendesk: {
        object: 'STRING_VALUE' /* required */
      }
    },
    connectorProfileName: 'STRING_VALUE',
    incrementalPullConfig: {
      datetimeTypeFieldName: 'STRING_VALUE'
    }
  },
  tasks: [ /* required */
    {
      sourceFields: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      taskType: Arithmetic | Filter | Map | Map_all | Mask | Merge | Truncate | Validate, /* required */
      connectorOperator: {
        Amplitude: BETWEEN,
        Datadog: PROJECTION | BETWEEN | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Dynatrace: PROJECTION | BETWEEN | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        GoogleAnalytics: PROJECTION | BETWEEN,
        InforNexus: PROJECTION | BETWEEN | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Marketo: PROJECTION | LESS_THAN | GREATER_THAN | BETWEEN | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        S3: PROJECTION | LESS_THAN | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        SAPOData: PROJECTION | LESS_THAN | CONTAINS | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Salesforce: PROJECTION | LESS_THAN | CONTAINS | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        ServiceNow: PROJECTION | CONTAINS | LESS_THAN | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Singular: PROJECTION | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Slack: PROJECTION | LESS_THAN | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Trendmicro: PROJECTION | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Veeva: PROJECTION | LESS_THAN | GREATER_THAN | CONTAINS | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Zendesk: PROJECTION | GREATER_THAN | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP
      },
      destinationField: 'STRING_VALUE',
      taskProperties: {
        '<OperatorPropertiesKeys>': 'STRING_VALUE',
        /* '<OperatorPropertiesKeys>': ... */
      }
    },
    /* more items */
  ],
  triggerConfig: { /* required */
    triggerType: Scheduled | Event | OnDemand, /* required */
    triggerProperties: {
      Scheduled: {
        scheduleExpression: 'STRING_VALUE', /* required */
        dataPullMode: Incremental | Complete,
        firstExecutionFrom: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
        scheduleEndTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
        scheduleOffset: 'NUMBER_VALUE',
        scheduleStartTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
        timezone: 'STRING_VALUE'
      }
    }
  },
  description: 'STRING_VALUE',
  kmsArn: 'STRING_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
appflow.createFlow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • flowName — (String)

      The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

    • description — (String)

      A description of the flow you want to create.

    • kmsArn — (String)

      The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

    • triggerConfig — (map)

      The trigger settings that determine how and when the flow runs.

      • triggerTyperequired — (String)

        Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

        Possible values include:
        • "Scheduled"
        • "Event"
        • "OnDemand"
      • triggerProperties — (map)

        Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.

        • Scheduled — (map)

          Specifies the configuration details of a schedule-triggered flow as defined by the user.

          • scheduleExpressionrequired — (String)

            The scheduling expression that determines the rate at which the schedule will run, for example rate(5minutes).

          • dataPullMode — (String)

            Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.

            Possible values include:
            • "Incremental"
            • "Complete"
          • scheduleStartTime — (Date)

            Specifies the scheduled start time for a schedule-triggered flow.

          • scheduleEndTime — (Date)

            Specifies the scheduled end time for a schedule-triggered flow.

          • timezone — (String)

            Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.

          • scheduleOffset — (Integer)

            Specifies the optional offset that is added to the time interval for a schedule-triggered flow.

          • firstExecutionFrom — (Date)

            Specifies the date range for the records to import from the connector in the first flow run.

    • sourceFlowConfig — (map)

      The configuration that controls how Amazon AppFlow retrieves data from the source connector.

      • connectorTyperequired — (String)

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

        Possible values include:
        • "Salesforce"
        • "Singular"
        • "Slack"
        • "Redshift"
        • "S3"
        • "Marketo"
        • "Googleanalytics"
        • "Zendesk"
        • "Servicenow"
        • "Datadog"
        • "Trendmicro"
        • "Snowflake"
        • "Dynatrace"
        • "Infornexus"
        • "Amplitude"
        • "Veeva"
        • "EventBridge"
        • "LookoutMetrics"
        • "Upsolver"
        • "Honeycode"
        • "CustomerProfiles"
        • "SAPOData"
      • connectorProfileName — (String)

        The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.

      • sourceConnectorPropertiesrequired — (map)

        Specifies the information that is required to query a particular source connector.

        • Amplitude — (map)

          Specifies the information that is required for querying Amplitude.

          • objectrequired — (String)

            The object specified in the Amplitude flow source.

        • Datadog — (map)

          Specifies the information that is required for querying Datadog.

          • objectrequired — (String)

            The object specified in the Datadog flow source.

        • Dynatrace — (map)

          Specifies the information that is required for querying Dynatrace.

          • objectrequired — (String)

            The object specified in the Dynatrace flow source.

        • GoogleAnalytics — (map)

          Specifies the information that is required for querying Google Analytics.

          • objectrequired — (String)

            The object specified in the Google Analytics flow source.

        • InforNexus — (map)

          Specifies the information that is required for querying Infor Nexus.

          • objectrequired — (String)

            The object specified in the Infor Nexus flow source.

        • Marketo — (map)

          Specifies the information that is required for querying Marketo.

          • objectrequired — (String)

            The object specified in the Marketo flow source.

        • S3 — (map)

          Specifies the information that is required for querying Amazon S3.

          • bucketNamerequired — (String)

            The Amazon S3 bucket name where the source files are stored.

          • bucketPrefix — (String)

            The object key for the Amazon S3 bucket in which the source files are stored.

          • s3InputFormatConfig — (map)

            When you use Amazon S3 as the source, the configuration format that you provide the flow input data.

            • s3InputFileType — (String)

              The file type that Amazon AppFlow gets from your Amazon S3 bucket.

              Possible values include:
              • "CSV"
              • "JSON"
        • Salesforce — (map)

          Specifies the information that is required for querying Salesforce.

          • objectrequired — (String)

            The object specified in the Salesforce flow source.

          • enableDynamicFieldUpdate — (Boolean)

            The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.

          • includeDeletedRecords — (Boolean)

            Indicates whether Amazon AppFlow includes deleted files in the flow run.

        • ServiceNow — (map)

          Specifies the information that is required for querying ServiceNow.

          • objectrequired — (String)

            The object specified in the ServiceNow flow source.

        • Singular — (map)

          Specifies the information that is required for querying Singular.

          • objectrequired — (String)

            The object specified in the Singular flow source.

        • Slack — (map)

          Specifies the information that is required for querying Slack.

          • objectrequired — (String)

            The object specified in the Slack flow source.

        • Trendmicro — (map)

          Specifies the information that is required for querying Trend Micro.

          • objectrequired — (String)

            The object specified in the Trend Micro flow source.

        • Veeva — (map)

          Specifies the information that is required for querying Veeva.

          • objectrequired — (String)

            The object specified in the Veeva flow source.

          • documentType — (String)

            The document type specified in the Veeva document extract flow.

          • includeSourceFiles — (Boolean)

            Boolean value to include source files in Veeva document extract flow.

          • includeRenditions — (Boolean)

            Boolean value to include file renditions in Veeva document extract flow.

          • includeAllVersions — (Boolean)

            Boolean value to include All Versions of files in Veeva document extract flow.

        • Zendesk — (map)

          Specifies the information that is required for querying Zendesk.

          • objectrequired — (String)

            The object specified in the Zendesk flow source.

        • SAPOData — (map)

          The properties that are applied when using SAPOData as a flow source.

          • objectPath — (String)

            The object path specified in the SAPOData flow source.

      • incrementalPullConfig — (map)

        Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.

        • datetimeTypeFieldName — (String)

          A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.

    • destinationFlowConfigList — (Array<map>)

      The configuration that controls how Amazon AppFlow places data in the destination connector.

      • connectorTyperequired — (String)

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

        Possible values include:
        • "Salesforce"
        • "Singular"
        • "Slack"
        • "Redshift"
        • "S3"
        • "Marketo"
        • "Googleanalytics"
        • "Zendesk"
        • "Servicenow"
        • "Datadog"
        • "Trendmicro"
        • "Snowflake"
        • "Dynatrace"
        • "Infornexus"
        • "Amplitude"
        • "Veeva"
        • "EventBridge"
        • "LookoutMetrics"
        • "Upsolver"
        • "Honeycode"
        • "CustomerProfiles"
        • "SAPOData"
      • connectorProfileName — (String)

        The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.

      • destinationConnectorPropertiesrequired — (map)

        This stores the information that is required to query a particular connector.

        • Redshift — (map)

          The properties required to query Amazon Redshift.

          • objectrequired — (String)

            The object specified in the Amazon Redshift flow destination.

          • intermediateBucketNamerequired — (String)

            The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.

          • bucketPrefix — (String)

            The object key for the bucket in which Amazon AppFlow places the destination files.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • S3 — (map)

          The properties required to query Amazon S3.

          • bucketNamerequired — (String)

            The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

          • bucketPrefix — (String)

            The object key for the destination bucket in which Amazon AppFlow places the files.

          • s3OutputFormatConfig — (map)

            The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.

            • fileType — (String)

              Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.

              Possible values include:
              • "CSV"
              • "JSON"
              • "PARQUET"
            • prefixConfig — (map)

              Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.

              • prefixType — (String)

                Determines the format of the prefix, and whether it applies to the file name, file path, or both.

                Possible values include:
                • "FILENAME"
                • "PATH"
                • "PATH_AND_FILENAME"
              • prefixFormat — (String)

                Determines the level of granularity that's included in the prefix.

                Possible values include:
                • "YEAR"
                • "MONTH"
                • "DAY"
                • "HOUR"
                • "MINUTE"
            • aggregationConfig — (map)

              The aggregation settings that you can use to customize the output format of your flow data.

              • aggregationType — (String)

                Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.

                Possible values include:
                • "None"
                • "SingleFile"
        • Salesforce — (map)

          The properties required to query Salesforce.

          • objectrequired — (String)

            The object specified in the Salesforce flow destination.

          • idFieldNames — (Array<String>)

            The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

          • writeOperationType — (String)

            This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.

            Possible values include:
            • "INSERT"
            • "UPSERT"
            • "UPDATE"
        • Snowflake — (map)

          The properties required to query Snowflake.

          • objectrequired — (String)

            The object specified in the Snowflake flow destination.

          • intermediateBucketNamerequired — (String)

            The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.

          • bucketPrefix — (String)

            The object key for the destination bucket in which Amazon AppFlow places the files.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • EventBridge — (map)

          The properties required to query Amazon EventBridge.

          • objectrequired — (String)

            The object specified in the Amazon EventBridge flow destination.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • LookoutMetrics — (map)

          The properties required to query Amazon Lookout for Metrics.

        • Upsolver — (map)

          The properties required to query Upsolver.

          • bucketNamerequired — (String)

            The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

          • bucketPrefix — (String)

            The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.

          • s3OutputFormatConfigrequired — (map)

            The configuration that determines how data is formatted when Upsolver is used as the flow destination.

            • fileType — (String)

              Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.

              Possible values include:
              • "CSV"
              • "JSON"
              • "PARQUET"
            • prefixConfigrequired — (map)

              Determines the prefix that Amazon AppFlow applies to the destination folder name. You can name your destination folders according to the flow frequency and date.

              • prefixType — (String)

                Determines the format of the prefix, and whether it applies to the file name, file path, or both.

                Possible values include:
                • "FILENAME"
                • "PATH"
                • "PATH_AND_FILENAME"
              • prefixFormat — (String)

                Determines the level of granularity that's included in the prefix.

                Possible values include:
                • "YEAR"
                • "MONTH"
                • "DAY"
                • "HOUR"
                • "MINUTE"
            • aggregationConfig — (map)

              The aggregation settings that you can use to customize the output format of your flow data.

              • aggregationType — (String)

                Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.

                Possible values include:
                • "None"
                • "SingleFile"
        • Honeycode — (map)

          The properties required to query Amazon Honeycode.

          • objectrequired — (String)

            The object specified in the Amazon Honeycode flow destination.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • CustomerProfiles — (map)

          The properties required to query Amazon Connect Customer Profiles.

          • domainNamerequired — (String)

            The unique name of the Amazon Connect Customer Profiles domain.

          • objectTypeName — (String)

            The object specified in the Amazon Connect Customer Profiles flow destination.

        • Zendesk — (map)

          The properties required to query Zendesk.

          • objectrequired — (String)

            The object specified in the Zendesk flow destination.

          • idFieldNames — (Array<String>)

            A list of field names that can be used as an ID field when performing a write operation.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

          • writeOperationType — (String)

            The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT operation.

            Possible values include:
            • "INSERT"
            • "UPSERT"
            • "UPDATE"
    • tasks — (Array<map>)

      A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.

      • sourceFieldsrequired — (Array<String>)

        The source fields to which a particular task is applied.

      • connectorOperator — (map)

        The operation to be performed on the provided source fields.

        • Amplitude — (String)

          The operation to be performed on the provided Amplitude source fields.

          Possible values include:
          • "BETWEEN"
        • Datadog — (String)

          The operation to be performed on the provided Datadog source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Dynatrace — (String)

          The operation to be performed on the provided Dynatrace source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • GoogleAnalytics — (String)

          The operation to be performed on the provided Google Analytics source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
        • InforNexus — (String)

          The operation to be performed on the provided Infor Nexus source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Marketo — (String)

          The operation to be performed on the provided Marketo source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • S3 — (String)

          The operation to be performed on the provided Amazon S3 source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Salesforce — (String)

          The operation to be performed on the provided Salesforce source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "CONTAINS"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • ServiceNow — (String)

          The operation to be performed on the provided ServiceNow source fields.

          Possible values include:
          • "PROJECTION"
          • "CONTAINS"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Singular — (String)

          The operation to be performed on the provided Singular source fields.

          Possible values include:
          • "PROJECTION"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Slack — (String)

          The operation to be performed on the provided Slack source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Trendmicro — (String)

          The operation to be performed on the provided Trend Micro source fields.

          Possible values include:
          • "PROJECTION"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Veeva — (String)

          The operation to be performed on the provided Veeva source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "CONTAINS"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Zendesk — (String)

          The operation to be performed on the provided Zendesk source fields.

          Possible values include:
          • "PROJECTION"
          • "GREATER_THAN"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • SAPOData — (String)

          The operation to be performed on the provided SAPOData source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "CONTAINS"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
      • destinationField — (String)

        A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.

      • taskTyperequired — (String)

        Specifies the particular task implementation that Amazon AppFlow performs.

        Possible values include:
        • "Arithmetic"
        • "Filter"
        • "Map"
        • "Map_all"
        • "Mask"
        • "Merge"
        • "Truncate"
        • "Validate"
      • taskProperties — (map<String>)

        A map used to store task-related information. The execution service looks for particular information based on the TaskType.

    • tags — (map<String>)

      The tags used to organize, track, or control access for your flow.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • flowArn — (String)

        The flow's Amazon Resource Name (ARN).

      • flowStatus — (String)

        Indicates the current status of the flow.

        Possible values include:
        • "Active"
        • "Deprecated"
        • "Deleted"
        • "Draft"
        • "Errored"
        • "Suspended"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteConnectorProfile(params = {}, callback) ⇒ AWS.Request

Enables you to delete an existing connector profile.

Service Reference:

Examples:

Calling the deleteConnectorProfile operation

var params = {
  connectorProfileName: 'STRING_VALUE', /* required */
  forceDelete: true || false
};
appflow.deleteConnectorProfile(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • connectorProfileName — (String)

      The name of the connector profile. The name is unique for each ConnectorProfile in your account.

    • forceDelete — (Boolean)

      Indicates whether Amazon AppFlow should delete the profile, even if it is currently in use in one or more flows.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteFlow(params = {}, callback) ⇒ AWS.Request

Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can delete flows one at a time.

Service Reference:

Examples:

Calling the deleteFlow operation

var params = {
  flowName: 'STRING_VALUE', /* required */
  forceDelete: true || false
};
appflow.deleteFlow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • flowName — (String)

      The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

    • forceDelete — (Boolean)

      Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeConnectorEntity(params = {}, callback) ⇒ AWS.Request

Provides details regarding the entity used with the connector, with a description of the data model for each entity.

Service Reference:

Examples:

Calling the describeConnectorEntity operation

var params = {
  connectorEntityName: 'STRING_VALUE', /* required */
  connectorProfileName: 'STRING_VALUE',
  connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData
};
appflow.describeConnectorEntity(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • connectorEntityName — (String)

      The entity name for that connector.

    • connectorType — (String)

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

      Possible values include:
      • "Salesforce"
      • "Singular"
      • "Slack"
      • "Redshift"
      • "S3"
      • "Marketo"
      • "Googleanalytics"
      • "Zendesk"
      • "Servicenow"
      • "Datadog"
      • "Trendmicro"
      • "Snowflake"
      • "Dynatrace"
      • "Infornexus"
      • "Amplitude"
      • "Veeva"
      • "EventBridge"
      • "LookoutMetrics"
      • "Upsolver"
      • "Honeycode"
      • "CustomerProfiles"
      • "SAPOData"
    • connectorProfileName — (String)

      The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • connectorEntityFields — (Array<map>)

        Describes the fields for that connector entity. For example, for an account entity, the fields would be account name, account ID, and so on.

        • identifierrequired — (String)

          The unique identifier of the connector field.

        • label — (String)

          The label applied to a connector entity field.

        • supportedFieldTypeDetails — (map)

          Contains details regarding the supported FieldType, including the corresponding filterOperators and supportedValues.

          • v1required — (map)

            The initial supported version for fieldType. If this is later changed to a different version, v2 will be introduced.

            • fieldTyperequired — (String)

              The type of field, such as string, integer, date, and so on.

            • filterOperatorsrequired — (Array<String>)

              The list of operators supported by a field.

            • supportedValues — (Array<String>)

              The list of values that a field can contain. For example, a Boolean fieldType can have two values: "true" and "false".

        • description — (String)

          A description of the connector entity field.

        • sourceProperties — (map)

          The properties that can be applied to a field when the connector is being used as a source.

          • isRetrievable — (Boolean)

            Indicates whether the field can be returned in a search result.

          • isQueryable — (Boolean)

            Indicates if the field can be queried.

        • destinationProperties — (map)

          The properties applied to a field when the connector is being used as a destination.

          • isCreatable — (Boolean)

            Specifies if the destination field can be created by the current user.

          • isNullable — (Boolean)

            Specifies if the destination field can have a null value.

          • isUpsertable — (Boolean)

            Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.

          • isUpdatable — (Boolean)

            Specifies whether the field can be updated during an UPDATE or UPSERT write operation.

          • supportedWriteOperations — (Array<String>)

            A list of supported write operations. For each write operation listed, this field can be used in idFieldNames when that write operation is present as a destination option.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeConnectorProfiles(params = {}, callback) ⇒ AWS.Request

Returns a list of connector-profile details matching the provided connector-profile names and connector-types. Both input lists are optional, and you can use them to filter the result.

If no names or connector-types are provided, returns all connector profiles in a paginated form. If there is no match, this operation returns an empty list.

Service Reference:

Examples:

Calling the describeConnectorProfiles operation

var params = {
  connectorProfileNames: [
    'STRING_VALUE',
    /* more items */
  ],
  connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData,
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
appflow.describeConnectorProfiles(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • connectorProfileNames — (Array<String>)

      The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account.

    • connectorType — (String)

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

      Possible values include:
      • "Salesforce"
      • "Singular"
      • "Slack"
      • "Redshift"
      • "S3"
      • "Marketo"
      • "Googleanalytics"
      • "Zendesk"
      • "Servicenow"
      • "Datadog"
      • "Trendmicro"
      • "Snowflake"
      • "Dynatrace"
      • "Infornexus"
      • "Amplitude"
      • "Veeva"
      • "EventBridge"
      • "LookoutMetrics"
      • "Upsolver"
      • "Honeycode"
      • "CustomerProfiles"
      • "SAPOData"
    • maxResults — (Integer)

      Specifies the maximum number of items that should be returned in the result set. The default for maxResults is 20 (for all paginated API operations).

    • nextToken — (String)

      The pagination token for the next page of data.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • connectorProfileDetails — (Array<map>)

        Returns information about the connector profiles associated with the flow.

        • connectorProfileArn — (String)

          The Amazon Resource Name (ARN) of the connector profile.

        • connectorProfileName — (String)

          The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account.

        • connectorType — (String)

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

          Possible values include:
          • "Salesforce"
          • "Singular"
          • "Slack"
          • "Redshift"
          • "S3"
          • "Marketo"
          • "Googleanalytics"
          • "Zendesk"
          • "Servicenow"
          • "Datadog"
          • "Trendmicro"
          • "Snowflake"
          • "Dynatrace"
          • "Infornexus"
          • "Amplitude"
          • "Veeva"
          • "EventBridge"
          • "LookoutMetrics"
          • "Upsolver"
          • "Honeycode"
          • "CustomerProfiles"
          • "SAPOData"
        • connectionMode — (String)

          Indicates the connection mode and if it is public or private.

          Possible values include:
          • "Public"
          • "Private"
        • credentialsArn — (String)

          The Amazon Resource Name (ARN) of the connector profile credentials.

        • connectorProfileProperties — (map)

          The connector-specific properties of the profile configuration.

          • Amplitude — (map)

            The connector-specific properties required by Amplitude.

          • Datadog — (map)

            The connector-specific properties required by Datadog.

            • instanceUrlrequired — (String)

              The location of the Datadog resource.

          • Dynatrace — (map)

            The connector-specific properties required by Dynatrace.

            • instanceUrlrequired — (String)

              The location of the Dynatrace resource.

          • GoogleAnalytics — (map)

            The connector-specific properties required Google Analytics.

          • Honeycode — (map)

            The connector-specific properties required by Amazon Honeycode.

          • InforNexus — (map)

            The connector-specific properties required by Infor Nexus.

            • instanceUrlrequired — (String)

              The location of the Infor Nexus resource.

          • Marketo — (map)

            The connector-specific properties required by Marketo.

            • instanceUrlrequired — (String)

              The location of the Marketo resource.

          • Redshift — (map)

            The connector-specific properties required by Amazon Redshift.

            • databaseUrlrequired — (String)

              The JDBC URL of the Amazon Redshift cluster.

            • bucketNamerequired — (String)

              A name for the associated Amazon S3 bucket.

            • bucketPrefix — (String)

              The object key for the destination bucket in which Amazon AppFlow places the files.

            • roleArnrequired — (String)

              The Amazon Resource Name (ARN) of the IAM role.

          • Salesforce — (map)

            The connector-specific properties required by Salesforce.

            • instanceUrl — (String)

              The location of the Salesforce resource.

            • isSandboxEnvironment — (Boolean)

              Indicates whether the connector profile applies to a sandbox or production environment.

          • ServiceNow — (map)

            The connector-specific properties required by serviceNow.

            • instanceUrlrequired — (String)

              The location of the ServiceNow resource.

          • Singular — (map)

            The connector-specific properties required by Singular.

          • Slack — (map)

            The connector-specific properties required by Slack.

            • instanceUrlrequired — (String)

              The location of the Slack resource.

          • Snowflake — (map)

            The connector-specific properties required by Snowflake.

            • warehouserequired — (String)

              The name of the Snowflake warehouse.

            • stagerequired — (String)

              The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account. This is written in the following format: < Database>< Schema><Stage Name>.

            • bucketNamerequired — (String)

              The name of the Amazon S3 bucket associated with Snowflake.

            • bucketPrefix — (String)

              The bucket path that refers to the Amazon S3 bucket associated with Snowflake.

            • privateLinkServiceName — (String)

              The Snowflake Private Link service name to be used for private data transfers.

            • accountName — (String)

              The name of the account.

            • region — (String)

              The Amazon Web Services Region of the Snowflake account.

          • Trendmicro — (map)

            The connector-specific properties required by Trend Micro.

          • Veeva — (map)

            The connector-specific properties required by Veeva.

            • instanceUrlrequired — (String)

              The location of the Veeva resource.

          • Zendesk — (map)

            The connector-specific properties required by Zendesk.

            • instanceUrlrequired — (String)

              The location of the Zendesk resource.

          • SAPOData — (map)

            The connector-specific profile properties required when using SAPOData.

            • applicationHostUrlrequired — (String)

              The location of the SAPOData resource.

            • applicationServicePathrequired — (String)

              The application path to catalog service.

            • portNumberrequired — (Integer)

              The port number of the SAPOData instance.

            • clientNumberrequired — (String)

              The client number for the client creating the connection.

            • logonLanguage — (String)

              The logon language of SAPOData instance.

            • privateLinkServiceName — (String)

              The SAPOData Private Link service name to be used for private data transfers.

            • oAuthProperties — (map)

              The SAPOData OAuth properties required for OAuth type authentication.

              • tokenUrlrequired — (String)

                The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

              • authCodeUrlrequired — (String)

                The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

              • oAuthScopesrequired — (Array<String>)

                The OAuth scopes required for OAuth type authentication.

        • createdAt — (Date)

          Specifies when the connector profile was created.

        • lastUpdatedAt — (Date)

          Specifies when the connector profile was last updated.

        • privateConnectionProvisioningState — (map)

          Specifies the private connection provisioning state.

          • status — (String)

            Specifies the private connection provisioning status.

            Possible values include:
            • "FAILED"
            • "PENDING"
            • "CREATED"
          • failureMessage — (String)

            Specifies the private connection provisioning failure reason.

          • failureCause — (String)

            Specifies the private connection provisioning failure cause.

            Possible values include:
            • "CONNECTOR_AUTHENTICATION"
            • "CONNECTOR_SERVER"
            • "INTERNAL_SERVER"
            • "ACCESS_DENIED"
            • "VALIDATION"
      • nextToken — (String)

        The pagination token for the next page of data. If nextToken=null, this means that all records have been fetched.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeConnectors(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the describeConnectors operation

var params = {
  connectorTypes: [
    Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData,
    /* more items */
  ],
  nextToken: 'STRING_VALUE'
};
appflow.describeConnectors(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • connectorTypes — (Array<String>)

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

    • nextToken — (String)

      The pagination token for the next page of data.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • connectorConfigurations — (map<map>)

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

        • canUseAsSource — (Boolean)

          Specifies whether the connector can be used as a source.

        • canUseAsDestination — (Boolean)

          Specifies whether the connector can be used as a destination.

        • supportedDestinationConnectors — (Array<String>)

          Lists the connectors that are available for use as destinations.

        • supportedSchedulingFrequencies — (Array<String>)

          Specifies the supported flow frequency for that connector.

        • isPrivateLinkEnabled — (Boolean)

          Specifies if PrivateLink is enabled for that connector.

        • isPrivateLinkEndpointUrlRequired — (Boolean)

          Specifies if a PrivateLink endpoint URL is required.

        • supportedTriggerTypes — (Array<String>)

          Specifies the supported trigger types for the flow.

        • connectorMetadata — (map)

          Specifies connector-specific metadata such as oAuthScopes, supportedRegions, privateLinkServiceUrl, and so on.

          • Amplitude — (map)

            The connector metadata specific to Amplitude.

          • Datadog — (map)

            The connector metadata specific to Datadog.

          • Dynatrace — (map)

            The connector metadata specific to Dynatrace.

          • GoogleAnalytics — (map)

            The connector metadata specific to Google Analytics.

            • oAuthScopes — (Array<String>)

              The desired authorization scope for the Google Analytics account.

          • InforNexus — (map)

            The connector metadata specific to Infor Nexus.

          • Marketo — (map)

            The connector metadata specific to Marketo.

          • Redshift — (map)

            The connector metadata specific to Amazon Redshift.

          • S3 — (map)

            The connector metadata specific to Amazon S3.

          • Salesforce — (map)

            The connector metadata specific to Salesforce.

            • oAuthScopes — (Array<String>)

              The desired authorization scope for the Salesforce account.

          • ServiceNow — (map)

            The connector metadata specific to ServiceNow.

          • Singular — (map)

            The connector metadata specific to Singular.

          • Slack — (map)

            The connector metadata specific to Slack.

            • oAuthScopes — (Array<String>)

              The desired authorization scope for the Slack account.

          • Snowflake — (map)

            The connector metadata specific to Snowflake.

            • supportedRegions — (Array<String>)

              Specifies the supported Amazon Web Services Regions when using Snowflake.

          • Trendmicro — (map)

            The connector metadata specific to Trend Micro.

          • Veeva — (map)

            The connector metadata specific to Veeva.

          • Zendesk — (map)

            The connector metadata specific to Zendesk.

            • oAuthScopes — (Array<String>)

              The desired authorization scope for the Zendesk account.

          • EventBridge — (map)

            The connector metadata specific to Amazon EventBridge.

          • Upsolver — (map)

            The connector metadata specific to Upsolver.

          • CustomerProfiles — (map)

            The connector metadata specific to Amazon Connect Customer Profiles.

          • Honeycode — (map)

            The connector metadata specific to Amazon Honeycode.

            • oAuthScopes — (Array<String>)

              The desired authorization scope for the Amazon Honeycode account.

          • SAPOData — (map)

            The connector metadata specific to SAPOData.

      • nextToken — (String)

        The pagination token for the next page of data.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFlow(params = {}, callback) ⇒ AWS.Request

Provides a description of the specified flow.

Service Reference:

Examples:

Calling the describeFlow operation

var params = {
  flowName: 'STRING_VALUE' /* required */
};
appflow.describeFlow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • flowName — (String)

      The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • flowArn — (String)

        The flow's Amazon Resource Name (ARN).

      • description — (String)

        A description of the flow.

      • flowName — (String)

        The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

      • kmsArn — (String)

        The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

      • flowStatus — (String)

        Indicates the current status of the flow.

        Possible values include:
        • "Active"
        • "Deprecated"
        • "Deleted"
        • "Draft"
        • "Errored"
        • "Suspended"
      • flowStatusMessage — (String)

        Contains an error message if the flow status is in a suspended or error state. This applies only to scheduled or event-triggered flows.

      • sourceFlowConfig — (map)

        The configuration that controls how Amazon AppFlow retrieves data from the source connector.

        • connectorTyperequired — (String)

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

          Possible values include:
          • "Salesforce"
          • "Singular"
          • "Slack"
          • "Redshift"
          • "S3"
          • "Marketo"
          • "Googleanalytics"
          • "Zendesk"
          • "Servicenow"
          • "Datadog"
          • "Trendmicro"
          • "Snowflake"
          • "Dynatrace"
          • "Infornexus"
          • "Amplitude"
          • "Veeva"
          • "EventBridge"
          • "LookoutMetrics"
          • "Upsolver"
          • "Honeycode"
          • "CustomerProfiles"
          • "SAPOData"
        • connectorProfileName — (String)

          The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.

        • sourceConnectorPropertiesrequired — (map)

          Specifies the information that is required to query a particular source connector.

          • Amplitude — (map)

            Specifies the information that is required for querying Amplitude.

            • objectrequired — (String)

              The object specified in the Amplitude flow source.

          • Datadog — (map)

            Specifies the information that is required for querying Datadog.

            • objectrequired — (String)

              The object specified in the Datadog flow source.

          • Dynatrace — (map)

            Specifies the information that is required for querying Dynatrace.

            • objectrequired — (String)

              The object specified in the Dynatrace flow source.

          • GoogleAnalytics — (map)

            Specifies the information that is required for querying Google Analytics.

            • objectrequired — (String)

              The object specified in the Google Analytics flow source.

          • InforNexus — (map)

            Specifies the information that is required for querying Infor Nexus.

            • objectrequired — (String)

              The object specified in the Infor Nexus flow source.

          • Marketo — (map)

            Specifies the information that is required for querying Marketo.

            • objectrequired — (String)

              The object specified in the Marketo flow source.

          • S3 — (map)

            Specifies the information that is required for querying Amazon S3.

            • bucketNamerequired — (String)

              The Amazon S3 bucket name where the source files are stored.

            • bucketPrefix — (String)

              The object key for the Amazon S3 bucket in which the source files are stored.

            • s3InputFormatConfig — (map)

              When you use Amazon S3 as the source, the configuration format that you provide the flow input data.

              • s3InputFileType — (String)

                The file type that Amazon AppFlow gets from your Amazon S3 bucket.

                Possible values include:
                • "CSV"
                • "JSON"
          • Salesforce — (map)

            Specifies the information that is required for querying Salesforce.

            • objectrequired — (String)

              The object specified in the Salesforce flow source.

            • enableDynamicFieldUpdate — (Boolean)

              The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.

            • includeDeletedRecords — (Boolean)

              Indicates whether Amazon AppFlow includes deleted files in the flow run.

          • ServiceNow — (map)

            Specifies the information that is required for querying ServiceNow.

            • objectrequired — (String)

              The object specified in the ServiceNow flow source.

          • Singular — (map)

            Specifies the information that is required for querying Singular.

            • objectrequired — (String)

              The object specified in the Singular flow source.

          • Slack — (map)

            Specifies the information that is required for querying Slack.

            • objectrequired — (String)

              The object specified in the Slack flow source.

          • Trendmicro — (map)

            Specifies the information that is required for querying Trend Micro.

            • objectrequired — (String)

              The object specified in the Trend Micro flow source.

          • Veeva — (map)

            Specifies the information that is required for querying Veeva.

            • objectrequired — (String)

              The object specified in the Veeva flow source.

            • documentType — (String)

              The document type specified in the Veeva document extract flow.

            • includeSourceFiles — (Boolean)

              Boolean value to include source files in Veeva document extract flow.

            • includeRenditions — (Boolean)

              Boolean value to include file renditions in Veeva document extract flow.

            • includeAllVersions — (Boolean)

              Boolean value to include All Versions of files in Veeva document extract flow.

          • Zendesk — (map)

            Specifies the information that is required for querying Zendesk.

            • objectrequired — (String)

              The object specified in the Zendesk flow source.

          • SAPOData — (map)

            The properties that are applied when using SAPOData as a flow source.

            • objectPath — (String)

              The object path specified in the SAPOData flow source.

        • incrementalPullConfig — (map)

          Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.

          • datetimeTypeFieldName — (String)

            A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.

      • destinationFlowConfigList — (Array<map>)

        The configuration that controls how Amazon AppFlow transfers data to the destination connector.

        • connectorTyperequired — (String)

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

          Possible values include:
          • "Salesforce"
          • "Singular"
          • "Slack"
          • "Redshift"
          • "S3"
          • "Marketo"
          • "Googleanalytics"
          • "Zendesk"
          • "Servicenow"
          • "Datadog"
          • "Trendmicro"
          • "Snowflake"
          • "Dynatrace"
          • "Infornexus"
          • "Amplitude"
          • "Veeva"
          • "EventBridge"
          • "LookoutMetrics"
          • "Upsolver"
          • "Honeycode"
          • "CustomerProfiles"
          • "SAPOData"
        • connectorProfileName — (String)

          The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.

        • destinationConnectorPropertiesrequired — (map)

          This stores the information that is required to query a particular connector.

          • Redshift — (map)

            The properties required to query Amazon Redshift.

            • objectrequired — (String)

              The object specified in the Amazon Redshift flow destination.

            • intermediateBucketNamerequired — (String)

              The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.

            • bucketPrefix — (String)

              The object key for the bucket in which Amazon AppFlow places the destination files.

            • errorHandlingConfig — (map)

              The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

              • failOnFirstDestinationError — (Boolean)

                Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

              • bucketPrefix — (String)

                Specifies the Amazon S3 bucket prefix.

              • bucketName — (String)

                Specifies the name of the Amazon S3 bucket.

          • S3 — (map)

            The properties required to query Amazon S3.

            • bucketNamerequired — (String)

              The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

            • bucketPrefix — (String)

              The object key for the destination bucket in which Amazon AppFlow places the files.

            • s3OutputFormatConfig — (map)

              The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.

              • fileType — (String)

                Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.

                Possible values include:
                • "CSV"
                • "JSON"
                • "PARQUET"
              • prefixConfig — (map)

                Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.

                • prefixType — (String)

                  Determines the format of the prefix, and whether it applies to the file name, file path, or both.

                  Possible values include:
                  • "FILENAME"
                  • "PATH"
                  • "PATH_AND_FILENAME"
                • prefixFormat — (String)

                  Determines the level of granularity that's included in the prefix.

                  Possible values include:
                  • "YEAR"
                  • "MONTH"
                  • "DAY"
                  • "HOUR"
                  • "MINUTE"
              • aggregationConfig — (map)

                The aggregation settings that you can use to customize the output format of your flow data.

                • aggregationType — (String)

                  Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.

                  Possible values include:
                  • "None"
                  • "SingleFile"
          • Salesforce — (map)

            The properties required to query Salesforce.

            • objectrequired — (String)

              The object specified in the Salesforce flow destination.

            • idFieldNames — (Array<String>)

              The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.

            • errorHandlingConfig — (map)

              The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

              • failOnFirstDestinationError — (Boolean)

                Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

              • bucketPrefix — (String)

                Specifies the Amazon S3 bucket prefix.

              • bucketName — (String)

                Specifies the name of the Amazon S3 bucket.

            • writeOperationType — (String)

              This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.

              Possible values include:
              • "INSERT"
              • "UPSERT"
              • "UPDATE"
          • Snowflake — (map)

            The properties required to query Snowflake.

            • objectrequired — (String)

              The object specified in the Snowflake flow destination.

            • intermediateBucketNamerequired — (String)

              The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.

            • bucketPrefix — (String)

              The object key for the destination bucket in which Amazon AppFlow places the files.

            • errorHandlingConfig — (map)

              The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

              • failOnFirstDestinationError — (Boolean)

                Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

              • bucketPrefix — (String)

                Specifies the Amazon S3 bucket prefix.

              • bucketName — (String)

                Specifies the name of the Amazon S3 bucket.

          • EventBridge — (map)

            The properties required to query Amazon EventBridge.

            • objectrequired — (String)

              The object specified in the Amazon EventBridge flow destination.

            • errorHandlingConfig — (map)

              The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

              • failOnFirstDestinationError — (Boolean)

                Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

              • bucketPrefix — (String)

                Specifies the Amazon S3 bucket prefix.

              • bucketName — (String)

                Specifies the name of the Amazon S3 bucket.

          • LookoutMetrics — (map)

            The properties required to query Amazon Lookout for Metrics.

          • Upsolver — (map)

            The properties required to query Upsolver.

            • bucketNamerequired — (String)

              The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

            • bucketPrefix — (String)

              The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.

            • s3OutputFormatConfigrequired — (map)

              The configuration that determines how data is formatted when Upsolver is used as the flow destination.

              • fileType — (String)

                Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.

                Possible values include:
                • "CSV"
                • "JSON"
                • "PARQUET"
              • prefixConfigrequired — (map)

                Determines the prefix that Amazon AppFlow applies to the destination folder name. You can name your destination folders according to the flow frequency and date.

                • prefixType — (String)

                  Determines the format of the prefix, and whether it applies to the file name, file path, or both.

                  Possible values include:
                  • "FILENAME"
                  • "PATH"
                  • "PATH_AND_FILENAME"
                • prefixFormat — (String)

                  Determines the level of granularity that's included in the prefix.

                  Possible values include:
                  • "YEAR"
                  • "MONTH"
                  • "DAY"
                  • "HOUR"
                  • "MINUTE"
              • aggregationConfig — (map)

                The aggregation settings that you can use to customize the output format of your flow data.

                • aggregationType — (String)

                  Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.

                  Possible values include:
                  • "None"
                  • "SingleFile"
          • Honeycode — (map)

            The properties required to query Amazon Honeycode.

            • objectrequired — (String)

              The object specified in the Amazon Honeycode flow destination.

            • errorHandlingConfig — (map)

              The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

              • failOnFirstDestinationError — (Boolean)

                Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

              • bucketPrefix — (String)

                Specifies the Amazon S3 bucket prefix.

              • bucketName — (String)

                Specifies the name of the Amazon S3 bucket.

          • CustomerProfiles — (map)

            The properties required to query Amazon Connect Customer Profiles.

            • domainNamerequired — (String)

              The unique name of the Amazon Connect Customer Profiles domain.

            • objectTypeName — (String)

              The object specified in the Amazon Connect Customer Profiles flow destination.

          • Zendesk — (map)

            The properties required to query Zendesk.

            • objectrequired — (String)

              The object specified in the Zendesk flow destination.

            • idFieldNames — (Array<String>)

              A list of field names that can be used as an ID field when performing a write operation.

            • errorHandlingConfig — (map)

              The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

              • failOnFirstDestinationError — (Boolean)

                Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

              • bucketPrefix — (String)

                Specifies the Amazon S3 bucket prefix.

              • bucketName — (String)

                Specifies the name of the Amazon S3 bucket.

            • writeOperationType — (String)

              The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT operation.

              Possible values include:
              • "INSERT"
              • "UPSERT"
              • "UPDATE"
      • lastRunExecutionDetails — (map)

        Describes the details of the most recent flow run.

        • mostRecentExecutionMessage — (String)

          Describes the details of the most recent flow run.

        • mostRecentExecutionTime — (Date)

          Specifies the time of the most recent flow run.

        • mostRecentExecutionStatus — (String)

          Specifies the status of the most recent flow run.

          Possible values include:
          • "InProgress"
          • "Successful"
          • "Error"
      • triggerConfig — (map)

        The trigger settings that determine how and when the flow runs.

        • triggerTyperequired — (String)

          Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

          Possible values include:
          • "Scheduled"
          • "Event"
          • "OnDemand"
        • triggerProperties — (map)

          Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.

          • Scheduled — (map)

            Specifies the configuration details of a schedule-triggered flow as defined by the user.

            • scheduleExpressionrequired — (String)

              The scheduling expression that determines the rate at which the schedule will run, for example rate(5minutes).

            • dataPullMode — (String)

              Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.

              Possible values include:
              • "Incremental"
              • "Complete"
            • scheduleStartTime — (Date)

              Specifies the scheduled start time for a schedule-triggered flow.

            • scheduleEndTime — (Date)

              Specifies the scheduled end time for a schedule-triggered flow.

            • timezone — (String)

              Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.

            • scheduleOffset — (Integer)

              Specifies the optional offset that is added to the time interval for a schedule-triggered flow.

            • firstExecutionFrom — (Date)

              Specifies the date range for the records to import from the connector in the first flow run.

      • tasks — (Array<map>)

        A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.

        • sourceFieldsrequired — (Array<String>)

          The source fields to which a particular task is applied.

        • connectorOperator — (map)

          The operation to be performed on the provided source fields.

          • Amplitude — (String)

            The operation to be performed on the provided Amplitude source fields.

            Possible values include:
            • "BETWEEN"
          • Datadog — (String)

            The operation to be performed on the provided Datadog source fields.

            Possible values include:
            • "PROJECTION"
            • "BETWEEN"
            • "EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Dynatrace — (String)

            The operation to be performed on the provided Dynatrace source fields.

            Possible values include:
            • "PROJECTION"
            • "BETWEEN"
            • "EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • GoogleAnalytics — (String)

            The operation to be performed on the provided Google Analytics source fields.

            Possible values include:
            • "PROJECTION"
            • "BETWEEN"
          • InforNexus — (String)

            The operation to be performed on the provided Infor Nexus source fields.

            Possible values include:
            • "PROJECTION"
            • "BETWEEN"
            • "EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Marketo — (String)

            The operation to be performed on the provided Marketo source fields.

            Possible values include:
            • "PROJECTION"
            • "LESS_THAN"
            • "GREATER_THAN"
            • "BETWEEN"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • S3 — (String)

            The operation to be performed on the provided Amazon S3 source fields.

            Possible values include:
            • "PROJECTION"
            • "LESS_THAN"
            • "GREATER_THAN"
            • "BETWEEN"
            • "LESS_THAN_OR_EQUAL_TO"
            • "GREATER_THAN_OR_EQUAL_TO"
            • "EQUAL_TO"
            • "NOT_EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Salesforce — (String)

            The operation to be performed on the provided Salesforce source fields.

            Possible values include:
            • "PROJECTION"
            • "LESS_THAN"
            • "CONTAINS"
            • "GREATER_THAN"
            • "BETWEEN"
            • "LESS_THAN_OR_EQUAL_TO"
            • "GREATER_THAN_OR_EQUAL_TO"
            • "EQUAL_TO"
            • "NOT_EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • ServiceNow — (String)

            The operation to be performed on the provided ServiceNow source fields.

            Possible values include:
            • "PROJECTION"
            • "CONTAINS"
            • "LESS_THAN"
            • "GREATER_THAN"
            • "BETWEEN"
            • "LESS_THAN_OR_EQUAL_TO"
            • "GREATER_THAN_OR_EQUAL_TO"
            • "EQUAL_TO"
            • "NOT_EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Singular — (String)

            The operation to be performed on the provided Singular source fields.

            Possible values include:
            • "PROJECTION"
            • "EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Slack — (String)

            The operation to be performed on the provided Slack source fields.

            Possible values include:
            • "PROJECTION"
            • "LESS_THAN"
            • "GREATER_THAN"
            • "BETWEEN"
            • "LESS_THAN_OR_EQUAL_TO"
            • "GREATER_THAN_OR_EQUAL_TO"
            • "EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Trendmicro — (String)

            The operation to be performed on the provided Trend Micro source fields.

            Possible values include:
            • "PROJECTION"
            • "EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Veeva — (String)

            The operation to be performed on the provided Veeva source fields.

            Possible values include:
            • "PROJECTION"
            • "LESS_THAN"
            • "GREATER_THAN"
            • "CONTAINS"
            • "BETWEEN"
            • "LESS_THAN_OR_EQUAL_TO"
            • "GREATER_THAN_OR_EQUAL_TO"
            • "EQUAL_TO"
            • "NOT_EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • Zendesk — (String)

            The operation to be performed on the provided Zendesk source fields.

            Possible values include:
            • "PROJECTION"
            • "GREATER_THAN"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
          • SAPOData — (String)

            The operation to be performed on the provided SAPOData source fields.

            Possible values include:
            • "PROJECTION"
            • "LESS_THAN"
            • "CONTAINS"
            • "GREATER_THAN"
            • "BETWEEN"
            • "LESS_THAN_OR_EQUAL_TO"
            • "GREATER_THAN_OR_EQUAL_TO"
            • "EQUAL_TO"
            • "NOT_EQUAL_TO"
            • "ADDITION"
            • "MULTIPLICATION"
            • "DIVISION"
            • "SUBTRACTION"
            • "MASK_ALL"
            • "MASK_FIRST_N"
            • "MASK_LAST_N"
            • "VALIDATE_NON_NULL"
            • "VALIDATE_NON_ZERO"
            • "VALIDATE_NON_NEGATIVE"
            • "VALIDATE_NUMERIC"
            • "NO_OP"
        • destinationField — (String)

          A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.

        • taskTyperequired — (String)

          Specifies the particular task implementation that Amazon AppFlow performs.

          Possible values include:
          • "Arithmetic"
          • "Filter"
          • "Map"
          • "Map_all"
          • "Mask"
          • "Merge"
          • "Truncate"
          • "Validate"
        • taskProperties — (map<String>)

          A map used to store task-related information. The execution service looks for particular information based on the TaskType.

      • createdAt — (Date)

        Specifies when the flow was created.

      • lastUpdatedAt — (Date)

        Specifies when the flow was last updated.

      • createdBy — (String)

        The ARN of the user who created the flow.

      • lastUpdatedBy — (String)

        Specifies the user name of the account that performed the most recent update.

      • tags — (map<String>)

        The tags used to organize, track, or control access for your flow.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFlowExecutionRecords(params = {}, callback) ⇒ AWS.Request

Fetches the execution history of the flow.

Service Reference:

Examples:

Calling the describeFlowExecutionRecords operation

var params = {
  flowName: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
appflow.describeFlowExecutionRecords(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • flowName — (String)

      The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

    • maxResults — (Integer)

      Specifies the maximum number of items that should be returned in the result set. The default for maxResults is 20 (for all paginated API operations).

    • nextToken — (String)

      The pagination token for the next page of data.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • flowExecutions — (Array<map>)

        Returns a list of all instances when this flow was run.

        • executionId — (String)

          Specifies the identifier of the given flow run.

        • executionStatus — (String)

          Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.

          Possible values include:
          • "InProgress"
          • "Successful"
          • "Error"
        • executionResult — (map)

          Describes the result of the given flow run.

          • errorInfo — (map)

            Provides any error message information related to the flow run.

            • putFailuresCount — (Integer)

              Specifies the failure count for the attempted flow.

            • executionMessage — (String)

              Specifies the error message that appears if a flow fails.

          • bytesProcessed — (Integer)

            The total number of bytes processed by the flow run.

          • bytesWritten — (Integer)

            The total number of bytes written as a result of the flow run.

          • recordsProcessed — (Integer)

            The number of records processed in the flow run.

        • startedAt — (Date)

          Specifies the start time of the flow run.

        • lastUpdatedAt — (Date)

          Specifies the time of the most recent update.

        • dataPullStartTime — (Date)

          The timestamp that determines the first new or updated record to be transferred in the flow run.

        • dataPullEndTime — (Date)

          The timestamp that indicates the last new or updated record to be transferred in the flow run.

      • nextToken — (String)

        The pagination token for the next page of data.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listConnectorEntities(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the listConnectorEntities operation

var params = {
  connectorProfileName: 'STRING_VALUE',
  connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData,
  entitiesPath: 'STRING_VALUE'
};
appflow.listConnectorEntities(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • connectorProfileName — (String)

      The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account, and is used to query the downstream connector.

    • connectorType — (String)

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

      Possible values include:
      • "Salesforce"
      • "Singular"
      • "Slack"
      • "Redshift"
      • "S3"
      • "Marketo"
      • "Googleanalytics"
      • "Zendesk"
      • "Servicenow"
      • "Datadog"
      • "Trendmicro"
      • "Snowflake"
      • "Dynatrace"
      • "Infornexus"
      • "Amplitude"
      • "Veeva"
      • "EventBridge"
      • "LookoutMetrics"
      • "Upsolver"
      • "Honeycode"
      • "CustomerProfiles"
      • "SAPOData"
    • entitiesPath — (String)

      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 entitiesPath parameter. 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • connectorEntityMap — (map<Array<map>>)

        The response of ListConnectorEntities lists entities grouped by category. This map's key represents the group name, and its value contains the list of entities belonging to that group.

        • namerequired — (String)

          The name of the connector entity.

        • label — (String)

          The label applied to the connector entity.

        • hasNestedEntities — (Boolean)

          Specifies whether the connector entity is a parent or a category and has more entities nested underneath it. If another call is made with entitiesPath = "the_current_entity_name_with_hasNestedEntities_true", then it returns the nested entities underneath it. This provides a way to retrieve all supported entities in a recursive fashion.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listFlows(params = {}, callback) ⇒ AWS.Request

Lists all of the flows associated with your account.

Service Reference:

Examples:

Calling the listFlows operation

var params = {
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
appflow.listFlows(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • maxResults — (Integer)

      Specifies the maximum number of items that should be returned in the result set.

    • nextToken — (String)

      The pagination token for next page of data.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • flows — (Array<map>)

        The list of flows associated with your account.

        • flowArn — (String)

          The flow's Amazon Resource Name (ARN).

        • description — (String)

          A user-entered description of the flow.

        • flowName — (String)

          The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

        • flowStatus — (String)

          Indicates the current status of the flow.

          Possible values include:
          • "Active"
          • "Deprecated"
          • "Deleted"
          • "Draft"
          • "Errored"
          • "Suspended"
        • sourceConnectorType — (String)

          Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.

          Possible values include:
          • "Salesforce"
          • "Singular"
          • "Slack"
          • "Redshift"
          • "S3"
          • "Marketo"
          • "Googleanalytics"
          • "Zendesk"
          • "Servicenow"
          • "Datadog"
          • "Trendmicro"
          • "Snowflake"
          • "Dynatrace"
          • "Infornexus"
          • "Amplitude"
          • "Veeva"
          • "EventBridge"
          • "LookoutMetrics"
          • "Upsolver"
          • "Honeycode"
          • "CustomerProfiles"
          • "SAPOData"
        • destinationConnectorType — (String)

          Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.

          Possible values include:
          • "Salesforce"
          • "Singular"
          • "Slack"
          • "Redshift"
          • "S3"
          • "Marketo"
          • "Googleanalytics"
          • "Zendesk"
          • "Servicenow"
          • "Datadog"
          • "Trendmicro"
          • "Snowflake"
          • "Dynatrace"
          • "Infornexus"
          • "Amplitude"
          • "Veeva"
          • "EventBridge"
          • "LookoutMetrics"
          • "Upsolver"
          • "Honeycode"
          • "CustomerProfiles"
          • "SAPOData"
        • triggerType — (String)

          Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

          Possible values include:
          • "Scheduled"
          • "Event"
          • "OnDemand"
        • createdAt — (Date)

          Specifies when the flow was created.

        • lastUpdatedAt — (Date)

          Specifies when the flow was last updated.

        • createdBy — (String)

          The ARN of the user who created the flow.

        • lastUpdatedBy — (String)

          Specifies the account user name that most recently updated the flow.

        • tags — (map<String>)

          The tags used to organize, track, or control access for your flow.

        • lastRunExecutionDetails — (map)

          Describes the details of the most recent flow run.

          • mostRecentExecutionMessage — (String)

            Describes the details of the most recent flow run.

          • mostRecentExecutionTime — (Date)

            Specifies the time of the most recent flow run.

          • mostRecentExecutionStatus — (String)

            Specifies the status of the most recent flow run.

            Possible values include:
            • "InProgress"
            • "Successful"
            • "Error"
      • nextToken — (String)

        The pagination token for next page of data.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

Retrieves the tags that are associated with a specified flow.

Service Reference:

Examples:

Calling the listTagsForResource operation

var params = {
  resourceArn: 'STRING_VALUE' /* required */
};
appflow.listTagsForResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The Amazon Resource Name (ARN) of the specified flow.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • tags — (map<String>)

        The tags used to organize, track, or control access for your flow.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startFlow(params = {}, callback) ⇒ AWS.Request

Activates an existing flow. For on-demand flows, this operation runs the flow immediately. For schedule and event-triggered flows, this operation activates the flow.

Service Reference:

Examples:

Calling the startFlow operation

var params = {
  flowName: 'STRING_VALUE' /* required */
};
appflow.startFlow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • flowName — (String)

      The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • flowArn — (String)

        The flow's Amazon Resource Name (ARN).

      • flowStatus — (String)

        Indicates the current status of the flow.

        Possible values include:
        • "Active"
        • "Deprecated"
        • "Deleted"
        • "Draft"
        • "Errored"
        • "Suspended"
      • executionId — (String)

        Returns the internal execution ID of an on-demand flow when the flow is started. For scheduled or event-triggered flows, this value is null.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

stopFlow(params = {}, callback) ⇒ AWS.Request

Deactivates the existing flow. For on-demand flows, this operation returns an unsupportedOperationException error message. For schedule and event-triggered flows, this operation deactivates the flow.

Service Reference:

Examples:

Calling the stopFlow operation

var params = {
  flowName: 'STRING_VALUE' /* required */
};
appflow.stopFlow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • flowName — (String)

      The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • flowArn — (String)

        The flow's Amazon Resource Name (ARN).

      • flowStatus — (String)

        Indicates the current status of the flow.

        Possible values include:
        • "Active"
        • "Deprecated"
        • "Deleted"
        • "Draft"
        • "Errored"
        • "Suspended"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

tagResource(params = {}, callback) ⇒ AWS.Request

Applies a tag to the specified flow.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tags: { /* required */
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
appflow.tagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The Amazon Resource Name (ARN) of the flow that you want to tag.

    • tags — (map<String>)

      The tags used to organize, track, or control access for your flow.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

untagResource(params = {}, callback) ⇒ AWS.Request

Removes a tag from the specified flow.

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
appflow.untagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The Amazon Resource Name (ARN) of the flow that you want to untag.

    • tagKeys — (Array<String>)

      The tag keys associated with the tag that you want to remove from your flow.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateConnectorProfile(params = {}, callback) ⇒ AWS.Request

Updates a given connector profile associated with your account.

Service Reference:

Examples:

Calling the updateConnectorProfile operation

var params = {
  connectionMode: Public | Private, /* required */
  connectorProfileConfig: { /* required */
    connectorProfileCredentials: { /* required */
      Amplitude: {
        apiKey: 'STRING_VALUE', /* required */
        secretKey: 'STRING_VALUE' /* required */
      },
      Datadog: {
        apiKey: 'STRING_VALUE', /* required */
        applicationKey: 'STRING_VALUE' /* required */
      },
      Dynatrace: {
        apiToken: 'STRING_VALUE' /* required */
      },
      GoogleAnalytics: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        },
        refreshToken: 'STRING_VALUE'
      },
      Honeycode: {
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        },
        refreshToken: 'STRING_VALUE'
      },
      InforNexus: {
        accessKeyId: 'STRING_VALUE', /* required */
        datakey: 'STRING_VALUE', /* required */
        secretAccessKey: 'STRING_VALUE', /* required */
        userId: 'STRING_VALUE' /* required */
      },
      Marketo: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        }
      },
      Redshift: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      SAPOData: {
        basicAuthCredentials: {
          password: 'STRING_VALUE', /* required */
          username: 'STRING_VALUE' /* required */
        },
        oAuthCredentials: {
          clientId: 'STRING_VALUE', /* required */
          clientSecret: 'STRING_VALUE', /* required */
          accessToken: 'STRING_VALUE',
          oAuthRequest: {
            authCode: 'STRING_VALUE',
            redirectUri: 'STRING_VALUE'
          },
          refreshToken: 'STRING_VALUE'
        }
      },
      Salesforce: {
        accessToken: 'STRING_VALUE',
        clientCredentialsArn: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        },
        refreshToken: 'STRING_VALUE'
      },
      ServiceNow: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      Singular: {
        apiKey: 'STRING_VALUE' /* required */
      },
      Slack: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        }
      },
      Snowflake: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      Trendmicro: {
        apiSecretKey: 'STRING_VALUE' /* required */
      },
      Veeva: {
        password: 'STRING_VALUE', /* required */
        username: 'STRING_VALUE' /* required */
      },
      Zendesk: {
        clientId: 'STRING_VALUE', /* required */
        clientSecret: 'STRING_VALUE', /* required */
        accessToken: 'STRING_VALUE',
        oAuthRequest: {
          authCode: 'STRING_VALUE',
          redirectUri: 'STRING_VALUE'
        }
      }
    },
    connectorProfileProperties: { /* required */
      Amplitude: {
      },
      Datadog: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Dynatrace: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      GoogleAnalytics: {
      },
      Honeycode: {
      },
      InforNexus: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Marketo: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Redshift: {
        bucketName: 'STRING_VALUE', /* required */
        databaseUrl: 'STRING_VALUE', /* required */
        roleArn: 'STRING_VALUE', /* required */
        bucketPrefix: 'STRING_VALUE'
      },
      SAPOData: {
        applicationHostUrl: 'STRING_VALUE', /* required */
        applicationServicePath: 'STRING_VALUE', /* required */
        clientNumber: 'STRING_VALUE', /* required */
        portNumber: 'NUMBER_VALUE', /* required */
        logonLanguage: 'STRING_VALUE',
        oAuthProperties: {
          authCodeUrl: 'STRING_VALUE', /* required */
          oAuthScopes: [ /* required */
            'STRING_VALUE',
            /* more items */
          ],
          tokenUrl: 'STRING_VALUE' /* required */
        },
        privateLinkServiceName: 'STRING_VALUE'
      },
      Salesforce: {
        instanceUrl: 'STRING_VALUE',
        isSandboxEnvironment: true || false
      },
      ServiceNow: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Singular: {
      },
      Slack: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Snowflake: {
        bucketName: 'STRING_VALUE', /* required */
        stage: 'STRING_VALUE', /* required */
        warehouse: 'STRING_VALUE', /* required */
        accountName: 'STRING_VALUE',
        bucketPrefix: 'STRING_VALUE',
        privateLinkServiceName: 'STRING_VALUE',
        region: 'STRING_VALUE'
      },
      Trendmicro: {
      },
      Veeva: {
        instanceUrl: 'STRING_VALUE' /* required */
      },
      Zendesk: {
        instanceUrl: 'STRING_VALUE' /* required */
      }
    }
  },
  connectorProfileName: 'STRING_VALUE' /* required */
};
appflow.updateConnectorProfile(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • connectorProfileName — (String)

      The name of the connector profile and is unique for each ConnectorProfile in the Amazon Web Services account.

    • connectionMode — (String)

      Indicates the connection mode and if it is public or private.

      Possible values include:
      • "Public"
      • "Private"
    • connectorProfileConfig — (map)

      Defines the connector-specific profile configuration and credentials.

      • connectorProfilePropertiesrequired — (map)

        The connector-specific properties of the profile configuration.

        • Amplitude — (map)

          The connector-specific properties required by Amplitude.

        • Datadog — (map)

          The connector-specific properties required by Datadog.

          • instanceUrlrequired — (String)

            The location of the Datadog resource.

        • Dynatrace — (map)

          The connector-specific properties required by Dynatrace.

          • instanceUrlrequired — (String)

            The location of the Dynatrace resource.

        • GoogleAnalytics — (map)

          The connector-specific properties required Google Analytics.

        • Honeycode — (map)

          The connector-specific properties required by Amazon Honeycode.

        • InforNexus — (map)

          The connector-specific properties required by Infor Nexus.

          • instanceUrlrequired — (String)

            The location of the Infor Nexus resource.

        • Marketo — (map)

          The connector-specific properties required by Marketo.

          • instanceUrlrequired — (String)

            The location of the Marketo resource.

        • Redshift — (map)

          The connector-specific properties required by Amazon Redshift.

          • databaseUrlrequired — (String)

            The JDBC URL of the Amazon Redshift cluster.

          • bucketNamerequired — (String)

            A name for the associated Amazon S3 bucket.

          • bucketPrefix — (String)

            The object key for the destination bucket in which Amazon AppFlow places the files.

          • roleArnrequired — (String)

            The Amazon Resource Name (ARN) of the IAM role.

        • Salesforce — (map)

          The connector-specific properties required by Salesforce.

          • instanceUrl — (String)

            The location of the Salesforce resource.

          • isSandboxEnvironment — (Boolean)

            Indicates whether the connector profile applies to a sandbox or production environment.

        • ServiceNow — (map)

          The connector-specific properties required by serviceNow.

          • instanceUrlrequired — (String)

            The location of the ServiceNow resource.

        • Singular — (map)

          The connector-specific properties required by Singular.

        • Slack — (map)

          The connector-specific properties required by Slack.

          • instanceUrlrequired — (String)

            The location of the Slack resource.

        • Snowflake — (map)

          The connector-specific properties required by Snowflake.

          • warehouserequired — (String)

            The name of the Snowflake warehouse.

          • stagerequired — (String)

            The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account. This is written in the following format: < Database>< Schema><Stage Name>.

          • bucketNamerequired — (String)

            The name of the Amazon S3 bucket associated with Snowflake.

          • bucketPrefix — (String)

            The bucket path that refers to the Amazon S3 bucket associated with Snowflake.

          • privateLinkServiceName — (String)

            The Snowflake Private Link service name to be used for private data transfers.

          • accountName — (String)

            The name of the account.

          • region — (String)

            The Amazon Web Services Region of the Snowflake account.

        • Trendmicro — (map)

          The connector-specific properties required by Trend Micro.

        • Veeva — (map)

          The connector-specific properties required by Veeva.

          • instanceUrlrequired — (String)

            The location of the Veeva resource.

        • Zendesk — (map)

          The connector-specific properties required by Zendesk.

          • instanceUrlrequired — (String)

            The location of the Zendesk resource.

        • SAPOData — (map)

          The connector-specific profile properties required when using SAPOData.

          • applicationHostUrlrequired — (String)

            The location of the SAPOData resource.

          • applicationServicePathrequired — (String)

            The application path to catalog service.

          • portNumberrequired — (Integer)

            The port number of the SAPOData instance.

          • clientNumberrequired — (String)

            The client number for the client creating the connection.

          • logonLanguage — (String)

            The logon language of SAPOData instance.

          • privateLinkServiceName — (String)

            The SAPOData Private Link service name to be used for private data transfers.

          • oAuthProperties — (map)

            The SAPOData OAuth properties required for OAuth type authentication.

            • tokenUrlrequired — (String)

              The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

            • authCodeUrlrequired — (String)

              The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

            • oAuthScopesrequired — (Array<String>)

              The OAuth scopes required for OAuth type authentication.

      • connectorProfileCredentialsrequired — (map)

        The connector-specific credentials required by each connector.

        • Amplitude — (map)

          The connector-specific credentials required when using Amplitude.

          • apiKeyrequired — (String)

            A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.

          • secretKeyrequired — (String)

            The Secret Access Key portion of the credentials.

        • Datadog — (map)

          The connector-specific credentials required when using Datadog.

          • apiKeyrequired — (String)

            A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.

          • applicationKeyrequired — (String)

            Application keys, in conjunction with your API key, give you full access to Datadog’s programmatic API. Application keys are associated with the user account that created them. The application key is used to log all requests made to the API.

        • Dynatrace — (map)

          The connector-specific credentials required when using Dynatrace.

          • apiTokenrequired — (String)

            The API tokens used by Dynatrace API to authenticate various API calls.

        • GoogleAnalytics — (map)

          The connector-specific credentials required when using Google Analytics.

          • clientIdrequired — (String)

            The identifier for the desired client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Google Analytics resources.

          • refreshToken — (String)

            The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • Honeycode — (map)

          The connector-specific credentials required when using Amazon Honeycode.

          • accessToken — (String)

            The credentials used to access protected Amazon Honeycode resources.

          • refreshToken — (String)

            The credentials used to acquire new access tokens.

          • oAuthRequest — (map)

            Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • InforNexus — (map)

          The connector-specific credentials required when using Infor Nexus.

          • accessKeyIdrequired — (String)

            The Access Key portion of the credentials.

          • userIdrequired — (String)

            The identifier for the user.

          • secretAccessKeyrequired — (String)

            The secret key used to sign requests.

          • datakeyrequired — (String)

            The encryption keys used to encrypt data.

        • Marketo — (map)

          The connector-specific credentials required when using Marketo.

          • clientIdrequired — (String)

            The identifier for the desired client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Marketo resources.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • Redshift — (map)

          The connector-specific credentials required when using Amazon Redshift.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Salesforce — (map)

          The connector-specific credentials required when using Salesforce.

          • accessToken — (String)

            The credentials used to access protected Salesforce resources.

          • refreshToken — (String)

            The credentials used to acquire new access tokens.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

          • clientCredentialsArn — (String)

            The secret manager ARN, which contains the client ID and client secret of the connected app.

        • ServiceNow — (map)

          The connector-specific credentials required when using ServiceNow.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Singular — (map)

          The connector-specific credentials required when using Singular.

          • apiKeyrequired — (String)

            A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.

        • Slack — (map)

          The connector-specific credentials required when using Slack.

          • clientIdrequired — (String)

            The identifier for the client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Slack resources.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • Snowflake — (map)

          The connector-specific credentials required when using Snowflake.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Trendmicro — (map)

          The connector-specific credentials required when using Trend Micro.

          • apiSecretKeyrequired — (String)

            The Secret Access Key portion of the credentials.

        • Veeva — (map)

          The connector-specific credentials required when using Veeva.

          • usernamerequired — (String)

            The name of the user.

          • passwordrequired — (String)

            The password that corresponds to the user name.

        • Zendesk — (map)

          The connector-specific credentials required when using Zendesk.

          • clientIdrequired — (String)

            The identifier for the desired client.

          • clientSecretrequired — (String)

            The client secret used by the OAuth client to authenticate to the authorization server.

          • accessToken — (String)

            The credentials used to access protected Zendesk resources.

          • oAuthRequest — (map)

            The OAuth requirement needed to request security tokens from the connector endpoint.

            • authCode — (String)

              The code provided by the connector when it has been authenticated via the connected app.

            • redirectUri — (String)

              The URL to which the authentication server redirects the browser after authorization has been granted.

        • SAPOData — (map)

          The connector-specific profile credentials required when using SAPOData.

          • basicAuthCredentials — (map)

            The SAPOData basic authentication credentials.

            • usernamerequired — (String)

              The username to use to connect to a resource.

            • passwordrequired — (String)

              The password to use to connect to a resource.

          • oAuthCredentials — (map)

            The SAPOData OAuth type authentication credentials.

            • clientIdrequired — (String)

              The identifier for the desired client.

            • clientSecretrequired — (String)

              The client secret used by the OAuth client to authenticate to the authorization server.

            • accessToken — (String)

              The access token used to access protected SAPOData resources.

            • refreshToken — (String)

              The refresh token used to refresh expired access token.

            • oAuthRequest — (map)

              The OAuth requirement needed to request security tokens from the connector endpoint.

              • authCode — (String)

                The code provided by the connector when it has been authenticated via the connected app.

              • redirectUri — (String)

                The URL to which the authentication server redirects the browser after authorization has been granted.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • connectorProfileArn — (String)

        The Amazon Resource Name (ARN) of the connector profile.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateFlow(params = {}, callback) ⇒ AWS.Request

Updates an existing flow.

Service Reference:

Examples:

Calling the updateFlow operation

var params = {
  destinationFlowConfigList: [ /* required */
    {
      connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData, /* required */
      destinationConnectorProperties: { /* required */
        CustomerProfiles: {
          domainName: 'STRING_VALUE', /* required */
          objectTypeName: 'STRING_VALUE'
        },
        EventBridge: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        Honeycode: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        LookoutMetrics: {
        },
        Redshift: {
          intermediateBucketName: 'STRING_VALUE', /* required */
          object: 'STRING_VALUE', /* required */
          bucketPrefix: 'STRING_VALUE',
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        S3: {
          bucketName: 'STRING_VALUE', /* required */
          bucketPrefix: 'STRING_VALUE',
          s3OutputFormatConfig: {
            aggregationConfig: {
              aggregationType: None | SingleFile
            },
            fileType: CSV | JSON | PARQUET,
            prefixConfig: {
              prefixFormat: YEAR | MONTH | DAY | HOUR | MINUTE,
              prefixType: FILENAME | PATH | PATH_AND_FILENAME
            }
          }
        },
        Salesforce: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          },
          idFieldNames: [
            'STRING_VALUE',
            /* more items */
          ],
          writeOperationType: INSERT | UPSERT | UPDATE
        },
        Snowflake: {
          intermediateBucketName: 'STRING_VALUE', /* required */
          object: 'STRING_VALUE', /* required */
          bucketPrefix: 'STRING_VALUE',
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          }
        },
        Upsolver: {
          bucketName: 'STRING_VALUE', /* required */
          s3OutputFormatConfig: { /* required */
            prefixConfig: { /* required */
              prefixFormat: YEAR | MONTH | DAY | HOUR | MINUTE,
              prefixType: FILENAME | PATH | PATH_AND_FILENAME
            },
            aggregationConfig: {
              aggregationType: None | SingleFile
            },
            fileType: CSV | JSON | PARQUET
          },
          bucketPrefix: 'STRING_VALUE'
        },
        Zendesk: {
          object: 'STRING_VALUE', /* required */
          errorHandlingConfig: {
            bucketName: 'STRING_VALUE',
            bucketPrefix: 'STRING_VALUE',
            failOnFirstDestinationError: true || false
          },
          idFieldNames: [
            'STRING_VALUE',
            /* more items */
          ],
          writeOperationType: INSERT | UPSERT | UPDATE
        }
      },
      connectorProfileName: 'STRING_VALUE'
    },
    /* more items */
  ],
  flowName: 'STRING_VALUE', /* required */
  sourceFlowConfig: { /* required */
    connectorType: Salesforce | Singular | Slack | Redshift | S3 | Marketo | Googleanalytics | Zendesk | Servicenow | Datadog | Trendmicro | Snowflake | Dynatrace | Infornexus | Amplitude | Veeva | EventBridge | LookoutMetrics | Upsolver | Honeycode | CustomerProfiles | SAPOData, /* required */
    sourceConnectorProperties: { /* required */
      Amplitude: {
        object: 'STRING_VALUE' /* required */
      },
      Datadog: {
        object: 'STRING_VALUE' /* required */
      },
      Dynatrace: {
        object: 'STRING_VALUE' /* required */
      },
      GoogleAnalytics: {
        object: 'STRING_VALUE' /* required */
      },
      InforNexus: {
        object: 'STRING_VALUE' /* required */
      },
      Marketo: {
        object: 'STRING_VALUE' /* required */
      },
      S3: {
        bucketName: 'STRING_VALUE', /* required */
        bucketPrefix: 'STRING_VALUE',
        s3InputFormatConfig: {
          s3InputFileType: CSV | JSON
        }
      },
      SAPOData: {
        objectPath: 'STRING_VALUE'
      },
      Salesforce: {
        object: 'STRING_VALUE', /* required */
        enableDynamicFieldUpdate: true || false,
        includeDeletedRecords: true || false
      },
      ServiceNow: {
        object: 'STRING_VALUE' /* required */
      },
      Singular: {
        object: 'STRING_VALUE' /* required */
      },
      Slack: {
        object: 'STRING_VALUE' /* required */
      },
      Trendmicro: {
        object: 'STRING_VALUE' /* required */
      },
      Veeva: {
        object: 'STRING_VALUE', /* required */
        documentType: 'STRING_VALUE',
        includeAllVersions: true || false,
        includeRenditions: true || false,
        includeSourceFiles: true || false
      },
      Zendesk: {
        object: 'STRING_VALUE' /* required */
      }
    },
    connectorProfileName: 'STRING_VALUE',
    incrementalPullConfig: {
      datetimeTypeFieldName: 'STRING_VALUE'
    }
  },
  tasks: [ /* required */
    {
      sourceFields: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      taskType: Arithmetic | Filter | Map | Map_all | Mask | Merge | Truncate | Validate, /* required */
      connectorOperator: {
        Amplitude: BETWEEN,
        Datadog: PROJECTION | BETWEEN | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Dynatrace: PROJECTION | BETWEEN | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        GoogleAnalytics: PROJECTION | BETWEEN,
        InforNexus: PROJECTION | BETWEEN | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Marketo: PROJECTION | LESS_THAN | GREATER_THAN | BETWEEN | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        S3: PROJECTION | LESS_THAN | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        SAPOData: PROJECTION | LESS_THAN | CONTAINS | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Salesforce: PROJECTION | LESS_THAN | CONTAINS | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        ServiceNow: PROJECTION | CONTAINS | LESS_THAN | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Singular: PROJECTION | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Slack: PROJECTION | LESS_THAN | GREATER_THAN | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Trendmicro: PROJECTION | EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Veeva: PROJECTION | LESS_THAN | GREATER_THAN | CONTAINS | BETWEEN | LESS_THAN_OR_EQUAL_TO | GREATER_THAN_OR_EQUAL_TO | EQUAL_TO | NOT_EQUAL_TO | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP,
        Zendesk: PROJECTION | GREATER_THAN | ADDITION | MULTIPLICATION | DIVISION | SUBTRACTION | MASK_ALL | MASK_FIRST_N | MASK_LAST_N | VALIDATE_NON_NULL | VALIDATE_NON_ZERO | VALIDATE_NON_NEGATIVE | VALIDATE_NUMERIC | NO_OP
      },
      destinationField: 'STRING_VALUE',
      taskProperties: {
        '<OperatorPropertiesKeys>': 'STRING_VALUE',
        /* '<OperatorPropertiesKeys>': ... */
      }
    },
    /* more items */
  ],
  triggerConfig: { /* required */
    triggerType: Scheduled | Event | OnDemand, /* required */
    triggerProperties: {
      Scheduled: {
        scheduleExpression: 'STRING_VALUE', /* required */
        dataPullMode: Incremental | Complete,
        firstExecutionFrom: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
        scheduleEndTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
        scheduleOffset: 'NUMBER_VALUE',
        scheduleStartTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
        timezone: 'STRING_VALUE'
      }
    }
  },
  description: 'STRING_VALUE'
};
appflow.updateFlow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • flowName — (String)

      The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

    • description — (String)

      A description of the flow.

    • triggerConfig — (map)

      The trigger settings that determine how and when the flow runs.

      • triggerTyperequired — (String)

        Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

        Possible values include:
        • "Scheduled"
        • "Event"
        • "OnDemand"
      • triggerProperties — (map)

        Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.

        • Scheduled — (map)

          Specifies the configuration details of a schedule-triggered flow as defined by the user.

          • scheduleExpressionrequired — (String)

            The scheduling expression that determines the rate at which the schedule will run, for example rate(5minutes).

          • dataPullMode — (String)

            Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.

            Possible values include:
            • "Incremental"
            • "Complete"
          • scheduleStartTime — (Date)

            Specifies the scheduled start time for a schedule-triggered flow.

          • scheduleEndTime — (Date)

            Specifies the scheduled end time for a schedule-triggered flow.

          • timezone — (String)

            Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.

          • scheduleOffset — (Integer)

            Specifies the optional offset that is added to the time interval for a schedule-triggered flow.

          • firstExecutionFrom — (Date)

            Specifies the date range for the records to import from the connector in the first flow run.

    • sourceFlowConfig — (map)

      Contains information about the configuration of the source connector used in the flow.

      • connectorTyperequired — (String)

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

        Possible values include:
        • "Salesforce"
        • "Singular"
        • "Slack"
        • "Redshift"
        • "S3"
        • "Marketo"
        • "Googleanalytics"
        • "Zendesk"
        • "Servicenow"
        • "Datadog"
        • "Trendmicro"
        • "Snowflake"
        • "Dynatrace"
        • "Infornexus"
        • "Amplitude"
        • "Veeva"
        • "EventBridge"
        • "LookoutMetrics"
        • "Upsolver"
        • "Honeycode"
        • "CustomerProfiles"
        • "SAPOData"
      • connectorProfileName — (String)

        The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.

      • sourceConnectorPropertiesrequired — (map)

        Specifies the information that is required to query a particular source connector.

        • Amplitude — (map)

          Specifies the information that is required for querying Amplitude.

          • objectrequired — (String)

            The object specified in the Amplitude flow source.

        • Datadog — (map)

          Specifies the information that is required for querying Datadog.

          • objectrequired — (String)

            The object specified in the Datadog flow source.

        • Dynatrace — (map)

          Specifies the information that is required for querying Dynatrace.

          • objectrequired — (String)

            The object specified in the Dynatrace flow source.

        • GoogleAnalytics — (map)

          Specifies the information that is required for querying Google Analytics.

          • objectrequired — (String)

            The object specified in the Google Analytics flow source.

        • InforNexus — (map)

          Specifies the information that is required for querying Infor Nexus.

          • objectrequired — (String)

            The object specified in the Infor Nexus flow source.

        • Marketo — (map)

          Specifies the information that is required for querying Marketo.

          • objectrequired — (String)

            The object specified in the Marketo flow source.

        • S3 — (map)

          Specifies the information that is required for querying Amazon S3.

          • bucketNamerequired — (String)

            The Amazon S3 bucket name where the source files are stored.

          • bucketPrefix — (String)

            The object key for the Amazon S3 bucket in which the source files are stored.

          • s3InputFormatConfig — (map)

            When you use Amazon S3 as the source, the configuration format that you provide the flow input data.

            • s3InputFileType — (String)

              The file type that Amazon AppFlow gets from your Amazon S3 bucket.

              Possible values include:
              • "CSV"
              • "JSON"
        • Salesforce — (map)

          Specifies the information that is required for querying Salesforce.

          • objectrequired — (String)

            The object specified in the Salesforce flow source.

          • enableDynamicFieldUpdate — (Boolean)

            The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.

          • includeDeletedRecords — (Boolean)

            Indicates whether Amazon AppFlow includes deleted files in the flow run.

        • ServiceNow — (map)

          Specifies the information that is required for querying ServiceNow.

          • objectrequired — (String)

            The object specified in the ServiceNow flow source.

        • Singular — (map)

          Specifies the information that is required for querying Singular.

          • objectrequired — (String)

            The object specified in the Singular flow source.

        • Slack — (map)

          Specifies the information that is required for querying Slack.

          • objectrequired — (String)

            The object specified in the Slack flow source.

        • Trendmicro — (map)

          Specifies the information that is required for querying Trend Micro.

          • objectrequired — (String)

            The object specified in the Trend Micro flow source.

        • Veeva — (map)

          Specifies the information that is required for querying Veeva.

          • objectrequired — (String)

            The object specified in the Veeva flow source.

          • documentType — (String)

            The document type specified in the Veeva document extract flow.

          • includeSourceFiles — (Boolean)

            Boolean value to include source files in Veeva document extract flow.

          • includeRenditions — (Boolean)

            Boolean value to include file renditions in Veeva document extract flow.

          • includeAllVersions — (Boolean)

            Boolean value to include All Versions of files in Veeva document extract flow.

        • Zendesk — (map)

          Specifies the information that is required for querying Zendesk.

          • objectrequired — (String)

            The object specified in the Zendesk flow source.

        • SAPOData — (map)

          The properties that are applied when using SAPOData as a flow source.

          • objectPath — (String)

            The object path specified in the SAPOData flow source.

      • incrementalPullConfig — (map)

        Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.

        • datetimeTypeFieldName — (String)

          A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.

    • destinationFlowConfigList — (Array<map>)

      The configuration that controls how Amazon AppFlow transfers data to the destination connector.

      • connectorTyperequired — (String)

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

        Possible values include:
        • "Salesforce"
        • "Singular"
        • "Slack"
        • "Redshift"
        • "S3"
        • "Marketo"
        • "Googleanalytics"
        • "Zendesk"
        • "Servicenow"
        • "Datadog"
        • "Trendmicro"
        • "Snowflake"
        • "Dynatrace"
        • "Infornexus"
        • "Amplitude"
        • "Veeva"
        • "EventBridge"
        • "LookoutMetrics"
        • "Upsolver"
        • "Honeycode"
        • "CustomerProfiles"
        • "SAPOData"
      • connectorProfileName — (String)

        The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.

      • destinationConnectorPropertiesrequired — (map)

        This stores the information that is required to query a particular connector.

        • Redshift — (map)

          The properties required to query Amazon Redshift.

          • objectrequired — (String)

            The object specified in the Amazon Redshift flow destination.

          • intermediateBucketNamerequired — (String)

            The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.

          • bucketPrefix — (String)

            The object key for the bucket in which Amazon AppFlow places the destination files.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • S3 — (map)

          The properties required to query Amazon S3.

          • bucketNamerequired — (String)

            The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

          • bucketPrefix — (String)

            The object key for the destination bucket in which Amazon AppFlow places the files.

          • s3OutputFormatConfig — (map)

            The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.

            • fileType — (String)

              Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.

              Possible values include:
              • "CSV"
              • "JSON"
              • "PARQUET"
            • prefixConfig — (map)

              Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.

              • prefixType — (String)

                Determines the format of the prefix, and whether it applies to the file name, file path, or both.

                Possible values include:
                • "FILENAME"
                • "PATH"
                • "PATH_AND_FILENAME"
              • prefixFormat — (String)

                Determines the level of granularity that's included in the prefix.

                Possible values include:
                • "YEAR"
                • "MONTH"
                • "DAY"
                • "HOUR"
                • "MINUTE"
            • aggregationConfig — (map)

              The aggregation settings that you can use to customize the output format of your flow data.

              • aggregationType — (String)

                Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.

                Possible values include:
                • "None"
                • "SingleFile"
        • Salesforce — (map)

          The properties required to query Salesforce.

          • objectrequired — (String)

            The object specified in the Salesforce flow destination.

          • idFieldNames — (Array<String>)

            The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

          • writeOperationType — (String)

            This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.

            Possible values include:
            • "INSERT"
            • "UPSERT"
            • "UPDATE"
        • Snowflake — (map)

          The properties required to query Snowflake.

          • objectrequired — (String)

            The object specified in the Snowflake flow destination.

          • intermediateBucketNamerequired — (String)

            The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.

          • bucketPrefix — (String)

            The object key for the destination bucket in which Amazon AppFlow places the files.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • EventBridge — (map)

          The properties required to query Amazon EventBridge.

          • objectrequired — (String)

            The object specified in the Amazon EventBridge flow destination.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • LookoutMetrics — (map)

          The properties required to query Amazon Lookout for Metrics.

        • Upsolver — (map)

          The properties required to query Upsolver.

          • bucketNamerequired — (String)

            The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

          • bucketPrefix — (String)

            The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.

          • s3OutputFormatConfigrequired — (map)

            The configuration that determines how data is formatted when Upsolver is used as the flow destination.

            • fileType — (String)

              Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.

              Possible values include:
              • "CSV"
              • "JSON"
              • "PARQUET"
            • prefixConfigrequired — (map)

              Determines the prefix that Amazon AppFlow applies to the destination folder name. You can name your destination folders according to the flow frequency and date.

              • prefixType — (String)

                Determines the format of the prefix, and whether it applies to the file name, file path, or both.

                Possible values include:
                • "FILENAME"
                • "PATH"
                • "PATH_AND_FILENAME"
              • prefixFormat — (String)

                Determines the level of granularity that's included in the prefix.

                Possible values include:
                • "YEAR"
                • "MONTH"
                • "DAY"
                • "HOUR"
                • "MINUTE"
            • aggregationConfig — (map)

              The aggregation settings that you can use to customize the output format of your flow data.

              • aggregationType — (String)

                Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.

                Possible values include:
                • "None"
                • "SingleFile"
        • Honeycode — (map)

          The properties required to query Amazon Honeycode.

          • objectrequired — (String)

            The object specified in the Amazon Honeycode flow destination.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

        • CustomerProfiles — (map)

          The properties required to query Amazon Connect Customer Profiles.

          • domainNamerequired — (String)

            The unique name of the Amazon Connect Customer Profiles domain.

          • objectTypeName — (String)

            The object specified in the Amazon Connect Customer Profiles flow destination.

        • Zendesk — (map)

          The properties required to query Zendesk.

          • objectrequired — (String)

            The object specified in the Zendesk flow destination.

          • idFieldNames — (Array<String>)

            A list of field names that can be used as an ID field when performing a write operation.

          • errorHandlingConfig — (map)

            The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

            • failOnFirstDestinationError — (Boolean)

              Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

            • bucketPrefix — (String)

              Specifies the Amazon S3 bucket prefix.

            • bucketName — (String)

              Specifies the name of the Amazon S3 bucket.

          • writeOperationType — (String)

            The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT operation.

            Possible values include:
            • "INSERT"
            • "UPSERT"
            • "UPDATE"
    • tasks — (Array<map>)

      A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.

      • sourceFieldsrequired — (Array<String>)

        The source fields to which a particular task is applied.

      • connectorOperator — (map)

        The operation to be performed on the provided source fields.

        • Amplitude — (String)

          The operation to be performed on the provided Amplitude source fields.

          Possible values include:
          • "BETWEEN"
        • Datadog — (String)

          The operation to be performed on the provided Datadog source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Dynatrace — (String)

          The operation to be performed on the provided Dynatrace source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • GoogleAnalytics — (String)

          The operation to be performed on the provided Google Analytics source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
        • InforNexus — (String)

          The operation to be performed on the provided Infor Nexus source fields.

          Possible values include:
          • "PROJECTION"
          • "BETWEEN"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Marketo — (String)

          The operation to be performed on the provided Marketo source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • S3 — (String)

          The operation to be performed on the provided Amazon S3 source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Salesforce — (String)

          The operation to be performed on the provided Salesforce source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "CONTAINS"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • ServiceNow — (String)

          The operation to be performed on the provided ServiceNow source fields.

          Possible values include:
          • "PROJECTION"
          • "CONTAINS"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Singular — (String)

          The operation to be performed on the provided Singular source fields.

          Possible values include:
          • "PROJECTION"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Slack — (String)

          The operation to be performed on the provided Slack source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Trendmicro — (String)

          The operation to be performed on the provided Trend Micro source fields.

          Possible values include:
          • "PROJECTION"
          • "EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Veeva — (String)

          The operation to be performed on the provided Veeva source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "GREATER_THAN"
          • "CONTAINS"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • Zendesk — (String)

          The operation to be performed on the provided Zendesk source fields.

          Possible values include:
          • "PROJECTION"
          • "GREATER_THAN"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
        • SAPOData — (String)

          The operation to be performed on the provided SAPOData source fields.

          Possible values include:
          • "PROJECTION"
          • "LESS_THAN"
          • "CONTAINS"
          • "GREATER_THAN"
          • "BETWEEN"
          • "LESS_THAN_OR_EQUAL_TO"
          • "GREATER_THAN_OR_EQUAL_TO"
          • "EQUAL_TO"
          • "NOT_EQUAL_TO"
          • "ADDITION"
          • "MULTIPLICATION"
          • "DIVISION"
          • "SUBTRACTION"
          • "MASK_ALL"
          • "MASK_FIRST_N"
          • "MASK_LAST_N"
          • "VALIDATE_NON_NULL"
          • "VALIDATE_NON_ZERO"
          • "VALIDATE_NON_NEGATIVE"
          • "VALIDATE_NUMERIC"
          • "NO_OP"
      • destinationField — (String)

        A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.

      • taskTyperequired — (String)

        Specifies the particular task implementation that Amazon AppFlow performs.

        Possible values include:
        • "Arithmetic"
        • "Filter"
        • "Map"
        • "Map_all"
        • "Mask"
        • "Merge"
        • "Truncate"
        • "Validate"
      • taskProperties — (map<String>)

        A map used to store task-related information. The execution service looks for particular information based on the TaskType.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • flowStatus — (String)

        Indicates the current status of the flow.

        Possible values include:
        • "Active"
        • "Deprecated"
        • "Deleted"
        • "Draft"
        • "Errored"
        • "Suspended"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.