Skip to content

Commit 9ff881b

Browse files
author
AWS
committed
AWS Amplify Update: This doc-only update identifies fields that are specific to Gen 1 and Gen 2 applications.
1 parent 5d1f217 commit 9ff881b

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Amplify",
4+
"contributor": "",
5+
"description": "This doc-only update identifies fields that are specific to Gen 1 and Gen 2 applications."
6+
}

services/amplify/src/main/resources/codegen-resources/service-2.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{"shape":"InternalFailureException"},
4747
{"shape":"LimitExceededException"}
4848
],
49-
"documentation":"<p>Creates a new backend environment for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to applications created using the Amplify Gen 2 public preview. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
49+
"documentation":"<p>Creates a new backend environment for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
5050
},
5151
"CreateBranch":{
5252
"name":"CreateBranch",
@@ -150,7 +150,7 @@
150150
{"shape":"InternalFailureException"},
151151
{"shape":"DependentServiceFailureException"}
152152
],
153-
"documentation":"<p>Deletes a backend environment for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend was created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to applications created using the Amplify Gen 2 public preview. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
153+
"documentation":"<p>Deletes a backend environment for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
154154
},
155155
"DeleteBranch":{
156156
"name":"DeleteBranch",
@@ -283,7 +283,7 @@
283283
{"shape":"NotFoundException"},
284284
{"shape":"InternalFailureException"}
285285
],
286-
"documentation":"<p>Returns a backend environment for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend was created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to applications created using the Amplify Gen 2 public preview. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
286+
"documentation":"<p>Returns a backend environment for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
287287
},
288288
"GetBranch":{
289289
"name":"GetBranch",
@@ -395,7 +395,7 @@
395395
{"shape":"UnauthorizedException"},
396396
{"shape":"InternalFailureException"}
397397
],
398-
"documentation":"<p>Lists the backend environments for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend was created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to applications created using the Amplify Gen 2 public preview. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
398+
"documentation":"<p>Lists the backend environments for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
399399
},
400400
"ListBranches":{
401401
"name":"ListBranches",
@@ -892,7 +892,7 @@
892892
"documentation":"<p>The Amazon Resource Name (ARN) for the CloudFormation stack.</p>"
893893
}
894894
},
895-
"documentation":"<p>Describes the backend properties associated with an Amplify <code>Branch</code>.</p>"
895+
"documentation":"<p>Describes the backend associated with an Amplify <code>Branch</code>.</p> <p>This property is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
896896
},
897897
"BackendEnvironment":{
898898
"type":"structure",
@@ -928,7 +928,7 @@
928928
"documentation":"<p>The last updated date and time for a backend environment that is part of an Amplify app. </p>"
929929
}
930930
},
931-
"documentation":"<p>Describes the backend environment for an Amplify app. </p>"
931+
"documentation":"<p>Describes the backend environment associated with a <code>Branch</code> of a Gen 1 Amplify app. Amplify Gen 1 applications are created using Amplify Studio or the Amplify command line interface (CLI).</p>"
932932
},
933933
"BackendEnvironmentArn":{
934934
"type":"string",
@@ -1083,7 +1083,7 @@
10831083
},
10841084
"backendEnvironmentArn":{
10851085
"shape":"BackendEnvironmentArn",
1086-
"documentation":"<p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p>"
1086+
"documentation":"<p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p> <p>This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
10871087
},
10881088
"backend":{"shape":"Backend"}
10891089
},
@@ -1391,11 +1391,11 @@
13911391
},
13921392
"backendEnvironmentArn":{
13931393
"shape":"BackendEnvironmentArn",
1394-
"documentation":"<p>The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p>"
1394+
"documentation":"<p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1 Amplify app. </p> <p>This field is available to Amplify Gen 1 apps only where the backend is created using Amplify Studio or the Amplify command line interface (CLI).</p>"
13951395
},
13961396
"backend":{
13971397
"shape":"Backend",
1398-
"documentation":"<p>The backend for a <code>Branch</code> of an Amplify app. Use for a backend created from an CloudFormation stack.</p>"
1398+
"documentation":"<p>The backend for a <code>Branch</code> of an Amplify app. Use for a backend created from an CloudFormation stack.</p> <p>This field is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
13991399
}
14001400
},
14011401
"documentation":"<p> The request structure for the create branch request. </p>"
@@ -3367,11 +3367,11 @@
33673367
},
33683368
"backendEnvironmentArn":{
33693369
"shape":"BackendEnvironmentArn",
3370-
"documentation":"<p>The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p>"
3370+
"documentation":"<p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1 Amplify app. </p> <p>This field is available to Amplify Gen 1 apps only where the backend is created using Amplify Studio or the Amplify command line interface (CLI).</p>"
33713371
},
33723372
"backend":{
33733373
"shape":"Backend",
3374-
"documentation":"<p>The backend for a <code>Branch</code> of an Amplify app. Use for a backend created from an CloudFormation stack.</p>"
3374+
"documentation":"<p>The backend for a <code>Branch</code> of an Amplify app. Use for a backend created from an CloudFormation stack.</p> <p>This field is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>"
33753375
}
33763376
},
33773377
"documentation":"<p>The request structure for the update branch request. </p>"

0 commit comments

Comments
 (0)