@aws-sdk/client-amplifyuibuilder 3.418.0 → 3.419.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.
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +4 -1
- package/dist-types/commands/GetCodegenJobCommand.d.ts +11 -0
- package/dist-types/commands/RefreshTokenCommand.d.ts +4 -1
- package/dist-types/commands/StartCodegenJobCommand.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +36 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -2012,6 +2012,7 @@ const de_CodegenJob = (output, context) => {
|
|
|
2012
2012
|
asset: smithy_client_1._json,
|
|
2013
2013
|
autoGenerateForms: smithy_client_1.expectBoolean,
|
|
2014
2014
|
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2015
|
+
dependencies: smithy_client_1._json,
|
|
2015
2016
|
environmentName: smithy_client_1.expectString,
|
|
2016
2017
|
features: smithy_client_1._json,
|
|
2017
2018
|
genericDataSchema: smithy_client_1._json,
|
|
@@ -1959,6 +1959,7 @@ const de_CodegenJob = (output, context) => {
|
|
|
1959
1959
|
asset: _json,
|
|
1960
1960
|
autoGenerateForms: __expectBoolean,
|
|
1961
1961
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1962
|
+
dependencies: _json,
|
|
1962
1963
|
environmentName: __expectString,
|
|
1963
1964
|
features: _json,
|
|
1964
1965
|
genericDataSchema: _json,
|
|
@@ -23,7 +23,10 @@ export interface ExchangeCodeForTokenCommandOutput extends ExchangeCodeForTokenR
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This is for internal use.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Amplify uses this action to exchange an access code for a token.</p>
|
|
27
30
|
* @example
|
|
28
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
32
|
* ```javascript
|
|
@@ -60,6 +60,9 @@ export interface GetCodegenJobCommandOutput extends GetCodegenJobResponse, __Met
|
|
|
60
60
|
* // dataStoreConfig: {},
|
|
61
61
|
* // noApiConfig: {},
|
|
62
62
|
* // },
|
|
63
|
+
* // dependencies: { // ReactCodegenDependencies
|
|
64
|
+
* // "<keys>": "STRING_VALUE",
|
|
65
|
+
* // },
|
|
63
66
|
* // },
|
|
64
67
|
* // },
|
|
65
68
|
* // genericDataSchema: { // CodegenJobGenericDataSchema
|
|
@@ -147,6 +150,14 @@ export interface GetCodegenJobCommandOutput extends GetCodegenJobResponse, __Met
|
|
|
147
150
|
* // },
|
|
148
151
|
* // createdAt: new Date("TIMESTAMP"),
|
|
149
152
|
* // modifiedAt: new Date("TIMESTAMP"),
|
|
153
|
+
* // dependencies: [ // CodegenDependencies
|
|
154
|
+
* // { // CodegenDependency
|
|
155
|
+
* // name: "STRING_VALUE",
|
|
156
|
+
* // supportedVersion: "STRING_VALUE",
|
|
157
|
+
* // isSemVer: true || false,
|
|
158
|
+
* // reason: "STRING_VALUE",
|
|
159
|
+
* // },
|
|
160
|
+
* // ],
|
|
150
161
|
* // },
|
|
151
162
|
* // };
|
|
152
163
|
*
|
|
@@ -23,7 +23,10 @@ export interface RefreshTokenCommandOutput extends RefreshTokenResponse, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This is for internal use.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Amplify uses this action to refresh a previously issued access token that might have expired.</p>
|
|
27
30
|
* @example
|
|
28
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
32
|
* ```javascript
|
|
@@ -53,6 +53,9 @@ export interface StartCodegenJobCommandOutput extends StartCodegenJobResponse, _
|
|
|
53
53
|
* dataStoreConfig: {},
|
|
54
54
|
* noApiConfig: {},
|
|
55
55
|
* },
|
|
56
|
+
* dependencies: { // ReactCodegenDependencies
|
|
57
|
+
* "<keys>": "STRING_VALUE",
|
|
58
|
+
* },
|
|
56
59
|
* },
|
|
57
60
|
* },
|
|
58
61
|
* genericDataSchema: { // CodegenJobGenericDataSchema
|
|
@@ -160,6 +163,9 @@ export interface StartCodegenJobCommandOutput extends StartCodegenJobResponse, _
|
|
|
160
163
|
* // dataStoreConfig: {},
|
|
161
164
|
* // noApiConfig: {},
|
|
162
165
|
* // },
|
|
166
|
+
* // dependencies: { // ReactCodegenDependencies
|
|
167
|
+
* // "<keys>": "STRING_VALUE",
|
|
168
|
+
* // },
|
|
163
169
|
* // },
|
|
164
170
|
* // },
|
|
165
171
|
* // genericDataSchema: { // CodegenJobGenericDataSchema
|
|
@@ -247,6 +253,14 @@ export interface StartCodegenJobCommandOutput extends StartCodegenJobResponse, _
|
|
|
247
253
|
* // },
|
|
248
254
|
* // createdAt: new Date("TIMESTAMP"),
|
|
249
255
|
* // modifiedAt: new Date("TIMESTAMP"),
|
|
256
|
+
* // dependencies: [ // CodegenDependencies
|
|
257
|
+
* // { // CodegenDependency
|
|
258
|
+
* // name: "STRING_VALUE",
|
|
259
|
+
* // supportedVersion: "STRING_VALUE",
|
|
260
|
+
* // isSemVer: true || false,
|
|
261
|
+
* // reason: "STRING_VALUE",
|
|
262
|
+
* // },
|
|
263
|
+
* // ],
|
|
250
264
|
* // },
|
|
251
265
|
* // };
|
|
252
266
|
*
|
|
@@ -64,6 +64,32 @@ export interface CodegenJobAsset {
|
|
|
64
64
|
*/
|
|
65
65
|
downloadUrl?: string;
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* <p>Dependency package that may be required for the project code to run.</p>
|
|
70
|
+
*/
|
|
71
|
+
export interface CodegenDependency {
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* <p>Name of the dependency package.</p>
|
|
75
|
+
*/
|
|
76
|
+
name?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* <p>Indicates the version of the supported dependency package.</p>
|
|
80
|
+
*/
|
|
81
|
+
supportedVersion?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* <p>Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.</p>
|
|
85
|
+
*/
|
|
86
|
+
isSemVer?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* <p>Indicates the reason to include the dependency package in your project code.</p>
|
|
90
|
+
*/
|
|
91
|
+
reason?: string;
|
|
92
|
+
}
|
|
67
93
|
/**
|
|
68
94
|
* @public
|
|
69
95
|
* <p>Describes the feature flags that you can specify for a code generation job.</p>
|
|
@@ -458,6 +484,11 @@ export interface ReactStartCodegenJobData {
|
|
|
458
484
|
* <p>The API configuration for the code generation job.</p>
|
|
459
485
|
*/
|
|
460
486
|
apiConfiguration?: ApiConfiguration;
|
|
487
|
+
/**
|
|
488
|
+
* @public
|
|
489
|
+
* <p>Lists the dependency packages that may be required for the project code to run.</p>
|
|
490
|
+
*/
|
|
491
|
+
dependencies?: Record<string, string>;
|
|
461
492
|
}
|
|
462
493
|
/**
|
|
463
494
|
* @public
|
|
@@ -572,6 +603,11 @@ export interface CodegenJob {
|
|
|
572
603
|
* <p>The time that the code generation job was modified.</p>
|
|
573
604
|
*/
|
|
574
605
|
modifiedAt?: Date;
|
|
606
|
+
/**
|
|
607
|
+
* @public
|
|
608
|
+
* <p>Lists the dependency packages that may be required for the project code to run.</p>
|
|
609
|
+
*/
|
|
610
|
+
dependencies?: CodegenDependency[];
|
|
575
611
|
}
|
|
576
612
|
/**
|
|
577
613
|
* @public
|
|
@@ -16,6 +16,12 @@ export interface GetCodegenJobRequest {
|
|
|
16
16
|
export interface CodegenJobAsset {
|
|
17
17
|
downloadUrl?: string;
|
|
18
18
|
}
|
|
19
|
+
export interface CodegenDependency {
|
|
20
|
+
name?: string;
|
|
21
|
+
supportedVersion?: string;
|
|
22
|
+
isSemVer?: boolean;
|
|
23
|
+
reason?: string;
|
|
24
|
+
}
|
|
19
25
|
export interface CodegenFeatureFlags {
|
|
20
26
|
isRelationshipSupported?: boolean;
|
|
21
27
|
isNonModelSupported?: boolean;
|
|
@@ -159,6 +165,7 @@ export interface ReactStartCodegenJobData {
|
|
|
159
165
|
renderTypeDeclarations?: boolean;
|
|
160
166
|
inlineSourceMap?: boolean;
|
|
161
167
|
apiConfiguration?: ApiConfiguration;
|
|
168
|
+
dependencies?: Record<string, string>;
|
|
162
169
|
}
|
|
163
170
|
export type CodegenJobRenderConfig =
|
|
164
171
|
| CodegenJobRenderConfig.ReactMember
|
|
@@ -199,6 +206,7 @@ export interface CodegenJob {
|
|
|
199
206
|
tags?: Record<string, string>;
|
|
200
207
|
createdAt?: Date;
|
|
201
208
|
modifiedAt?: Date;
|
|
209
|
+
dependencies?: CodegenDependency[];
|
|
202
210
|
}
|
|
203
211
|
export interface GetCodegenJobResponse {
|
|
204
212
|
job?: CodegenJob;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplifyuibuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplifyuibuilder Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.419.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|