aws-sdk-codecommit 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codecommit.rb +1 -1
- data/lib/aws-sdk-codecommit/client.rb +980 -1
- data/lib/aws-sdk-codecommit/client_api.rb +757 -0
- data/lib/aws-sdk-codecommit/types.rb +1446 -7
- metadata +2 -2
@@ -12,10 +12,13 @@ module Aws::CodeCommit
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
15
|
+
ActorDoesNotExistException = Shapes::StructureShape.new(name: 'ActorDoesNotExistException')
|
15
16
|
AdditionalData = Shapes::StringShape.new(name: 'AdditionalData')
|
16
17
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
|
+
AuthorDoesNotExistException = Shapes::StructureShape.new(name: 'AuthorDoesNotExistException')
|
17
19
|
BatchGetRepositoriesInput = Shapes::StructureShape.new(name: 'BatchGetRepositoriesInput')
|
18
20
|
BatchGetRepositoriesOutput = Shapes::StructureShape.new(name: 'BatchGetRepositoriesOutput')
|
21
|
+
BeforeCommitIdAndAfterCommitIdAreSameException = Shapes::StructureShape.new(name: 'BeforeCommitIdAndAfterCommitIdAreSameException')
|
19
22
|
BlobIdDoesNotExistException = Shapes::StructureShape.new(name: 'BlobIdDoesNotExistException')
|
20
23
|
BlobIdRequiredException = Shapes::StructureShape.new(name: 'BlobIdRequiredException')
|
21
24
|
BlobMetadata = Shapes::StructureShape.new(name: 'BlobMetadata')
|
@@ -26,8 +29,23 @@ module Aws::CodeCommit
|
|
26
29
|
BranchNameList = Shapes::ListShape.new(name: 'BranchNameList')
|
27
30
|
BranchNameRequiredException = Shapes::StructureShape.new(name: 'BranchNameRequiredException')
|
28
31
|
ChangeTypeEnum = Shapes::StringShape.new(name: 'ChangeTypeEnum')
|
32
|
+
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
33
|
+
ClientRequestTokenRequiredException = Shapes::StructureShape.new(name: 'ClientRequestTokenRequiredException')
|
29
34
|
CloneUrlHttp = Shapes::StringShape.new(name: 'CloneUrlHttp')
|
30
35
|
CloneUrlSsh = Shapes::StringShape.new(name: 'CloneUrlSsh')
|
36
|
+
Comment = Shapes::StructureShape.new(name: 'Comment')
|
37
|
+
CommentContentRequiredException = Shapes::StructureShape.new(name: 'CommentContentRequiredException')
|
38
|
+
CommentContentSizeLimitExceededException = Shapes::StructureShape.new(name: 'CommentContentSizeLimitExceededException')
|
39
|
+
CommentDeletedException = Shapes::StructureShape.new(name: 'CommentDeletedException')
|
40
|
+
CommentDoesNotExistException = Shapes::StructureShape.new(name: 'CommentDoesNotExistException')
|
41
|
+
CommentId = Shapes::StringShape.new(name: 'CommentId')
|
42
|
+
CommentIdRequiredException = Shapes::StructureShape.new(name: 'CommentIdRequiredException')
|
43
|
+
CommentNotCreatedByCallerException = Shapes::StructureShape.new(name: 'CommentNotCreatedByCallerException')
|
44
|
+
Comments = Shapes::ListShape.new(name: 'Comments')
|
45
|
+
CommentsForComparedCommit = Shapes::StructureShape.new(name: 'CommentsForComparedCommit')
|
46
|
+
CommentsForComparedCommitData = Shapes::ListShape.new(name: 'CommentsForComparedCommitData')
|
47
|
+
CommentsForPullRequest = Shapes::StructureShape.new(name: 'CommentsForPullRequest')
|
48
|
+
CommentsForPullRequestData = Shapes::ListShape.new(name: 'CommentsForPullRequestData')
|
31
49
|
Commit = Shapes::StructureShape.new(name: 'Commit')
|
32
50
|
CommitDoesNotExistException = Shapes::StructureShape.new(name: 'CommitDoesNotExistException')
|
33
51
|
CommitId = Shapes::StringShape.new(name: 'CommitId')
|
@@ -35,7 +53,10 @@ module Aws::CodeCommit
|
|
35
53
|
CommitIdRequiredException = Shapes::StructureShape.new(name: 'CommitIdRequiredException')
|
36
54
|
CommitName = Shapes::StringShape.new(name: 'CommitName')
|
37
55
|
CommitRequiredException = Shapes::StructureShape.new(name: 'CommitRequiredException')
|
56
|
+
Content = Shapes::StringShape.new(name: 'Content')
|
38
57
|
CreateBranchInput = Shapes::StructureShape.new(name: 'CreateBranchInput')
|
58
|
+
CreatePullRequestInput = Shapes::StructureShape.new(name: 'CreatePullRequestInput')
|
59
|
+
CreatePullRequestOutput = Shapes::StructureShape.new(name: 'CreatePullRequestOutput')
|
39
60
|
CreateRepositoryInput = Shapes::StructureShape.new(name: 'CreateRepositoryInput')
|
40
61
|
CreateRepositoryOutput = Shapes::StructureShape.new(name: 'CreateRepositoryOutput')
|
41
62
|
CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
|
@@ -43,8 +64,13 @@ module Aws::CodeCommit
|
|
43
64
|
DefaultBranchCannotBeDeletedException = Shapes::StructureShape.new(name: 'DefaultBranchCannotBeDeletedException')
|
44
65
|
DeleteBranchInput = Shapes::StructureShape.new(name: 'DeleteBranchInput')
|
45
66
|
DeleteBranchOutput = Shapes::StructureShape.new(name: 'DeleteBranchOutput')
|
67
|
+
DeleteCommentContentInput = Shapes::StructureShape.new(name: 'DeleteCommentContentInput')
|
68
|
+
DeleteCommentContentOutput = Shapes::StructureShape.new(name: 'DeleteCommentContentOutput')
|
46
69
|
DeleteRepositoryInput = Shapes::StructureShape.new(name: 'DeleteRepositoryInput')
|
47
70
|
DeleteRepositoryOutput = Shapes::StructureShape.new(name: 'DeleteRepositoryOutput')
|
71
|
+
DescribePullRequestEventsInput = Shapes::StructureShape.new(name: 'DescribePullRequestEventsInput')
|
72
|
+
DescribePullRequestEventsOutput = Shapes::StructureShape.new(name: 'DescribePullRequestEventsOutput')
|
73
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
48
74
|
Difference = Shapes::StructureShape.new(name: 'Difference')
|
49
75
|
DifferenceList = Shapes::ListShape.new(name: 'DifferenceList')
|
50
76
|
Email = Shapes::StringShape.new(name: 'Email')
|
@@ -53,27 +79,54 @@ module Aws::CodeCommit
|
|
53
79
|
EncryptionKeyDisabledException = Shapes::StructureShape.new(name: 'EncryptionKeyDisabledException')
|
54
80
|
EncryptionKeyNotFoundException = Shapes::StructureShape.new(name: 'EncryptionKeyNotFoundException')
|
55
81
|
EncryptionKeyUnavailableException = Shapes::StructureShape.new(name: 'EncryptionKeyUnavailableException')
|
82
|
+
EventDate = Shapes::TimestampShape.new(name: 'EventDate')
|
56
83
|
FileTooLargeException = Shapes::StructureShape.new(name: 'FileTooLargeException')
|
57
84
|
GetBlobInput = Shapes::StructureShape.new(name: 'GetBlobInput')
|
58
85
|
GetBlobOutput = Shapes::StructureShape.new(name: 'GetBlobOutput')
|
59
86
|
GetBranchInput = Shapes::StructureShape.new(name: 'GetBranchInput')
|
60
87
|
GetBranchOutput = Shapes::StructureShape.new(name: 'GetBranchOutput')
|
88
|
+
GetCommentInput = Shapes::StructureShape.new(name: 'GetCommentInput')
|
89
|
+
GetCommentOutput = Shapes::StructureShape.new(name: 'GetCommentOutput')
|
90
|
+
GetCommentsForComparedCommitInput = Shapes::StructureShape.new(name: 'GetCommentsForComparedCommitInput')
|
91
|
+
GetCommentsForComparedCommitOutput = Shapes::StructureShape.new(name: 'GetCommentsForComparedCommitOutput')
|
92
|
+
GetCommentsForPullRequestInput = Shapes::StructureShape.new(name: 'GetCommentsForPullRequestInput')
|
93
|
+
GetCommentsForPullRequestOutput = Shapes::StructureShape.new(name: 'GetCommentsForPullRequestOutput')
|
61
94
|
GetCommitInput = Shapes::StructureShape.new(name: 'GetCommitInput')
|
62
95
|
GetCommitOutput = Shapes::StructureShape.new(name: 'GetCommitOutput')
|
63
96
|
GetDifferencesInput = Shapes::StructureShape.new(name: 'GetDifferencesInput')
|
64
97
|
GetDifferencesOutput = Shapes::StructureShape.new(name: 'GetDifferencesOutput')
|
98
|
+
GetMergeConflictsInput = Shapes::StructureShape.new(name: 'GetMergeConflictsInput')
|
99
|
+
GetMergeConflictsOutput = Shapes::StructureShape.new(name: 'GetMergeConflictsOutput')
|
100
|
+
GetPullRequestInput = Shapes::StructureShape.new(name: 'GetPullRequestInput')
|
101
|
+
GetPullRequestOutput = Shapes::StructureShape.new(name: 'GetPullRequestOutput')
|
65
102
|
GetRepositoryInput = Shapes::StructureShape.new(name: 'GetRepositoryInput')
|
66
103
|
GetRepositoryOutput = Shapes::StructureShape.new(name: 'GetRepositoryOutput')
|
67
104
|
GetRepositoryTriggersInput = Shapes::StructureShape.new(name: 'GetRepositoryTriggersInput')
|
68
105
|
GetRepositoryTriggersOutput = Shapes::StructureShape.new(name: 'GetRepositoryTriggersOutput')
|
106
|
+
IdempotencyParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotencyParameterMismatchException')
|
107
|
+
InvalidActorArnException = Shapes::StructureShape.new(name: 'InvalidActorArnException')
|
108
|
+
InvalidAuthorArnException = Shapes::StructureShape.new(name: 'InvalidAuthorArnException')
|
69
109
|
InvalidBlobIdException = Shapes::StructureShape.new(name: 'InvalidBlobIdException')
|
70
110
|
InvalidBranchNameException = Shapes::StructureShape.new(name: 'InvalidBranchNameException')
|
111
|
+
InvalidClientRequestTokenException = Shapes::StructureShape.new(name: 'InvalidClientRequestTokenException')
|
112
|
+
InvalidCommentIdException = Shapes::StructureShape.new(name: 'InvalidCommentIdException')
|
71
113
|
InvalidCommitException = Shapes::StructureShape.new(name: 'InvalidCommitException')
|
72
114
|
InvalidCommitIdException = Shapes::StructureShape.new(name: 'InvalidCommitIdException')
|
73
115
|
InvalidContinuationTokenException = Shapes::StructureShape.new(name: 'InvalidContinuationTokenException')
|
116
|
+
InvalidDescriptionException = Shapes::StructureShape.new(name: 'InvalidDescriptionException')
|
117
|
+
InvalidDestinationCommitSpecifierException = Shapes::StructureShape.new(name: 'InvalidDestinationCommitSpecifierException')
|
118
|
+
InvalidFileLocationException = Shapes::StructureShape.new(name: 'InvalidFileLocationException')
|
119
|
+
InvalidFilePositionException = Shapes::StructureShape.new(name: 'InvalidFilePositionException')
|
74
120
|
InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
|
121
|
+
InvalidMergeOptionException = Shapes::StructureShape.new(name: 'InvalidMergeOptionException')
|
75
122
|
InvalidOrderException = Shapes::StructureShape.new(name: 'InvalidOrderException')
|
76
123
|
InvalidPathException = Shapes::StructureShape.new(name: 'InvalidPathException')
|
124
|
+
InvalidPullRequestEventTypeException = Shapes::StructureShape.new(name: 'InvalidPullRequestEventTypeException')
|
125
|
+
InvalidPullRequestIdException = Shapes::StructureShape.new(name: 'InvalidPullRequestIdException')
|
126
|
+
InvalidPullRequestStatusException = Shapes::StructureShape.new(name: 'InvalidPullRequestStatusException')
|
127
|
+
InvalidPullRequestStatusUpdateException = Shapes::StructureShape.new(name: 'InvalidPullRequestStatusUpdateException')
|
128
|
+
InvalidReferenceNameException = Shapes::StructureShape.new(name: 'InvalidReferenceNameException')
|
129
|
+
InvalidRelativeFileVersionEnumException = Shapes::StructureShape.new(name: 'InvalidRelativeFileVersionEnumException')
|
77
130
|
InvalidRepositoryDescriptionException = Shapes::StructureShape.new(name: 'InvalidRepositoryDescriptionException')
|
78
131
|
InvalidRepositoryNameException = Shapes::StructureShape.new(name: 'InvalidRepositoryNameException')
|
79
132
|
InvalidRepositoryTriggerBranchNameException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerBranchNameException')
|
@@ -83,17 +136,36 @@ module Aws::CodeCommit
|
|
83
136
|
InvalidRepositoryTriggerNameException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerNameException')
|
84
137
|
InvalidRepositoryTriggerRegionException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerRegionException')
|
85
138
|
InvalidSortByException = Shapes::StructureShape.new(name: 'InvalidSortByException')
|
139
|
+
InvalidSourceCommitSpecifierException = Shapes::StructureShape.new(name: 'InvalidSourceCommitSpecifierException')
|
140
|
+
InvalidTargetException = Shapes::StructureShape.new(name: 'InvalidTargetException')
|
141
|
+
InvalidTargetsException = Shapes::StructureShape.new(name: 'InvalidTargetsException')
|
142
|
+
InvalidTitleException = Shapes::StructureShape.new(name: 'InvalidTitleException')
|
143
|
+
IsCommentDeleted = Shapes::BooleanShape.new(name: 'IsCommentDeleted')
|
144
|
+
IsMergeable = Shapes::BooleanShape.new(name: 'IsMergeable')
|
145
|
+
IsMerged = Shapes::BooleanShape.new(name: 'IsMerged')
|
86
146
|
LastModifiedDate = Shapes::TimestampShape.new(name: 'LastModifiedDate')
|
87
147
|
Limit = Shapes::IntegerShape.new(name: 'Limit')
|
88
148
|
ListBranchesInput = Shapes::StructureShape.new(name: 'ListBranchesInput')
|
89
149
|
ListBranchesOutput = Shapes::StructureShape.new(name: 'ListBranchesOutput')
|
150
|
+
ListPullRequestsInput = Shapes::StructureShape.new(name: 'ListPullRequestsInput')
|
151
|
+
ListPullRequestsOutput = Shapes::StructureShape.new(name: 'ListPullRequestsOutput')
|
90
152
|
ListRepositoriesInput = Shapes::StructureShape.new(name: 'ListRepositoriesInput')
|
91
153
|
ListRepositoriesOutput = Shapes::StructureShape.new(name: 'ListRepositoriesOutput')
|
154
|
+
Location = Shapes::StructureShape.new(name: 'Location')
|
155
|
+
ManualMergeRequiredException = Shapes::StructureShape.new(name: 'ManualMergeRequiredException')
|
156
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
92
157
|
MaximumBranchesExceededException = Shapes::StructureShape.new(name: 'MaximumBranchesExceededException')
|
158
|
+
MaximumOpenPullRequestsExceededException = Shapes::StructureShape.new(name: 'MaximumOpenPullRequestsExceededException')
|
93
159
|
MaximumRepositoryNamesExceededException = Shapes::StructureShape.new(name: 'MaximumRepositoryNamesExceededException')
|
94
160
|
MaximumRepositoryTriggersExceededException = Shapes::StructureShape.new(name: 'MaximumRepositoryTriggersExceededException')
|
161
|
+
MergeMetadata = Shapes::StructureShape.new(name: 'MergeMetadata')
|
162
|
+
MergeOptionRequiredException = Shapes::StructureShape.new(name: 'MergeOptionRequiredException')
|
163
|
+
MergeOptionTypeEnum = Shapes::StringShape.new(name: 'MergeOptionTypeEnum')
|
164
|
+
MergePullRequestByFastForwardInput = Shapes::StructureShape.new(name: 'MergePullRequestByFastForwardInput')
|
165
|
+
MergePullRequestByFastForwardOutput = Shapes::StructureShape.new(name: 'MergePullRequestByFastForwardOutput')
|
95
166
|
Message = Shapes::StringShape.new(name: 'Message')
|
96
167
|
Mode = Shapes::StringShape.new(name: 'Mode')
|
168
|
+
MultipleRepositoriesInPullRequestException = Shapes::StructureShape.new(name: 'MultipleRepositoriesInPullRequestException')
|
97
169
|
Name = Shapes::StringShape.new(name: 'Name')
|
98
170
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
99
171
|
ObjectId = Shapes::StringShape.new(name: 'ObjectId')
|
@@ -101,8 +173,37 @@ module Aws::CodeCommit
|
|
101
173
|
ParentList = Shapes::ListShape.new(name: 'ParentList')
|
102
174
|
Path = Shapes::StringShape.new(name: 'Path')
|
103
175
|
PathDoesNotExistException = Shapes::StructureShape.new(name: 'PathDoesNotExistException')
|
176
|
+
PathRequiredException = Shapes::StructureShape.new(name: 'PathRequiredException')
|
177
|
+
Position = Shapes::IntegerShape.new(name: 'Position')
|
178
|
+
PostCommentForComparedCommitInput = Shapes::StructureShape.new(name: 'PostCommentForComparedCommitInput')
|
179
|
+
PostCommentForComparedCommitOutput = Shapes::StructureShape.new(name: 'PostCommentForComparedCommitOutput')
|
180
|
+
PostCommentForPullRequestInput = Shapes::StructureShape.new(name: 'PostCommentForPullRequestInput')
|
181
|
+
PostCommentForPullRequestOutput = Shapes::StructureShape.new(name: 'PostCommentForPullRequestOutput')
|
182
|
+
PostCommentReplyInput = Shapes::StructureShape.new(name: 'PostCommentReplyInput')
|
183
|
+
PostCommentReplyOutput = Shapes::StructureShape.new(name: 'PostCommentReplyOutput')
|
184
|
+
PullRequest = Shapes::StructureShape.new(name: 'PullRequest')
|
185
|
+
PullRequestAlreadyClosedException = Shapes::StructureShape.new(name: 'PullRequestAlreadyClosedException')
|
186
|
+
PullRequestDoesNotExistException = Shapes::StructureShape.new(name: 'PullRequestDoesNotExistException')
|
187
|
+
PullRequestEvent = Shapes::StructureShape.new(name: 'PullRequestEvent')
|
188
|
+
PullRequestEventList = Shapes::ListShape.new(name: 'PullRequestEventList')
|
189
|
+
PullRequestEventType = Shapes::StringShape.new(name: 'PullRequestEventType')
|
190
|
+
PullRequestId = Shapes::StringShape.new(name: 'PullRequestId')
|
191
|
+
PullRequestIdList = Shapes::ListShape.new(name: 'PullRequestIdList')
|
192
|
+
PullRequestIdRequiredException = Shapes::StructureShape.new(name: 'PullRequestIdRequiredException')
|
193
|
+
PullRequestMergedStateChangedEventMetadata = Shapes::StructureShape.new(name: 'PullRequestMergedStateChangedEventMetadata')
|
194
|
+
PullRequestSourceReferenceUpdatedEventMetadata = Shapes::StructureShape.new(name: 'PullRequestSourceReferenceUpdatedEventMetadata')
|
195
|
+
PullRequestStatusChangedEventMetadata = Shapes::StructureShape.new(name: 'PullRequestStatusChangedEventMetadata')
|
196
|
+
PullRequestStatusEnum = Shapes::StringShape.new(name: 'PullRequestStatusEnum')
|
197
|
+
PullRequestStatusRequiredException = Shapes::StructureShape.new(name: 'PullRequestStatusRequiredException')
|
198
|
+
PullRequestTarget = Shapes::StructureShape.new(name: 'PullRequestTarget')
|
199
|
+
PullRequestTargetList = Shapes::ListShape.new(name: 'PullRequestTargetList')
|
104
200
|
PutRepositoryTriggersInput = Shapes::StructureShape.new(name: 'PutRepositoryTriggersInput')
|
105
201
|
PutRepositoryTriggersOutput = Shapes::StructureShape.new(name: 'PutRepositoryTriggersOutput')
|
202
|
+
ReferenceDoesNotExistException = Shapes::StructureShape.new(name: 'ReferenceDoesNotExistException')
|
203
|
+
ReferenceName = Shapes::StringShape.new(name: 'ReferenceName')
|
204
|
+
ReferenceNameRequiredException = Shapes::StructureShape.new(name: 'ReferenceNameRequiredException')
|
205
|
+
ReferenceTypeNotSupportedException = Shapes::StructureShape.new(name: 'ReferenceTypeNotSupportedException')
|
206
|
+
RelativeFileVersionEnum = Shapes::StringShape.new(name: 'RelativeFileVersionEnum')
|
106
207
|
RepositoryDescription = Shapes::StringShape.new(name: 'RepositoryDescription')
|
107
208
|
RepositoryDoesNotExistException = Shapes::StructureShape.new(name: 'RepositoryDoesNotExistException')
|
108
209
|
RepositoryId = Shapes::StringShape.new(name: 'RepositoryId')
|
@@ -116,6 +217,7 @@ module Aws::CodeCommit
|
|
116
217
|
RepositoryNameList = Shapes::ListShape.new(name: 'RepositoryNameList')
|
117
218
|
RepositoryNameRequiredException = Shapes::StructureShape.new(name: 'RepositoryNameRequiredException')
|
118
219
|
RepositoryNamesRequiredException = Shapes::StructureShape.new(name: 'RepositoryNamesRequiredException')
|
220
|
+
RepositoryNotAssociatedWithPullRequestException = Shapes::StructureShape.new(name: 'RepositoryNotAssociatedWithPullRequestException')
|
119
221
|
RepositoryNotFoundList = Shapes::ListShape.new(name: 'RepositoryNotFoundList')
|
120
222
|
RepositoryTrigger = Shapes::StructureShape.new(name: 'RepositoryTrigger')
|
121
223
|
RepositoryTriggerBranchNameListRequiredException = Shapes::StructureShape.new(name: 'RepositoryTriggerBranchNameListRequiredException')
|
@@ -134,9 +236,26 @@ module Aws::CodeCommit
|
|
134
236
|
RepositoryTriggersList = Shapes::ListShape.new(name: 'RepositoryTriggersList')
|
135
237
|
RepositoryTriggersListRequiredException = Shapes::StructureShape.new(name: 'RepositoryTriggersListRequiredException')
|
136
238
|
SortByEnum = Shapes::StringShape.new(name: 'SortByEnum')
|
239
|
+
SourceAndDestinationAreSameException = Shapes::StructureShape.new(name: 'SourceAndDestinationAreSameException')
|
240
|
+
Target = Shapes::StructureShape.new(name: 'Target')
|
241
|
+
TargetList = Shapes::ListShape.new(name: 'TargetList')
|
242
|
+
TargetRequiredException = Shapes::StructureShape.new(name: 'TargetRequiredException')
|
243
|
+
TargetsRequiredException = Shapes::StructureShape.new(name: 'TargetsRequiredException')
|
137
244
|
TestRepositoryTriggersInput = Shapes::StructureShape.new(name: 'TestRepositoryTriggersInput')
|
138
245
|
TestRepositoryTriggersOutput = Shapes::StructureShape.new(name: 'TestRepositoryTriggersOutput')
|
246
|
+
TipOfSourceReferenceIsDifferentException = Shapes::StructureShape.new(name: 'TipOfSourceReferenceIsDifferentException')
|
247
|
+
TipsDivergenceExceededException = Shapes::StructureShape.new(name: 'TipsDivergenceExceededException')
|
248
|
+
Title = Shapes::StringShape.new(name: 'Title')
|
249
|
+
TitleRequiredException = Shapes::StructureShape.new(name: 'TitleRequiredException')
|
250
|
+
UpdateCommentInput = Shapes::StructureShape.new(name: 'UpdateCommentInput')
|
251
|
+
UpdateCommentOutput = Shapes::StructureShape.new(name: 'UpdateCommentOutput')
|
139
252
|
UpdateDefaultBranchInput = Shapes::StructureShape.new(name: 'UpdateDefaultBranchInput')
|
253
|
+
UpdatePullRequestDescriptionInput = Shapes::StructureShape.new(name: 'UpdatePullRequestDescriptionInput')
|
254
|
+
UpdatePullRequestDescriptionOutput = Shapes::StructureShape.new(name: 'UpdatePullRequestDescriptionOutput')
|
255
|
+
UpdatePullRequestStatusInput = Shapes::StructureShape.new(name: 'UpdatePullRequestStatusInput')
|
256
|
+
UpdatePullRequestStatusOutput = Shapes::StructureShape.new(name: 'UpdatePullRequestStatusOutput')
|
257
|
+
UpdatePullRequestTitleInput = Shapes::StructureShape.new(name: 'UpdatePullRequestTitleInput')
|
258
|
+
UpdatePullRequestTitleOutput = Shapes::StructureShape.new(name: 'UpdatePullRequestTitleOutput')
|
140
259
|
UpdateRepositoryDescriptionInput = Shapes::StructureShape.new(name: 'UpdateRepositoryDescriptionInput')
|
141
260
|
UpdateRepositoryNameInput = Shapes::StructureShape.new(name: 'UpdateRepositoryNameInput')
|
142
261
|
UserInfo = Shapes::StructureShape.new(name: 'UserInfo')
|
@@ -160,6 +279,41 @@ module Aws::CodeCommit
|
|
160
279
|
|
161
280
|
BranchNameList.member = Shapes::ShapeRef.new(shape: BranchName)
|
162
281
|
|
282
|
+
Comment.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, location_name: "commentId"))
|
283
|
+
Comment.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "content"))
|
284
|
+
Comment.add_member(:in_reply_to, Shapes::ShapeRef.new(shape: CommentId, location_name: "inReplyTo"))
|
285
|
+
Comment.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
|
286
|
+
Comment.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
|
287
|
+
Comment.add_member(:author_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorArn"))
|
288
|
+
Comment.add_member(:deleted, Shapes::ShapeRef.new(shape: IsCommentDeleted, location_name: "deleted"))
|
289
|
+
Comment.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
|
290
|
+
Comment.struct_class = Types::Comment
|
291
|
+
|
292
|
+
Comments.member = Shapes::ShapeRef.new(shape: Comment)
|
293
|
+
|
294
|
+
CommentsForComparedCommit.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
295
|
+
CommentsForComparedCommit.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
296
|
+
CommentsForComparedCommit.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "afterCommitId"))
|
297
|
+
CommentsForComparedCommit.add_member(:before_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "beforeBlobId"))
|
298
|
+
CommentsForComparedCommit.add_member(:after_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "afterBlobId"))
|
299
|
+
CommentsForComparedCommit.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
300
|
+
CommentsForComparedCommit.add_member(:comments, Shapes::ShapeRef.new(shape: Comments, location_name: "comments"))
|
301
|
+
CommentsForComparedCommit.struct_class = Types::CommentsForComparedCommit
|
302
|
+
|
303
|
+
CommentsForComparedCommitData.member = Shapes::ShapeRef.new(shape: CommentsForComparedCommit)
|
304
|
+
|
305
|
+
CommentsForPullRequest.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "pullRequestId"))
|
306
|
+
CommentsForPullRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
307
|
+
CommentsForPullRequest.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
308
|
+
CommentsForPullRequest.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "afterCommitId"))
|
309
|
+
CommentsForPullRequest.add_member(:before_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "beforeBlobId"))
|
310
|
+
CommentsForPullRequest.add_member(:after_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "afterBlobId"))
|
311
|
+
CommentsForPullRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
312
|
+
CommentsForPullRequest.add_member(:comments, Shapes::ShapeRef.new(shape: Comments, location_name: "comments"))
|
313
|
+
CommentsForPullRequest.struct_class = Types::CommentsForPullRequest
|
314
|
+
|
315
|
+
CommentsForPullRequestData.member = Shapes::ShapeRef.new(shape: CommentsForPullRequest)
|
316
|
+
|
163
317
|
Commit.add_member(:commit_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "commitId"))
|
164
318
|
Commit.add_member(:tree_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "treeId"))
|
165
319
|
Commit.add_member(:parents, Shapes::ShapeRef.new(shape: ParentList, location_name: "parents"))
|
@@ -174,6 +328,15 @@ module Aws::CodeCommit
|
|
174
328
|
CreateBranchInput.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "commitId"))
|
175
329
|
CreateBranchInput.struct_class = Types::CreateBranchInput
|
176
330
|
|
331
|
+
CreatePullRequestInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
|
332
|
+
CreatePullRequestInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
333
|
+
CreatePullRequestInput.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "targets"))
|
334
|
+
CreatePullRequestInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
335
|
+
CreatePullRequestInput.struct_class = Types::CreatePullRequestInput
|
336
|
+
|
337
|
+
CreatePullRequestOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, required: true, location_name: "pullRequest"))
|
338
|
+
CreatePullRequestOutput.struct_class = Types::CreatePullRequestOutput
|
339
|
+
|
177
340
|
CreateRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
178
341
|
CreateRepositoryInput.add_member(:repository_description, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repositoryDescription"))
|
179
342
|
CreateRepositoryInput.struct_class = Types::CreateRepositoryInput
|
@@ -188,12 +351,29 @@ module Aws::CodeCommit
|
|
188
351
|
DeleteBranchOutput.add_member(:deleted_branch, Shapes::ShapeRef.new(shape: BranchInfo, location_name: "deletedBranch"))
|
189
352
|
DeleteBranchOutput.struct_class = Types::DeleteBranchOutput
|
190
353
|
|
354
|
+
DeleteCommentContentInput.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "commentId"))
|
355
|
+
DeleteCommentContentInput.struct_class = Types::DeleteCommentContentInput
|
356
|
+
|
357
|
+
DeleteCommentContentOutput.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
358
|
+
DeleteCommentContentOutput.struct_class = Types::DeleteCommentContentOutput
|
359
|
+
|
191
360
|
DeleteRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
192
361
|
DeleteRepositoryInput.struct_class = Types::DeleteRepositoryInput
|
193
362
|
|
194
363
|
DeleteRepositoryOutput.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
|
195
364
|
DeleteRepositoryOutput.struct_class = Types::DeleteRepositoryOutput
|
196
365
|
|
366
|
+
DescribePullRequestEventsInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
367
|
+
DescribePullRequestEventsInput.add_member(:pull_request_event_type, Shapes::ShapeRef.new(shape: PullRequestEventType, location_name: "pullRequestEventType"))
|
368
|
+
DescribePullRequestEventsInput.add_member(:actor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "actorArn"))
|
369
|
+
DescribePullRequestEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
370
|
+
DescribePullRequestEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
371
|
+
DescribePullRequestEventsInput.struct_class = Types::DescribePullRequestEventsInput
|
372
|
+
|
373
|
+
DescribePullRequestEventsOutput.add_member(:pull_request_events, Shapes::ShapeRef.new(shape: PullRequestEventList, required: true, location_name: "pullRequestEvents"))
|
374
|
+
DescribePullRequestEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
375
|
+
DescribePullRequestEventsOutput.struct_class = Types::DescribePullRequestEventsOutput
|
376
|
+
|
197
377
|
Difference.add_member(:before_blob, Shapes::ShapeRef.new(shape: BlobMetadata, location_name: "beforeBlob"))
|
198
378
|
Difference.add_member(:after_blob, Shapes::ShapeRef.new(shape: BlobMetadata, location_name: "afterBlob"))
|
199
379
|
Difference.add_member(:change_type, Shapes::ShapeRef.new(shape: ChangeTypeEnum, location_name: "changeType"))
|
@@ -215,6 +395,35 @@ module Aws::CodeCommit
|
|
215
395
|
GetBranchOutput.add_member(:branch, Shapes::ShapeRef.new(shape: BranchInfo, location_name: "branch"))
|
216
396
|
GetBranchOutput.struct_class = Types::GetBranchOutput
|
217
397
|
|
398
|
+
GetCommentInput.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "commentId"))
|
399
|
+
GetCommentInput.struct_class = Types::GetCommentInput
|
400
|
+
|
401
|
+
GetCommentOutput.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
402
|
+
GetCommentOutput.struct_class = Types::GetCommentOutput
|
403
|
+
|
404
|
+
GetCommentsForComparedCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
405
|
+
GetCommentsForComparedCommitInput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
406
|
+
GetCommentsForComparedCommitInput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "afterCommitId"))
|
407
|
+
GetCommentsForComparedCommitInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
408
|
+
GetCommentsForComparedCommitInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
409
|
+
GetCommentsForComparedCommitInput.struct_class = Types::GetCommentsForComparedCommitInput
|
410
|
+
|
411
|
+
GetCommentsForComparedCommitOutput.add_member(:comments_for_compared_commit_data, Shapes::ShapeRef.new(shape: CommentsForComparedCommitData, location_name: "commentsForComparedCommitData"))
|
412
|
+
GetCommentsForComparedCommitOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
413
|
+
GetCommentsForComparedCommitOutput.struct_class = Types::GetCommentsForComparedCommitOutput
|
414
|
+
|
415
|
+
GetCommentsForPullRequestInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
416
|
+
GetCommentsForPullRequestInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
417
|
+
GetCommentsForPullRequestInput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
418
|
+
GetCommentsForPullRequestInput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "afterCommitId"))
|
419
|
+
GetCommentsForPullRequestInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
420
|
+
GetCommentsForPullRequestInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
421
|
+
GetCommentsForPullRequestInput.struct_class = Types::GetCommentsForPullRequestInput
|
422
|
+
|
423
|
+
GetCommentsForPullRequestOutput.add_member(:comments_for_pull_request_data, Shapes::ShapeRef.new(shape: CommentsForPullRequestData, location_name: "commentsForPullRequestData"))
|
424
|
+
GetCommentsForPullRequestOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
425
|
+
GetCommentsForPullRequestOutput.struct_class = Types::GetCommentsForPullRequestOutput
|
426
|
+
|
218
427
|
GetCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
219
428
|
GetCommitInput.add_member(:commit_id, Shapes::ShapeRef.new(shape: ObjectId, required: true, location_name: "commitId"))
|
220
429
|
GetCommitInput.struct_class = Types::GetCommitInput
|
@@ -235,6 +444,23 @@ module Aws::CodeCommit
|
|
235
444
|
GetDifferencesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
236
445
|
GetDifferencesOutput.struct_class = Types::GetDifferencesOutput
|
237
446
|
|
447
|
+
GetMergeConflictsInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
448
|
+
GetMergeConflictsInput.add_member(:destination_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, required: true, location_name: "destinationCommitSpecifier"))
|
449
|
+
GetMergeConflictsInput.add_member(:source_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, required: true, location_name: "sourceCommitSpecifier"))
|
450
|
+
GetMergeConflictsInput.add_member(:merge_option, Shapes::ShapeRef.new(shape: MergeOptionTypeEnum, required: true, location_name: "mergeOption"))
|
451
|
+
GetMergeConflictsInput.struct_class = Types::GetMergeConflictsInput
|
452
|
+
|
453
|
+
GetMergeConflictsOutput.add_member(:mergeable, Shapes::ShapeRef.new(shape: IsMergeable, required: true, location_name: "mergeable"))
|
454
|
+
GetMergeConflictsOutput.add_member(:destination_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "destinationCommitId"))
|
455
|
+
GetMergeConflictsOutput.add_member(:source_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "sourceCommitId"))
|
456
|
+
GetMergeConflictsOutput.struct_class = Types::GetMergeConflictsOutput
|
457
|
+
|
458
|
+
GetPullRequestInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
459
|
+
GetPullRequestInput.struct_class = Types::GetPullRequestInput
|
460
|
+
|
461
|
+
GetPullRequestOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, required: true, location_name: "pullRequest"))
|
462
|
+
GetPullRequestOutput.struct_class = Types::GetPullRequestOutput
|
463
|
+
|
238
464
|
GetRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
239
465
|
GetRepositoryInput.struct_class = Types::GetRepositoryInput
|
240
466
|
|
@@ -256,6 +482,17 @@ module Aws::CodeCommit
|
|
256
482
|
ListBranchesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
257
483
|
ListBranchesOutput.struct_class = Types::ListBranchesOutput
|
258
484
|
|
485
|
+
ListPullRequestsInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
486
|
+
ListPullRequestsInput.add_member(:author_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorArn"))
|
487
|
+
ListPullRequestsInput.add_member(:pull_request_status, Shapes::ShapeRef.new(shape: PullRequestStatusEnum, location_name: "pullRequestStatus"))
|
488
|
+
ListPullRequestsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
489
|
+
ListPullRequestsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
490
|
+
ListPullRequestsInput.struct_class = Types::ListPullRequestsInput
|
491
|
+
|
492
|
+
ListPullRequestsOutput.add_member(:pull_request_ids, Shapes::ShapeRef.new(shape: PullRequestIdList, required: true, location_name: "pullRequestIds"))
|
493
|
+
ListPullRequestsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
494
|
+
ListPullRequestsOutput.struct_class = Types::ListPullRequestsOutput
|
495
|
+
|
259
496
|
ListRepositoriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
260
497
|
ListRepositoriesInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortByEnum, location_name: "sortBy"))
|
261
498
|
ListRepositoriesInput.add_member(:order, Shapes::ShapeRef.new(shape: OrderEnum, location_name: "order"))
|
@@ -265,8 +502,116 @@ module Aws::CodeCommit
|
|
265
502
|
ListRepositoriesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
266
503
|
ListRepositoriesOutput.struct_class = Types::ListRepositoriesOutput
|
267
504
|
|
505
|
+
Location.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, location_name: "filePath"))
|
506
|
+
Location.add_member(:file_position, Shapes::ShapeRef.new(shape: Position, location_name: "filePosition"))
|
507
|
+
Location.add_member(:relative_file_version, Shapes::ShapeRef.new(shape: RelativeFileVersionEnum, location_name: "relativeFileVersion"))
|
508
|
+
Location.struct_class = Types::Location
|
509
|
+
|
510
|
+
MergeMetadata.add_member(:is_merged, Shapes::ShapeRef.new(shape: IsMerged, location_name: "isMerged"))
|
511
|
+
MergeMetadata.add_member(:merged_by, Shapes::ShapeRef.new(shape: Arn, location_name: "mergedBy"))
|
512
|
+
MergeMetadata.struct_class = Types::MergeMetadata
|
513
|
+
|
514
|
+
MergePullRequestByFastForwardInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
515
|
+
MergePullRequestByFastForwardInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
516
|
+
MergePullRequestByFastForwardInput.add_member(:source_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "sourceCommitId"))
|
517
|
+
MergePullRequestByFastForwardInput.struct_class = Types::MergePullRequestByFastForwardInput
|
518
|
+
|
519
|
+
MergePullRequestByFastForwardOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, location_name: "pullRequest"))
|
520
|
+
MergePullRequestByFastForwardOutput.struct_class = Types::MergePullRequestByFastForwardOutput
|
521
|
+
|
268
522
|
ParentList.member = Shapes::ShapeRef.new(shape: ObjectId)
|
269
523
|
|
524
|
+
PostCommentForComparedCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
525
|
+
PostCommentForComparedCommitInput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
526
|
+
PostCommentForComparedCommitInput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "afterCommitId"))
|
527
|
+
PostCommentForComparedCommitInput.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
528
|
+
PostCommentForComparedCommitInput.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "content"))
|
529
|
+
PostCommentForComparedCommitInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
530
|
+
PostCommentForComparedCommitInput.struct_class = Types::PostCommentForComparedCommitInput
|
531
|
+
|
532
|
+
PostCommentForComparedCommitOutput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
533
|
+
PostCommentForComparedCommitOutput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
534
|
+
PostCommentForComparedCommitOutput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "afterCommitId"))
|
535
|
+
PostCommentForComparedCommitOutput.add_member(:before_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "beforeBlobId"))
|
536
|
+
PostCommentForComparedCommitOutput.add_member(:after_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "afterBlobId"))
|
537
|
+
PostCommentForComparedCommitOutput.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
538
|
+
PostCommentForComparedCommitOutput.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
539
|
+
PostCommentForComparedCommitOutput.struct_class = Types::PostCommentForComparedCommitOutput
|
540
|
+
|
541
|
+
PostCommentForPullRequestInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
542
|
+
PostCommentForPullRequestInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
543
|
+
PostCommentForPullRequestInput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "beforeCommitId"))
|
544
|
+
PostCommentForPullRequestInput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "afterCommitId"))
|
545
|
+
PostCommentForPullRequestInput.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
546
|
+
PostCommentForPullRequestInput.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "content"))
|
547
|
+
PostCommentForPullRequestInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
548
|
+
PostCommentForPullRequestInput.struct_class = Types::PostCommentForPullRequestInput
|
549
|
+
|
550
|
+
PostCommentForPullRequestOutput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
551
|
+
PostCommentForPullRequestOutput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "pullRequestId"))
|
552
|
+
PostCommentForPullRequestOutput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
553
|
+
PostCommentForPullRequestOutput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "afterCommitId"))
|
554
|
+
PostCommentForPullRequestOutput.add_member(:before_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "beforeBlobId"))
|
555
|
+
PostCommentForPullRequestOutput.add_member(:after_blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "afterBlobId"))
|
556
|
+
PostCommentForPullRequestOutput.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
557
|
+
PostCommentForPullRequestOutput.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
558
|
+
PostCommentForPullRequestOutput.struct_class = Types::PostCommentForPullRequestOutput
|
559
|
+
|
560
|
+
PostCommentReplyInput.add_member(:in_reply_to, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "inReplyTo"))
|
561
|
+
PostCommentReplyInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
562
|
+
PostCommentReplyInput.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "content"))
|
563
|
+
PostCommentReplyInput.struct_class = Types::PostCommentReplyInput
|
564
|
+
|
565
|
+
PostCommentReplyOutput.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
566
|
+
PostCommentReplyOutput.struct_class = Types::PostCommentReplyOutput
|
567
|
+
|
568
|
+
PullRequest.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "pullRequestId"))
|
569
|
+
PullRequest.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "title"))
|
570
|
+
PullRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
571
|
+
PullRequest.add_member(:last_activity_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastActivityDate"))
|
572
|
+
PullRequest.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
|
573
|
+
PullRequest.add_member(:pull_request_status, Shapes::ShapeRef.new(shape: PullRequestStatusEnum, location_name: "pullRequestStatus"))
|
574
|
+
PullRequest.add_member(:author_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorArn"))
|
575
|
+
PullRequest.add_member(:pull_request_targets, Shapes::ShapeRef.new(shape: PullRequestTargetList, location_name: "pullRequestTargets"))
|
576
|
+
PullRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
|
577
|
+
PullRequest.struct_class = Types::PullRequest
|
578
|
+
|
579
|
+
PullRequestEvent.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "pullRequestId"))
|
580
|
+
PullRequestEvent.add_member(:event_date, Shapes::ShapeRef.new(shape: EventDate, location_name: "eventDate"))
|
581
|
+
PullRequestEvent.add_member(:pull_request_event_type, Shapes::ShapeRef.new(shape: PullRequestEventType, location_name: "pullRequestEventType"))
|
582
|
+
PullRequestEvent.add_member(:actor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "actorArn"))
|
583
|
+
PullRequestEvent.add_member(:pull_request_status_changed_event_metadata, Shapes::ShapeRef.new(shape: PullRequestStatusChangedEventMetadata, location_name: "pullRequestStatusChangedEventMetadata"))
|
584
|
+
PullRequestEvent.add_member(:pull_request_source_reference_updated_event_metadata, Shapes::ShapeRef.new(shape: PullRequestSourceReferenceUpdatedEventMetadata, location_name: "pullRequestSourceReferenceUpdatedEventMetadata"))
|
585
|
+
PullRequestEvent.add_member(:pull_request_merged_state_changed_event_metadata, Shapes::ShapeRef.new(shape: PullRequestMergedStateChangedEventMetadata, location_name: "pullRequestMergedStateChangedEventMetadata"))
|
586
|
+
PullRequestEvent.struct_class = Types::PullRequestEvent
|
587
|
+
|
588
|
+
PullRequestEventList.member = Shapes::ShapeRef.new(shape: PullRequestEvent)
|
589
|
+
|
590
|
+
PullRequestIdList.member = Shapes::ShapeRef.new(shape: PullRequestId)
|
591
|
+
|
592
|
+
PullRequestMergedStateChangedEventMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
593
|
+
PullRequestMergedStateChangedEventMetadata.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
|
594
|
+
PullRequestMergedStateChangedEventMetadata.add_member(:merge_metadata, Shapes::ShapeRef.new(shape: MergeMetadata, location_name: "mergeMetadata"))
|
595
|
+
PullRequestMergedStateChangedEventMetadata.struct_class = Types::PullRequestMergedStateChangedEventMetadata
|
596
|
+
|
597
|
+
PullRequestSourceReferenceUpdatedEventMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
598
|
+
PullRequestSourceReferenceUpdatedEventMetadata.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
|
599
|
+
PullRequestSourceReferenceUpdatedEventMetadata.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "afterCommitId"))
|
600
|
+
PullRequestSourceReferenceUpdatedEventMetadata.struct_class = Types::PullRequestSourceReferenceUpdatedEventMetadata
|
601
|
+
|
602
|
+
PullRequestStatusChangedEventMetadata.add_member(:pull_request_status, Shapes::ShapeRef.new(shape: PullRequestStatusEnum, location_name: "pullRequestStatus"))
|
603
|
+
PullRequestStatusChangedEventMetadata.struct_class = Types::PullRequestStatusChangedEventMetadata
|
604
|
+
|
605
|
+
PullRequestTarget.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
606
|
+
PullRequestTarget.add_member(:source_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "sourceReference"))
|
607
|
+
PullRequestTarget.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
|
608
|
+
PullRequestTarget.add_member(:destination_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "destinationCommit"))
|
609
|
+
PullRequestTarget.add_member(:source_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "sourceCommit"))
|
610
|
+
PullRequestTarget.add_member(:merge_metadata, Shapes::ShapeRef.new(shape: MergeMetadata, location_name: "mergeMetadata"))
|
611
|
+
PullRequestTarget.struct_class = Types::PullRequestTarget
|
612
|
+
|
613
|
+
PullRequestTargetList.member = Shapes::ShapeRef.new(shape: PullRequestTarget)
|
614
|
+
|
270
615
|
PutRepositoryTriggersInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
271
616
|
PutRepositoryTriggersInput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, required: true, location_name: "triggers"))
|
272
617
|
PutRepositoryTriggersInput.struct_class = Types::PutRepositoryTriggersInput
|
@@ -317,6 +662,13 @@ module Aws::CodeCommit
|
|
317
662
|
|
318
663
|
RepositoryTriggersList.member = Shapes::ShapeRef.new(shape: RepositoryTrigger)
|
319
664
|
|
665
|
+
Target.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
666
|
+
Target.add_member(:source_reference, Shapes::ShapeRef.new(shape: ReferenceName, required: true, location_name: "sourceReference"))
|
667
|
+
Target.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
|
668
|
+
Target.struct_class = Types::Target
|
669
|
+
|
670
|
+
TargetList.member = Shapes::ShapeRef.new(shape: Target)
|
671
|
+
|
320
672
|
TestRepositoryTriggersInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
321
673
|
TestRepositoryTriggersInput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, required: true, location_name: "triggers"))
|
322
674
|
TestRepositoryTriggersInput.struct_class = Types::TestRepositoryTriggersInput
|
@@ -325,10 +677,38 @@ module Aws::CodeCommit
|
|
325
677
|
TestRepositoryTriggersOutput.add_member(:failed_executions, Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailureList, location_name: "failedExecutions"))
|
326
678
|
TestRepositoryTriggersOutput.struct_class = Types::TestRepositoryTriggersOutput
|
327
679
|
|
680
|
+
UpdateCommentInput.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "commentId"))
|
681
|
+
UpdateCommentInput.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "content"))
|
682
|
+
UpdateCommentInput.struct_class = Types::UpdateCommentInput
|
683
|
+
|
684
|
+
UpdateCommentOutput.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
685
|
+
UpdateCommentOutput.struct_class = Types::UpdateCommentOutput
|
686
|
+
|
328
687
|
UpdateDefaultBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
329
688
|
UpdateDefaultBranchInput.add_member(:default_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "defaultBranchName"))
|
330
689
|
UpdateDefaultBranchInput.struct_class = Types::UpdateDefaultBranchInput
|
331
690
|
|
691
|
+
UpdatePullRequestDescriptionInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
692
|
+
UpdatePullRequestDescriptionInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
|
693
|
+
UpdatePullRequestDescriptionInput.struct_class = Types::UpdatePullRequestDescriptionInput
|
694
|
+
|
695
|
+
UpdatePullRequestDescriptionOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, required: true, location_name: "pullRequest"))
|
696
|
+
UpdatePullRequestDescriptionOutput.struct_class = Types::UpdatePullRequestDescriptionOutput
|
697
|
+
|
698
|
+
UpdatePullRequestStatusInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
699
|
+
UpdatePullRequestStatusInput.add_member(:pull_request_status, Shapes::ShapeRef.new(shape: PullRequestStatusEnum, required: true, location_name: "pullRequestStatus"))
|
700
|
+
UpdatePullRequestStatusInput.struct_class = Types::UpdatePullRequestStatusInput
|
701
|
+
|
702
|
+
UpdatePullRequestStatusOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, required: true, location_name: "pullRequest"))
|
703
|
+
UpdatePullRequestStatusOutput.struct_class = Types::UpdatePullRequestStatusOutput
|
704
|
+
|
705
|
+
UpdatePullRequestTitleInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
|
706
|
+
UpdatePullRequestTitleInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
|
707
|
+
UpdatePullRequestTitleInput.struct_class = Types::UpdatePullRequestTitleInput
|
708
|
+
|
709
|
+
UpdatePullRequestTitleOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, required: true, location_name: "pullRequest"))
|
710
|
+
UpdatePullRequestTitleOutput.struct_class = Types::UpdatePullRequestTitleOutput
|
711
|
+
|
332
712
|
UpdateRepositoryDescriptionInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
333
713
|
UpdateRepositoryDescriptionInput.add_member(:repository_description, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repositoryDescription"))
|
334
714
|
UpdateRepositoryDescriptionInput.struct_class = Types::UpdateRepositoryDescriptionInput
|
@@ -395,6 +775,39 @@ module Aws::CodeCommit
|
|
395
775
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
396
776
|
end)
|
397
777
|
|
778
|
+
api.add_operation(:create_pull_request, Seahorse::Model::Operation.new.tap do |o|
|
779
|
+
o.name = "CreatePullRequest"
|
780
|
+
o.http_method = "POST"
|
781
|
+
o.http_request_uri = "/"
|
782
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePullRequestInput)
|
783
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePullRequestOutput)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientRequestTokenRequiredException)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientRequestTokenException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyParameterMismatchException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: ReferenceNameRequiredException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidReferenceNameException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ReferenceDoesNotExistException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: ReferenceTypeNotSupportedException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: TitleRequiredException)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTitleException)
|
801
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDescriptionException)
|
802
|
+
o.errors << Shapes::ShapeRef.new(shape: TargetsRequiredException)
|
803
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetsException)
|
804
|
+
o.errors << Shapes::ShapeRef.new(shape: TargetRequiredException)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetException)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: MultipleRepositoriesInPullRequestException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: MaximumOpenPullRequestsExceededException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: SourceAndDestinationAreSameException)
|
809
|
+
end)
|
810
|
+
|
398
811
|
api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
|
399
812
|
o.name = "CreateRepository"
|
400
813
|
o.http_method = "POST"
|
@@ -432,6 +845,18 @@ module Aws::CodeCommit
|
|
432
845
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
433
846
|
end)
|
434
847
|
|
848
|
+
api.add_operation(:delete_comment_content, Seahorse::Model::Operation.new.tap do |o|
|
849
|
+
o.name = "DeleteCommentContent"
|
850
|
+
o.http_method = "POST"
|
851
|
+
o.http_request_uri = "/"
|
852
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCommentContentInput)
|
853
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCommentContentOutput)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentDoesNotExistException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentIdRequiredException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentDeletedException)
|
858
|
+
end)
|
859
|
+
|
435
860
|
api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
|
436
861
|
o.name = "DeleteRepository"
|
437
862
|
o.http_method = "POST"
|
@@ -447,6 +872,33 @@ module Aws::CodeCommit
|
|
447
872
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
448
873
|
end)
|
449
874
|
|
875
|
+
api.add_operation(:describe_pull_request_events, Seahorse::Model::Operation.new.tap do |o|
|
876
|
+
o.name = "DescribePullRequestEvents"
|
877
|
+
o.http_method = "POST"
|
878
|
+
o.http_request_uri = "/"
|
879
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePullRequestEventsInput)
|
880
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePullRequestEventsOutput)
|
881
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
882
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
883
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
884
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestEventTypeException)
|
885
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidActorArnException)
|
886
|
+
o.errors << Shapes::ShapeRef.new(shape: ActorDoesNotExistException)
|
887
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
888
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
889
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
894
|
+
o[:pager] = Aws::Pager.new(
|
895
|
+
limit_key: "max_results",
|
896
|
+
tokens: {
|
897
|
+
"next_token" => "next_token"
|
898
|
+
}
|
899
|
+
)
|
900
|
+
end)
|
901
|
+
|
450
902
|
api.add_operation(:get_blob, Seahorse::Model::Operation.new.tap do |o|
|
451
903
|
o.name = "GetBlob"
|
452
904
|
o.http_method = "POST"
|
@@ -486,6 +938,76 @@ module Aws::CodeCommit
|
|
486
938
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
487
939
|
end)
|
488
940
|
|
941
|
+
api.add_operation(:get_comment, Seahorse::Model::Operation.new.tap do |o|
|
942
|
+
o.name = "GetComment"
|
943
|
+
o.http_method = "POST"
|
944
|
+
o.http_request_uri = "/"
|
945
|
+
o.input = Shapes::ShapeRef.new(shape: GetCommentInput)
|
946
|
+
o.output = Shapes::ShapeRef.new(shape: GetCommentOutput)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentDoesNotExistException)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentIdRequiredException)
|
949
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
|
950
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentDeletedException)
|
951
|
+
end)
|
952
|
+
|
953
|
+
api.add_operation(:get_comments_for_compared_commit, Seahorse::Model::Operation.new.tap do |o|
|
954
|
+
o.name = "GetCommentsForComparedCommit"
|
955
|
+
o.http_method = "POST"
|
956
|
+
o.http_request_uri = "/"
|
957
|
+
o.input = Shapes::ShapeRef.new(shape: GetCommentsForComparedCommitInput)
|
958
|
+
o.output = Shapes::ShapeRef.new(shape: GetCommentsForComparedCommitOutput)
|
959
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
960
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
961
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
962
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
963
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
964
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
965
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
966
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
970
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
972
|
+
o[:pager] = Aws::Pager.new(
|
973
|
+
limit_key: "max_results",
|
974
|
+
tokens: {
|
975
|
+
"next_token" => "next_token"
|
976
|
+
}
|
977
|
+
)
|
978
|
+
end)
|
979
|
+
|
980
|
+
api.add_operation(:get_comments_for_pull_request, Seahorse::Model::Operation.new.tap do |o|
|
981
|
+
o.name = "GetCommentsForPullRequest"
|
982
|
+
o.http_method = "POST"
|
983
|
+
o.http_request_uri = "/"
|
984
|
+
o.input = Shapes::ShapeRef.new(shape: GetCommentsForPullRequestInput)
|
985
|
+
o.output = Shapes::ShapeRef.new(shape: GetCommentsForPullRequestOutput)
|
986
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
987
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
990
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
995
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
996
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
997
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotAssociatedWithPullRequestException)
|
998
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
999
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1000
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1001
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1002
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1003
|
+
o[:pager] = Aws::Pager.new(
|
1004
|
+
limit_key: "max_results",
|
1005
|
+
tokens: {
|
1006
|
+
"next_token" => "next_token"
|
1007
|
+
}
|
1008
|
+
)
|
1009
|
+
end)
|
1010
|
+
|
489
1011
|
api.add_operation(:get_commit, Seahorse::Model::Operation.new.tap do |o|
|
490
1012
|
o.name = "GetCommit"
|
491
1013
|
o.http_method = "POST"
|
@@ -535,6 +1057,46 @@ module Aws::CodeCommit
|
|
535
1057
|
)
|
536
1058
|
end)
|
537
1059
|
|
1060
|
+
api.add_operation(:get_merge_conflicts, Seahorse::Model::Operation.new.tap do |o|
|
1061
|
+
o.name = "GetMergeConflicts"
|
1062
|
+
o.http_method = "POST"
|
1063
|
+
o.http_request_uri = "/"
|
1064
|
+
o.input = Shapes::ShapeRef.new(shape: GetMergeConflictsInput)
|
1065
|
+
o.output = Shapes::ShapeRef.new(shape: GetMergeConflictsOutput)
|
1066
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
1067
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
1068
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
1069
|
+
o.errors << Shapes::ShapeRef.new(shape: MergeOptionRequiredException)
|
1070
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMergeOptionException)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDestinationCommitSpecifierException)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSourceCommitSpecifierException)
|
1073
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitRequiredException)
|
1074
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
1075
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitException)
|
1076
|
+
o.errors << Shapes::ShapeRef.new(shape: TipsDivergenceExceededException)
|
1077
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
1078
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1079
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1080
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1081
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1082
|
+
end)
|
1083
|
+
|
1084
|
+
api.add_operation(:get_pull_request, Seahorse::Model::Operation.new.tap do |o|
|
1085
|
+
o.name = "GetPullRequest"
|
1086
|
+
o.http_method = "POST"
|
1087
|
+
o.http_request_uri = "/"
|
1088
|
+
o.input = Shapes::ShapeRef.new(shape: GetPullRequestInput)
|
1089
|
+
o.output = Shapes::ShapeRef.new(shape: GetPullRequestOutput)
|
1090
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
1091
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
1092
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
1094
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1095
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1096
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1098
|
+
end)
|
1099
|
+
|
538
1100
|
api.add_operation(:get_repository, Seahorse::Model::Operation.new.tap do |o|
|
539
1101
|
o.name = "GetRepository"
|
540
1102
|
o.http_method = "POST"
|
@@ -589,6 +1151,33 @@ module Aws::CodeCommit
|
|
589
1151
|
)
|
590
1152
|
end)
|
591
1153
|
|
1154
|
+
api.add_operation(:list_pull_requests, Seahorse::Model::Operation.new.tap do |o|
|
1155
|
+
o.name = "ListPullRequests"
|
1156
|
+
o.http_method = "POST"
|
1157
|
+
o.http_request_uri = "/"
|
1158
|
+
o.input = Shapes::ShapeRef.new(shape: ListPullRequestsInput)
|
1159
|
+
o.output = Shapes::ShapeRef.new(shape: ListPullRequestsOutput)
|
1160
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestStatusException)
|
1161
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAuthorArnException)
|
1162
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorDoesNotExistException)
|
1163
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
1164
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
1165
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
1166
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
1167
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
1168
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
1169
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1170
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1171
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1173
|
+
o[:pager] = Aws::Pager.new(
|
1174
|
+
limit_key: "max_results",
|
1175
|
+
tokens: {
|
1176
|
+
"next_token" => "next_token"
|
1177
|
+
}
|
1178
|
+
)
|
1179
|
+
end)
|
1180
|
+
|
592
1181
|
api.add_operation(:list_repositories, Seahorse::Model::Operation.new.tap do |o|
|
593
1182
|
o.name = "ListRepositories"
|
594
1183
|
o.http_method = "POST"
|
@@ -605,6 +1194,113 @@ module Aws::CodeCommit
|
|
605
1194
|
)
|
606
1195
|
end)
|
607
1196
|
|
1197
|
+
api.add_operation(:merge_pull_request_by_fast_forward, Seahorse::Model::Operation.new.tap do |o|
|
1198
|
+
o.name = "MergePullRequestByFastForward"
|
1199
|
+
o.http_method = "POST"
|
1200
|
+
o.http_request_uri = "/"
|
1201
|
+
o.input = Shapes::ShapeRef.new(shape: MergePullRequestByFastForwardInput)
|
1202
|
+
o.output = Shapes::ShapeRef.new(shape: MergePullRequestByFastForwardOutput)
|
1203
|
+
o.errors << Shapes::ShapeRef.new(shape: ManualMergeRequiredException)
|
1204
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
|
1205
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
1206
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
1207
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
1208
|
+
o.errors << Shapes::ShapeRef.new(shape: TipOfSourceReferenceIsDifferentException)
|
1209
|
+
o.errors << Shapes::ShapeRef.new(shape: ReferenceDoesNotExistException)
|
1210
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
1211
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
1212
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1216
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1217
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1218
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1219
|
+
end)
|
1220
|
+
|
1221
|
+
api.add_operation(:post_comment_for_compared_commit, Seahorse::Model::Operation.new.tap do |o|
|
1222
|
+
o.name = "PostCommentForComparedCommit"
|
1223
|
+
o.http_method = "POST"
|
1224
|
+
o.http_request_uri = "/"
|
1225
|
+
o.input = Shapes::ShapeRef.new(shape: PostCommentForComparedCommitInput)
|
1226
|
+
o.output = Shapes::ShapeRef.new(shape: PostCommentForComparedCommitOutput)
|
1227
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
1228
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
1229
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
1230
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientRequestTokenRequiredException)
|
1231
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientRequestTokenException)
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyParameterMismatchException)
|
1233
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentRequiredException)
|
1234
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentSizeLimitExceededException)
|
1235
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFileLocationException)
|
1236
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRelativeFileVersionEnumException)
|
1237
|
+
o.errors << Shapes::ShapeRef.new(shape: PathRequiredException)
|
1238
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilePositionException)
|
1239
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
1240
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1243
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1244
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1245
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1246
|
+
o.errors << Shapes::ShapeRef.new(shape: BeforeCommitIdAndAfterCommitIdAreSameException)
|
1247
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
1248
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPathException)
|
1249
|
+
o.errors << Shapes::ShapeRef.new(shape: PathDoesNotExistException)
|
1250
|
+
end)
|
1251
|
+
|
1252
|
+
api.add_operation(:post_comment_for_pull_request, Seahorse::Model::Operation.new.tap do |o|
|
1253
|
+
o.name = "PostCommentForPullRequest"
|
1254
|
+
o.http_method = "POST"
|
1255
|
+
o.http_request_uri = "/"
|
1256
|
+
o.input = Shapes::ShapeRef.new(shape: PostCommentForPullRequestInput)
|
1257
|
+
o.output = Shapes::ShapeRef.new(shape: PostCommentForPullRequestOutput)
|
1258
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
1259
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
1260
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
1261
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotAssociatedWithPullRequestException)
|
1262
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
1263
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
1264
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
1265
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientRequestTokenRequiredException)
|
1266
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientRequestTokenException)
|
1267
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyParameterMismatchException)
|
1268
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentRequiredException)
|
1269
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentSizeLimitExceededException)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFileLocationException)
|
1271
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRelativeFileVersionEnumException)
|
1272
|
+
o.errors << Shapes::ShapeRef.new(shape: PathRequiredException)
|
1273
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilePositionException)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
1276
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
1277
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1278
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1279
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
1282
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPathException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: PathDoesNotExistException)
|
1284
|
+
o.errors << Shapes::ShapeRef.new(shape: PathRequiredException)
|
1285
|
+
o.errors << Shapes::ShapeRef.new(shape: BeforeCommitIdAndAfterCommitIdAreSameException)
|
1286
|
+
end)
|
1287
|
+
|
1288
|
+
api.add_operation(:post_comment_reply, Seahorse::Model::Operation.new.tap do |o|
|
1289
|
+
o.name = "PostCommentReply"
|
1290
|
+
o.http_method = "POST"
|
1291
|
+
o.http_request_uri = "/"
|
1292
|
+
o.input = Shapes::ShapeRef.new(shape: PostCommentReplyInput)
|
1293
|
+
o.output = Shapes::ShapeRef.new(shape: PostCommentReplyOutput)
|
1294
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientRequestTokenRequiredException)
|
1295
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientRequestTokenException)
|
1296
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyParameterMismatchException)
|
1297
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentRequiredException)
|
1298
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentSizeLimitExceededException)
|
1299
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentDoesNotExistException)
|
1300
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentIdRequiredException)
|
1301
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
|
1302
|
+
end)
|
1303
|
+
|
608
1304
|
api.add_operation(:put_repository_triggers, Seahorse::Model::Operation.new.tap do |o|
|
609
1305
|
o.name = "PutRepositoryTriggers"
|
610
1306
|
o.http_method = "POST"
|
@@ -663,6 +1359,21 @@ module Aws::CodeCommit
|
|
663
1359
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
664
1360
|
end)
|
665
1361
|
|
1362
|
+
api.add_operation(:update_comment, Seahorse::Model::Operation.new.tap do |o|
|
1363
|
+
o.name = "UpdateComment"
|
1364
|
+
o.http_method = "POST"
|
1365
|
+
o.http_request_uri = "/"
|
1366
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCommentInput)
|
1367
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateCommentOutput)
|
1368
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentRequiredException)
|
1369
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentContentSizeLimitExceededException)
|
1370
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentDoesNotExistException)
|
1371
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentIdRequiredException)
|
1372
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
|
1373
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentNotCreatedByCallerException)
|
1374
|
+
o.errors << Shapes::ShapeRef.new(shape: CommentDeletedException)
|
1375
|
+
end)
|
1376
|
+
|
666
1377
|
api.add_operation(:update_default_branch, Seahorse::Model::Operation.new.tap do |o|
|
667
1378
|
o.name = "UpdateDefaultBranch"
|
668
1379
|
o.http_method = "POST"
|
@@ -682,6 +1393,52 @@ module Aws::CodeCommit
|
|
682
1393
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
683
1394
|
end)
|
684
1395
|
|
1396
|
+
api.add_operation(:update_pull_request_description, Seahorse::Model::Operation.new.tap do |o|
|
1397
|
+
o.name = "UpdatePullRequestDescription"
|
1398
|
+
o.http_method = "POST"
|
1399
|
+
o.http_request_uri = "/"
|
1400
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePullRequestDescriptionInput)
|
1401
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePullRequestDescriptionOutput)
|
1402
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
1403
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
1404
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
1405
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDescriptionException)
|
1406
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
|
1407
|
+
end)
|
1408
|
+
|
1409
|
+
api.add_operation(:update_pull_request_status, Seahorse::Model::Operation.new.tap do |o|
|
1410
|
+
o.name = "UpdatePullRequestStatus"
|
1411
|
+
o.http_method = "POST"
|
1412
|
+
o.http_request_uri = "/"
|
1413
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePullRequestStatusInput)
|
1414
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePullRequestStatusOutput)
|
1415
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
1416
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
1418
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestStatusUpdateException)
|
1419
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestStatusException)
|
1420
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestStatusRequiredException)
|
1421
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
1422
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
1423
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
1424
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
1425
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
1426
|
+
end)
|
1427
|
+
|
1428
|
+
api.add_operation(:update_pull_request_title, Seahorse::Model::Operation.new.tap do |o|
|
1429
|
+
o.name = "UpdatePullRequestTitle"
|
1430
|
+
o.http_method = "POST"
|
1431
|
+
o.http_request_uri = "/"
|
1432
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePullRequestTitleInput)
|
1433
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePullRequestTitleOutput)
|
1434
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
|
1435
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
|
1436
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
|
1437
|
+
o.errors << Shapes::ShapeRef.new(shape: TitleRequiredException)
|
1438
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTitleException)
|
1439
|
+
o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
|
1440
|
+
end)
|
1441
|
+
|
685
1442
|
api.add_operation(:update_repository_description, Seahorse::Model::Operation.new.tap do |o|
|
686
1443
|
o.name = "UpdateRepositoryDescription"
|
687
1444
|
o.http_method = "POST"
|