Skip to content

Commit 3f8909d

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent e3c589f commit 3f8909d

File tree

4 files changed

+280
-57
lines changed

4 files changed

+280
-57
lines changed

codegen/sdk-codegen/aws-models/amplify.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@
14361436
}
14371437
},
14381438
"traits": {
1439-
"smithy.api#documentation": "<p>Describes the backend properties associated with an Amplify\n <code>Branch</code>.</p>"
1439+
"smithy.api#documentation": "<p>Describes the backend associated with an Amplify\n <code>Branch</code>.</p>\n <p>This property is available to Amplify Gen 2 apps only. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>"
14401440
}
14411441
},
14421442
"com.amazonaws.amplify#BackendEnvironment": {
@@ -1484,7 +1484,7 @@
14841484
}
14851485
},
14861486
"traits": {
1487-
"smithy.api#documentation": "<p>Describes the backend environment for an Amplify app. </p>"
1487+
"smithy.api#documentation": "<p>Describes the backend environment associated with a <code>Branch</code> of a Gen 1\n Amplify app. Amplify Gen 1 applications are created\n using Amplify Studio or the Amplify command line\n interface (CLI).</p>"
14881488
}
14891489
},
14901490
"com.amazonaws.amplify#BackendEnvironmentArn": {
@@ -1706,7 +1706,7 @@
17061706
"backendEnvironmentArn": {
17071707
"target": "com.amazonaws.amplify#BackendEnvironmentArn",
17081708
"traits": {
1709-
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app. </p>"
1709+
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p>\n <p>This property is available to Amplify Gen 1 apps only. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>"
17101710
}
17111711
},
17121712
"backend": {
@@ -2082,7 +2082,7 @@
20822082
}
20832083
],
20842084
"traits": {
2085-
"smithy.api#documentation": "<p>Creates a new backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
2085+
"smithy.api#documentation": "<p>Creates a new backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. \n When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
20862086
"smithy.api#http": {
20872087
"method": "POST",
20882088
"uri": "/apps/{appId}/backendenvironments",
@@ -2290,13 +2290,13 @@
22902290
"backendEnvironmentArn": {
22912291
"target": "com.amazonaws.amplify#BackendEnvironmentArn",
22922292
"traits": {
2293-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app. </p>"
2293+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1 Amplify\n app. </p>\n <p>This field is available to Amplify Gen 1 apps only where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI).</p>"
22942294
}
22952295
},
22962296
"backend": {
22972297
"target": "com.amazonaws.amplify#Backend",
22982298
"traits": {
2299-
"smithy.api#documentation": "<p>The backend for a <code>Branch</code> of an Amplify app. Use for a\n backend created from an CloudFormation stack.</p>"
2299+
"smithy.api#documentation": "<p>The backend for a <code>Branch</code> of an Amplify app. Use for a\n backend created from an CloudFormation stack.</p>\n <p>This field is available to Amplify Gen 2 apps only. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>"
23002300
}
23012301
}
23022302
},
@@ -2787,7 +2787,7 @@
27872787
}
27882788
],
27892789
"traits": {
2790-
"smithy.api#documentation": "<p>Deletes a backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend was created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
2790+
"smithy.api#documentation": "<p>Deletes a backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. \n When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
27912791
"smithy.api#http": {
27922792
"method": "DELETE",
27932793
"uri": "/apps/{appId}/backendenvironments/{environmentName}",
@@ -3719,7 +3719,7 @@
37193719
}
37203720
],
37213721
"traits": {
3722-
"smithy.api#documentation": "<p>Returns a backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend was created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
3722+
"smithy.api#documentation": "<p>Returns a backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. \n When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
37233723
"smithy.api#http": {
37243724
"method": "GET",
37253725
"uri": "/apps/{appId}/backendenvironments/{environmentName}",
@@ -4497,7 +4497,7 @@
44974497
}
44984498
],
44994499
"traits": {
4500-
"smithy.api#documentation": "<p>Lists the backend environments for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend was created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
4500+
"smithy.api#documentation": "<p>Lists the backend environments for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. \n When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
45014501
"smithy.api#http": {
45024502
"method": "GET",
45034503
"uri": "/apps/{appId}/backendenvironments",
@@ -6324,13 +6324,13 @@
63246324
"backendEnvironmentArn": {
63256325
"target": "com.amazonaws.amplify#BackendEnvironmentArn",
63266326
"traits": {
6327-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app. </p>"
6327+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1 Amplify\n app. </p>\n <p>This field is available to Amplify Gen 1 apps only where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI).</p>"
63286328
}
63296329
},
63306330
"backend": {
63316331
"target": "com.amazonaws.amplify#Backend",
63326332
"traits": {
6333-
"smithy.api#documentation": "<p>The backend for a <code>Branch</code> of an Amplify app. Use for a\n backend created from an CloudFormation stack.</p>"
6333+
"smithy.api#documentation": "<p>The backend for a <code>Branch</code> of an Amplify app. Use for a\n backend created from an CloudFormation stack.</p>\n <p>This field is available to Amplify Gen 2 apps only. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>"
63346334
}
63356335
}
63366336
},

codegen/sdk-codegen/aws-models/batch.json

+105-1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
{
7373
"target": "com.amazonaws.batch#DescribeSchedulingPolicies"
7474
},
75+
{
76+
"target": "com.amazonaws.batch#GetJobQueueSnapshot"
77+
},
7578
{
7679
"target": "com.amazonaws.batch#ListJobs"
7780
},
@@ -4843,6 +4846,107 @@
48434846
"com.amazonaws.batch#Float": {
48444847
"type": "float"
48454848
},
4849+
"com.amazonaws.batch#FrontOfQueueDetail": {
4850+
"type": "structure",
4851+
"members": {
4852+
"jobs": {
4853+
"target": "com.amazonaws.batch#FrontOfQueueJobSummaryList",
4854+
"traits": {
4855+
"smithy.api#documentation": "<p>The Amazon Resource Names (ARNs) of the first 100 <code>RUNNABLE</code> jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.</p>"
4856+
}
4857+
},
4858+
"lastUpdatedAt": {
4859+
"target": "com.amazonaws.batch#Long",
4860+
"traits": {
4861+
"smithy.api#documentation": "<p>The Unix timestamp (in milliseconds) for when each of the first 100 <code>RUNNABLE</code> jobs were last updated. </p>"
4862+
}
4863+
}
4864+
},
4865+
"traits": {
4866+
"smithy.api#documentation": "<p>Contains a list of the first 100 <code>RUNNABLE</code> jobs associated to a single job queue.</p>"
4867+
}
4868+
},
4869+
"com.amazonaws.batch#FrontOfQueueJobSummary": {
4870+
"type": "structure",
4871+
"members": {
4872+
"jobArn": {
4873+
"target": "com.amazonaws.batch#String",
4874+
"traits": {
4875+
"smithy.api#documentation": "<p>The ARN for a job in a named job queue.</p>"
4876+
}
4877+
},
4878+
"earliestTimeAtPosition": {
4879+
"target": "com.amazonaws.batch#Long",
4880+
"traits": {
4881+
"smithy.api#documentation": "<p>The Unix timestamp (in milliseconds) for when the job transitioned to its current position in the job queue.</p>"
4882+
}
4883+
}
4884+
},
4885+
"traits": {
4886+
"smithy.api#documentation": "<p>An object that represents summary details for the first 100 <code>RUNNABLE</code> jobs in a job queue.</p>"
4887+
}
4888+
},
4889+
"com.amazonaws.batch#FrontOfQueueJobSummaryList": {
4890+
"type": "list",
4891+
"member": {
4892+
"target": "com.amazonaws.batch#FrontOfQueueJobSummary"
4893+
}
4894+
},
4895+
"com.amazonaws.batch#GetJobQueueSnapshot": {
4896+
"type": "operation",
4897+
"input": {
4898+
"target": "com.amazonaws.batch#GetJobQueueSnapshotRequest"
4899+
},
4900+
"output": {
4901+
"target": "com.amazonaws.batch#GetJobQueueSnapshotResponse"
4902+
},
4903+
"errors": [
4904+
{
4905+
"target": "com.amazonaws.batch#ClientException"
4906+
},
4907+
{
4908+
"target": "com.amazonaws.batch#ServerException"
4909+
}
4910+
],
4911+
"traits": {
4912+
"smithy.api#documentation": "<p>Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a single job queue.</p>",
4913+
"smithy.api#http": {
4914+
"method": "POST",
4915+
"uri": "/v1/getjobqueuesnapshot",
4916+
"code": 200
4917+
}
4918+
}
4919+
},
4920+
"com.amazonaws.batch#GetJobQueueSnapshotRequest": {
4921+
"type": "structure",
4922+
"members": {
4923+
"jobQueue": {
4924+
"target": "com.amazonaws.batch#String",
4925+
"traits": {
4926+
"smithy.api#clientOptional": {},
4927+
"smithy.api#documentation": "<p>The job queue’s name or full queue Amazon Resource Name (ARN).</p>",
4928+
"smithy.api#required": {}
4929+
}
4930+
}
4931+
},
4932+
"traits": {
4933+
"smithy.api#input": {}
4934+
}
4935+
},
4936+
"com.amazonaws.batch#GetJobQueueSnapshotResponse": {
4937+
"type": "structure",
4938+
"members": {
4939+
"frontOfQueue": {
4940+
"target": "com.amazonaws.batch#FrontOfQueueDetail",
4941+
"traits": {
4942+
"smithy.api#documentation": "<p>The list of the first 100 <code>RUNNABLE</code> jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.</p>"
4943+
}
4944+
}
4945+
},
4946+
"traits": {
4947+
"smithy.api#output": {}
4948+
}
4949+
},
48464950
"com.amazonaws.batch#Host": {
48474951
"type": "structure",
48484952
"members": {
@@ -5880,7 +5984,7 @@
58805984
"maxResults": {
58815985
"target": "com.amazonaws.batch#Integer",
58825986
"traits": {
5883-
"smithy.api#documentation": "<p>The maximum number of results returned by <code>ListJobs</code> in paginated output. When\n this parameter is used, <code>ListJobs</code> only returns <code>maxResults</code> results in\n a single page and a <code>nextToken</code> response element. The remaining results of the\n initial request can be seen by sending another <code>ListJobs</code> request with the returned\n <code>nextToken</code> value. This value can be between 1 and\n 100. If this parameter isn't used, then <code>ListJobs</code> returns up to\n 100 results and a <code>nextToken</code> value if applicable.</p>"
5987+
"smithy.api#documentation": "<p>The maximum number of results returned by <code>ListJobs</code> in a paginated output. When this parameter is used, <code>ListJobs</code> returns up to <code>maxResults</code> results in a single page and a <code>nextToken</code> response element, if applicable. The remaining results of the initial request can be seen by sending another <code>ListJobs</code> request with the returned <code>nextToken</code> value.</p>\n <p>The following outlines key parameters and limitations:</p>\n <ul>\n <li>\n <p>The minimum value is 1. </p>\n </li>\n <li>\n <p>When <code>--job-status</code> is used, Batch returns up to 1000 values. </p>\n </li>\n <li>\n <p>When <code>--filters</code> is used, Batch returns up to 100 values.</p>\n </li>\n <li>\n <p>If neither parameter is used, then <code>ListJobs</code> returns up to\n 1000 results (jobs that are in the <code>RUNNING</code> status) and a <code>nextToken</code> value, if applicable.</p>\n </li>\n </ul>"
58845988
}
58855989
},
58865990
"nextToken": {

0 commit comments

Comments
 (0)