@aws-sdk/client-amplify 3.816.0 → 3.820.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/index.js +10 -0
- package/dist-cjs/runtimeConfig.js +4 -1
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-types/commands/CreateAppCommand.d.ts +6 -0
- package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +3 -4
- package/dist-types/commands/DeleteAppCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +3 -4
- package/dist-types/commands/GetAppCommand.d.ts +3 -0
- package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +3 -4
- package/dist-types/commands/ListAppsCommand.d.ts +3 -0
- package/dist-types/commands/ListArtifactsCommand.d.ts +6 -5
- package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +3 -4
- package/dist-types/commands/UpdateAppCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +212 -104
- package/dist-types/ts3.4/models/models_0.d.ts +13 -0
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __export(index_exports, {
|
|
|
28
28
|
AutoBranchCreationConfigFilterSensitiveLog: () => AutoBranchCreationConfigFilterSensitiveLog,
|
|
29
29
|
BadRequestException: () => BadRequestException,
|
|
30
30
|
BranchFilterSensitiveLog: () => BranchFilterSensitiveLog,
|
|
31
|
+
BuildComputeType: () => BuildComputeType,
|
|
31
32
|
CacheConfigType: () => CacheConfigType,
|
|
32
33
|
CertificateType: () => CertificateType,
|
|
33
34
|
CreateAppCommand: () => CreateAppCommand,
|
|
@@ -301,6 +302,11 @@ var CacheConfigType = {
|
|
|
301
302
|
AMPLIFY_MANAGED: "AMPLIFY_MANAGED",
|
|
302
303
|
AMPLIFY_MANAGED_NO_COOKIES: "AMPLIFY_MANAGED_NO_COOKIES"
|
|
303
304
|
};
|
|
305
|
+
var BuildComputeType = {
|
|
306
|
+
LARGE_16GB: "LARGE_16GB",
|
|
307
|
+
STANDARD_8GB: "STANDARD_8GB",
|
|
308
|
+
XLARGE_72GB: "XLARGE_72GB"
|
|
309
|
+
};
|
|
304
310
|
var Platform = {
|
|
305
311
|
WEB: "WEB",
|
|
306
312
|
WEB_COMPUTE: "WEB_COMPUTE",
|
|
@@ -591,6 +597,7 @@ var se_CreateAppCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
591
597
|
enableBranchAutoDeletion: [],
|
|
592
598
|
environmentVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environmentVariables"),
|
|
593
599
|
iamServiceRoleArn: [],
|
|
600
|
+
jobConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobConfig"),
|
|
594
601
|
name: [],
|
|
595
602
|
oauthToken: [],
|
|
596
603
|
platform: [],
|
|
@@ -1063,6 +1070,7 @@ var se_UpdateAppCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1063
1070
|
enableBranchAutoDeletion: [],
|
|
1064
1071
|
environmentVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environmentVariables"),
|
|
1065
1072
|
iamServiceRoleArn: [],
|
|
1073
|
+
jobConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobConfig"),
|
|
1066
1074
|
name: [],
|
|
1067
1075
|
oauthToken: [],
|
|
1068
1076
|
platform: [],
|
|
@@ -1815,6 +1823,7 @@ var de_App = /* @__PURE__ */ __name((output, context) => {
|
|
|
1815
1823
|
enableBranchAutoDeletion: import_smithy_client.expectBoolean,
|
|
1816
1824
|
environmentVariables: import_smithy_client._json,
|
|
1817
1825
|
iamServiceRoleArn: import_smithy_client.expectString,
|
|
1826
|
+
jobConfig: import_smithy_client._json,
|
|
1818
1827
|
name: import_smithy_client.expectString,
|
|
1819
1828
|
platform: import_smithy_client.expectString,
|
|
1820
1829
|
productionBranch: /* @__PURE__ */ __name((_) => de_ProductionBranch(_, context), "productionBranch"),
|
|
@@ -2639,6 +2648,7 @@ var paginateListJobs = (0, import_core.createPaginator)(AmplifyClient, ListJobsC
|
|
|
2639
2648
|
BadRequestException,
|
|
2640
2649
|
Stage,
|
|
2641
2650
|
CacheConfigType,
|
|
2651
|
+
BuildComputeType,
|
|
2642
2652
|
Platform,
|
|
2643
2653
|
RepositoryCloneMethod,
|
|
2644
2654
|
WafStatus,
|
|
@@ -23,7 +23,10 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
-
const loaderConfig = {
|
|
26
|
+
const loaderConfig = {
|
|
27
|
+
profile: config?.profile,
|
|
28
|
+
logger: clientSharedValues.logger,
|
|
29
|
+
};
|
|
27
30
|
return {
|
|
28
31
|
...clientSharedValues,
|
|
29
32
|
...config,
|
|
@@ -23,6 +23,11 @@ export const CacheConfigType = {
|
|
|
23
23
|
AMPLIFY_MANAGED: "AMPLIFY_MANAGED",
|
|
24
24
|
AMPLIFY_MANAGED_NO_COOKIES: "AMPLIFY_MANAGED_NO_COOKIES",
|
|
25
25
|
};
|
|
26
|
+
export const BuildComputeType = {
|
|
27
|
+
LARGE_16GB: "LARGE_16GB",
|
|
28
|
+
STANDARD_8GB: "STANDARD_8GB",
|
|
29
|
+
XLARGE_72GB: "XLARGE_72GB",
|
|
30
|
+
};
|
|
26
31
|
export const Platform = {
|
|
27
32
|
WEB: "WEB",
|
|
28
33
|
WEB_COMPUTE: "WEB_COMPUTE",
|
|
@@ -27,6 +27,7 @@ export const se_CreateAppCommand = async (input, context) => {
|
|
|
27
27
|
enableBranchAutoDeletion: [],
|
|
28
28
|
environmentVariables: (_) => _json(_),
|
|
29
29
|
iamServiceRoleArn: [],
|
|
30
|
+
jobConfig: (_) => _json(_),
|
|
30
31
|
name: [],
|
|
31
32
|
oauthToken: [],
|
|
32
33
|
platform: [],
|
|
@@ -479,6 +480,7 @@ export const se_UpdateAppCommand = async (input, context) => {
|
|
|
479
480
|
enableBranchAutoDeletion: [],
|
|
480
481
|
environmentVariables: (_) => _json(_),
|
|
481
482
|
iamServiceRoleArn: [],
|
|
483
|
+
jobConfig: (_) => _json(_),
|
|
482
484
|
name: [],
|
|
483
485
|
oauthToken: [],
|
|
484
486
|
platform: [],
|
|
@@ -1224,6 +1226,7 @@ const de_App = (output, context) => {
|
|
|
1224
1226
|
enableBranchAutoDeletion: __expectBoolean,
|
|
1225
1227
|
environmentVariables: _json,
|
|
1226
1228
|
iamServiceRoleArn: __expectString,
|
|
1229
|
+
jobConfig: _json,
|
|
1227
1230
|
name: __expectString,
|
|
1228
1231
|
platform: __expectString,
|
|
1229
1232
|
productionBranch: (_) => de_ProductionBranch(_, context),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,7 +19,10 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
-
const loaderConfig = {
|
|
22
|
+
const loaderConfig = {
|
|
23
|
+
profile: config?.profile,
|
|
24
|
+
logger: clientSharedValues.logger,
|
|
25
|
+
};
|
|
23
26
|
return {
|
|
24
27
|
...clientSharedValues,
|
|
25
28
|
...config,
|
|
@@ -81,6 +81,9 @@ declare const CreateAppCommand_base: {
|
|
|
81
81
|
* enablePullRequestPreview: true || false,
|
|
82
82
|
* pullRequestEnvironmentName: "STRING_VALUE",
|
|
83
83
|
* },
|
|
84
|
+
* jobConfig: { // JobConfig
|
|
85
|
+
* buildComputeType: "STANDARD_8GB" || "LARGE_16GB" || "XLARGE_72GB", // required
|
|
86
|
+
* },
|
|
84
87
|
* cacheConfig: { // CacheConfig
|
|
85
88
|
* type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
|
|
86
89
|
* },
|
|
@@ -154,6 +157,9 @@ declare const CreateAppCommand_base: {
|
|
|
154
157
|
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
155
158
|
* // statusReason: "STRING_VALUE",
|
|
156
159
|
* // },
|
|
160
|
+
* // jobConfig: { // JobConfig
|
|
161
|
+
* // buildComputeType: "STANDARD_8GB" || "LARGE_16GB" || "XLARGE_72GB", // required
|
|
162
|
+
* // },
|
|
157
163
|
* // },
|
|
158
164
|
* // };
|
|
159
165
|
*
|
|
@@ -30,10 +30,9 @@ declare const CreateBackendEnvironmentCommand_base: {
|
|
|
30
30
|
* <p>Creates a new backend environment for an Amplify app. </p>
|
|
31
31
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
32
32
|
* backend is created using Amplify Studio or the Amplify
|
|
33
|
-
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
-
* When you deploy an application with
|
|
35
|
-
*
|
|
36
|
-
* code.</p>
|
|
33
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
+
* applications. When you deploy an application with Amplify Gen 2, you provision the app's
|
|
35
|
+
* backend infrastructure using Typescript code.</p>
|
|
37
36
|
* @example
|
|
38
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
38
|
* ```javascript
|
|
@@ -106,6 +106,9 @@ declare const DeleteAppCommand_base: {
|
|
|
106
106
|
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
107
107
|
* // statusReason: "STRING_VALUE",
|
|
108
108
|
* // },
|
|
109
|
+
* // jobConfig: { // JobConfig
|
|
110
|
+
* // buildComputeType: "STANDARD_8GB" || "LARGE_16GB" || "XLARGE_72GB", // required
|
|
111
|
+
* // },
|
|
109
112
|
* // },
|
|
110
113
|
* // };
|
|
111
114
|
*
|
|
@@ -30,10 +30,9 @@ declare const DeleteBackendEnvironmentCommand_base: {
|
|
|
30
30
|
* <p>Deletes a backend environment for an Amplify app. </p>
|
|
31
31
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
32
32
|
* backend is created using Amplify Studio or the Amplify
|
|
33
|
-
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
-
* When you deploy an application with
|
|
35
|
-
*
|
|
36
|
-
* code.</p>
|
|
33
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
+
* applications. When you deploy an application with Amplify Gen 2, you provision the app's
|
|
35
|
+
* backend infrastructure using Typescript code.</p>
|
|
37
36
|
* @example
|
|
38
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
38
|
* ```javascript
|
|
@@ -106,6 +106,9 @@ declare const GetAppCommand_base: {
|
|
|
106
106
|
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
107
107
|
* // statusReason: "STRING_VALUE",
|
|
108
108
|
* // },
|
|
109
|
+
* // jobConfig: { // JobConfig
|
|
110
|
+
* // buildComputeType: "STANDARD_8GB" || "LARGE_16GB" || "XLARGE_72GB", // required
|
|
111
|
+
* // },
|
|
109
112
|
* // },
|
|
110
113
|
* // };
|
|
111
114
|
*
|
|
@@ -30,10 +30,9 @@ declare const GetBackendEnvironmentCommand_base: {
|
|
|
30
30
|
* <p>Returns a backend environment for an Amplify app. </p>
|
|
31
31
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
32
32
|
* backend is created using Amplify Studio or the Amplify
|
|
33
|
-
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
-
* When you deploy an application with
|
|
35
|
-
*
|
|
36
|
-
* code.</p>
|
|
33
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
+
* applications. When you deploy an application with Amplify Gen 2, you provision the app's
|
|
35
|
+
* backend infrastructure using Typescript code.</p>
|
|
37
36
|
* @example
|
|
38
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
38
|
* ```javascript
|
|
@@ -108,6 +108,9 @@ declare const ListAppsCommand_base: {
|
|
|
108
108
|
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
109
109
|
* // statusReason: "STRING_VALUE",
|
|
110
110
|
* // },
|
|
111
|
+
* // jobConfig: { // JobConfig
|
|
112
|
+
* // buildComputeType: "STANDARD_8GB" || "LARGE_16GB" || "XLARGE_72GB", // required
|
|
113
|
+
* // },
|
|
111
114
|
* // },
|
|
112
115
|
* // ],
|
|
113
116
|
* // nextToken: "STRING_VALUE",
|
|
@@ -27,11 +27,12 @@ declare const ListArtifactsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of end-to-end testing artifacts for a specified app, branch, and
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* <p>For more information about Amplify testing support, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/running-tests.html">Setting up
|
|
34
|
-
*
|
|
30
|
+
* <p>Returns a list of end-to-end testing artifacts for a specified app, branch, and
|
|
31
|
+
* job.</p>
|
|
32
|
+
* <p>To return the build artifacts, use the <a href="https://docs.aws.amazon.com/amplify/latest/APIReference/API_GetJob.html">GetJob</a> API.</p>
|
|
33
|
+
* <p>For more information about Amplify testing support, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/running-tests.html">Setting up
|
|
34
|
+
* end-to-end Cypress tests for your Amplify application</a> in the
|
|
35
|
+
* <i>Amplify Hosting User Guide</i>. </p>
|
|
35
36
|
* @example
|
|
36
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
38
|
* ```javascript
|
|
@@ -30,10 +30,9 @@ declare const ListBackendEnvironmentsCommand_base: {
|
|
|
30
30
|
* <p>Lists the backend environments for an Amplify app. </p>
|
|
31
31
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
32
32
|
* backend is created using Amplify Studio or the Amplify
|
|
33
|
-
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
-
* When you deploy an application with
|
|
35
|
-
*
|
|
36
|
-
* code.</p>
|
|
33
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2
|
|
34
|
+
* applications. When you deploy an application with Amplify Gen 2, you provision the app's
|
|
35
|
+
* backend infrastructure using Typescript code.</p>
|
|
37
36
|
* @example
|
|
38
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
38
|
* ```javascript
|
|
@@ -79,6 +79,9 @@ declare const UpdateAppCommand_base: {
|
|
|
79
79
|
* repository: "STRING_VALUE",
|
|
80
80
|
* oauthToken: "STRING_VALUE",
|
|
81
81
|
* accessToken: "STRING_VALUE",
|
|
82
|
+
* jobConfig: { // JobConfig
|
|
83
|
+
* buildComputeType: "STANDARD_8GB" || "LARGE_16GB" || "XLARGE_72GB", // required
|
|
84
|
+
* },
|
|
82
85
|
* cacheConfig: { // CacheConfig
|
|
83
86
|
* type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
|
|
84
87
|
* },
|
|
@@ -152,6 +155,9 @@ declare const UpdateAppCommand_base: {
|
|
|
152
155
|
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
153
156
|
* // statusReason: "STRING_VALUE",
|
|
154
157
|
* // },
|
|
158
|
+
* // jobConfig: { // JobConfig
|
|
159
|
+
* // buildComputeType: "STANDARD_8GB" || "LARGE_16GB" || "XLARGE_72GB", // required
|
|
160
|
+
* // },
|
|
155
161
|
* // },
|
|
156
162
|
* // };
|
|
157
163
|
*
|
|
@@ -102,9 +102,8 @@ export declare const CacheConfigType: {
|
|
|
102
102
|
export type CacheConfigType = (typeof CacheConfigType)[keyof typeof CacheConfigType];
|
|
103
103
|
/**
|
|
104
104
|
* <p>Describes the cache configuration for an Amplify app.</p>
|
|
105
|
-
* <p>For more
|
|
106
|
-
*
|
|
107
|
-
* your app based on the type of content that is being served, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/managing-cache-configuration">Managing cache configuration</a> in the <i>Amplify User
|
|
105
|
+
* <p>For more information about how Amplify applies an optimal cache
|
|
106
|
+
* configuration for your app based on the type of content that is being served, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/managing-cache-configuration">Managing cache configuration</a> in the <i>Amplify User
|
|
108
107
|
* guide</i>.</p>
|
|
109
108
|
* @public
|
|
110
109
|
*/
|
|
@@ -114,7 +113,9 @@ export interface CacheConfig {
|
|
|
114
113
|
* <p>The <code>AMPLIFY_MANAGED</code> cache configuration automatically applies an
|
|
115
114
|
* optimized cache configuration for your app based on its platform, routing rules, and
|
|
116
115
|
* rewrite rules. This is the default setting.</p>
|
|
117
|
-
* <p>The <code>AMPLIFY_MANAGED_NO_COOKIES</code> cache configuration type is the same as
|
|
116
|
+
* <p>The <code>AMPLIFY_MANAGED_NO_COOKIES</code> cache configuration type is the same as
|
|
117
|
+
* <code>AMPLIFY_MANAGED</code>, except that it excludes all cookies from the cache
|
|
118
|
+
* key.</p>
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
type: CacheConfigType | undefined;
|
|
@@ -168,6 +169,82 @@ export interface CustomRule {
|
|
|
168
169
|
*/
|
|
169
170
|
condition?: string | undefined;
|
|
170
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* @enum
|
|
175
|
+
*/
|
|
176
|
+
export declare const BuildComputeType: {
|
|
177
|
+
readonly LARGE_16GB: "LARGE_16GB";
|
|
178
|
+
readonly STANDARD_8GB: "STANDARD_8GB";
|
|
179
|
+
readonly XLARGE_72GB: "XLARGE_72GB";
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export type BuildComputeType = (typeof BuildComputeType)[keyof typeof BuildComputeType];
|
|
185
|
+
/**
|
|
186
|
+
* <p>Describes the configuration details that apply to the jobs for an Amplify app.</p>
|
|
187
|
+
* <p>Use <code>JobConfig</code> to apply configuration to jobs, such as customizing the build instance size when you create or
|
|
188
|
+
* update an Amplify app. For more information about customizable build
|
|
189
|
+
* instances, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/custom-build-instance.html">Custom build instances</a> in the <i>Amplify User Guide</i>.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export interface JobConfig {
|
|
193
|
+
/**
|
|
194
|
+
* <p>Specifies the size of the build instance. Amplify supports three
|
|
195
|
+
* instance sizes: <code>STANDARD_8GB</code>, <code>LARGE_16GB</code>, and
|
|
196
|
+
* <code>XLARGE_72GB</code>. If you don't specify a value, Amplify uses
|
|
197
|
+
* the <code>STANDARD_8GB</code> default.</p>
|
|
198
|
+
* <p>The following list describes the CPU, memory, and storage capacity for each build
|
|
199
|
+
* instance type:</p>
|
|
200
|
+
* <dl>
|
|
201
|
+
* <dt>STANDARD_8GB</dt>
|
|
202
|
+
* <dd>
|
|
203
|
+
* <ul>
|
|
204
|
+
* <li>
|
|
205
|
+
* <p>vCPUs: 4</p>
|
|
206
|
+
* </li>
|
|
207
|
+
* <li>
|
|
208
|
+
* <p>Memory: 8 GiB</p>
|
|
209
|
+
* </li>
|
|
210
|
+
* <li>
|
|
211
|
+
* <p>Disk space: 128 GB</p>
|
|
212
|
+
* </li>
|
|
213
|
+
* </ul>
|
|
214
|
+
* </dd>
|
|
215
|
+
* <dt>LARGE_16GB</dt>
|
|
216
|
+
* <dd>
|
|
217
|
+
* <ul>
|
|
218
|
+
* <li>
|
|
219
|
+
* <p>vCPUs: 8</p>
|
|
220
|
+
* </li>
|
|
221
|
+
* <li>
|
|
222
|
+
* <p>Memory: 16 GiB</p>
|
|
223
|
+
* </li>
|
|
224
|
+
* <li>
|
|
225
|
+
* <p>Disk space: 128 GB</p>
|
|
226
|
+
* </li>
|
|
227
|
+
* </ul>
|
|
228
|
+
* </dd>
|
|
229
|
+
* <dt>XLARGE_72GB</dt>
|
|
230
|
+
* <dd>
|
|
231
|
+
* <ul>
|
|
232
|
+
* <li>
|
|
233
|
+
* <p>vCPUs: 36</p>
|
|
234
|
+
* </li>
|
|
235
|
+
* <li>
|
|
236
|
+
* <p>Memory: 72 GiB</p>
|
|
237
|
+
* </li>
|
|
238
|
+
* <li>
|
|
239
|
+
* <p>Disk space: 256 GB</p>
|
|
240
|
+
* </li>
|
|
241
|
+
* </ul>
|
|
242
|
+
* </dd>
|
|
243
|
+
* </dl>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
buildComputeType: BuildComputeType | undefined;
|
|
247
|
+
}
|
|
171
248
|
/**
|
|
172
249
|
* @public
|
|
173
250
|
* @enum
|
|
@@ -209,22 +286,22 @@ export interface CreateAppRequest {
|
|
|
209
286
|
* <p>If you are deploying an SSG only app with Next.js version 14 or later, you must set
|
|
210
287
|
* the platform type to <code>WEB_COMPUTE</code> and set the artifacts
|
|
211
288
|
* <code>baseDirectory</code> to <code>.next</code> in the application's build
|
|
212
|
-
* settings. For an example of the build specification settings, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14">Amplify build
|
|
213
|
-
*
|
|
289
|
+
* settings. For an example of the build specification settings, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14">Amplify build settings for a Next.js 14 SSG application</a> in the
|
|
290
|
+
* <i>Amplify Hosting User Guide</i>.</p>
|
|
214
291
|
* @public
|
|
215
292
|
*/
|
|
216
293
|
platform?: Platform | undefined;
|
|
217
294
|
/**
|
|
218
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app.
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
295
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app.
|
|
296
|
+
* The SSR Compute role allows the Amplify Hosting compute service to
|
|
297
|
+
* securely access specific Amazon Web Services resources based on the role's permissions.
|
|
298
|
+
* For more information about the SSR Compute role, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html">Adding an SSR Compute
|
|
299
|
+
* role</a> in the <i>Amplify User Guide</i>.</p>
|
|
222
300
|
* @public
|
|
223
301
|
*/
|
|
224
302
|
computeRoleArn?: string | undefined;
|
|
225
303
|
/**
|
|
226
|
-
* <p>The Amazon Resource Name
|
|
227
|
-
* (ARN) of the IAM service role for the Amplify app.</p>
|
|
304
|
+
* <p>The Amazon Resource Name (ARN) of the IAM service role for the Amplify app.</p>
|
|
228
305
|
* @public
|
|
229
306
|
*/
|
|
230
307
|
iamServiceRoleArn?: string | undefined;
|
|
@@ -327,6 +404,11 @@ export interface CreateAppRequest {
|
|
|
327
404
|
* @public
|
|
328
405
|
*/
|
|
329
406
|
autoBranchCreationConfig?: AutoBranchCreationConfig | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* <p>Describes the configuration details that apply to the jobs for an Amplify app.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
jobConfig?: JobConfig | undefined;
|
|
330
412
|
/**
|
|
331
413
|
* <p>The cache configuration for the Amplify app.</p>
|
|
332
414
|
* @public
|
|
@@ -390,9 +472,9 @@ export type WafStatus = (typeof WafStatus)[keyof typeof WafStatus];
|
|
|
390
472
|
/**
|
|
391
473
|
* <p>Describes the Firewall configuration for a hosted Amplify application.
|
|
392
474
|
* Firewall support enables you to protect your web applications with a direct integration
|
|
393
|
-
* with WAF. For more information about using WAF protections
|
|
394
|
-
* <a href="https://docs.aws.amazon.com/amplify/latest/userguide/WAF-integration.html">Firewall support for hosted
|
|
395
|
-
*
|
|
475
|
+
* with WAF. For more information about using WAF protections
|
|
476
|
+
* for an Amplify application, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/WAF-integration.html">Firewall support for hosted
|
|
477
|
+
* sites</a> in the <i>Amplify User Guide</i>. </p>
|
|
396
478
|
* @public
|
|
397
479
|
*/
|
|
398
480
|
export interface WafConfiguration {
|
|
@@ -469,16 +551,16 @@ export interface App {
|
|
|
469
551
|
*/
|
|
470
552
|
updateTime: Date | undefined;
|
|
471
553
|
/**
|
|
472
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role for an SSR app. The
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
554
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role for an SSR app. The
|
|
555
|
+
* Compute role allows the Amplify Hosting compute service to securely
|
|
556
|
+
* access specific Amazon Web Services resources based on the role's permissions. For more
|
|
557
|
+
* information about the SSR Compute role, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html">Adding an SSR Compute
|
|
558
|
+
* role</a> in the <i>Amplify User Guide</i>.</p>
|
|
476
559
|
* @public
|
|
477
560
|
*/
|
|
478
561
|
computeRoleArn?: string | undefined;
|
|
479
562
|
/**
|
|
480
|
-
* <p>The Amazon Resource Name
|
|
481
|
-
* (ARN) of the IAM service role for the Amplify app.</p>
|
|
563
|
+
* <p>The Amazon Resource Name (ARN) of the IAM service role for the Amplify app.</p>
|
|
482
564
|
* @public
|
|
483
565
|
*/
|
|
484
566
|
iamServiceRoleArn?: string | undefined;
|
|
@@ -574,16 +656,23 @@ export interface App {
|
|
|
574
656
|
*/
|
|
575
657
|
cacheConfig?: CacheConfig | undefined;
|
|
576
658
|
/**
|
|
577
|
-
* <p>A timestamp of when Amplify created the webhook in your Git
|
|
659
|
+
* <p>A timestamp of when Amplify created the webhook in your Git
|
|
660
|
+
* repository.</p>
|
|
578
661
|
* @public
|
|
579
662
|
*/
|
|
580
663
|
webhookCreateTime?: Date | undefined;
|
|
581
664
|
/**
|
|
582
|
-
* <p>Describes the Firewall configuration for the Amplify app. Firewall
|
|
583
|
-
* with
|
|
665
|
+
* <p>Describes the Firewall configuration for the Amplify app. Firewall
|
|
666
|
+
* support enables you to protect your hosted applications with a direct integration with
|
|
667
|
+
* WAF.</p>
|
|
584
668
|
* @public
|
|
585
669
|
*/
|
|
586
670
|
wafConfiguration?: WafConfiguration | undefined;
|
|
671
|
+
/**
|
|
672
|
+
* <p>The configuration details that apply to the jobs for an Amplify app.</p>
|
|
673
|
+
* @public
|
|
674
|
+
*/
|
|
675
|
+
jobConfig?: JobConfig | undefined;
|
|
587
676
|
}
|
|
588
677
|
/**
|
|
589
678
|
* @public
|
|
@@ -673,8 +762,8 @@ export interface CreateBackendEnvironmentRequest {
|
|
|
673
762
|
/**
|
|
674
763
|
* <p>Describes the backend environment associated with a <code>Branch</code> of a Gen 1
|
|
675
764
|
* Amplify app. Amplify Gen 1 applications are created
|
|
676
|
-
* using Amplify Studio or the Amplify command line
|
|
677
|
-
*
|
|
765
|
+
* using Amplify Studio or the Amplify command line interface
|
|
766
|
+
* (CLI).</p>
|
|
678
767
|
* @public
|
|
679
768
|
*/
|
|
680
769
|
export interface BackendEnvironment {
|
|
@@ -738,9 +827,9 @@ export declare class NotFoundException extends __BaseException {
|
|
|
738
827
|
/**
|
|
739
828
|
* <p>Describes the backend associated with an Amplify
|
|
740
829
|
* <code>Branch</code>.</p>
|
|
741
|
-
* <p>This property is available to Amplify Gen 2 apps only. When you deploy
|
|
742
|
-
* Amplify Gen 2, you provision the app's backend infrastructure using
|
|
743
|
-
* code.</p>
|
|
830
|
+
* <p>This property is available to Amplify Gen 2 apps only. When you deploy
|
|
831
|
+
* an application with Amplify Gen 2, you provision the app's backend infrastructure using
|
|
832
|
+
* Typescript code.</p>
|
|
744
833
|
* @public
|
|
745
834
|
*/
|
|
746
835
|
export interface Backend {
|
|
@@ -792,11 +881,12 @@ export interface CreateBranchRequest {
|
|
|
792
881
|
enableAutoBuild?: boolean | undefined;
|
|
793
882
|
/**
|
|
794
883
|
* <p>Specifies whether the skew protection feature is enabled for the branch.</p>
|
|
795
|
-
* <p>Deployment skew protection is available to Amplify applications to
|
|
796
|
-
* issues between client and servers in web applications. When you
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
*
|
|
884
|
+
* <p>Deployment skew protection is available to Amplify applications to
|
|
885
|
+
* eliminate version skew issues between client and servers in web applications. When you
|
|
886
|
+
* apply skew protection to a branch, you can ensure that your clients always interact with
|
|
887
|
+
* the correct version of server-side assets, regardless of when a deployment occurs. For
|
|
888
|
+
* more information about skew protection, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/skew-protection.html">Skew protection for Amplify deployments</a> in the <i>Amplify User
|
|
889
|
+
* Guide</i>.</p>
|
|
800
890
|
* @public
|
|
801
891
|
*/
|
|
802
892
|
enableSkewProtection?: boolean | undefined;
|
|
@@ -856,28 +946,29 @@ export interface CreateBranchRequest {
|
|
|
856
946
|
*/
|
|
857
947
|
pullRequestEnvironmentName?: string | undefined;
|
|
858
948
|
/**
|
|
859
|
-
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1
|
|
860
|
-
* app. </p>
|
|
861
|
-
* <p>This field is available to Amplify Gen 1 apps only where the
|
|
862
|
-
*
|
|
863
|
-
*
|
|
949
|
+
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1
|
|
950
|
+
* Amplify app. </p>
|
|
951
|
+
* <p>This field is available to Amplify Gen 1 apps only where the backend is
|
|
952
|
+
* created using Amplify Studio or the Amplify command line
|
|
953
|
+
* interface (CLI).</p>
|
|
864
954
|
* @public
|
|
865
955
|
*/
|
|
866
956
|
backendEnvironmentArn?: string | undefined;
|
|
867
957
|
/**
|
|
868
958
|
* <p>The backend for a <code>Branch</code> of an Amplify app. Use for a
|
|
869
959
|
* backend created from an CloudFormation stack.</p>
|
|
870
|
-
* <p>This field is available to Amplify Gen 2 apps only. When you deploy an
|
|
871
|
-
* Amplify Gen 2, you provision the app's backend infrastructure using
|
|
872
|
-
* code.</p>
|
|
960
|
+
* <p>This field is available to Amplify Gen 2 apps only. When you deploy an
|
|
961
|
+
* application with Amplify Gen 2, you provision the app's backend infrastructure using
|
|
962
|
+
* Typescript code.</p>
|
|
873
963
|
* @public
|
|
874
964
|
*/
|
|
875
965
|
backend?: Backend | undefined;
|
|
876
966
|
/**
|
|
877
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of
|
|
878
|
-
*
|
|
879
|
-
*
|
|
880
|
-
*
|
|
967
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of
|
|
968
|
+
* an SSR app. The SSR Compute role allows the Amplify Hosting compute
|
|
969
|
+
* service to securely access specific Amazon Web Services resources based on the role's
|
|
970
|
+
* permissions. For more information about the SSR Compute role, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html">Adding an SSR Compute role</a> in the <i>Amplify User
|
|
971
|
+
* Guide</i>.</p>
|
|
881
972
|
* @public
|
|
882
973
|
*/
|
|
883
974
|
computeRoleArn?: string | undefined;
|
|
@@ -944,11 +1035,12 @@ export interface Branch {
|
|
|
944
1035
|
enableAutoBuild: boolean | undefined;
|
|
945
1036
|
/**
|
|
946
1037
|
* <p>Specifies whether the skew protection feature is enabled for the branch.</p>
|
|
947
|
-
* <p>Deployment skew protection is available to Amplify applications to
|
|
948
|
-
* issues between client and servers in web applications. When you
|
|
949
|
-
*
|
|
950
|
-
*
|
|
951
|
-
*
|
|
1038
|
+
* <p>Deployment skew protection is available to Amplify applications to
|
|
1039
|
+
* eliminate version skew issues between client and servers in web applications. When you
|
|
1040
|
+
* apply skew protection to a branch, you can ensure that your clients always interact with
|
|
1041
|
+
* the correct version of server-side assets, regardless of when a deployment occurs. For
|
|
1042
|
+
* more information about skew protection, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/skew-protection.html">Skew protection for Amplify deployments</a> in the <i>Amplify User
|
|
1043
|
+
* Guide</i>.</p>
|
|
952
1044
|
* @public
|
|
953
1045
|
*/
|
|
954
1046
|
enableSkewProtection?: boolean | undefined;
|
|
@@ -1035,26 +1127,27 @@ export interface Branch {
|
|
|
1035
1127
|
sourceBranch?: string | undefined;
|
|
1036
1128
|
/**
|
|
1037
1129
|
* <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p>
|
|
1038
|
-
* <p>This property is available to Amplify Gen 1 apps only. When you deploy
|
|
1039
|
-
* Amplify Gen 2, you provision the app's backend infrastructure using
|
|
1040
|
-
* code.</p>
|
|
1130
|
+
* <p>This property is available to Amplify Gen 1 apps only. When you deploy
|
|
1131
|
+
* an application with Amplify Gen 2, you provision the app's backend infrastructure using
|
|
1132
|
+
* Typescript code.</p>
|
|
1041
1133
|
* @public
|
|
1042
1134
|
*/
|
|
1043
1135
|
backendEnvironmentArn?: string | undefined;
|
|
1044
1136
|
/**
|
|
1045
1137
|
* <p>Describes the backend associated with an Amplify
|
|
1046
1138
|
* <code>Branch</code>.</p>
|
|
1047
|
-
* <p>This property is available to Amplify Gen 2 apps only. When you deploy
|
|
1048
|
-
* Amplify Gen 2, you provision the app's backend infrastructure using
|
|
1049
|
-
* code.</p>
|
|
1139
|
+
* <p>This property is available to Amplify Gen 2 apps only. When you deploy
|
|
1140
|
+
* an application with Amplify Gen 2, you provision the app's backend infrastructure using
|
|
1141
|
+
* Typescript code.</p>
|
|
1050
1142
|
* @public
|
|
1051
1143
|
*/
|
|
1052
1144
|
backend?: Backend | undefined;
|
|
1053
1145
|
/**
|
|
1054
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role for a branch of an SSR
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
1057
|
-
*
|
|
1146
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role for a branch of an SSR
|
|
1147
|
+
* app. The Compute role allows the Amplify Hosting compute service to
|
|
1148
|
+
* securely access specific Amazon Web Services resources based on the role's permissions.
|
|
1149
|
+
* For more information about the SSR Compute role, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html">Adding an SSR Compute
|
|
1150
|
+
* role</a> in the <i>Amplify User Guide</i>.</p>
|
|
1058
1151
|
* @public
|
|
1059
1152
|
*/
|
|
1060
1153
|
computeRoleArn?: string | undefined;
|
|
@@ -1491,12 +1584,14 @@ export interface Webhook {
|
|
|
1491
1584
|
*/
|
|
1492
1585
|
description: string | undefined;
|
|
1493
1586
|
/**
|
|
1494
|
-
* <p>A timestamp of when Amplify created the webhook in your Git
|
|
1587
|
+
* <p>A timestamp of when Amplify created the webhook in your Git
|
|
1588
|
+
* repository.</p>
|
|
1495
1589
|
* @public
|
|
1496
1590
|
*/
|
|
1497
1591
|
createTime: Date | undefined;
|
|
1498
1592
|
/**
|
|
1499
|
-
* <p>A timestamp of when Amplify updated the webhook in your Git
|
|
1593
|
+
* <p>A timestamp of when Amplify updated the webhook in your Git
|
|
1594
|
+
* repository.</p>
|
|
1500
1595
|
* @public
|
|
1501
1596
|
*/
|
|
1502
1597
|
updateTime: Date | undefined;
|
|
@@ -1727,25 +1822,28 @@ export interface JobSummary {
|
|
|
1727
1822
|
endTime?: Date | undefined;
|
|
1728
1823
|
/**
|
|
1729
1824
|
* <p> The type for the job. If the value is <code>RELEASE</code>, the job was manually
|
|
1730
|
-
* released from its source by using the <code>StartJob</code> API. This value is available
|
|
1731
|
-
* that are connected to a repository.</p>
|
|
1732
|
-
* <p>If the value is <code>RETRY</code>, the job was manually retried using the
|
|
1733
|
-
*
|
|
1734
|
-
* webhooks. If the value is <code>MANUAL</code>, the job is for
|
|
1825
|
+
* released from its source by using the <code>StartJob</code> API. This value is available
|
|
1826
|
+
* only for apps that are connected to a repository.</p>
|
|
1827
|
+
* <p>If the value is <code>RETRY</code>, the job was manually retried using the
|
|
1828
|
+
* <code>StartJob</code> API. If the value is <code>WEB_HOOK</code>, the job was
|
|
1829
|
+
* automatically triggered by webhooks. If the value is <code>MANUAL</code>, the job is for
|
|
1830
|
+
* a manually deployed app. Manually deployed apps are not connected to a Git
|
|
1831
|
+
* repository.</p>
|
|
1735
1832
|
* @public
|
|
1736
1833
|
*/
|
|
1737
1834
|
jobType: JobType | undefined;
|
|
1738
1835
|
/**
|
|
1739
|
-
* <p>The source URL for the files to deploy. The source URL can be either an HTTP GET URL
|
|
1740
|
-
* downloads a single .zip file, or an Amazon S3
|
|
1836
|
+
* <p>The source URL for the files to deploy. The source URL can be either an HTTP GET URL
|
|
1837
|
+
* that is publicly accessible and downloads a single .zip file, or an Amazon S3
|
|
1838
|
+
* bucket and prefix.</p>
|
|
1741
1839
|
* @public
|
|
1742
1840
|
*/
|
|
1743
1841
|
sourceUrl?: string | undefined;
|
|
1744
1842
|
/**
|
|
1745
|
-
* <p>The type of source specified by the <code>sourceURL</code>.
|
|
1746
|
-
*
|
|
1747
|
-
*
|
|
1748
|
-
*
|
|
1843
|
+
* <p>The type of source specified by the <code>sourceURL</code>. If the value is
|
|
1844
|
+
* <code>ZIP</code>, the source is a .zip file. If the value is
|
|
1845
|
+
* <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and prefix. If
|
|
1846
|
+
* no value is specified, the default is <code>ZIP</code>.</p>
|
|
1749
1847
|
* @public
|
|
1750
1848
|
*/
|
|
1751
1849
|
sourceUrlType?: SourceUrlType | undefined;
|
|
@@ -2445,21 +2543,24 @@ export interface StartDeploymentRequest {
|
|
|
2445
2543
|
*/
|
|
2446
2544
|
branchName: string | undefined;
|
|
2447
2545
|
/**
|
|
2448
|
-
* <p>The job ID for this deployment that is generated by the <code>CreateDeployment</code>
|
|
2546
|
+
* <p>The job ID for this deployment that is generated by the <code>CreateDeployment</code>
|
|
2547
|
+
* request. </p>
|
|
2449
2548
|
* @public
|
|
2450
2549
|
*/
|
|
2451
2550
|
jobId?: string | undefined;
|
|
2452
2551
|
/**
|
|
2453
|
-
* <p>The source URL for the deployment that is used when calling
|
|
2454
|
-
*
|
|
2552
|
+
* <p>The source URL for the deployment that is used when calling
|
|
2553
|
+
* <code>StartDeployment</code> without <code>CreateDeployment</code>. The source URL
|
|
2554
|
+
* can be either an HTTP GET URL that is publicly accessible and downloads a single .zip
|
|
2555
|
+
* file, or an Amazon S3 bucket and prefix.</p>
|
|
2455
2556
|
* @public
|
|
2456
2557
|
*/
|
|
2457
2558
|
sourceUrl?: string | undefined;
|
|
2458
2559
|
/**
|
|
2459
|
-
* <p>The type of source specified by the <code>sourceURL</code>.
|
|
2460
|
-
*
|
|
2461
|
-
*
|
|
2462
|
-
*
|
|
2560
|
+
* <p>The type of source specified by the <code>sourceURL</code>. If the value is
|
|
2561
|
+
* <code>ZIP</code>, the source is a .zip file. If the value is
|
|
2562
|
+
* <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and prefix. If
|
|
2563
|
+
* no value is specified, the default is <code>ZIP</code>.</p>
|
|
2463
2564
|
* @public
|
|
2464
2565
|
*/
|
|
2465
2566
|
sourceUrlType?: SourceUrlType | undefined;
|
|
@@ -2644,16 +2745,16 @@ export interface UpdateAppRequest {
|
|
|
2644
2745
|
*/
|
|
2645
2746
|
platform?: Platform | undefined;
|
|
2646
2747
|
/**
|
|
2647
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app.
|
|
2648
|
-
*
|
|
2649
|
-
*
|
|
2650
|
-
*
|
|
2748
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app.
|
|
2749
|
+
* The SSR Compute role allows the Amplify Hosting compute service to
|
|
2750
|
+
* securely access specific Amazon Web Services resources based on the role's permissions.
|
|
2751
|
+
* For more information about the SSR Compute role, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html">Adding an SSR Compute
|
|
2752
|
+
* role</a> in the <i>Amplify User Guide</i>.</p>
|
|
2651
2753
|
* @public
|
|
2652
2754
|
*/
|
|
2653
2755
|
computeRoleArn?: string | undefined;
|
|
2654
2756
|
/**
|
|
2655
|
-
* <p>The Amazon Resource Name
|
|
2656
|
-
* (ARN) of the IAM service role for the Amplify app.</p>
|
|
2757
|
+
* <p>The Amazon Resource Name (ARN) of the IAM service role for the Amplify app.</p>
|
|
2657
2758
|
* @public
|
|
2658
2759
|
*/
|
|
2659
2760
|
iamServiceRoleArn?: string | undefined;
|
|
@@ -2752,6 +2853,11 @@ export interface UpdateAppRequest {
|
|
|
2752
2853
|
* @public
|
|
2753
2854
|
*/
|
|
2754
2855
|
accessToken?: string | undefined;
|
|
2856
|
+
/**
|
|
2857
|
+
* <p>Describes the configuration details that apply to the jobs for an Amplify app.</p>
|
|
2858
|
+
* @public
|
|
2859
|
+
*/
|
|
2860
|
+
jobConfig?: JobConfig | undefined;
|
|
2755
2861
|
/**
|
|
2756
2862
|
* <p>The cache configuration for the Amplify app.</p>
|
|
2757
2863
|
* @public
|
|
@@ -2811,11 +2917,12 @@ export interface UpdateBranchRequest {
|
|
|
2811
2917
|
enableAutoBuild?: boolean | undefined;
|
|
2812
2918
|
/**
|
|
2813
2919
|
* <p>Specifies whether the skew protection feature is enabled for the branch.</p>
|
|
2814
|
-
* <p>Deployment skew protection is available to Amplify applications to
|
|
2815
|
-
* issues between client and servers in web applications. When you
|
|
2816
|
-
*
|
|
2817
|
-
*
|
|
2818
|
-
*
|
|
2920
|
+
* <p>Deployment skew protection is available to Amplify applications to
|
|
2921
|
+
* eliminate version skew issues between client and servers in web applications. When you
|
|
2922
|
+
* apply skew protection to a branch, you can ensure that your clients always interact with
|
|
2923
|
+
* the correct version of server-side assets, regardless of when a deployment occurs. For
|
|
2924
|
+
* more information about skew protection, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/skew-protection.html">Skew protection for Amplify deployments</a> in the <i>Amplify User
|
|
2925
|
+
* Guide</i>.</p>
|
|
2819
2926
|
* @public
|
|
2820
2927
|
*/
|
|
2821
2928
|
enableSkewProtection?: boolean | undefined;
|
|
@@ -2870,28 +2977,29 @@ export interface UpdateBranchRequest {
|
|
|
2870
2977
|
*/
|
|
2871
2978
|
pullRequestEnvironmentName?: string | undefined;
|
|
2872
2979
|
/**
|
|
2873
|
-
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1
|
|
2874
|
-
* app. </p>
|
|
2875
|
-
* <p>This field is available to Amplify Gen 1 apps only where the
|
|
2876
|
-
*
|
|
2877
|
-
*
|
|
2980
|
+
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1
|
|
2981
|
+
* Amplify app. </p>
|
|
2982
|
+
* <p>This field is available to Amplify Gen 1 apps only where the backend is
|
|
2983
|
+
* created using Amplify Studio or the Amplify command line
|
|
2984
|
+
* interface (CLI).</p>
|
|
2878
2985
|
* @public
|
|
2879
2986
|
*/
|
|
2880
2987
|
backendEnvironmentArn?: string | undefined;
|
|
2881
2988
|
/**
|
|
2882
2989
|
* <p>The backend for a <code>Branch</code> of an Amplify app. Use for a
|
|
2883
2990
|
* backend created from an CloudFormation stack.</p>
|
|
2884
|
-
* <p>This field is available to Amplify Gen 2 apps only. When you deploy an
|
|
2885
|
-
* Amplify Gen 2, you provision the app's backend infrastructure using
|
|
2886
|
-
* code.</p>
|
|
2991
|
+
* <p>This field is available to Amplify Gen 2 apps only. When you deploy an
|
|
2992
|
+
* application with Amplify Gen 2, you provision the app's backend infrastructure using
|
|
2993
|
+
* Typescript code.</p>
|
|
2887
2994
|
* @public
|
|
2888
2995
|
*/
|
|
2889
2996
|
backend?: Backend | undefined;
|
|
2890
2997
|
/**
|
|
2891
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of
|
|
2892
|
-
*
|
|
2893
|
-
*
|
|
2894
|
-
*
|
|
2998
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of
|
|
2999
|
+
* an SSR app. The SSR Compute role allows the Amplify Hosting compute
|
|
3000
|
+
* service to securely access specific Amazon Web Services resources based on the role's
|
|
3001
|
+
* permissions. For more information about the SSR Compute role, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html">Adding an SSR Compute role</a> in the <i>Amplify User
|
|
3002
|
+
* Guide</i>.</p>
|
|
2895
3003
|
* @public
|
|
2896
3004
|
*/
|
|
2897
3005
|
computeRoleArn?: string | undefined;
|
|
@@ -42,6 +42,16 @@ export interface CustomRule {
|
|
|
42
42
|
status?: string | undefined;
|
|
43
43
|
condition?: string | undefined;
|
|
44
44
|
}
|
|
45
|
+
export declare const BuildComputeType: {
|
|
46
|
+
readonly LARGE_16GB: "LARGE_16GB";
|
|
47
|
+
readonly STANDARD_8GB: "STANDARD_8GB";
|
|
48
|
+
readonly XLARGE_72GB: "XLARGE_72GB";
|
|
49
|
+
};
|
|
50
|
+
export type BuildComputeType =
|
|
51
|
+
(typeof BuildComputeType)[keyof typeof BuildComputeType];
|
|
52
|
+
export interface JobConfig {
|
|
53
|
+
buildComputeType: BuildComputeType | undefined;
|
|
54
|
+
}
|
|
45
55
|
export declare const Platform: {
|
|
46
56
|
readonly WEB: "WEB";
|
|
47
57
|
readonly WEB_COMPUTE: "WEB_COMPUTE";
|
|
@@ -69,6 +79,7 @@ export interface CreateAppRequest {
|
|
|
69
79
|
enableAutoBranchCreation?: boolean | undefined;
|
|
70
80
|
autoBranchCreationPatterns?: string[] | undefined;
|
|
71
81
|
autoBranchCreationConfig?: AutoBranchCreationConfig | undefined;
|
|
82
|
+
jobConfig?: JobConfig | undefined;
|
|
72
83
|
cacheConfig?: CacheConfig | undefined;
|
|
73
84
|
}
|
|
74
85
|
export interface ProductionBranch {
|
|
@@ -126,6 +137,7 @@ export interface App {
|
|
|
126
137
|
cacheConfig?: CacheConfig | undefined;
|
|
127
138
|
webhookCreateTime?: Date | undefined;
|
|
128
139
|
wafConfiguration?: WafConfiguration | undefined;
|
|
140
|
+
jobConfig?: JobConfig | undefined;
|
|
129
141
|
}
|
|
130
142
|
export interface CreateAppResult {
|
|
131
143
|
app: App | undefined;
|
|
@@ -641,6 +653,7 @@ export interface UpdateAppRequest {
|
|
|
641
653
|
repository?: string | undefined;
|
|
642
654
|
oauthToken?: string | undefined;
|
|
643
655
|
accessToken?: string | undefined;
|
|
656
|
+
jobConfig?: JobConfig | undefined;
|
|
644
657
|
cacheConfig?: CacheConfig | undefined;
|
|
645
658
|
}
|
|
646
659
|
export interface UpdateAppResult {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplify",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.820.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amplify",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.816.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.817.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.804.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.804.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.804.0",
|