@aws-sdk/client-amplify 3.714.0 → 3.715.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 +13 -1
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateAppCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAppCommand.d.ts +6 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/GetAppCommand.d.ts +6 -0
- package/dist-types/commands/GetJobCommand.d.ts +2 -2
- package/dist-types/commands/ListAppsCommand.d.ts +6 -0
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/StartDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/StartJobCommand.d.ts +1 -1
- package/dist-types/commands/StopJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +59 -7
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -95,6 +95,7 @@ __export(src_exports, {
|
|
|
95
95
|
UpdateDomainAssociationCommand: () => UpdateDomainAssociationCommand,
|
|
96
96
|
UpdateStatus: () => UpdateStatus,
|
|
97
97
|
UpdateWebhookCommand: () => UpdateWebhookCommand,
|
|
98
|
+
WafStatus: () => WafStatus,
|
|
98
99
|
__Client: () => import_smithy_client.Client,
|
|
99
100
|
paginateListApps: () => paginateListApps,
|
|
100
101
|
paginateListBranches: () => paginateListBranches,
|
|
@@ -304,6 +305,13 @@ var RepositoryCloneMethod = {
|
|
|
304
305
|
SSH: "SSH",
|
|
305
306
|
TOKEN: "TOKEN"
|
|
306
307
|
};
|
|
308
|
+
var WafStatus = {
|
|
309
|
+
ASSOCIATING: "ASSOCIATING",
|
|
310
|
+
ASSOCIATION_FAILED: "ASSOCIATION_FAILED",
|
|
311
|
+
ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS",
|
|
312
|
+
DISASSOCIATING: "DISASSOCIATING",
|
|
313
|
+
DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED"
|
|
314
|
+
};
|
|
307
315
|
var _DependentServiceFailureException = class _DependentServiceFailureException extends AmplifyServiceException {
|
|
308
316
|
/**
|
|
309
317
|
* @internal
|
|
@@ -427,6 +435,7 @@ var SourceUrlType = {
|
|
|
427
435
|
var JobStatus = {
|
|
428
436
|
CANCELLED: "CANCELLED",
|
|
429
437
|
CANCELLING: "CANCELLING",
|
|
438
|
+
CREATED: "CREATED",
|
|
430
439
|
FAILED: "FAILED",
|
|
431
440
|
PENDING: "PENDING",
|
|
432
441
|
PROVISIONING: "PROVISIONING",
|
|
@@ -1792,7 +1801,9 @@ var de_App = /* @__PURE__ */ __name((output, context) => {
|
|
|
1792
1801
|
repository: import_smithy_client.expectString,
|
|
1793
1802
|
repositoryCloneMethod: import_smithy_client.expectString,
|
|
1794
1803
|
tags: import_smithy_client._json,
|
|
1795
|
-
updateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1804
|
+
updateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1805
|
+
wafConfiguration: import_smithy_client._json,
|
|
1806
|
+
webhookCreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1796
1807
|
});
|
|
1797
1808
|
}, "de_App");
|
|
1798
1809
|
var de_Apps = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2569,6 +2580,7 @@ var paginateListJobs = (0, import_core.createPaginator)(AmplifyClient, ListJobsC
|
|
|
2569
2580
|
CacheConfigType,
|
|
2570
2581
|
Platform,
|
|
2571
2582
|
RepositoryCloneMethod,
|
|
2583
|
+
WafStatus,
|
|
2572
2584
|
DependentServiceFailureException,
|
|
2573
2585
|
InternalFailureException,
|
|
2574
2586
|
LimitExceededException,
|
|
@@ -33,6 +33,13 @@ export const RepositoryCloneMethod = {
|
|
|
33
33
|
SSH: "SSH",
|
|
34
34
|
TOKEN: "TOKEN",
|
|
35
35
|
};
|
|
36
|
+
export const WafStatus = {
|
|
37
|
+
ASSOCIATING: "ASSOCIATING",
|
|
38
|
+
ASSOCIATION_FAILED: "ASSOCIATION_FAILED",
|
|
39
|
+
ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS",
|
|
40
|
+
DISASSOCIATING: "DISASSOCIATING",
|
|
41
|
+
DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED",
|
|
42
|
+
};
|
|
36
43
|
export class DependentServiceFailureException extends __BaseException {
|
|
37
44
|
constructor(opts) {
|
|
38
45
|
super({
|
|
@@ -131,6 +138,7 @@ export const SourceUrlType = {
|
|
|
131
138
|
export const JobStatus = {
|
|
132
139
|
CANCELLED: "CANCELLED",
|
|
133
140
|
CANCELLING: "CANCELLING",
|
|
141
|
+
CREATED: "CREATED",
|
|
134
142
|
FAILED: "FAILED",
|
|
135
143
|
PENDING: "PENDING",
|
|
136
144
|
PROVISIONING: "PROVISIONING",
|
|
@@ -1224,6 +1224,8 @@ const de_App = (output, context) => {
|
|
|
1224
1224
|
repositoryCloneMethod: __expectString,
|
|
1225
1225
|
tags: _json,
|
|
1226
1226
|
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1227
|
+
wafConfiguration: _json,
|
|
1228
|
+
webhookCreateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1227
1229
|
});
|
|
1228
1230
|
};
|
|
1229
1231
|
const de_Apps = (output, context) => {
|
|
@@ -146,6 +146,12 @@ declare const CreateAppCommand_base: {
|
|
|
146
146
|
* // cacheConfig: { // CacheConfig
|
|
147
147
|
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
|
|
148
148
|
* // },
|
|
149
|
+
* // webhookCreateTime: new Date("TIMESTAMP"),
|
|
150
|
+
* // wafConfiguration: { // WafConfiguration
|
|
151
|
+
* // webAclArn: "STRING_VALUE",
|
|
152
|
+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
153
|
+
* // statusReason: "STRING_VALUE",
|
|
154
|
+
* // },
|
|
149
155
|
* // },
|
|
150
156
|
* // };
|
|
151
157
|
*
|
|
@@ -99,6 +99,12 @@ declare const DeleteAppCommand_base: {
|
|
|
99
99
|
* // cacheConfig: { // CacheConfig
|
|
100
100
|
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
|
|
101
101
|
* // },
|
|
102
|
+
* // webhookCreateTime: new Date("TIMESTAMP"),
|
|
103
|
+
* // wafConfiguration: { // WafConfiguration
|
|
104
|
+
* // webAclArn: "STRING_VALUE",
|
|
105
|
+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
106
|
+
* // statusReason: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
102
108
|
* // },
|
|
103
109
|
* // };
|
|
104
110
|
*
|
|
@@ -49,7 +49,7 @@ declare const DeleteJobCommand_base: {
|
|
|
49
49
|
* // commitMessage: "STRING_VALUE", // required
|
|
50
50
|
* // commitTime: new Date("TIMESTAMP"), // required
|
|
51
51
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
52
|
-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
52
|
+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
53
53
|
* // endTime: new Date("TIMESTAMP"),
|
|
54
54
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
55
55
|
* // sourceUrl: "STRING_VALUE",
|
|
@@ -99,6 +99,12 @@ declare const GetAppCommand_base: {
|
|
|
99
99
|
* // cacheConfig: { // CacheConfig
|
|
100
100
|
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
|
|
101
101
|
* // },
|
|
102
|
+
* // webhookCreateTime: new Date("TIMESTAMP"),
|
|
103
|
+
* // wafConfiguration: { // WafConfiguration
|
|
104
|
+
* // webAclArn: "STRING_VALUE",
|
|
105
|
+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
106
|
+
* // statusReason: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
102
108
|
* // },
|
|
103
109
|
* // };
|
|
104
110
|
*
|
|
@@ -50,7 +50,7 @@ declare const GetJobCommand_base: {
|
|
|
50
50
|
* // commitMessage: "STRING_VALUE", // required
|
|
51
51
|
* // commitTime: new Date("TIMESTAMP"), // required
|
|
52
52
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
53
|
-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
53
|
+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
54
54
|
* // endTime: new Date("TIMESTAMP"),
|
|
55
55
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
56
56
|
* // sourceUrl: "STRING_VALUE",
|
|
@@ -60,7 +60,7 @@ declare const GetJobCommand_base: {
|
|
|
60
60
|
* // { // Step
|
|
61
61
|
* // stepName: "STRING_VALUE", // required
|
|
62
62
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
63
|
-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
63
|
+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
64
64
|
* // endTime: new Date("TIMESTAMP"), // required
|
|
65
65
|
* // logUrl: "STRING_VALUE",
|
|
66
66
|
* // artifactsUrl: "STRING_VALUE",
|
|
@@ -101,6 +101,12 @@ declare const ListAppsCommand_base: {
|
|
|
101
101
|
* // cacheConfig: { // CacheConfig
|
|
102
102
|
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
|
|
103
103
|
* // },
|
|
104
|
+
* // webhookCreateTime: new Date("TIMESTAMP"),
|
|
105
|
+
* // wafConfiguration: { // WafConfiguration
|
|
106
|
+
* // webAclArn: "STRING_VALUE",
|
|
107
|
+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
108
|
+
* // statusReason: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
104
110
|
* // },
|
|
105
111
|
* // ],
|
|
106
112
|
* // nextToken: "STRING_VALUE",
|
|
@@ -51,7 +51,7 @@ declare const ListJobsCommand_base: {
|
|
|
51
51
|
* // commitMessage: "STRING_VALUE", // required
|
|
52
52
|
* // commitTime: new Date("TIMESTAMP"), // required
|
|
53
53
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
54
|
-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
54
|
+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
55
55
|
* // endTime: new Date("TIMESTAMP"),
|
|
56
56
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
57
57
|
* // sourceUrl: "STRING_VALUE",
|
|
@@ -56,7 +56,7 @@ declare const StartDeploymentCommand_base: {
|
|
|
56
56
|
* // commitMessage: "STRING_VALUE", // required
|
|
57
57
|
* // commitTime: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
59
|
-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
59
|
+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
60
60
|
* // endTime: new Date("TIMESTAMP"),
|
|
61
61
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
62
62
|
* // sourceUrl: "STRING_VALUE",
|
|
@@ -54,7 +54,7 @@ declare const StartJobCommand_base: {
|
|
|
54
54
|
* // commitMessage: "STRING_VALUE", // required
|
|
55
55
|
* // commitTime: new Date("TIMESTAMP"), // required
|
|
56
56
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
57
|
-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
57
|
+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
58
58
|
* // endTime: new Date("TIMESTAMP"),
|
|
59
59
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
60
60
|
* // sourceUrl: "STRING_VALUE",
|
|
@@ -49,7 +49,7 @@ declare const StopJobCommand_base: {
|
|
|
49
49
|
* // commitMessage: "STRING_VALUE", // required
|
|
50
50
|
* // commitTime: new Date("TIMESTAMP"), // required
|
|
51
51
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
52
|
-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
52
|
+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
53
53
|
* // endTime: new Date("TIMESTAMP"),
|
|
54
54
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
55
55
|
* // sourceUrl: "STRING_VALUE",
|
|
@@ -144,6 +144,12 @@ declare const UpdateAppCommand_base: {
|
|
|
144
144
|
* // cacheConfig: { // CacheConfig
|
|
145
145
|
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
|
|
146
146
|
* // },
|
|
147
|
+
* // webhookCreateTime: new Date("TIMESTAMP"),
|
|
148
|
+
* // wafConfiguration: { // WafConfiguration
|
|
149
|
+
* // webAclArn: "STRING_VALUE",
|
|
150
|
+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
|
|
151
|
+
* // statusReason: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
147
153
|
* // },
|
|
148
154
|
* // };
|
|
149
155
|
*
|
|
@@ -363,6 +363,46 @@ export declare const RepositoryCloneMethod: {
|
|
|
363
363
|
* @public
|
|
364
364
|
*/
|
|
365
365
|
export type RepositoryCloneMethod = (typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
* @enum
|
|
369
|
+
*/
|
|
370
|
+
export declare const WafStatus: {
|
|
371
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
372
|
+
readonly ASSOCIATION_FAILED: "ASSOCIATION_FAILED";
|
|
373
|
+
readonly ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS";
|
|
374
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
375
|
+
readonly DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED";
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
export type WafStatus = (typeof WafStatus)[keyof typeof WafStatus];
|
|
381
|
+
/**
|
|
382
|
+
* <p>Describes the Firewall configuration for a hosted Amplify application.
|
|
383
|
+
* Firewall support enables you to protect your web applications with a direct integration
|
|
384
|
+
* with WAF. For more information about using WAF protections for an Amplify application, see
|
|
385
|
+
* <a href="https://docs.aws.amazon.com/amplify/latest/userguide/WAF-integration.html">Firewall support for hosted sites</a> in the <i>Amplify
|
|
386
|
+
* User Guide</i>. </p>
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
export interface WafConfiguration {
|
|
390
|
+
/**
|
|
391
|
+
* <p>The Amazon Resource Name (ARN) for the web ACL associated with an Amplify app.</p>
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
webAclArn?: string | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* <p>The status of the process to associate or disassociate a web ACL to an Amplify app.</p>
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
wafStatus?: WafStatus | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* <p>The reason for the current status of the Firewall configuration.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
statusReason?: string | undefined;
|
|
405
|
+
}
|
|
366
406
|
/**
|
|
367
407
|
* <p>Represents the different branches of a repository for building, deploying, and hosting
|
|
368
408
|
* an Amplify app. </p>
|
|
@@ -410,12 +450,12 @@ export interface App {
|
|
|
410
450
|
*/
|
|
411
451
|
platform: Platform | undefined;
|
|
412
452
|
/**
|
|
413
|
-
* <p>
|
|
453
|
+
* <p>A timestamp of when Amplify created the application.</p>
|
|
414
454
|
* @public
|
|
415
455
|
*/
|
|
416
456
|
createTime: Date | undefined;
|
|
417
457
|
/**
|
|
418
|
-
* <p>
|
|
458
|
+
* <p>A timestamp of when Amplify updated the application.</p>
|
|
419
459
|
* @public
|
|
420
460
|
*/
|
|
421
461
|
updateTime: Date | undefined;
|
|
@@ -516,6 +556,17 @@ export interface App {
|
|
|
516
556
|
* @public
|
|
517
557
|
*/
|
|
518
558
|
cacheConfig?: CacheConfig | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* <p>A timestamp of when Amplify created the webhook in your Git repository.</p>
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
webhookCreateTime?: Date | undefined;
|
|
564
|
+
/**
|
|
565
|
+
* <p>Describes the Firewall configuration for the Amplify app. Firewall support enables you to protect your hosted applications with a direct integration
|
|
566
|
+
* with WAF.</p>
|
|
567
|
+
* @public
|
|
568
|
+
*/
|
|
569
|
+
wafConfiguration?: WafConfiguration | undefined;
|
|
519
570
|
}
|
|
520
571
|
/**
|
|
521
572
|
* @public
|
|
@@ -837,12 +888,12 @@ export interface Branch {
|
|
|
837
888
|
*/
|
|
838
889
|
enableNotification: boolean | undefined;
|
|
839
890
|
/**
|
|
840
|
-
* <p>
|
|
891
|
+
* <p>A timestamp of when Amplify created the branch.</p>
|
|
841
892
|
* @public
|
|
842
893
|
*/
|
|
843
894
|
createTime: Date | undefined;
|
|
844
895
|
/**
|
|
845
|
-
* <p>
|
|
896
|
+
* <p>A timestamp for the last updated time for a branch.</p>
|
|
846
897
|
* @public
|
|
847
898
|
*/
|
|
848
899
|
updateTime: Date | undefined;
|
|
@@ -1382,12 +1433,12 @@ export interface Webhook {
|
|
|
1382
1433
|
*/
|
|
1383
1434
|
description: string | undefined;
|
|
1384
1435
|
/**
|
|
1385
|
-
* <p>
|
|
1436
|
+
* <p>A timestamp of when Amplify created the webhook in your Git repository.</p>
|
|
1386
1437
|
* @public
|
|
1387
1438
|
*/
|
|
1388
1439
|
createTime: Date | undefined;
|
|
1389
1440
|
/**
|
|
1390
|
-
* <p>
|
|
1441
|
+
* <p>A timestamp of when Amplify updated the webhook in your Git repository.</p>
|
|
1391
1442
|
* @public
|
|
1392
1443
|
*/
|
|
1393
1444
|
updateTime: Date | undefined;
|
|
@@ -1560,6 +1611,7 @@ export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
|
1560
1611
|
export declare const JobStatus: {
|
|
1561
1612
|
readonly CANCELLED: "CANCELLED";
|
|
1562
1613
|
readonly CANCELLING: "CANCELLING";
|
|
1614
|
+
readonly CREATED: "CREATED";
|
|
1563
1615
|
readonly FAILED: "FAILED";
|
|
1564
1616
|
readonly PENDING: "PENDING";
|
|
1565
1617
|
readonly PROVISIONING: "PROVISIONING";
|
|
@@ -1596,7 +1648,7 @@ export interface JobSummary {
|
|
|
1596
1648
|
*/
|
|
1597
1649
|
commitMessage: string | undefined;
|
|
1598
1650
|
/**
|
|
1599
|
-
* <p>
|
|
1651
|
+
* <p>The commit date and time for the job. </p>
|
|
1600
1652
|
* @public
|
|
1601
1653
|
*/
|
|
1602
1654
|
commitTime: Date | undefined;
|
|
@@ -83,6 +83,19 @@ export declare const RepositoryCloneMethod: {
|
|
|
83
83
|
};
|
|
84
84
|
export type RepositoryCloneMethod =
|
|
85
85
|
(typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
86
|
+
export declare const WafStatus: {
|
|
87
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
88
|
+
readonly ASSOCIATION_FAILED: "ASSOCIATION_FAILED";
|
|
89
|
+
readonly ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS";
|
|
90
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
91
|
+
readonly DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED";
|
|
92
|
+
};
|
|
93
|
+
export type WafStatus = (typeof WafStatus)[keyof typeof WafStatus];
|
|
94
|
+
export interface WafConfiguration {
|
|
95
|
+
webAclArn?: string | undefined;
|
|
96
|
+
wafStatus?: WafStatus | undefined;
|
|
97
|
+
statusReason?: string | undefined;
|
|
98
|
+
}
|
|
86
99
|
export interface App {
|
|
87
100
|
appId: string | undefined;
|
|
88
101
|
appArn: string | undefined;
|
|
@@ -109,6 +122,8 @@ export interface App {
|
|
|
109
122
|
autoBranchCreationConfig?: AutoBranchCreationConfig | undefined;
|
|
110
123
|
repositoryCloneMethod?: RepositoryCloneMethod | undefined;
|
|
111
124
|
cacheConfig?: CacheConfig | undefined;
|
|
125
|
+
webhookCreateTime?: Date | undefined;
|
|
126
|
+
wafConfiguration?: WafConfiguration | undefined;
|
|
112
127
|
}
|
|
113
128
|
export interface CreateAppResult {
|
|
114
129
|
app: App | undefined;
|
|
@@ -369,6 +384,7 @@ export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
|
369
384
|
export declare const JobStatus: {
|
|
370
385
|
readonly CANCELLED: "CANCELLED";
|
|
371
386
|
readonly CANCELLING: "CANCELLING";
|
|
387
|
+
readonly CREATED: "CREATED";
|
|
372
388
|
readonly FAILED: "FAILED";
|
|
373
389
|
readonly PENDING: "PENDING";
|
|
374
390
|
readonly PROVISIONING: "PROVISIONING";
|
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.715.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",
|