Skip to content

Commit

Permalink
feat(client-amplifyuibuilder): AWS Amplify UIBuilder is launching Cod…
Browse files Browse the repository at this point in the history
…egen UI, a new feature that enables you to generate your amplify uibuilder components and forms.
  • Loading branch information
awstools committed Jun 12, 2023
1 parent d9b8ffe commit 4479c1d
Show file tree
Hide file tree
Showing 13 changed files with 3,173 additions and 114 deletions.
24 changes: 24 additions & 0 deletions clients/client-amplifyuibuilder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,14 @@ ExportThemes

[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)

</details>
<details>
<summary>
GetCodegenJob
</summary>

[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)

</details>
<details>
<summary>
Expand Down Expand Up @@ -322,6 +330,14 @@ GetTheme

[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)

</details>
<details>
<summary>
ListCodegenJobs
</summary>

[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)

</details>
<details>
<summary>
Expand Down Expand Up @@ -362,6 +378,14 @@ RefreshToken

[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)

</details>
<details>
<summary>
StartCodegenJob
</summary>

[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)

</details>
<details>
<summary>
Expand Down
57 changes: 57 additions & 0 deletions clients/client-amplifyuibuilder/src/AmplifyUIBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ import {
ExportThemesCommandInput,
ExportThemesCommandOutput,
} from "./commands/ExportThemesCommand";
import {
GetCodegenJobCommand,
GetCodegenJobCommandInput,
GetCodegenJobCommandOutput,
} from "./commands/GetCodegenJobCommand";
import {
GetComponentCommand,
GetComponentCommandInput,
Expand All @@ -41,6 +46,11 @@ import {
import { GetFormCommand, GetFormCommandInput, GetFormCommandOutput } from "./commands/GetFormCommand";
import { GetMetadataCommand, GetMetadataCommandInput, GetMetadataCommandOutput } from "./commands/GetMetadataCommand";
import { GetThemeCommand, GetThemeCommandInput, GetThemeCommandOutput } from "./commands/GetThemeCommand";
import {
ListCodegenJobsCommand,
ListCodegenJobsCommandInput,
ListCodegenJobsCommandOutput,
} from "./commands/ListCodegenJobsCommand";
import {
ListComponentsCommand,
ListComponentsCommandInput,
Expand All @@ -58,6 +68,11 @@ import {
RefreshTokenCommandInput,
RefreshTokenCommandOutput,
} from "./commands/RefreshTokenCommand";
import {
StartCodegenJobCommand,
StartCodegenJobCommandInput,
StartCodegenJobCommandOutput,
} from "./commands/StartCodegenJobCommand";
import {
UpdateComponentCommand,
UpdateComponentCommandInput,
Expand All @@ -77,15 +92,18 @@ const commands = {
ExportComponentsCommand,
ExportFormsCommand,
ExportThemesCommand,
GetCodegenJobCommand,
GetComponentCommand,
GetFormCommand,
GetMetadataCommand,
GetThemeCommand,
ListCodegenJobsCommand,
ListComponentsCommand,
ListFormsCommand,
ListThemesCommand,
PutMetadataFlagCommand,
RefreshTokenCommand,
StartCodegenJobCommand,
UpdateComponentCommand,
UpdateFormCommand,
UpdateThemeCommand,
Expand Down Expand Up @@ -220,6 +238,17 @@ export interface AmplifyUIBuilder {
cb: (err: any, data?: ExportThemesCommandOutput) => void
): void;

/**
* @see {@link GetCodegenJobCommand}
*/
getCodegenJob(args: GetCodegenJobCommandInput, options?: __HttpHandlerOptions): Promise<GetCodegenJobCommandOutput>;
getCodegenJob(args: GetCodegenJobCommandInput, cb: (err: any, data?: GetCodegenJobCommandOutput) => void): void;
getCodegenJob(
args: GetCodegenJobCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetCodegenJobCommandOutput) => void
): void;

/**
* @see {@link GetComponentCommand}
*/
Expand Down Expand Up @@ -264,6 +293,20 @@ export interface AmplifyUIBuilder {
cb: (err: any, data?: GetThemeCommandOutput) => void
): void;

/**
* @see {@link ListCodegenJobsCommand}
*/
listCodegenJobs(
args: ListCodegenJobsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListCodegenJobsCommandOutput>;
listCodegenJobs(args: ListCodegenJobsCommandInput, cb: (err: any, data?: ListCodegenJobsCommandOutput) => void): void;
listCodegenJobs(
args: ListCodegenJobsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListCodegenJobsCommandOutput) => void
): void;

/**
* @see {@link ListComponentsCommand}
*/
Expand Down Expand Up @@ -325,6 +368,20 @@ export interface AmplifyUIBuilder {
cb: (err: any, data?: RefreshTokenCommandOutput) => void
): void;

/**
* @see {@link StartCodegenJobCommand}
*/
startCodegenJob(
args: StartCodegenJobCommandInput,
options?: __HttpHandlerOptions
): Promise<StartCodegenJobCommandOutput>;
startCodegenJob(args: StartCodegenJobCommandInput, cb: (err: any, data?: StartCodegenJobCommandOutput) => void): void;
startCodegenJob(
args: StartCodegenJobCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: StartCodegenJobCommandOutput) => void
): void;

/**
* @see {@link UpdateComponentCommand}
*/
Expand Down
9 changes: 9 additions & 0 deletions clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,18 @@ import {
import { ExportComponentsCommandInput, ExportComponentsCommandOutput } from "./commands/ExportComponentsCommand";
import { ExportFormsCommandInput, ExportFormsCommandOutput } from "./commands/ExportFormsCommand";
import { ExportThemesCommandInput, ExportThemesCommandOutput } from "./commands/ExportThemesCommand";
import { GetCodegenJobCommandInput, GetCodegenJobCommandOutput } from "./commands/GetCodegenJobCommand";
import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
import { GetFormCommandInput, GetFormCommandOutput } from "./commands/GetFormCommand";
import { GetMetadataCommandInput, GetMetadataCommandOutput } from "./commands/GetMetadataCommand";
import { GetThemeCommandInput, GetThemeCommandOutput } from "./commands/GetThemeCommand";
import { ListCodegenJobsCommandInput, ListCodegenJobsCommandOutput } from "./commands/ListCodegenJobsCommand";
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
import { ListFormsCommandInput, ListFormsCommandOutput } from "./commands/ListFormsCommand";
import { ListThemesCommandInput, ListThemesCommandOutput } from "./commands/ListThemesCommand";
import { PutMetadataFlagCommandInput, PutMetadataFlagCommandOutput } from "./commands/PutMetadataFlagCommand";
import { RefreshTokenCommandInput, RefreshTokenCommandOutput } from "./commands/RefreshTokenCommand";
import { StartCodegenJobCommandInput, StartCodegenJobCommandOutput } from "./commands/StartCodegenJobCommand";
import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
import { UpdateFormCommandInput, UpdateFormCommandOutput } from "./commands/UpdateFormCommand";
import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
Expand Down Expand Up @@ -100,15 +103,18 @@ export type ServiceInputTypes =
| ExportComponentsCommandInput
| ExportFormsCommandInput
| ExportThemesCommandInput
| GetCodegenJobCommandInput
| GetComponentCommandInput
| GetFormCommandInput
| GetMetadataCommandInput
| GetThemeCommandInput
| ListCodegenJobsCommandInput
| ListComponentsCommandInput
| ListFormsCommandInput
| ListThemesCommandInput
| PutMetadataFlagCommandInput
| RefreshTokenCommandInput
| StartCodegenJobCommandInput
| UpdateComponentCommandInput
| UpdateFormCommandInput
| UpdateThemeCommandInput;
Expand All @@ -127,15 +133,18 @@ export type ServiceOutputTypes =
| ExportComponentsCommandOutput
| ExportFormsCommandOutput
| ExportThemesCommandOutput
| GetCodegenJobCommandOutput
| GetComponentCommandOutput
| GetFormCommandOutput
| GetMetadataCommandOutput
| GetThemeCommandOutput
| ListCodegenJobsCommandOutput
| ListComponentsCommandOutput
| ListFormsCommandOutput
| ListThemesCommandOutput
| PutMetadataFlagCommandOutput
| RefreshTokenCommandOutput
| StartCodegenJobCommandOutput
| UpdateComponentCommandOutput
| UpdateFormCommandOutput
| UpdateThemeCommandOutput;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface CreateFormCommandOutput extends CreateFormResponse, __MetadataB

/**
* @public
* <p>Creates a new form for an Amplify app.</p>
* <p>Creates a new form for an Amplify.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Loading

0 comments on commit 4479c1d

Please sign in to comment.