Skip to content

Commit 3c35c6e

Browse files
author
awstools
committed
feat(client-amplify): Add ComputeRoleArn to CreateApp, UpdateApp, CreateBranch, and UpdateBranch, allowing caller to specify a role to be assumed by Amplify Hosting for server-side rendered applications.
1 parent e7db4d8 commit 3c35c6e

File tree

13 files changed

+129
-7
lines changed

13 files changed

+129
-7
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
4545
* description: "STRING_VALUE",
4646
* repository: "STRING_VALUE",
4747
* platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE",
48+
* computeRoleArn: "STRING_VALUE",
4849
* iamServiceRoleArn: "STRING_VALUE",
4950
* oauthToken: "STRING_VALUE",
5051
* accessToken: "STRING_VALUE",
@@ -105,6 +106,7 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
105106
* // platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE", // required
106107
* // createTime: new Date("TIMESTAMP"), // required
107108
* // updateTime: new Date("TIMESTAMP"), // required
109+
* // computeRoleArn: "STRING_VALUE",
108110
* // iamServiceRoleArn: "STRING_VALUE",
109111
* // environmentVariables: { // EnvironmentVariables // required
110112
* // "<keys>": "STRING_VALUE",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
6666
* backend: { // Backend
6767
* stackArn: "STRING_VALUE",
6868
* },
69+
* computeRoleArn: "STRING_VALUE",
6970
* };
7071
* const command = new CreateBranchCommand(input);
7172
* const response = await client.send(command);
@@ -109,6 +110,7 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
109110
* // backend: { // Backend
110111
* // stackArn: "STRING_VALUE",
111112
* // },
113+
* // computeRoleArn: "STRING_VALUE",
112114
* // },
113115
* // };
114116
*

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
5353
* // platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE", // required
5454
* // createTime: new Date("TIMESTAMP"), // required
5555
* // updateTime: new Date("TIMESTAMP"), // required
56+
* // computeRoleArn: "STRING_VALUE",
5657
* // iamServiceRoleArn: "STRING_VALUE",
5758
* // environmentVariables: { // EnvironmentVariables // required
5859
* // "<keys>": "STRING_VALUE",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface DeleteBranchCommandOutput extends DeleteBranchResult, __Metadat
8181
* // backend: { // Backend
8282
* // stackArn: "STRING_VALUE",
8383
* // },
84+
* // computeRoleArn: "STRING_VALUE",
8485
* // },
8586
* // };
8687
*

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface GetAppCommandOutput extends GetAppResult, __MetadataBearer {}
5353
* // platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE", // required
5454
* // createTime: new Date("TIMESTAMP"), // required
5555
* // updateTime: new Date("TIMESTAMP"), // required
56+
* // computeRoleArn: "STRING_VALUE",
5657
* // iamServiceRoleArn: "STRING_VALUE",
5758
* // environmentVariables: { // EnvironmentVariables // required
5859
* // "<keys>": "STRING_VALUE",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface GetBranchCommandOutput extends GetBranchResult, __MetadataBeare
8181
* // backend: { // Backend
8282
* // stackArn: "STRING_VALUE",
8383
* // },
84+
* // computeRoleArn: "STRING_VALUE",
8485
* // },
8586
* // };
8687
*

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface ListAppsCommandOutput extends ListAppsResult, __MetadataBearer
5555
* // platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE", // required
5656
* // createTime: new Date("TIMESTAMP"), // required
5757
* // updateTime: new Date("TIMESTAMP"), // required
58+
* // computeRoleArn: "STRING_VALUE",
5859
* // iamServiceRoleArn: "STRING_VALUE",
5960
* // environmentVariables: { // EnvironmentVariables // required
6061
* // "<keys>": "STRING_VALUE",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export interface ListBranchesCommandOutput extends ListBranchesResult, __Metadat
8383
* // backend: { // Backend
8484
* // stackArn: "STRING_VALUE",
8585
* // },
86+
* // computeRoleArn: "STRING_VALUE",
8687
* // },
8788
* // ],
8889
* // nextToken: "STRING_VALUE",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
4545
* name: "STRING_VALUE",
4646
* description: "STRING_VALUE",
4747
* platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE",
48+
* computeRoleArn: "STRING_VALUE",
4849
* iamServiceRoleArn: "STRING_VALUE",
4950
* environmentVariables: { // EnvironmentVariables
5051
* "<keys>": "STRING_VALUE",
@@ -103,6 +104,7 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
103104
* // platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE", // required
104105
* // createTime: new Date("TIMESTAMP"), // required
105106
* // updateTime: new Date("TIMESTAMP"), // required
107+
* // computeRoleArn: "STRING_VALUE",
106108
* // iamServiceRoleArn: "STRING_VALUE",
107109
* // environmentVariables: { // EnvironmentVariables // required
108110
* // "<keys>": "STRING_VALUE",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
6363
* backend: { // Backend
6464
* stackArn: "STRING_VALUE",
6565
* },
66+
* computeRoleArn: "STRING_VALUE",
6667
* };
6768
* const command = new UpdateBranchCommand(input);
6869
* const response = await client.send(command);
@@ -106,6 +107,7 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
106107
* // backend: { // Backend
107108
* // stackArn: "STRING_VALUE",
108109
* // },
110+
* // computeRoleArn: "STRING_VALUE",
109111
* // },
110112
* // };
111113
*

0 commit comments

Comments
 (0)