12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351 |
- import {Request} from '../lib/request';
- import {Response} from '../lib/response';
- import {AWSError} from '../lib/error';
- import {Service} from '../lib/service';
- import {ServiceConfigurationOptions} from '../lib/service';
- import {ConfigBase as Config} from '../lib/config-base';
- interface Blob {}
- declare class AmplifyUIBuilder extends Service {
- /**
- * Constructs a service object. This object has one method for each API operation.
- */
- constructor(options?: AmplifyUIBuilder.Types.ClientConfiguration)
- config: Config & AmplifyUIBuilder.Types.ClientConfiguration;
- /**
- * Creates a new component for an Amplify app.
- */
- createComponent(params: AmplifyUIBuilder.Types.CreateComponentRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateComponentResponse) => void): Request<AmplifyUIBuilder.Types.CreateComponentResponse, AWSError>;
- /**
- * Creates a new component for an Amplify app.
- */
- createComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateComponentResponse) => void): Request<AmplifyUIBuilder.Types.CreateComponentResponse, AWSError>;
- /**
- * Creates a new form for an Amplify app.
- */
- createForm(params: AmplifyUIBuilder.Types.CreateFormRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateFormResponse) => void): Request<AmplifyUIBuilder.Types.CreateFormResponse, AWSError>;
- /**
- * Creates a new form for an Amplify app.
- */
- createForm(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateFormResponse) => void): Request<AmplifyUIBuilder.Types.CreateFormResponse, AWSError>;
- /**
- * Creates a theme to apply to the components in an Amplify app.
- */
- createTheme(params: AmplifyUIBuilder.Types.CreateThemeRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateThemeResponse) => void): Request<AmplifyUIBuilder.Types.CreateThemeResponse, AWSError>;
- /**
- * Creates a theme to apply to the components in an Amplify app.
- */
- createTheme(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.CreateThemeResponse) => void): Request<AmplifyUIBuilder.Types.CreateThemeResponse, AWSError>;
- /**
- * Deletes a component from an Amplify app.
- */
- deleteComponent(params: AmplifyUIBuilder.Types.DeleteComponentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * Deletes a component from an Amplify app.
- */
- deleteComponent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * Deletes a form from an Amplify app.
- */
- deleteForm(params: AmplifyUIBuilder.Types.DeleteFormRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * Deletes a form from an Amplify app.
- */
- deleteForm(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * Deletes a theme from an Amplify app.
- */
- deleteTheme(params: AmplifyUIBuilder.Types.DeleteThemeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * Deletes a theme from an Amplify app.
- */
- deleteTheme(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * This is for internal use. Amplify uses this action to exchange an access code for a token.
- */
- exchangeCodeForToken(params: AmplifyUIBuilder.Types.ExchangeCodeForTokenRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse) => void): Request<AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse, AWSError>;
- /**
- * This is for internal use. Amplify uses this action to exchange an access code for a token.
- */
- exchangeCodeForToken(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse) => void): Request<AmplifyUIBuilder.Types.ExchangeCodeForTokenResponse, AWSError>;
- /**
- * Exports component configurations to code that is ready to integrate into an Amplify app.
- */
- exportComponents(params: AmplifyUIBuilder.Types.ExportComponentsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ExportComponentsResponse, AWSError>;
- /**
- * Exports component configurations to code that is ready to integrate into an Amplify app.
- */
- exportComponents(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ExportComponentsResponse, AWSError>;
- /**
- * Exports form configurations to code that is ready to integrate into an Amplify app.
- */
- exportForms(params: AmplifyUIBuilder.Types.ExportFormsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportFormsResponse) => void): Request<AmplifyUIBuilder.Types.ExportFormsResponse, AWSError>;
- /**
- * Exports form configurations to code that is ready to integrate into an Amplify app.
- */
- exportForms(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportFormsResponse) => void): Request<AmplifyUIBuilder.Types.ExportFormsResponse, AWSError>;
- /**
- * Exports theme configurations to code that is ready to integrate into an Amplify app.
- */
- exportThemes(params: AmplifyUIBuilder.Types.ExportThemesRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportThemesResponse) => void): Request<AmplifyUIBuilder.Types.ExportThemesResponse, AWSError>;
- /**
- * Exports theme configurations to code that is ready to integrate into an Amplify app.
- */
- exportThemes(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ExportThemesResponse) => void): Request<AmplifyUIBuilder.Types.ExportThemesResponse, AWSError>;
- /**
- * Returns an existing code generation job.
- */
- getCodegenJob(params: AmplifyUIBuilder.Types.GetCodegenJobRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetCodegenJobResponse) => void): Request<AmplifyUIBuilder.Types.GetCodegenJobResponse, AWSError>;
- /**
- * Returns an existing code generation job.
- */
- getCodegenJob(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetCodegenJobResponse) => void): Request<AmplifyUIBuilder.Types.GetCodegenJobResponse, AWSError>;
- /**
- * Returns an existing component for an Amplify app.
- */
- getComponent(params: AmplifyUIBuilder.Types.GetComponentRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetComponentResponse) => void): Request<AmplifyUIBuilder.Types.GetComponentResponse, AWSError>;
- /**
- * Returns an existing component for an Amplify app.
- */
- getComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetComponentResponse) => void): Request<AmplifyUIBuilder.Types.GetComponentResponse, AWSError>;
- /**
- * Returns an existing form for an Amplify app.
- */
- getForm(params: AmplifyUIBuilder.Types.GetFormRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetFormResponse) => void): Request<AmplifyUIBuilder.Types.GetFormResponse, AWSError>;
- /**
- * Returns an existing form for an Amplify app.
- */
- getForm(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetFormResponse) => void): Request<AmplifyUIBuilder.Types.GetFormResponse, AWSError>;
- /**
- * Returns existing metadata for an Amplify app.
- */
- getMetadata(params: AmplifyUIBuilder.Types.GetMetadataRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetMetadataResponse) => void): Request<AmplifyUIBuilder.Types.GetMetadataResponse, AWSError>;
- /**
- * Returns existing metadata for an Amplify app.
- */
- getMetadata(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetMetadataResponse) => void): Request<AmplifyUIBuilder.Types.GetMetadataResponse, AWSError>;
- /**
- * Returns an existing theme for an Amplify app.
- */
- getTheme(params: AmplifyUIBuilder.Types.GetThemeRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetThemeResponse) => void): Request<AmplifyUIBuilder.Types.GetThemeResponse, AWSError>;
- /**
- * Returns an existing theme for an Amplify app.
- */
- getTheme(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.GetThemeResponse) => void): Request<AmplifyUIBuilder.Types.GetThemeResponse, AWSError>;
- /**
- * Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
- */
- listCodegenJobs(params: AmplifyUIBuilder.Types.ListCodegenJobsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListCodegenJobsResponse) => void): Request<AmplifyUIBuilder.Types.ListCodegenJobsResponse, AWSError>;
- /**
- * Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
- */
- listCodegenJobs(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListCodegenJobsResponse) => void): Request<AmplifyUIBuilder.Types.ListCodegenJobsResponse, AWSError>;
- /**
- * Retrieves a list of components for a specified Amplify app and backend environment.
- */
- listComponents(params: AmplifyUIBuilder.Types.ListComponentsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ListComponentsResponse, AWSError>;
- /**
- * Retrieves a list of components for a specified Amplify app and backend environment.
- */
- listComponents(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListComponentsResponse) => void): Request<AmplifyUIBuilder.Types.ListComponentsResponse, AWSError>;
- /**
- * Retrieves a list of forms for a specified Amplify app and backend environment.
- */
- listForms(params: AmplifyUIBuilder.Types.ListFormsRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListFormsResponse) => void): Request<AmplifyUIBuilder.Types.ListFormsResponse, AWSError>;
- /**
- * Retrieves a list of forms for a specified Amplify app and backend environment.
- */
- listForms(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListFormsResponse) => void): Request<AmplifyUIBuilder.Types.ListFormsResponse, AWSError>;
- /**
- * Returns a list of tags for a specified Amazon Resource Name (ARN).
- */
- listTagsForResource(params: AmplifyUIBuilder.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListTagsForResourceResponse) => void): Request<AmplifyUIBuilder.Types.ListTagsForResourceResponse, AWSError>;
- /**
- * Returns a list of tags for a specified Amazon Resource Name (ARN).
- */
- listTagsForResource(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListTagsForResourceResponse) => void): Request<AmplifyUIBuilder.Types.ListTagsForResourceResponse, AWSError>;
- /**
- * Retrieves a list of themes for a specified Amplify app and backend environment.
- */
- listThemes(params: AmplifyUIBuilder.Types.ListThemesRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListThemesResponse) => void): Request<AmplifyUIBuilder.Types.ListThemesResponse, AWSError>;
- /**
- * Retrieves a list of themes for a specified Amplify app and backend environment.
- */
- listThemes(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.ListThemesResponse) => void): Request<AmplifyUIBuilder.Types.ListThemesResponse, AWSError>;
- /**
- * Stores the metadata information about a feature on a form.
- */
- putMetadataFlag(params: AmplifyUIBuilder.Types.PutMetadataFlagRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * Stores the metadata information about a feature on a form.
- */
- putMetadataFlag(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
- /**
- * This is for internal use. Amplify uses this action to refresh a previously issued access token that might have expired.
- */
- refreshToken(params: AmplifyUIBuilder.Types.RefreshTokenRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.RefreshTokenResponse) => void): Request<AmplifyUIBuilder.Types.RefreshTokenResponse, AWSError>;
- /**
- * This is for internal use. Amplify uses this action to refresh a previously issued access token that might have expired.
- */
- refreshToken(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.RefreshTokenResponse) => void): Request<AmplifyUIBuilder.Types.RefreshTokenResponse, AWSError>;
- /**
- * Starts a code generation job for a specified Amplify app and backend environment.
- */
- startCodegenJob(params: AmplifyUIBuilder.Types.StartCodegenJobRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.StartCodegenJobResponse) => void): Request<AmplifyUIBuilder.Types.StartCodegenJobResponse, AWSError>;
- /**
- * Starts a code generation job for a specified Amplify app and backend environment.
- */
- startCodegenJob(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.StartCodegenJobResponse) => void): Request<AmplifyUIBuilder.Types.StartCodegenJobResponse, AWSError>;
- /**
- * Tags the resource with a tag key and value.
- */
- tagResource(params: AmplifyUIBuilder.Types.TagResourceRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.TagResourceResponse) => void): Request<AmplifyUIBuilder.Types.TagResourceResponse, AWSError>;
- /**
- * Tags the resource with a tag key and value.
- */
- tagResource(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.TagResourceResponse) => void): Request<AmplifyUIBuilder.Types.TagResourceResponse, AWSError>;
- /**
- * Untags a resource with a specified Amazon Resource Name (ARN).
- */
- untagResource(params: AmplifyUIBuilder.Types.UntagResourceRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UntagResourceResponse) => void): Request<AmplifyUIBuilder.Types.UntagResourceResponse, AWSError>;
- /**
- * Untags a resource with a specified Amazon Resource Name (ARN).
- */
- untagResource(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UntagResourceResponse) => void): Request<AmplifyUIBuilder.Types.UntagResourceResponse, AWSError>;
- /**
- * Updates an existing component.
- */
- updateComponent(params: AmplifyUIBuilder.Types.UpdateComponentRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateComponentResponse) => void): Request<AmplifyUIBuilder.Types.UpdateComponentResponse, AWSError>;
- /**
- * Updates an existing component.
- */
- updateComponent(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateComponentResponse) => void): Request<AmplifyUIBuilder.Types.UpdateComponentResponse, AWSError>;
- /**
- * Updates an existing form.
- */
- updateForm(params: AmplifyUIBuilder.Types.UpdateFormRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateFormResponse) => void): Request<AmplifyUIBuilder.Types.UpdateFormResponse, AWSError>;
- /**
- * Updates an existing form.
- */
- updateForm(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateFormResponse) => void): Request<AmplifyUIBuilder.Types.UpdateFormResponse, AWSError>;
- /**
- * Updates an existing theme.
- */
- updateTheme(params: AmplifyUIBuilder.Types.UpdateThemeRequest, callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateThemeResponse) => void): Request<AmplifyUIBuilder.Types.UpdateThemeResponse, AWSError>;
- /**
- * Updates an existing theme.
- */
- updateTheme(callback?: (err: AWSError, data: AmplifyUIBuilder.Types.UpdateThemeResponse) => void): Request<AmplifyUIBuilder.Types.UpdateThemeResponse, AWSError>;
- }
- declare namespace AmplifyUIBuilder {
- export interface ActionParameters {
- /**
- * The type of navigation action. Valid values are url and anchor. This value is required for a navigation action.
- */
- type?: ComponentProperty;
- /**
- * The URL to the location to open. Specify this value for a navigation action.
- */
- url?: ComponentProperty;
- /**
- * The HTML anchor link to the location to open. Specify this value for a navigation action.
- */
- anchor?: ComponentProperty;
- /**
- * The element within the same component to modify when the action occurs.
- */
- target?: ComponentProperty;
- /**
- * Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- */
- global?: ComponentProperty;
- /**
- * The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- */
- model?: String;
- /**
- * The unique ID of the component that the ActionParameters apply to.
- */
- id?: ComponentProperty;
- /**
- * A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
- */
- fields?: ComponentProperties;
- /**
- * A key-value pair that specifies the state property name and its initial value.
- */
- state?: MutationActionSetStateParameter;
- }
- export interface ApiConfiguration {
- /**
- * The configuration for an application using GraphQL APIs.
- */
- graphQLConfig?: GraphQLRenderConfig;
- /**
- * The configuration for an application using DataStore APIs.
- */
- dataStoreConfig?: DataStoreRenderConfig;
- /**
- * The configuration for an application with no API being used.
- */
- noApiConfig?: NoApiRenderConfig;
- }
- export type AppId = string;
- export type AssociatedFieldsList = String[];
- export type Boolean = boolean;
- export type CodegenDependencies = CodegenDependency[];
- export interface CodegenDependency {
- /**
- * Name of the dependency package.
- */
- name?: String;
- /**
- * Indicates the version of the supported dependency package.
- */
- supportedVersion?: String;
- /**
- * Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.
- */
- isSemVer?: Boolean;
- /**
- * Indicates the reason to include the dependency package in your project code.
- */
- reason?: String;
- }
- export interface CodegenFeatureFlags {
- /**
- * Specifes whether a code generation job supports data relationships.
- */
- isRelationshipSupported?: Boolean;
- /**
- * Specifies whether a code generation job supports non models.
- */
- isNonModelSupported?: Boolean;
- }
- export interface CodegenGenericDataEnum {
- /**
- * The list of enum values in the generic data schema.
- */
- values: CodegenGenericDataEnumValuesList;
- }
- export type CodegenGenericDataEnumValuesList = String[];
- export type CodegenGenericDataEnums = {[key: string]: CodegenGenericDataEnum};
- export interface CodegenGenericDataField {
- /**
- * The data type for the generic data field.
- */
- dataType: CodegenGenericDataFieldDataType;
- /**
- * The value of the data type for the generic data field.
- */
- dataTypeValue: String;
- /**
- * Specifies whether the generic data field is required.
- */
- required: Boolean;
- /**
- * Specifies whether the generic data field is read-only.
- */
- readOnly: Boolean;
- /**
- * Specifies whether the generic data field is an array.
- */
- isArray: Boolean;
- /**
- * The relationship of the generic data schema.
- */
- relationship?: CodegenGenericDataRelationshipType;
- }
- export type CodegenGenericDataFieldDataType = "ID"|"String"|"Int"|"Float"|"AWSDate"|"AWSTime"|"AWSDateTime"|"AWSTimestamp"|"AWSEmail"|"AWSURL"|"AWSIPAddress"|"Boolean"|"AWSJSON"|"AWSPhone"|"Enum"|"Model"|"NonModel"|string;
- export type CodegenGenericDataFields = {[key: string]: CodegenGenericDataField};
- export interface CodegenGenericDataModel {
- /**
- * The fields in the generic data model.
- */
- fields: CodegenGenericDataFields;
- /**
- * Specifies whether the generic data model is a join table.
- */
- isJoinTable?: Boolean;
- /**
- * The primary keys of the generic data model.
- */
- primaryKeys: CodegenPrimaryKeysList;
- }
- export type CodegenGenericDataModels = {[key: string]: CodegenGenericDataModel};
- export interface CodegenGenericDataNonModel {
- /**
- * The fields in a generic data schema non model.
- */
- fields: CodegenGenericDataNonModelFields;
- }
- export type CodegenGenericDataNonModelFields = {[key: string]: CodegenGenericDataField};
- export type CodegenGenericDataNonModels = {[key: string]: CodegenGenericDataNonModel};
- export interface CodegenGenericDataRelationshipType {
- /**
- * The data relationship type.
- */
- type: GenericDataRelationshipType;
- /**
- * The name of the related model in the data relationship.
- */
- relatedModelName: String;
- /**
- * The related model fields in the data relationship.
- */
- relatedModelFields?: RelatedModelFieldsList;
- /**
- * Specifies whether the relationship can unlink the associated model.
- */
- canUnlinkAssociatedModel?: Boolean;
- /**
- * The name of the related join field in the data relationship.
- */
- relatedJoinFieldName?: String;
- /**
- * The name of the related join table in the data relationship.
- */
- relatedJoinTableName?: String;
- /**
- * The value of the belongsTo field on the related data model.
- */
- belongsToFieldOnRelatedModel?: String;
- /**
- * The associated fields of the data relationship.
- */
- associatedFields?: AssociatedFieldsList;
- /**
- * Specifies whether the @index directive is supported for a hasMany data relationship.
- */
- isHasManyIndex?: Boolean;
- }
- export interface CodegenJob {
- /**
- * The unique ID for the code generation job.
- */
- id: Uuid;
- /**
- * The ID of the Amplify app associated with the code generation job.
- */
- appId: AppId;
- /**
- * The name of the backend environment associated with the code generation job.
- */
- environmentName: String;
- renderConfig?: CodegenJobRenderConfig;
- genericDataSchema?: CodegenJobGenericDataSchema;
- /**
- * Specifies whether to autogenerate forms in the code generation job.
- */
- autoGenerateForms?: Boolean;
- features?: CodegenFeatureFlags;
- /**
- * The status of the code generation job.
- */
- status?: CodegenJobStatus;
- /**
- * The customized status message for the code generation job.
- */
- statusMessage?: String;
- /**
- * The CodegenJobAsset to use for the code generation job.
- */
- asset?: CodegenJobAsset;
- /**
- * One or more key-value pairs to use when tagging the code generation job.
- */
- tags?: Tags;
- /**
- * The time that the code generation job was created.
- */
- createdAt?: SyntheticTimestamp_date_time;
- /**
- * The time that the code generation job was modified.
- */
- modifiedAt?: SyntheticTimestamp_date_time;
- /**
- * Lists the dependency packages that may be required for the project code to run.
- */
- dependencies?: CodegenDependencies;
- }
- export interface CodegenJobAsset {
- /**
- * The URL to use to access the asset.
- */
- downloadUrl?: String;
- }
- export interface CodegenJobGenericDataSchema {
- /**
- * The type of the data source for the schema. Currently, the only valid value is an Amplify DataStore.
- */
- dataSourceType: CodegenJobGenericDataSourceType;
- /**
- * The name of a CodegenGenericDataModel.
- */
- models: CodegenGenericDataModels;
- /**
- * The name of a CodegenGenericDataEnum.
- */
- enums: CodegenGenericDataEnums;
- /**
- * The name of a CodegenGenericDataNonModel.
- */
- nonModels: CodegenGenericDataNonModels;
- }
- export type CodegenJobGenericDataSourceType = "DataStore"|string;
- export interface CodegenJobRenderConfig {
- /**
- * The name of the ReactStartCodegenJobData object.
- */
- react?: ReactStartCodegenJobData;
- }
- export type CodegenJobStatus = "in_progress"|"failed"|"succeeded"|string;
- export interface CodegenJobSummary {
- /**
- * The unique ID of the Amplify app associated with the code generation job.
- */
- appId: AppId;
- /**
- * The name of the backend environment associated with the code generation job.
- */
- environmentName: String;
- /**
- * The unique ID for the code generation job summary.
- */
- id: Uuid;
- /**
- * The time that the code generation job summary was created.
- */
- createdAt?: SyntheticTimestamp_date_time;
- /**
- * The time that the code generation job summary was modified.
- */
- modifiedAt?: SyntheticTimestamp_date_time;
- }
- export type CodegenJobSummaryList = CodegenJobSummary[];
- export type CodegenPrimaryKeysList = String[];
- export interface Component {
- /**
- * The unique ID of the Amplify app associated with the component.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the component in its original source system, such as Figma.
- */
- sourceId?: String;
- /**
- * The unique ID of the component.
- */
- id: Uuid;
- /**
- * The name of the component.
- */
- name: ComponentName;
- /**
- * The type of the component. This can be an Amplify custom UI component or another custom component.
- */
- componentType: ComponentType;
- /**
- * Describes the component's properties. You can't specify tags as a valid property for properties.
- */
- properties: ComponentProperties;
- /**
- * A list of the component's ComponentChild instances.
- */
- children?: ComponentChildList;
- /**
- * A list of the component's variants. A variant is a unique style configuration of a main component.
- */
- variants: ComponentVariants;
- /**
- * Describes the component's properties that can be overriden in a customized instance of the component. You can't specify tags as a valid property for overrides.
- */
- overrides: ComponentOverrides;
- /**
- * The information to connect a component's properties to data at runtime. You can't specify tags as a valid property for bindingProperties.
- */
- bindingProperties: ComponentBindingProperties;
- /**
- * The data binding configuration for the component's properties. Use this for a collection component. You can't specify tags as a valid property for collectionProperties.
- */
- collectionProperties?: ComponentCollectionProperties;
- /**
- * The time that the component was created.
- */
- createdAt: SyntheticTimestamp_date_time;
- /**
- * The time that the component was modified.
- */
- modifiedAt?: SyntheticTimestamp_date_time;
- /**
- * One or more key-value pairs to use when tagging the component.
- */
- tags?: Tags;
- /**
- * Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- */
- events?: ComponentEvents;
- /**
- * The schema version of the component when it was imported.
- */
- schemaVersion?: String;
- }
- export type ComponentBindingProperties = {[key: string]: ComponentBindingPropertiesValue};
- export interface ComponentBindingPropertiesValue {
- /**
- * The property type.
- */
- type?: String;
- /**
- * Describes the properties to customize with data at runtime.
- */
- bindingProperties?: ComponentBindingPropertiesValueProperties;
- /**
- * The default value of the property.
- */
- defaultValue?: String;
- }
- export interface ComponentBindingPropertiesValueProperties {
- /**
- * An Amplify DataStore model.
- */
- model?: String;
- /**
- * The field to bind the data to.
- */
- field?: String;
- /**
- * A list of predicates for binding a component's properties to data.
- */
- predicates?: PredicateList;
- /**
- * An authenticated user attribute.
- */
- userAttribute?: String;
- /**
- * An Amazon S3 bucket.
- */
- bucket?: String;
- /**
- * The storage key for an Amazon S3 bucket.
- */
- key?: String;
- /**
- * The default value to assign to the property.
- */
- defaultValue?: String;
- /**
- * The name of a component slot.
- */
- slotName?: String;
- }
- export interface ComponentChild {
- /**
- * The type of the child component.
- */
- componentType: String;
- /**
- * The name of the child component.
- */
- name: String;
- /**
- * Describes the properties of the child component. You can't specify tags as a valid property for properties.
- */
- properties: ComponentProperties;
- /**
- * The list of ComponentChild instances for this component.
- */
- children?: ComponentChildList;
- /**
- * Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- */
- events?: ComponentEvents;
- /**
- * The unique ID of the child component in its original source system, such as Figma.
- */
- sourceId?: String;
- }
- export type ComponentChildList = ComponentChild[];
- export type ComponentCollectionProperties = {[key: string]: ComponentDataConfiguration};
- export interface ComponentConditionProperty {
- /**
- * The name of the conditional property.
- */
- property?: String;
- /**
- * The name of a field. Specify this when the property is a data model.
- */
- field?: String;
- /**
- * The operator to use to perform the evaluation, such as eq to represent equals.
- */
- operator?: String;
- /**
- * The value of the property to evaluate.
- */
- operand?: String;
- /**
- * The value to assign to the property if the condition is met.
- */
- then?: ComponentProperty;
- /**
- * The value to assign to the property if the condition is not met.
- */
- else?: ComponentProperty;
- /**
- * The type of the property to evaluate.
- */
- operandType?: String;
- }
- export interface ComponentDataConfiguration {
- /**
- * The name of the data model to use to bind data to a component.
- */
- model: String;
- /**
- * Describes how to sort the component's properties.
- */
- sort?: SortPropertyList;
- /**
- * Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- */
- predicate?: Predicate;
- /**
- * A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- */
- identifiers?: IdentifierList;
- }
- export interface ComponentEvent {
- /**
- * The action to perform when a specific event is raised.
- */
- action?: String;
- /**
- * Describes information about the action.
- */
- parameters?: ActionParameters;
- /**
- * Binds an event to an action on a component. When you specify a bindingEvent, the event is called when the action is performed.
- */
- bindingEvent?: String;
- }
- export type ComponentEvents = {[key: string]: ComponentEvent};
- export type ComponentList = Component[];
- export type ComponentName = string;
- export type ComponentOverrides = {[key: string]: ComponentOverridesValue};
- export type ComponentOverridesValue = {[key: string]: String};
- export type ComponentProperties = {[key: string]: ComponentProperty};
- export interface ComponentProperty {
- /**
- * The value to assign to the component property.
- */
- value?: String;
- /**
- * The information to bind the component property to data at runtime.
- */
- bindingProperties?: ComponentPropertyBindingProperties;
- /**
- * The information to bind the component property to data at runtime. Use this for collection components.
- */
- collectionBindingProperties?: ComponentPropertyBindingProperties;
- /**
- * The default value to assign to the component property.
- */
- defaultValue?: String;
- /**
- * The data model to use to assign a value to the component property.
- */
- model?: String;
- /**
- * The information to bind the component property to form data.
- */
- bindings?: FormBindings;
- /**
- * An event that occurs in your app. Use this for workflow data binding.
- */
- event?: String;
- /**
- * An authenticated user attribute to use to assign a value to the component property.
- */
- userAttribute?: String;
- /**
- * A list of component properties to concatenate to create the value to assign to this component property.
- */
- concat?: ComponentPropertyList;
- /**
- * The conditional expression to use to assign a value to the component property.
- */
- condition?: ComponentConditionProperty;
- /**
- * Specifies whether the user configured the property in Amplify Studio after importing it.
- */
- configured?: Boolean;
- /**
- * The component type.
- */
- type?: String;
- /**
- * The default value assigned to the property when the component is imported into an app.
- */
- importedValue?: String;
- /**
- * The name of the component that is affected by an event.
- */
- componentName?: String;
- /**
- * The name of the component's property that is affected by an event.
- */
- property?: String;
- }
- export interface ComponentPropertyBindingProperties {
- /**
- * The component property to bind to the data field.
- */
- property: String;
- /**
- * The data field to bind the property to.
- */
- field?: String;
- }
- export type ComponentPropertyList = ComponentProperty[];
- export interface ComponentSummary {
- /**
- * The unique ID of the Amplify app associated with the component.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the component.
- */
- id: Uuid;
- /**
- * The name of the component.
- */
- name: ComponentName;
- /**
- * The component type.
- */
- componentType: ComponentType;
- }
- export type ComponentSummaryList = ComponentSummary[];
- export type ComponentType = string;
- export interface ComponentVariant {
- /**
- * The combination of variants that comprise this variant. You can't specify tags as a valid property for variantValues.
- */
- variantValues?: ComponentVariantValues;
- /**
- * The properties of the component variant that can be overriden when customizing an instance of the component. You can't specify tags as a valid property for overrides.
- */
- overrides?: ComponentOverrides;
- }
- export type ComponentVariantValues = {[key: string]: String};
- export type ComponentVariants = ComponentVariant[];
- export interface CreateComponentData {
- /**
- * The name of the component
- */
- name: ComponentName;
- /**
- * The unique ID of the component in its original source system, such as Figma.
- */
- sourceId?: String;
- /**
- * The component type. This can be an Amplify custom UI component or another custom component.
- */
- componentType: ComponentType;
- /**
- * Describes the component's properties.
- */
- properties: ComponentProperties;
- /**
- * A list of child components that are instances of the main component.
- */
- children?: ComponentChildList;
- /**
- * A list of the unique variants of this component.
- */
- variants: ComponentVariants;
- /**
- * Describes the component properties that can be overriden to customize an instance of the component.
- */
- overrides: ComponentOverrides;
- /**
- * The data binding information for the component's properties.
- */
- bindingProperties: ComponentBindingProperties;
- /**
- * The data binding configuration for customizing a component's properties. Use this for a collection component.
- */
- collectionProperties?: ComponentCollectionProperties;
- /**
- * One or more key-value pairs to use when tagging the component data.
- */
- tags?: Tags;
- /**
- * The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- */
- events?: ComponentEvents;
- /**
- * The schema version of the component when it was imported.
- */
- schemaVersion?: String;
- }
- export interface CreateComponentRequest {
- /**
- * The unique ID of the Amplify app to associate with the component.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique client token.
- */
- clientToken?: String;
- /**
- * Represents the configuration of the component to create.
- */
- componentToCreate: CreateComponentData;
- }
- export interface CreateComponentResponse {
- /**
- * Describes the configuration of the new component.
- */
- entity?: Component;
- }
- export interface CreateFormData {
- /**
- * The name of the form.
- */
- name: FormName;
- /**
- * The type of data source to use to create the form.
- */
- dataType: FormDataTypeConfig;
- /**
- * Specifies whether to perform a create or update action on the form.
- */
- formActionType: FormActionType;
- /**
- * The configuration information for the form's fields.
- */
- fields: FieldsMap;
- /**
- * The configuration for the form's style.
- */
- style: FormStyle;
- /**
- * The configuration information for the visual helper elements for the form. These elements are not associated with any data.
- */
- sectionalElements: SectionalElementMap;
- /**
- * The schema version of the form.
- */
- schemaVersion: String;
- /**
- * The FormCTA object that stores the call to action configuration for the form.
- */
- cta?: FormCTA;
- /**
- * One or more key-value pairs to use when tagging the form data.
- */
- tags?: Tags;
- /**
- * Specifies an icon or decoration to display on the form.
- */
- labelDecorator?: LabelDecorator;
- }
- export interface CreateFormRequest {
- /**
- * The unique ID of the Amplify app to associate with the form.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique client token.
- */
- clientToken?: String;
- /**
- * Represents the configuration of the form to create.
- */
- formToCreate: CreateFormData;
- }
- export interface CreateFormResponse {
- /**
- * Describes the configuration of the new form.
- */
- entity?: Form;
- }
- export interface CreateThemeData {
- /**
- * The name of the theme.
- */
- name: ThemeName;
- /**
- * A list of key-value pairs that defines the properties of the theme.
- */
- values: ThemeValuesList;
- /**
- * Describes the properties that can be overriden to customize an instance of the theme.
- */
- overrides?: ThemeValuesList;
- /**
- * One or more key-value pairs to use when tagging the theme data.
- */
- tags?: Tags;
- }
- export interface CreateThemeRequest {
- /**
- * The unique ID of the Amplify app associated with the theme.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique client token.
- */
- clientToken?: String;
- /**
- * Represents the configuration of the theme to create.
- */
- themeToCreate: CreateThemeData;
- }
- export interface CreateThemeResponse {
- /**
- * Describes the configuration of the new theme.
- */
- entity?: Theme;
- }
- export interface DataStoreRenderConfig {
- }
- export interface DeleteComponentRequest {
- /**
- * The unique ID of the Amplify app associated with the component to delete.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the component to delete.
- */
- id: Uuid;
- }
- export interface DeleteFormRequest {
- /**
- * The unique ID of the Amplify app associated with the form to delete.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the form to delete.
- */
- id: Uuid;
- }
- export interface DeleteThemeRequest {
- /**
- * The unique ID of the Amplify app associated with the theme to delete.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the theme to delete.
- */
- id: Uuid;
- }
- export interface ExchangeCodeForTokenRequest {
- /**
- * The third-party provider for the token. The only valid value is figma.
- */
- provider: TokenProviders;
- /**
- * Describes the configuration of the request.
- */
- request: ExchangeCodeForTokenRequestBody;
- }
- export interface ExchangeCodeForTokenRequestBody {
- /**
- * The access code to send in the request.
- */
- code: SensitiveString;
- /**
- * The location of the application that will receive the access code.
- */
- redirectUri: String;
- /**
- * The ID of the client to request the token from.
- */
- clientId?: SensitiveString;
- }
- export interface ExchangeCodeForTokenResponse {
- /**
- * The access token.
- */
- accessToken: SensitiveString;
- /**
- * The date and time when the new access token expires.
- */
- expiresIn: Integer;
- /**
- * The token to use to refresh a previously issued access token that might have expired.
- */
- refreshToken: SensitiveString;
- }
- export interface ExportComponentsRequest {
- /**
- * The unique ID of the Amplify app to export components to.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The token to request the next page of results.
- */
- nextToken?: String;
- }
- export interface ExportComponentsResponse {
- /**
- * Represents the configuration of the exported components.
- */
- entities: ComponentList;
- /**
- * The pagination token that's included if more results are available.
- */
- nextToken?: String;
- }
- export interface ExportFormsRequest {
- /**
- * The unique ID of the Amplify app to export forms to.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The token to request the next page of results.
- */
- nextToken?: String;
- }
- export interface ExportFormsResponse {
- /**
- * Represents the configuration of the exported forms.
- */
- entities: FormList;
- /**
- * The pagination token that's included if more results are available.
- */
- nextToken?: String;
- }
- export interface ExportThemesRequest {
- /**
- * The unique ID of the Amplify app to export the themes to.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The token to request the next page of results.
- */
- nextToken?: String;
- }
- export interface ExportThemesResponse {
- /**
- * Represents the configuration of the exported themes.
- */
- entities: ThemeList;
- /**
- * The pagination token that's included if more results are available.
- */
- nextToken?: String;
- }
- export type FeaturesMap = {[key: string]: String};
- export interface FieldConfig {
- /**
- * The label for the field.
- */
- label?: String;
- /**
- * Specifies the field position.
- */
- position?: FieldPosition;
- /**
- * Specifies whether to hide a field.
- */
- excluded?: Boolean;
- /**
- * Describes the configuration for the default input value to display for a field.
- */
- inputType?: FieldInputConfig;
- /**
- * The validations to perform on the value in the field.
- */
- validations?: ValidationsList;
- }
- export interface FieldInputConfig {
- /**
- * The input type for the field.
- */
- type: String;
- /**
- * Specifies a field that requires input.
- */
- required?: Boolean;
- /**
- * Specifies a read only field.
- */
- readOnly?: Boolean;
- /**
- * The text to display as a placeholder for the field.
- */
- placeholder?: String;
- /**
- * The default value for the field.
- */
- defaultValue?: String;
- /**
- * The text to display to describe the field.
- */
- descriptiveText?: String;
- /**
- * Specifies whether a field has a default value.
- */
- defaultChecked?: Boolean;
- /**
- * The default country code for a phone number.
- */
- defaultCountryCode?: String;
- /**
- * The information to use to customize the input fields with data at runtime.
- */
- valueMappings?: ValueMappings;
- /**
- * The name of the field.
- */
- name?: String;
- /**
- * The minimum value to display for the field.
- */
- minValue?: Float;
- /**
- * The maximum value to display for the field.
- */
- maxValue?: Float;
- /**
- * The stepping increment for a numeric value in a field.
- */
- step?: Float;
- /**
- * The value for the field.
- */
- value?: String;
- /**
- * Specifies whether to render the field as an array. This property is ignored if the dataSourceType for the form is a Data Store.
- */
- isArray?: Boolean;
- /**
- * The configuration for the file uploader field.
- */
- fileUploaderConfig?: FileUploaderFieldConfig;
- }
- export interface FieldPosition {
- /**
- * The field position is fixed and doesn't change in relation to other fields.
- */
- fixed?: FixedPosition;
- /**
- * The field position is to the right of the field specified by the string.
- */
- rightOf?: String;
- /**
- * The field position is below the field specified by the string.
- */
- below?: String;
- }
- export interface FieldValidationConfiguration {
- /**
- * The validation to perform on an object type.
- */
- type: String;
- /**
- * The validation to perform on a string value.
- */
- strValues?: StrValues;
- /**
- * The validation to perform on a number value.
- */
- numValues?: NumValues;
- /**
- * The validation message to display.
- */
- validationMessage?: String;
- }
- export type FieldsMap = {[key: string]: FieldConfig};
- export interface FileUploaderFieldConfig {
- /**
- * The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are private, protected, or public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.
- */
- accessLevel: StorageAccessLevel;
- /**
- * The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions.
- */
- acceptedFileTypes: StrValues;
- /**
- * Specifies whether to display or hide the image preview after selecting a file for upload. The default value is true to display the image preview.
- */
- showThumbnails?: Boolean;
- /**
- * Allows the file upload operation to be paused and resumed. The default value is false. When isResumable is set to true, the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isn't continuous, because the file uploader uploads a chunk at a time.
- */
- isResumable?: Boolean;
- /**
- * Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files.
- */
- maxFileCount?: Integer;
- /**
- * The maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size.
- */
- maxSize?: Integer;
- }
- export type FixedPosition = "first"|string;
- export type Float = number;
- export interface Form {
- /**
- * The unique ID of the Amplify app associated with the form.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the form.
- */
- id: Uuid;
- /**
- * The name of the form.
- */
- name: FormName;
- /**
- * The operation to perform on the specified form.
- */
- formActionType: FormActionType;
- /**
- * Stores the configuration for the form's style.
- */
- style: FormStyle;
- /**
- * The type of data source to use to create the form.
- */
- dataType: FormDataTypeConfig;
- /**
- * Stores the information about the form's fields.
- */
- fields: FieldsMap;
- /**
- * Stores the visual helper elements for the form that are not associated with any data.
- */
- sectionalElements: SectionalElementMap;
- /**
- * The schema version of the form when it was imported.
- */
- schemaVersion: String;
- /**
- * One or more key-value pairs to use when tagging the form.
- */
- tags?: Tags;
- /**
- * Stores the call to action configuration for the form.
- */
- cta?: FormCTA;
- /**
- * Specifies an icon or decoration to display on the form.
- */
- labelDecorator?: LabelDecorator;
- }
- export type FormActionType = "create"|"update"|string;
- export interface FormBindingElement {
- /**
- * The name of the component to retrieve a value from.
- */
- element: String;
- /**
- * The property to retrieve a value from.
- */
- property: String;
- }
- export type FormBindings = {[key: string]: FormBindingElement};
- export interface FormButton {
- /**
- * Specifies whether the button is visible on the form.
- */
- excluded?: Boolean;
- /**
- * Describes the button's properties.
- */
- children?: String;
- /**
- * The position of the button.
- */
- position?: FieldPosition;
- }
- export type FormButtonsPosition = "top"|"bottom"|"top_and_bottom"|string;
- export interface FormCTA {
- /**
- * The position of the button.
- */
- position?: FormButtonsPosition;
- /**
- * Displays a clear button.
- */
- clear?: FormButton;
- /**
- * Displays a cancel button.
- */
- cancel?: FormButton;
- /**
- * Displays a submit button.
- */
- submit?: FormButton;
- }
- export type FormDataSourceType = "DataStore"|"Custom"|string;
- export interface FormDataTypeConfig {
- /**
- * The data source type, either an Amplify DataStore model or a custom data type.
- */
- dataSourceType: FormDataSourceType;
- /**
- * The unique name of the data type you are using as the data source for the form.
- */
- dataTypeName: String;
- }
- export type FormInputBindingProperties = {[key: string]: FormInputBindingPropertiesValue};
- export interface FormInputBindingPropertiesValue {
- /**
- * The property type.
- */
- type?: String;
- /**
- * Describes the properties to customize with data at runtime.
- */
- bindingProperties?: FormInputBindingPropertiesValueProperties;
- }
- export interface FormInputBindingPropertiesValueProperties {
- /**
- * An Amplify DataStore model.
- */
- model?: String;
- }
- export interface FormInputValueProperty {
- /**
- * The value to assign to the input field.
- */
- value?: String;
- /**
- * The information to bind fields to data at runtime.
- */
- bindingProperties?: FormInputValuePropertyBindingProperties;
- /**
- * A list of form properties to concatenate to create the value to assign to this field property.
- */
- concat?: FormInputValuePropertyList;
- }
- export interface FormInputValuePropertyBindingProperties {
- /**
- * The form property to bind to the data field.
- */
- property: String;
- /**
- * The data field to bind the property to.
- */
- field?: String;
- }
- export type FormInputValuePropertyList = FormInputValueProperty[];
- export type FormList = Form[];
- export type FormName = string;
- export interface FormStyle {
- /**
- * The spacing for the horizontal gap.
- */
- horizontalGap?: FormStyleConfig;
- /**
- * The spacing for the vertical gap.
- */
- verticalGap?: FormStyleConfig;
- /**
- * The size of the outer padding for the form.
- */
- outerPadding?: FormStyleConfig;
- }
- export interface FormStyleConfig {
- /**
- * A reference to a design token to use to bind the form's style properties to an existing theme.
- */
- tokenReference?: String;
- /**
- * The value of the style setting.
- */
- value?: String;
- }
- export interface FormSummary {
- /**
- * The unique ID for the app associated with the form summary.
- */
- appId: String;
- /**
- * The form's data source type.
- */
- dataType: FormDataTypeConfig;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The type of operation to perform on the form.
- */
- formActionType: FormActionType;
- /**
- * The ID of the form.
- */
- id: Uuid;
- /**
- * The name of the form.
- */
- name: FormName;
- }
- export type FormSummaryList = FormSummary[];
- export type GenericDataRelationshipType = "HAS_MANY"|"HAS_ONE"|"BELONGS_TO"|string;
- export interface GetCodegenJobRequest {
- /**
- * The unique ID of the Amplify app associated with the code generation job.
- */
- appId: AppId;
- /**
- * The name of the backend environment that is a part of the Amplify app associated with the code generation job.
- */
- environmentName: String;
- /**
- * The unique ID of the code generation job.
- */
- id: Uuid;
- }
- export interface GetCodegenJobResponse {
- /**
- * The configuration settings for the code generation job.
- */
- job?: CodegenJob;
- }
- export interface GetComponentRequest {
- /**
- * The unique ID of the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the component.
- */
- id: Uuid;
- }
- export interface GetComponentResponse {
- /**
- * Represents the configuration settings for the component.
- */
- component?: Component;
- }
- export interface GetFormRequest {
- /**
- * The unique ID of the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID of the form.
- */
- id: Uuid;
- }
- export interface GetFormResponse {
- /**
- * Represents the configuration settings for the form.
- */
- form?: Form;
- }
- export interface GetMetadataRequest {
- /**
- * The unique ID of the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- }
- export interface GetMetadataResponse {
- /**
- * Represents the configuration settings for the features metadata.
- */
- features: FeaturesMap;
- }
- export interface GetThemeRequest {
- /**
- * The unique ID of the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID for the theme.
- */
- id: Uuid;
- }
- export interface GetThemeResponse {
- /**
- * Represents the configuration settings for the theme.
- */
- theme?: Theme;
- }
- export interface GraphQLRenderConfig {
- /**
- * The path to the GraphQL types file, relative to the component output directory.
- */
- typesFilePath: String;
- /**
- * The path to the GraphQL queries file, relative to the component output directory.
- */
- queriesFilePath: String;
- /**
- * The path to the GraphQL mutations file, relative to the component output directory.
- */
- mutationsFilePath: String;
- /**
- * The path to the GraphQL subscriptions file, relative to the component output directory.
- */
- subscriptionsFilePath: String;
- /**
- * The path to the GraphQL fragments file, relative to the component output directory.
- */
- fragmentsFilePath: String;
- }
- export type IdentifierList = String[];
- export type Integer = number;
- export type JSModule = "es2020"|"esnext"|string;
- export type JSScript = "jsx"|"tsx"|"js"|string;
- export type JSTarget = "es2015"|"es2020"|string;
- export type LabelDecorator = "required"|"optional"|"none"|string;
- export type ListCodegenJobsLimit = number;
- export interface ListCodegenJobsRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: AppId;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The token to request the next page of results.
- */
- nextToken?: String;
- /**
- * The maximum number of jobs to retrieve.
- */
- maxResults?: ListCodegenJobsLimit;
- }
- export interface ListCodegenJobsResponse {
- /**
- * The list of code generation jobs for the Amplify app.
- */
- entities: CodegenJobSummaryList;
- /**
- * The pagination token that's included if more results are available.
- */
- nextToken?: String;
- }
- export interface ListComponentsRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The token to request the next page of results.
- */
- nextToken?: String;
- /**
- * The maximum number of components to retrieve.
- */
- maxResults?: ListEntityLimit;
- }
- export interface ListComponentsResponse {
- /**
- * The list of components for the Amplify app.
- */
- entities: ComponentSummaryList;
- /**
- * The pagination token that's included if more results are available.
- */
- nextToken?: String;
- }
- export type ListEntityLimit = number;
- export interface ListFormsRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The token to request the next page of results.
- */
- nextToken?: String;
- /**
- * The maximum number of forms to retrieve.
- */
- maxResults?: ListEntityLimit;
- }
- export interface ListFormsResponse {
- /**
- * The list of forms for the Amplify app.
- */
- entities: FormSummaryList;
- /**
- * The pagination token that's included if more results are available.
- */
- nextToken?: String;
- }
- export interface ListTagsForResourceRequest {
- /**
- * The Amazon Resource Name (ARN) to use to list tags.
- */
- resourceArn: String;
- }
- export interface ListTagsForResourceResponse {
- /**
- * A list of tag key value pairs for a specified Amazon Resource Name (ARN).
- */
- tags: Tags;
- }
- export interface ListThemesRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The token to request the next page of results.
- */
- nextToken?: String;
- /**
- * The maximum number of theme results to return in the response.
- */
- maxResults?: ListEntityLimit;
- }
- export interface ListThemesResponse {
- /**
- * The list of themes for the Amplify app.
- */
- entities: ThemeSummaryList;
- /**
- * The pagination token that's returned if more results are available.
- */
- nextToken?: String;
- }
- export interface MutationActionSetStateParameter {
- /**
- * The name of the component that is being modified.
- */
- componentName: String;
- /**
- * The name of the component property to apply the state configuration to.
- */
- property: String;
- /**
- * The state configuration to assign to the property.
- */
- set: ComponentProperty;
- }
- export interface NoApiRenderConfig {
- }
- export type NumValues = Integer[];
- export type OperandType = string;
- export interface Predicate {
- /**
- * A list of predicates to combine logically.
- */
- or?: PredicateList;
- /**
- * A list of predicates to combine logically.
- */
- and?: PredicateList;
- /**
- * The field to query.
- */
- field?: String;
- /**
- * The operator to use to perform the evaluation.
- */
- operator?: String;
- /**
- * The value to use when performing the evaluation.
- */
- operand?: String;
- /**
- * The type of value to use when performing the evaluation.
- */
- operandType?: OperandType;
- }
- export type PredicateList = Predicate[];
- export interface PutMetadataFlagBody {
- /**
- * The new information to store.
- */
- newValue: String;
- }
- export interface PutMetadataFlagRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The name of the feature associated with the metadata.
- */
- featureName: String;
- /**
- * The metadata information to store.
- */
- body: PutMetadataFlagBody;
- }
- export type ReactCodegenDependencies = {[key: string]: String};
- export interface ReactStartCodegenJobData {
- /**
- * The JavaScript module type.
- */
- module?: JSModule;
- /**
- * The ECMAScript specification to use.
- */
- target?: JSTarget;
- /**
- * The file type to use for a JavaScript project.
- */
- script?: JSScript;
- /**
- * Specifies whether the code generation job should render type declaration files.
- */
- renderTypeDeclarations?: Boolean;
- /**
- * Specifies whether the code generation job should render inline source maps.
- */
- inlineSourceMap?: Boolean;
- /**
- * The API configuration for the code generation job.
- */
- apiConfiguration?: ApiConfiguration;
- /**
- * Lists the dependency packages that may be required for the project code to run.
- */
- dependencies?: ReactCodegenDependencies;
- }
- export interface RefreshTokenRequest {
- /**
- * The third-party provider for the token. The only valid value is figma.
- */
- provider: TokenProviders;
- /**
- * Information about the refresh token request.
- */
- refreshTokenBody: RefreshTokenRequestBody;
- }
- export interface RefreshTokenRequestBody {
- /**
- * The token to use to refresh a previously issued access token that might have expired.
- */
- token: SensitiveString;
- /**
- * The ID of the client to request the token from.
- */
- clientId?: SensitiveString;
- }
- export interface RefreshTokenResponse {
- /**
- * The access token.
- */
- accessToken: SensitiveString;
- /**
- * The date and time when the new access token expires.
- */
- expiresIn: Integer;
- }
- export type RelatedModelFieldsList = String[];
- export interface SectionalElement {
- /**
- * The type of sectional element. Valid values are Heading, Text, and Divider.
- */
- type: String;
- /**
- * Specifies the position of the text in a field for a Text sectional element.
- */
- position?: FieldPosition;
- /**
- * The text for a Text sectional element.
- */
- text?: String;
- /**
- * Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.
- */
- level?: Integer;
- /**
- * Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.
- */
- orientation?: String;
- /**
- * Excludes a sectional element that was generated by default for a specified data model.
- */
- excluded?: Boolean;
- }
- export type SectionalElementMap = {[key: string]: SectionalElement};
- export type SensitiveString = string;
- export type SortDirection = "ASC"|"DESC"|string;
- export interface SortProperty {
- /**
- * The field to perform the sort on.
- */
- field: String;
- /**
- * The direction of the sort, either ascending or descending.
- */
- direction: SortDirection;
- }
- export type SortPropertyList = SortProperty[];
- export interface StartCodegenJobData {
- /**
- * The code generation configuration for the codegen job.
- */
- renderConfig: CodegenJobRenderConfig;
- /**
- * The data schema to use for a code generation job.
- */
- genericDataSchema?: CodegenJobGenericDataSchema;
- /**
- * Specifies whether to autogenerate forms in the code generation job.
- */
- autoGenerateForms?: Boolean;
- /**
- * The feature flags for a code generation job.
- */
- features?: CodegenFeatureFlags;
- /**
- * One or more key-value pairs to use when tagging the code generation job data.
- */
- tags?: Tags;
- }
- export interface StartCodegenJobRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: AppId;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The idempotency token used to ensure that the code generation job request completes only once.
- */
- clientToken?: String;
- /**
- * The code generation job resource configuration.
- */
- codegenJobToCreate: StartCodegenJobData;
- }
- export interface StartCodegenJobResponse {
- /**
- * The code generation job for a UI component that is associated with an Amplify app.
- */
- entity?: CodegenJob;
- }
- export type StorageAccessLevel = "public"|"protected"|"private"|string;
- export type StrValues = String[];
- export type String = string;
- export type SyntheticTimestamp_date_time = Date;
- export type TagKey = string;
- export type TagKeyList = TagKey[];
- export interface TagResourceRequest {
- /**
- * The Amazon Resource Name (ARN) to use to tag a resource.
- */
- resourceArn: String;
- /**
- * A list of tag key value pairs for a specified Amazon Resource Name (ARN).
- */
- tags: Tags;
- }
- export interface TagResourceResponse {
- }
- export type TagValue = string;
- export type Tags = {[key: string]: TagValue};
- export interface Theme {
- /**
- * The unique ID for the Amplify app associated with the theme.
- */
- appId: String;
- /**
- * The name of the backend environment that is a part of the Amplify app.
- */
- environmentName: String;
- /**
- * The ID for the theme.
- */
- id: Uuid;
- /**
- * The name of the theme.
- */
- name: ThemeName;
- /**
- * The time that the theme was created.
- */
- createdAt: SyntheticTimestamp_date_time;
- /**
- * The time that the theme was modified.
- */
- modifiedAt?: SyntheticTimestamp_date_time;
- /**
- * A list of key-value pairs that defines the properties of the theme.
- */
- values: ThemeValuesList;
- /**
- * Describes the properties that can be overriden to customize a theme.
- */
- overrides?: ThemeValuesList;
- /**
- * One or more key-value pairs to use when tagging the theme.
- */
- tags?: Tags;
- }
- export type ThemeList = Theme[];
- export type ThemeName = string;
- export interface ThemeSummary {
- /**
- * The unique ID for the app associated with the theme summary.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The ID of the theme.
- */
- id: Uuid;
- /**
- * The name of the theme.
- */
- name: ThemeName;
- }
- export type ThemeSummaryList = ThemeSummary[];
- export interface ThemeValue {
- /**
- * The value of a theme property.
- */
- value?: String;
- /**
- * A list of key-value pairs that define the theme's properties.
- */
- children?: ThemeValuesList;
- }
- export interface ThemeValues {
- /**
- * The name of the property.
- */
- key?: String;
- /**
- * The value of the property.
- */
- value?: ThemeValue;
- }
- export type ThemeValuesList = ThemeValues[];
- export type TokenProviders = "figma"|string;
- export interface UntagResourceRequest {
- /**
- * The Amazon Resource Name (ARN) to use to untag a resource.
- */
- resourceArn: String;
- /**
- * The tag keys to use to untag a resource.
- */
- tagKeys: TagKeyList;
- }
- export interface UntagResourceResponse {
- }
- export interface UpdateComponentData {
- /**
- * The unique ID of the component to update.
- */
- id?: Uuid;
- /**
- * The name of the component to update.
- */
- name?: ComponentName;
- /**
- * The unique ID of the component in its original source system, such as Figma.
- */
- sourceId?: String;
- /**
- * The type of the component. This can be an Amplify custom UI component or another custom component.
- */
- componentType?: ComponentType;
- /**
- * Describes the component's properties.
- */
- properties?: ComponentProperties;
- /**
- * The components that are instances of the main component.
- */
- children?: ComponentChildList;
- /**
- * A list of the unique variants of the main component being updated.
- */
- variants?: ComponentVariants;
- /**
- * Describes the properties that can be overriden to customize the component.
- */
- overrides?: ComponentOverrides;
- /**
- * The data binding information for the component's properties.
- */
- bindingProperties?: ComponentBindingProperties;
- /**
- * The configuration for binding a component's properties to a data model. Use this for a collection component.
- */
- collectionProperties?: ComponentCollectionProperties;
- /**
- * The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- */
- events?: ComponentEvents;
- /**
- * The schema version of the component when it was imported.
- */
- schemaVersion?: String;
- }
- export interface UpdateComponentRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID for the component.
- */
- id: Uuid;
- /**
- * The unique client token.
- */
- clientToken?: String;
- /**
- * The configuration of the updated component.
- */
- updatedComponent: UpdateComponentData;
- }
- export interface UpdateComponentResponse {
- /**
- * Describes the configuration of the updated component.
- */
- entity?: Component;
- }
- export interface UpdateFormData {
- /**
- * The name of the form.
- */
- name?: FormName;
- /**
- * The type of data source to use to create the form.
- */
- dataType?: FormDataTypeConfig;
- /**
- * Specifies whether to perform a create or update action on the form.
- */
- formActionType?: FormActionType;
- /**
- * The configuration information for the form's fields.
- */
- fields?: FieldsMap;
- /**
- * The configuration for the form's style.
- */
- style?: FormStyle;
- /**
- * The configuration information for the visual helper elements for the form. These elements are not associated with any data.
- */
- sectionalElements?: SectionalElementMap;
- /**
- * The schema version of the form.
- */
- schemaVersion?: String;
- /**
- * The FormCTA object that stores the call to action configuration for the form.
- */
- cta?: FormCTA;
- /**
- * Specifies an icon or decoration to display on the form.
- */
- labelDecorator?: LabelDecorator;
- }
- export interface UpdateFormRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID for the form.
- */
- id: Uuid;
- /**
- * The unique client token.
- */
- clientToken?: String;
- /**
- * The request accepts the following data in JSON format.
- */
- updatedForm: UpdateFormData;
- }
- export interface UpdateFormResponse {
- /**
- * Describes the configuration of the updated form.
- */
- entity?: Form;
- }
- export interface UpdateThemeData {
- /**
- * The unique ID of the theme to update.
- */
- id?: Uuid;
- /**
- * The name of the theme to update.
- */
- name?: ThemeName;
- /**
- * A list of key-value pairs that define the theme's properties.
- */
- values: ThemeValuesList;
- /**
- * Describes the properties that can be overriden to customize the theme.
- */
- overrides?: ThemeValuesList;
- }
- export interface UpdateThemeRequest {
- /**
- * The unique ID for the Amplify app.
- */
- appId: String;
- /**
- * The name of the backend environment that is part of the Amplify app.
- */
- environmentName: String;
- /**
- * The unique ID for the theme.
- */
- id: Uuid;
- /**
- * The unique client token.
- */
- clientToken?: String;
- /**
- * The configuration of the updated theme.
- */
- updatedTheme: UpdateThemeData;
- }
- export interface UpdateThemeResponse {
- /**
- * Describes the configuration of the updated theme.
- */
- entity?: Theme;
- }
- export type Uuid = string;
- export type ValidationsList = FieldValidationConfiguration[];
- export interface ValueMapping {
- /**
- * The value to display for the complex object.
- */
- displayValue?: FormInputValueProperty;
- /**
- * The complex object.
- */
- value: FormInputValueProperty;
- }
- export type ValueMappingList = ValueMapping[];
- export interface ValueMappings {
- /**
- * The value and display value pairs.
- */
- values: ValueMappingList;
- /**
- * The information to bind fields to data at runtime.
- */
- bindingProperties?: FormInputBindingProperties;
- }
- /**
- * 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.
- */
- export type apiVersion = "2021-08-11"|"latest"|string;
- export interface ClientApiVersions {
- /**
- * 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.
- */
- apiVersion?: apiVersion;
- }
- export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
- /**
- * Contains interfaces for use with the AmplifyUIBuilder client.
- */
- export import Types = AmplifyUIBuilder;
- }
- export = AmplifyUIBuilder;
|