appflow.d.ts 149 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class Appflow extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Appflow.Types.ClientConfiguration)
  13. config: Config & Appflow.Types.ClientConfiguration;
  14. /**
  15. * 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.
  16. */
  17. cancelFlowExecutions(params: Appflow.Types.CancelFlowExecutionsRequest, callback?: (err: AWSError, data: Appflow.Types.CancelFlowExecutionsResponse) => void): Request<Appflow.Types.CancelFlowExecutionsResponse, AWSError>;
  18. /**
  19. * 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.
  20. */
  21. cancelFlowExecutions(callback?: (err: AWSError, data: Appflow.Types.CancelFlowExecutionsResponse) => void): Request<Appflow.Types.CancelFlowExecutionsResponse, AWSError>;
  22. /**
  23. * 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.
  24. */
  25. createConnectorProfile(params: Appflow.Types.CreateConnectorProfileRequest, callback?: (err: AWSError, data: Appflow.Types.CreateConnectorProfileResponse) => void): Request<Appflow.Types.CreateConnectorProfileResponse, AWSError>;
  26. /**
  27. * 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.
  28. */
  29. createConnectorProfile(callback?: (err: AWSError, data: Appflow.Types.CreateConnectorProfileResponse) => void): Request<Appflow.Types.CreateConnectorProfileResponse, AWSError>;
  30. /**
  31. * 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.
  32. */
  33. createFlow(params: Appflow.Types.CreateFlowRequest, callback?: (err: AWSError, data: Appflow.Types.CreateFlowResponse) => void): Request<Appflow.Types.CreateFlowResponse, AWSError>;
  34. /**
  35. * 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.
  36. */
  37. createFlow(callback?: (err: AWSError, data: Appflow.Types.CreateFlowResponse) => void): Request<Appflow.Types.CreateFlowResponse, AWSError>;
  38. /**
  39. * Enables you to delete an existing connector profile.
  40. */
  41. deleteConnectorProfile(params: Appflow.Types.DeleteConnectorProfileRequest, callback?: (err: AWSError, data: Appflow.Types.DeleteConnectorProfileResponse) => void): Request<Appflow.Types.DeleteConnectorProfileResponse, AWSError>;
  42. /**
  43. * Enables you to delete an existing connector profile.
  44. */
  45. deleteConnectorProfile(callback?: (err: AWSError, data: Appflow.Types.DeleteConnectorProfileResponse) => void): Request<Appflow.Types.DeleteConnectorProfileResponse, AWSError>;
  46. /**
  47. * 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.
  48. */
  49. deleteFlow(params: Appflow.Types.DeleteFlowRequest, callback?: (err: AWSError, data: Appflow.Types.DeleteFlowResponse) => void): Request<Appflow.Types.DeleteFlowResponse, AWSError>;
  50. /**
  51. * 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.
  52. */
  53. deleteFlow(callback?: (err: AWSError, data: Appflow.Types.DeleteFlowResponse) => void): Request<Appflow.Types.DeleteFlowResponse, AWSError>;
  54. /**
  55. * 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.
  56. */
  57. describeConnector(params: Appflow.Types.DescribeConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorResponse) => void): Request<Appflow.Types.DescribeConnectorResponse, AWSError>;
  58. /**
  59. * 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.
  60. */
  61. describeConnector(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorResponse) => void): Request<Appflow.Types.DescribeConnectorResponse, AWSError>;
  62. /**
  63. * Provides details regarding the entity used with the connector, with a description of the data model for each field in that entity.
  64. */
  65. describeConnectorEntity(params: Appflow.Types.DescribeConnectorEntityRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorEntityResponse) => void): Request<Appflow.Types.DescribeConnectorEntityResponse, AWSError>;
  66. /**
  67. * Provides details regarding the entity used with the connector, with a description of the data model for each field in that entity.
  68. */
  69. describeConnectorEntity(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorEntityResponse) => void): Request<Appflow.Types.DescribeConnectorEntityResponse, AWSError>;
  70. /**
  71. * 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.
  72. */
  73. describeConnectorProfiles(params: Appflow.Types.DescribeConnectorProfilesRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorProfilesResponse) => void): Request<Appflow.Types.DescribeConnectorProfilesResponse, AWSError>;
  74. /**
  75. * 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.
  76. */
  77. describeConnectorProfiles(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorProfilesResponse) => void): Request<Appflow.Types.DescribeConnectorProfilesResponse, AWSError>;
  78. /**
  79. * 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.
  80. */
  81. describeConnectors(params: Appflow.Types.DescribeConnectorsRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorsResponse) => void): Request<Appflow.Types.DescribeConnectorsResponse, AWSError>;
  82. /**
  83. * 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.
  84. */
  85. describeConnectors(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorsResponse) => void): Request<Appflow.Types.DescribeConnectorsResponse, AWSError>;
  86. /**
  87. * Provides a description of the specified flow.
  88. */
  89. describeFlow(params: Appflow.Types.DescribeFlowRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeFlowResponse) => void): Request<Appflow.Types.DescribeFlowResponse, AWSError>;
  90. /**
  91. * Provides a description of the specified flow.
  92. */
  93. describeFlow(callback?: (err: AWSError, data: Appflow.Types.DescribeFlowResponse) => void): Request<Appflow.Types.DescribeFlowResponse, AWSError>;
  94. /**
  95. * Fetches the execution history of the flow.
  96. */
  97. describeFlowExecutionRecords(params: Appflow.Types.DescribeFlowExecutionRecordsRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeFlowExecutionRecordsResponse) => void): Request<Appflow.Types.DescribeFlowExecutionRecordsResponse, AWSError>;
  98. /**
  99. * Fetches the execution history of the flow.
  100. */
  101. describeFlowExecutionRecords(callback?: (err: AWSError, data: Appflow.Types.DescribeFlowExecutionRecordsResponse) => void): Request<Appflow.Types.DescribeFlowExecutionRecordsResponse, AWSError>;
  102. /**
  103. * 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.
  104. */
  105. listConnectorEntities(params: Appflow.Types.ListConnectorEntitiesRequest, callback?: (err: AWSError, data: Appflow.Types.ListConnectorEntitiesResponse) => void): Request<Appflow.Types.ListConnectorEntitiesResponse, AWSError>;
  106. /**
  107. * 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.
  108. */
  109. listConnectorEntities(callback?: (err: AWSError, data: Appflow.Types.ListConnectorEntitiesResponse) => void): Request<Appflow.Types.ListConnectorEntitiesResponse, AWSError>;
  110. /**
  111. * 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.
  112. */
  113. listConnectors(params: Appflow.Types.ListConnectorsRequest, callback?: (err: AWSError, data: Appflow.Types.ListConnectorsResponse) => void): Request<Appflow.Types.ListConnectorsResponse, AWSError>;
  114. /**
  115. * 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.
  116. */
  117. listConnectors(callback?: (err: AWSError, data: Appflow.Types.ListConnectorsResponse) => void): Request<Appflow.Types.ListConnectorsResponse, AWSError>;
  118. /**
  119. * Lists all of the flows associated with your account.
  120. */
  121. listFlows(params: Appflow.Types.ListFlowsRequest, callback?: (err: AWSError, data: Appflow.Types.ListFlowsResponse) => void): Request<Appflow.Types.ListFlowsResponse, AWSError>;
  122. /**
  123. * Lists all of the flows associated with your account.
  124. */
  125. listFlows(callback?: (err: AWSError, data: Appflow.Types.ListFlowsResponse) => void): Request<Appflow.Types.ListFlowsResponse, AWSError>;
  126. /**
  127. * Retrieves the tags that are associated with a specified flow.
  128. */
  129. listTagsForResource(params: Appflow.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Appflow.Types.ListTagsForResourceResponse) => void): Request<Appflow.Types.ListTagsForResourceResponse, AWSError>;
  130. /**
  131. * Retrieves the tags that are associated with a specified flow.
  132. */
  133. listTagsForResource(callback?: (err: AWSError, data: Appflow.Types.ListTagsForResourceResponse) => void): Request<Appflow.Types.ListTagsForResourceResponse, AWSError>;
  134. /**
  135. * 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.
  136. */
  137. registerConnector(params: Appflow.Types.RegisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request<Appflow.Types.RegisterConnectorResponse, AWSError>;
  138. /**
  139. * 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.
  140. */
  141. registerConnector(callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request<Appflow.Types.RegisterConnectorResponse, AWSError>;
  142. /**
  143. * 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.
  144. */
  145. resetConnectorMetadataCache(params: Appflow.Types.ResetConnectorMetadataCacheRequest, callback?: (err: AWSError, data: Appflow.Types.ResetConnectorMetadataCacheResponse) => void): Request<Appflow.Types.ResetConnectorMetadataCacheResponse, AWSError>;
  146. /**
  147. * 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.
  148. */
  149. resetConnectorMetadataCache(callback?: (err: AWSError, data: Appflow.Types.ResetConnectorMetadataCacheResponse) => void): Request<Appflow.Types.ResetConnectorMetadataCacheResponse, AWSError>;
  150. /**
  151. * 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.
  152. */
  153. startFlow(params: Appflow.Types.StartFlowRequest, callback?: (err: AWSError, data: Appflow.Types.StartFlowResponse) => void): Request<Appflow.Types.StartFlowResponse, AWSError>;
  154. /**
  155. * 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.
  156. */
  157. startFlow(callback?: (err: AWSError, data: Appflow.Types.StartFlowResponse) => void): Request<Appflow.Types.StartFlowResponse, AWSError>;
  158. /**
  159. * 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.
  160. */
  161. stopFlow(params: Appflow.Types.StopFlowRequest, callback?: (err: AWSError, data: Appflow.Types.StopFlowResponse) => void): Request<Appflow.Types.StopFlowResponse, AWSError>;
  162. /**
  163. * 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.
  164. */
  165. stopFlow(callback?: (err: AWSError, data: Appflow.Types.StopFlowResponse) => void): Request<Appflow.Types.StopFlowResponse, AWSError>;
  166. /**
  167. * Applies a tag to the specified flow.
  168. */
  169. tagResource(params: Appflow.Types.TagResourceRequest, callback?: (err: AWSError, data: Appflow.Types.TagResourceResponse) => void): Request<Appflow.Types.TagResourceResponse, AWSError>;
  170. /**
  171. * Applies a tag to the specified flow.
  172. */
  173. tagResource(callback?: (err: AWSError, data: Appflow.Types.TagResourceResponse) => void): Request<Appflow.Types.TagResourceResponse, AWSError>;
  174. /**
  175. * Unregisters the custom connector registered in your account that matches the connector label provided in the request.
  176. */
  177. unregisterConnector(params: Appflow.Types.UnregisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request<Appflow.Types.UnregisterConnectorResponse, AWSError>;
  178. /**
  179. * Unregisters the custom connector registered in your account that matches the connector label provided in the request.
  180. */
  181. unregisterConnector(callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request<Appflow.Types.UnregisterConnectorResponse, AWSError>;
  182. /**
  183. * Removes a tag from the specified flow.
  184. */
  185. untagResource(params: Appflow.Types.UntagResourceRequest, callback?: (err: AWSError, data: Appflow.Types.UntagResourceResponse) => void): Request<Appflow.Types.UntagResourceResponse, AWSError>;
  186. /**
  187. * Removes a tag from the specified flow.
  188. */
  189. untagResource(callback?: (err: AWSError, data: Appflow.Types.UntagResourceResponse) => void): Request<Appflow.Types.UntagResourceResponse, AWSError>;
  190. /**
  191. * Updates a given connector profile associated with your account.
  192. */
  193. updateConnectorProfile(params: Appflow.Types.UpdateConnectorProfileRequest, callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorProfileResponse) => void): Request<Appflow.Types.UpdateConnectorProfileResponse, AWSError>;
  194. /**
  195. * Updates a given connector profile associated with your account.
  196. */
  197. updateConnectorProfile(callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorProfileResponse) => void): Request<Appflow.Types.UpdateConnectorProfileResponse, AWSError>;
  198. /**
  199. * 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
  200. */
  201. updateConnectorRegistration(params: Appflow.Types.UpdateConnectorRegistrationRequest, callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorRegistrationResponse) => void): Request<Appflow.Types.UpdateConnectorRegistrationResponse, AWSError>;
  202. /**
  203. * 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
  204. */
  205. updateConnectorRegistration(callback?: (err: AWSError, data: Appflow.Types.UpdateConnectorRegistrationResponse) => void): Request<Appflow.Types.UpdateConnectorRegistrationResponse, AWSError>;
  206. /**
  207. * Updates an existing flow.
  208. */
  209. updateFlow(params: Appflow.Types.UpdateFlowRequest, callback?: (err: AWSError, data: Appflow.Types.UpdateFlowResponse) => void): Request<Appflow.Types.UpdateFlowResponse, AWSError>;
  210. /**
  211. * Updates an existing flow.
  212. */
  213. updateFlow(callback?: (err: AWSError, data: Appflow.Types.UpdateFlowResponse) => void): Request<Appflow.Types.UpdateFlowResponse, AWSError>;
  214. }
  215. declare namespace Appflow {
  216. export type ARN = string;
  217. export type AccessKeyId = string;
  218. export type AccessToken = string;
  219. export type AccountName = string;
  220. export interface AggregationConfig {
  221. /**
  222. * Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
  223. */
  224. aggregationType?: AggregationType;
  225. /**
  226. * 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.
  227. */
  228. targetFileSize?: Long;
  229. }
  230. export type AggregationType = "None"|"SingleFile"|string;
  231. export type AmplitudeConnectorOperator = "BETWEEN"|string;
  232. export interface AmplitudeConnectorProfileCredentials {
  233. /**
  234. * A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
  235. */
  236. apiKey: ApiKey;
  237. /**
  238. * The Secret Access Key portion of the credentials.
  239. */
  240. secretKey: SecretKey;
  241. }
  242. export interface AmplitudeConnectorProfileProperties {
  243. }
  244. export interface AmplitudeMetadata {
  245. }
  246. export interface AmplitudeSourceProperties {
  247. /**
  248. * The object specified in the Amplitude flow source.
  249. */
  250. object: Object;
  251. }
  252. export type ApiKey = string;
  253. export interface ApiKeyCredentials {
  254. /**
  255. * The API key required for API key authentication.
  256. */
  257. apiKey: ApiKey;
  258. /**
  259. * The API secret key required for API key authentication.
  260. */
  261. apiSecretKey?: ApiSecretKey;
  262. }
  263. export type ApiSecretKey = string;
  264. export type ApiToken = string;
  265. export type ApiVersion = string;
  266. export type ApplicationHostUrl = string;
  267. export type ApplicationKey = string;
  268. export type ApplicationServicePath = string;
  269. export type ApplicationType = string;
  270. export type AuthCode = string;
  271. export type AuthCodeUrl = string;
  272. export type AuthCodeUrlList = AuthCodeUrl[];
  273. export interface AuthParameter {
  274. /**
  275. * The authentication key required to authenticate with the connector.
  276. */
  277. key?: Key;
  278. /**
  279. * Indicates whether this authentication parameter is required.
  280. */
  281. isRequired?: Boolean;
  282. /**
  283. * Label used for authentication parameter.
  284. */
  285. label?: Label;
  286. /**
  287. * A description about the authentication parameter.
  288. */
  289. description?: Description;
  290. /**
  291. * Indicates whether this authentication parameter is a sensitive field.
  292. */
  293. isSensitiveField?: Boolean;
  294. /**
  295. * Contains default values for this authentication parameter that are supplied by the connector.
  296. */
  297. connectorSuppliedValues?: ConnectorSuppliedValueList;
  298. }
  299. export type AuthParameterList = AuthParameter[];
  300. export interface AuthenticationConfig {
  301. /**
  302. * Indicates whether basic authentication is supported by the connector.
  303. */
  304. isBasicAuthSupported?: Boolean;
  305. /**
  306. * Indicates whether API key authentication is supported by the connector
  307. */
  308. isApiKeyAuthSupported?: Boolean;
  309. /**
  310. * Indicates whether OAuth 2.0 authentication is supported by the connector.
  311. */
  312. isOAuth2Supported?: Boolean;
  313. /**
  314. * Indicates whether custom authentication is supported by the connector
  315. */
  316. isCustomAuthSupported?: Boolean;
  317. /**
  318. * Contains the default values required for OAuth 2.0 authentication.
  319. */
  320. oAuth2Defaults?: OAuth2Defaults;
  321. /**
  322. * Contains information required for custom authentication.
  323. */
  324. customAuthConfigs?: CustomAuthConfigList;
  325. }
  326. export type AuthenticationType = "OAUTH2"|"APIKEY"|"BASIC"|"CUSTOM"|string;
  327. export interface BasicAuthCredentials {
  328. /**
  329. * The username to use to connect to a resource.
  330. */
  331. username: Username;
  332. /**
  333. * The password to use to connect to a resource.
  334. */
  335. password: Password;
  336. }
  337. export type Boolean = boolean;
  338. export type BucketName = string;
  339. export type BucketPrefix = string;
  340. export type BusinessUnitId = string;
  341. export interface CancelFlowExecutionsRequest {
  342. /**
  343. * The name of a flow with active runs that you want to cancel.
  344. */
  345. flowName: FlowName;
  346. /**
  347. * 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.
  348. */
  349. executionIds?: ExecutionIds;
  350. }
  351. export interface CancelFlowExecutionsResponse {
  352. /**
  353. * 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.
  354. */
  355. invalidExecutions?: ExecutionIds;
  356. }
  357. export type CatalogType = "GLUE"|string;
  358. export type ClientCredentialsArn = string;
  359. export type ClientId = string;
  360. export type ClientNumber = string;
  361. export type ClientSecret = string;
  362. export type ClientToken = string;
  363. export type ClusterIdentifier = string;
  364. export type ConnectionMode = "Public"|"Private"|string;
  365. export interface ConnectorConfiguration {
  366. /**
  367. * Specifies whether the connector can be used as a source.
  368. */
  369. canUseAsSource?: Boolean;
  370. /**
  371. * Specifies whether the connector can be used as a destination.
  372. */
  373. canUseAsDestination?: Boolean;
  374. /**
  375. * Lists the connectors that are available for use as destinations.
  376. */
  377. supportedDestinationConnectors?: ConnectorTypeList;
  378. /**
  379. * Specifies the supported flow frequency for that connector.
  380. */
  381. supportedSchedulingFrequencies?: SchedulingFrequencyTypeList;
  382. /**
  383. * Specifies if PrivateLink is enabled for that connector.
  384. */
  385. isPrivateLinkEnabled?: Boolean;
  386. /**
  387. * Specifies if a PrivateLink endpoint URL is required.
  388. */
  389. isPrivateLinkEndpointUrlRequired?: Boolean;
  390. /**
  391. * Specifies the supported trigger types for the flow.
  392. */
  393. supportedTriggerTypes?: TriggerTypeList;
  394. /**
  395. * Specifies connector-specific metadata such as oAuthScopes, supportedRegions, privateLinkServiceUrl, and so on.
  396. */
  397. connectorMetadata?: ConnectorMetadata;
  398. /**
  399. * The connector type.
  400. */
  401. connectorType?: ConnectorType;
  402. /**
  403. * The label used for registering the connector.
  404. */
  405. connectorLabel?: ConnectorLabel;
  406. /**
  407. * A description about the connector.
  408. */
  409. connectorDescription?: ConnectorDescription;
  410. /**
  411. * The owner who developed the connector.
  412. */
  413. connectorOwner?: ConnectorOwner;
  414. /**
  415. * The connector name.
  416. */
  417. connectorName?: ConnectorName;
  418. /**
  419. * The connector version.
  420. */
  421. connectorVersion?: ConnectorVersion;
  422. /**
  423. * The Amazon Resource Name (ARN) for the registered connector.
  424. */
  425. connectorArn?: ARN;
  426. /**
  427. * The connection modes that the connector supports.
  428. */
  429. connectorModes?: ConnectorModeList;
  430. /**
  431. * The authentication config required for the connector.
  432. */
  433. authenticationConfig?: AuthenticationConfig;
  434. /**
  435. * The required connector runtime settings.
  436. */
  437. connectorRuntimeSettings?: ConnectorRuntimeSettingList;
  438. /**
  439. * A list of API versions that are supported by the connector.
  440. */
  441. supportedApiVersions?: SupportedApiVersionList;
  442. /**
  443. * A list of operators supported by the connector.
  444. */
  445. supportedOperators?: SupportedOperatorList;
  446. /**
  447. * A list of write operations supported by the connector.
  448. */
  449. supportedWriteOperations?: SupportedWriteOperationList;
  450. /**
  451. * The provisioning type used to register the connector.
  452. */
  453. connectorProvisioningType?: ConnectorProvisioningType;
  454. /**
  455. * The configuration required for registering the connector.
  456. */
  457. connectorProvisioningConfig?: ConnectorProvisioningConfig;
  458. /**
  459. * Logo URL of the connector.
  460. */
  461. logoURL?: LogoURL;
  462. /**
  463. * The date on which the connector was registered.
  464. */
  465. registeredAt?: _Date;
  466. /**
  467. * Information about who registered the connector.
  468. */
  469. registeredBy?: RegisteredBy;
  470. /**
  471. * The data transfer types that the connector supports. RECORD Structured records. FILE Files or binary data.
  472. */
  473. supportedDataTransferTypes?: SupportedDataTransferTypeList;
  474. /**
  475. * The APIs of the connector application that Amazon AppFlow can use to transfer your data.
  476. */
  477. supportedDataTransferApis?: SupportedDataTransferApis;
  478. }
  479. export type ConnectorConfigurationsMap = {[key: string]: ConnectorConfiguration};
  480. export type ConnectorDescription = string;
  481. export interface ConnectorDetail {
  482. /**
  483. * A description about the registered connector.
  484. */
  485. connectorDescription?: ConnectorDescription;
  486. /**
  487. * The name of the connector.
  488. */
  489. connectorName?: ConnectorName;
  490. /**
  491. * The owner of the connector.
  492. */
  493. connectorOwner?: ConnectorOwner;
  494. /**
  495. * The connector version.
  496. */
  497. connectorVersion?: ConnectorVersion;
  498. /**
  499. * The application type of the connector.
  500. */
  501. applicationType?: ApplicationType;
  502. /**
  503. * The connector type.
  504. */
  505. connectorType?: ConnectorType;
  506. /**
  507. * A label used for the connector.
  508. */
  509. connectorLabel?: ConnectorLabel;
  510. /**
  511. * The time at which the connector was registered.
  512. */
  513. registeredAt?: _Date;
  514. /**
  515. * The user who registered the connector.
  516. */
  517. registeredBy?: RegisteredBy;
  518. /**
  519. * The provisioning type that the connector uses.
  520. */
  521. connectorProvisioningType?: ConnectorProvisioningType;
  522. /**
  523. * The connection mode that the connector supports.
  524. */
  525. connectorModes?: ConnectorModeList;
  526. /**
  527. * The data transfer types that the connector supports. RECORD Structured records. FILE Files or binary data.
  528. */
  529. supportedDataTransferTypes?: SupportedDataTransferTypeList;
  530. }
  531. export interface ConnectorEntity {
  532. /**
  533. * The name of the connector entity.
  534. */
  535. name: Name;
  536. /**
  537. * The label applied to the connector entity.
  538. */
  539. label?: Label;
  540. /**
  541. * 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.
  542. */
  543. hasNestedEntities?: Boolean;
  544. }
  545. export interface ConnectorEntityField {
  546. /**
  547. * The unique identifier of the connector field.
  548. */
  549. identifier: Identifier;
  550. /**
  551. * The parent identifier of the connector field.
  552. */
  553. parentIdentifier?: Identifier;
  554. /**
  555. * The label applied to a connector entity field.
  556. */
  557. label?: Label;
  558. /**
  559. * Booelan value that indicates whether this field can be used as a primary key.
  560. */
  561. isPrimaryKey?: Boolean;
  562. /**
  563. * Default value that can be assigned to this field.
  564. */
  565. defaultValue?: String;
  566. /**
  567. * Booelan value that indicates whether this field is deprecated or not.
  568. */
  569. isDeprecated?: Boolean;
  570. /**
  571. * Contains details regarding the supported FieldType, including the corresponding filterOperators and supportedValues.
  572. */
  573. supportedFieldTypeDetails?: SupportedFieldTypeDetails;
  574. /**
  575. * A description of the connector entity field.
  576. */
  577. description?: Description;
  578. /**
  579. * The properties that can be applied to a field when the connector is being used as a source.
  580. */
  581. sourceProperties?: SourceFieldProperties;
  582. /**
  583. * The properties applied to a field when the connector is being used as a destination.
  584. */
  585. destinationProperties?: DestinationFieldProperties;
  586. /**
  587. * A map that has specific properties related to the ConnectorEntityField.
  588. */
  589. customProperties?: CustomProperties;
  590. }
  591. export type ConnectorEntityFieldList = ConnectorEntityField[];
  592. export type ConnectorEntityList = ConnectorEntity[];
  593. export type ConnectorEntityMap = {[key: string]: ConnectorEntityList};
  594. export type ConnectorLabel = string;
  595. export type ConnectorList = ConnectorDetail[];
  596. export interface ConnectorMetadata {
  597. /**
  598. * The connector metadata specific to Amplitude.
  599. */
  600. Amplitude?: AmplitudeMetadata;
  601. /**
  602. * The connector metadata specific to Datadog.
  603. */
  604. Datadog?: DatadogMetadata;
  605. /**
  606. * The connector metadata specific to Dynatrace.
  607. */
  608. Dynatrace?: DynatraceMetadata;
  609. /**
  610. * The connector metadata specific to Google Analytics.
  611. */
  612. GoogleAnalytics?: GoogleAnalyticsMetadata;
  613. /**
  614. * The connector metadata specific to Infor Nexus.
  615. */
  616. InforNexus?: InforNexusMetadata;
  617. /**
  618. * The connector metadata specific to Marketo.
  619. */
  620. Marketo?: MarketoMetadata;
  621. /**
  622. * The connector metadata specific to Amazon Redshift.
  623. */
  624. Redshift?: RedshiftMetadata;
  625. /**
  626. * The connector metadata specific to Amazon S3.
  627. */
  628. S3?: S3Metadata;
  629. /**
  630. * The connector metadata specific to Salesforce.
  631. */
  632. Salesforce?: SalesforceMetadata;
  633. /**
  634. * The connector metadata specific to ServiceNow.
  635. */
  636. ServiceNow?: ServiceNowMetadata;
  637. /**
  638. * The connector metadata specific to Singular.
  639. */
  640. Singular?: SingularMetadata;
  641. /**
  642. * The connector metadata specific to Slack.
  643. */
  644. Slack?: SlackMetadata;
  645. /**
  646. * The connector metadata specific to Snowflake.
  647. */
  648. Snowflake?: SnowflakeMetadata;
  649. /**
  650. * The connector metadata specific to Trend Micro.
  651. */
  652. Trendmicro?: TrendmicroMetadata;
  653. /**
  654. * The connector metadata specific to Veeva.
  655. */
  656. Veeva?: VeevaMetadata;
  657. /**
  658. * The connector metadata specific to Zendesk.
  659. */
  660. Zendesk?: ZendeskMetadata;
  661. /**
  662. * The connector metadata specific to Amazon EventBridge.
  663. */
  664. EventBridge?: EventBridgeMetadata;
  665. /**
  666. * The connector metadata specific to Upsolver.
  667. */
  668. Upsolver?: UpsolverMetadata;
  669. /**
  670. * The connector metadata specific to Amazon Connect Customer Profiles.
  671. */
  672. CustomerProfiles?: CustomerProfilesMetadata;
  673. /**
  674. * The connector metadata specific to Amazon Honeycode.
  675. */
  676. Honeycode?: HoneycodeMetadata;
  677. SAPOData?: SAPODataMetadata;
  678. /**
  679. * The connector metadata specific to Salesforce Pardot.
  680. */
  681. Pardot?: PardotMetadata;
  682. }
  683. export type ConnectorMode = string;
  684. export type ConnectorModeList = ConnectorMode[];
  685. export type ConnectorName = string;
  686. export interface ConnectorOAuthRequest {
  687. /**
  688. * The code provided by the connector when it has been authenticated via the connected app.
  689. */
  690. authCode?: AuthCode;
  691. /**
  692. * The URL to which the authentication server redirects the browser after authorization has been granted.
  693. */
  694. redirectUri?: RedirectUri;
  695. }
  696. export interface ConnectorOperator {
  697. /**
  698. * The operation to be performed on the provided Amplitude source fields.
  699. */
  700. Amplitude?: AmplitudeConnectorOperator;
  701. /**
  702. * The operation to be performed on the provided Datadog source fields.
  703. */
  704. Datadog?: DatadogConnectorOperator;
  705. /**
  706. * The operation to be performed on the provided Dynatrace source fields.
  707. */
  708. Dynatrace?: DynatraceConnectorOperator;
  709. /**
  710. * The operation to be performed on the provided Google Analytics source fields.
  711. */
  712. GoogleAnalytics?: GoogleAnalyticsConnectorOperator;
  713. /**
  714. * The operation to be performed on the provided Infor Nexus source fields.
  715. */
  716. InforNexus?: InforNexusConnectorOperator;
  717. /**
  718. * The operation to be performed on the provided Marketo source fields.
  719. */
  720. Marketo?: MarketoConnectorOperator;
  721. /**
  722. * The operation to be performed on the provided Amazon S3 source fields.
  723. */
  724. S3?: S3ConnectorOperator;
  725. /**
  726. * The operation to be performed on the provided Salesforce source fields.
  727. */
  728. Salesforce?: SalesforceConnectorOperator;
  729. /**
  730. * The operation to be performed on the provided ServiceNow source fields.
  731. */
  732. ServiceNow?: ServiceNowConnectorOperator;
  733. /**
  734. * The operation to be performed on the provided Singular source fields.
  735. */
  736. Singular?: SingularConnectorOperator;
  737. /**
  738. * The operation to be performed on the provided Slack source fields.
  739. */
  740. Slack?: SlackConnectorOperator;
  741. /**
  742. * The operation to be performed on the provided Trend Micro source fields.
  743. */
  744. Trendmicro?: TrendmicroConnectorOperator;
  745. /**
  746. * The operation to be performed on the provided Veeva source fields.
  747. */
  748. Veeva?: VeevaConnectorOperator;
  749. /**
  750. * The operation to be performed on the provided Zendesk source fields.
  751. */
  752. Zendesk?: ZendeskConnectorOperator;
  753. /**
  754. * The operation to be performed on the provided SAPOData source fields.
  755. */
  756. SAPOData?: SAPODataConnectorOperator;
  757. /**
  758. * Operators supported by the custom connector.
  759. */
  760. CustomConnector?: Operator;
  761. /**
  762. * The operation to be performed on the provided Salesforce Pardot source fields.
  763. */
  764. Pardot?: PardotConnectorOperator;
  765. }
  766. export type ConnectorOwner = string;
  767. export interface ConnectorProfile {
  768. /**
  769. * The Amazon Resource Name (ARN) of the connector profile.
  770. */
  771. connectorProfileArn?: ConnectorProfileArn;
  772. /**
  773. * The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account.
  774. */
  775. connectorProfileName?: ConnectorProfileName;
  776. /**
  777. * The type of connector, such as Salesforce, Amplitude, and so on.
  778. */
  779. connectorType?: ConnectorType;
  780. /**
  781. * The label for the connector profile being created.
  782. */
  783. connectorLabel?: ConnectorLabel;
  784. /**
  785. * Indicates the connection mode and if it is public or private.
  786. */
  787. connectionMode?: ConnectionMode;
  788. /**
  789. * The Amazon Resource Name (ARN) of the connector profile credentials.
  790. */
  791. credentialsArn?: ARN;
  792. /**
  793. * The connector-specific properties of the profile configuration.
  794. */
  795. connectorProfileProperties?: ConnectorProfileProperties;
  796. /**
  797. * Specifies when the connector profile was created.
  798. */
  799. createdAt?: _Date;
  800. /**
  801. * Specifies when the connector profile was last updated.
  802. */
  803. lastUpdatedAt?: _Date;
  804. /**
  805. * Specifies the private connection provisioning state.
  806. */
  807. privateConnectionProvisioningState?: PrivateConnectionProvisioningState;
  808. }
  809. export type ConnectorProfileArn = string;
  810. export interface ConnectorProfileConfig {
  811. /**
  812. * The connector-specific properties of the profile configuration.
  813. */
  814. connectorProfileProperties: ConnectorProfileProperties;
  815. /**
  816. * The connector-specific credentials required by each connector.
  817. */
  818. connectorProfileCredentials?: ConnectorProfileCredentials;
  819. }
  820. export interface ConnectorProfileCredentials {
  821. /**
  822. * The connector-specific credentials required when using Amplitude.
  823. */
  824. Amplitude?: AmplitudeConnectorProfileCredentials;
  825. /**
  826. * The connector-specific credentials required when using Datadog.
  827. */
  828. Datadog?: DatadogConnectorProfileCredentials;
  829. /**
  830. * The connector-specific credentials required when using Dynatrace.
  831. */
  832. Dynatrace?: DynatraceConnectorProfileCredentials;
  833. /**
  834. * The connector-specific credentials required when using Google Analytics.
  835. */
  836. GoogleAnalytics?: GoogleAnalyticsConnectorProfileCredentials;
  837. /**
  838. * The connector-specific credentials required when using Amazon Honeycode.
  839. */
  840. Honeycode?: HoneycodeConnectorProfileCredentials;
  841. /**
  842. * The connector-specific credentials required when using Infor Nexus.
  843. */
  844. InforNexus?: InforNexusConnectorProfileCredentials;
  845. /**
  846. * The connector-specific credentials required when using Marketo.
  847. */
  848. Marketo?: MarketoConnectorProfileCredentials;
  849. /**
  850. * The connector-specific credentials required when using Amazon Redshift.
  851. */
  852. Redshift?: RedshiftConnectorProfileCredentials;
  853. /**
  854. * The connector-specific credentials required when using Salesforce.
  855. */
  856. Salesforce?: SalesforceConnectorProfileCredentials;
  857. /**
  858. * The connector-specific credentials required when using ServiceNow.
  859. */
  860. ServiceNow?: ServiceNowConnectorProfileCredentials;
  861. /**
  862. * The connector-specific credentials required when using Singular.
  863. */
  864. Singular?: SingularConnectorProfileCredentials;
  865. /**
  866. * The connector-specific credentials required when using Slack.
  867. */
  868. Slack?: SlackConnectorProfileCredentials;
  869. /**
  870. * The connector-specific credentials required when using Snowflake.
  871. */
  872. Snowflake?: SnowflakeConnectorProfileCredentials;
  873. /**
  874. * The connector-specific credentials required when using Trend Micro.
  875. */
  876. Trendmicro?: TrendmicroConnectorProfileCredentials;
  877. /**
  878. * The connector-specific credentials required when using Veeva.
  879. */
  880. Veeva?: VeevaConnectorProfileCredentials;
  881. /**
  882. * The connector-specific credentials required when using Zendesk.
  883. */
  884. Zendesk?: ZendeskConnectorProfileCredentials;
  885. SAPOData?: SAPODataConnectorProfileCredentials;
  886. CustomConnector?: CustomConnectorProfileCredentials;
  887. /**
  888. * The connector-specific credentials required when using Salesforce Pardot.
  889. */
  890. Pardot?: PardotConnectorProfileCredentials;
  891. }
  892. export type ConnectorProfileDetailList = ConnectorProfile[];
  893. export type ConnectorProfileName = string;
  894. export type ConnectorProfileNameList = ConnectorProfileName[];
  895. export interface ConnectorProfileProperties {
  896. /**
  897. * The connector-specific properties required by Amplitude.
  898. */
  899. Amplitude?: AmplitudeConnectorProfileProperties;
  900. /**
  901. * The connector-specific properties required by Datadog.
  902. */
  903. Datadog?: DatadogConnectorProfileProperties;
  904. /**
  905. * The connector-specific properties required by Dynatrace.
  906. */
  907. Dynatrace?: DynatraceConnectorProfileProperties;
  908. /**
  909. * The connector-specific properties required Google Analytics.
  910. */
  911. GoogleAnalytics?: GoogleAnalyticsConnectorProfileProperties;
  912. /**
  913. * The connector-specific properties required by Amazon Honeycode.
  914. */
  915. Honeycode?: HoneycodeConnectorProfileProperties;
  916. /**
  917. * The connector-specific properties required by Infor Nexus.
  918. */
  919. InforNexus?: InforNexusConnectorProfileProperties;
  920. /**
  921. * The connector-specific properties required by Marketo.
  922. */
  923. Marketo?: MarketoConnectorProfileProperties;
  924. /**
  925. * The connector-specific properties required by Amazon Redshift.
  926. */
  927. Redshift?: RedshiftConnectorProfileProperties;
  928. /**
  929. * The connector-specific properties required by Salesforce.
  930. */
  931. Salesforce?: SalesforceConnectorProfileProperties;
  932. /**
  933. * The connector-specific properties required by serviceNow.
  934. */
  935. ServiceNow?: ServiceNowConnectorProfileProperties;
  936. /**
  937. * The connector-specific properties required by Singular.
  938. */
  939. Singular?: SingularConnectorProfileProperties;
  940. /**
  941. * The connector-specific properties required by Slack.
  942. */
  943. Slack?: SlackConnectorProfileProperties;
  944. /**
  945. * The connector-specific properties required by Snowflake.
  946. */
  947. Snowflake?: SnowflakeConnectorProfileProperties;
  948. /**
  949. * The connector-specific properties required by Trend Micro.
  950. */
  951. Trendmicro?: TrendmicroConnectorProfileProperties;
  952. /**
  953. * The connector-specific properties required by Veeva.
  954. */
  955. Veeva?: VeevaConnectorProfileProperties;
  956. /**
  957. * The connector-specific properties required by Zendesk.
  958. */
  959. Zendesk?: ZendeskConnectorProfileProperties;
  960. SAPOData?: SAPODataConnectorProfileProperties;
  961. /**
  962. * The properties required by the custom connector.
  963. */
  964. CustomConnector?: CustomConnectorProfileProperties;
  965. /**
  966. * The connector-specific properties required by Salesforce Pardot.
  967. */
  968. Pardot?: PardotConnectorProfileProperties;
  969. }
  970. export interface ConnectorProvisioningConfig {
  971. /**
  972. * Contains information about the configuration of the lambda which is being registered as the connector.
  973. */
  974. lambda?: LambdaConnectorProvisioningConfig;
  975. }
  976. export type ConnectorProvisioningType = "LAMBDA"|string;
  977. export interface ConnectorRuntimeSetting {
  978. /**
  979. * Contains value information about the connector runtime setting.
  980. */
  981. key?: Key;
  982. /**
  983. * Data type of the connector runtime setting.
  984. */
  985. dataType?: ConnectorRuntimeSettingDataType;
  986. /**
  987. * Indicates whether this connector runtime setting is required.
  988. */
  989. isRequired?: Boolean;
  990. /**
  991. * A label used for connector runtime setting.
  992. */
  993. label?: Label;
  994. /**
  995. * A description about the connector runtime setting.
  996. */
  997. description?: Description;
  998. /**
  999. * Indicates the scope of the connector runtime setting.
  1000. */
  1001. scope?: ConnectorRuntimeSettingScope;
  1002. /**
  1003. * Contains default values for the connector runtime setting that are supplied by the connector.
  1004. */
  1005. connectorSuppliedValueOptions?: ConnectorSuppliedValueOptionList;
  1006. }
  1007. export type ConnectorRuntimeSettingDataType = string;
  1008. export type ConnectorRuntimeSettingList = ConnectorRuntimeSetting[];
  1009. export type ConnectorRuntimeSettingScope = string;
  1010. export type ConnectorSuppliedValue = string;
  1011. export type ConnectorSuppliedValueList = ConnectorSuppliedValue[];
  1012. export type ConnectorSuppliedValueOptionList = ConnectorSuppliedValue[];
  1013. 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;
  1014. export type ConnectorTypeList = ConnectorType[];
  1015. export type ConnectorVersion = string;
  1016. export interface CreateConnectorProfileRequest {
  1017. /**
  1018. * The name of the connector profile. The name is unique for each ConnectorProfile in your Amazon Web Services account.
  1019. */
  1020. connectorProfileName: ConnectorProfileName;
  1021. /**
  1022. * 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.
  1023. */
  1024. kmsArn?: KMSArn;
  1025. /**
  1026. * The type of connector, such as Salesforce, Amplitude, and so on.
  1027. */
  1028. connectorType: ConnectorType;
  1029. /**
  1030. * 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/.
  1031. */
  1032. connectorLabel?: ConnectorLabel;
  1033. /**
  1034. * 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.
  1035. */
  1036. connectionMode: ConnectionMode;
  1037. /**
  1038. * Defines the connector-specific configuration and credentials.
  1039. */
  1040. connectorProfileConfig: ConnectorProfileConfig;
  1041. /**
  1042. * The clientToken parameter is an idempotency token. It ensures that your CreateConnectorProfile request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value. If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases. If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to CreateConnectorProfile. The token is active for 8 hours.
  1043. */
  1044. clientToken?: ClientToken;
  1045. }
  1046. export interface CreateConnectorProfileResponse {
  1047. /**
  1048. * The Amazon Resource Name (ARN) of the connector profile.
  1049. */
  1050. connectorProfileArn?: ConnectorProfileArn;
  1051. }
  1052. export interface CreateFlowRequest {
  1053. /**
  1054. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  1055. */
  1056. flowName: FlowName;
  1057. /**
  1058. * A description of the flow you want to create.
  1059. */
  1060. description?: FlowDescription;
  1061. /**
  1062. * 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.
  1063. */
  1064. kmsArn?: KMSArn;
  1065. /**
  1066. * The trigger settings that determine how and when the flow runs.
  1067. */
  1068. triggerConfig: TriggerConfig;
  1069. /**
  1070. * The configuration that controls how Amazon AppFlow retrieves data from the source connector.
  1071. */
  1072. sourceFlowConfig: SourceFlowConfig;
  1073. /**
  1074. * The configuration that controls how Amazon AppFlow places data in the destination connector.
  1075. */
  1076. destinationFlowConfigList: DestinationFlowConfigList;
  1077. /**
  1078. * A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
  1079. */
  1080. tasks: Tasks;
  1081. /**
  1082. * The tags used to organize, track, or control access for your flow.
  1083. */
  1084. tags?: TagMap;
  1085. /**
  1086. * Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
  1087. */
  1088. metadataCatalogConfig?: MetadataCatalogConfig;
  1089. /**
  1090. * The clientToken parameter is an idempotency token. It ensures that your CreateFlow request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value. If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases. If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to CreateFlow. The token is active for 8 hours.
  1091. */
  1092. clientToken?: ClientToken;
  1093. }
  1094. export interface CreateFlowResponse {
  1095. /**
  1096. * The flow's Amazon Resource Name (ARN).
  1097. */
  1098. flowArn?: FlowArn;
  1099. /**
  1100. * Indicates the current status of the flow.
  1101. */
  1102. flowStatus?: FlowStatus;
  1103. }
  1104. export type CreatedBy = string;
  1105. export type CredentialsMap = {[key: string]: CredentialsMapValue};
  1106. export type CredentialsMapKey = string;
  1107. export type CredentialsMapValue = string;
  1108. export interface CustomAuthConfig {
  1109. /**
  1110. * The authentication type that the custom connector uses.
  1111. */
  1112. customAuthenticationType?: CustomAuthenticationType;
  1113. /**
  1114. * Information about authentication parameters required for authentication.
  1115. */
  1116. authParameters?: AuthParameterList;
  1117. }
  1118. export type CustomAuthConfigList = CustomAuthConfig[];
  1119. export interface CustomAuthCredentials {
  1120. /**
  1121. * The custom authentication type that the connector uses.
  1122. */
  1123. customAuthenticationType: CustomAuthenticationType;
  1124. /**
  1125. * A map that holds custom authentication credentials.
  1126. */
  1127. credentialsMap?: CredentialsMap;
  1128. }
  1129. export type CustomAuthenticationType = string;
  1130. export interface CustomConnectorDestinationProperties {
  1131. /**
  1132. * The entity specified in the custom connector as a destination in the flow.
  1133. */
  1134. entityName: EntityName;
  1135. /**
  1136. * The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
  1137. */
  1138. errorHandlingConfig?: ErrorHandlingConfig;
  1139. /**
  1140. * Specifies the type of write operation to be performed in the custom connector when it's used as destination.
  1141. */
  1142. writeOperationType?: WriteOperationType;
  1143. /**
  1144. * The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
  1145. */
  1146. idFieldNames?: IdFieldNameList;
  1147. /**
  1148. * The custom properties that are specific to the connector when it's used as a destination in the flow.
  1149. */
  1150. customProperties?: CustomProperties;
  1151. }
  1152. export interface CustomConnectorProfileCredentials {
  1153. /**
  1154. * The authentication type that the custom connector uses for authenticating while creating a connector profile.
  1155. */
  1156. authenticationType: AuthenticationType;
  1157. /**
  1158. * The basic credentials that are required for the authentication of the user.
  1159. */
  1160. basic?: BasicAuthCredentials;
  1161. /**
  1162. * The OAuth 2.0 credentials required for the authentication of the user.
  1163. */
  1164. oauth2?: OAuth2Credentials;
  1165. /**
  1166. * The API keys required for the authentication of the user.
  1167. */
  1168. apiKey?: ApiKeyCredentials;
  1169. /**
  1170. * If the connector uses the custom authentication mechanism, this holds the required credentials.
  1171. */
  1172. custom?: CustomAuthCredentials;
  1173. }
  1174. export interface CustomConnectorProfileProperties {
  1175. /**
  1176. * A map of properties that are required to create a profile for the custom connector.
  1177. */
  1178. profileProperties?: ProfilePropertiesMap;
  1179. oAuth2Properties?: OAuth2Properties;
  1180. }
  1181. export interface CustomConnectorSourceProperties {
  1182. /**
  1183. * The entity specified in the custom connector as a source in the flow.
  1184. */
  1185. entityName: EntityName;
  1186. /**
  1187. * Custom properties that are required to use the custom connector as a source.
  1188. */
  1189. customProperties?: CustomProperties;
  1190. /**
  1191. * The API of the connector application that Amazon AppFlow uses to transfer your data.
  1192. */
  1193. dataTransferApi?: DataTransferApi;
  1194. }
  1195. export type CustomProperties = {[key: string]: CustomPropertyValue};
  1196. export type CustomPropertyKey = string;
  1197. export type CustomPropertyValue = string;
  1198. export interface CustomerProfilesDestinationProperties {
  1199. /**
  1200. * The unique name of the Amazon Connect Customer Profiles domain.
  1201. */
  1202. domainName: DomainName;
  1203. /**
  1204. * The object specified in the Amazon Connect Customer Profiles flow destination.
  1205. */
  1206. objectTypeName?: ObjectTypeName;
  1207. }
  1208. export interface CustomerProfilesMetadata {
  1209. }
  1210. export type DataApiRoleArn = string;
  1211. export type DataPullMode = "Incremental"|"Complete"|string;
  1212. export interface DataTransferApi {
  1213. /**
  1214. * The name of the connector application API.
  1215. */
  1216. Name?: DataTransferApiTypeName;
  1217. /**
  1218. * You can specify one of the following types: AUTOMATIC The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers. SYNC A synchronous API. This type of API optimizes a flow for small to medium-sized datasets. ASYNC An asynchronous API. This type of API optimizes a flow for large datasets.
  1219. */
  1220. Type?: DataTransferApiType;
  1221. }
  1222. export type DataTransferApiType = "SYNC"|"ASYNC"|"AUTOMATIC"|string;
  1223. export type DataTransferApiTypeName = string;
  1224. export type DatabaseName = string;
  1225. export type DatabaseUrl = string;
  1226. export type DatadogConnectorOperator = "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"|string;
  1227. export interface DatadogConnectorProfileCredentials {
  1228. /**
  1229. * A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
  1230. */
  1231. apiKey: ApiKey;
  1232. /**
  1233. * 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.
  1234. */
  1235. applicationKey: ApplicationKey;
  1236. }
  1237. export interface DatadogConnectorProfileProperties {
  1238. /**
  1239. * The location of the Datadog resource.
  1240. */
  1241. instanceUrl: InstanceUrl;
  1242. }
  1243. export interface DatadogMetadata {
  1244. }
  1245. export interface DatadogSourceProperties {
  1246. /**
  1247. * The object specified in the Datadog flow source.
  1248. */
  1249. object: Object;
  1250. }
  1251. export type _Date = Date;
  1252. export type DatetimeTypeFieldName = string;
  1253. export interface DeleteConnectorProfileRequest {
  1254. /**
  1255. * The name of the connector profile. The name is unique for each ConnectorProfile in your account.
  1256. */
  1257. connectorProfileName: ConnectorProfileName;
  1258. /**
  1259. * Indicates whether Amazon AppFlow should delete the profile, even if it is currently in use in one or more flows.
  1260. */
  1261. forceDelete?: Boolean;
  1262. }
  1263. export interface DeleteConnectorProfileResponse {
  1264. }
  1265. export interface DeleteFlowRequest {
  1266. /**
  1267. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  1268. */
  1269. flowName: FlowName;
  1270. /**
  1271. * Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.
  1272. */
  1273. forceDelete?: Boolean;
  1274. }
  1275. export interface DeleteFlowResponse {
  1276. }
  1277. export interface DescribeConnectorEntityRequest {
  1278. /**
  1279. * The entity name for that connector.
  1280. */
  1281. connectorEntityName: EntityName;
  1282. /**
  1283. * The type of connector application, such as Salesforce, Amplitude, and so on.
  1284. */
  1285. connectorType?: ConnectorType;
  1286. /**
  1287. * The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account.
  1288. */
  1289. connectorProfileName?: ConnectorProfileName;
  1290. /**
  1291. * The version of the API that's used by the connector.
  1292. */
  1293. apiVersion?: ApiVersion;
  1294. }
  1295. export interface DescribeConnectorEntityResponse {
  1296. /**
  1297. * Describes the fields for that connector entity. For example, for an account entity, the fields would be account name, account ID, and so on.
  1298. */
  1299. connectorEntityFields: ConnectorEntityFieldList;
  1300. }
  1301. export interface DescribeConnectorProfilesRequest {
  1302. /**
  1303. * The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account.
  1304. */
  1305. connectorProfileNames?: ConnectorProfileNameList;
  1306. /**
  1307. * The type of connector, such as Salesforce, Amplitude, and so on.
  1308. */
  1309. connectorType?: ConnectorType;
  1310. /**
  1311. * The name of the connector. The name is unique for each ConnectorRegistration in your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/.
  1312. */
  1313. connectorLabel?: ConnectorLabel;
  1314. /**
  1315. * 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).
  1316. */
  1317. maxResults?: MaxResults;
  1318. /**
  1319. * The pagination token for the next page of data.
  1320. */
  1321. nextToken?: NextToken;
  1322. }
  1323. export interface DescribeConnectorProfilesResponse {
  1324. /**
  1325. * Returns information about the connector profiles associated with the flow.
  1326. */
  1327. connectorProfileDetails?: ConnectorProfileDetailList;
  1328. /**
  1329. * The pagination token for the next page of data. If nextToken=null, this means that all records have been fetched.
  1330. */
  1331. nextToken?: NextToken;
  1332. }
  1333. export interface DescribeConnectorRequest {
  1334. /**
  1335. * The connector type, such as CUSTOMCONNECTOR, Saleforce, Marketo. Please choose CUSTOMCONNECTOR for Lambda based custom connectors.
  1336. */
  1337. connectorType: ConnectorType;
  1338. /**
  1339. * 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/.
  1340. */
  1341. connectorLabel?: ConnectorLabel;
  1342. }
  1343. export interface DescribeConnectorResponse {
  1344. /**
  1345. * Configuration info of all the connectors that the user requested.
  1346. */
  1347. connectorConfiguration?: ConnectorConfiguration;
  1348. }
  1349. export interface DescribeConnectorsRequest {
  1350. /**
  1351. * The type of connector, such as Salesforce, Amplitude, and so on.
  1352. */
  1353. connectorTypes?: ConnectorTypeList;
  1354. /**
  1355. * The maximum number of items that should be returned in the result set. The default is 20.
  1356. */
  1357. maxResults?: MaxResults;
  1358. /**
  1359. * The pagination token for the next page of data.
  1360. */
  1361. nextToken?: NextToken;
  1362. }
  1363. export interface DescribeConnectorsResponse {
  1364. /**
  1365. * The configuration that is applied to the connectors used in the flow.
  1366. */
  1367. connectorConfigurations?: ConnectorConfigurationsMap;
  1368. /**
  1369. * Information about the connectors supported in Amazon AppFlow.
  1370. */
  1371. connectors?: ConnectorList;
  1372. /**
  1373. * The pagination token for the next page of data.
  1374. */
  1375. nextToken?: NextToken;
  1376. }
  1377. export interface DescribeFlowExecutionRecordsRequest {
  1378. /**
  1379. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  1380. */
  1381. flowName: FlowName;
  1382. /**
  1383. * 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).
  1384. */
  1385. maxResults?: MaxResults;
  1386. /**
  1387. * The pagination token for the next page of data.
  1388. */
  1389. nextToken?: NextToken;
  1390. }
  1391. export interface DescribeFlowExecutionRecordsResponse {
  1392. /**
  1393. * Returns a list of all instances when this flow was run.
  1394. */
  1395. flowExecutions?: FlowExecutionList;
  1396. /**
  1397. * The pagination token for the next page of data.
  1398. */
  1399. nextToken?: NextToken;
  1400. }
  1401. export interface DescribeFlowRequest {
  1402. /**
  1403. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  1404. */
  1405. flowName: FlowName;
  1406. }
  1407. export interface DescribeFlowResponse {
  1408. /**
  1409. * The flow's Amazon Resource Name (ARN).
  1410. */
  1411. flowArn?: FlowArn;
  1412. /**
  1413. * A description of the flow.
  1414. */
  1415. description?: FlowDescription;
  1416. /**
  1417. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  1418. */
  1419. flowName?: FlowName;
  1420. /**
  1421. * 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.
  1422. */
  1423. kmsArn?: KMSArn;
  1424. /**
  1425. * Indicates the current status of the flow.
  1426. */
  1427. flowStatus?: FlowStatus;
  1428. /**
  1429. * Contains an error message if the flow status is in a suspended or error state. This applies only to scheduled or event-triggered flows.
  1430. */
  1431. flowStatusMessage?: FlowStatusMessage;
  1432. /**
  1433. * The configuration that controls how Amazon AppFlow retrieves data from the source connector.
  1434. */
  1435. sourceFlowConfig?: SourceFlowConfig;
  1436. /**
  1437. * The configuration that controls how Amazon AppFlow transfers data to the destination connector.
  1438. */
  1439. destinationFlowConfigList?: DestinationFlowConfigList;
  1440. /**
  1441. * Describes the details of the most recent flow run.
  1442. */
  1443. lastRunExecutionDetails?: ExecutionDetails;
  1444. /**
  1445. * The trigger settings that determine how and when the flow runs.
  1446. */
  1447. triggerConfig?: TriggerConfig;
  1448. /**
  1449. * A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
  1450. */
  1451. tasks?: Tasks;
  1452. /**
  1453. * Specifies when the flow was created.
  1454. */
  1455. createdAt?: _Date;
  1456. /**
  1457. * Specifies when the flow was last updated.
  1458. */
  1459. lastUpdatedAt?: _Date;
  1460. /**
  1461. * The ARN of the user who created the flow.
  1462. */
  1463. createdBy?: CreatedBy;
  1464. /**
  1465. * Specifies the user name of the account that performed the most recent update.
  1466. */
  1467. lastUpdatedBy?: UpdatedBy;
  1468. /**
  1469. * The tags used to organize, track, or control access for your flow.
  1470. */
  1471. tags?: TagMap;
  1472. /**
  1473. * Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
  1474. */
  1475. metadataCatalogConfig?: MetadataCatalogConfig;
  1476. /**
  1477. * Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
  1478. */
  1479. lastRunMetadataCatalogDetails?: MetadataCatalogDetails;
  1480. /**
  1481. * The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration: Source-to-destination field mappings Field data types Partition keys
  1482. */
  1483. schemaVersion?: Long;
  1484. }
  1485. export type Description = string;
  1486. export interface DestinationConnectorProperties {
  1487. /**
  1488. * The properties required to query Amazon Redshift.
  1489. */
  1490. Redshift?: RedshiftDestinationProperties;
  1491. /**
  1492. * The properties required to query Amazon S3.
  1493. */
  1494. S3?: S3DestinationProperties;
  1495. /**
  1496. * The properties required to query Salesforce.
  1497. */
  1498. Salesforce?: SalesforceDestinationProperties;
  1499. /**
  1500. * The properties required to query Snowflake.
  1501. */
  1502. Snowflake?: SnowflakeDestinationProperties;
  1503. /**
  1504. * The properties required to query Amazon EventBridge.
  1505. */
  1506. EventBridge?: EventBridgeDestinationProperties;
  1507. /**
  1508. * The properties required to query Amazon Lookout for Metrics.
  1509. */
  1510. LookoutMetrics?: LookoutMetricsDestinationProperties;
  1511. /**
  1512. * The properties required to query Upsolver.
  1513. */
  1514. Upsolver?: UpsolverDestinationProperties;
  1515. /**
  1516. * The properties required to query Amazon Honeycode.
  1517. */
  1518. Honeycode?: HoneycodeDestinationProperties;
  1519. /**
  1520. * The properties required to query Amazon Connect Customer Profiles.
  1521. */
  1522. CustomerProfiles?: CustomerProfilesDestinationProperties;
  1523. /**
  1524. * The properties required to query Zendesk.
  1525. */
  1526. Zendesk?: ZendeskDestinationProperties;
  1527. /**
  1528. * The properties required to query Marketo.
  1529. */
  1530. Marketo?: MarketoDestinationProperties;
  1531. /**
  1532. * The properties that are required to query the custom Connector.
  1533. */
  1534. CustomConnector?: CustomConnectorDestinationProperties;
  1535. /**
  1536. * The properties required to query SAPOData.
  1537. */
  1538. SAPOData?: SAPODataDestinationProperties;
  1539. }
  1540. export type DestinationField = string;
  1541. export interface DestinationFieldProperties {
  1542. /**
  1543. * Specifies if the destination field can be created by the current user.
  1544. */
  1545. isCreatable?: Boolean;
  1546. /**
  1547. * Specifies if the destination field can have a null value.
  1548. */
  1549. isNullable?: Boolean;
  1550. /**
  1551. * 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.
  1552. */
  1553. isUpsertable?: Boolean;
  1554. /**
  1555. * Specifies whether the field can be updated during an UPDATE or UPSERT write operation.
  1556. */
  1557. isUpdatable?: Boolean;
  1558. /**
  1559. * Specifies whether the field can use the default value during a Create operation.
  1560. */
  1561. isDefaultedOnCreate?: Boolean;
  1562. /**
  1563. * 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.
  1564. */
  1565. supportedWriteOperations?: SupportedWriteOperationList;
  1566. }
  1567. export interface DestinationFlowConfig {
  1568. /**
  1569. * The type of connector, such as Salesforce, Amplitude, and so on.
  1570. */
  1571. connectorType: ConnectorType;
  1572. /**
  1573. * The API version that the destination connector uses.
  1574. */
  1575. apiVersion?: ApiVersion;
  1576. /**
  1577. * The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.
  1578. */
  1579. connectorProfileName?: ConnectorProfileName;
  1580. /**
  1581. * This stores the information that is required to query a particular connector.
  1582. */
  1583. destinationConnectorProperties: DestinationConnectorProperties;
  1584. }
  1585. export type DestinationFlowConfigList = DestinationFlowConfig[];
  1586. export type DocumentType = string;
  1587. export type DomainName = string;
  1588. export type Double = number;
  1589. export type DynatraceConnectorOperator = "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"|string;
  1590. export interface DynatraceConnectorProfileCredentials {
  1591. /**
  1592. * The API tokens used by Dynatrace API to authenticate various API calls.
  1593. */
  1594. apiToken: ApiToken;
  1595. }
  1596. export interface DynatraceConnectorProfileProperties {
  1597. /**
  1598. * The location of the Dynatrace resource.
  1599. */
  1600. instanceUrl: InstanceUrl;
  1601. }
  1602. export interface DynatraceMetadata {
  1603. }
  1604. export interface DynatraceSourceProperties {
  1605. /**
  1606. * The object specified in the Dynatrace flow source.
  1607. */
  1608. object: Object;
  1609. }
  1610. export type EntitiesPath = string;
  1611. export type EntityName = string;
  1612. export interface ErrorHandlingConfig {
  1613. /**
  1614. * Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
  1615. */
  1616. failOnFirstDestinationError?: Boolean;
  1617. /**
  1618. * Specifies the Amazon S3 bucket prefix.
  1619. */
  1620. bucketPrefix?: BucketPrefix;
  1621. /**
  1622. * Specifies the name of the Amazon S3 bucket.
  1623. */
  1624. bucketName?: BucketName;
  1625. }
  1626. export interface ErrorInfo {
  1627. /**
  1628. * Specifies the failure count for the attempted flow.
  1629. */
  1630. putFailuresCount?: Long;
  1631. /**
  1632. * Specifies the error message that appears if a flow fails.
  1633. */
  1634. executionMessage?: ExecutionMessage;
  1635. }
  1636. export interface EventBridgeDestinationProperties {
  1637. /**
  1638. * The object specified in the Amazon EventBridge flow destination.
  1639. */
  1640. object: Object;
  1641. errorHandlingConfig?: ErrorHandlingConfig;
  1642. }
  1643. export interface EventBridgeMetadata {
  1644. }
  1645. export interface ExecutionDetails {
  1646. /**
  1647. * Describes the details of the most recent flow run.
  1648. */
  1649. mostRecentExecutionMessage?: MostRecentExecutionMessage;
  1650. /**
  1651. * Specifies the time of the most recent flow run.
  1652. */
  1653. mostRecentExecutionTime?: _Date;
  1654. /**
  1655. * Specifies the status of the most recent flow run.
  1656. */
  1657. mostRecentExecutionStatus?: ExecutionStatus;
  1658. }
  1659. export type ExecutionId = string;
  1660. export type ExecutionIds = ExecutionId[];
  1661. export type ExecutionMessage = string;
  1662. export interface ExecutionRecord {
  1663. /**
  1664. * Specifies the identifier of the given flow run.
  1665. */
  1666. executionId?: ExecutionId;
  1667. /**
  1668. * Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.
  1669. */
  1670. executionStatus?: ExecutionStatus;
  1671. /**
  1672. * Describes the result of the given flow run.
  1673. */
  1674. executionResult?: ExecutionResult;
  1675. /**
  1676. * Specifies the start time of the flow run.
  1677. */
  1678. startedAt?: _Date;
  1679. /**
  1680. * Specifies the time of the most recent update.
  1681. */
  1682. lastUpdatedAt?: _Date;
  1683. /**
  1684. * The timestamp that determines the first new or updated record to be transferred in the flow run.
  1685. */
  1686. dataPullStartTime?: _Date;
  1687. /**
  1688. * The timestamp that indicates the last new or updated record to be transferred in the flow run.
  1689. */
  1690. dataPullEndTime?: _Date;
  1691. /**
  1692. * Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
  1693. */
  1694. metadataCatalogDetails?: MetadataCatalogDetails;
  1695. }
  1696. export interface ExecutionResult {
  1697. /**
  1698. * Provides any error message information related to the flow run.
  1699. */
  1700. errorInfo?: ErrorInfo;
  1701. /**
  1702. * The total number of bytes processed by the flow run.
  1703. */
  1704. bytesProcessed?: Long;
  1705. /**
  1706. * The total number of bytes written as a result of the flow run.
  1707. */
  1708. bytesWritten?: Long;
  1709. /**
  1710. * The number of records processed in the flow run.
  1711. */
  1712. recordsProcessed?: Long;
  1713. /**
  1714. * The number of processes that Amazon AppFlow ran at the same time when it retrieved your data.
  1715. */
  1716. numParallelProcesses?: Long;
  1717. /**
  1718. * The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application.
  1719. */
  1720. maxPageSize?: Long;
  1721. }
  1722. export type ExecutionStatus = "InProgress"|"Successful"|"Error"|"CancelStarted"|"Canceled"|string;
  1723. export type FieldType = string;
  1724. export interface FieldTypeDetails {
  1725. /**
  1726. * The type of field, such as string, integer, date, and so on.
  1727. */
  1728. fieldType: FieldType;
  1729. /**
  1730. * The list of operators supported by a field.
  1731. */
  1732. filterOperators: FilterOperatorList;
  1733. /**
  1734. * The list of values that a field can contain. For example, a Boolean fieldType can have two values: "true" and "false".
  1735. */
  1736. supportedValues?: SupportedValueList;
  1737. /**
  1738. * The regular expression pattern for the field name.
  1739. */
  1740. valueRegexPattern?: String;
  1741. /**
  1742. * The date format that the field supports.
  1743. */
  1744. supportedDateFormat?: String;
  1745. /**
  1746. * The range of values this field can hold.
  1747. */
  1748. fieldValueRange?: Range;
  1749. /**
  1750. * This is the allowable length range for this field's value.
  1751. */
  1752. fieldLengthRange?: Range;
  1753. }
  1754. export type FileType = "CSV"|"JSON"|"PARQUET"|string;
  1755. export type FilterOperatorList = Operator[];
  1756. export type FlowArn = string;
  1757. export interface FlowDefinition {
  1758. /**
  1759. * The flow's Amazon Resource Name (ARN).
  1760. */
  1761. flowArn?: FlowArn;
  1762. /**
  1763. * A user-entered description of the flow.
  1764. */
  1765. description?: FlowDescription;
  1766. /**
  1767. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  1768. */
  1769. flowName?: FlowName;
  1770. /**
  1771. * Indicates the current status of the flow.
  1772. */
  1773. flowStatus?: FlowStatus;
  1774. /**
  1775. * Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
  1776. */
  1777. sourceConnectorType?: ConnectorType;
  1778. /**
  1779. * The label of the source connector in the flow.
  1780. */
  1781. sourceConnectorLabel?: ConnectorLabel;
  1782. /**
  1783. * Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
  1784. */
  1785. destinationConnectorType?: ConnectorType;
  1786. /**
  1787. * The label of the destination connector in the flow.
  1788. */
  1789. destinationConnectorLabel?: ConnectorLabel;
  1790. /**
  1791. * Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
  1792. */
  1793. triggerType?: TriggerType;
  1794. /**
  1795. * Specifies when the flow was created.
  1796. */
  1797. createdAt?: _Date;
  1798. /**
  1799. * Specifies when the flow was last updated.
  1800. */
  1801. lastUpdatedAt?: _Date;
  1802. /**
  1803. * The ARN of the user who created the flow.
  1804. */
  1805. createdBy?: CreatedBy;
  1806. /**
  1807. * Specifies the account user name that most recently updated the flow.
  1808. */
  1809. lastUpdatedBy?: UpdatedBy;
  1810. /**
  1811. * The tags used to organize, track, or control access for your flow.
  1812. */
  1813. tags?: TagMap;
  1814. /**
  1815. * Describes the details of the most recent flow run.
  1816. */
  1817. lastRunExecutionDetails?: ExecutionDetails;
  1818. }
  1819. export type FlowDescription = string;
  1820. export type FlowErrorDeactivationThreshold = number;
  1821. export type FlowExecutionList = ExecutionRecord[];
  1822. export type FlowList = FlowDefinition[];
  1823. export type FlowName = string;
  1824. export type FlowStatus = "Active"|"Deprecated"|"Deleted"|"Draft"|"Errored"|"Suspended"|string;
  1825. export type FlowStatusMessage = string;
  1826. export interface GlueDataCatalogConfig {
  1827. /**
  1828. * The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data Catalog tables, databases, and partitions. For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
  1829. */
  1830. roleArn: GlueDataCatalogIAMRole;
  1831. /**
  1832. * The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow that you configure with this parameter. When you configure a new flow with this parameter, you must specify an existing database.
  1833. */
  1834. databaseName: GlueDataCatalogDatabaseName;
  1835. /**
  1836. * A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.
  1837. */
  1838. tablePrefix: GlueDataCatalogTablePrefix;
  1839. }
  1840. export type GlueDataCatalogDatabaseName = string;
  1841. export type GlueDataCatalogIAMRole = string;
  1842. export type GlueDataCatalogTablePrefix = string;
  1843. export type GoogleAnalyticsConnectorOperator = "PROJECTION"|"BETWEEN"|string;
  1844. export interface GoogleAnalyticsConnectorProfileCredentials {
  1845. /**
  1846. * The identifier for the desired client.
  1847. */
  1848. clientId: ClientId;
  1849. /**
  1850. * The client secret used by the OAuth client to authenticate to the authorization server.
  1851. */
  1852. clientSecret: ClientSecret;
  1853. /**
  1854. * The credentials used to access protected Google Analytics resources.
  1855. */
  1856. accessToken?: AccessToken;
  1857. /**
  1858. * The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.
  1859. */
  1860. refreshToken?: RefreshToken;
  1861. /**
  1862. * The OAuth requirement needed to request security tokens from the connector endpoint.
  1863. */
  1864. oAuthRequest?: ConnectorOAuthRequest;
  1865. }
  1866. export interface GoogleAnalyticsConnectorProfileProperties {
  1867. }
  1868. export interface GoogleAnalyticsMetadata {
  1869. /**
  1870. * The desired authorization scope for the Google Analytics account.
  1871. */
  1872. oAuthScopes?: OAuthScopeList;
  1873. }
  1874. export interface GoogleAnalyticsSourceProperties {
  1875. /**
  1876. * The object specified in the Google Analytics flow source.
  1877. */
  1878. object: Object;
  1879. }
  1880. export type Group = string;
  1881. export interface HoneycodeConnectorProfileCredentials {
  1882. /**
  1883. * The credentials used to access protected Amazon Honeycode resources.
  1884. */
  1885. accessToken?: AccessToken;
  1886. /**
  1887. * The credentials used to acquire new access tokens.
  1888. */
  1889. refreshToken?: RefreshToken;
  1890. oAuthRequest?: ConnectorOAuthRequest;
  1891. }
  1892. export interface HoneycodeConnectorProfileProperties {
  1893. }
  1894. export interface HoneycodeDestinationProperties {
  1895. /**
  1896. * The object specified in the Amazon Honeycode flow destination.
  1897. */
  1898. object: Object;
  1899. errorHandlingConfig?: ErrorHandlingConfig;
  1900. }
  1901. export interface HoneycodeMetadata {
  1902. /**
  1903. * The desired authorization scope for the Amazon Honeycode account.
  1904. */
  1905. oAuthScopes?: OAuthScopeList;
  1906. }
  1907. export type IdFieldNameList = Name[];
  1908. export type Identifier = string;
  1909. export interface IncrementalPullConfig {
  1910. /**
  1911. * A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.
  1912. */
  1913. datetimeTypeFieldName?: DatetimeTypeFieldName;
  1914. }
  1915. export type InforNexusConnectorOperator = "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"|string;
  1916. export interface InforNexusConnectorProfileCredentials {
  1917. /**
  1918. * The Access Key portion of the credentials.
  1919. */
  1920. accessKeyId: AccessKeyId;
  1921. /**
  1922. * The identifier for the user.
  1923. */
  1924. userId: Username;
  1925. /**
  1926. * The secret key used to sign requests.
  1927. */
  1928. secretAccessKey: Key;
  1929. /**
  1930. * The encryption keys used to encrypt data.
  1931. */
  1932. datakey: Key;
  1933. }
  1934. export interface InforNexusConnectorProfileProperties {
  1935. /**
  1936. * The location of the Infor Nexus resource.
  1937. */
  1938. instanceUrl: InstanceUrl;
  1939. }
  1940. export interface InforNexusMetadata {
  1941. }
  1942. export interface InforNexusSourceProperties {
  1943. /**
  1944. * The object specified in the Infor Nexus flow source.
  1945. */
  1946. object: Object;
  1947. }
  1948. export type InstanceUrl = string;
  1949. export type JavaBoolean = boolean;
  1950. export type JwtToken = string;
  1951. export type KMSArn = string;
  1952. export type Key = string;
  1953. export type Label = string;
  1954. export interface LambdaConnectorProvisioningConfig {
  1955. /**
  1956. * Lambda ARN of the connector being registered.
  1957. */
  1958. lambdaArn: ARN;
  1959. }
  1960. export interface ListConnectorEntitiesRequest {
  1961. /**
  1962. * 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.
  1963. */
  1964. connectorProfileName?: ConnectorProfileName;
  1965. /**
  1966. * The type of connector, such as Salesforce, Amplitude, and so on.
  1967. */
  1968. connectorType?: ConnectorType;
  1969. /**
  1970. * 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.
  1971. */
  1972. entitiesPath?: EntitiesPath;
  1973. /**
  1974. * The version of the API that's used by the connector.
  1975. */
  1976. apiVersion?: ApiVersion;
  1977. /**
  1978. * The maximum number of items that the operation returns in the response.
  1979. */
  1980. maxResults?: ListEntitiesMaxResults;
  1981. /**
  1982. * A token that was provided by your prior ListConnectorEntities operation if the response was too big for the page size. You specify this token to get the next page of results in paginated response.
  1983. */
  1984. nextToken?: NextToken;
  1985. }
  1986. export interface ListConnectorEntitiesResponse {
  1987. /**
  1988. * 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.
  1989. */
  1990. connectorEntityMap: ConnectorEntityMap;
  1991. /**
  1992. * A token that you specify in your next ListConnectorEntities operation to get the next page of results in paginated response. The ListConnectorEntities operation provides this token if the response is too big for the page size.
  1993. */
  1994. nextToken?: NextToken;
  1995. }
  1996. export interface ListConnectorsRequest {
  1997. /**
  1998. * 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).
  1999. */
  2000. maxResults?: MaxResults;
  2001. /**
  2002. * The pagination token for the next page of data.
  2003. */
  2004. nextToken?: NextToken;
  2005. }
  2006. export interface ListConnectorsResponse {
  2007. /**
  2008. * Contains information about the connectors supported by Amazon AppFlow.
  2009. */
  2010. connectors?: ConnectorList;
  2011. /**
  2012. * The pagination token for the next page of data. If nextToken=null, this means that all records have been fetched.
  2013. */
  2014. nextToken?: NextToken;
  2015. }
  2016. export type ListEntitiesMaxResults = number;
  2017. export interface ListFlowsRequest {
  2018. /**
  2019. * Specifies the maximum number of items that should be returned in the result set.
  2020. */
  2021. maxResults?: MaxResults;
  2022. /**
  2023. * The pagination token for next page of data.
  2024. */
  2025. nextToken?: NextToken;
  2026. }
  2027. export interface ListFlowsResponse {
  2028. /**
  2029. * The list of flows associated with your account.
  2030. */
  2031. flows?: FlowList;
  2032. /**
  2033. * The pagination token for next page of data.
  2034. */
  2035. nextToken?: NextToken;
  2036. }
  2037. export interface ListTagsForResourceRequest {
  2038. /**
  2039. * The Amazon Resource Name (ARN) of the specified flow.
  2040. */
  2041. resourceArn: ARN;
  2042. }
  2043. export interface ListTagsForResourceResponse {
  2044. /**
  2045. * The tags used to organize, track, or control access for your flow.
  2046. */
  2047. tags?: TagMap;
  2048. }
  2049. export type LogoURL = string;
  2050. export type LogonLanguage = string;
  2051. export type Long = number;
  2052. export interface LookoutMetricsDestinationProperties {
  2053. }
  2054. export type MarketoConnectorOperator = "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"|string;
  2055. export interface MarketoConnectorProfileCredentials {
  2056. /**
  2057. * The identifier for the desired client.
  2058. */
  2059. clientId: ClientId;
  2060. /**
  2061. * The client secret used by the OAuth client to authenticate to the authorization server.
  2062. */
  2063. clientSecret: ClientSecret;
  2064. /**
  2065. * The credentials used to access protected Marketo resources.
  2066. */
  2067. accessToken?: AccessToken;
  2068. /**
  2069. * The OAuth requirement needed to request security tokens from the connector endpoint.
  2070. */
  2071. oAuthRequest?: ConnectorOAuthRequest;
  2072. }
  2073. export interface MarketoConnectorProfileProperties {
  2074. /**
  2075. * The location of the Marketo resource.
  2076. */
  2077. instanceUrl: InstanceUrl;
  2078. }
  2079. export interface MarketoDestinationProperties {
  2080. /**
  2081. * The object specified in the Marketo flow destination.
  2082. */
  2083. object: Object;
  2084. errorHandlingConfig?: ErrorHandlingConfig;
  2085. }
  2086. export interface MarketoMetadata {
  2087. }
  2088. export interface MarketoSourceProperties {
  2089. /**
  2090. * The object specified in the Marketo flow source.
  2091. */
  2092. object: Object;
  2093. }
  2094. export type MaxResults = number;
  2095. export interface MetadataCatalogConfig {
  2096. /**
  2097. * Specifies the configuration that Amazon AppFlow uses when it catalogs your data with the Glue Data Catalog.
  2098. */
  2099. glueDataCatalog?: GlueDataCatalogConfig;
  2100. }
  2101. export interface MetadataCatalogDetail {
  2102. /**
  2103. * The type of metadata catalog that Amazon AppFlow used for the associated flow run. This parameter returns the following value: GLUE The metadata catalog is provided by the Glue Data Catalog. Glue includes the Glue Data Catalog as a component.
  2104. */
  2105. catalogType?: CatalogType;
  2106. /**
  2107. * The name of the table that stores the metadata for the associated flow run. The table stores metadata that represents the data that the flow transferred. Amazon AppFlow stores the table in the metadata catalog.
  2108. */
  2109. tableName?: String;
  2110. /**
  2111. * Describes the status of the attempt from Amazon AppFlow to register the metadata table with the metadata catalog. Amazon AppFlow creates or updates this table for the associated flow run.
  2112. */
  2113. tableRegistrationOutput?: RegistrationOutput;
  2114. /**
  2115. * Describes the status of the attempt from Amazon AppFlow to register the data partitions with the metadata catalog. The data partitions organize the flow output into a hierarchical path, such as a folder path in an S3 bucket. Amazon AppFlow creates the partitions (if they don't already exist) based on your flow configuration.
  2116. */
  2117. partitionRegistrationOutput?: RegistrationOutput;
  2118. }
  2119. export type MetadataCatalogDetails = MetadataCatalogDetail[];
  2120. export type MostRecentExecutionMessage = string;
  2121. export type Name = string;
  2122. export type NextToken = string;
  2123. export interface OAuth2Credentials {
  2124. /**
  2125. * The identifier for the desired client.
  2126. */
  2127. clientId?: ClientId;
  2128. /**
  2129. * The client secret used by the OAuth client to authenticate to the authorization server.
  2130. */
  2131. clientSecret?: ClientSecret;
  2132. /**
  2133. * The access token used to access the connector on your behalf.
  2134. */
  2135. accessToken?: AccessToken;
  2136. /**
  2137. * The refresh token used to refresh an expired access token.
  2138. */
  2139. refreshToken?: RefreshToken;
  2140. oAuthRequest?: ConnectorOAuthRequest;
  2141. }
  2142. export interface OAuth2CustomParameter {
  2143. /**
  2144. * The key of the custom parameter required for OAuth 2.0 authentication.
  2145. */
  2146. key?: Key;
  2147. /**
  2148. * Indicates whether the custom parameter for OAuth 2.0 authentication is required.
  2149. */
  2150. isRequired?: Boolean;
  2151. /**
  2152. * The label of the custom parameter used for OAuth 2.0 authentication.
  2153. */
  2154. label?: Label;
  2155. /**
  2156. * A description about the custom parameter used for OAuth 2.0 authentication.
  2157. */
  2158. description?: Description;
  2159. /**
  2160. * Indicates whether this authentication custom parameter is a sensitive field.
  2161. */
  2162. isSensitiveField?: Boolean;
  2163. /**
  2164. * Contains default values for this authentication parameter that are supplied by the connector.
  2165. */
  2166. connectorSuppliedValues?: ConnectorSuppliedValueList;
  2167. /**
  2168. * Indicates whether custom parameter is used with TokenUrl or AuthUrl.
  2169. */
  2170. type?: OAuth2CustomPropType;
  2171. }
  2172. export type OAuth2CustomPropType = "TOKEN_URL"|"AUTH_URL"|string;
  2173. export type OAuth2CustomPropertiesList = OAuth2CustomParameter[];
  2174. export interface OAuth2Defaults {
  2175. /**
  2176. * OAuth 2.0 scopes that the connector supports.
  2177. */
  2178. oauthScopes?: OAuthScopeList;
  2179. /**
  2180. * Token URLs that can be used for OAuth 2.0 authentication.
  2181. */
  2182. tokenUrls?: TokenUrlList;
  2183. /**
  2184. * Auth code URLs that can be used for OAuth 2.0 authentication.
  2185. */
  2186. authCodeUrls?: AuthCodeUrlList;
  2187. /**
  2188. * OAuth 2.0 grant types supported by the connector.
  2189. */
  2190. oauth2GrantTypesSupported?: OAuth2GrantTypeSupportedList;
  2191. /**
  2192. * List of custom parameters required for OAuth 2.0 authentication.
  2193. */
  2194. oauth2CustomProperties?: OAuth2CustomPropertiesList;
  2195. }
  2196. export type OAuth2GrantType = "CLIENT_CREDENTIALS"|"AUTHORIZATION_CODE"|"JWT_BEARER"|string;
  2197. export type OAuth2GrantTypeSupportedList = OAuth2GrantType[];
  2198. export interface OAuth2Properties {
  2199. /**
  2200. * The token URL required for OAuth 2.0 authentication.
  2201. */
  2202. tokenUrl: TokenUrl;
  2203. /**
  2204. * The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
  2205. */
  2206. oAuth2GrantType: OAuth2GrantType;
  2207. /**
  2208. * Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.
  2209. */
  2210. tokenUrlCustomProperties?: TokenUrlCustomProperties;
  2211. }
  2212. export interface OAuthCredentials {
  2213. /**
  2214. * The identifier for the desired client.
  2215. */
  2216. clientId: ClientId;
  2217. /**
  2218. * The client secret used by the OAuth client to authenticate to the authorization server.
  2219. */
  2220. clientSecret: ClientSecret;
  2221. /**
  2222. * The access token used to access protected SAPOData resources.
  2223. */
  2224. accessToken?: AccessToken;
  2225. /**
  2226. * The refresh token used to refresh expired access token.
  2227. */
  2228. refreshToken?: RefreshToken;
  2229. /**
  2230. * The OAuth requirement needed to request security tokens from the connector endpoint.
  2231. */
  2232. oAuthRequest?: ConnectorOAuthRequest;
  2233. }
  2234. export interface OAuthProperties {
  2235. /**
  2236. * The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
  2237. */
  2238. tokenUrl: TokenUrl;
  2239. /**
  2240. * The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
  2241. */
  2242. authCodeUrl: AuthCodeUrl;
  2243. /**
  2244. * The OAuth scopes required for OAuth type authentication.
  2245. */
  2246. oAuthScopes: OAuthScopeList;
  2247. }
  2248. export type OAuthScope = string;
  2249. export type OAuthScopeList = OAuthScope[];
  2250. export type Object = string;
  2251. export type ObjectTypeName = string;
  2252. export type Operator = "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"|string;
  2253. export type OperatorPropertiesKeys = "VALUE"|"VALUES"|"DATA_TYPE"|"UPPER_BOUND"|"LOWER_BOUND"|"SOURCE_DATA_TYPE"|"DESTINATION_DATA_TYPE"|"VALIDATION_ACTION"|"MASK_VALUE"|"MASK_LENGTH"|"TRUNCATE_LENGTH"|"MATH_OPERATION_FIELDS_ORDER"|"CONCAT_FORMAT"|"SUBFIELD_CATEGORY_MAP"|"EXCLUDE_SOURCE_FIELDS_LIST"|"INCLUDE_NEW_FIELDS"|"ORDERED_PARTITION_KEYS_LIST"|string;
  2254. export type Operators = "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"|string;
  2255. export type PardotConnectorOperator = "PROJECTION"|"EQUAL_TO"|"NO_OP"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|string;
  2256. export interface PardotConnectorProfileCredentials {
  2257. /**
  2258. * The credentials used to access protected Salesforce Pardot resources.
  2259. */
  2260. accessToken?: AccessToken;
  2261. /**
  2262. * The credentials used to acquire new access tokens.
  2263. */
  2264. refreshToken?: RefreshToken;
  2265. oAuthRequest?: ConnectorOAuthRequest;
  2266. /**
  2267. * The secret manager ARN, which contains the client ID and client secret of the connected app.
  2268. */
  2269. clientCredentialsArn?: ClientCredentialsArn;
  2270. }
  2271. export interface PardotConnectorProfileProperties {
  2272. /**
  2273. * The location of the Salesforce Pardot resource.
  2274. */
  2275. instanceUrl?: InstanceUrl;
  2276. /**
  2277. * Indicates whether the connector profile applies to a sandbox or production environment.
  2278. */
  2279. isSandboxEnvironment?: Boolean;
  2280. /**
  2281. * The business unit id of Salesforce Pardot instance.
  2282. */
  2283. businessUnitId?: BusinessUnitId;
  2284. }
  2285. export interface PardotMetadata {
  2286. }
  2287. export interface PardotSourceProperties {
  2288. /**
  2289. * The object specified in the Salesforce Pardot flow source.
  2290. */
  2291. object: Object;
  2292. }
  2293. export type Password = string;
  2294. export type PathPrefix = "EXECUTION_ID"|"SCHEMA_VERSION"|string;
  2295. export type PathPrefixHierarchy = PathPrefix[];
  2296. export type PortNumber = number;
  2297. export interface PrefixConfig {
  2298. /**
  2299. * Determines the format of the prefix, and whether it applies to the file name, file path, or both.
  2300. */
  2301. prefixType?: PrefixType;
  2302. /**
  2303. * Determines the level of granularity for the date and time that's included in the prefix.
  2304. */
  2305. prefixFormat?: PrefixFormat;
  2306. /**
  2307. * Specifies whether the destination file path includes either or both of the following elements: EXECUTION_ID The ID that Amazon AppFlow assigns to the flow run. SCHEMA_VERSION The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration: Source-to-destination field mappings Field data types Partition keys
  2308. */
  2309. pathPrefixHierarchy?: PathPrefixHierarchy;
  2310. }
  2311. export type PrefixFormat = "YEAR"|"MONTH"|"DAY"|"HOUR"|"MINUTE"|string;
  2312. export type PrefixType = "FILENAME"|"PATH"|"PATH_AND_FILENAME"|string;
  2313. export type PrivateConnectionProvisioningFailureCause = "CONNECTOR_AUTHENTICATION"|"CONNECTOR_SERVER"|"INTERNAL_SERVER"|"ACCESS_DENIED"|"VALIDATION"|string;
  2314. export type PrivateConnectionProvisioningFailureMessage = string;
  2315. export interface PrivateConnectionProvisioningState {
  2316. /**
  2317. * Specifies the private connection provisioning status.
  2318. */
  2319. status?: PrivateConnectionProvisioningStatus;
  2320. /**
  2321. * Specifies the private connection provisioning failure reason.
  2322. */
  2323. failureMessage?: PrivateConnectionProvisioningFailureMessage;
  2324. /**
  2325. * Specifies the private connection provisioning failure cause.
  2326. */
  2327. failureCause?: PrivateConnectionProvisioningFailureCause;
  2328. }
  2329. export type PrivateConnectionProvisioningStatus = "FAILED"|"PENDING"|"CREATED"|string;
  2330. export type PrivateLinkServiceName = string;
  2331. export type ProfilePropertiesMap = {[key: string]: ProfilePropertyValue};
  2332. export type ProfilePropertyKey = string;
  2333. export type ProfilePropertyValue = string;
  2334. export type Property = string;
  2335. export interface Range {
  2336. /**
  2337. * Maximum value supported by the field.
  2338. */
  2339. maximum?: Double;
  2340. /**
  2341. * Minimum value supported by the field.
  2342. */
  2343. minimum?: Double;
  2344. }
  2345. export type RedirectUri = string;
  2346. export interface RedshiftConnectorProfileCredentials {
  2347. /**
  2348. * The name of the user.
  2349. */
  2350. username?: String;
  2351. /**
  2352. * The password that corresponds to the user name.
  2353. */
  2354. password?: Password;
  2355. }
  2356. export interface RedshiftConnectorProfileProperties {
  2357. /**
  2358. * The JDBC URL of the Amazon Redshift cluster.
  2359. */
  2360. databaseUrl?: DatabaseUrl;
  2361. /**
  2362. * A name for the associated Amazon S3 bucket.
  2363. */
  2364. bucketName: BucketName;
  2365. /**
  2366. * The object key for the destination bucket in which Amazon AppFlow places the files.
  2367. */
  2368. bucketPrefix?: BucketPrefix;
  2369. /**
  2370. * The Amazon Resource Name (ARN) of IAM role that grants Amazon Redshift read-only access to Amazon S3. For more information, and for the polices that you attach to this role, see Allow Amazon Redshift to access your Amazon AppFlow data in Amazon S3.
  2371. */
  2372. roleArn: RoleArn;
  2373. /**
  2374. * The Amazon Resource Name (ARN) of an IAM role that permits Amazon AppFlow to access your Amazon Redshift database through the Data API. For more information, and for the polices that you attach to this role, see Allow Amazon AppFlow to access Amazon Redshift databases with the Data API.
  2375. */
  2376. dataApiRoleArn?: DataApiRoleArn;
  2377. /**
  2378. * Indicates whether the connector profile defines a connection to an Amazon Redshift Serverless data warehouse.
  2379. */
  2380. isRedshiftServerless?: Boolean;
  2381. /**
  2382. * The unique ID that's assigned to an Amazon Redshift cluster.
  2383. */
  2384. clusterIdentifier?: ClusterIdentifier;
  2385. /**
  2386. * The name of an Amazon Redshift workgroup.
  2387. */
  2388. workgroupName?: WorkgroupName;
  2389. /**
  2390. * The name of an Amazon Redshift database.
  2391. */
  2392. databaseName?: DatabaseName;
  2393. }
  2394. export interface RedshiftDestinationProperties {
  2395. /**
  2396. * The object specified in the Amazon Redshift flow destination.
  2397. */
  2398. object: Object;
  2399. /**
  2400. * The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
  2401. */
  2402. intermediateBucketName: BucketName;
  2403. /**
  2404. * The object key for the bucket in which Amazon AppFlow places the destination files.
  2405. */
  2406. bucketPrefix?: BucketPrefix;
  2407. /**
  2408. * 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.
  2409. */
  2410. errorHandlingConfig?: ErrorHandlingConfig;
  2411. }
  2412. export interface RedshiftMetadata {
  2413. }
  2414. export type RefreshToken = string;
  2415. export type Region = string;
  2416. export type RegionList = Region[];
  2417. export interface RegisterConnectorRequest {
  2418. /**
  2419. * The name of the connector. The name is unique for each ConnectorRegistration in your Amazon Web Services account.
  2420. */
  2421. connectorLabel?: ConnectorLabel;
  2422. /**
  2423. * A description about the connector that's being registered.
  2424. */
  2425. description?: Description;
  2426. /**
  2427. * The provisioning type of the connector. Currently the only supported value is LAMBDA.
  2428. */
  2429. connectorProvisioningType?: ConnectorProvisioningType;
  2430. /**
  2431. * The provisioning type of the connector. Currently the only supported value is LAMBDA.
  2432. */
  2433. connectorProvisioningConfig?: ConnectorProvisioningConfig;
  2434. /**
  2435. * The clientToken parameter is an idempotency token. It ensures that your RegisterConnector request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value. If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases. If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to RegisterConnector. The token is active for 8 hours.
  2436. */
  2437. clientToken?: ClientToken;
  2438. }
  2439. export interface RegisterConnectorResponse {
  2440. /**
  2441. * The ARN of the connector being registered.
  2442. */
  2443. connectorArn?: ARN;
  2444. }
  2445. export type RegisteredBy = string;
  2446. export interface RegistrationOutput {
  2447. /**
  2448. * Explains the status of the registration attempt from Amazon AppFlow. If the attempt fails, the message explains why.
  2449. */
  2450. message?: String;
  2451. /**
  2452. * Indicates the number of resources that Amazon AppFlow created or updated. Possible resources include metadata tables and data partitions.
  2453. */
  2454. result?: String;
  2455. /**
  2456. * Indicates the status of the registration attempt from Amazon AppFlow.
  2457. */
  2458. status?: ExecutionStatus;
  2459. }
  2460. export interface ResetConnectorMetadataCacheRequest {
  2461. /**
  2462. * The name of the connector profile that you want to reset cached metadata for. You can omit this parameter if you're resetting the cache for any of the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you must include this parameter in your request.
  2463. */
  2464. connectorProfileName?: ConnectorProfileName;
  2465. /**
  2466. * The type of connector to reset cached metadata for. You must include this parameter in your request if you're resetting the cache for any of the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you can omit this parameter from your request.
  2467. */
  2468. connectorType?: ConnectorType;
  2469. /**
  2470. * Use this parameter if you want to reset cached metadata about the details for an individual entity. If you don't include this parameter in your request, Amazon AppFlow only resets cached metadata about entity names, not entity details.
  2471. */
  2472. connectorEntityName?: EntityName;
  2473. /**
  2474. * Use this parameter only if you’re resetting the cached metadata about a nested entity. Only some connectors support nested entities. A nested entity is one that has another entity as a parent. To use this parameter, specify the name of the parent entity. To look up the parent-child relationship of entities, you can send a ListConnectorEntities request that omits the entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. For each one, it indicates whether the entity has nested entities. Then, in a subsequent ListConnectorEntities request, you can specify a parent entity name for the entitiesPath parameter. Amazon AppFlow will return a list of the child entities for that parent.
  2475. */
  2476. entitiesPath?: EntitiesPath;
  2477. /**
  2478. * The API version that you specified in the connector profile that you’re resetting cached metadata for. You must use this parameter only if the connector supports multiple API versions or if the connector type is CustomConnector. To look up how many versions a connector supports, use the DescribeConnectors action. In the response, find the value that Amazon AppFlow returns for the connectorVersion parameter. To look up the connector type, use the DescribeConnectorProfiles action. In the response, find the value that Amazon AppFlow returns for the connectorType parameter. To look up the API version that you specified in a connector profile, use the DescribeConnectorProfiles action.
  2479. */
  2480. apiVersion?: ApiVersion;
  2481. }
  2482. export interface ResetConnectorMetadataCacheResponse {
  2483. }
  2484. export type RoleArn = string;
  2485. export type S3ConnectorOperator = "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"|string;
  2486. export interface S3DestinationProperties {
  2487. /**
  2488. * The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
  2489. */
  2490. bucketName: BucketName;
  2491. /**
  2492. * The object key for the destination bucket in which Amazon AppFlow places the files.
  2493. */
  2494. bucketPrefix?: BucketPrefix;
  2495. s3OutputFormatConfig?: S3OutputFormatConfig;
  2496. }
  2497. export type S3InputFileType = "CSV"|"JSON"|string;
  2498. export interface S3InputFormatConfig {
  2499. /**
  2500. * The file type that Amazon AppFlow gets from your Amazon S3 bucket.
  2501. */
  2502. s3InputFileType?: S3InputFileType;
  2503. }
  2504. export interface S3Metadata {
  2505. }
  2506. export interface S3OutputFormatConfig {
  2507. /**
  2508. * Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
  2509. */
  2510. fileType?: FileType;
  2511. /**
  2512. * 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.
  2513. */
  2514. prefixConfig?: PrefixConfig;
  2515. aggregationConfig?: AggregationConfig;
  2516. /**
  2517. * If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3. true: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or 1 in your source data is still an integer in your output. false: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of 1 in your source data becomes the string "1" in the output.
  2518. */
  2519. preserveSourceDataTyping?: JavaBoolean;
  2520. }
  2521. export interface S3SourceProperties {
  2522. /**
  2523. * The Amazon S3 bucket name where the source files are stored.
  2524. */
  2525. bucketName: BucketName;
  2526. /**
  2527. * The object key for the Amazon S3 bucket in which the source files are stored.
  2528. */
  2529. bucketPrefix?: BucketPrefix;
  2530. s3InputFormatConfig?: S3InputFormatConfig;
  2531. }
  2532. export type SAPODataConnectorOperator = "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"|string;
  2533. export interface SAPODataConnectorProfileCredentials {
  2534. /**
  2535. * The SAPOData basic authentication credentials.
  2536. */
  2537. basicAuthCredentials?: BasicAuthCredentials;
  2538. /**
  2539. * The SAPOData OAuth type authentication credentials.
  2540. */
  2541. oAuthCredentials?: OAuthCredentials;
  2542. }
  2543. export interface SAPODataConnectorProfileProperties {
  2544. /**
  2545. * The location of the SAPOData resource.
  2546. */
  2547. applicationHostUrl: ApplicationHostUrl;
  2548. /**
  2549. * The application path to catalog service.
  2550. */
  2551. applicationServicePath: ApplicationServicePath;
  2552. /**
  2553. * The port number of the SAPOData instance.
  2554. */
  2555. portNumber: PortNumber;
  2556. /**
  2557. * The client number for the client creating the connection.
  2558. */
  2559. clientNumber: ClientNumber;
  2560. /**
  2561. * The logon language of SAPOData instance.
  2562. */
  2563. logonLanguage?: LogonLanguage;
  2564. /**
  2565. * The SAPOData Private Link service name to be used for private data transfers.
  2566. */
  2567. privateLinkServiceName?: PrivateLinkServiceName;
  2568. /**
  2569. * The SAPOData OAuth properties required for OAuth type authentication.
  2570. */
  2571. oAuthProperties?: OAuthProperties;
  2572. /**
  2573. * If you set this parameter to true, Amazon AppFlow bypasses the single sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance. Whether you need this option depends on the types of credentials that you applied to your SAP OData connection profile. If your profile uses basic authentication credentials, SAP SSO can prevent Amazon AppFlow from connecting to your account with your username and password. In this case, bypassing SSO makes it possible for Amazon AppFlow to connect successfully. However, if your profile uses OAuth credentials, this parameter has no affect.
  2574. */
  2575. disableSSO?: Boolean;
  2576. }
  2577. export interface SAPODataDestinationProperties {
  2578. /**
  2579. * The object path specified in the SAPOData flow destination.
  2580. */
  2581. objectPath: Object;
  2582. /**
  2583. * Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data. For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.
  2584. */
  2585. successResponseHandlingConfig?: SuccessResponseHandlingConfig;
  2586. idFieldNames?: IdFieldNameList;
  2587. errorHandlingConfig?: ErrorHandlingConfig;
  2588. writeOperationType?: WriteOperationType;
  2589. }
  2590. export type SAPODataMaxPageSize = number;
  2591. export type SAPODataMaxParallelism = number;
  2592. export interface SAPODataMetadata {
  2593. }
  2594. export interface SAPODataPaginationConfig {
  2595. /**
  2596. * The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application. For transfers of OData records, the maximum page size is 3,000. For transfers of data that comes from an ODP provider, the maximum page size is 10,000.
  2597. */
  2598. maxPageSize: SAPODataMaxPageSize;
  2599. }
  2600. export interface SAPODataParallelismConfig {
  2601. /**
  2602. * The maximum number of processes that Amazon AppFlow runs at the same time when it retrieves your data from your SAP application.
  2603. */
  2604. maxParallelism: SAPODataMaxParallelism;
  2605. }
  2606. export interface SAPODataSourceProperties {
  2607. /**
  2608. * The object path specified in the SAPOData flow source.
  2609. */
  2610. objectPath?: Object;
  2611. /**
  2612. * Sets the number of concurrent processes that transfers OData records from your SAP instance.
  2613. */
  2614. parallelismConfig?: SAPODataParallelismConfig;
  2615. /**
  2616. * Sets the page size for each concurrent process that transfers OData records from your SAP instance.
  2617. */
  2618. paginationConfig?: SAPODataPaginationConfig;
  2619. }
  2620. export type SalesforceConnectorOperator = "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"|string;
  2621. export interface SalesforceConnectorProfileCredentials {
  2622. /**
  2623. * The credentials used to access protected Salesforce resources.
  2624. */
  2625. accessToken?: AccessToken;
  2626. /**
  2627. * The credentials used to acquire new access tokens.
  2628. */
  2629. refreshToken?: RefreshToken;
  2630. /**
  2631. * The OAuth requirement needed to request security tokens from the connector endpoint.
  2632. */
  2633. oAuthRequest?: ConnectorOAuthRequest;
  2634. /**
  2635. * The secret manager ARN, which contains the client ID and client secret of the connected app.
  2636. */
  2637. clientCredentialsArn?: ClientCredentialsArn;
  2638. /**
  2639. * Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. You can specify one of the following values: AUTHORIZATION_CODE Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. CLIENT_CREDENTIALS Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account. JWT_BEARER Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
  2640. */
  2641. oAuth2GrantType?: OAuth2GrantType;
  2642. /**
  2643. * A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
  2644. */
  2645. jwtToken?: JwtToken;
  2646. }
  2647. export interface SalesforceConnectorProfileProperties {
  2648. /**
  2649. * The location of the Salesforce resource.
  2650. */
  2651. instanceUrl?: InstanceUrl;
  2652. /**
  2653. * Indicates whether the connector profile applies to a sandbox or production environment.
  2654. */
  2655. isSandboxEnvironment?: Boolean;
  2656. /**
  2657. * If the connection mode for the connector profile is private, this parameter sets whether Amazon AppFlow uses the private network to send metadata and authorization calls to Salesforce. Amazon AppFlow sends private calls through Amazon Web Services PrivateLink. These calls travel through Amazon Web Services infrastructure without being exposed to the public internet. Set either of the following values: true Amazon AppFlow sends all calls to Salesforce over the private network. These private calls are: Calls to get metadata about your Salesforce records. This metadata describes your Salesforce objects and their fields. Calls to get or refresh access tokens that allow Amazon AppFlow to access your Salesforce records. Calls to transfer your Salesforce records as part of a flow run. false The default value. Amazon AppFlow sends some calls to Salesforce privately and other calls over the public internet. The public calls are: Calls to get metadata about your Salesforce records. Calls to get or refresh access tokens. The private calls are: Calls to transfer your Salesforce records as part of a flow run.
  2658. */
  2659. usePrivateLinkForMetadataAndAuthorization?: Boolean;
  2660. }
  2661. export type SalesforceDataTransferApi = "AUTOMATIC"|"BULKV2"|"REST_SYNC"|string;
  2662. export type SalesforceDataTransferApiList = SalesforceDataTransferApi[];
  2663. export interface SalesforceDestinationProperties {
  2664. /**
  2665. * The object specified in the Salesforce flow destination.
  2666. */
  2667. object: Object;
  2668. /**
  2669. * The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
  2670. */
  2671. idFieldNames?: IdFieldNameList;
  2672. /**
  2673. * 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.
  2674. */
  2675. errorHandlingConfig?: ErrorHandlingConfig;
  2676. /**
  2677. * This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.
  2678. */
  2679. writeOperationType?: WriteOperationType;
  2680. /**
  2681. * Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data to Salesforce. AUTOMATIC The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers to Salesforce. If your flow transfers fewer than 1,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0. Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900 records, and it might use Bulk API 2.0 on the next day to transfer 1,100 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields. By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output. BULKV2 Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers. Note that Bulk API 2.0 does not transfer Salesforce compound fields. REST_SYNC Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail with a timed out error.
  2682. */
  2683. dataTransferApi?: SalesforceDataTransferApi;
  2684. }
  2685. export interface SalesforceMetadata {
  2686. /**
  2687. * The desired authorization scope for the Salesforce account.
  2688. */
  2689. oAuthScopes?: OAuthScopeList;
  2690. /**
  2691. * The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.
  2692. */
  2693. dataTransferApis?: SalesforceDataTransferApiList;
  2694. /**
  2695. * The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. AUTHORIZATION_CODE Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. CLIENT_CREDENTIALS Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account. JWT_BEARER Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
  2696. */
  2697. oauth2GrantTypesSupported?: OAuth2GrantTypeSupportedList;
  2698. }
  2699. export interface SalesforceSourceProperties {
  2700. /**
  2701. * The object specified in the Salesforce flow source.
  2702. */
  2703. object: Object;
  2704. /**
  2705. * The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
  2706. */
  2707. enableDynamicFieldUpdate?: Boolean;
  2708. /**
  2709. * Indicates whether Amazon AppFlow includes deleted files in the flow run.
  2710. */
  2711. includeDeletedRecords?: Boolean;
  2712. /**
  2713. * Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce. AUTOMATIC The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers from Salesforce. If your flow transfers fewer than 1,000,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0. Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields. By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output. BULKV2 Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers. Note that Bulk API 2.0 does not transfer Salesforce compound fields. REST_SYNC Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail wituh a timed out error.
  2714. */
  2715. dataTransferApi?: SalesforceDataTransferApi;
  2716. }
  2717. export type ScheduleExpression = string;
  2718. export type ScheduleFrequencyType = "BYMINUTE"|"HOURLY"|"DAILY"|"WEEKLY"|"MONTHLY"|"ONCE"|string;
  2719. export type ScheduleOffset = number;
  2720. export interface ScheduledTriggerProperties {
  2721. /**
  2722. * The scheduling expression that determines the rate at which the schedule will run, for example rate(5minutes).
  2723. */
  2724. scheduleExpression: ScheduleExpression;
  2725. /**
  2726. * Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
  2727. */
  2728. dataPullMode?: DataPullMode;
  2729. /**
  2730. * The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-26T13:00:00-07:00.
  2731. */
  2732. scheduleStartTime?: _Date;
  2733. /**
  2734. * The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-27T13:00:00-07:00.
  2735. */
  2736. scheduleEndTime?: _Date;
  2737. /**
  2738. * Specifies the time zone used when referring to the dates and times of a scheduled flow, such as America/New_York. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow interprets the timestamps that you specify to schedule the flow. If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset in your timestamps. For example, the UTC offsets for the America/New_York timezone are -04:00 EDT and -05:00 EST.
  2739. */
  2740. timezone?: Timezone;
  2741. /**
  2742. * Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
  2743. */
  2744. scheduleOffset?: ScheduleOffset;
  2745. /**
  2746. * Specifies the date range for the records to import from the connector in the first flow run.
  2747. */
  2748. firstExecutionFrom?: _Date;
  2749. /**
  2750. * Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
  2751. */
  2752. flowErrorDeactivationThreshold?: FlowErrorDeactivationThreshold;
  2753. }
  2754. export type SchedulingFrequencyTypeList = ScheduleFrequencyType[];
  2755. export type SecretKey = string;
  2756. export type ServiceNowConnectorOperator = "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"|string;
  2757. export interface ServiceNowConnectorProfileCredentials {
  2758. /**
  2759. * The name of the user.
  2760. */
  2761. username?: Username;
  2762. /**
  2763. * The password that corresponds to the user name.
  2764. */
  2765. password?: Password;
  2766. /**
  2767. * The OAuth 2.0 credentials required to authenticate the user.
  2768. */
  2769. oAuth2Credentials?: OAuth2Credentials;
  2770. }
  2771. export interface ServiceNowConnectorProfileProperties {
  2772. /**
  2773. * The location of the ServiceNow resource.
  2774. */
  2775. instanceUrl: InstanceUrl;
  2776. }
  2777. export interface ServiceNowMetadata {
  2778. }
  2779. export interface ServiceNowSourceProperties {
  2780. /**
  2781. * The object specified in the ServiceNow flow source.
  2782. */
  2783. object: Object;
  2784. }
  2785. export type SingularConnectorOperator = "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"|string;
  2786. export interface SingularConnectorProfileCredentials {
  2787. /**
  2788. * A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
  2789. */
  2790. apiKey: ApiKey;
  2791. }
  2792. export interface SingularConnectorProfileProperties {
  2793. }
  2794. export interface SingularMetadata {
  2795. }
  2796. export interface SingularSourceProperties {
  2797. /**
  2798. * The object specified in the Singular flow source.
  2799. */
  2800. object: Object;
  2801. }
  2802. export type SlackConnectorOperator = "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"|string;
  2803. export interface SlackConnectorProfileCredentials {
  2804. /**
  2805. * The identifier for the client.
  2806. */
  2807. clientId: ClientId;
  2808. /**
  2809. * The client secret used by the OAuth client to authenticate to the authorization server.
  2810. */
  2811. clientSecret: ClientSecret;
  2812. /**
  2813. * The credentials used to access protected Slack resources.
  2814. */
  2815. accessToken?: AccessToken;
  2816. /**
  2817. * The OAuth requirement needed to request security tokens from the connector endpoint.
  2818. */
  2819. oAuthRequest?: ConnectorOAuthRequest;
  2820. }
  2821. export interface SlackConnectorProfileProperties {
  2822. /**
  2823. * The location of the Slack resource.
  2824. */
  2825. instanceUrl: InstanceUrl;
  2826. }
  2827. export interface SlackMetadata {
  2828. /**
  2829. * The desired authorization scope for the Slack account.
  2830. */
  2831. oAuthScopes?: OAuthScopeList;
  2832. }
  2833. export interface SlackSourceProperties {
  2834. /**
  2835. * The object specified in the Slack flow source.
  2836. */
  2837. object: Object;
  2838. }
  2839. export interface SnowflakeConnectorProfileCredentials {
  2840. /**
  2841. * The name of the user.
  2842. */
  2843. username: Username;
  2844. /**
  2845. * The password that corresponds to the user name.
  2846. */
  2847. password: Password;
  2848. }
  2849. export interface SnowflakeConnectorProfileProperties {
  2850. /**
  2851. * The name of the Snowflake warehouse.
  2852. */
  2853. warehouse: Warehouse;
  2854. /**
  2855. * 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: &lt; Database&gt;&lt; Schema&gt;&lt;Stage Name&gt;.
  2856. */
  2857. stage: Stage;
  2858. /**
  2859. * The name of the Amazon S3 bucket associated with Snowflake.
  2860. */
  2861. bucketName: BucketName;
  2862. /**
  2863. * The bucket path that refers to the Amazon S3 bucket associated with Snowflake.
  2864. */
  2865. bucketPrefix?: BucketPrefix;
  2866. /**
  2867. * The Snowflake Private Link service name to be used for private data transfers.
  2868. */
  2869. privateLinkServiceName?: PrivateLinkServiceName;
  2870. /**
  2871. * The name of the account.
  2872. */
  2873. accountName?: AccountName;
  2874. /**
  2875. * The Amazon Web Services Region of the Snowflake account.
  2876. */
  2877. region?: Region;
  2878. }
  2879. export interface SnowflakeDestinationProperties {
  2880. /**
  2881. * The object specified in the Snowflake flow destination.
  2882. */
  2883. object: Object;
  2884. /**
  2885. * The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.
  2886. */
  2887. intermediateBucketName: BucketName;
  2888. /**
  2889. * The object key for the destination bucket in which Amazon AppFlow places the files.
  2890. */
  2891. bucketPrefix?: BucketPrefix;
  2892. /**
  2893. * 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.
  2894. */
  2895. errorHandlingConfig?: ErrorHandlingConfig;
  2896. }
  2897. export interface SnowflakeMetadata {
  2898. /**
  2899. * Specifies the supported Amazon Web Services Regions when using Snowflake.
  2900. */
  2901. supportedRegions?: RegionList;
  2902. }
  2903. export interface SourceConnectorProperties {
  2904. /**
  2905. * Specifies the information that is required for querying Amplitude.
  2906. */
  2907. Amplitude?: AmplitudeSourceProperties;
  2908. /**
  2909. * Specifies the information that is required for querying Datadog.
  2910. */
  2911. Datadog?: DatadogSourceProperties;
  2912. /**
  2913. * Specifies the information that is required for querying Dynatrace.
  2914. */
  2915. Dynatrace?: DynatraceSourceProperties;
  2916. /**
  2917. * Specifies the information that is required for querying Google Analytics.
  2918. */
  2919. GoogleAnalytics?: GoogleAnalyticsSourceProperties;
  2920. /**
  2921. * Specifies the information that is required for querying Infor Nexus.
  2922. */
  2923. InforNexus?: InforNexusSourceProperties;
  2924. /**
  2925. * Specifies the information that is required for querying Marketo.
  2926. */
  2927. Marketo?: MarketoSourceProperties;
  2928. /**
  2929. * Specifies the information that is required for querying Amazon S3.
  2930. */
  2931. S3?: S3SourceProperties;
  2932. /**
  2933. * Specifies the information that is required for querying Salesforce.
  2934. */
  2935. Salesforce?: SalesforceSourceProperties;
  2936. /**
  2937. * Specifies the information that is required for querying ServiceNow.
  2938. */
  2939. ServiceNow?: ServiceNowSourceProperties;
  2940. /**
  2941. * Specifies the information that is required for querying Singular.
  2942. */
  2943. Singular?: SingularSourceProperties;
  2944. /**
  2945. * Specifies the information that is required for querying Slack.
  2946. */
  2947. Slack?: SlackSourceProperties;
  2948. /**
  2949. * Specifies the information that is required for querying Trend Micro.
  2950. */
  2951. Trendmicro?: TrendmicroSourceProperties;
  2952. /**
  2953. * Specifies the information that is required for querying Veeva.
  2954. */
  2955. Veeva?: VeevaSourceProperties;
  2956. /**
  2957. * Specifies the information that is required for querying Zendesk.
  2958. */
  2959. Zendesk?: ZendeskSourceProperties;
  2960. SAPOData?: SAPODataSourceProperties;
  2961. CustomConnector?: CustomConnectorSourceProperties;
  2962. /**
  2963. * Specifies the information that is required for querying Salesforce Pardot.
  2964. */
  2965. Pardot?: PardotSourceProperties;
  2966. }
  2967. export interface SourceFieldProperties {
  2968. /**
  2969. * Indicates whether the field can be returned in a search result.
  2970. */
  2971. isRetrievable?: Boolean;
  2972. /**
  2973. * Indicates if the field can be queried.
  2974. */
  2975. isQueryable?: Boolean;
  2976. /**
  2977. * Indicates if this timestamp field can be used for incremental queries.
  2978. */
  2979. isTimestampFieldForIncrementalQueries?: Boolean;
  2980. }
  2981. export type SourceFields = String[];
  2982. export interface SourceFlowConfig {
  2983. /**
  2984. * The type of connector, such as Salesforce, Amplitude, and so on.
  2985. */
  2986. connectorType: ConnectorType;
  2987. /**
  2988. * The API version of the connector when it's used as a source in the flow.
  2989. */
  2990. apiVersion?: ApiVersion;
  2991. /**
  2992. * The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.
  2993. */
  2994. connectorProfileName?: ConnectorProfileName;
  2995. /**
  2996. * Specifies the information that is required to query a particular source connector.
  2997. */
  2998. sourceConnectorProperties: SourceConnectorProperties;
  2999. /**
  3000. * 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.
  3001. */
  3002. incrementalPullConfig?: IncrementalPullConfig;
  3003. }
  3004. export type Stage = string;
  3005. export interface StartFlowRequest {
  3006. /**
  3007. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  3008. */
  3009. flowName: FlowName;
  3010. /**
  3011. * The clientToken parameter is an idempotency token. It ensures that your StartFlow request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value. If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases. If you specify input parameters that differ from your first request, an error occurs for flows that run on a schedule or based on an event. However, the error doesn't occur for flows that run on demand. You set the conditions that initiate your flow for the triggerConfig parameter. If you use a different value for clientToken, Amazon AppFlow considers it a new call to StartFlow. The token is active for 8 hours.
  3012. */
  3013. clientToken?: ClientToken;
  3014. }
  3015. export interface StartFlowResponse {
  3016. /**
  3017. * The flow's Amazon Resource Name (ARN).
  3018. */
  3019. flowArn?: FlowArn;
  3020. /**
  3021. * Indicates the current status of the flow.
  3022. */
  3023. flowStatus?: FlowStatus;
  3024. /**
  3025. * 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.
  3026. */
  3027. executionId?: ExecutionId;
  3028. }
  3029. export interface StopFlowRequest {
  3030. /**
  3031. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  3032. */
  3033. flowName: FlowName;
  3034. }
  3035. export interface StopFlowResponse {
  3036. /**
  3037. * The flow's Amazon Resource Name (ARN).
  3038. */
  3039. flowArn?: FlowArn;
  3040. /**
  3041. * Indicates the current status of the flow.
  3042. */
  3043. flowStatus?: FlowStatus;
  3044. }
  3045. export type String = string;
  3046. export interface SuccessResponseHandlingConfig {
  3047. /**
  3048. * The Amazon S3 bucket prefix.
  3049. */
  3050. bucketPrefix?: BucketPrefix;
  3051. /**
  3052. * The name of the Amazon S3 bucket.
  3053. */
  3054. bucketName?: BucketName;
  3055. }
  3056. export type SupportedApiVersion = string;
  3057. export type SupportedApiVersionList = SupportedApiVersion[];
  3058. export type SupportedDataTransferApis = DataTransferApi[];
  3059. export type SupportedDataTransferType = "RECORD"|"FILE"|string;
  3060. export type SupportedDataTransferTypeList = SupportedDataTransferType[];
  3061. export interface SupportedFieldTypeDetails {
  3062. /**
  3063. * The initial supported version for fieldType. If this is later changed to a different version, v2 will be introduced.
  3064. */
  3065. v1: FieldTypeDetails;
  3066. }
  3067. export type SupportedOperatorList = Operators[];
  3068. export type SupportedValueList = Value[];
  3069. export type SupportedWriteOperationList = WriteOperationType[];
  3070. export type TagKey = string;
  3071. export type TagKeyList = TagKey[];
  3072. export type TagMap = {[key: string]: TagValue};
  3073. export interface TagResourceRequest {
  3074. /**
  3075. * The Amazon Resource Name (ARN) of the flow that you want to tag.
  3076. */
  3077. resourceArn: ARN;
  3078. /**
  3079. * The tags used to organize, track, or control access for your flow.
  3080. */
  3081. tags: TagMap;
  3082. }
  3083. export interface TagResourceResponse {
  3084. }
  3085. export type TagValue = string;
  3086. export interface Task {
  3087. /**
  3088. * The source fields to which a particular task is applied.
  3089. */
  3090. sourceFields: SourceFields;
  3091. /**
  3092. * The operation to be performed on the provided source fields.
  3093. */
  3094. connectorOperator?: ConnectorOperator;
  3095. /**
  3096. * A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
  3097. */
  3098. destinationField?: DestinationField;
  3099. /**
  3100. * Specifies the particular task implementation that Amazon AppFlow performs.
  3101. */
  3102. taskType: TaskType;
  3103. /**
  3104. * A map used to store task-related information. The execution service looks for particular information based on the TaskType.
  3105. */
  3106. taskProperties?: TaskPropertiesMap;
  3107. }
  3108. export type TaskPropertiesMap = {[key: string]: Property};
  3109. export type TaskType = "Arithmetic"|"Filter"|"Map"|"Map_all"|"Mask"|"Merge"|"Passthrough"|"Truncate"|"Validate"|"Partition"|string;
  3110. export type Tasks = Task[];
  3111. export type Timezone = string;
  3112. export type TokenUrl = string;
  3113. export type TokenUrlCustomProperties = {[key: string]: CustomPropertyValue};
  3114. export type TokenUrlList = TokenUrl[];
  3115. export type TrendmicroConnectorOperator = "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"|string;
  3116. export interface TrendmicroConnectorProfileCredentials {
  3117. /**
  3118. * The Secret Access Key portion of the credentials.
  3119. */
  3120. apiSecretKey: ApiSecretKey;
  3121. }
  3122. export interface TrendmicroConnectorProfileProperties {
  3123. }
  3124. export interface TrendmicroMetadata {
  3125. }
  3126. export interface TrendmicroSourceProperties {
  3127. /**
  3128. * The object specified in the Trend Micro flow source.
  3129. */
  3130. object: Object;
  3131. }
  3132. export interface TriggerConfig {
  3133. /**
  3134. * Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
  3135. */
  3136. triggerType: TriggerType;
  3137. /**
  3138. * Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.
  3139. */
  3140. triggerProperties?: TriggerProperties;
  3141. }
  3142. export interface TriggerProperties {
  3143. /**
  3144. * Specifies the configuration details of a schedule-triggered flow as defined by the user.
  3145. */
  3146. Scheduled?: ScheduledTriggerProperties;
  3147. }
  3148. export type TriggerType = "Scheduled"|"Event"|"OnDemand"|string;
  3149. export type TriggerTypeList = TriggerType[];
  3150. export interface UnregisterConnectorRequest {
  3151. /**
  3152. * The label of the connector. The label is unique for each ConnectorRegistration in your Amazon Web Services account.
  3153. */
  3154. connectorLabel: ConnectorLabel;
  3155. /**
  3156. * Indicates whether Amazon AppFlow should unregister the connector, even if it is currently in use in one or more connector profiles. The default value is false.
  3157. */
  3158. forceDelete?: Boolean;
  3159. }
  3160. export interface UnregisterConnectorResponse {
  3161. }
  3162. export interface UntagResourceRequest {
  3163. /**
  3164. * The Amazon Resource Name (ARN) of the flow that you want to untag.
  3165. */
  3166. resourceArn: ARN;
  3167. /**
  3168. * The tag keys associated with the tag that you want to remove from your flow.
  3169. */
  3170. tagKeys: TagKeyList;
  3171. }
  3172. export interface UntagResourceResponse {
  3173. }
  3174. export interface UpdateConnectorProfileRequest {
  3175. /**
  3176. * The name of the connector profile and is unique for each ConnectorProfile in the Amazon Web Services account.
  3177. */
  3178. connectorProfileName: ConnectorProfileName;
  3179. /**
  3180. * Indicates the connection mode and if it is public or private.
  3181. */
  3182. connectionMode: ConnectionMode;
  3183. /**
  3184. * Defines the connector-specific profile configuration and credentials.
  3185. */
  3186. connectorProfileConfig: ConnectorProfileConfig;
  3187. /**
  3188. * The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorProfile request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value. If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases. If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateConnectorProfile. The token is active for 8 hours.
  3189. */
  3190. clientToken?: ClientToken;
  3191. }
  3192. export interface UpdateConnectorProfileResponse {
  3193. /**
  3194. * The Amazon Resource Name (ARN) of the connector profile.
  3195. */
  3196. connectorProfileArn?: ConnectorProfileArn;
  3197. }
  3198. export interface UpdateConnectorRegistrationRequest {
  3199. /**
  3200. * The name of the connector. The name is unique for each connector registration in your AWS account.
  3201. */
  3202. connectorLabel: ConnectorLabel;
  3203. /**
  3204. * A description about the update that you're applying to the connector.
  3205. */
  3206. description?: Description;
  3207. connectorProvisioningConfig?: ConnectorProvisioningConfig;
  3208. /**
  3209. * The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value. If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases. If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateConnectorRegistration. The token is active for 8 hours.
  3210. */
  3211. clientToken?: ClientToken;
  3212. }
  3213. export interface UpdateConnectorRegistrationResponse {
  3214. /**
  3215. * The ARN of the connector being updated.
  3216. */
  3217. connectorArn?: ARN;
  3218. }
  3219. export interface UpdateFlowRequest {
  3220. /**
  3221. * The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
  3222. */
  3223. flowName: FlowName;
  3224. /**
  3225. * A description of the flow.
  3226. */
  3227. description?: FlowDescription;
  3228. /**
  3229. * The trigger settings that determine how and when the flow runs.
  3230. */
  3231. triggerConfig: TriggerConfig;
  3232. sourceFlowConfig: SourceFlowConfig;
  3233. /**
  3234. * The configuration that controls how Amazon AppFlow transfers data to the destination connector.
  3235. */
  3236. destinationFlowConfigList: DestinationFlowConfigList;
  3237. /**
  3238. * A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
  3239. */
  3240. tasks: Tasks;
  3241. /**
  3242. * Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
  3243. */
  3244. metadataCatalogConfig?: MetadataCatalogConfig;
  3245. /**
  3246. * The clientToken parameter is an idempotency token. It ensures that your UpdateFlow request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value. If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases. If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateFlow. The token is active for 8 hours.
  3247. */
  3248. clientToken?: ClientToken;
  3249. }
  3250. export interface UpdateFlowResponse {
  3251. /**
  3252. * Indicates the current status of the flow.
  3253. */
  3254. flowStatus?: FlowStatus;
  3255. }
  3256. export type UpdatedBy = string;
  3257. export type UpsolverBucketName = string;
  3258. export interface UpsolverDestinationProperties {
  3259. /**
  3260. * The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
  3261. */
  3262. bucketName: UpsolverBucketName;
  3263. /**
  3264. * The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.
  3265. */
  3266. bucketPrefix?: BucketPrefix;
  3267. /**
  3268. * The configuration that determines how data is formatted when Upsolver is used as the flow destination.
  3269. */
  3270. s3OutputFormatConfig: UpsolverS3OutputFormatConfig;
  3271. }
  3272. export interface UpsolverMetadata {
  3273. }
  3274. export interface UpsolverS3OutputFormatConfig {
  3275. /**
  3276. * Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
  3277. */
  3278. fileType?: FileType;
  3279. prefixConfig: PrefixConfig;
  3280. aggregationConfig?: AggregationConfig;
  3281. }
  3282. export type Username = string;
  3283. export type Value = string;
  3284. export type VeevaConnectorOperator = "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"|string;
  3285. export interface VeevaConnectorProfileCredentials {
  3286. /**
  3287. * The name of the user.
  3288. */
  3289. username: Username;
  3290. /**
  3291. * The password that corresponds to the user name.
  3292. */
  3293. password: Password;
  3294. }
  3295. export interface VeevaConnectorProfileProperties {
  3296. /**
  3297. * The location of the Veeva resource.
  3298. */
  3299. instanceUrl: InstanceUrl;
  3300. }
  3301. export interface VeevaMetadata {
  3302. }
  3303. export interface VeevaSourceProperties {
  3304. /**
  3305. * The object specified in the Veeva flow source.
  3306. */
  3307. object: Object;
  3308. /**
  3309. * The document type specified in the Veeva document extract flow.
  3310. */
  3311. documentType?: DocumentType;
  3312. /**
  3313. * Boolean value to include source files in Veeva document extract flow.
  3314. */
  3315. includeSourceFiles?: Boolean;
  3316. /**
  3317. * Boolean value to include file renditions in Veeva document extract flow.
  3318. */
  3319. includeRenditions?: Boolean;
  3320. /**
  3321. * Boolean value to include All Versions of files in Veeva document extract flow.
  3322. */
  3323. includeAllVersions?: Boolean;
  3324. }
  3325. export type Warehouse = string;
  3326. export type WorkgroupName = string;
  3327. export type WriteOperationType = "INSERT"|"UPSERT"|"UPDATE"|"DELETE"|string;
  3328. export type ZendeskConnectorOperator = "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"|string;
  3329. export interface ZendeskConnectorProfileCredentials {
  3330. /**
  3331. * The identifier for the desired client.
  3332. */
  3333. clientId: ClientId;
  3334. /**
  3335. * The client secret used by the OAuth client to authenticate to the authorization server.
  3336. */
  3337. clientSecret: ClientSecret;
  3338. /**
  3339. * The credentials used to access protected Zendesk resources.
  3340. */
  3341. accessToken?: AccessToken;
  3342. /**
  3343. * The OAuth requirement needed to request security tokens from the connector endpoint.
  3344. */
  3345. oAuthRequest?: ConnectorOAuthRequest;
  3346. }
  3347. export interface ZendeskConnectorProfileProperties {
  3348. /**
  3349. * The location of the Zendesk resource.
  3350. */
  3351. instanceUrl: InstanceUrl;
  3352. }
  3353. export interface ZendeskDestinationProperties {
  3354. /**
  3355. * The object specified in the Zendesk flow destination.
  3356. */
  3357. object: Object;
  3358. idFieldNames?: IdFieldNameList;
  3359. errorHandlingConfig?: ErrorHandlingConfig;
  3360. writeOperationType?: WriteOperationType;
  3361. }
  3362. export interface ZendeskMetadata {
  3363. /**
  3364. * The desired authorization scope for the Zendesk account.
  3365. */
  3366. oAuthScopes?: OAuthScopeList;
  3367. }
  3368. export interface ZendeskSourceProperties {
  3369. /**
  3370. * The object specified in the Zendesk flow source.
  3371. */
  3372. object: Object;
  3373. }
  3374. /**
  3375. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3376. */
  3377. export type apiVersion = "2020-08-23"|"latest"|string;
  3378. export interface ClientApiVersions {
  3379. /**
  3380. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3381. */
  3382. apiVersion?: apiVersion;
  3383. }
  3384. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  3385. /**
  3386. * Contains interfaces for use with the Appflow client.
  3387. */
  3388. export import Types = Appflow;
  3389. }
  3390. export = Appflow;