Skip to content

Commit 51129ad

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 8b417d2 commit 51129ad

File tree

5 files changed

+184
-24
lines changed

5 files changed

+184
-24
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::CodeGuruReviewer - Updated the API, and documentation for Amazon CodeGuru Reviewer.
5+
6+
* Feature - Aws::SecurityHub - Updated the API, and documentation for AWS SecurityHub.
7+
48
2.11.576 (2020-08-31)
59
------------------
610

aws-sdk-core/apis/codeguru-reviewer/2019-09-19/api-2.json

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,23 @@
2929
{"shape":"ThrottlingException"}
3030
]
3131
},
32+
"CreateCodeReview":{
33+
"name":"CreateCodeReview",
34+
"http":{
35+
"method":"POST",
36+
"requestUri":"/codereviews"
37+
},
38+
"input":{"shape":"CreateCodeReviewRequest"},
39+
"output":{"shape":"CreateCodeReviewResponse"},
40+
"errors":[
41+
{"shape":"ResourceNotFoundException"},
42+
{"shape":"InternalServerException"},
43+
{"shape":"ValidationException"},
44+
{"shape":"ConflictException"},
45+
{"shape":"AccessDeniedException"},
46+
{"shape":"ThrottlingException"}
47+
]
48+
},
3249
"DescribeCodeReview":{
3350
"name":"DescribeCodeReview",
3451
"http":{
@@ -209,6 +226,11 @@
209226
"max":64,
210227
"min":1
211228
},
229+
"BranchName":{
230+
"type":"string",
231+
"max":256,
232+
"min":1
233+
},
212234
"ClientRequestToken":{
213235
"type":"string",
214236
"max":64,
@@ -240,6 +262,12 @@
240262
"Metrics":{"shape":"Metrics"}
241263
}
242264
},
265+
"CodeReviewName":{
266+
"type":"string",
267+
"max":100,
268+
"min":1,
269+
"pattern":"[a-zA-Z0-9-_]*"
270+
},
243271
"CodeReviewSummaries":{
244272
"type":"list",
245273
"member":{"shape":"CodeReviewSummary"}
@@ -260,6 +288,13 @@
260288
"MetricsSummary":{"shape":"MetricsSummary"}
261289
}
262290
},
291+
"CodeReviewType":{
292+
"type":"structure",
293+
"required":["RepositoryAnalysis"],
294+
"members":{
295+
"RepositoryAnalysis":{"shape":"RepositoryAnalysis"}
296+
}
297+
},
263298
"CommitDiffSourceCodeType":{
264299
"type":"structure",
265300
"members":{
@@ -286,6 +321,29 @@
286321
"min":0,
287322
"pattern":"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+"
288323
},
324+
"CreateCodeReviewRequest":{
325+
"type":"structure",
326+
"required":[
327+
"Name",
328+
"RepositoryAssociationArn",
329+
"Type"
330+
],
331+
"members":{
332+
"Name":{"shape":"CodeReviewName"},
333+
"RepositoryAssociationArn":{"shape":"Arn"},
334+
"Type":{"shape":"CodeReviewType"},
335+
"ClientRequestToken":{
336+
"shape":"ClientRequestToken",
337+
"idempotencyToken":true
338+
}
339+
}
340+
},
341+
"CreateCodeReviewResponse":{
342+
"type":"structure",
343+
"members":{
344+
"CodeReview":{"shape":"CodeReview"}
345+
}
346+
},
289347
"DescribeCodeReviewRequest":{
290348
"type":"structure",
291349
"required":["CodeReviewArn"],
@@ -719,6 +777,13 @@
719777
"GitHubEnterpriseServer":{"shape":"ThirdPartySourceRepository"}
720778
}
721779
},
780+
"RepositoryAnalysis":{
781+
"type":"structure",
782+
"required":["RepositoryHead"],
783+
"members":{
784+
"RepositoryHead":{"shape":"RepositoryHeadSourceCodeType"}
785+
}
786+
},
722787
"RepositoryAssociation":{
723788
"type":"structure",
724789
"members":{
@@ -766,6 +831,13 @@
766831
"State":{"shape":"RepositoryAssociationState"}
767832
}
768833
},
834+
"RepositoryHeadSourceCodeType":{
835+
"type":"structure",
836+
"required":["BranchName"],
837+
"members":{
838+
"BranchName":{"shape":"BranchName"}
839+
}
840+
},
769841
"RepositoryNames":{
770842
"type":"list",
771843
"member":{"shape":"Name"},
@@ -783,7 +855,8 @@
783855
"SourceCodeType":{
784856
"type":"structure",
785857
"members":{
786-
"CommitDiff":{"shape":"CommitDiffSourceCodeType"}
858+
"CommitDiff":{"shape":"CommitDiffSourceCodeType"},
859+
"RepositoryHead":{"shape":"RepositoryHeadSourceCodeType"}
787860
}
788861
},
789862
"StateReason":{
@@ -820,7 +893,10 @@
820893
"TimeStamp":{"type":"timestamp"},
821894
"Type":{
822895
"type":"string",
823-
"enum":["PullRequest"]
896+
"enum":[
897+
"PullRequest",
898+
"RepositoryAnalysis"
899+
]
824900
},
825901
"UserId":{
826902
"type":"string",

0 commit comments

Comments
 (0)