aws-sdk-codegurureviewer 1.44.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67e4d730d66e35c04d860d019ea084f4e39ad38f865c44089e772e9a1b305b7b
4
- data.tar.gz: ff96490ec09bb66ada4b25f71665625960637fed79224ed47523ac0d2e24fa82
3
+ metadata.gz: 66159b1c026c99e9d110b3c4191eb1cbcb23875af4faa173bb1669bf9966d890
4
+ data.tar.gz: bb781e724b8e8ae289e63b4c81dedfe63e9c2b9123f4ff808b149b2487835bb5
5
5
  SHA512:
6
- metadata.gz: 1781d8546921941e9f276a7bf3ecbc59e0679a342913f1f261efcfbea032ce0de150877275487ac1616c82aa59e84fea85739bbf44cf060e96745558c97eca10
7
- data.tar.gz: eb17d0d3b03178c4476fa06f58a149efa56cba523081da5e3e312a589aca208ab53f10e972a84e2e520778c745f1942960b4ea978827885bb7a770361b79b7e6
6
+ metadata.gz: 5614608da2fa8bdfb88a0c50071acb80575c3ee5d7cb2cfd7284d1c7ced1c0cdfa1df13a1a867dfe23a59db41024e6ad799b76d3e6ee804a2168789997a85cde
7
+ data.tar.gz: 526acc991cfe22befbc2e465b81bd320c083dd29d5d1d8a024d68d56cb5ce1d55817dbf5bda19e528af8f838e1f093e4e43332fc415c4bd15d03e24b4f071313
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.44.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.45.0
@@ -1432,7 +1432,7 @@ module Aws::CodeGuruReviewer
1432
1432
  params: params,
1433
1433
  config: config)
1434
1434
  context[:gem_name] = 'aws-sdk-codegurureviewer'
1435
- context[:gem_version] = '1.44.0'
1435
+ context[:gem_version] = '1.45.0'
1436
1436
  Seahorse::Client::Request.new(handlers, context)
1437
1437
  end
1438
1438
 
@@ -14,6 +14,7 @@ module Aws::CodeGuruReviewer
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CodeGuruReviewer::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-codegurureviewer/customizations'
53
53
  # @!group service
54
54
  module Aws::CodeGuruReviewer
55
55
 
56
- GEM_VERSION = '1.44.0'
56
+ GEM_VERSION = '1.45.0'
57
57
 
58
58
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,320 @@
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 CodeGuruReviewer
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _AssociateRepositoryResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateRepositoryResponse]
77
+ def repository_association: () -> Types::RepositoryAssociation
78
+ def tags: () -> ::Hash[::String, ::String]
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#associate_repository-instance_method
81
+ def associate_repository: (
82
+ repository: {
83
+ code_commit: {
84
+ name: ::String
85
+ }?,
86
+ bitbucket: {
87
+ name: ::String,
88
+ connection_arn: ::String,
89
+ owner: ::String
90
+ }?,
91
+ git_hub_enterprise_server: {
92
+ name: ::String,
93
+ connection_arn: ::String,
94
+ owner: ::String
95
+ }?,
96
+ s3_bucket: {
97
+ name: ::String,
98
+ bucket_name: ::String
99
+ }?
100
+ },
101
+ ?client_request_token: ::String,
102
+ ?tags: Hash[::String, ::String],
103
+ ?kms_key_details: {
104
+ kms_key_id: ::String?,
105
+ encryption_option: ("AWS_OWNED_CMK" | "CUSTOMER_MANAGED_CMK")?
106
+ }
107
+ ) -> _AssociateRepositoryResponseSuccess
108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateRepositoryResponseSuccess
109
+
110
+ interface _CreateCodeReviewResponseSuccess
111
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCodeReviewResponse]
112
+ def code_review: () -> Types::CodeReview
113
+ end
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#create_code_review-instance_method
115
+ def create_code_review: (
116
+ name: ::String,
117
+ repository_association_arn: ::String,
118
+ type: {
119
+ repository_analysis: {
120
+ repository_head: {
121
+ branch_name: ::String
122
+ }?,
123
+ source_code_type: {
124
+ commit_diff: {
125
+ source_commit: ::String?,
126
+ destination_commit: ::String?,
127
+ merge_base_commit: ::String?
128
+ }?,
129
+ repository_head: {
130
+ branch_name: ::String
131
+ }?,
132
+ branch_diff: {
133
+ source_branch_name: ::String,
134
+ destination_branch_name: ::String
135
+ }?,
136
+ s3_bucket_repository: {
137
+ name: ::String,
138
+ details: {
139
+ bucket_name: ::String?,
140
+ code_artifacts: {
141
+ source_code_artifacts_object_key: ::String,
142
+ build_artifacts_object_key: ::String?
143
+ }?
144
+ }?
145
+ }?,
146
+ request_metadata: {
147
+ request_id: ::String?,
148
+ requester: ::String?,
149
+ event_info: {
150
+ name: ::String?,
151
+ state: ::String?
152
+ }?,
153
+ vendor_name: ("GitHub" | "GitLab" | "NativeS3")?
154
+ }?
155
+ }?
156
+ },
157
+ analysis_types: Array[("Security" | "CodeQuality")]?
158
+ },
159
+ ?client_request_token: ::String
160
+ ) -> _CreateCodeReviewResponseSuccess
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeReviewResponseSuccess
162
+
163
+ interface _DescribeCodeReviewResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCodeReviewResponse]
165
+ def code_review: () -> Types::CodeReview
166
+ end
167
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#describe_code_review-instance_method
168
+ def describe_code_review: (
169
+ code_review_arn: ::String
170
+ ) -> _DescribeCodeReviewResponseSuccess
171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCodeReviewResponseSuccess
172
+
173
+ interface _DescribeRecommendationFeedbackResponseSuccess
174
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRecommendationFeedbackResponse]
175
+ def recommendation_feedback: () -> Types::RecommendationFeedback
176
+ end
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#describe_recommendation_feedback-instance_method
178
+ def describe_recommendation_feedback: (
179
+ code_review_arn: ::String,
180
+ recommendation_id: ::String,
181
+ ?user_id: ::String
182
+ ) -> _DescribeRecommendationFeedbackResponseSuccess
183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRecommendationFeedbackResponseSuccess
184
+
185
+ interface _DescribeRepositoryAssociationResponseSuccess
186
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRepositoryAssociationResponse]
187
+ def repository_association: () -> Types::RepositoryAssociation
188
+ def tags: () -> ::Hash[::String, ::String]
189
+ end
190
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#describe_repository_association-instance_method
191
+ def describe_repository_association: (
192
+ association_arn: ::String
193
+ ) -> _DescribeRepositoryAssociationResponseSuccess
194
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoryAssociationResponseSuccess
195
+
196
+ interface _DisassociateRepositoryResponseSuccess
197
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateRepositoryResponse]
198
+ def repository_association: () -> Types::RepositoryAssociation
199
+ def tags: () -> ::Hash[::String, ::String]
200
+ end
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#disassociate_repository-instance_method
202
+ def disassociate_repository: (
203
+ association_arn: ::String
204
+ ) -> _DisassociateRepositoryResponseSuccess
205
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateRepositoryResponseSuccess
206
+
207
+ interface _ListCodeReviewsResponseSuccess
208
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeReviewsResponse]
209
+ def code_review_summaries: () -> ::Array[Types::CodeReviewSummary]
210
+ def next_token: () -> ::String
211
+ end
212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#list_code_reviews-instance_method
213
+ def list_code_reviews: (
214
+ ?provider_types: Array[("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")],
215
+ ?states: Array[("Completed" | "Pending" | "Failed" | "Deleting")],
216
+ ?repository_names: Array[::String],
217
+ type: ("PullRequest" | "RepositoryAnalysis"),
218
+ ?max_results: ::Integer,
219
+ ?next_token: ::String
220
+ ) -> _ListCodeReviewsResponseSuccess
221
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeReviewsResponseSuccess
222
+
223
+ interface _ListRecommendationFeedbackResponseSuccess
224
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationFeedbackResponse]
225
+ def recommendation_feedback_summaries: () -> ::Array[Types::RecommendationFeedbackSummary]
226
+ def next_token: () -> ::String
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#list_recommendation_feedback-instance_method
229
+ def list_recommendation_feedback: (
230
+ ?next_token: ::String,
231
+ ?max_results: ::Integer,
232
+ code_review_arn: ::String,
233
+ ?user_ids: Array[::String],
234
+ ?recommendation_ids: Array[::String]
235
+ ) -> _ListRecommendationFeedbackResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecommendationFeedbackResponseSuccess
237
+
238
+ interface _ListRecommendationsResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationsResponse]
240
+ def recommendation_summaries: () -> ::Array[Types::RecommendationSummary]
241
+ def next_token: () -> ::String
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#list_recommendations-instance_method
244
+ def list_recommendations: (
245
+ ?next_token: ::String,
246
+ ?max_results: ::Integer,
247
+ code_review_arn: ::String
248
+ ) -> _ListRecommendationsResponseSuccess
249
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecommendationsResponseSuccess
250
+
251
+ interface _ListRepositoryAssociationsResponseSuccess
252
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoryAssociationsResponse]
253
+ def repository_association_summaries: () -> ::Array[Types::RepositoryAssociationSummary]
254
+ def next_token: () -> ::String
255
+ end
256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#list_repository_associations-instance_method
257
+ def list_repository_associations: (
258
+ ?provider_types: Array[("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")],
259
+ ?states: Array[("Associated" | "Associating" | "Failed" | "Disassociating" | "Disassociated")],
260
+ ?names: Array[::String],
261
+ ?owners: Array[::String],
262
+ ?max_results: ::Integer,
263
+ ?next_token: ::String
264
+ ) -> _ListRepositoryAssociationsResponseSuccess
265
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoryAssociationsResponseSuccess
266
+
267
+ interface _ListTagsForResourceResponseSuccess
268
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
269
+ def tags: () -> ::Hash[::String, ::String]
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#list_tags_for_resource-instance_method
272
+ def list_tags_for_resource: (
273
+ resource_arn: ::String
274
+ ) -> _ListTagsForResourceResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
276
+
277
+ interface _PutRecommendationFeedbackResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutRecommendationFeedbackResponse]
279
+ end
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#put_recommendation_feedback-instance_method
281
+ def put_recommendation_feedback: (
282
+ code_review_arn: ::String,
283
+ recommendation_id: ::String,
284
+ reactions: Array[("ThumbsUp" | "ThumbsDown")]
285
+ ) -> _PutRecommendationFeedbackResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRecommendationFeedbackResponseSuccess
287
+
288
+ interface _TagResourceResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#tag_resource-instance_method
292
+ def tag_resource: (
293
+ resource_arn: ::String,
294
+ tags: Hash[::String, ::String]
295
+ ) -> _TagResourceResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
297
+
298
+ interface _UntagResourceResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
300
+ end
301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#untag_resource-instance_method
302
+ def untag_resource: (
303
+ resource_arn: ::String,
304
+ tag_keys: Array[::String]
305
+ ) -> _UntagResourceResponseSuccess
306
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
307
+
308
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Client.html#wait_until-instance_method
309
+ def wait_until: (:code_review_completed waiter_name,
310
+ code_review_arn: ::String
311
+ ) -> Client::_DescribeCodeReviewResponseSuccess
312
+ | (:code_review_completed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeCodeReviewResponseSuccess
313
+ | (:repository_association_succeeded waiter_name,
314
+ association_arn: ::String
315
+ ) -> Client::_DescribeRepositoryAssociationResponseSuccess
316
+ | (:repository_association_succeeded waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeRepositoryAssociationResponseSuccess
317
+ end
318
+ end
319
+ end
320
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,37 @@
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 CodeGuruReviewer
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServerException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class NotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ThrottlingException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ValidationException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ end
36
+ end
37
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
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 CodeGuruReviewer
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeGuruReviewer/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,434 @@
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::CodeGuruReviewer
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AssociateRepositoryRequest
17
+ attr_accessor repository: Types::Repository
18
+ attr_accessor client_request_token: ::String
19
+ attr_accessor tags: ::Hash[::String, ::String]
20
+ attr_accessor kms_key_details: Types::KMSKeyDetails
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class AssociateRepositoryResponse
25
+ attr_accessor repository_association: Types::RepositoryAssociation
26
+ attr_accessor tags: ::Hash[::String, ::String]
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class BranchDiffSourceCodeType
31
+ attr_accessor source_branch_name: ::String
32
+ attr_accessor destination_branch_name: ::String
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class CodeArtifacts
37
+ attr_accessor source_code_artifacts_object_key: ::String
38
+ attr_accessor build_artifacts_object_key: ::String
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class CodeCommitRepository
43
+ attr_accessor name: ::String
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class CodeReview
48
+ attr_accessor name: ::String
49
+ attr_accessor code_review_arn: ::String
50
+ attr_accessor repository_name: ::String
51
+ attr_accessor owner: ::String
52
+ attr_accessor provider_type: ("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")
53
+ attr_accessor state: ("Completed" | "Pending" | "Failed" | "Deleting")
54
+ attr_accessor state_reason: ::String
55
+ attr_accessor created_time_stamp: ::Time
56
+ attr_accessor last_updated_time_stamp: ::Time
57
+ attr_accessor type: ("PullRequest" | "RepositoryAnalysis")
58
+ attr_accessor pull_request_id: ::String
59
+ attr_accessor source_code_type: Types::SourceCodeType
60
+ attr_accessor association_arn: ::String
61
+ attr_accessor metrics: Types::Metrics
62
+ attr_accessor analysis_types: ::Array[("Security" | "CodeQuality")]
63
+ attr_accessor config_file_state: ("Present" | "Absent" | "PresentWithErrors")
64
+ SENSITIVE: []
65
+ end
66
+
67
+ class CodeReviewSummary
68
+ attr_accessor name: ::String
69
+ attr_accessor code_review_arn: ::String
70
+ attr_accessor repository_name: ::String
71
+ attr_accessor owner: ::String
72
+ attr_accessor provider_type: ("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")
73
+ attr_accessor state: ("Completed" | "Pending" | "Failed" | "Deleting")
74
+ attr_accessor created_time_stamp: ::Time
75
+ attr_accessor last_updated_time_stamp: ::Time
76
+ attr_accessor type: ("PullRequest" | "RepositoryAnalysis")
77
+ attr_accessor pull_request_id: ::String
78
+ attr_accessor metrics_summary: Types::MetricsSummary
79
+ attr_accessor source_code_type: Types::SourceCodeType
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class CodeReviewType
84
+ attr_accessor repository_analysis: Types::RepositoryAnalysis
85
+ attr_accessor analysis_types: ::Array[("Security" | "CodeQuality")]
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class CommitDiffSourceCodeType
90
+ attr_accessor source_commit: ::String
91
+ attr_accessor destination_commit: ::String
92
+ attr_accessor merge_base_commit: ::String
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class ConflictException
97
+ attr_accessor message: ::String
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class CreateCodeReviewRequest
102
+ attr_accessor name: ::String
103
+ attr_accessor repository_association_arn: ::String
104
+ attr_accessor type: Types::CodeReviewType
105
+ attr_accessor client_request_token: ::String
106
+ SENSITIVE: []
107
+ end
108
+
109
+ class CreateCodeReviewResponse
110
+ attr_accessor code_review: Types::CodeReview
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class DescribeCodeReviewRequest
115
+ attr_accessor code_review_arn: ::String
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class DescribeCodeReviewResponse
120
+ attr_accessor code_review: Types::CodeReview
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class DescribeRecommendationFeedbackRequest
125
+ attr_accessor code_review_arn: ::String
126
+ attr_accessor recommendation_id: ::String
127
+ attr_accessor user_id: ::String
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class DescribeRecommendationFeedbackResponse
132
+ attr_accessor recommendation_feedback: Types::RecommendationFeedback
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class DescribeRepositoryAssociationRequest
137
+ attr_accessor association_arn: ::String
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class DescribeRepositoryAssociationResponse
142
+ attr_accessor repository_association: Types::RepositoryAssociation
143
+ attr_accessor tags: ::Hash[::String, ::String]
144
+ SENSITIVE: []
145
+ end
146
+
147
+ class DisassociateRepositoryRequest
148
+ attr_accessor association_arn: ::String
149
+ SENSITIVE: []
150
+ end
151
+
152
+ class DisassociateRepositoryResponse
153
+ attr_accessor repository_association: Types::RepositoryAssociation
154
+ attr_accessor tags: ::Hash[::String, ::String]
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class EventInfo
159
+ attr_accessor name: ::String
160
+ attr_accessor state: ::String
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class InternalServerException
165
+ attr_accessor message: ::String
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class KMSKeyDetails
170
+ attr_accessor kms_key_id: ::String
171
+ attr_accessor encryption_option: ("AWS_OWNED_CMK" | "CUSTOMER_MANAGED_CMK")
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class ListCodeReviewsRequest
176
+ attr_accessor provider_types: ::Array[("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")]
177
+ attr_accessor states: ::Array[("Completed" | "Pending" | "Failed" | "Deleting")]
178
+ attr_accessor repository_names: ::Array[::String]
179
+ attr_accessor type: ("PullRequest" | "RepositoryAnalysis")
180
+ attr_accessor max_results: ::Integer
181
+ attr_accessor next_token: ::String
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class ListCodeReviewsResponse
186
+ attr_accessor code_review_summaries: ::Array[Types::CodeReviewSummary]
187
+ attr_accessor next_token: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class ListRecommendationFeedbackRequest
192
+ attr_accessor next_token: ::String
193
+ attr_accessor max_results: ::Integer
194
+ attr_accessor code_review_arn: ::String
195
+ attr_accessor user_ids: ::Array[::String]
196
+ attr_accessor recommendation_ids: ::Array[::String]
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class ListRecommendationFeedbackResponse
201
+ attr_accessor recommendation_feedback_summaries: ::Array[Types::RecommendationFeedbackSummary]
202
+ attr_accessor next_token: ::String
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class ListRecommendationsRequest
207
+ attr_accessor next_token: ::String
208
+ attr_accessor max_results: ::Integer
209
+ attr_accessor code_review_arn: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class ListRecommendationsResponse
214
+ attr_accessor recommendation_summaries: ::Array[Types::RecommendationSummary]
215
+ attr_accessor next_token: ::String
216
+ SENSITIVE: []
217
+ end
218
+
219
+ class ListRepositoryAssociationsRequest
220
+ attr_accessor provider_types: ::Array[("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")]
221
+ attr_accessor states: ::Array[("Associated" | "Associating" | "Failed" | "Disassociating" | "Disassociated")]
222
+ attr_accessor names: ::Array[::String]
223
+ attr_accessor owners: ::Array[::String]
224
+ attr_accessor max_results: ::Integer
225
+ attr_accessor next_token: ::String
226
+ SENSITIVE: []
227
+ end
228
+
229
+ class ListRepositoryAssociationsResponse
230
+ attr_accessor repository_association_summaries: ::Array[Types::RepositoryAssociationSummary]
231
+ attr_accessor next_token: ::String
232
+ SENSITIVE: []
233
+ end
234
+
235
+ class ListTagsForResourceRequest
236
+ attr_accessor resource_arn: ::String
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class ListTagsForResourceResponse
241
+ attr_accessor tags: ::Hash[::String, ::String]
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class Metrics
246
+ attr_accessor metered_lines_of_code_count: ::Integer
247
+ attr_accessor suppressed_lines_of_code_count: ::Integer
248
+ attr_accessor findings_count: ::Integer
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class MetricsSummary
253
+ attr_accessor metered_lines_of_code_count: ::Integer
254
+ attr_accessor suppressed_lines_of_code_count: ::Integer
255
+ attr_accessor findings_count: ::Integer
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class NotFoundException
260
+ attr_accessor message: ::String
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class PutRecommendationFeedbackRequest
265
+ attr_accessor code_review_arn: ::String
266
+ attr_accessor recommendation_id: ::String
267
+ attr_accessor reactions: ::Array[("ThumbsUp" | "ThumbsDown")]
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class PutRecommendationFeedbackResponse < Aws::EmptyStructure
272
+ end
273
+
274
+ class RecommendationFeedback
275
+ attr_accessor code_review_arn: ::String
276
+ attr_accessor recommendation_id: ::String
277
+ attr_accessor reactions: ::Array[("ThumbsUp" | "ThumbsDown")]
278
+ attr_accessor user_id: ::String
279
+ attr_accessor created_time_stamp: ::Time
280
+ attr_accessor last_updated_time_stamp: ::Time
281
+ SENSITIVE: []
282
+ end
283
+
284
+ class RecommendationFeedbackSummary
285
+ attr_accessor recommendation_id: ::String
286
+ attr_accessor reactions: ::Array[("ThumbsUp" | "ThumbsDown")]
287
+ attr_accessor user_id: ::String
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class RecommendationSummary
292
+ attr_accessor file_path: ::String
293
+ attr_accessor recommendation_id: ::String
294
+ attr_accessor start_line: ::Integer
295
+ attr_accessor end_line: ::Integer
296
+ attr_accessor description: ::String
297
+ attr_accessor recommendation_category: ("AWSBestPractices" | "AWSCloudFormationIssues" | "DuplicateCode" | "CodeMaintenanceIssues" | "ConcurrencyIssues" | "InputValidations" | "PythonBestPractices" | "JavaBestPractices" | "ResourceLeaks" | "SecurityIssues" | "CodeInconsistencies")
298
+ attr_accessor rule_metadata: Types::RuleMetadata
299
+ attr_accessor severity: ("Info" | "Low" | "Medium" | "High" | "Critical")
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class Repository
304
+ attr_accessor code_commit: Types::CodeCommitRepository
305
+ attr_accessor bitbucket: Types::ThirdPartySourceRepository
306
+ attr_accessor git_hub_enterprise_server: Types::ThirdPartySourceRepository
307
+ attr_accessor s3_bucket: Types::S3Repository
308
+ SENSITIVE: []
309
+ end
310
+
311
+ class RepositoryAnalysis
312
+ attr_accessor repository_head: Types::RepositoryHeadSourceCodeType
313
+ attr_accessor source_code_type: Types::SourceCodeType
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class RepositoryAssociation
318
+ attr_accessor association_id: ::String
319
+ attr_accessor association_arn: ::String
320
+ attr_accessor connection_arn: ::String
321
+ attr_accessor name: ::String
322
+ attr_accessor owner: ::String
323
+ attr_accessor provider_type: ("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")
324
+ attr_accessor state: ("Associated" | "Associating" | "Failed" | "Disassociating" | "Disassociated")
325
+ attr_accessor state_reason: ::String
326
+ attr_accessor last_updated_time_stamp: ::Time
327
+ attr_accessor created_time_stamp: ::Time
328
+ attr_accessor kms_key_details: Types::KMSKeyDetails
329
+ attr_accessor s3_repository_details: Types::S3RepositoryDetails
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class RepositoryAssociationSummary
334
+ attr_accessor association_arn: ::String
335
+ attr_accessor connection_arn: ::String
336
+ attr_accessor last_updated_time_stamp: ::Time
337
+ attr_accessor association_id: ::String
338
+ attr_accessor name: ::String
339
+ attr_accessor owner: ::String
340
+ attr_accessor provider_type: ("CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket")
341
+ attr_accessor state: ("Associated" | "Associating" | "Failed" | "Disassociating" | "Disassociated")
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class RepositoryHeadSourceCodeType
346
+ attr_accessor branch_name: ::String
347
+ SENSITIVE: []
348
+ end
349
+
350
+ class RequestMetadata
351
+ attr_accessor request_id: ::String
352
+ attr_accessor requester: ::String
353
+ attr_accessor event_info: Types::EventInfo
354
+ attr_accessor vendor_name: ("GitHub" | "GitLab" | "NativeS3")
355
+ SENSITIVE: []
356
+ end
357
+
358
+ class ResourceNotFoundException
359
+ attr_accessor message: ::String
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class RuleMetadata
364
+ attr_accessor rule_id: ::String
365
+ attr_accessor rule_name: ::String
366
+ attr_accessor short_description: ::String
367
+ attr_accessor long_description: ::String
368
+ attr_accessor rule_tags: ::Array[::String]
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class S3BucketRepository
373
+ attr_accessor name: ::String
374
+ attr_accessor details: Types::S3RepositoryDetails
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class S3Repository
379
+ attr_accessor name: ::String
380
+ attr_accessor bucket_name: ::String
381
+ SENSITIVE: []
382
+ end
383
+
384
+ class S3RepositoryDetails
385
+ attr_accessor bucket_name: ::String
386
+ attr_accessor code_artifacts: Types::CodeArtifacts
387
+ SENSITIVE: []
388
+ end
389
+
390
+ class SourceCodeType
391
+ attr_accessor commit_diff: Types::CommitDiffSourceCodeType
392
+ attr_accessor repository_head: Types::RepositoryHeadSourceCodeType
393
+ attr_accessor branch_diff: Types::BranchDiffSourceCodeType
394
+ attr_accessor s3_bucket_repository: Types::S3BucketRepository
395
+ attr_accessor request_metadata: Types::RequestMetadata
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class TagResourceRequest
400
+ attr_accessor resource_arn: ::String
401
+ attr_accessor tags: ::Hash[::String, ::String]
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class TagResourceResponse < Aws::EmptyStructure
406
+ end
407
+
408
+ class ThirdPartySourceRepository
409
+ attr_accessor name: ::String
410
+ attr_accessor connection_arn: ::String
411
+ attr_accessor owner: ::String
412
+ SENSITIVE: []
413
+ end
414
+
415
+ class ThrottlingException
416
+ attr_accessor message: ::String
417
+ SENSITIVE: []
418
+ end
419
+
420
+ class UntagResourceRequest
421
+ attr_accessor resource_arn: ::String
422
+ attr_accessor tag_keys: ::Array[::String]
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class UntagResourceResponse < Aws::EmptyStructure
427
+ end
428
+
429
+ class ValidationException
430
+ attr_accessor message: ::String
431
+ SENSITIVE: []
432
+ end
433
+ end
434
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,33 @@
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 CodeGuruReviewer
10
+ module Waiters
11
+
12
+ class CodeReviewCompleted
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ code_review_arn: ::String
18
+ ) -> Client::_DescribeCodeReviewResponseSuccess
19
+ | (Hash[Symbol, untyped]) -> Client::_DescribeCodeReviewResponseSuccess
20
+ end
21
+
22
+ class RepositoryAssociationSucceeded
23
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
24
+ | (?Hash[Symbol, untyped]) -> void
25
+
26
+ def wait: (
27
+ association_arn: ::String
28
+ ) -> Client::_DescribeRepositoryAssociationResponseSuccess
29
+ | (Hash[Symbol, untyped]) -> Client::_DescribeRepositoryAssociationResponseSuccess
30
+ end
31
+ end
32
+ end
33
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codegurureviewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.191.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -67,13 +67,18 @@ files:
67
67
  - lib/aws-sdk-codegurureviewer/resource.rb
68
68
  - lib/aws-sdk-codegurureviewer/types.rb
69
69
  - lib/aws-sdk-codegurureviewer/waiters.rb
70
+ - sig/client.rbs
71
+ - sig/errors.rbs
72
+ - sig/resource.rbs
73
+ - sig/types.rbs
74
+ - sig/waiters.rbs
70
75
  homepage: https://github.com/aws/aws-sdk-ruby
71
76
  licenses:
72
77
  - Apache-2.0
73
78
  metadata:
74
79
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurureviewer
75
80
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurureviewer/CHANGELOG.md
76
- post_install_message:
81
+ post_install_message:
77
82
  rdoc_options: []
78
83
  require_paths:
79
84
  - lib
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
93
  - !ruby/object:Gem::Version
89
94
  version: '0'
90
95
  requirements: []
91
- rubygems_version: 3.1.6
92
- signing_key:
96
+ rubygems_version: 3.4.10
97
+ signing_key:
93
98
  specification_version: 4
94
99
  summary: AWS SDK for Ruby - CodeGuruReviewer
95
100
  test_files: []