aws-sdk
Version:
AWS SDK for JavaScript
1,038 lines • 153 kB
TypeScript
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class Appflow extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: Appflow.Types.ClientConfiguration)
config: Config & Appflow.Types.ClientConfiguration;
/**
* Cancels active runs for a flow. You can cancel all of the active runs for a flow, or you can cancel specific runs by providing their IDs. You can cancel a flow run only when the run is in progress. You can't cancel a run that has already completed or failed. You also can't cancel a run that's scheduled to occur but hasn't started yet. To prevent a scheduled run, you can deactivate the flow with the StopFlow action. You cannot resume a run after you cancel it. When you send your request, the status for each run becomes CancelStarted. When the cancellation completes, the status becomes Canceled. When you cancel a run, you still incur charges for any data that the run already processed before the cancellation. If the run had already written some data to the flow destination, then that data remains in the destination. If you configured the flow to use a batch API (such as the Salesforce Bulk API 2.0), then the run will finish reading or writing its entire batch of data after the cancellation. For these operations, the data processing charges for Amazon AppFlow apply. For the pricing information, see Amazon AppFlow pricing.
*/
cancelFlowExecutions(params: Appflow.Types.CancelFlowExecutionsRequest, callback?: (err: AWSError, data: Appflow.Types.CancelFlowExecutionsResponse) => void): Request<Appflow.Types.CancelFlowExecutionsResponse, AWSError>;
/**
* Cancels active runs for a flow. You can cancel all of the active runs for a flow, or you can cancel specific runs by providing their IDs. You can cancel a flow run only when the run is in progress. You can't cancel a run that has already completed or failed. You also can't cancel a run that's scheduled to occur but hasn't started yet. To prevent a scheduled run, you can deactivate the flow with the StopFlow action. You cannot resume a run after you cancel it. When you send your request, the status for each run becomes CancelStarted. When the cancellation completes, the status becomes Canceled. When you cancel a run, you still incur charges for any data that the run already processed before the cancellation. If the run had already written some data to the flow destination, then that data remains in the destination. If you configured the flow to use a batch API (such as the Salesforce Bulk API 2.0), then the run will finish reading or writing its entire batch of data after the cancellation. For these operations, the data processing charges for Amazon AppFlow apply. For the pricing information, see Amazon AppFlow pricing.
*/
cancelFlowExecutions(callback?: (err: AWSError, data: Appflow.Types.CancelFlowExecutionsResponse) => void): Request<Appflow.Types.CancelFlowExecutionsResponse, AWSError>;
/**
* 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. In each connector profile that you create, you can provide the credentials and properties for only one connector.
*/
createConnectorProfile(params: Appflow.Types.CreateConnectorProfileRequest, callback?: (err: AWSError, data: Appflow.Types.CreateConnectorProfileResponse) => void): Request<Appflow.Types.CreateConnectorProfileResponse, AWSError>;
/**
* 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. In each connector profile that you create, you can provide the credentials and properties for only one connector.
*/
createConnectorProfile(callback?: (err: AWSError, data: Appflow.Types.CreateConnectorProfileResponse) => void): Request<Appflow.Types.CreateConnectorProfileResponse, AWSError>;
/**
* 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.
*/
createFlow(params: Appflow.Types.CreateFlowRequest, callback?: (err: AWSError, data: Appflow.Types.CreateFlowResponse) => void): Request<Appflow.Types.CreateFlowResponse, AWSError>;
/**
* 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.
*/
createFlow(callback?: (err: AWSError, data: Appflow.Types.CreateFlowResponse) => void): Request<Appflow.Types.CreateFlowResponse, AWSError>;
/**
* Enables you to delete an existing connector profile.
*/
deleteConnectorProfile(params: Appflow.Types.DeleteConnectorProfileRequest, callback?: (err: AWSError, data: Appflow.Types.DeleteConnectorProfileResponse) => void): Request<Appflow.Types.DeleteConnectorProfileResponse, AWSError>;
/**
* Enables you to delete an existing connector profile.
*/
deleteConnectorProfile(callback?: (err: AWSError, data: Appflow.Types.DeleteConnectorProfileResponse) => void): Request<Appflow.Types.DeleteConnectorProfileResponse, AWSError>;
/**
* 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.
*/
deleteFlow(params: Appflow.Types.DeleteFlowRequest, callback?: (err: AWSError, data: Appflow.Types.DeleteFlowResponse) => void): Request<Appflow.Types.DeleteFlowResponse, AWSError>;
/**
* 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.
*/
deleteFlow(callback?: (err: AWSError, data: Appflow.Types.DeleteFlowResponse) => void): Request<Appflow.Types.DeleteFlowResponse, AWSError>;
/**
* Describes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors.
*/
describeConnector(params: Appflow.Types.DescribeConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorResponse) => void): Request<Appflow.Types.DescribeConnectorResponse, AWSError>;
/**
* Describes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors.
*/
describeConnector(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorResponse) => void): Request<Appflow.Types.DescribeConnectorResponse, AWSError>;
/**
* Provides details regarding the entity used with the connector, with a description of the data model for each field in that entity.
*/
describeConnectorEntity(params: Appflow.Types.DescribeConnectorEntityRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorEntityResponse) => void): Request<Appflow.Types.DescribeConnectorEntityResponse, AWSError>;
/**
* Provides details regarding the entity used with the connector, with a description of the data model for each field in that entity.
*/
describeConnectorEntity(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorEntityResponse) => void): Request<Appflow.Types.DescribeConnectorEntityResponse, AWSError>;
/**
* 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.
*/
describeConnectorProfiles(params: Appflow.Types.DescribeConnectorProfilesRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorProfilesResponse) => void): Request<Appflow.Types.DescribeConnectorProfilesResponse, AWSError>;
/**
* 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.
*/
describeConnectorProfiles(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorProfilesResponse) => void): Request<Appflow.Types.DescribeConnectorProfilesResponse, AWSError>;
/**
* 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.
*/
describeConnectors(params: Appflow.Types.DescribeConnectorsRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorsResponse) => void): Request<Appflow.Types.DescribeConnectorsResponse, AWSError>;
/**
* 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.
*/
describeConnectors(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorsResponse) => void): Request<Appflow.Types.DescribeConnectorsResponse, AWSError>;
/**
* Provides a description of the specified flow.
*/
describeFlow(params: Appflow.Types.DescribeFlowRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeFlowResponse) => void): Request<Appflow.Types.DescribeFlowResponse, AWSError>;
/**
* Provides a description of the specified flow.
*/
describeFlow(callback?: (err: AWSError, data: Appflow.Types.DescribeFlowResponse) => void): Request<Appflow.Types.DescribeFlowResponse, AWSError>;
/**
* Fetches the execution history of the flow.
*/
describeFlowExecutionRecords(params: Appflow.Types.DescribeFlowExecutionRecordsRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeFlowExecutionRecordsResponse) => void): Request<Appflow.Types.DescribeFlowExecutionRecordsResponse, AWSError>;
/**
* Fetches the execution history of the flow.
*/
describeFlowExecutionRecords(callback?: (err: AWSError, data: Appflow.Types.DescribeFlowExecutionRecordsResponse) => void): Request<Appflow.Types.DescribeFlowExecutionRecordsResponse, AWSError>;
/**
* 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.
*/
listConnectorEntities(params: Appflow.Types.ListConnectorEntitiesRequest, callback?: (err: AWSError, data: Appflow.Types.ListConnectorEntitiesResponse) => void): Request<Appflow.Types.ListConnectorEntitiesResponse, AWSError>;
/**
* 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.
*/
listConnectorEntities(callback?: (err: AWSError, data: Appflow.Types.ListConnectorEntitiesResponse) => void): Request<Appflow.Types.ListConnectorEntitiesResponse, AWSError>;
/**
* Returns the list of all registered custom connectors in your Amazon Web Services account. This API lists only custom connectors registered in this account, not the Amazon Web Services authored connectors.
*/
listConnectors(params: Appflow.Types.ListConnectorsRequest, callback?: (err: AWSError, data: Appflow.Types.ListConnectorsResponse) => void): Request<Appflow.Types.ListConnectorsResponse, AWSError>;
/**
* Returns the list of all registered custom connectors in your Amazon Web Services account. This API lists only custom connectors registered in this account, not the Amazon Web Services authored connectors.
*/
listConnectors(callback?: (err: AWSError, data: Appflow.Types.ListConnectorsResponse) => void): Request<Appflow.Types.ListConnectorsResponse, AWSError>;
/**
* Lists all of the flows associated with your account.
*/
listFlows(params: Appflow.Types.ListFlowsRequest, callback?: (err: AWSError, data: Appflow.Types.ListFlowsResponse) => void): Request<Appflow.Types.ListFlowsResponse, AWSError>;
/**
* Lists all of the flows associated with your account.
*/
listFlows(callback?: (err: AWSError, data: Appflow.Types.ListFlowsResponse) => void): Request<Appflow.Types.ListFlowsResponse, AWSError>;
/**
* Retrieves the tags that are associated with a specified flow.
*/
listTagsForResource(params: Appflow.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Appflow.Types.ListTagsForResourceResponse) => void): Request<Appflow.Types.ListTagsForResourceResponse, AWSError>;
/**
* Retrieves the tags that are associated with a specified flow.
*/
listTagsForResource(callback?: (err: AWSError, data: Appflow.Types.ListTagsForResourceResponse) => void): Request<Appflow.Types.ListTagsForResourceResponse, AWSError>;
/**
* Registers a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.
*/
registerConnector(params: Appflow.Types.RegisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request<Appflow.Types.RegisterConnectorResponse, AWSError>;
/**
* Registers a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.
*/
registerConnector(callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request<Appflow.Types.RegisterConnectorResponse, AWSError>;
/**
* Resets metadata about your connector entities that Amazon AppFlow stored in its cache. Use this action when you want Amazon AppFlow to return the latest information about the data that you have in a source application. Amazon AppFlow returns metadata about your entities when you use the ListConnectorEntities or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches the metadata to reduce the number of API requests that it must send to the source application. Amazon AppFlow automatically resets the cache once every hour, but you can use this action when you want to get the latest metadata right away.
*/
resetConnectorMetadataCache(params: Appflow.Types.ResetConnectorMetadataCacheRequest, callback?: (err: AWSError, data: Appflow.Types.ResetConnectorMetadataCacheResponse) => void): Request<Appflow.Types.ResetConnectorMetadataCacheResponse, AWSError>;
/**
* Resets metadata about your connector entities that Amazon AppFlow stored in its cache. Use this action when you want Amazon AppFlow to return the latest information about the data that you have in a source application. Amazon AppFlow returns metadata about your entities when you use the ListConnectorEntities or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches the metadata to reduce the number of API requests that it must send to the source application. Amazon AppFlow automatically resets the cache once every hour, but you can use this action when you want to get the latest metadata right away.
*/
resetConnectorMetadataCache(callback?: (err: AWSError, data: Appflow.Types.ResetConnectorMetadataCacheResponse) => void): Request<Appflow.Types.ResetConnectorMetadataCacheResponse, AWSError>;
/**
* 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.
*/
startFlow(params: Appflow.Types.StartFlowRequest, callback?: (err: AWSError, data: Appflow.Types.StartFlowResponse) => void): Request<Appflow.Types.StartFlowResponse, AWSError>;
/**
* 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.
*/
startFlow(callback?: (err: AWSError, data: Appflow.Types.StartFlowResponse) => void): Request<Appflow.Types.StartFlowResponse, AWSError>;
/**
* 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.
*/
stopFlow(params: Appflow.Types.StopFlowRequest, callback?: (err: AWSError, data: Appflow.Types.StopFlowResponse) => void): Request<Appflow.Types.StopFlowResponse, AWSError>;
/**
* 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.
*/
stopFlow(callback?: (err: AWSError, data: Appflow.Types.StopFlowResponse) => void): Request<Appflow.Types.StopFlowResponse, AWSError>;
/**
* Applies a tag to the specified flow.
*/
tagResource(params: Appflow.Types.TagResourceRequest, callback?: (err: AWSError, data: Appflow.Types.TagResourceResponse) => void): Request<Appflow.Types.TagResourceResponse, AWSError>;
/**
* Applies a tag to the specified flow.
*/
tagResource(callback?: (err: AWSError, data: Appflow.Types.TagResourceResponse) => void): Request<Appflow.Types.TagResourceResponse, AWSError>;
/**
* Unregisters the custom connector registered in your account that matches the connector label provided in the request.
*/
unregisterConnector(params: Appflow.Types.UnregisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request<Appflow.Types.UnregisterConnectorResponse, AWSError>;
/**
* Unregisters the custom connector registered in your account that matches the connector label provided in the request.
*/
unregisterConnector(callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request<Appflow.Types.UnregisterConnectorResponse, AWSError>;
/**
* Removes a tag from the specified flow.
*/
untagResource(params: Appflow.Types.UntagResourceRequest, callback?: (err: AWSError, data: Appflow.Types.UntagResourceResponse) => void): Request<Appflow.Types.UntagResourceResponse, AWSError>;
/**
* Removes a tag from the specified flow.
*/
untagResource(callback?: (err: AWSError, data: Appflow.Types.UntagResourceResponse) => void): Request<Appflow.Types.UntagResourceResponse, AWSError>;
/**
* Updates a given connector profile associated with your account.
*/
updateConnectorProfile(params: Appflow.Types.UpdateConnectorProfileRequest, callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorProfileResponse) => void): Request<Appflow.Types.UpdateConnectorProfileResponse, AWSError>;
/**
* Updates a given connector profile associated with your account.
*/
updateConnectorProfile(callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorProfileResponse) => void): Request<Appflow.Types.UpdateConnectorProfileResponse, AWSError>;
/**
* Updates a custom connector that you've previously registered. This operation updates the connector with one of the following: The latest version of the AWS Lambda function that's assigned to the connector A new AWS Lambda function that you specify
*/
updateConnectorRegistration(params: Appflow.Types.UpdateConnectorRegistrationRequest, callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorRegistrationResponse) => void): Request<Appflow.Types.UpdateConnectorRegistrationResponse, AWSError>;
/**
* Updates a custom connector that you've previously registered. This operation updates the connector with one of the following: The latest version of the AWS Lambda function that's assigned to the connector A new AWS Lambda function that you specify
*/
updateConnectorRegistration(callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorRegistrationResponse) => void): Request<Appflow.Types.UpdateConnectorRegistrationResponse, AWSError>;
/**
* Updates an existing flow.
*/
updateFlow(params: Appflow.Types.UpdateFlowRequest, callback?: (err: AWSError, data: Appflow.Types.UpdateFlowResponse) => void): Request<Appflow.Types.UpdateFlowResponse, AWSError>;
/**
* Updates an existing flow.
*/
updateFlow(callback?: (err: AWSError, data: Appflow.Types.UpdateFlowResponse) => void): Request<Appflow.Types.UpdateFlowResponse, AWSError>;
}
declare namespace Appflow {
export type ARN = string;
export type AccessKeyId = string;
export type AccessToken = string;
export type AccountName = string;
export interface AggregationConfig {
/**
* Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
*/
aggregationType?: AggregationType;
/**
* The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
*/
targetFileSize?: Long;
}
export type AggregationType = "None"|"SingleFile"|string;
export type AmplitudeConnectorOperator = "BETWEEN"|string;
export interface AmplitudeConnectorProfileCredentials {
/**
* A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
*/
apiKey: ApiKey;
/**
* The Secret Access Key portion of the credentials.
*/
secretKey: SecretKey;
}
export interface AmplitudeConnectorProfileProperties {
}
export interface AmplitudeMetadata {
}
export interface AmplitudeSourceProperties {
/**
* The object specified in the Amplitude flow source.
*/
object: Object;
}
export type ApiKey = string;
export interface ApiKeyCredentials {
/**
* The API key required for API key authentication.
*/
apiKey: ApiKey;
/**
* The API secret key required for API key authentication.
*/
apiSecretKey?: ApiSecretKey;
}
export type ApiSecretKey = string;
export type ApiToken = string;
export type ApiVersion = string;
export type ApplicationHostUrl = string;
export type ApplicationKey = string;
export type ApplicationServicePath = string;
export type ApplicationType = string;
export type AuthCode = string;
export type AuthCodeUrl = string;
export type AuthCodeUrlList = AuthCodeUrl[];
export interface AuthParameter {
/**
* The authentication key required to authenticate with the connector.
*/
key?: Key;
/**
* Indicates whether this authentication parameter is required.
*/
isRequired?: Boolean;
/**
* Label used for authentication parameter.
*/
label?: Label;
/**
* A description about the authentication parameter.
*/
description?: Description;
/**
* Indicates whether this authentication parameter is a sensitive field.
*/
isSensitiveField?: Boolean;
/**
* Contains default values for this authentication parameter that are supplied by the connector.
*/
connectorSuppliedValues?: ConnectorSuppliedValueList;
}
export type AuthParameterList = AuthParameter[];
export interface AuthenticationConfig {
/**
* Indicates whether basic authentication is supported by the connector.
*/
isBasicAuthSupported?: Boolean;
/**
* Indicates whether API key authentication is supported by the connector
*/
isApiKeyAuthSupported?: Boolean;
/**
* Indicates whether OAuth 2.0 authentication is supported by the connector.
*/
isOAuth2Supported?: Boolean;
/**
* Indicates whether custom authentication is supported by the connector
*/
isCustomAuthSupported?: Boolean;
/**
* Contains the default values required for OAuth 2.0 authentication.
*/
oAuth2Defaults?: OAuth2Defaults;
/**
* Contains information required for custom authentication.
*/
customAuthConfigs?: CustomAuthConfigList;
}
export type AuthenticationType = "OAUTH2"|"APIKEY"|"BASIC"|"CUSTOM"|string;
export interface BasicAuthCredentials {
/**
* The username to use to connect to a resource.
*/
username: Username;
/**
* The password to use to connect to a resource.
*/
password: Password;
}
export type Boolean = boolean;
export type BucketName = string;
export type BucketPrefix = string;
export type BusinessUnitId = string;
export interface CancelFlowExecutionsRequest {
/**
* The name of a flow with active runs that you want to cancel.
*/
flowName: FlowName;
/**
* The ID of each active run to cancel. These runs must belong to the flow you specify in your request. If you omit this parameter, your request ends all active runs that belong to the flow.
*/
executionIds?: ExecutionIds;
}
export interface CancelFlowExecutionsResponse {
/**
* The IDs of runs that Amazon AppFlow couldn't cancel. These runs might be ineligible for canceling because they haven't started yet or have already completed.
*/
invalidExecutions?: ExecutionIds;
}
export type CatalogType = "GLUE"|string;
export type ClientCredentialsArn = string;
export type ClientId = string;
export type ClientNumber = string;
export type ClientSecret = string;
export type ClientToken = string;
export type ClusterIdentifier = string;
export type ConnectionMode = "Public"|"Private"|string;
export interface ConnectorConfiguration {
/**
* Specifies whether the connector can be used as a source.
*/
canUseAsSource?: Boolean;
/**
* Specifies whether the connector can be used as a destination.
*/
canUseAsDestination?: Boolean;
/**
* Lists the connectors that are available for use as destinations.
*/
supportedDestinationConnectors?: ConnectorTypeList;
/**
* Specifies the supported flow frequency for that connector.
*/
supportedSchedulingFrequencies?: SchedulingFrequencyTypeList;
/**
* Specifies if PrivateLink is enabled for that connector.
*/
isPrivateLinkEnabled?: Boolean;
/**
* Specifies if a PrivateLink endpoint URL is required.
*/
isPrivateLinkEndpointUrlRequired?: Boolean;
/**
* Specifies the supported trigger types for the flow.
*/
supportedTriggerTypes?: TriggerTypeList;
/**
* Specifies connector-specific metadata such as oAuthScopes, supportedRegions, privateLinkServiceUrl, and so on.
*/
connectorMetadata?: ConnectorMetadata;
/**
* The connector type.
*/
connectorType?: ConnectorType;
/**
* The label used for registering the connector.
*/
connectorLabel?: ConnectorLabel;
/**
* A description about the connector.
*/
connectorDescription?: ConnectorDescription;
/**
* The owner who developed the connector.
*/
connectorOwner?: ConnectorOwner;
/**
* The connector name.
*/
connectorName?: ConnectorName;
/**
* The connector version.
*/
connectorVersion?: ConnectorVersion;
/**
* The Amazon Resource Name (ARN) for the registered connector.
*/
connectorArn?: ARN;
/**
* The connection modes that the connector supports.
*/
connectorModes?: ConnectorModeList;
/**
* The authentication config required for the connector.
*/
authenticationConfig?: AuthenticationConfig;
/**
* The required connector runtime settings.
*/
connectorRuntimeSettings?: ConnectorRuntimeSettingList;
/**
* A list of API versions that are supported by the connector.
*/
supportedApiVersions?: SupportedApiVersionList;
/**
* A list of operators supported by the connector.
*/
supportedOperators?: SupportedOperatorList;
/**
* A list of write operations supported by the connector.
*/
supportedWriteOperations?: SupportedWriteOperationList;
/**
* The provisioning type used to register the connector.
*/
connectorProvisioningType?: ConnectorProvisioningType;
/**
* The configuration required for registering the connector.
*/
connectorProvisioningConfig?: ConnectorProvisioningConfig;
/**
* Logo URL of the connector.
*/
logoURL?: LogoURL;
/**
* The date on which the connector was registered.
*/
registeredAt?: _Date;
/**
* Information about who registered the connector.
*/
registeredBy?: RegisteredBy;
/**
* The data transfer types that the connector supports. RECORD Structured records. FILE Files or binary data.
*/
supportedDataTransferTypes?: SupportedDataTransferTypeList;
/**
* The APIs of the connector application that Amazon AppFlow can use to transfer your data.
*/
supportedDataTransferApis?: SupportedDataTransferApis;
}
export type ConnectorConfigurationsMap = {[key: string]: ConnectorConfiguration};
export type ConnectorDescription = string;
export interface ConnectorDetail {
/**
* A description about the registered connector.
*/
connectorDescription?: ConnectorDescription;
/**
* The name of the connector.
*/
connectorName?: ConnectorName;
/**
* The owner of the connector.
*/
connectorOwner?: ConnectorOwner;
/**
* The connector version.
*/
connectorVersion?: ConnectorVersion;
/**
* The application type of the connector.
*/
applicationType?: ApplicationType;
/**
* The connector type.
*/
connectorType?: ConnectorType;
/**
* A label used for the connector.
*/
connectorLabel?: ConnectorLabel;
/**
* The time at which the connector was registered.
*/
registeredAt?: _Date;
/**
* The user who registered the connector.
*/
registeredBy?: RegisteredBy;
/**
* The provisioning type that the connector uses.
*/
connectorProvisioningType?: ConnectorProvisioningType;
/**
* The connection mode that the connector supports.
*/
connectorModes?: ConnectorModeList;
/**
* The data transfer types that the connector supports. RECORD Structured records. FILE Files or binary data.
*/
supportedDataTransferTypes?: SupportedDataTransferTypeList;
}
export interface ConnectorEntity {
/**
* The name of the connector entity.
*/
name: Name;
/**
* The label applied to the connector entity.
*/
label?: Label;
/**
* 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.
*/
hasNestedEntities?: Boolean;
}
export interface ConnectorEntityField {
/**
* The unique identifier of the connector field.
*/
identifier: Identifier;
/**
* The parent identifier of the connector field.
*/
parentIdentifier?: Identifier;
/**
* The label applied to a connector entity field.
*/
label?: Label;
/**
* Booelan value that indicates whether this field can be used as a primary key.
*/
isPrimaryKey?: Boolean;
/**
* Default value that can be assigned to this field.
*/
defaultValue?: String;
/**
* Booelan value that indicates whether this field is deprecated or not.
*/
isDeprecated?: Boolean;
/**
* Contains details regarding the supported FieldType, including the corresponding filterOperators and supportedValues.
*/
supportedFieldTypeDetails?: SupportedFieldTypeDetails;
/**
* A description of the connector entity field.
*/
description?: Description;
/**
* The properties that can be applied to a field when the connector is being used as a source.
*/
sourceProperties?: SourceFieldProperties;
/**
* The properties applied to a field when the connector is being used as a destination.
*/
destinationProperties?: DestinationFieldProperties;
/**
* A map that has specific properties related to the ConnectorEntityField.
*/
customProperties?: CustomProperties;
}
export type ConnectorEntityFieldList = ConnectorEntityField[];
export type ConnectorEntityList = ConnectorEntity[];
export type ConnectorEntityMap = {[key: string]: ConnectorEntityList};
export type ConnectorLabel = string;
export type ConnectorList = ConnectorDetail[];
export interface ConnectorMetadata {
/**
* The connector metadata specific to Amplitude.
*/
Amplitude?: AmplitudeMetadata;
/**
* The connector metadata specific to Datadog.
*/
Datadog?: DatadogMetadata;
/**
* The connector metadata specific to Dynatrace.
*/
Dynatrace?: DynatraceMetadata;
/**
* The connector metadata specific to Google Analytics.
*/
GoogleAnalytics?: GoogleAnalyticsMetadata;
/**
* The connector metadata specific to Infor Nexus.
*/
InforNexus?: InforNexusMetadata;
/**
* The connector metadata specific to Marketo.
*/
Marketo?: MarketoMetadata;
/**
* The connector metadata specific to Amazon Redshift.
*/
Redshift?: RedshiftMetadata;
/**
* The connector metadata specific to Amazon S3.
*/
S3?: S3Metadata;
/**
* The connector metadata specific to Salesforce.
*/
Salesforce?: SalesforceMetadata;
/**
* The connector metadata specific to ServiceNow.
*/
ServiceNow?: ServiceNowMetadata;
/**
* The connector metadata specific to Singular.
*/
Singular?: SingularMetadata;
/**
* The connector metadata specific to Slack.
*/
Slack?: SlackMetadata;
/**
* The connector metadata specific to Snowflake.
*/
Snowflake?: SnowflakeMetadata;
/**
* The connector metadata specific to Trend Micro.
*/
Trendmicro?: TrendmicroMetadata;
/**
* The connector metadata specific to Veeva.
*/
Veeva?: VeevaMetadata;
/**
* The connector metadata specific to Zendesk.
*/
Zendesk?: ZendeskMetadata;
/**
* The connector metadata specific to Amazon EventBridge.
*/
EventBridge?: EventBridgeMetadata;
/**
* The connector metadata specific to Upsolver.
*/
Upsolver?: UpsolverMetadata;
/**
* The connector metadata specific to Amazon Connect Customer Profiles.
*/
CustomerProfiles?: CustomerProfilesMetadata;
/**
* The connector metadata specific to Amazon Honeycode.
*/
Honeycode?: HoneycodeMetadata;
SAPOData?: SAPODataMetadata;
/**
* The connector metadata specific to Salesforce Pardot.
*/
Pardot?: PardotMetadata;
}
export type ConnectorMode = string;
export type ConnectorModeList = ConnectorMode[];
export type ConnectorName = string;
export interface ConnectorOAuthRequest {
/**
* The code provided by the connector when it has been authenticated via the connected app.
*/
authCode?: AuthCode;
/**
* The URL to which the authentication server redirects the browser after authorization has been granted.
*/
redirectUri?: RedirectUri;
}
export interface ConnectorOperator {
/**
* The operation to be performed on the provided Amplitude source fields.
*/
Amplitude?: AmplitudeConnectorOperator;
/**
* The operation to be performed on the provided Datadog source fields.
*/
Datadog?: DatadogConnectorOperator;
/**
* The operation to be performed on the provided Dynatrace source fields.
*/
Dynatrace?: DynatraceConnectorOperator;
/**
* The operation to be performed on the provided Google Analytics source fields.
*/
GoogleAnalytics?: GoogleAnalyticsConnectorOperator;
/**
* The operation to be performed on the provided Infor Nexus source fields.
*/
InforNexus?: InforNexusConnectorOperator;
/**
* The operation to be performed on the provided Marketo source fields.
*/
Marketo?: MarketoConnectorOperator;
/**
* The operation to be performed on the provided Amazon S3 source fields.
*/
S3?: S3ConnectorOperator;
/**
* The operation to be performed on the provided Salesforce source fields.
*/
Salesforce?: SalesforceConnectorOperator;
/**
* The operation to be performed on the provided ServiceNow source fields.
*/
ServiceNow?: ServiceNowConnectorOperator;
/**
* The operation to be performed on the provided Singular source fields.
*/
Singular?: SingularConnectorOperator;
/**
* The operation to be performed on the provided Slack source fields.
*/
Slack?: SlackConnectorOperator;
/**
* The operation to be performed on the provided Trend Micro source fields.
*/
Trendmicro?: TrendmicroConnectorOperator;
/**
* The operation to be performed on the provided Veeva source fields.
*/
Veeva?: VeevaConnectorOperator;
/**
* The operation to be performed on the provided Zendesk source fields.
*/
Zendesk?: ZendeskConnectorOperator;
/**
* The operation to be performed on the provided SAPOData source fields.
*/
SAPOData?: SAPODataConnectorOperator;
/**
* Operators supported by the custom connector.
*/
CustomConnector?: Operator;
/**
* The operation to be performed on the provided Salesforce Pardot source fields.
*/
Pardot?: PardotConnectorOperator;
}
export type ConnectorOwner = string;
export interface ConnectorProfile {
/**
* The Amazon Resource Name (ARN) of the connector profile.
*/
connectorProfileArn?: ConnectorProfileArn;
/**
* The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account.
*/
connectorProfileName?: ConnectorProfileName;
/**
* The type of connector, such as Salesforce, Amplitude, and so on.
*/
connectorType?: ConnectorType;
/**
* The label for the connector profile being created.
*/
connectorLabel?: ConnectorLabel;
/**
* Indicates the connection mode and if it is public or private.
*/
connectionMode?: ConnectionMode;
/**
* The Amazon Resource Name (ARN) of the connector profile credentials.
*/
credentialsArn?: ARN;
/**
* The connector-specific properties of the profile configuration.
*/
connectorProfileProperties?: ConnectorProfileProperties;
/**
* Specifies when the connector profile was created.
*/
createdAt?: _Date;
/**
* Specifies when the connector profile was last updated.
*/
lastUpdatedAt?: _Date;
/**
* Specifies the private connection provisioning state.
*/
privateConnectionProvisioningState?: PrivateConnectionProvisioningState;
}
export type ConnectorProfileArn = string;
export interface ConnectorProfileConfig {
/**
* The connector-specific properties of the profile configuration.
*/
connectorProfileProperties: ConnectorProfileProperties;
/**
* The connector-specific credentials required by each connector.
*/
connectorProfileCredentials?: ConnectorProfileCredentials;
}
export interface ConnectorProfileCredentials {
/**
* The connector-specific credentials required when using Amplitude.
*/
Amplitude?: AmplitudeConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Datadog.
*/
Datadog?: DatadogConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Dynatrace.
*/
Dynatrace?: DynatraceConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Google Analytics.
*/
GoogleAnalytics?: GoogleAnalyticsConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Amazon Honeycode.
*/
Honeycode?: HoneycodeConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Infor Nexus.
*/
InforNexus?: InforNexusConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Marketo.
*/
Marketo?: MarketoConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Amazon Redshift.
*/
Redshift?: RedshiftConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Salesforce.
*/
Salesforce?: SalesforceConnectorProfileCredentials;
/**
* The connector-specific credentials required when using ServiceNow.
*/
ServiceNow?: ServiceNowConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Singular.
*/
Singular?: SingularConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Slack.
*/
Slack?: SlackConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Snowflake.
*/
Snowflake?: SnowflakeConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Trend Micro.
*/
Trendmicro?: TrendmicroConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Veeva.
*/
Veeva?: VeevaConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Zendesk.
*/
Zendesk?: ZendeskConnectorProfileCredentials;
SAPOData?: SAPODataConnectorProfileCredentials;
CustomConnector?: CustomConnectorProfileCredentials;
/**
* The connector-specific credentials required when using Salesforce Pardot.
*/
Pardot?: PardotConnectorProfileCredentials;
}
export type ConnectorProfileDetailList = ConnectorProfile[];
export type ConnectorProfileName = string;
export type ConnectorProfileNameList = ConnectorProfileName[];
export interface ConnectorProfileProperties {
/**
* The connector-specific properties required by Amplitude.
*/
Amplitude?: AmplitudeConnectorProfileProperties;
/**
* The connector-specific properties required by Datadog.
*/
Datadog?: DatadogConnectorProfileProperties;
/**
* The connector-specific properties required by Dynatrace.
*/
Dynatrace?: DynatraceConnectorProfileProperties;
/**
* The connector-specific properties required Google Analytics.
*/
GoogleAnalytics?: GoogleAnalyticsConnectorProfileProperties;
/**
* The connector-specific properties required by Amazon Honeycode.
*/
Honeycode?: HoneycodeConnectorProfileProperties;
/**
* The connector-specific properties required by Infor Nexus.
*/
InforNexus?: InforNexusConnectorProfileProperties;
/**
* The connector-specific properties required by Marketo.
*/
Marketo?: MarketoConnectorProfileProperties;
/**
* The connector-specific properties required by Amazon Redshift.
*/
Redshift?: RedshiftConnectorProfileProperties;
/**
* The connector-specific properties required by Salesforce.
*/
Salesforce?: SalesforceConnectorProfileProperties;
/**
* The connector-specific properties required by serviceNow.
*/
ServiceNow?: ServiceNowConnectorProfileProperties;
/**
* The connector-specific properties required by Singular.
*/
Singular?: SingularConnectorProfileProperties;
/**
* The connector-specific properties required by Slack.
*/
Slack?: SlackConnectorProfileProperties;
/**
* The connector-specific properties required by Snowflake.
*/
Snowflake?: SnowflakeConnectorProfileProperties;
/**
* The connector-specific properties required by Trend Micro.
*/
Trendmicro?: TrendmicroConnectorProfileProperties;
/**
* The connector-specific properties required by Veeva.
*/
Veeva?: VeevaConnectorProfileProperties;
/**
* The connector-specific properties required by Zendesk.
*/
Zendesk?: ZendeskConnectorProfileProperties;
SAPOData?: SAPODataConnectorProfileProperties;
/**
* The properties required by the custom connector.
*/
CustomConnector?: CustomConnectorProfileProperties;
/**
* The connector-specific properties required by Salesforce Pardot.
*/
Pardot?: PardotConnectorProfileProperties;
}
export interface ConnectorProvisioningConfig {
/**
* Contains information about the configuration of the lambda which is being registered as the connector.
*/
lambda?: LambdaConnectorProvisioningConfig;
}
export type ConnectorProvisioningType = "LAMBDA"|string;
export interface ConnectorRuntimeSetting {
/**
* Contains value information about the connector runtime setting.
*/
key?: Key;
/**
* Data type of the connector runtime setting.
*/
dataType?: ConnectorRuntimeSettingDataType;
/**
* Indicates whether this connector runtime setting is required.
*/
isRequired?: Boolean;
/**
* A label used for connector runtime setting.
*/
label?: Label;
/**
* A description about the connector runtime setting.
*/
description?: Description;
/**
* Indicates the scope of the connector runtime setting.
*/
scope?: ConnectorRuntimeSettingScope;
/**
* Contains default values for the connector runtime setting that are supplied by the connector.
*/
connectorSuppliedValueOptions?: ConnectorSuppliedValueOptionList;
}
export type ConnectorRuntimeSettingDataType = string;
export type ConnectorRuntimeSettingList = ConnectorRuntimeSetting[];
export type ConnectorRuntimeSettingScope = string;
export type ConnectorSuppliedValue = string;
export type ConnectorSuppliedValueList = ConnectorSuppliedValue[];
export type ConnectorSuppliedValueOptionList = ConnectorSuppliedValue[];
export type ConnectorType = "Salesforce"|"Singular"|"Slack"|"Redshift"|"S3"|"Marketo"|"Googleanalytics"|"Zendesk"|"Servicenow"|"Datadog"|"Trendmicro"|"Snowflake"|"Dynatrace"|"Infornexus"|"Amplitude"|"Veeva"|"EventBridge"|"LookoutMetrics"|"Upsolver"|"Honeycode"|"CustomerProfiles"|"SAPOData"|"CustomConnector"|"Pardot"|string;
export type ConnectorTypeList = ConnectorType[];
export type ConnectorVersion = string;
export interface CreateConnectorProfileRequest {
/**
* The name of the connector profile. The name is unique for each ConnectorProfile in your Amazon Web Services account.
*/
connectorProfileName: ConnectorProfileName;
/**
* 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.
*/
kmsArn?: KMSArn;
/**
* The type of connector, such as Salesforce, Amplitude, and so on.
*/
connectorType: ConnectorType;
/**
* The label of the connector. The label is unique for each ConnectorRegistration in your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/.
*/
connectorLabel?: ConnectorLabel;
/**
* 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.
*/
connectionMode: ConnectionMode;
/**
* Defines the connector-specific configur