|
81 | 81 | {"shape":"InternalFailureException"},
|
82 | 82 | {"shape":"LimitExceededException"}
|
83 | 83 | ],
|
84 |
| - "documentation":"<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>" |
| 84 | + "documentation":"<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>" |
85 | 85 | },
|
86 | 86 | "CreateDomainAssociation":{
|
87 | 87 | "name":"CreateDomainAssociation",
|
|
490 | 490 | {"shape":"NotFoundException"},
|
491 | 491 | {"shape":"LimitExceededException"}
|
492 | 492 | ],
|
493 |
| - "documentation":"<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>" |
| 493 | + "documentation":"<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>" |
494 | 494 | },
|
495 | 495 | "StartJob":{
|
496 | 496 | "name":"StartJob",
|
|
2326 | 2326 | },
|
2327 | 2327 | "jobType":{
|
2328 | 2328 | "shape":"JobType",
|
2329 |
| - "documentation":"<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>" |
| 2329 | + "documentation":"<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>" |
| 2330 | + }, |
| 2331 | + "sourceUrl":{ |
| 2332 | + "shape":"SourceUrl", |
| 2333 | + "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 downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>" |
| 2334 | + }, |
| 2335 | + "sourceUrlType":{ |
| 2336 | + "shape":"SourceUrlType", |
| 2337 | + "documentation":"<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>" |
2330 | 2338 | }
|
2331 | 2339 | },
|
2332 | 2340 | "documentation":"<p> Describes the summary for an execution job for an Amplify app. </p>"
|
|
2811 | 2819 | "SourceUrl":{
|
2812 | 2820 | "type":"string",
|
2813 | 2821 | "max":3000,
|
2814 |
| - "pattern":"(?s).*" |
| 2822 | + "pattern":"^(s3|https|http)://.*" |
| 2823 | + }, |
| 2824 | + "SourceUrlType":{ |
| 2825 | + "type":"string", |
| 2826 | + "enum":[ |
| 2827 | + "ZIP", |
| 2828 | + "BUCKET_PREFIX" |
| 2829 | + ] |
2815 | 2830 | },
|
2816 | 2831 | "StackArn":{
|
2817 | 2832 | "type":"string",
|
|
2850 | 2865 | },
|
2851 | 2866 | "branchName":{
|
2852 | 2867 | "shape":"BranchName",
|
2853 |
| - "documentation":"<p>The name of the branch to use for the job. </p>", |
| 2868 | + "documentation":"<p>The name of the branch to use for the deployment job. </p>", |
2854 | 2869 | "location":"uri",
|
2855 | 2870 | "locationName":"branchName"
|
2856 | 2871 | },
|
2857 | 2872 | "jobId":{
|
2858 | 2873 | "shape":"JobId",
|
2859 |
| - "documentation":"<p>The job ID for this deployment, generated by the create deployment request. </p>" |
| 2874 | + "documentation":"<p>The job ID for this deployment that is generated by the <code>CreateDeployment</code> request. </p>" |
2860 | 2875 | },
|
2861 | 2876 | "sourceUrl":{
|
2862 | 2877 | "shape":"SourceUrl",
|
2863 |
| - "documentation":"<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>" |
| 2878 | + "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 downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>" |
| 2879 | + }, |
| 2880 | + "sourceUrlType":{ |
| 2881 | + "shape":"SourceUrlType", |
| 2882 | + "documentation":"<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>" |
2864 | 2883 | }
|
2865 | 2884 | },
|
2866 | 2885 | "documentation":"<p>The request structure for the start a deployment request. </p>"
|
|
0 commit comments