|
175 | 175 | {"shape":"LimitExceededException"} |
176 | 176 | ] |
177 | 177 | }, |
| 178 | + "GenerateAccessLogs":{ |
| 179 | + "name":"GenerateAccessLogs", |
| 180 | + "http":{ |
| 181 | + "method":"POST", |
| 182 | + "requestUri":"/apps/{appId}/accesslogs" |
| 183 | + }, |
| 184 | + "input":{"shape":"GenerateAccessLogsRequest"}, |
| 185 | + "output":{"shape":"GenerateAccessLogsResult"}, |
| 186 | + "errors":[ |
| 187 | + {"shape":"NotFoundException"}, |
| 188 | + {"shape":"BadRequestException"}, |
| 189 | + {"shape":"UnauthorizedException"}, |
| 190 | + {"shape":"InternalFailureException"} |
| 191 | + ] |
| 192 | + }, |
178 | 193 | "GetApp":{ |
179 | 194 | "name":"GetApp", |
180 | 195 | "http":{ |
|
190 | 205 | {"shape":"InternalFailureException"} |
191 | 206 | ] |
192 | 207 | }, |
| 208 | + "GetArtifactUrl":{ |
| 209 | + "name":"GetArtifactUrl", |
| 210 | + "http":{ |
| 211 | + "method":"GET", |
| 212 | + "requestUri":"/artifacts/{artifactId}" |
| 213 | + }, |
| 214 | + "input":{"shape":"GetArtifactUrlRequest"}, |
| 215 | + "output":{"shape":"GetArtifactUrlResult"}, |
| 216 | + "errors":[ |
| 217 | + {"shape":"BadRequestException"}, |
| 218 | + {"shape":"UnauthorizedException"}, |
| 219 | + {"shape":"InternalFailureException"}, |
| 220 | + {"shape":"NotFoundException"}, |
| 221 | + {"shape":"LimitExceededException"} |
| 222 | + ] |
| 223 | + }, |
193 | 224 | "GetBranch":{ |
194 | 225 | "name":"GetBranch", |
195 | 226 | "http":{ |
|
266 | 297 | {"shape":"InternalFailureException"} |
267 | 298 | ] |
268 | 299 | }, |
| 300 | + "ListArtifacts":{ |
| 301 | + "name":"ListArtifacts", |
| 302 | + "http":{ |
| 303 | + "method":"GET", |
| 304 | + "requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts" |
| 305 | + }, |
| 306 | + "input":{"shape":"ListArtifactsRequest"}, |
| 307 | + "output":{"shape":"ListArtifactsResult"}, |
| 308 | + "errors":[ |
| 309 | + {"shape":"BadRequestException"}, |
| 310 | + {"shape":"UnauthorizedException"}, |
| 311 | + {"shape":"InternalFailureException"}, |
| 312 | + {"shape":"LimitExceededException"} |
| 313 | + ] |
| 314 | + }, |
269 | 315 | "ListBranches":{ |
270 | 316 | "name":"ListBranches", |
271 | 317 | "http":{ |
|
541 | 587 | "type":"list", |
542 | 588 | "member":{"shape":"App"} |
543 | 589 | }, |
| 590 | + "Artifact":{ |
| 591 | + "type":"structure", |
| 592 | + "required":[ |
| 593 | + "artifactFileName", |
| 594 | + "artifactId" |
| 595 | + ], |
| 596 | + "members":{ |
| 597 | + "artifactFileName":{"shape":"ArtifactFileName"}, |
| 598 | + "artifactId":{"shape":"ArtifactId"} |
| 599 | + } |
| 600 | + }, |
| 601 | + "ArtifactFileName":{ |
| 602 | + "type":"string", |
| 603 | + "max":1000 |
| 604 | + }, |
| 605 | + "ArtifactId":{ |
| 606 | + "type":"string", |
| 607 | + "max":255 |
| 608 | + }, |
| 609 | + "ArtifactType":{ |
| 610 | + "type":"string", |
| 611 | + "enum":["TEST"] |
| 612 | + }, |
| 613 | + "ArtifactUrl":{ |
| 614 | + "type":"string", |
| 615 | + "max":1000 |
| 616 | + }, |
| 617 | + "Artifacts":{ |
| 618 | + "type":"list", |
| 619 | + "member":{"shape":"Artifact"} |
| 620 | + }, |
544 | 621 | "ArtifactsUrl":{ |
545 | 622 | "type":"string", |
546 | 623 | "max":1000 |
|
563 | 640 | "environmentVariables":{"shape":"EnvironmentVariables"}, |
564 | 641 | "basicAuthCredentials":{"shape":"BasicAuthCredentials"}, |
565 | 642 | "enableBasicAuth":{"shape":"EnableBasicAuth"}, |
566 | | - "buildSpec":{"shape":"BuildSpec"} |
| 643 | + "buildSpec":{"shape":"BuildSpec"}, |
| 644 | + "enablePullRequestPreview":{"shape":"EnablePullRequestPreview"} |
567 | 645 | } |
568 | 646 | }, |
569 | 647 | "AutoBranchCreationPattern":{ |
|
605 | 683 | "activeJobId", |
606 | 684 | "totalNumberOfJobs", |
607 | 685 | "enableBasicAuth", |
608 | | - "ttl" |
| 686 | + "ttl", |
| 687 | + "enablePullRequestPreview" |
609 | 688 | ], |
610 | 689 | "members":{ |
611 | 690 | "branchArn":{"shape":"BranchArn"}, |
|
628 | 707 | "basicAuthCredentials":{"shape":"BasicAuthCredentials"}, |
629 | 708 | "buildSpec":{"shape":"BuildSpec"}, |
630 | 709 | "ttl":{"shape":"TTL"}, |
631 | | - "associatedResources":{"shape":"AssociatedResources"} |
| 710 | + "associatedResources":{"shape":"AssociatedResources"}, |
| 711 | + "enablePullRequestPreview":{"shape":"EnablePullRequestPreview"}, |
| 712 | + "destinationBranch":{"shape":"BranchName"}, |
| 713 | + "sourceBranch":{"shape":"BranchName"} |
632 | 714 | } |
633 | 715 | }, |
634 | 716 | "BranchArn":{ |
|
724 | 806 | "tags":{"shape":"TagMap"}, |
725 | 807 | "buildSpec":{"shape":"BuildSpec"}, |
726 | 808 | "ttl":{"shape":"TTL"}, |
727 | | - "displayName":{"shape":"DisplayName"} |
| 809 | + "displayName":{"shape":"DisplayName"}, |
| 810 | + "enablePullRequestPreview":{"shape":"EnablePullRequestPreview"} |
728 | 811 | } |
729 | 812 | }, |
730 | 813 | "CreateBranchResult":{ |
|
1042 | 1125 | "EnableBasicAuth":{"type":"boolean"}, |
1043 | 1126 | "EnableBranchAutoBuild":{"type":"boolean"}, |
1044 | 1127 | "EnableNotification":{"type":"boolean"}, |
| 1128 | + "EnablePullRequestPreview":{"type":"boolean"}, |
1045 | 1129 | "EndTime":{"type":"timestamp"}, |
1046 | 1130 | "EnvKey":{ |
1047 | 1131 | "type":"string", |
|
1078 | 1162 | "type":"string", |
1079 | 1163 | "max":255 |
1080 | 1164 | }, |
| 1165 | + "GenerateAccessLogsRequest":{ |
| 1166 | + "type":"structure", |
| 1167 | + "required":[ |
| 1168 | + "domainName", |
| 1169 | + "appId" |
| 1170 | + ], |
| 1171 | + "members":{ |
| 1172 | + "startTime":{"shape":"StartTime"}, |
| 1173 | + "endTime":{"shape":"EndTime"}, |
| 1174 | + "domainName":{"shape":"DomainName"}, |
| 1175 | + "appId":{ |
| 1176 | + "shape":"AppId", |
| 1177 | + "location":"uri", |
| 1178 | + "locationName":"appId" |
| 1179 | + } |
| 1180 | + } |
| 1181 | + }, |
| 1182 | + "GenerateAccessLogsResult":{ |
| 1183 | + "type":"structure", |
| 1184 | + "members":{ |
| 1185 | + "logUrl":{"shape":"LogUrl"} |
| 1186 | + } |
| 1187 | + }, |
1081 | 1188 | "GetAppRequest":{ |
1082 | 1189 | "type":"structure", |
1083 | 1190 | "required":["appId"], |
|
1096 | 1203 | "app":{"shape":"App"} |
1097 | 1204 | } |
1098 | 1205 | }, |
| 1206 | + "GetArtifactUrlRequest":{ |
| 1207 | + "type":"structure", |
| 1208 | + "required":["artifactId"], |
| 1209 | + "members":{ |
| 1210 | + "artifactId":{ |
| 1211 | + "shape":"ArtifactId", |
| 1212 | + "location":"uri", |
| 1213 | + "locationName":"artifactId" |
| 1214 | + } |
| 1215 | + } |
| 1216 | + }, |
| 1217 | + "GetArtifactUrlResult":{ |
| 1218 | + "type":"structure", |
| 1219 | + "required":[ |
| 1220 | + "artifactId", |
| 1221 | + "artifactUrl" |
| 1222 | + ], |
| 1223 | + "members":{ |
| 1224 | + "artifactId":{"shape":"ArtifactId"}, |
| 1225 | + "artifactUrl":{"shape":"ArtifactUrl"} |
| 1226 | + } |
| 1227 | + }, |
1099 | 1228 | "GetBranchRequest":{ |
1100 | 1229 | "type":"structure", |
1101 | 1230 | "required":[ |
|
1312 | 1441 | "nextToken":{"shape":"NextToken"} |
1313 | 1442 | } |
1314 | 1443 | }, |
| 1444 | + "ListArtifactsRequest":{ |
| 1445 | + "type":"structure", |
| 1446 | + "required":[ |
| 1447 | + "appId", |
| 1448 | + "branchName", |
| 1449 | + "jobId" |
| 1450 | + ], |
| 1451 | + "members":{ |
| 1452 | + "appId":{ |
| 1453 | + "shape":"AppId", |
| 1454 | + "location":"uri", |
| 1455 | + "locationName":"appId" |
| 1456 | + }, |
| 1457 | + "branchName":{ |
| 1458 | + "shape":"BranchName", |
| 1459 | + "location":"uri", |
| 1460 | + "locationName":"branchName" |
| 1461 | + }, |
| 1462 | + "jobId":{ |
| 1463 | + "shape":"JobId", |
| 1464 | + "location":"uri", |
| 1465 | + "locationName":"jobId" |
| 1466 | + }, |
| 1467 | + "artifactType":{"shape":"ArtifactType"}, |
| 1468 | + "nextToken":{ |
| 1469 | + "shape":"NextToken", |
| 1470 | + "location":"querystring", |
| 1471 | + "locationName":"nextToken" |
| 1472 | + }, |
| 1473 | + "maxResults":{ |
| 1474 | + "shape":"MaxResults", |
| 1475 | + "location":"querystring", |
| 1476 | + "locationName":"maxResults" |
| 1477 | + } |
| 1478 | + } |
| 1479 | + }, |
| 1480 | + "ListArtifactsResult":{ |
| 1481 | + "type":"structure", |
| 1482 | + "required":["artifacts"], |
| 1483 | + "members":{ |
| 1484 | + "artifacts":{"shape":"Artifacts"}, |
| 1485 | + "nextToken":{"shape":"NextToken"} |
| 1486 | + } |
| 1487 | + }, |
1315 | 1488 | "ListBranchesRequest":{ |
1316 | 1489 | "type":"structure", |
1317 | 1490 | "required":["appId"], |
|
1546 | 1719 | "PRODUCTION", |
1547 | 1720 | "BETA", |
1548 | 1721 | "DEVELOPMENT", |
1549 | | - "EXPERIMENTAL" |
| 1722 | + "EXPERIMENTAL", |
| 1723 | + "PULL_REQUEST" |
1550 | 1724 | ] |
1551 | 1725 | }, |
1552 | 1726 | "StartDeploymentRequest":{ |
|
1613 | 1787 | "StartTime":{"type":"timestamp"}, |
1614 | 1788 | "Status":{ |
1615 | 1789 | "type":"string", |
1616 | | - "max":3, |
| 1790 | + "max":7, |
1617 | 1791 | "min":3 |
1618 | 1792 | }, |
1619 | 1793 | "StatusReason":{ |
|
1635 | 1809 | "endTime":{"shape":"EndTime"}, |
1636 | 1810 | "logUrl":{"shape":"LogUrl"}, |
1637 | 1811 | "artifactsUrl":{"shape":"ArtifactsUrl"}, |
| 1812 | + "testArtifactsUrl":{"shape":"TestArtifactsUrl"}, |
| 1813 | + "testConfigUrl":{"shape":"TestConfigUrl"}, |
1638 | 1814 | "screenshots":{"shape":"Screenshots"}, |
1639 | 1815 | "statusReason":{"shape":"StatusReason"}, |
1640 | 1816 | "context":{"shape":"Context"} |
|
1763 | 1939 | "max":2048, |
1764 | 1940 | "min":1 |
1765 | 1941 | }, |
| 1942 | + "TestArtifactsUrl":{ |
| 1943 | + "type":"string", |
| 1944 | + "max":1000 |
| 1945 | + }, |
| 1946 | + "TestConfigUrl":{ |
| 1947 | + "type":"string", |
| 1948 | + "max":1000 |
| 1949 | + }, |
1766 | 1950 | "ThumbnailName":{ |
1767 | 1951 | "type":"string", |
1768 | 1952 | "max":256 |
|
1829 | 2013 | "buildSpec":{"shape":"BuildSpec"}, |
1830 | 2014 | "enableAutoBranchCreation":{"shape":"EnableAutoBranchCreation"}, |
1831 | 2015 | "autoBranchCreationPatterns":{"shape":"AutoBranchCreationPatterns"}, |
1832 | | - "autoBranchCreationConfig":{"shape":"AutoBranchCreationConfig"} |
| 2016 | + "autoBranchCreationConfig":{"shape":"AutoBranchCreationConfig"}, |
| 2017 | + "repository":{"shape":"Repository"}, |
| 2018 | + "oauthToken":{"shape":"OauthToken"}, |
| 2019 | + "accessToken":{"shape":"AccessToken"} |
1833 | 2020 | } |
1834 | 2021 | }, |
1835 | 2022 | "UpdateAppResult":{ |
|
1866 | 2053 | "enableBasicAuth":{"shape":"EnableBasicAuth"}, |
1867 | 2054 | "buildSpec":{"shape":"BuildSpec"}, |
1868 | 2055 | "ttl":{"shape":"TTL"}, |
1869 | | - "displayName":{"shape":"DisplayName"} |
| 2056 | + "displayName":{"shape":"DisplayName"}, |
| 2057 | + "enablePullRequestPreview":{"shape":"EnablePullRequestPreview"} |
1870 | 2058 | } |
1871 | 2059 | }, |
1872 | 2060 | "UpdateBranchResult":{ |
|
0 commit comments