Skip to content

Commit

Permalink
Updated service API models for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Sep 1, 2020
1 parent 8b417d2 commit 51129ad
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Unreleased Changes
------------------

* Feature - Aws::CodeGuruReviewer - Updated the API, and documentation for Amazon CodeGuru Reviewer.

* Feature - Aws::SecurityHub - Updated the API, and documentation for AWS SecurityHub.

2.11.576 (2020-08-31)
------------------

Expand Down
80 changes: 78 additions & 2 deletions aws-sdk-core/apis/codeguru-reviewer/2019-09-19/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@
{"shape":"ThrottlingException"}
]
},
"CreateCodeReview":{
"name":"CreateCodeReview",
"http":{
"method":"POST",
"requestUri":"/codereviews"
},
"input":{"shape":"CreateCodeReviewRequest"},
"output":{"shape":"CreateCodeReviewResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InternalServerException"},
{"shape":"ValidationException"},
{"shape":"ConflictException"},
{"shape":"AccessDeniedException"},
{"shape":"ThrottlingException"}
]
},
"DescribeCodeReview":{
"name":"DescribeCodeReview",
"http":{
Expand Down Expand Up @@ -209,6 +226,11 @@
"max":64,
"min":1
},
"BranchName":{
"type":"string",
"max":256,
"min":1
},
"ClientRequestToken":{
"type":"string",
"max":64,
Expand Down Expand Up @@ -240,6 +262,12 @@
"Metrics":{"shape":"Metrics"}
}
},
"CodeReviewName":{
"type":"string",
"max":100,
"min":1,
"pattern":"[a-zA-Z0-9-_]*"
},
"CodeReviewSummaries":{
"type":"list",
"member":{"shape":"CodeReviewSummary"}
Expand All @@ -260,6 +288,13 @@
"MetricsSummary":{"shape":"MetricsSummary"}
}
},
"CodeReviewType":{
"type":"structure",
"required":["RepositoryAnalysis"],
"members":{
"RepositoryAnalysis":{"shape":"RepositoryAnalysis"}
}
},
"CommitDiffSourceCodeType":{
"type":"structure",
"members":{
Expand All @@ -286,6 +321,29 @@
"min":0,
"pattern":"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+"
},
"CreateCodeReviewRequest":{
"type":"structure",
"required":[
"Name",
"RepositoryAssociationArn",
"Type"
],
"members":{
"Name":{"shape":"CodeReviewName"},
"RepositoryAssociationArn":{"shape":"Arn"},
"Type":{"shape":"CodeReviewType"},
"ClientRequestToken":{
"shape":"ClientRequestToken",
"idempotencyToken":true
}
}
},
"CreateCodeReviewResponse":{
"type":"structure",
"members":{
"CodeReview":{"shape":"CodeReview"}
}
},
"DescribeCodeReviewRequest":{
"type":"structure",
"required":["CodeReviewArn"],
Expand Down Expand Up @@ -719,6 +777,13 @@
"GitHubEnterpriseServer":{"shape":"ThirdPartySourceRepository"}
}
},
"RepositoryAnalysis":{
"type":"structure",
"required":["RepositoryHead"],
"members":{
"RepositoryHead":{"shape":"RepositoryHeadSourceCodeType"}
}
},
"RepositoryAssociation":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -766,6 +831,13 @@
"State":{"shape":"RepositoryAssociationState"}
}
},
"RepositoryHeadSourceCodeType":{
"type":"structure",
"required":["BranchName"],
"members":{
"BranchName":{"shape":"BranchName"}
}
},
"RepositoryNames":{
"type":"list",
"member":{"shape":"Name"},
Expand All @@ -783,7 +855,8 @@
"SourceCodeType":{
"type":"structure",
"members":{
"CommitDiff":{"shape":"CommitDiffSourceCodeType"}
"CommitDiff":{"shape":"CommitDiffSourceCodeType"},
"RepositoryHead":{"shape":"RepositoryHeadSourceCodeType"}
}
},
"StateReason":{
Expand Down Expand Up @@ -820,7 +893,10 @@
"TimeStamp":{"type":"timestamp"},
"Type":{
"type":"string",
"enum":["PullRequest"]
"enum":[
"PullRequest",
"RepositoryAnalysis"
]
},
"UserId":{
"type":"string",
Expand Down
Loading

0 comments on commit 51129ad

Please sign in to comment.