|
2388 | 2388 | }
|
2389 | 2389 | ],
|
2390 | 2390 | "traits": {
|
2391 |
| - "smithy.api#documentation": "<p>Creates a deployment for a manually deployed Amplify app. Manually deployed apps are\n not connected to a repository. </p>\n <p>The maximum duration between the <code>CreateDeployment</code> call and the\n <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8\n hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will\n fail.</p>", |
| 2391 | + "smithy.api#documentation": "<p>Creates a deployment for a manually deployed Amplify app. Manually deployed apps are\n not connected to a Git repository. </p>\n <p>The maximum duration between the <code>CreateDeployment</code> call and the\n <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8\n hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will\n fail.</p>", |
2392 | 2392 | "smithy.api#http": {
|
2393 | 2393 | "method": "POST",
|
2394 | 2394 | "uri": "/apps/{appId}/branches/{branchName}/deployments",
|
|
4280 | 4280 | "jobType": {
|
4281 | 4281 | "target": "com.amazonaws.amplify#JobType",
|
4282 | 4282 | "traits": {
|
4283 |
| - "smithy.api#documentation": "<p> The type for the job. If the value is <code>RELEASE</code>, the job was manually\n released from its source by using the <code>StartJob</code> API. If the value is\n <code>RETRY</code>, the job was manually retried using the <code>StartJob</code>\n API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by\n webhooks. </p>", |
| 4283 | + "smithy.api#documentation": "<p> The type for the job. If the value is <code>RELEASE</code>, the job was manually\n released from its source by using the <code>StartJob</code> API. This value is available only for apps\n that are connected to a repository.</p>\n <p>If the value is <code>RETRY</code>, the job was manually retried using the <code>StartJob</code>\n API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by\n 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>", |
4284 | 4284 | "smithy.api#required": {}
|
4285 | 4285 | }
|
| 4286 | + }, |
| 4287 | + "sourceUrl": { |
| 4288 | + "target": "com.amazonaws.amplify#SourceUrl", |
| 4289 | + "traits": { |
| 4290 | + "smithy.api#documentation": "<p>The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and\n downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>" |
| 4291 | + } |
| 4292 | + }, |
| 4293 | + "sourceUrlType": { |
| 4294 | + "target": "com.amazonaws.amplify#SourceUrlType", |
| 4295 | + "traits": { |
| 4296 | + "smithy.api#documentation": "<p>The type of source specified by the <code>sourceURL</code>.\n If the value is <code>ZIP</code>, the source is a .zip file.\n If the value is <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and\n prefix. If no value is specified, the default is <code>ZIP</code>.</p>" |
| 4297 | + } |
4286 | 4298 | }
|
4287 | 4299 | },
|
4288 | 4300 | "traits": {
|
|
5279 | 5291 | "min": 0,
|
5280 | 5292 | "max": 3000
|
5281 | 5293 | },
|
5282 |
| - "smithy.api#pattern": "^(?s)" |
| 5294 | + "smithy.api#pattern": "^(s3|https|http)://" |
| 5295 | + } |
| 5296 | + }, |
| 5297 | + "com.amazonaws.amplify#SourceUrlType": { |
| 5298 | + "type": "enum", |
| 5299 | + "members": { |
| 5300 | + "ZIP": { |
| 5301 | + "target": "smithy.api#Unit", |
| 5302 | + "traits": { |
| 5303 | + "smithy.api#enumValue": "ZIP" |
| 5304 | + } |
| 5305 | + }, |
| 5306 | + "BUCKET_PREFIX": { |
| 5307 | + "target": "smithy.api#Unit", |
| 5308 | + "traits": { |
| 5309 | + "smithy.api#enumValue": "BUCKET_PREFIX" |
| 5310 | + } |
| 5311 | + } |
5283 | 5312 | }
|
5284 | 5313 | },
|
5285 | 5314 | "com.amazonaws.amplify#StackArn": {
|
|
5363 | 5392 | }
|
5364 | 5393 | ],
|
5365 | 5394 | "traits": {
|
5366 |
| - "smithy.api#documentation": "<p>Starts a deployment for a manually deployed app. Manually deployed apps are not\n connected to a repository. </p>\n <p>The maximum duration between the <code>CreateDeployment</code> call and the\n <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8\n hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will\n fail.</p>", |
| 5395 | + "smithy.api#documentation": "<p>Starts a deployment for a manually deployed app. Manually deployed apps are not\n connected to a Git repository. </p>\n <p>The maximum duration between the <code>CreateDeployment</code> call and the\n <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8\n hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will\n fail.</p>", |
5367 | 5396 | "smithy.api#http": {
|
5368 | 5397 | "method": "POST",
|
5369 | 5398 | "uri": "/apps/{appId}/branches/{branchName}/deployments/start",
|
|
5385 | 5414 | "branchName": {
|
5386 | 5415 | "target": "com.amazonaws.amplify#BranchName",
|
5387 | 5416 | "traits": {
|
5388 |
| - "smithy.api#documentation": "<p>The name of the branch to use for the job. </p>", |
| 5417 | + "smithy.api#documentation": "<p>The name of the branch to use for the deployment job. </p>", |
5389 | 5418 | "smithy.api#httpLabel": {},
|
5390 | 5419 | "smithy.api#required": {}
|
5391 | 5420 | }
|
5392 | 5421 | },
|
5393 | 5422 | "jobId": {
|
5394 | 5423 | "target": "com.amazonaws.amplify#JobId",
|
5395 | 5424 | "traits": {
|
5396 |
| - "smithy.api#documentation": "<p>The job ID for this deployment, generated by the create deployment request. </p>" |
| 5425 | + "smithy.api#documentation": "<p>The job ID for this deployment that is generated by the <code>CreateDeployment</code> request. </p>" |
5397 | 5426 | }
|
5398 | 5427 | },
|
5399 | 5428 | "sourceUrl": {
|
5400 | 5429 | "target": "com.amazonaws.amplify#SourceUrl",
|
5401 | 5430 | "traits": {
|
5402 |
| - "smithy.api#documentation": "<p>The source URL for this deployment, used when calling start deployment without create\n deployment. The source URL can be any HTTP GET URL that is publicly accessible and\n downloads a single .zip file. </p>" |
| 5431 | + "smithy.api#documentation": "<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\n downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>" |
| 5432 | + } |
| 5433 | + }, |
| 5434 | + "sourceUrlType": { |
| 5435 | + "target": "com.amazonaws.amplify#SourceUrlType", |
| 5436 | + "traits": { |
| 5437 | + "smithy.api#documentation": "<p>The type of source specified by the <code>sourceURL</code>.\n If the value is <code>ZIP</code>, the source is a .zip file.\n If the value is <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and\n prefix. If no value is specified, the default is <code>ZIP</code>.</p>" |
5403 | 5438 | }
|
5404 | 5439 | }
|
5405 | 5440 | },
|
|
0 commit comments