Skip to content

Commit 4479c1d

Browse files
author
awstools
committed
feat(client-amplifyuibuilder): AWS Amplify UIBuilder is launching Codegen UI, a new feature that enables you to generate your amplify uibuilder components and forms.
1 parent d9b8ffe commit 4479c1d

File tree

13 files changed

+3173
-114
lines changed

13 files changed

+3173
-114
lines changed

clients/client-amplifyuibuilder/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,14 @@ ExportThemes
290290

291291
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/classes/exportthemescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/exportthemescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/exportthemescommandoutput.html)
292292

293+
</details>
294+
<details>
295+
<summary>
296+
GetCodegenJob
297+
</summary>
298+
299+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/classes/getcodegenjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/getcodegenjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/getcodegenjobcommandoutput.html)
300+
293301
</details>
294302
<details>
295303
<summary>
@@ -322,6 +330,14 @@ GetTheme
322330

323331
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/classes/getthemecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/getthemecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/getthemecommandoutput.html)
324332

333+
</details>
334+
<details>
335+
<summary>
336+
ListCodegenJobs
337+
</summary>
338+
339+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/classes/listcodegenjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/listcodegenjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/listcodegenjobscommandoutput.html)
340+
325341
</details>
326342
<details>
327343
<summary>
@@ -362,6 +378,14 @@ RefreshToken
362378

363379
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/classes/refreshtokencommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/refreshtokencommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/refreshtokencommandoutput.html)
364380

381+
</details>
382+
<details>
383+
<summary>
384+
StartCodegenJob
385+
</summary>
386+
387+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/classes/startcodegenjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/startcodegenjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplifyuibuilder/interfaces/startcodegenjobcommandoutput.html)
388+
365389
</details>
366390
<details>
367391
<summary>

clients/client-amplifyuibuilder/src/AmplifyUIBuilder.ts

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ import {
3333
ExportThemesCommandInput,
3434
ExportThemesCommandOutput,
3535
} from "./commands/ExportThemesCommand";
36+
import {
37+
GetCodegenJobCommand,
38+
GetCodegenJobCommandInput,
39+
GetCodegenJobCommandOutput,
40+
} from "./commands/GetCodegenJobCommand";
3641
import {
3742
GetComponentCommand,
3843
GetComponentCommandInput,
@@ -41,6 +46,11 @@ import {
4146
import { GetFormCommand, GetFormCommandInput, GetFormCommandOutput } from "./commands/GetFormCommand";
4247
import { GetMetadataCommand, GetMetadataCommandInput, GetMetadataCommandOutput } from "./commands/GetMetadataCommand";
4348
import { GetThemeCommand, GetThemeCommandInput, GetThemeCommandOutput } from "./commands/GetThemeCommand";
49+
import {
50+
ListCodegenJobsCommand,
51+
ListCodegenJobsCommandInput,
52+
ListCodegenJobsCommandOutput,
53+
} from "./commands/ListCodegenJobsCommand";
4454
import {
4555
ListComponentsCommand,
4656
ListComponentsCommandInput,
@@ -58,6 +68,11 @@ import {
5868
RefreshTokenCommandInput,
5969
RefreshTokenCommandOutput,
6070
} from "./commands/RefreshTokenCommand";
71+
import {
72+
StartCodegenJobCommand,
73+
StartCodegenJobCommandInput,
74+
StartCodegenJobCommandOutput,
75+
} from "./commands/StartCodegenJobCommand";
6176
import {
6277
UpdateComponentCommand,
6378
UpdateComponentCommandInput,
@@ -77,15 +92,18 @@ const commands = {
7792
ExportComponentsCommand,
7893
ExportFormsCommand,
7994
ExportThemesCommand,
95+
GetCodegenJobCommand,
8096
GetComponentCommand,
8197
GetFormCommand,
8298
GetMetadataCommand,
8399
GetThemeCommand,
100+
ListCodegenJobsCommand,
84101
ListComponentsCommand,
85102
ListFormsCommand,
86103
ListThemesCommand,
87104
PutMetadataFlagCommand,
88105
RefreshTokenCommand,
106+
StartCodegenJobCommand,
89107
UpdateComponentCommand,
90108
UpdateFormCommand,
91109
UpdateThemeCommand,
@@ -220,6 +238,17 @@ export interface AmplifyUIBuilder {
220238
cb: (err: any, data?: ExportThemesCommandOutput) => void
221239
): void;
222240

241+
/**
242+
* @see {@link GetCodegenJobCommand}
243+
*/
244+
getCodegenJob(args: GetCodegenJobCommandInput, options?: __HttpHandlerOptions): Promise<GetCodegenJobCommandOutput>;
245+
getCodegenJob(args: GetCodegenJobCommandInput, cb: (err: any, data?: GetCodegenJobCommandOutput) => void): void;
246+
getCodegenJob(
247+
args: GetCodegenJobCommandInput,
248+
options: __HttpHandlerOptions,
249+
cb: (err: any, data?: GetCodegenJobCommandOutput) => void
250+
): void;
251+
223252
/**
224253
* @see {@link GetComponentCommand}
225254
*/
@@ -264,6 +293,20 @@ export interface AmplifyUIBuilder {
264293
cb: (err: any, data?: GetThemeCommandOutput) => void
265294
): void;
266295

296+
/**
297+
* @see {@link ListCodegenJobsCommand}
298+
*/
299+
listCodegenJobs(
300+
args: ListCodegenJobsCommandInput,
301+
options?: __HttpHandlerOptions
302+
): Promise<ListCodegenJobsCommandOutput>;
303+
listCodegenJobs(args: ListCodegenJobsCommandInput, cb: (err: any, data?: ListCodegenJobsCommandOutput) => void): void;
304+
listCodegenJobs(
305+
args: ListCodegenJobsCommandInput,
306+
options: __HttpHandlerOptions,
307+
cb: (err: any, data?: ListCodegenJobsCommandOutput) => void
308+
): void;
309+
267310
/**
268311
* @see {@link ListComponentsCommand}
269312
*/
@@ -325,6 +368,20 @@ export interface AmplifyUIBuilder {
325368
cb: (err: any, data?: RefreshTokenCommandOutput) => void
326369
): void;
327370

371+
/**
372+
* @see {@link StartCodegenJobCommand}
373+
*/
374+
startCodegenJob(
375+
args: StartCodegenJobCommandInput,
376+
options?: __HttpHandlerOptions
377+
): Promise<StartCodegenJobCommandOutput>;
378+
startCodegenJob(args: StartCodegenJobCommandInput, cb: (err: any, data?: StartCodegenJobCommandOutput) => void): void;
379+
startCodegenJob(
380+
args: StartCodegenJobCommandInput,
381+
options: __HttpHandlerOptions,
382+
cb: (err: any, data?: StartCodegenJobCommandOutput) => void
383+
): void;
384+
328385
/**
329386
* @see {@link UpdateComponentCommand}
330387
*/

clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,18 @@ import {
6464
import { ExportComponentsCommandInput, ExportComponentsCommandOutput } from "./commands/ExportComponentsCommand";
6565
import { ExportFormsCommandInput, ExportFormsCommandOutput } from "./commands/ExportFormsCommand";
6666
import { ExportThemesCommandInput, ExportThemesCommandOutput } from "./commands/ExportThemesCommand";
67+
import { GetCodegenJobCommandInput, GetCodegenJobCommandOutput } from "./commands/GetCodegenJobCommand";
6768
import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
6869
import { GetFormCommandInput, GetFormCommandOutput } from "./commands/GetFormCommand";
6970
import { GetMetadataCommandInput, GetMetadataCommandOutput } from "./commands/GetMetadataCommand";
7071
import { GetThemeCommandInput, GetThemeCommandOutput } from "./commands/GetThemeCommand";
72+
import { ListCodegenJobsCommandInput, ListCodegenJobsCommandOutput } from "./commands/ListCodegenJobsCommand";
7173
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
7274
import { ListFormsCommandInput, ListFormsCommandOutput } from "./commands/ListFormsCommand";
7375
import { ListThemesCommandInput, ListThemesCommandOutput } from "./commands/ListThemesCommand";
7476
import { PutMetadataFlagCommandInput, PutMetadataFlagCommandOutput } from "./commands/PutMetadataFlagCommand";
7577
import { RefreshTokenCommandInput, RefreshTokenCommandOutput } from "./commands/RefreshTokenCommand";
78+
import { StartCodegenJobCommandInput, StartCodegenJobCommandOutput } from "./commands/StartCodegenJobCommand";
7679
import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
7780
import { UpdateFormCommandInput, UpdateFormCommandOutput } from "./commands/UpdateFormCommand";
7881
import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
@@ -100,15 +103,18 @@ export type ServiceInputTypes =
100103
| ExportComponentsCommandInput
101104
| ExportFormsCommandInput
102105
| ExportThemesCommandInput
106+
| GetCodegenJobCommandInput
103107
| GetComponentCommandInput
104108
| GetFormCommandInput
105109
| GetMetadataCommandInput
106110
| GetThemeCommandInput
111+
| ListCodegenJobsCommandInput
107112
| ListComponentsCommandInput
108113
| ListFormsCommandInput
109114
| ListThemesCommandInput
110115
| PutMetadataFlagCommandInput
111116
| RefreshTokenCommandInput
117+
| StartCodegenJobCommandInput
112118
| UpdateComponentCommandInput
113119
| UpdateFormCommandInput
114120
| UpdateThemeCommandInput;
@@ -127,15 +133,18 @@ export type ServiceOutputTypes =
127133
| ExportComponentsCommandOutput
128134
| ExportFormsCommandOutput
129135
| ExportThemesCommandOutput
136+
| GetCodegenJobCommandOutput
130137
| GetComponentCommandOutput
131138
| GetFormCommandOutput
132139
| GetMetadataCommandOutput
133140
| GetThemeCommandOutput
141+
| ListCodegenJobsCommandOutput
134142
| ListComponentsCommandOutput
135143
| ListFormsCommandOutput
136144
| ListThemesCommandOutput
137145
| PutMetadataFlagCommandOutput
138146
| RefreshTokenCommandOutput
147+
| StartCodegenJobCommandOutput
139148
| UpdateComponentCommandOutput
140149
| UpdateFormCommandOutput
141150
| UpdateThemeCommandOutput;

clients/client-amplifyuibuilder/src/commands/CreateFormCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface CreateFormCommandOutput extends CreateFormResponse, __MetadataB
3636

3737
/**
3838
* @public
39-
* <p>Creates a new form for an Amplify app.</p>
39+
* <p>Creates a new form for an Amplify.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

0 commit comments

Comments
 (0)