aws-sdk-codecommit 1.63.0 → 1.64.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1268 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeCommit
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#associate_approval_rule_template_with_repository-instance_method
77
+ def associate_approval_rule_template_with_repository: (
78
+ approval_rule_template_name: ::String,
79
+ repository_name: ::String
80
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
81
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
82
+
83
+ interface _BatchAssociateApprovalRuleTemplateWithRepositoriesResponseSuccess
84
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput]
85
+ def associated_repository_names: () -> ::Array[::String]
86
+ def errors: () -> ::Array[Types::BatchAssociateApprovalRuleTemplateWithRepositoriesError]
87
+ end
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#batch_associate_approval_rule_template_with_repositories-instance_method
89
+ def batch_associate_approval_rule_template_with_repositories: (
90
+ approval_rule_template_name: ::String,
91
+ repository_names: Array[::String]
92
+ ) -> _BatchAssociateApprovalRuleTemplateWithRepositoriesResponseSuccess
93
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAssociateApprovalRuleTemplateWithRepositoriesResponseSuccess
94
+
95
+ interface _BatchDescribeMergeConflictsResponseSuccess
96
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDescribeMergeConflictsOutput]
97
+ def conflicts: () -> ::Array[Types::Conflict]
98
+ def next_token: () -> ::String
99
+ def errors: () -> ::Array[Types::BatchDescribeMergeConflictsError]
100
+ def destination_commit_id: () -> ::String
101
+ def source_commit_id: () -> ::String
102
+ def base_commit_id: () -> ::String
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#batch_describe_merge_conflicts-instance_method
105
+ def batch_describe_merge_conflicts: (
106
+ repository_name: ::String,
107
+ destination_commit_specifier: ::String,
108
+ source_commit_specifier: ::String,
109
+ merge_option: ("FAST_FORWARD_MERGE" | "SQUASH_MERGE" | "THREE_WAY_MERGE"),
110
+ ?max_merge_hunks: ::Integer,
111
+ ?max_conflict_files: ::Integer,
112
+ ?file_paths: Array[::String],
113
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
114
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
115
+ ?next_token: ::String
116
+ ) -> _BatchDescribeMergeConflictsResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDescribeMergeConflictsResponseSuccess
118
+
119
+ interface _BatchDisassociateApprovalRuleTemplateFromRepositoriesResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput]
121
+ def disassociated_repository_names: () -> ::Array[::String]
122
+ def errors: () -> ::Array[Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesError]
123
+ end
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#batch_disassociate_approval_rule_template_from_repositories-instance_method
125
+ def batch_disassociate_approval_rule_template_from_repositories: (
126
+ approval_rule_template_name: ::String,
127
+ repository_names: Array[::String]
128
+ ) -> _BatchDisassociateApprovalRuleTemplateFromRepositoriesResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDisassociateApprovalRuleTemplateFromRepositoriesResponseSuccess
130
+
131
+ interface _BatchGetCommitsResponseSuccess
132
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCommitsOutput]
133
+ def commits: () -> ::Array[Types::Commit]
134
+ def errors: () -> ::Array[Types::BatchGetCommitsError]
135
+ end
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#batch_get_commits-instance_method
137
+ def batch_get_commits: (
138
+ commit_ids: Array[::String],
139
+ repository_name: ::String
140
+ ) -> _BatchGetCommitsResponseSuccess
141
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCommitsResponseSuccess
142
+
143
+ interface _BatchGetRepositoriesResponseSuccess
144
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetRepositoriesOutput]
145
+ def repositories: () -> ::Array[Types::RepositoryMetadata]
146
+ def repositories_not_found: () -> ::Array[::String]
147
+ def errors: () -> ::Array[Types::BatchGetRepositoriesError]
148
+ end
149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#batch_get_repositories-instance_method
150
+ def batch_get_repositories: (
151
+ repository_names: Array[::String]
152
+ ) -> _BatchGetRepositoriesResponseSuccess
153
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetRepositoriesResponseSuccess
154
+
155
+ interface _CreateApprovalRuleTemplateResponseSuccess
156
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApprovalRuleTemplateOutput]
157
+ def approval_rule_template: () -> Types::ApprovalRuleTemplate
158
+ end
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#create_approval_rule_template-instance_method
160
+ def create_approval_rule_template: (
161
+ approval_rule_template_name: ::String,
162
+ approval_rule_template_content: ::String,
163
+ ?approval_rule_template_description: ::String
164
+ ) -> _CreateApprovalRuleTemplateResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApprovalRuleTemplateResponseSuccess
166
+
167
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#create_branch-instance_method
168
+ def create_branch: (
169
+ repository_name: ::String,
170
+ branch_name: ::String,
171
+ commit_id: ::String
172
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
174
+
175
+ interface _CreateCommitResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCommitOutput]
177
+ def commit_id: () -> ::String
178
+ def tree_id: () -> ::String
179
+ def files_added: () -> ::Array[Types::FileMetadata]
180
+ def files_updated: () -> ::Array[Types::FileMetadata]
181
+ def files_deleted: () -> ::Array[Types::FileMetadata]
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#create_commit-instance_method
184
+ def create_commit: (
185
+ repository_name: ::String,
186
+ branch_name: ::String,
187
+ ?parent_commit_id: ::String,
188
+ ?author_name: ::String,
189
+ ?email: ::String,
190
+ ?commit_message: ::String,
191
+ ?keep_empty_folders: bool,
192
+ ?put_files: Array[
193
+ {
194
+ file_path: ::String,
195
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")?,
196
+ file_content: ::String?,
197
+ source_file: {
198
+ file_path: ::String,
199
+ is_move: bool?
200
+ }?
201
+ },
202
+ ],
203
+ ?delete_files: Array[
204
+ {
205
+ file_path: ::String
206
+ },
207
+ ],
208
+ ?set_file_modes: Array[
209
+ {
210
+ file_path: ::String,
211
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")
212
+ },
213
+ ]
214
+ ) -> _CreateCommitResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCommitResponseSuccess
216
+
217
+ interface _CreatePullRequestResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePullRequestOutput]
219
+ def pull_request: () -> Types::PullRequest
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#create_pull_request-instance_method
222
+ def create_pull_request: (
223
+ title: ::String,
224
+ ?description: ::String,
225
+ targets: Array[
226
+ {
227
+ repository_name: ::String,
228
+ source_reference: ::String,
229
+ destination_reference: ::String?
230
+ },
231
+ ],
232
+ ?client_request_token: ::String
233
+ ) -> _CreatePullRequestResponseSuccess
234
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePullRequestResponseSuccess
235
+
236
+ interface _CreatePullRequestApprovalRuleResponseSuccess
237
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePullRequestApprovalRuleOutput]
238
+ def approval_rule: () -> Types::ApprovalRule
239
+ end
240
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#create_pull_request_approval_rule-instance_method
241
+ def create_pull_request_approval_rule: (
242
+ pull_request_id: ::String,
243
+ approval_rule_name: ::String,
244
+ approval_rule_content: ::String
245
+ ) -> _CreatePullRequestApprovalRuleResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePullRequestApprovalRuleResponseSuccess
247
+
248
+ interface _CreateRepositoryResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRepositoryOutput]
250
+ def repository_metadata: () -> Types::RepositoryMetadata
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#create_repository-instance_method
253
+ def create_repository: (
254
+ repository_name: ::String,
255
+ ?repository_description: ::String,
256
+ ?tags: Hash[::String, ::String],
257
+ ?kms_key_id: ::String
258
+ ) -> _CreateRepositoryResponseSuccess
259
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRepositoryResponseSuccess
260
+
261
+ interface _CreateUnreferencedMergeCommitResponseSuccess
262
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateUnreferencedMergeCommitOutput]
263
+ def commit_id: () -> ::String
264
+ def tree_id: () -> ::String
265
+ end
266
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#create_unreferenced_merge_commit-instance_method
267
+ def create_unreferenced_merge_commit: (
268
+ repository_name: ::String,
269
+ source_commit_specifier: ::String,
270
+ destination_commit_specifier: ::String,
271
+ merge_option: ("FAST_FORWARD_MERGE" | "SQUASH_MERGE" | "THREE_WAY_MERGE"),
272
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
273
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
274
+ ?author_name: ::String,
275
+ ?email: ::String,
276
+ ?commit_message: ::String,
277
+ ?keep_empty_folders: bool,
278
+ ?conflict_resolution: {
279
+ replace_contents: Array[
280
+ {
281
+ file_path: ::String,
282
+ replacement_type: ("KEEP_BASE" | "KEEP_SOURCE" | "KEEP_DESTINATION" | "USE_NEW_CONTENT"),
283
+ content: ::String?,
284
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")?
285
+ },
286
+ ]?,
287
+ delete_files: Array[
288
+ {
289
+ file_path: ::String
290
+ },
291
+ ]?,
292
+ set_file_modes: Array[
293
+ {
294
+ file_path: ::String,
295
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")
296
+ },
297
+ ]?
298
+ }
299
+ ) -> _CreateUnreferencedMergeCommitResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUnreferencedMergeCommitResponseSuccess
301
+
302
+ interface _DeleteApprovalRuleTemplateResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApprovalRuleTemplateOutput]
304
+ def approval_rule_template_id: () -> ::String
305
+ end
306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#delete_approval_rule_template-instance_method
307
+ def delete_approval_rule_template: (
308
+ approval_rule_template_name: ::String
309
+ ) -> _DeleteApprovalRuleTemplateResponseSuccess
310
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApprovalRuleTemplateResponseSuccess
311
+
312
+ interface _DeleteBranchResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBranchOutput]
314
+ def deleted_branch: () -> Types::BranchInfo
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#delete_branch-instance_method
317
+ def delete_branch: (
318
+ repository_name: ::String,
319
+ branch_name: ::String
320
+ ) -> _DeleteBranchResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBranchResponseSuccess
322
+
323
+ interface _DeleteCommentContentResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCommentContentOutput]
325
+ def comment: () -> Types::Comment
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#delete_comment_content-instance_method
328
+ def delete_comment_content: (
329
+ comment_id: ::String
330
+ ) -> _DeleteCommentContentResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCommentContentResponseSuccess
332
+
333
+ interface _DeleteFileResponseSuccess
334
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFileOutput]
335
+ def commit_id: () -> ::String
336
+ def blob_id: () -> ::String
337
+ def tree_id: () -> ::String
338
+ def file_path: () -> ::String
339
+ end
340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#delete_file-instance_method
341
+ def delete_file: (
342
+ repository_name: ::String,
343
+ branch_name: ::String,
344
+ file_path: ::String,
345
+ parent_commit_id: ::String,
346
+ ?keep_empty_folders: bool,
347
+ ?commit_message: ::String,
348
+ ?name: ::String,
349
+ ?email: ::String
350
+ ) -> _DeleteFileResponseSuccess
351
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFileResponseSuccess
352
+
353
+ interface _DeletePullRequestApprovalRuleResponseSuccess
354
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePullRequestApprovalRuleOutput]
355
+ def approval_rule_id: () -> ::String
356
+ end
357
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#delete_pull_request_approval_rule-instance_method
358
+ def delete_pull_request_approval_rule: (
359
+ pull_request_id: ::String,
360
+ approval_rule_name: ::String
361
+ ) -> _DeletePullRequestApprovalRuleResponseSuccess
362
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePullRequestApprovalRuleResponseSuccess
363
+
364
+ interface _DeleteRepositoryResponseSuccess
365
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryOutput]
366
+ def repository_id: () -> ::String
367
+ end
368
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#delete_repository-instance_method
369
+ def delete_repository: (
370
+ repository_name: ::String
371
+ ) -> _DeleteRepositoryResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryResponseSuccess
373
+
374
+ interface _DescribeMergeConflictsResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMergeConflictsOutput]
376
+ def conflict_metadata: () -> Types::ConflictMetadata
377
+ def merge_hunks: () -> ::Array[Types::MergeHunk]
378
+ def next_token: () -> ::String
379
+ def destination_commit_id: () -> ::String
380
+ def source_commit_id: () -> ::String
381
+ def base_commit_id: () -> ::String
382
+ end
383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#describe_merge_conflicts-instance_method
384
+ def describe_merge_conflicts: (
385
+ repository_name: ::String,
386
+ destination_commit_specifier: ::String,
387
+ source_commit_specifier: ::String,
388
+ merge_option: ("FAST_FORWARD_MERGE" | "SQUASH_MERGE" | "THREE_WAY_MERGE"),
389
+ ?max_merge_hunks: ::Integer,
390
+ file_path: ::String,
391
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
392
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
393
+ ?next_token: ::String
394
+ ) -> _DescribeMergeConflictsResponseSuccess
395
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMergeConflictsResponseSuccess
396
+
397
+ interface _DescribePullRequestEventsResponseSuccess
398
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribePullRequestEventsOutput]
399
+ def pull_request_events: () -> ::Array[Types::PullRequestEvent]
400
+ def next_token: () -> ::String
401
+ end
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#describe_pull_request_events-instance_method
403
+ def describe_pull_request_events: (
404
+ pull_request_id: ::String,
405
+ ?pull_request_event_type: ("PULL_REQUEST_CREATED" | "PULL_REQUEST_STATUS_CHANGED" | "PULL_REQUEST_SOURCE_REFERENCE_UPDATED" | "PULL_REQUEST_MERGE_STATE_CHANGED" | "PULL_REQUEST_APPROVAL_RULE_CREATED" | "PULL_REQUEST_APPROVAL_RULE_UPDATED" | "PULL_REQUEST_APPROVAL_RULE_DELETED" | "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN" | "PULL_REQUEST_APPROVAL_STATE_CHANGED"),
406
+ ?actor_arn: ::String,
407
+ ?next_token: ::String,
408
+ ?max_results: ::Integer
409
+ ) -> _DescribePullRequestEventsResponseSuccess
410
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePullRequestEventsResponseSuccess
411
+
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#disassociate_approval_rule_template_from_repository-instance_method
413
+ def disassociate_approval_rule_template_from_repository: (
414
+ approval_rule_template_name: ::String,
415
+ repository_name: ::String
416
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
417
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
418
+
419
+ interface _EvaluatePullRequestApprovalRulesResponseSuccess
420
+ include ::Seahorse::Client::_ResponseSuccess[Types::EvaluatePullRequestApprovalRulesOutput]
421
+ def evaluation: () -> Types::Evaluation
422
+ end
423
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#evaluate_pull_request_approval_rules-instance_method
424
+ def evaluate_pull_request_approval_rules: (
425
+ pull_request_id: ::String,
426
+ revision_id: ::String
427
+ ) -> _EvaluatePullRequestApprovalRulesResponseSuccess
428
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EvaluatePullRequestApprovalRulesResponseSuccess
429
+
430
+ interface _GetApprovalRuleTemplateResponseSuccess
431
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApprovalRuleTemplateOutput]
432
+ def approval_rule_template: () -> Types::ApprovalRuleTemplate
433
+ end
434
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_approval_rule_template-instance_method
435
+ def get_approval_rule_template: (
436
+ approval_rule_template_name: ::String
437
+ ) -> _GetApprovalRuleTemplateResponseSuccess
438
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApprovalRuleTemplateResponseSuccess
439
+
440
+ interface _GetBlobResponseSuccess
441
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBlobOutput]
442
+ def content: () -> ::String
443
+ end
444
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_blob-instance_method
445
+ def get_blob: (
446
+ repository_name: ::String,
447
+ blob_id: ::String
448
+ ) -> _GetBlobResponseSuccess
449
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBlobResponseSuccess
450
+
451
+ interface _GetBranchResponseSuccess
452
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBranchOutput]
453
+ def branch: () -> Types::BranchInfo
454
+ end
455
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_branch-instance_method
456
+ def get_branch: (
457
+ ?repository_name: ::String,
458
+ ?branch_name: ::String
459
+ ) -> _GetBranchResponseSuccess
460
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBranchResponseSuccess
461
+
462
+ interface _GetCommentResponseSuccess
463
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCommentOutput]
464
+ def comment: () -> Types::Comment
465
+ end
466
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_comment-instance_method
467
+ def get_comment: (
468
+ comment_id: ::String
469
+ ) -> _GetCommentResponseSuccess
470
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCommentResponseSuccess
471
+
472
+ interface _GetCommentReactionsResponseSuccess
473
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCommentReactionsOutput]
474
+ def reactions_for_comment: () -> ::Array[Types::ReactionForComment]
475
+ def next_token: () -> ::String
476
+ end
477
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_comment_reactions-instance_method
478
+ def get_comment_reactions: (
479
+ comment_id: ::String,
480
+ ?reaction_user_arn: ::String,
481
+ ?next_token: ::String,
482
+ ?max_results: ::Integer
483
+ ) -> _GetCommentReactionsResponseSuccess
484
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCommentReactionsResponseSuccess
485
+
486
+ interface _GetCommentsForComparedCommitResponseSuccess
487
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCommentsForComparedCommitOutput]
488
+ def comments_for_compared_commit_data: () -> ::Array[Types::CommentsForComparedCommit]
489
+ def next_token: () -> ::String
490
+ end
491
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_comments_for_compared_commit-instance_method
492
+ def get_comments_for_compared_commit: (
493
+ repository_name: ::String,
494
+ ?before_commit_id: ::String,
495
+ after_commit_id: ::String,
496
+ ?next_token: ::String,
497
+ ?max_results: ::Integer
498
+ ) -> _GetCommentsForComparedCommitResponseSuccess
499
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCommentsForComparedCommitResponseSuccess
500
+
501
+ interface _GetCommentsForPullRequestResponseSuccess
502
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCommentsForPullRequestOutput]
503
+ def comments_for_pull_request_data: () -> ::Array[Types::CommentsForPullRequest]
504
+ def next_token: () -> ::String
505
+ end
506
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_comments_for_pull_request-instance_method
507
+ def get_comments_for_pull_request: (
508
+ pull_request_id: ::String,
509
+ ?repository_name: ::String,
510
+ ?before_commit_id: ::String,
511
+ ?after_commit_id: ::String,
512
+ ?next_token: ::String,
513
+ ?max_results: ::Integer
514
+ ) -> _GetCommentsForPullRequestResponseSuccess
515
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCommentsForPullRequestResponseSuccess
516
+
517
+ interface _GetCommitResponseSuccess
518
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCommitOutput]
519
+ def commit: () -> Types::Commit
520
+ end
521
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_commit-instance_method
522
+ def get_commit: (
523
+ repository_name: ::String,
524
+ commit_id: ::String
525
+ ) -> _GetCommitResponseSuccess
526
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCommitResponseSuccess
527
+
528
+ interface _GetDifferencesResponseSuccess
529
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDifferencesOutput]
530
+ def differences: () -> ::Array[Types::Difference]
531
+ def next_token: () -> ::String
532
+ end
533
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_differences-instance_method
534
+ def get_differences: (
535
+ repository_name: ::String,
536
+ ?before_commit_specifier: ::String,
537
+ after_commit_specifier: ::String,
538
+ ?before_path: ::String,
539
+ ?after_path: ::String,
540
+ ?max_results: ::Integer,
541
+ ?next_token: ::String
542
+ ) -> _GetDifferencesResponseSuccess
543
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDifferencesResponseSuccess
544
+
545
+ interface _GetFileResponseSuccess
546
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFileOutput]
547
+ def commit_id: () -> ::String
548
+ def blob_id: () -> ::String
549
+ def file_path: () -> ::String
550
+ def file_mode: () -> ("EXECUTABLE" | "NORMAL" | "SYMLINK")
551
+ def file_size: () -> ::Integer
552
+ def file_content: () -> ::String
553
+ end
554
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_file-instance_method
555
+ def get_file: (
556
+ repository_name: ::String,
557
+ ?commit_specifier: ::String,
558
+ file_path: ::String
559
+ ) -> _GetFileResponseSuccess
560
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFileResponseSuccess
561
+
562
+ interface _GetFolderResponseSuccess
563
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFolderOutput]
564
+ def commit_id: () -> ::String
565
+ def folder_path: () -> ::String
566
+ def tree_id: () -> ::String
567
+ def sub_folders: () -> ::Array[Types::Folder]
568
+ def files: () -> ::Array[Types::File]
569
+ def symbolic_links: () -> ::Array[Types::SymbolicLink]
570
+ def sub_modules: () -> ::Array[Types::SubModule]
571
+ end
572
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_folder-instance_method
573
+ def get_folder: (
574
+ repository_name: ::String,
575
+ ?commit_specifier: ::String,
576
+ folder_path: ::String
577
+ ) -> _GetFolderResponseSuccess
578
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFolderResponseSuccess
579
+
580
+ interface _GetMergeCommitResponseSuccess
581
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMergeCommitOutput]
582
+ def source_commit_id: () -> ::String
583
+ def destination_commit_id: () -> ::String
584
+ def base_commit_id: () -> ::String
585
+ def merged_commit_id: () -> ::String
586
+ end
587
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_merge_commit-instance_method
588
+ def get_merge_commit: (
589
+ repository_name: ::String,
590
+ source_commit_specifier: ::String,
591
+ destination_commit_specifier: ::String,
592
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
593
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE")
594
+ ) -> _GetMergeCommitResponseSuccess
595
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMergeCommitResponseSuccess
596
+
597
+ interface _GetMergeConflictsResponseSuccess
598
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMergeConflictsOutput]
599
+ def mergeable: () -> bool
600
+ def destination_commit_id: () -> ::String
601
+ def source_commit_id: () -> ::String
602
+ def base_commit_id: () -> ::String
603
+ def conflict_metadata_list: () -> ::Array[Types::ConflictMetadata]
604
+ def next_token: () -> ::String
605
+ end
606
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_merge_conflicts-instance_method
607
+ def get_merge_conflicts: (
608
+ repository_name: ::String,
609
+ destination_commit_specifier: ::String,
610
+ source_commit_specifier: ::String,
611
+ merge_option: ("FAST_FORWARD_MERGE" | "SQUASH_MERGE" | "THREE_WAY_MERGE"),
612
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
613
+ ?max_conflict_files: ::Integer,
614
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
615
+ ?next_token: ::String
616
+ ) -> _GetMergeConflictsResponseSuccess
617
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMergeConflictsResponseSuccess
618
+
619
+ interface _GetMergeOptionsResponseSuccess
620
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMergeOptionsOutput]
621
+ def merge_options: () -> ::Array[("FAST_FORWARD_MERGE" | "SQUASH_MERGE" | "THREE_WAY_MERGE")]
622
+ def source_commit_id: () -> ::String
623
+ def destination_commit_id: () -> ::String
624
+ def base_commit_id: () -> ::String
625
+ end
626
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_merge_options-instance_method
627
+ def get_merge_options: (
628
+ repository_name: ::String,
629
+ source_commit_specifier: ::String,
630
+ destination_commit_specifier: ::String,
631
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
632
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE")
633
+ ) -> _GetMergeOptionsResponseSuccess
634
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMergeOptionsResponseSuccess
635
+
636
+ interface _GetPullRequestResponseSuccess
637
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPullRequestOutput]
638
+ def pull_request: () -> Types::PullRequest
639
+ end
640
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_pull_request-instance_method
641
+ def get_pull_request: (
642
+ pull_request_id: ::String
643
+ ) -> _GetPullRequestResponseSuccess
644
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPullRequestResponseSuccess
645
+
646
+ interface _GetPullRequestApprovalStatesResponseSuccess
647
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPullRequestApprovalStatesOutput]
648
+ def approvals: () -> ::Array[Types::Approval]
649
+ end
650
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_pull_request_approval_states-instance_method
651
+ def get_pull_request_approval_states: (
652
+ pull_request_id: ::String,
653
+ revision_id: ::String
654
+ ) -> _GetPullRequestApprovalStatesResponseSuccess
655
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPullRequestApprovalStatesResponseSuccess
656
+
657
+ interface _GetPullRequestOverrideStateResponseSuccess
658
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPullRequestOverrideStateOutput]
659
+ def overridden: () -> bool
660
+ def overrider: () -> ::String
661
+ end
662
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_pull_request_override_state-instance_method
663
+ def get_pull_request_override_state: (
664
+ pull_request_id: ::String,
665
+ revision_id: ::String
666
+ ) -> _GetPullRequestOverrideStateResponseSuccess
667
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPullRequestOverrideStateResponseSuccess
668
+
669
+ interface _GetRepositoryResponseSuccess
670
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryOutput]
671
+ def repository_metadata: () -> Types::RepositoryMetadata
672
+ end
673
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_repository-instance_method
674
+ def get_repository: (
675
+ repository_name: ::String
676
+ ) -> _GetRepositoryResponseSuccess
677
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryResponseSuccess
678
+
679
+ interface _GetRepositoryTriggersResponseSuccess
680
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryTriggersOutput]
681
+ def configuration_id: () -> ::String
682
+ def triggers: () -> ::Array[Types::RepositoryTrigger]
683
+ end
684
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#get_repository_triggers-instance_method
685
+ def get_repository_triggers: (
686
+ repository_name: ::String
687
+ ) -> _GetRepositoryTriggersResponseSuccess
688
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryTriggersResponseSuccess
689
+
690
+ interface _ListApprovalRuleTemplatesResponseSuccess
691
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApprovalRuleTemplatesOutput]
692
+ def approval_rule_template_names: () -> ::Array[::String]
693
+ def next_token: () -> ::String
694
+ end
695
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_approval_rule_templates-instance_method
696
+ def list_approval_rule_templates: (
697
+ ?next_token: ::String,
698
+ ?max_results: ::Integer
699
+ ) -> _ListApprovalRuleTemplatesResponseSuccess
700
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApprovalRuleTemplatesResponseSuccess
701
+
702
+ interface _ListAssociatedApprovalRuleTemplatesForRepositoryResponseSuccess
703
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput]
704
+ def approval_rule_template_names: () -> ::Array[::String]
705
+ def next_token: () -> ::String
706
+ end
707
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_associated_approval_rule_templates_for_repository-instance_method
708
+ def list_associated_approval_rule_templates_for_repository: (
709
+ repository_name: ::String,
710
+ ?next_token: ::String,
711
+ ?max_results: ::Integer
712
+ ) -> _ListAssociatedApprovalRuleTemplatesForRepositoryResponseSuccess
713
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociatedApprovalRuleTemplatesForRepositoryResponseSuccess
714
+
715
+ interface _ListBranchesResponseSuccess
716
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBranchesOutput]
717
+ def branches: () -> ::Array[::String]
718
+ def next_token: () -> ::String
719
+ end
720
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_branches-instance_method
721
+ def list_branches: (
722
+ repository_name: ::String,
723
+ ?next_token: ::String
724
+ ) -> _ListBranchesResponseSuccess
725
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBranchesResponseSuccess
726
+
727
+ interface _ListFileCommitHistoryResponseSuccess
728
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFileCommitHistoryResponse]
729
+ def revision_dag: () -> ::Array[Types::FileVersion]
730
+ def next_token: () -> ::String
731
+ end
732
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_file_commit_history-instance_method
733
+ def list_file_commit_history: (
734
+ repository_name: ::String,
735
+ ?commit_specifier: ::String,
736
+ file_path: ::String,
737
+ ?max_results: ::Integer,
738
+ ?next_token: ::String
739
+ ) -> _ListFileCommitHistoryResponseSuccess
740
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFileCommitHistoryResponseSuccess
741
+
742
+ interface _ListPullRequestsResponseSuccess
743
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPullRequestsOutput]
744
+ def pull_request_ids: () -> ::Array[::String]
745
+ def next_token: () -> ::String
746
+ end
747
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_pull_requests-instance_method
748
+ def list_pull_requests: (
749
+ repository_name: ::String,
750
+ ?author_arn: ::String,
751
+ ?pull_request_status: ("OPEN" | "CLOSED"),
752
+ ?next_token: ::String,
753
+ ?max_results: ::Integer
754
+ ) -> _ListPullRequestsResponseSuccess
755
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPullRequestsResponseSuccess
756
+
757
+ interface _ListRepositoriesResponseSuccess
758
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoriesOutput]
759
+ def repositories: () -> ::Array[Types::RepositoryNameIdPair]
760
+ def next_token: () -> ::String
761
+ end
762
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_repositories-instance_method
763
+ def list_repositories: (
764
+ ?next_token: ::String,
765
+ ?sort_by: ("repositoryName" | "lastModifiedDate"),
766
+ ?order: ("ascending" | "descending")
767
+ ) -> _ListRepositoriesResponseSuccess
768
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoriesResponseSuccess
769
+
770
+ interface _ListRepositoriesForApprovalRuleTemplateResponseSuccess
771
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoriesForApprovalRuleTemplateOutput]
772
+ def repository_names: () -> ::Array[::String]
773
+ def next_token: () -> ::String
774
+ end
775
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_repositories_for_approval_rule_template-instance_method
776
+ def list_repositories_for_approval_rule_template: (
777
+ approval_rule_template_name: ::String,
778
+ ?next_token: ::String,
779
+ ?max_results: ::Integer
780
+ ) -> _ListRepositoriesForApprovalRuleTemplateResponseSuccess
781
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoriesForApprovalRuleTemplateResponseSuccess
782
+
783
+ interface _ListTagsForResourceResponseSuccess
784
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
785
+ def tags: () -> ::Hash[::String, ::String]
786
+ def next_token: () -> ::String
787
+ end
788
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#list_tags_for_resource-instance_method
789
+ def list_tags_for_resource: (
790
+ resource_arn: ::String,
791
+ ?next_token: ::String
792
+ ) -> _ListTagsForResourceResponseSuccess
793
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
794
+
795
+ interface _MergeBranchesByFastForwardResponseSuccess
796
+ include ::Seahorse::Client::_ResponseSuccess[Types::MergeBranchesByFastForwardOutput]
797
+ def commit_id: () -> ::String
798
+ def tree_id: () -> ::String
799
+ end
800
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#merge_branches_by_fast_forward-instance_method
801
+ def merge_branches_by_fast_forward: (
802
+ repository_name: ::String,
803
+ source_commit_specifier: ::String,
804
+ destination_commit_specifier: ::String,
805
+ ?target_branch: ::String
806
+ ) -> _MergeBranchesByFastForwardResponseSuccess
807
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MergeBranchesByFastForwardResponseSuccess
808
+
809
+ interface _MergeBranchesBySquashResponseSuccess
810
+ include ::Seahorse::Client::_ResponseSuccess[Types::MergeBranchesBySquashOutput]
811
+ def commit_id: () -> ::String
812
+ def tree_id: () -> ::String
813
+ end
814
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#merge_branches_by_squash-instance_method
815
+ def merge_branches_by_squash: (
816
+ repository_name: ::String,
817
+ source_commit_specifier: ::String,
818
+ destination_commit_specifier: ::String,
819
+ ?target_branch: ::String,
820
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
821
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
822
+ ?author_name: ::String,
823
+ ?email: ::String,
824
+ ?commit_message: ::String,
825
+ ?keep_empty_folders: bool,
826
+ ?conflict_resolution: {
827
+ replace_contents: Array[
828
+ {
829
+ file_path: ::String,
830
+ replacement_type: ("KEEP_BASE" | "KEEP_SOURCE" | "KEEP_DESTINATION" | "USE_NEW_CONTENT"),
831
+ content: ::String?,
832
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")?
833
+ },
834
+ ]?,
835
+ delete_files: Array[
836
+ {
837
+ file_path: ::String
838
+ },
839
+ ]?,
840
+ set_file_modes: Array[
841
+ {
842
+ file_path: ::String,
843
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")
844
+ },
845
+ ]?
846
+ }
847
+ ) -> _MergeBranchesBySquashResponseSuccess
848
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MergeBranchesBySquashResponseSuccess
849
+
850
+ interface _MergeBranchesByThreeWayResponseSuccess
851
+ include ::Seahorse::Client::_ResponseSuccess[Types::MergeBranchesByThreeWayOutput]
852
+ def commit_id: () -> ::String
853
+ def tree_id: () -> ::String
854
+ end
855
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#merge_branches_by_three_way-instance_method
856
+ def merge_branches_by_three_way: (
857
+ repository_name: ::String,
858
+ source_commit_specifier: ::String,
859
+ destination_commit_specifier: ::String,
860
+ ?target_branch: ::String,
861
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
862
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
863
+ ?author_name: ::String,
864
+ ?email: ::String,
865
+ ?commit_message: ::String,
866
+ ?keep_empty_folders: bool,
867
+ ?conflict_resolution: {
868
+ replace_contents: Array[
869
+ {
870
+ file_path: ::String,
871
+ replacement_type: ("KEEP_BASE" | "KEEP_SOURCE" | "KEEP_DESTINATION" | "USE_NEW_CONTENT"),
872
+ content: ::String?,
873
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")?
874
+ },
875
+ ]?,
876
+ delete_files: Array[
877
+ {
878
+ file_path: ::String
879
+ },
880
+ ]?,
881
+ set_file_modes: Array[
882
+ {
883
+ file_path: ::String,
884
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")
885
+ },
886
+ ]?
887
+ }
888
+ ) -> _MergeBranchesByThreeWayResponseSuccess
889
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MergeBranchesByThreeWayResponseSuccess
890
+
891
+ interface _MergePullRequestByFastForwardResponseSuccess
892
+ include ::Seahorse::Client::_ResponseSuccess[Types::MergePullRequestByFastForwardOutput]
893
+ def pull_request: () -> Types::PullRequest
894
+ end
895
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#merge_pull_request_by_fast_forward-instance_method
896
+ def merge_pull_request_by_fast_forward: (
897
+ pull_request_id: ::String,
898
+ repository_name: ::String,
899
+ ?source_commit_id: ::String
900
+ ) -> _MergePullRequestByFastForwardResponseSuccess
901
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MergePullRequestByFastForwardResponseSuccess
902
+
903
+ interface _MergePullRequestBySquashResponseSuccess
904
+ include ::Seahorse::Client::_ResponseSuccess[Types::MergePullRequestBySquashOutput]
905
+ def pull_request: () -> Types::PullRequest
906
+ end
907
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#merge_pull_request_by_squash-instance_method
908
+ def merge_pull_request_by_squash: (
909
+ pull_request_id: ::String,
910
+ repository_name: ::String,
911
+ ?source_commit_id: ::String,
912
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
913
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
914
+ ?commit_message: ::String,
915
+ ?author_name: ::String,
916
+ ?email: ::String,
917
+ ?keep_empty_folders: bool,
918
+ ?conflict_resolution: {
919
+ replace_contents: Array[
920
+ {
921
+ file_path: ::String,
922
+ replacement_type: ("KEEP_BASE" | "KEEP_SOURCE" | "KEEP_DESTINATION" | "USE_NEW_CONTENT"),
923
+ content: ::String?,
924
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")?
925
+ },
926
+ ]?,
927
+ delete_files: Array[
928
+ {
929
+ file_path: ::String
930
+ },
931
+ ]?,
932
+ set_file_modes: Array[
933
+ {
934
+ file_path: ::String,
935
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")
936
+ },
937
+ ]?
938
+ }
939
+ ) -> _MergePullRequestBySquashResponseSuccess
940
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MergePullRequestBySquashResponseSuccess
941
+
942
+ interface _MergePullRequestByThreeWayResponseSuccess
943
+ include ::Seahorse::Client::_ResponseSuccess[Types::MergePullRequestByThreeWayOutput]
944
+ def pull_request: () -> Types::PullRequest
945
+ end
946
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#merge_pull_request_by_three_way-instance_method
947
+ def merge_pull_request_by_three_way: (
948
+ pull_request_id: ::String,
949
+ repository_name: ::String,
950
+ ?source_commit_id: ::String,
951
+ ?conflict_detail_level: ("FILE_LEVEL" | "LINE_LEVEL"),
952
+ ?conflict_resolution_strategy: ("NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"),
953
+ ?commit_message: ::String,
954
+ ?author_name: ::String,
955
+ ?email: ::String,
956
+ ?keep_empty_folders: bool,
957
+ ?conflict_resolution: {
958
+ replace_contents: Array[
959
+ {
960
+ file_path: ::String,
961
+ replacement_type: ("KEEP_BASE" | "KEEP_SOURCE" | "KEEP_DESTINATION" | "USE_NEW_CONTENT"),
962
+ content: ::String?,
963
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")?
964
+ },
965
+ ]?,
966
+ delete_files: Array[
967
+ {
968
+ file_path: ::String
969
+ },
970
+ ]?,
971
+ set_file_modes: Array[
972
+ {
973
+ file_path: ::String,
974
+ file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK")
975
+ },
976
+ ]?
977
+ }
978
+ ) -> _MergePullRequestByThreeWayResponseSuccess
979
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MergePullRequestByThreeWayResponseSuccess
980
+
981
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#override_pull_request_approval_rules-instance_method
982
+ def override_pull_request_approval_rules: (
983
+ pull_request_id: ::String,
984
+ revision_id: ::String,
985
+ override_status: ("OVERRIDE" | "REVOKE")
986
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
987
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
988
+
989
+ interface _PostCommentForComparedCommitResponseSuccess
990
+ include ::Seahorse::Client::_ResponseSuccess[Types::PostCommentForComparedCommitOutput]
991
+ def repository_name: () -> ::String
992
+ def before_commit_id: () -> ::String
993
+ def after_commit_id: () -> ::String
994
+ def before_blob_id: () -> ::String
995
+ def after_blob_id: () -> ::String
996
+ def location: () -> Types::Location
997
+ def comment: () -> Types::Comment
998
+ end
999
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#post_comment_for_compared_commit-instance_method
1000
+ def post_comment_for_compared_commit: (
1001
+ repository_name: ::String,
1002
+ ?before_commit_id: ::String,
1003
+ after_commit_id: ::String,
1004
+ ?location: {
1005
+ file_path: ::String?,
1006
+ file_position: ::Integer?,
1007
+ relative_file_version: ("BEFORE" | "AFTER")?
1008
+ },
1009
+ content: ::String,
1010
+ ?client_request_token: ::String
1011
+ ) -> _PostCommentForComparedCommitResponseSuccess
1012
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PostCommentForComparedCommitResponseSuccess
1013
+
1014
+ interface _PostCommentForPullRequestResponseSuccess
1015
+ include ::Seahorse::Client::_ResponseSuccess[Types::PostCommentForPullRequestOutput]
1016
+ def repository_name: () -> ::String
1017
+ def pull_request_id: () -> ::String
1018
+ def before_commit_id: () -> ::String
1019
+ def after_commit_id: () -> ::String
1020
+ def before_blob_id: () -> ::String
1021
+ def after_blob_id: () -> ::String
1022
+ def location: () -> Types::Location
1023
+ def comment: () -> Types::Comment
1024
+ end
1025
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#post_comment_for_pull_request-instance_method
1026
+ def post_comment_for_pull_request: (
1027
+ pull_request_id: ::String,
1028
+ repository_name: ::String,
1029
+ before_commit_id: ::String,
1030
+ after_commit_id: ::String,
1031
+ ?location: {
1032
+ file_path: ::String?,
1033
+ file_position: ::Integer?,
1034
+ relative_file_version: ("BEFORE" | "AFTER")?
1035
+ },
1036
+ content: ::String,
1037
+ ?client_request_token: ::String
1038
+ ) -> _PostCommentForPullRequestResponseSuccess
1039
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PostCommentForPullRequestResponseSuccess
1040
+
1041
+ interface _PostCommentReplyResponseSuccess
1042
+ include ::Seahorse::Client::_ResponseSuccess[Types::PostCommentReplyOutput]
1043
+ def comment: () -> Types::Comment
1044
+ end
1045
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#post_comment_reply-instance_method
1046
+ def post_comment_reply: (
1047
+ in_reply_to: ::String,
1048
+ ?client_request_token: ::String,
1049
+ content: ::String
1050
+ ) -> _PostCommentReplyResponseSuccess
1051
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PostCommentReplyResponseSuccess
1052
+
1053
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#put_comment_reaction-instance_method
1054
+ def put_comment_reaction: (
1055
+ comment_id: ::String,
1056
+ reaction_value: ::String
1057
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1058
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1059
+
1060
+ interface _PutFileResponseSuccess
1061
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutFileOutput]
1062
+ def commit_id: () -> ::String
1063
+ def blob_id: () -> ::String
1064
+ def tree_id: () -> ::String
1065
+ end
1066
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#put_file-instance_method
1067
+ def put_file: (
1068
+ repository_name: ::String,
1069
+ branch_name: ::String,
1070
+ file_content: ::String,
1071
+ file_path: ::String,
1072
+ ?file_mode: ("EXECUTABLE" | "NORMAL" | "SYMLINK"),
1073
+ ?parent_commit_id: ::String,
1074
+ ?commit_message: ::String,
1075
+ ?name: ::String,
1076
+ ?email: ::String
1077
+ ) -> _PutFileResponseSuccess
1078
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFileResponseSuccess
1079
+
1080
+ interface _PutRepositoryTriggersResponseSuccess
1081
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutRepositoryTriggersOutput]
1082
+ def configuration_id: () -> ::String
1083
+ end
1084
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#put_repository_triggers-instance_method
1085
+ def put_repository_triggers: (
1086
+ repository_name: ::String,
1087
+ triggers: Array[
1088
+ {
1089
+ name: ::String,
1090
+ destination_arn: ::String,
1091
+ custom_data: ::String?,
1092
+ branches: Array[::String]?,
1093
+ events: Array[("all" | "updateReference" | "createReference" | "deleteReference")]
1094
+ },
1095
+ ]
1096
+ ) -> _PutRepositoryTriggersResponseSuccess
1097
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRepositoryTriggersResponseSuccess
1098
+
1099
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#tag_resource-instance_method
1100
+ def tag_resource: (
1101
+ resource_arn: ::String,
1102
+ tags: Hash[::String, ::String]
1103
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1105
+
1106
+ interface _TestRepositoryTriggersResponseSuccess
1107
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestRepositoryTriggersOutput]
1108
+ def successful_executions: () -> ::Array[::String]
1109
+ def failed_executions: () -> ::Array[Types::RepositoryTriggerExecutionFailure]
1110
+ end
1111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#test_repository_triggers-instance_method
1112
+ def test_repository_triggers: (
1113
+ repository_name: ::String,
1114
+ triggers: Array[
1115
+ {
1116
+ name: ::String,
1117
+ destination_arn: ::String,
1118
+ custom_data: ::String?,
1119
+ branches: Array[::String]?,
1120
+ events: Array[("all" | "updateReference" | "createReference" | "deleteReference")]
1121
+ },
1122
+ ]
1123
+ ) -> _TestRepositoryTriggersResponseSuccess
1124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestRepositoryTriggersResponseSuccess
1125
+
1126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#untag_resource-instance_method
1127
+ def untag_resource: (
1128
+ resource_arn: ::String,
1129
+ tag_keys: Array[::String]
1130
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1132
+
1133
+ interface _UpdateApprovalRuleTemplateContentResponseSuccess
1134
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApprovalRuleTemplateContentOutput]
1135
+ def approval_rule_template: () -> Types::ApprovalRuleTemplate
1136
+ end
1137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_approval_rule_template_content-instance_method
1138
+ def update_approval_rule_template_content: (
1139
+ approval_rule_template_name: ::String,
1140
+ new_rule_content: ::String,
1141
+ ?existing_rule_content_sha_256: ::String
1142
+ ) -> _UpdateApprovalRuleTemplateContentResponseSuccess
1143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApprovalRuleTemplateContentResponseSuccess
1144
+
1145
+ interface _UpdateApprovalRuleTemplateDescriptionResponseSuccess
1146
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApprovalRuleTemplateDescriptionOutput]
1147
+ def approval_rule_template: () -> Types::ApprovalRuleTemplate
1148
+ end
1149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_approval_rule_template_description-instance_method
1150
+ def update_approval_rule_template_description: (
1151
+ approval_rule_template_name: ::String,
1152
+ approval_rule_template_description: ::String
1153
+ ) -> _UpdateApprovalRuleTemplateDescriptionResponseSuccess
1154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApprovalRuleTemplateDescriptionResponseSuccess
1155
+
1156
+ interface _UpdateApprovalRuleTemplateNameResponseSuccess
1157
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApprovalRuleTemplateNameOutput]
1158
+ def approval_rule_template: () -> Types::ApprovalRuleTemplate
1159
+ end
1160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_approval_rule_template_name-instance_method
1161
+ def update_approval_rule_template_name: (
1162
+ old_approval_rule_template_name: ::String,
1163
+ new_approval_rule_template_name: ::String
1164
+ ) -> _UpdateApprovalRuleTemplateNameResponseSuccess
1165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApprovalRuleTemplateNameResponseSuccess
1166
+
1167
+ interface _UpdateCommentResponseSuccess
1168
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCommentOutput]
1169
+ def comment: () -> Types::Comment
1170
+ end
1171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_comment-instance_method
1172
+ def update_comment: (
1173
+ comment_id: ::String,
1174
+ content: ::String
1175
+ ) -> _UpdateCommentResponseSuccess
1176
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCommentResponseSuccess
1177
+
1178
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_default_branch-instance_method
1179
+ def update_default_branch: (
1180
+ repository_name: ::String,
1181
+ default_branch_name: ::String
1182
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1184
+
1185
+ interface _UpdatePullRequestApprovalRuleContentResponseSuccess
1186
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePullRequestApprovalRuleContentOutput]
1187
+ def approval_rule: () -> Types::ApprovalRule
1188
+ end
1189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_pull_request_approval_rule_content-instance_method
1190
+ def update_pull_request_approval_rule_content: (
1191
+ pull_request_id: ::String,
1192
+ approval_rule_name: ::String,
1193
+ ?existing_rule_content_sha_256: ::String,
1194
+ new_rule_content: ::String
1195
+ ) -> _UpdatePullRequestApprovalRuleContentResponseSuccess
1196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePullRequestApprovalRuleContentResponseSuccess
1197
+
1198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_pull_request_approval_state-instance_method
1199
+ def update_pull_request_approval_state: (
1200
+ pull_request_id: ::String,
1201
+ revision_id: ::String,
1202
+ approval_state: ("APPROVE" | "REVOKE")
1203
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1205
+
1206
+ interface _UpdatePullRequestDescriptionResponseSuccess
1207
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePullRequestDescriptionOutput]
1208
+ def pull_request: () -> Types::PullRequest
1209
+ end
1210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_pull_request_description-instance_method
1211
+ def update_pull_request_description: (
1212
+ pull_request_id: ::String,
1213
+ description: ::String
1214
+ ) -> _UpdatePullRequestDescriptionResponseSuccess
1215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePullRequestDescriptionResponseSuccess
1216
+
1217
+ interface _UpdatePullRequestStatusResponseSuccess
1218
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePullRequestStatusOutput]
1219
+ def pull_request: () -> Types::PullRequest
1220
+ end
1221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_pull_request_status-instance_method
1222
+ def update_pull_request_status: (
1223
+ pull_request_id: ::String,
1224
+ pull_request_status: ("OPEN" | "CLOSED")
1225
+ ) -> _UpdatePullRequestStatusResponseSuccess
1226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePullRequestStatusResponseSuccess
1227
+
1228
+ interface _UpdatePullRequestTitleResponseSuccess
1229
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePullRequestTitleOutput]
1230
+ def pull_request: () -> Types::PullRequest
1231
+ end
1232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_pull_request_title-instance_method
1233
+ def update_pull_request_title: (
1234
+ pull_request_id: ::String,
1235
+ title: ::String
1236
+ ) -> _UpdatePullRequestTitleResponseSuccess
1237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePullRequestTitleResponseSuccess
1238
+
1239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_repository_description-instance_method
1240
+ def update_repository_description: (
1241
+ repository_name: ::String,
1242
+ ?repository_description: ::String
1243
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1245
+
1246
+ interface _UpdateRepositoryEncryptionKeyResponseSuccess
1247
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRepositoryEncryptionKeyOutput]
1248
+ def repository_id: () -> ::String
1249
+ def kms_key_id: () -> ::String
1250
+ def original_kms_key_id: () -> ::String
1251
+ end
1252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_repository_encryption_key-instance_method
1253
+ def update_repository_encryption_key: (
1254
+ repository_name: ::String,
1255
+ kms_key_id: ::String
1256
+ ) -> _UpdateRepositoryEncryptionKeyResponseSuccess
1257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRepositoryEncryptionKeyResponseSuccess
1258
+
1259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeCommit/Client.html#update_repository_name-instance_method
1260
+ def update_repository_name: (
1261
+ old_name: ::String,
1262
+ new_name: ::String
1263
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1264
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1265
+ end
1266
+ end
1267
+ end
1268
+