Skip to content

Commit fca692d

Browse files
Updated API models and rebuilt service gems.
1 parent e7acb87 commit fca692d

File tree

106 files changed

+4429
-2233
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+4429
-2233
lines changed

apis/amplify/2017-07-25/api-2.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,9 @@
16931693
"startTime":{"shape":"StartTime"},
16941694
"status":{"shape":"JobStatus"},
16951695
"endTime":{"shape":"EndTime"},
1696-
"jobType":{"shape":"JobType"}
1696+
"jobType":{"shape":"JobType"},
1697+
"sourceUrl":{"shape":"SourceUrl"},
1698+
"sourceUrlType":{"shape":"SourceUrlType"}
16971699
}
16981700
},
16991701
"JobType":{
@@ -2074,7 +2076,14 @@
20742076
"SourceUrl":{
20752077
"type":"string",
20762078
"max":3000,
2077-
"pattern":"(?s).*"
2079+
"pattern":"^(s3|https|http)://.*"
2080+
},
2081+
"SourceUrlType":{
2082+
"type":"string",
2083+
"enum":[
2084+
"ZIP",
2085+
"BUCKET_PREFIX"
2086+
]
20782087
},
20792088
"StackArn":{
20802089
"type":"string",
@@ -2116,7 +2125,8 @@
21162125
"locationName":"branchName"
21172126
},
21182127
"jobId":{"shape":"JobId"},
2119-
"sourceUrl":{"shape":"SourceUrl"}
2128+
"sourceUrl":{"shape":"SourceUrl"},
2129+
"sourceUrlType":{"shape":"SourceUrlType"}
21202130
}
21212131
},
21222132
"StartDeploymentResult":{

apis/amplify/2017-07-25/docs-2.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"CreateApp": "<p>Creates a new Amplify app. </p>",
66
"CreateBackendEnvironment": "<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>",
77
"CreateBranch": "<p> Creates a new branch for an Amplify app. </p>",
8-
"CreateDeployment": "<p>Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository. </p> <p>The maximum duration between the <code>CreateDeployment</code> call and the <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will fail.</p>",
8+
"CreateDeployment": "<p>Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a Git repository. </p> <p>The maximum duration between the <code>CreateDeployment</code> call and the <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will fail.</p>",
99
"CreateDomainAssociation": "<p>Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app </p>",
1010
"CreateWebhook": "<p>Creates a new webhook on an Amplify app. </p>",
1111
"DeleteApp": "<p>Deletes an existing Amplify app specified by an app ID. </p>",
@@ -30,7 +30,7 @@
3030
"ListJobs": "<p> Lists the jobs for a branch of an Amplify app. </p>",
3131
"ListTagsForResource": "<p>Returns a list of tags for a specified Amazon Resource Name (ARN).</p>",
3232
"ListWebhooks": "<p>Returns a list of webhooks for an Amplify app. </p>",
33-
"StartDeployment": "<p>Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository. </p> <p>The maximum duration between the <code>CreateDeployment</code> call and the <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will fail.</p>",
33+
"StartDeployment": "<p>Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a Git repository. </p> <p>The maximum duration between the <code>CreateDeployment</code> call and the <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will fail.</p>",
3434
"StartJob": "<p> Starts a new job for a branch of an Amplify app. </p>",
3535
"StopJob": "<p> Stops a job that is in progress for a branch of an Amplify app. </p>",
3636
"TagResource": "<p>Tags the resource with a tag key and value.</p>",
@@ -285,7 +285,7 @@
285285
"ListArtifactsRequest$branchName": "<p>The name of a branch that is part of an Amplify app. </p>",
286286
"ListJobsRequest$branchName": "<p>The name of the branch to use for the request. </p>",
287287
"ProductionBranch$branchName": "<p>The branch name for the production branch. </p>",
288-
"StartDeploymentRequest$branchName": "<p>The name of the branch to use for the job. </p>",
288+
"StartDeploymentRequest$branchName": "<p>The name of the branch to use for the deployment job. </p>",
289289
"StartJobRequest$branchName": "<p>The name of the branch to use for the job. </p>",
290290
"StopJobRequest$branchName": "<p>The name of the branch to use for the stop job request. </p>",
291291
"SubDomainSetting$branchName": "<p> The branch name setting for the subdomain. </p>",
@@ -919,7 +919,7 @@
919919
"GetJobRequest$jobId": "<p>The unique ID for the job. </p>",
920920
"JobSummary$jobId": "<p> The unique ID for the job. </p>",
921921
"ListArtifactsRequest$jobId": "<p>The unique ID for a job. </p>",
922-
"StartDeploymentRequest$jobId": "<p>The job ID for this deployment, generated by the create deployment request. </p>",
922+
"StartDeploymentRequest$jobId": "<p>The job ID for this deployment that is generated by the <code>CreateDeployment</code> request. </p>",
923923
"StartJobRequest$jobId": "<p>The unique ID for an existing job. This is required if the value of <code>jobType</code> is <code>RETRY</code>. </p>",
924924
"StopJobRequest$jobId": "<p> The unique id for the job. </p>"
925925
}
@@ -957,7 +957,7 @@
957957
"JobType": {
958958
"base": null,
959959
"refs": {
960-
"JobSummary$jobType": "<p> The type for the job. If the value is <code>RELEASE</code>, the job was manually released from its source by using the <code>StartJob</code> API. If the value is <code>RETRY</code>, the job was manually retried using the <code>StartJob</code> API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by webhooks. </p>",
960+
"JobSummary$jobType": "<p> The type for the job. If the value is <code>RELEASE</code>, the job was manually released from its source by using the <code>StartJob</code> API. This value is available only for apps that are connected to a repository.</p> <p>If the value is <code>RETRY</code>, the job was manually retried using the <code>StartJob</code> API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by webhooks. If the value is <code>MANUAL</code>, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.</p>",
961961
"StartJobRequest$jobType": "<p>Describes the type for the job. The job type <code>RELEASE</code> starts a new job with the latest change from the specified branch. This value is available only for apps that are connected to a repository. </p> <p>The job type <code>RETRY</code> retries an existing job. If the job type value is <code>RETRY</code>, the <code>jobId</code> is also required. </p>"
962962
}
963963
},
@@ -1194,7 +1194,15 @@
11941194
"SourceUrl": {
11951195
"base": null,
11961196
"refs": {
1197-
"StartDeploymentRequest$sourceUrl": "<p>The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file. </p>"
1197+
"JobSummary$sourceUrl": "<p>The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>",
1198+
"StartDeploymentRequest$sourceUrl": "<p>The source URL for the deployment that is used when calling <code>StartDeployment</code> without <code>CreateDeployment</code>. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>"
1199+
}
1200+
},
1201+
"SourceUrlType": {
1202+
"base": null,
1203+
"refs": {
1204+
"JobSummary$sourceUrlType": "<p>The type of source specified by the <code>sourceURL</code>. If the value is <code>ZIP</code>, the source is a .zip file. If the value is <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is <code>ZIP</code>.</p>",
1205+
"StartDeploymentRequest$sourceUrlType": "<p>The type of source specified by the <code>sourceURL</code>. If the value is <code>ZIP</code>, the source is a .zip file. If the value is <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is <code>ZIP</code>.</p>"
11981206
}
11991207
},
12001208
"StackArn": {

0 commit comments

Comments
 (0)