@aws-sdk/client-amplifyuibuilder 3.169.0 → 3.171.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/AmplifyUIBuilder.js +120 -0
  3. package/dist-cjs/commands/CreateFormCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteFormCommand.js +36 -0
  5. package/dist-cjs/commands/ExportFormsCommand.js +36 -0
  6. package/dist-cjs/commands/GetFormCommand.js +36 -0
  7. package/dist-cjs/commands/GetMetadataCommand.js +36 -0
  8. package/dist-cjs/commands/ListFormsCommand.js +36 -0
  9. package/dist-cjs/commands/PutMetadataFlagCommand.js +36 -0
  10. package/dist-cjs/commands/UpdateFormCommand.js +36 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +254 -2
  13. package/dist-cjs/pagination/ExportFormsPaginator.js +35 -0
  14. package/dist-cjs/pagination/ListFormsPaginator.js +36 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +979 -11
  17. package/dist-es/AmplifyUIBuilder.js +120 -0
  18. package/dist-es/commands/CreateFormCommand.js +39 -0
  19. package/dist-es/commands/DeleteFormCommand.js +39 -0
  20. package/dist-es/commands/ExportFormsCommand.js +39 -0
  21. package/dist-es/commands/GetFormCommand.js +39 -0
  22. package/dist-es/commands/GetMetadataCommand.js +39 -0
  23. package/dist-es/commands/ListFormsCommand.js +39 -0
  24. package/dist-es/commands/PutMetadataFlagCommand.js +39 -0
  25. package/dist-es/commands/UpdateFormCommand.js +39 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +141 -1
  28. package/dist-es/pagination/ExportFormsPaginator.js +74 -0
  29. package/dist-es/pagination/ListFormsPaginator.js +75 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/protocols/Aws_restJson1.js +1142 -34
  32. package/dist-types/AmplifyUIBuilder.d.ts +56 -0
  33. package/dist-types/AmplifyUIBuilderClient.d.ts +10 -2
  34. package/dist-types/commands/CreateFormCommand.d.ts +35 -0
  35. package/dist-types/commands/DeleteFormCommand.d.ts +35 -0
  36. package/dist-types/commands/ExportFormsCommand.d.ts +35 -0
  37. package/dist-types/commands/GetFormCommand.d.ts +35 -0
  38. package/dist-types/commands/GetMetadataCommand.d.ts +35 -0
  39. package/dist-types/commands/ListFormsCommand.d.ts +35 -0
  40. package/dist-types/commands/PutMetadataFlagCommand.d.ts +35 -0
  41. package/dist-types/commands/UpdateFormCommand.d.ts +35 -0
  42. package/dist-types/commands/index.d.ts +8 -0
  43. package/dist-types/models/models_0.d.ts +854 -24
  44. package/dist-types/pagination/ExportFormsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/ListFormsPaginator.d.ts +4 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  48. package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +378 -75
  49. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +237 -87
  50. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +35 -17
  51. package/dist-types/ts3.4/commands/CreateFormCommand.d.ts +32 -0
  52. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +32 -17
  53. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +30 -17
  54. package/dist-types/ts3.4/commands/DeleteFormCommand.d.ts +30 -0
  55. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +30 -17
  56. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +39 -17
  57. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +35 -17
  58. package/dist-types/ts3.4/commands/ExportFormsCommand.d.ts +32 -0
  59. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +32 -17
  60. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +32 -17
  61. package/dist-types/ts3.4/commands/GetFormCommand.d.ts +32 -0
  62. package/dist-types/ts3.4/commands/GetMetadataCommand.d.ts +32 -0
  63. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +32 -17
  64. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +35 -17
  65. package/dist-types/ts3.4/commands/ListFormsCommand.d.ts +32 -0
  66. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +32 -17
  67. package/dist-types/ts3.4/commands/PutMetadataFlagCommand.d.ts +30 -0
  68. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +32 -17
  69. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +35 -17
  70. package/dist-types/ts3.4/commands/UpdateFormCommand.d.ts +32 -0
  71. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +32 -17
  72. package/dist-types/ts3.4/commands/index.d.ts +22 -14
  73. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  74. package/dist-types/ts3.4/index.d.ts +6 -6
  75. package/dist-types/ts3.4/models/AmplifyUIBuilderServiceException.d.ts +7 -6
  76. package/dist-types/ts3.4/models/index.d.ts +1 -1
  77. package/dist-types/ts3.4/models/models_0.d.ts +849 -698
  78. package/dist-types/ts3.4/pagination/ExportComponentsPaginator.d.ts +11 -4
  79. package/dist-types/ts3.4/pagination/ExportFormsPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/ExportThemesPaginator.d.ts +11 -4
  81. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  82. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +11 -4
  83. package/dist-types/ts3.4/pagination/ListFormsPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +11 -4
  85. package/dist-types/ts3.4/pagination/index.d.ts +7 -5
  86. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +269 -44
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -38
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +67 -38
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -37
  90. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -11
  91. package/package.json +34 -34
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ExportFormsCommandInput, ExportFormsCommandOutput } from "../commands/ExportFormsCommand";
3
+ import { AmplifyUIBuilderPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateExportForms(config: AmplifyUIBuilderPaginationConfiguration, input: ExportFormsCommandInput, ...additionalArguments: any): Paginator<ExportFormsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListFormsCommandInput, ListFormsCommandOutput } from "../commands/ListFormsCommand";
3
+ import { AmplifyUIBuilderPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListForms(config: AmplifyUIBuilderPaginationConfiguration, input: ListFormsCommandInput, ...additionalArguments: any): Paginator<ListFormsCommandOutput>;
@@ -1,5 +1,7 @@
1
1
  export * from "./ExportComponentsPaginator";
2
+ export * from "./ExportFormsPaginator";
2
3
  export * from "./ExportThemesPaginator";
3
4
  export * from "./Interfaces";
4
5
  export * from "./ListComponentsPaginator";
6
+ export * from "./ListFormsPaginator";
5
7
  export * from "./ListThemesPaginator";
@@ -1,44 +1,68 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { CreateComponentCommandInput, CreateComponentCommandOutput } from "../commands/CreateComponentCommand";
4
+ import { CreateFormCommandInput, CreateFormCommandOutput } from "../commands/CreateFormCommand";
4
5
  import { CreateThemeCommandInput, CreateThemeCommandOutput } from "../commands/CreateThemeCommand";
5
6
  import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "../commands/DeleteComponentCommand";
7
+ import { DeleteFormCommandInput, DeleteFormCommandOutput } from "../commands/DeleteFormCommand";
6
8
  import { DeleteThemeCommandInput, DeleteThemeCommandOutput } from "../commands/DeleteThemeCommand";
7
9
  import { ExchangeCodeForTokenCommandInput, ExchangeCodeForTokenCommandOutput } from "../commands/ExchangeCodeForTokenCommand";
8
10
  import { ExportComponentsCommandInput, ExportComponentsCommandOutput } from "../commands/ExportComponentsCommand";
11
+ import { ExportFormsCommandInput, ExportFormsCommandOutput } from "../commands/ExportFormsCommand";
9
12
  import { ExportThemesCommandInput, ExportThemesCommandOutput } from "../commands/ExportThemesCommand";
10
13
  import { GetComponentCommandInput, GetComponentCommandOutput } from "../commands/GetComponentCommand";
14
+ import { GetFormCommandInput, GetFormCommandOutput } from "../commands/GetFormCommand";
15
+ import { GetMetadataCommandInput, GetMetadataCommandOutput } from "../commands/GetMetadataCommand";
11
16
  import { GetThemeCommandInput, GetThemeCommandOutput } from "../commands/GetThemeCommand";
12
17
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "../commands/ListComponentsCommand";
18
+ import { ListFormsCommandInput, ListFormsCommandOutput } from "../commands/ListFormsCommand";
13
19
  import { ListThemesCommandInput, ListThemesCommandOutput } from "../commands/ListThemesCommand";
20
+ import { PutMetadataFlagCommandInput, PutMetadataFlagCommandOutput } from "../commands/PutMetadataFlagCommand";
14
21
  import { RefreshTokenCommandInput, RefreshTokenCommandOutput } from "../commands/RefreshTokenCommand";
15
22
  import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "../commands/UpdateComponentCommand";
23
+ import { UpdateFormCommandInput, UpdateFormCommandOutput } from "../commands/UpdateFormCommand";
16
24
  import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "../commands/UpdateThemeCommand";
17
25
  export declare const serializeAws_restJson1CreateComponentCommand: (input: CreateComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
+ export declare const serializeAws_restJson1CreateFormCommand: (input: CreateFormCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
27
  export declare const serializeAws_restJson1CreateThemeCommand: (input: CreateThemeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
28
  export declare const serializeAws_restJson1DeleteComponentCommand: (input: DeleteComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
+ export declare const serializeAws_restJson1DeleteFormCommand: (input: DeleteFormCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
30
  export declare const serializeAws_restJson1DeleteThemeCommand: (input: DeleteThemeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
31
  export declare const serializeAws_restJson1ExchangeCodeForTokenCommand: (input: ExchangeCodeForTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
32
  export declare const serializeAws_restJson1ExportComponentsCommand: (input: ExportComponentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ export declare const serializeAws_restJson1ExportFormsCommand: (input: ExportFormsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
34
  export declare const serializeAws_restJson1ExportThemesCommand: (input: ExportThemesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
35
  export declare const serializeAws_restJson1GetComponentCommand: (input: GetComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ export declare const serializeAws_restJson1GetFormCommand: (input: GetFormCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ export declare const serializeAws_restJson1GetMetadataCommand: (input: GetMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
38
  export declare const serializeAws_restJson1GetThemeCommand: (input: GetThemeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
39
  export declare const serializeAws_restJson1ListComponentsCommand: (input: ListComponentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
+ export declare const serializeAws_restJson1ListFormsCommand: (input: ListFormsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
41
  export declare const serializeAws_restJson1ListThemesCommand: (input: ListThemesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
+ export declare const serializeAws_restJson1PutMetadataFlagCommand: (input: PutMetadataFlagCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
43
  export declare const serializeAws_restJson1RefreshTokenCommand: (input: RefreshTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
44
  export declare const serializeAws_restJson1UpdateComponentCommand: (input: UpdateComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ export declare const serializeAws_restJson1UpdateFormCommand: (input: UpdateFormCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
46
  export declare const serializeAws_restJson1UpdateThemeCommand: (input: UpdateThemeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
47
  export declare const deserializeAws_restJson1CreateComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateComponentCommandOutput>;
48
+ export declare const deserializeAws_restJson1CreateFormCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateFormCommandOutput>;
32
49
  export declare const deserializeAws_restJson1CreateThemeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateThemeCommandOutput>;
33
50
  export declare const deserializeAws_restJson1DeleteComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteComponentCommandOutput>;
51
+ export declare const deserializeAws_restJson1DeleteFormCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteFormCommandOutput>;
34
52
  export declare const deserializeAws_restJson1DeleteThemeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteThemeCommandOutput>;
35
53
  export declare const deserializeAws_restJson1ExchangeCodeForTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExchangeCodeForTokenCommandOutput>;
36
54
  export declare const deserializeAws_restJson1ExportComponentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportComponentsCommandOutput>;
55
+ export declare const deserializeAws_restJson1ExportFormsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportFormsCommandOutput>;
37
56
  export declare const deserializeAws_restJson1ExportThemesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportThemesCommandOutput>;
38
57
  export declare const deserializeAws_restJson1GetComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetComponentCommandOutput>;
58
+ export declare const deserializeAws_restJson1GetFormCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFormCommandOutput>;
59
+ export declare const deserializeAws_restJson1GetMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetadataCommandOutput>;
39
60
  export declare const deserializeAws_restJson1GetThemeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetThemeCommandOutput>;
40
61
  export declare const deserializeAws_restJson1ListComponentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListComponentsCommandOutput>;
62
+ export declare const deserializeAws_restJson1ListFormsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFormsCommandOutput>;
41
63
  export declare const deserializeAws_restJson1ListThemesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListThemesCommandOutput>;
64
+ export declare const deserializeAws_restJson1PutMetadataFlagCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetadataFlagCommandOutput>;
42
65
  export declare const deserializeAws_restJson1RefreshTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RefreshTokenCommandOutput>;
43
66
  export declare const deserializeAws_restJson1UpdateComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateComponentCommandOutput>;
67
+ export declare const deserializeAws_restJson1UpdateFormCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFormCommandOutput>;
44
68
  export declare const deserializeAws_restJson1UpdateThemeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateThemeCommandOutput>;
@@ -1,75 +1,378 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
- import { AmplifyUIBuilderClient } from "./AmplifyUIBuilderClient";
3
- import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
4
- import { CreateThemeCommandInput, CreateThemeCommandOutput } from "./commands/CreateThemeCommand";
5
- import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
6
- import { DeleteThemeCommandInput, DeleteThemeCommandOutput } from "./commands/DeleteThemeCommand";
7
- import { ExchangeCodeForTokenCommandInput, ExchangeCodeForTokenCommandOutput } from "./commands/ExchangeCodeForTokenCommand";
8
- import { ExportComponentsCommandInput, ExportComponentsCommandOutput } from "./commands/ExportComponentsCommand";
9
- import { ExportThemesCommandInput, ExportThemesCommandOutput } from "./commands/ExportThemesCommand";
10
- import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
11
- import { GetThemeCommandInput, GetThemeCommandOutput } from "./commands/GetThemeCommand";
12
- import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
13
- import { ListThemesCommandInput, ListThemesCommandOutput } from "./commands/ListThemesCommand";
14
- import { RefreshTokenCommandInput, RefreshTokenCommandOutput } from "./commands/RefreshTokenCommand";
15
- import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
16
- import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
17
-
18
- export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
19
-
20
- createComponent(args: CreateComponentCommandInput, options?: __HttpHandlerOptions): Promise<CreateComponentCommandOutput>;
21
- createComponent(args: CreateComponentCommandInput, cb: (err: any, data?: CreateComponentCommandOutput) => void): void;
22
- createComponent(args: CreateComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComponentCommandOutput) => void): void;
23
-
24
- createTheme(args: CreateThemeCommandInput, options?: __HttpHandlerOptions): Promise<CreateThemeCommandOutput>;
25
- createTheme(args: CreateThemeCommandInput, cb: (err: any, data?: CreateThemeCommandOutput) => void): void;
26
- createTheme(args: CreateThemeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateThemeCommandOutput) => void): void;
27
-
28
- deleteComponent(args: DeleteComponentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComponentCommandOutput>;
29
- deleteComponent(args: DeleteComponentCommandInput, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
30
- deleteComponent(args: DeleteComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
31
-
32
- deleteTheme(args: DeleteThemeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteThemeCommandOutput>;
33
- deleteTheme(args: DeleteThemeCommandInput, cb: (err: any, data?: DeleteThemeCommandOutput) => void): void;
34
- deleteTheme(args: DeleteThemeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteThemeCommandOutput) => void): void;
35
-
36
- exchangeCodeForToken(args: ExchangeCodeForTokenCommandInput, options?: __HttpHandlerOptions): Promise<ExchangeCodeForTokenCommandOutput>;
37
- exchangeCodeForToken(args: ExchangeCodeForTokenCommandInput, cb: (err: any, data?: ExchangeCodeForTokenCommandOutput) => void): void;
38
- exchangeCodeForToken(args: ExchangeCodeForTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExchangeCodeForTokenCommandOutput) => void): void;
39
-
40
- exportComponents(args: ExportComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ExportComponentsCommandOutput>;
41
- exportComponents(args: ExportComponentsCommandInput, cb: (err: any, data?: ExportComponentsCommandOutput) => void): void;
42
- exportComponents(args: ExportComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportComponentsCommandOutput) => void): void;
43
-
44
- exportThemes(args: ExportThemesCommandInput, options?: __HttpHandlerOptions): Promise<ExportThemesCommandOutput>;
45
- exportThemes(args: ExportThemesCommandInput, cb: (err: any, data?: ExportThemesCommandOutput) => void): void;
46
- exportThemes(args: ExportThemesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportThemesCommandOutput) => void): void;
47
-
48
- getComponent(args: GetComponentCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentCommandOutput>;
49
- getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
50
- getComponent(args: GetComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
51
-
52
- getTheme(args: GetThemeCommandInput, options?: __HttpHandlerOptions): Promise<GetThemeCommandOutput>;
53
- getTheme(args: GetThemeCommandInput, cb: (err: any, data?: GetThemeCommandOutput) => void): void;
54
- getTheme(args: GetThemeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetThemeCommandOutput) => void): void;
55
-
56
- listComponents(args: ListComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentsCommandOutput>;
57
- listComponents(args: ListComponentsCommandInput, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
58
- listComponents(args: ListComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
59
-
60
- listThemes(args: ListThemesCommandInput, options?: __HttpHandlerOptions): Promise<ListThemesCommandOutput>;
61
- listThemes(args: ListThemesCommandInput, cb: (err: any, data?: ListThemesCommandOutput) => void): void;
62
- listThemes(args: ListThemesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListThemesCommandOutput) => void): void;
63
-
64
- refreshToken(args: RefreshTokenCommandInput, options?: __HttpHandlerOptions): Promise<RefreshTokenCommandOutput>;
65
- refreshToken(args: RefreshTokenCommandInput, cb: (err: any, data?: RefreshTokenCommandOutput) => void): void;
66
- refreshToken(args: RefreshTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RefreshTokenCommandOutput) => void): void;
67
-
68
- updateComponent(args: UpdateComponentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComponentCommandOutput>;
69
- updateComponent(args: UpdateComponentCommandInput, cb: (err: any, data?: UpdateComponentCommandOutput) => void): void;
70
- updateComponent(args: UpdateComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComponentCommandOutput) => void): void;
71
-
72
- updateTheme(args: UpdateThemeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateThemeCommandOutput>;
73
- updateTheme(args: UpdateThemeCommandInput, cb: (err: any, data?: UpdateThemeCommandOutput) => void): void;
74
- updateTheme(args: UpdateThemeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateThemeCommandOutput) => void): void;
75
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AmplifyUIBuilderClient } from "./AmplifyUIBuilderClient";
3
+ import {
4
+ CreateComponentCommandInput,
5
+ CreateComponentCommandOutput,
6
+ } from "./commands/CreateComponentCommand";
7
+ import {
8
+ CreateFormCommandInput,
9
+ CreateFormCommandOutput,
10
+ } from "./commands/CreateFormCommand";
11
+ import {
12
+ CreateThemeCommandInput,
13
+ CreateThemeCommandOutput,
14
+ } from "./commands/CreateThemeCommand";
15
+ import {
16
+ DeleteComponentCommandInput,
17
+ DeleteComponentCommandOutput,
18
+ } from "./commands/DeleteComponentCommand";
19
+ import {
20
+ DeleteFormCommandInput,
21
+ DeleteFormCommandOutput,
22
+ } from "./commands/DeleteFormCommand";
23
+ import {
24
+ DeleteThemeCommandInput,
25
+ DeleteThemeCommandOutput,
26
+ } from "./commands/DeleteThemeCommand";
27
+ import {
28
+ ExchangeCodeForTokenCommandInput,
29
+ ExchangeCodeForTokenCommandOutput,
30
+ } from "./commands/ExchangeCodeForTokenCommand";
31
+ import {
32
+ ExportComponentsCommandInput,
33
+ ExportComponentsCommandOutput,
34
+ } from "./commands/ExportComponentsCommand";
35
+ import {
36
+ ExportFormsCommandInput,
37
+ ExportFormsCommandOutput,
38
+ } from "./commands/ExportFormsCommand";
39
+ import {
40
+ ExportThemesCommandInput,
41
+ ExportThemesCommandOutput,
42
+ } from "./commands/ExportThemesCommand";
43
+ import {
44
+ GetComponentCommandInput,
45
+ GetComponentCommandOutput,
46
+ } from "./commands/GetComponentCommand";
47
+ import {
48
+ GetFormCommandInput,
49
+ GetFormCommandOutput,
50
+ } from "./commands/GetFormCommand";
51
+ import {
52
+ GetMetadataCommandInput,
53
+ GetMetadataCommandOutput,
54
+ } from "./commands/GetMetadataCommand";
55
+ import {
56
+ GetThemeCommandInput,
57
+ GetThemeCommandOutput,
58
+ } from "./commands/GetThemeCommand";
59
+ import {
60
+ ListComponentsCommandInput,
61
+ ListComponentsCommandOutput,
62
+ } from "./commands/ListComponentsCommand";
63
+ import {
64
+ ListFormsCommandInput,
65
+ ListFormsCommandOutput,
66
+ } from "./commands/ListFormsCommand";
67
+ import {
68
+ ListThemesCommandInput,
69
+ ListThemesCommandOutput,
70
+ } from "./commands/ListThemesCommand";
71
+ import {
72
+ PutMetadataFlagCommandInput,
73
+ PutMetadataFlagCommandOutput,
74
+ } from "./commands/PutMetadataFlagCommand";
75
+ import {
76
+ RefreshTokenCommandInput,
77
+ RefreshTokenCommandOutput,
78
+ } from "./commands/RefreshTokenCommand";
79
+ import {
80
+ UpdateComponentCommandInput,
81
+ UpdateComponentCommandOutput,
82
+ } from "./commands/UpdateComponentCommand";
83
+ import {
84
+ UpdateFormCommandInput,
85
+ UpdateFormCommandOutput,
86
+ } from "./commands/UpdateFormCommand";
87
+ import {
88
+ UpdateThemeCommandInput,
89
+ UpdateThemeCommandOutput,
90
+ } from "./commands/UpdateThemeCommand";
91
+ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
92
+ createComponent(
93
+ args: CreateComponentCommandInput,
94
+ options?: __HttpHandlerOptions
95
+ ): Promise<CreateComponentCommandOutput>;
96
+ createComponent(
97
+ args: CreateComponentCommandInput,
98
+ cb: (err: any, data?: CreateComponentCommandOutput) => void
99
+ ): void;
100
+ createComponent(
101
+ args: CreateComponentCommandInput,
102
+ options: __HttpHandlerOptions,
103
+ cb: (err: any, data?: CreateComponentCommandOutput) => void
104
+ ): void;
105
+ createForm(
106
+ args: CreateFormCommandInput,
107
+ options?: __HttpHandlerOptions
108
+ ): Promise<CreateFormCommandOutput>;
109
+ createForm(
110
+ args: CreateFormCommandInput,
111
+ cb: (err: any, data?: CreateFormCommandOutput) => void
112
+ ): void;
113
+ createForm(
114
+ args: CreateFormCommandInput,
115
+ options: __HttpHandlerOptions,
116
+ cb: (err: any, data?: CreateFormCommandOutput) => void
117
+ ): void;
118
+ createTheme(
119
+ args: CreateThemeCommandInput,
120
+ options?: __HttpHandlerOptions
121
+ ): Promise<CreateThemeCommandOutput>;
122
+ createTheme(
123
+ args: CreateThemeCommandInput,
124
+ cb: (err: any, data?: CreateThemeCommandOutput) => void
125
+ ): void;
126
+ createTheme(
127
+ args: CreateThemeCommandInput,
128
+ options: __HttpHandlerOptions,
129
+ cb: (err: any, data?: CreateThemeCommandOutput) => void
130
+ ): void;
131
+ deleteComponent(
132
+ args: DeleteComponentCommandInput,
133
+ options?: __HttpHandlerOptions
134
+ ): Promise<DeleteComponentCommandOutput>;
135
+ deleteComponent(
136
+ args: DeleteComponentCommandInput,
137
+ cb: (err: any, data?: DeleteComponentCommandOutput) => void
138
+ ): void;
139
+ deleteComponent(
140
+ args: DeleteComponentCommandInput,
141
+ options: __HttpHandlerOptions,
142
+ cb: (err: any, data?: DeleteComponentCommandOutput) => void
143
+ ): void;
144
+ deleteForm(
145
+ args: DeleteFormCommandInput,
146
+ options?: __HttpHandlerOptions
147
+ ): Promise<DeleteFormCommandOutput>;
148
+ deleteForm(
149
+ args: DeleteFormCommandInput,
150
+ cb: (err: any, data?: DeleteFormCommandOutput) => void
151
+ ): void;
152
+ deleteForm(
153
+ args: DeleteFormCommandInput,
154
+ options: __HttpHandlerOptions,
155
+ cb: (err: any, data?: DeleteFormCommandOutput) => void
156
+ ): void;
157
+ deleteTheme(
158
+ args: DeleteThemeCommandInput,
159
+ options?: __HttpHandlerOptions
160
+ ): Promise<DeleteThemeCommandOutput>;
161
+ deleteTheme(
162
+ args: DeleteThemeCommandInput,
163
+ cb: (err: any, data?: DeleteThemeCommandOutput) => void
164
+ ): void;
165
+ deleteTheme(
166
+ args: DeleteThemeCommandInput,
167
+ options: __HttpHandlerOptions,
168
+ cb: (err: any, data?: DeleteThemeCommandOutput) => void
169
+ ): void;
170
+ exchangeCodeForToken(
171
+ args: ExchangeCodeForTokenCommandInput,
172
+ options?: __HttpHandlerOptions
173
+ ): Promise<ExchangeCodeForTokenCommandOutput>;
174
+ exchangeCodeForToken(
175
+ args: ExchangeCodeForTokenCommandInput,
176
+ cb: (err: any, data?: ExchangeCodeForTokenCommandOutput) => void
177
+ ): void;
178
+ exchangeCodeForToken(
179
+ args: ExchangeCodeForTokenCommandInput,
180
+ options: __HttpHandlerOptions,
181
+ cb: (err: any, data?: ExchangeCodeForTokenCommandOutput) => void
182
+ ): void;
183
+ exportComponents(
184
+ args: ExportComponentsCommandInput,
185
+ options?: __HttpHandlerOptions
186
+ ): Promise<ExportComponentsCommandOutput>;
187
+ exportComponents(
188
+ args: ExportComponentsCommandInput,
189
+ cb: (err: any, data?: ExportComponentsCommandOutput) => void
190
+ ): void;
191
+ exportComponents(
192
+ args: ExportComponentsCommandInput,
193
+ options: __HttpHandlerOptions,
194
+ cb: (err: any, data?: ExportComponentsCommandOutput) => void
195
+ ): void;
196
+ exportForms(
197
+ args: ExportFormsCommandInput,
198
+ options?: __HttpHandlerOptions
199
+ ): Promise<ExportFormsCommandOutput>;
200
+ exportForms(
201
+ args: ExportFormsCommandInput,
202
+ cb: (err: any, data?: ExportFormsCommandOutput) => void
203
+ ): void;
204
+ exportForms(
205
+ args: ExportFormsCommandInput,
206
+ options: __HttpHandlerOptions,
207
+ cb: (err: any, data?: ExportFormsCommandOutput) => void
208
+ ): void;
209
+ exportThemes(
210
+ args: ExportThemesCommandInput,
211
+ options?: __HttpHandlerOptions
212
+ ): Promise<ExportThemesCommandOutput>;
213
+ exportThemes(
214
+ args: ExportThemesCommandInput,
215
+ cb: (err: any, data?: ExportThemesCommandOutput) => void
216
+ ): void;
217
+ exportThemes(
218
+ args: ExportThemesCommandInput,
219
+ options: __HttpHandlerOptions,
220
+ cb: (err: any, data?: ExportThemesCommandOutput) => void
221
+ ): void;
222
+ getComponent(
223
+ args: GetComponentCommandInput,
224
+ options?: __HttpHandlerOptions
225
+ ): Promise<GetComponentCommandOutput>;
226
+ getComponent(
227
+ args: GetComponentCommandInput,
228
+ cb: (err: any, data?: GetComponentCommandOutput) => void
229
+ ): void;
230
+ getComponent(
231
+ args: GetComponentCommandInput,
232
+ options: __HttpHandlerOptions,
233
+ cb: (err: any, data?: GetComponentCommandOutput) => void
234
+ ): void;
235
+ getForm(
236
+ args: GetFormCommandInput,
237
+ options?: __HttpHandlerOptions
238
+ ): Promise<GetFormCommandOutput>;
239
+ getForm(
240
+ args: GetFormCommandInput,
241
+ cb: (err: any, data?: GetFormCommandOutput) => void
242
+ ): void;
243
+ getForm(
244
+ args: GetFormCommandInput,
245
+ options: __HttpHandlerOptions,
246
+ cb: (err: any, data?: GetFormCommandOutput) => void
247
+ ): void;
248
+ getMetadata(
249
+ args: GetMetadataCommandInput,
250
+ options?: __HttpHandlerOptions
251
+ ): Promise<GetMetadataCommandOutput>;
252
+ getMetadata(
253
+ args: GetMetadataCommandInput,
254
+ cb: (err: any, data?: GetMetadataCommandOutput) => void
255
+ ): void;
256
+ getMetadata(
257
+ args: GetMetadataCommandInput,
258
+ options: __HttpHandlerOptions,
259
+ cb: (err: any, data?: GetMetadataCommandOutput) => void
260
+ ): void;
261
+ getTheme(
262
+ args: GetThemeCommandInput,
263
+ options?: __HttpHandlerOptions
264
+ ): Promise<GetThemeCommandOutput>;
265
+ getTheme(
266
+ args: GetThemeCommandInput,
267
+ cb: (err: any, data?: GetThemeCommandOutput) => void
268
+ ): void;
269
+ getTheme(
270
+ args: GetThemeCommandInput,
271
+ options: __HttpHandlerOptions,
272
+ cb: (err: any, data?: GetThemeCommandOutput) => void
273
+ ): void;
274
+ listComponents(
275
+ args: ListComponentsCommandInput,
276
+ options?: __HttpHandlerOptions
277
+ ): Promise<ListComponentsCommandOutput>;
278
+ listComponents(
279
+ args: ListComponentsCommandInput,
280
+ cb: (err: any, data?: ListComponentsCommandOutput) => void
281
+ ): void;
282
+ listComponents(
283
+ args: ListComponentsCommandInput,
284
+ options: __HttpHandlerOptions,
285
+ cb: (err: any, data?: ListComponentsCommandOutput) => void
286
+ ): void;
287
+ listForms(
288
+ args: ListFormsCommandInput,
289
+ options?: __HttpHandlerOptions
290
+ ): Promise<ListFormsCommandOutput>;
291
+ listForms(
292
+ args: ListFormsCommandInput,
293
+ cb: (err: any, data?: ListFormsCommandOutput) => void
294
+ ): void;
295
+ listForms(
296
+ args: ListFormsCommandInput,
297
+ options: __HttpHandlerOptions,
298
+ cb: (err: any, data?: ListFormsCommandOutput) => void
299
+ ): void;
300
+ listThemes(
301
+ args: ListThemesCommandInput,
302
+ options?: __HttpHandlerOptions
303
+ ): Promise<ListThemesCommandOutput>;
304
+ listThemes(
305
+ args: ListThemesCommandInput,
306
+ cb: (err: any, data?: ListThemesCommandOutput) => void
307
+ ): void;
308
+ listThemes(
309
+ args: ListThemesCommandInput,
310
+ options: __HttpHandlerOptions,
311
+ cb: (err: any, data?: ListThemesCommandOutput) => void
312
+ ): void;
313
+ putMetadataFlag(
314
+ args: PutMetadataFlagCommandInput,
315
+ options?: __HttpHandlerOptions
316
+ ): Promise<PutMetadataFlagCommandOutput>;
317
+ putMetadataFlag(
318
+ args: PutMetadataFlagCommandInput,
319
+ cb: (err: any, data?: PutMetadataFlagCommandOutput) => void
320
+ ): void;
321
+ putMetadataFlag(
322
+ args: PutMetadataFlagCommandInput,
323
+ options: __HttpHandlerOptions,
324
+ cb: (err: any, data?: PutMetadataFlagCommandOutput) => void
325
+ ): void;
326
+ refreshToken(
327
+ args: RefreshTokenCommandInput,
328
+ options?: __HttpHandlerOptions
329
+ ): Promise<RefreshTokenCommandOutput>;
330
+ refreshToken(
331
+ args: RefreshTokenCommandInput,
332
+ cb: (err: any, data?: RefreshTokenCommandOutput) => void
333
+ ): void;
334
+ refreshToken(
335
+ args: RefreshTokenCommandInput,
336
+ options: __HttpHandlerOptions,
337
+ cb: (err: any, data?: RefreshTokenCommandOutput) => void
338
+ ): void;
339
+ updateComponent(
340
+ args: UpdateComponentCommandInput,
341
+ options?: __HttpHandlerOptions
342
+ ): Promise<UpdateComponentCommandOutput>;
343
+ updateComponent(
344
+ args: UpdateComponentCommandInput,
345
+ cb: (err: any, data?: UpdateComponentCommandOutput) => void
346
+ ): void;
347
+ updateComponent(
348
+ args: UpdateComponentCommandInput,
349
+ options: __HttpHandlerOptions,
350
+ cb: (err: any, data?: UpdateComponentCommandOutput) => void
351
+ ): void;
352
+ updateForm(
353
+ args: UpdateFormCommandInput,
354
+ options?: __HttpHandlerOptions
355
+ ): Promise<UpdateFormCommandOutput>;
356
+ updateForm(
357
+ args: UpdateFormCommandInput,
358
+ cb: (err: any, data?: UpdateFormCommandOutput) => void
359
+ ): void;
360
+ updateForm(
361
+ args: UpdateFormCommandInput,
362
+ options: __HttpHandlerOptions,
363
+ cb: (err: any, data?: UpdateFormCommandOutput) => void
364
+ ): void;
365
+ updateTheme(
366
+ args: UpdateThemeCommandInput,
367
+ options?: __HttpHandlerOptions
368
+ ): Promise<UpdateThemeCommandOutput>;
369
+ updateTheme(
370
+ args: UpdateThemeCommandInput,
371
+ cb: (err: any, data?: UpdateThemeCommandOutput) => void
372
+ ): void;
373
+ updateTheme(
374
+ args: UpdateThemeCommandInput,
375
+ options: __HttpHandlerOptions,
376
+ cb: (err: any, data?: UpdateThemeCommandOutput) => void
377
+ ): void;
378
+ }