Skip to content

Commit 79e934d

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 803e8ac commit 79e934d

File tree

5 files changed

+317
-19
lines changed

5 files changed

+317
-19
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::Amplify - Updated the API, and documentation for AWS Amplify.
5+
6+
* Feature - Aws::ECS - Updated the API, and documentation for Amazon EC2 Container Service.
7+
48
2.11.362 (2019-09-26)
59
------------------
610

aws-sdk-core/apis/amplify/2017-07-25/api-2.json

Lines changed: 196 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,21 @@
175175
{"shape":"LimitExceededException"}
176176
]
177177
},
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+
},
178193
"GetApp":{
179194
"name":"GetApp",
180195
"http":{
@@ -190,6 +205,22 @@
190205
{"shape":"InternalFailureException"}
191206
]
192207
},
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+
},
193224
"GetBranch":{
194225
"name":"GetBranch",
195226
"http":{
@@ -266,6 +297,21 @@
266297
{"shape":"InternalFailureException"}
267298
]
268299
},
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+
},
269315
"ListBranches":{
270316
"name":"ListBranches",
271317
"http":{
@@ -541,6 +587,37 @@
541587
"type":"list",
542588
"member":{"shape":"App"}
543589
},
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+
},
544621
"ArtifactsUrl":{
545622
"type":"string",
546623
"max":1000
@@ -563,7 +640,8 @@
563640
"environmentVariables":{"shape":"EnvironmentVariables"},
564641
"basicAuthCredentials":{"shape":"BasicAuthCredentials"},
565642
"enableBasicAuth":{"shape":"EnableBasicAuth"},
566-
"buildSpec":{"shape":"BuildSpec"}
643+
"buildSpec":{"shape":"BuildSpec"},
644+
"enablePullRequestPreview":{"shape":"EnablePullRequestPreview"}
567645
}
568646
},
569647
"AutoBranchCreationPattern":{
@@ -605,7 +683,8 @@
605683
"activeJobId",
606684
"totalNumberOfJobs",
607685
"enableBasicAuth",
608-
"ttl"
686+
"ttl",
687+
"enablePullRequestPreview"
609688
],
610689
"members":{
611690
"branchArn":{"shape":"BranchArn"},
@@ -628,7 +707,10 @@
628707
"basicAuthCredentials":{"shape":"BasicAuthCredentials"},
629708
"buildSpec":{"shape":"BuildSpec"},
630709
"ttl":{"shape":"TTL"},
631-
"associatedResources":{"shape":"AssociatedResources"}
710+
"associatedResources":{"shape":"AssociatedResources"},
711+
"enablePullRequestPreview":{"shape":"EnablePullRequestPreview"},
712+
"destinationBranch":{"shape":"BranchName"},
713+
"sourceBranch":{"shape":"BranchName"}
632714
}
633715
},
634716
"BranchArn":{
@@ -724,7 +806,8 @@
724806
"tags":{"shape":"TagMap"},
725807
"buildSpec":{"shape":"BuildSpec"},
726808
"ttl":{"shape":"TTL"},
727-
"displayName":{"shape":"DisplayName"}
809+
"displayName":{"shape":"DisplayName"},
810+
"enablePullRequestPreview":{"shape":"EnablePullRequestPreview"}
728811
}
729812
},
730813
"CreateBranchResult":{
@@ -1042,6 +1125,7 @@
10421125
"EnableBasicAuth":{"type":"boolean"},
10431126
"EnableBranchAutoBuild":{"type":"boolean"},
10441127
"EnableNotification":{"type":"boolean"},
1128+
"EnablePullRequestPreview":{"type":"boolean"},
10451129
"EndTime":{"type":"timestamp"},
10461130
"EnvKey":{
10471131
"type":"string",
@@ -1078,6 +1162,29 @@
10781162
"type":"string",
10791163
"max":255
10801164
},
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+
},
10811188
"GetAppRequest":{
10821189
"type":"structure",
10831190
"required":["appId"],
@@ -1096,6 +1203,28 @@
10961203
"app":{"shape":"App"}
10971204
}
10981205
},
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+
},
10991228
"GetBranchRequest":{
11001229
"type":"structure",
11011230
"required":[
@@ -1312,6 +1441,50 @@
13121441
"nextToken":{"shape":"NextToken"}
13131442
}
13141443
},
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+
},
13151488
"ListBranchesRequest":{
13161489
"type":"structure",
13171490
"required":["appId"],
@@ -1546,7 +1719,8 @@
15461719
"PRODUCTION",
15471720
"BETA",
15481721
"DEVELOPMENT",
1549-
"EXPERIMENTAL"
1722+
"EXPERIMENTAL",
1723+
"PULL_REQUEST"
15501724
]
15511725
},
15521726
"StartDeploymentRequest":{
@@ -1613,7 +1787,7 @@
16131787
"StartTime":{"type":"timestamp"},
16141788
"Status":{
16151789
"type":"string",
1616-
"max":3,
1790+
"max":7,
16171791
"min":3
16181792
},
16191793
"StatusReason":{
@@ -1635,6 +1809,8 @@
16351809
"endTime":{"shape":"EndTime"},
16361810
"logUrl":{"shape":"LogUrl"},
16371811
"artifactsUrl":{"shape":"ArtifactsUrl"},
1812+
"testArtifactsUrl":{"shape":"TestArtifactsUrl"},
1813+
"testConfigUrl":{"shape":"TestConfigUrl"},
16381814
"screenshots":{"shape":"Screenshots"},
16391815
"statusReason":{"shape":"StatusReason"},
16401816
"context":{"shape":"Context"}
@@ -1763,6 +1939,14 @@
17631939
"max":2048,
17641940
"min":1
17651941
},
1942+
"TestArtifactsUrl":{
1943+
"type":"string",
1944+
"max":1000
1945+
},
1946+
"TestConfigUrl":{
1947+
"type":"string",
1948+
"max":1000
1949+
},
17661950
"ThumbnailName":{
17671951
"type":"string",
17681952
"max":256
@@ -1829,7 +2013,10 @@
18292013
"buildSpec":{"shape":"BuildSpec"},
18302014
"enableAutoBranchCreation":{"shape":"EnableAutoBranchCreation"},
18312015
"autoBranchCreationPatterns":{"shape":"AutoBranchCreationPatterns"},
1832-
"autoBranchCreationConfig":{"shape":"AutoBranchCreationConfig"}
2016+
"autoBranchCreationConfig":{"shape":"AutoBranchCreationConfig"},
2017+
"repository":{"shape":"Repository"},
2018+
"oauthToken":{"shape":"OauthToken"},
2019+
"accessToken":{"shape":"AccessToken"}
18332020
}
18342021
},
18352022
"UpdateAppResult":{
@@ -1866,7 +2053,8 @@
18662053
"enableBasicAuth":{"shape":"EnableBasicAuth"},
18672054
"buildSpec":{"shape":"BuildSpec"},
18682055
"ttl":{"shape":"TTL"},
1869-
"displayName":{"shape":"DisplayName"}
2056+
"displayName":{"shape":"DisplayName"},
2057+
"enablePullRequestPreview":{"shape":"EnablePullRequestPreview"}
18702058
}
18712059
},
18722060
"UpdateBranchResult":{

0 commit comments

Comments
 (0)