@aws-sdk/client-amplifyuibuilder 3.170.0 → 3.178.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 (86) 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/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +136 -14
  52. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +48 -25
  53. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +0 -2
  54. package/dist-types/ts3.4/commands/CreateFormCommand.d.ts +32 -0
  55. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +0 -2
  56. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +0 -2
  57. package/dist-types/ts3.4/commands/DeleteFormCommand.d.ts +30 -0
  58. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +0 -2
  59. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +0 -2
  60. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +0 -2
  61. package/dist-types/ts3.4/commands/ExportFormsCommand.d.ts +32 -0
  62. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +0 -2
  63. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +0 -2
  64. package/dist-types/ts3.4/commands/GetFormCommand.d.ts +32 -0
  65. package/dist-types/ts3.4/commands/GetMetadataCommand.d.ts +32 -0
  66. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +0 -2
  67. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +0 -2
  68. package/dist-types/ts3.4/commands/ListFormsCommand.d.ts +32 -0
  69. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +0 -2
  70. package/dist-types/ts3.4/commands/PutMetadataFlagCommand.d.ts +30 -0
  71. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +0 -2
  72. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +0 -2
  73. package/dist-types/ts3.4/commands/UpdateFormCommand.d.ts +32 -0
  74. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +0 -2
  75. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  76. package/dist-types/ts3.4/models/AmplifyUIBuilderServiceException.d.ts +0 -1
  77. package/dist-types/ts3.4/models/models_0.d.ts +347 -247
  78. package/dist-types/ts3.4/pagination/ExportFormsPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/ListFormsPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  81. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  86. package/package.json +26 -26
@@ -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>;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AmplifyUIBuilderClientConfig) =>
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AmplifyUIBuilderClientConfig) =>
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: AmplifyUIBuilderClientConfig) =>
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -4,6 +4,10 @@ import {
4
4
  CreateComponentCommandInput,
5
5
  CreateComponentCommandOutput,
6
6
  } from "./commands/CreateComponentCommand";
7
+ import {
8
+ CreateFormCommandInput,
9
+ CreateFormCommandOutput,
10
+ } from "./commands/CreateFormCommand";
7
11
  import {
8
12
  CreateThemeCommandInput,
9
13
  CreateThemeCommandOutput,
@@ -12,6 +16,10 @@ import {
12
16
  DeleteComponentCommandInput,
13
17
  DeleteComponentCommandOutput,
14
18
  } from "./commands/DeleteComponentCommand";
19
+ import {
20
+ DeleteFormCommandInput,
21
+ DeleteFormCommandOutput,
22
+ } from "./commands/DeleteFormCommand";
15
23
  import {
16
24
  DeleteThemeCommandInput,
17
25
  DeleteThemeCommandOutput,
@@ -24,6 +32,10 @@ import {
24
32
  ExportComponentsCommandInput,
25
33
  ExportComponentsCommandOutput,
26
34
  } from "./commands/ExportComponentsCommand";
35
+ import {
36
+ ExportFormsCommandInput,
37
+ ExportFormsCommandOutput,
38
+ } from "./commands/ExportFormsCommand";
27
39
  import {
28
40
  ExportThemesCommandInput,
29
41
  ExportThemesCommandOutput,
@@ -32,6 +44,14 @@ import {
32
44
  GetComponentCommandInput,
33
45
  GetComponentCommandOutput,
34
46
  } from "./commands/GetComponentCommand";
47
+ import {
48
+ GetFormCommandInput,
49
+ GetFormCommandOutput,
50
+ } from "./commands/GetFormCommand";
51
+ import {
52
+ GetMetadataCommandInput,
53
+ GetMetadataCommandOutput,
54
+ } from "./commands/GetMetadataCommand";
35
55
  import {
36
56
  GetThemeCommandInput,
37
57
  GetThemeCommandOutput,
@@ -40,10 +60,18 @@ import {
40
60
  ListComponentsCommandInput,
41
61
  ListComponentsCommandOutput,
42
62
  } from "./commands/ListComponentsCommand";
63
+ import {
64
+ ListFormsCommandInput,
65
+ ListFormsCommandOutput,
66
+ } from "./commands/ListFormsCommand";
43
67
  import {
44
68
  ListThemesCommandInput,
45
69
  ListThemesCommandOutput,
46
70
  } from "./commands/ListThemesCommand";
71
+ import {
72
+ PutMetadataFlagCommandInput,
73
+ PutMetadataFlagCommandOutput,
74
+ } from "./commands/PutMetadataFlagCommand";
47
75
  import {
48
76
  RefreshTokenCommandInput,
49
77
  RefreshTokenCommandOutput,
@@ -52,11 +80,14 @@ import {
52
80
  UpdateComponentCommandInput,
53
81
  UpdateComponentCommandOutput,
54
82
  } from "./commands/UpdateComponentCommand";
83
+ import {
84
+ UpdateFormCommandInput,
85
+ UpdateFormCommandOutput,
86
+ } from "./commands/UpdateFormCommand";
55
87
  import {
56
88
  UpdateThemeCommandInput,
57
89
  UpdateThemeCommandOutput,
58
90
  } from "./commands/UpdateThemeCommand";
59
-
60
91
  export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
61
92
  createComponent(
62
93
  args: CreateComponentCommandInput,
@@ -71,7 +102,19 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
71
102
  options: __HttpHandlerOptions,
72
103
  cb: (err: any, data?: CreateComponentCommandOutput) => void
73
104
  ): void;
74
-
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;
75
118
  createTheme(
76
119
  args: CreateThemeCommandInput,
77
120
  options?: __HttpHandlerOptions
@@ -85,7 +128,6 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
85
128
  options: __HttpHandlerOptions,
86
129
  cb: (err: any, data?: CreateThemeCommandOutput) => void
87
130
  ): void;
88
-
89
131
  deleteComponent(
90
132
  args: DeleteComponentCommandInput,
91
133
  options?: __HttpHandlerOptions
@@ -99,7 +141,19 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
99
141
  options: __HttpHandlerOptions,
100
142
  cb: (err: any, data?: DeleteComponentCommandOutput) => void
101
143
  ): void;
102
-
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;
103
157
  deleteTheme(
104
158
  args: DeleteThemeCommandInput,
105
159
  options?: __HttpHandlerOptions
@@ -113,7 +167,6 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
113
167
  options: __HttpHandlerOptions,
114
168
  cb: (err: any, data?: DeleteThemeCommandOutput) => void
115
169
  ): void;
116
-
117
170
  exchangeCodeForToken(
118
171
  args: ExchangeCodeForTokenCommandInput,
119
172
  options?: __HttpHandlerOptions
@@ -127,7 +180,6 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
127
180
  options: __HttpHandlerOptions,
128
181
  cb: (err: any, data?: ExchangeCodeForTokenCommandOutput) => void
129
182
  ): void;
130
-
131
183
  exportComponents(
132
184
  args: ExportComponentsCommandInput,
133
185
  options?: __HttpHandlerOptions
@@ -141,7 +193,19 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
141
193
  options: __HttpHandlerOptions,
142
194
  cb: (err: any, data?: ExportComponentsCommandOutput) => void
143
195
  ): void;
144
-
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;
145
209
  exportThemes(
146
210
  args: ExportThemesCommandInput,
147
211
  options?: __HttpHandlerOptions
@@ -155,7 +219,6 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
155
219
  options: __HttpHandlerOptions,
156
220
  cb: (err: any, data?: ExportThemesCommandOutput) => void
157
221
  ): void;
158
-
159
222
  getComponent(
160
223
  args: GetComponentCommandInput,
161
224
  options?: __HttpHandlerOptions
@@ -169,7 +232,32 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
169
232
  options: __HttpHandlerOptions,
170
233
  cb: (err: any, data?: GetComponentCommandOutput) => void
171
234
  ): void;
172
-
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;
173
261
  getTheme(
174
262
  args: GetThemeCommandInput,
175
263
  options?: __HttpHandlerOptions
@@ -183,7 +271,6 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
183
271
  options: __HttpHandlerOptions,
184
272
  cb: (err: any, data?: GetThemeCommandOutput) => void
185
273
  ): void;
186
-
187
274
  listComponents(
188
275
  args: ListComponentsCommandInput,
189
276
  options?: __HttpHandlerOptions
@@ -197,7 +284,19 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
197
284
  options: __HttpHandlerOptions,
198
285
  cb: (err: any, data?: ListComponentsCommandOutput) => void
199
286
  ): void;
200
-
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;
201
300
  listThemes(
202
301
  args: ListThemesCommandInput,
203
302
  options?: __HttpHandlerOptions
@@ -211,7 +310,19 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
211
310
  options: __HttpHandlerOptions,
212
311
  cb: (err: any, data?: ListThemesCommandOutput) => void
213
312
  ): void;
214
-
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;
215
326
  refreshToken(
216
327
  args: RefreshTokenCommandInput,
217
328
  options?: __HttpHandlerOptions
@@ -225,7 +336,6 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
225
336
  options: __HttpHandlerOptions,
226
337
  cb: (err: any, data?: RefreshTokenCommandOutput) => void
227
338
  ): void;
228
-
229
339
  updateComponent(
230
340
  args: UpdateComponentCommandInput,
231
341
  options?: __HttpHandlerOptions
@@ -239,7 +349,19 @@ export declare class AmplifyUIBuilder extends AmplifyUIBuilderClient {
239
349
  options: __HttpHandlerOptions,
240
350
  cb: (err: any, data?: UpdateComponentCommandOutput) => void
241
351
  ): void;
242
-
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;
243
365
  updateTheme(
244
366
  args: UpdateThemeCommandInput,
245
367
  options?: __HttpHandlerOptions
@@ -46,6 +46,10 @@ import {
46
46
  CreateComponentCommandInput,
47
47
  CreateComponentCommandOutput,
48
48
  } from "./commands/CreateComponentCommand";
49
+ import {
50
+ CreateFormCommandInput,
51
+ CreateFormCommandOutput,
52
+ } from "./commands/CreateFormCommand";
49
53
  import {
50
54
  CreateThemeCommandInput,
51
55
  CreateThemeCommandOutput,
@@ -54,6 +58,10 @@ import {
54
58
  DeleteComponentCommandInput,
55
59
  DeleteComponentCommandOutput,
56
60
  } from "./commands/DeleteComponentCommand";
61
+ import {
62
+ DeleteFormCommandInput,
63
+ DeleteFormCommandOutput,
64
+ } from "./commands/DeleteFormCommand";
57
65
  import {
58
66
  DeleteThemeCommandInput,
59
67
  DeleteThemeCommandOutput,
@@ -66,6 +74,10 @@ import {
66
74
  ExportComponentsCommandInput,
67
75
  ExportComponentsCommandOutput,
68
76
  } from "./commands/ExportComponentsCommand";
77
+ import {
78
+ ExportFormsCommandInput,
79
+ ExportFormsCommandOutput,
80
+ } from "./commands/ExportFormsCommand";
69
81
  import {
70
82
  ExportThemesCommandInput,
71
83
  ExportThemesCommandOutput,
@@ -74,6 +86,14 @@ import {
74
86
  GetComponentCommandInput,
75
87
  GetComponentCommandOutput,
76
88
  } from "./commands/GetComponentCommand";
89
+ import {
90
+ GetFormCommandInput,
91
+ GetFormCommandOutput,
92
+ } from "./commands/GetFormCommand";
93
+ import {
94
+ GetMetadataCommandInput,
95
+ GetMetadataCommandOutput,
96
+ } from "./commands/GetMetadataCommand";
77
97
  import {
78
98
  GetThemeCommandInput,
79
99
  GetThemeCommandOutput,
@@ -82,10 +102,18 @@ import {
82
102
  ListComponentsCommandInput,
83
103
  ListComponentsCommandOutput,
84
104
  } from "./commands/ListComponentsCommand";
105
+ import {
106
+ ListFormsCommandInput,
107
+ ListFormsCommandOutput,
108
+ } from "./commands/ListFormsCommand";
85
109
  import {
86
110
  ListThemesCommandInput,
87
111
  ListThemesCommandOutput,
88
112
  } from "./commands/ListThemesCommand";
113
+ import {
114
+ PutMetadataFlagCommandInput,
115
+ PutMetadataFlagCommandOutput,
116
+ } from "./commands/PutMetadataFlagCommand";
89
117
  import {
90
118
  RefreshTokenCommandInput,
91
119
  RefreshTokenCommandOutput,
@@ -94,84 +122,83 @@ import {
94
122
  UpdateComponentCommandInput,
95
123
  UpdateComponentCommandOutput,
96
124
  } from "./commands/UpdateComponentCommand";
125
+ import {
126
+ UpdateFormCommandInput,
127
+ UpdateFormCommandOutput,
128
+ } from "./commands/UpdateFormCommand";
97
129
  import {
98
130
  UpdateThemeCommandInput,
99
131
  UpdateThemeCommandOutput,
100
132
  } from "./commands/UpdateThemeCommand";
101
133
  export declare type ServiceInputTypes =
102
134
  | CreateComponentCommandInput
135
+ | CreateFormCommandInput
103
136
  | CreateThemeCommandInput
104
137
  | DeleteComponentCommandInput
138
+ | DeleteFormCommandInput
105
139
  | DeleteThemeCommandInput
106
140
  | ExchangeCodeForTokenCommandInput
107
141
  | ExportComponentsCommandInput
142
+ | ExportFormsCommandInput
108
143
  | ExportThemesCommandInput
109
144
  | GetComponentCommandInput
145
+ | GetFormCommandInput
146
+ | GetMetadataCommandInput
110
147
  | GetThemeCommandInput
111
148
  | ListComponentsCommandInput
149
+ | ListFormsCommandInput
112
150
  | ListThemesCommandInput
151
+ | PutMetadataFlagCommandInput
113
152
  | RefreshTokenCommandInput
114
153
  | UpdateComponentCommandInput
154
+ | UpdateFormCommandInput
115
155
  | UpdateThemeCommandInput;
116
156
  export declare type ServiceOutputTypes =
117
157
  | CreateComponentCommandOutput
158
+ | CreateFormCommandOutput
118
159
  | CreateThemeCommandOutput
119
160
  | DeleteComponentCommandOutput
161
+ | DeleteFormCommandOutput
120
162
  | DeleteThemeCommandOutput
121
163
  | ExchangeCodeForTokenCommandOutput
122
164
  | ExportComponentsCommandOutput
165
+ | ExportFormsCommandOutput
123
166
  | ExportThemesCommandOutput
124
167
  | GetComponentCommandOutput
168
+ | GetFormCommandOutput
169
+ | GetMetadataCommandOutput
125
170
  | GetThemeCommandOutput
126
171
  | ListComponentsCommandOutput
172
+ | ListFormsCommandOutput
127
173
  | ListThemesCommandOutput
174
+ | PutMetadataFlagCommandOutput
128
175
  | RefreshTokenCommandOutput
129
176
  | UpdateComponentCommandOutput
177
+ | UpdateFormCommandOutput
130
178
  | UpdateThemeCommandOutput;
131
179
  export interface ClientDefaults
132
180
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
133
181
  requestHandler?: __HttpHandler;
134
-
135
182
  sha256?: __HashConstructor;
136
-
137
183
  urlParser?: __UrlParser;
138
-
139
184
  bodyLengthChecker?: __BodyLengthCalculator;
140
-
141
185
  streamCollector?: __StreamCollector;
142
-
143
186
  base64Decoder?: __Decoder;
144
-
145
187
  base64Encoder?: __Encoder;
146
-
147
188
  utf8Decoder?: __Decoder;
148
-
149
189
  utf8Encoder?: __Encoder;
150
-
151
190
  runtime?: string;
152
-
153
191
  disableHostPrefix?: boolean;
154
-
155
192
  maxAttempts?: number | __Provider<number>;
156
-
157
193
  retryMode?: string | __Provider<string>;
158
-
159
194
  logger?: __Logger;
160
-
161
195
  useDualstackEndpoint?: boolean | __Provider<boolean>;
162
-
163
196
  useFipsEndpoint?: boolean | __Provider<boolean>;
164
-
165
197
  serviceId?: string;
166
-
167
198
  region?: string | __Provider<string>;
168
-
169
199
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
170
-
171
200
  regionInfoProvider?: RegionInfoProvider;
172
-
173
201
  defaultUserAgentProvider?: Provider<__UserAgent>;
174
-
175
202
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
176
203
  }
177
204
  declare type AmplifyUIBuilderClientConfigType = Partial<
@@ -184,7 +211,6 @@ declare type AmplifyUIBuilderClientConfigType = Partial<
184
211
  HostHeaderInputConfig &
185
212
  AwsAuthInputConfig &
186
213
  UserAgentInputConfig;
187
-
188
214
  export interface AmplifyUIBuilderClientConfig
189
215
  extends AmplifyUIBuilderClientConfigType {}
190
216
  declare type AmplifyUIBuilderClientResolvedConfigType =
@@ -196,10 +222,8 @@ declare type AmplifyUIBuilderClientResolvedConfigType =
196
222
  HostHeaderResolvedConfig &
197
223
  AwsAuthResolvedConfig &
198
224
  UserAgentResolvedConfig;
199
-
200
225
  export interface AmplifyUIBuilderClientResolvedConfig
201
226
  extends AmplifyUIBuilderClientResolvedConfigType {}
202
-
203
227
  export declare class AmplifyUIBuilderClient extends __Client<
204
228
  __HttpHandlerOptions,
205
229
  ServiceInputTypes,
@@ -208,7 +232,6 @@ export declare class AmplifyUIBuilderClient extends __Client<
208
232
  > {
209
233
  readonly config: AmplifyUIBuilderClientResolvedConfig;
210
234
  constructor(configuration: AmplifyUIBuilderClientConfig);
211
-
212
235
  destroy(): void;
213
236
  }
214
237
  export {};
@@ -18,7 +18,6 @@ export interface CreateComponentCommandInput extends CreateComponentRequest {}
18
18
  export interface CreateComponentCommandOutput
19
19
  extends CreateComponentResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class CreateComponentCommand extends $Command<
23
22
  CreateComponentCommandInput,
24
23
  CreateComponentCommandOutput,
@@ -26,7 +25,6 @@ export declare class CreateComponentCommand extends $Command<
26
25
  > {
27
26
  readonly input: CreateComponentCommandInput;
28
27
  constructor(input: CreateComponentCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: AmplifyUIBuilderClientResolvedConfig,
@@ -0,0 +1,32 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ AmplifyUIBuilderClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../AmplifyUIBuilderClient";
13
+ import { CreateFormRequest, CreateFormResponse } from "../models/models_0";
14
+ export interface CreateFormCommandInput extends CreateFormRequest {}
15
+ export interface CreateFormCommandOutput
16
+ extends CreateFormResponse,
17
+ __MetadataBearer {}
18
+ export declare class CreateFormCommand extends $Command<
19
+ CreateFormCommandInput,
20
+ CreateFormCommandOutput,
21
+ AmplifyUIBuilderClientResolvedConfig
22
+ > {
23
+ readonly input: CreateFormCommandInput;
24
+ constructor(input: CreateFormCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: AmplifyUIBuilderClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<CreateFormCommandInput, CreateFormCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -15,7 +15,6 @@ export interface CreateThemeCommandInput extends CreateThemeRequest {}
15
15
  export interface CreateThemeCommandOutput
16
16
  extends CreateThemeResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class CreateThemeCommand extends $Command<
20
19
  CreateThemeCommandInput,
21
20
  CreateThemeCommandOutput,
@@ -23,7 +22,6 @@ export declare class CreateThemeCommand extends $Command<
23
22
  > {
24
23
  readonly input: CreateThemeCommandInput;
25
24
  constructor(input: CreateThemeCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: AmplifyUIBuilderClientResolvedConfig,