Skip to content

Commit be98eba

Browse files
author
awstools
committed
feat(client-amplify): Added WAF Configuration to Amplify Apps
1 parent 4e1a96b commit be98eba

File tree

14 files changed

+206
-21
lines changed

14 files changed

+206
-21
lines changed

clients/client-amplify/src/commands/CreateAppCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
152152
* // cacheConfig: { // CacheConfig
153153
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
154154
* // },
155+
* // webhookCreateTime: new Date("TIMESTAMP"),
156+
* // wafConfiguration: { // WafConfiguration
157+
* // webAclArn: "STRING_VALUE",
158+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
159+
* // statusReason: "STRING_VALUE",
160+
* // },
155161
* // },
156162
* // };
157163
*

clients/client-amplify/src/commands/DeleteAppCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
100100
* // cacheConfig: { // CacheConfig
101101
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
102102
* // },
103+
* // webhookCreateTime: new Date("TIMESTAMP"),
104+
* // wafConfiguration: { // WafConfiguration
105+
* // webAclArn: "STRING_VALUE",
106+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
107+
* // statusReason: "STRING_VALUE",
108+
* // },
103109
* // },
104110
* // };
105111
*

clients/client-amplify/src/commands/DeleteJobCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface DeleteJobCommandOutput extends DeleteJobResult, __MetadataBeare
5050
* // commitMessage: "STRING_VALUE", // required
5151
* // commitTime: new Date("TIMESTAMP"), // required
5252
* // 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
5454
* // endTime: new Date("TIMESTAMP"),
5555
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
5656
* // sourceUrl: "STRING_VALUE",

clients/client-amplify/src/commands/GetAppCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ export interface GetAppCommandOutput extends GetAppResult, __MetadataBearer {}
100100
* // cacheConfig: { // CacheConfig
101101
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
102102
* // },
103+
* // webhookCreateTime: new Date("TIMESTAMP"),
104+
* // wafConfiguration: { // WafConfiguration
105+
* // webAclArn: "STRING_VALUE",
106+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
107+
* // statusReason: "STRING_VALUE",
108+
* // },
103109
* // },
104110
* // };
105111
*

clients/client-amplify/src/commands/GetJobCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface GetJobCommandOutput extends GetJobResult, __MetadataBearer {}
5151
* // commitMessage: "STRING_VALUE", // required
5252
* // commitTime: new Date("TIMESTAMP"), // required
5353
* // 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
5555
* // endTime: new Date("TIMESTAMP"),
5656
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
5757
* // sourceUrl: "STRING_VALUE",
@@ -61,7 +61,7 @@ export interface GetJobCommandOutput extends GetJobResult, __MetadataBearer {}
6161
* // { // Step
6262
* // stepName: "STRING_VALUE", // required
6363
* // startTime: new Date("TIMESTAMP"), // required
64-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
64+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
6565
* // endTime: new Date("TIMESTAMP"), // required
6666
* // logUrl: "STRING_VALUE",
6767
* // artifactsUrl: "STRING_VALUE",

clients/client-amplify/src/commands/ListAppsCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ export interface ListAppsCommandOutput extends ListAppsResult, __MetadataBearer
102102
* // cacheConfig: { // CacheConfig
103103
* // type: "AMPLIFY_MANAGED" || "AMPLIFY_MANAGED_NO_COOKIES", // required
104104
* // },
105+
* // webhookCreateTime: new Date("TIMESTAMP"),
106+
* // wafConfiguration: { // WafConfiguration
107+
* // webAclArn: "STRING_VALUE",
108+
* // wafStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ASSOCIATION_SUCCESS" || "DISASSOCIATING" || "DISASSOCIATION_FAILED",
109+
* // statusReason: "STRING_VALUE",
110+
* // },
105111
* // },
106112
* // ],
107113
* // nextToken: "STRING_VALUE",

clients/client-amplify/src/commands/ListJobsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
5252
* // commitMessage: "STRING_VALUE", // required
5353
* // commitTime: new Date("TIMESTAMP"), // required
5454
* // startTime: new Date("TIMESTAMP"), // required
55-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
55+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
5656
* // endTime: new Date("TIMESTAMP"),
5757
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
5858
* // sourceUrl: "STRING_VALUE",

clients/client-amplify/src/commands/StartDeploymentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface StartDeploymentCommandOutput extends StartDeploymentResult, __M
5757
* // commitMessage: "STRING_VALUE", // required
5858
* // commitTime: new Date("TIMESTAMP"), // required
5959
* // startTime: new Date("TIMESTAMP"), // required
60-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
60+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
6161
* // endTime: new Date("TIMESTAMP"),
6262
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
6363
* // sourceUrl: "STRING_VALUE",

clients/client-amplify/src/commands/StartJobCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface StartJobCommandOutput extends StartJobResult, __MetadataBearer
5555
* // commitMessage: "STRING_VALUE", // required
5656
* // commitTime: new Date("TIMESTAMP"), // required
5757
* // startTime: new Date("TIMESTAMP"), // required
58-
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
58+
* // status: "CREATED" || "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
5959
* // endTime: new Date("TIMESTAMP"),
6060
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
6161
* // sourceUrl: "STRING_VALUE",

clients/client-amplify/src/commands/StopJobCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface StopJobCommandOutput extends StopJobResult, __MetadataBearer {}
5050
* // commitMessage: "STRING_VALUE", // required
5151
* // commitTime: new Date("TIMESTAMP"), // required
5252
* // 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
5454
* // endTime: new Date("TIMESTAMP"),
5555
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
5656
* // sourceUrl: "STRING_VALUE",

0 commit comments

Comments
 (0)