aws-sdk-codegurureviewer 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c859d91c827aced1f0ff5276fb0fc18a79ea38d9
4
+ data.tar.gz: 9418dbf978247a9ba51fa53e96634f430b24f73b
5
+ SHA512:
6
+ metadata.gz: 211f98104a59f111df3fdb3e7847d2ed9d920942bdbbad5db9fee54b47c4f8d4a761f118bc8e06410b2d47a008ea3863c2a3d81ab645e5aa4ea9917b9cff71ff
7
+ data.tar.gz: e5c725c94217a3a9f6b72045bd6be17b199b48ce96e9bc5d4880076f1943d1b83214a3b41c5f2d71361d880e261bd7112b1c9ff4d22ee8af759d6d7d8f61fcae
@@ -0,0 +1,47 @@
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/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ require 'aws-sdk-core'
9
+ require 'aws-sigv4'
10
+
11
+ require_relative 'aws-sdk-codegurureviewer/types'
12
+ require_relative 'aws-sdk-codegurureviewer/client_api'
13
+ require_relative 'aws-sdk-codegurureviewer/client'
14
+ require_relative 'aws-sdk-codegurureviewer/errors'
15
+ require_relative 'aws-sdk-codegurureviewer/resource'
16
+ require_relative 'aws-sdk-codegurureviewer/customizations'
17
+
18
+ # This module provides support for Amazon CodeGuru Reviewer. This module is available in the
19
+ # `aws-sdk-codegurureviewer` gem.
20
+ #
21
+ # # Client
22
+ #
23
+ # The {Client} class provides one method for each API operation. Operation
24
+ # methods each accept a hash of request parameters and return a response
25
+ # structure.
26
+ #
27
+ # See {Client} for more information.
28
+ #
29
+ # # Errors
30
+ #
31
+ # Errors returned from Amazon CodeGuru Reviewer all
32
+ # extend {Errors::ServiceError}.
33
+ #
34
+ # begin
35
+ # # do stuff
36
+ # rescue Aws::CodeGuruReviewer::Errors::ServiceError
37
+ # # rescues all service API errors
38
+ # end
39
+ #
40
+ # See {Errors} for more information.
41
+ #
42
+ # @service
43
+ module Aws::CodeGuruReviewer
44
+
45
+ GEM_VERSION = '1.0.0'
46
+
47
+ end
@@ -0,0 +1,519 @@
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/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ require 'seahorse/client/plugins/content_length.rb'
9
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
10
+ require 'aws-sdk-core/plugins/logging.rb'
11
+ require 'aws-sdk-core/plugins/param_converter.rb'
12
+ require 'aws-sdk-core/plugins/param_validator.rb'
13
+ require 'aws-sdk-core/plugins/user_agent.rb'
14
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
+ require 'aws-sdk-core/plugins/retry_errors.rb'
16
+ require 'aws-sdk-core/plugins/global_configuration.rb'
17
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
19
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
20
+ require 'aws-sdk-core/plugins/response_paging.rb'
21
+ require 'aws-sdk-core/plugins/stub_responses.rb'
22
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
23
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/signature_v4.rb'
28
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
+
30
+ Aws::Plugins::GlobalConfiguration.add_identifier(:codegurureviewer)
31
+
32
+ module Aws::CodeGuruReviewer
33
+ class Client < Seahorse::Client::Base
34
+
35
+ include Aws::ClientStubs
36
+
37
+ @identifier = :codegurureviewer
38
+
39
+ set_api(ClientApi::API)
40
+
41
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
42
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
43
+ add_plugin(Aws::Plugins::Logging)
44
+ add_plugin(Aws::Plugins::ParamConverter)
45
+ add_plugin(Aws::Plugins::ParamValidator)
46
+ add_plugin(Aws::Plugins::UserAgent)
47
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
48
+ add_plugin(Aws::Plugins::RetryErrors)
49
+ add_plugin(Aws::Plugins::GlobalConfiguration)
50
+ add_plugin(Aws::Plugins::RegionalEndpoint)
51
+ add_plugin(Aws::Plugins::EndpointDiscovery)
52
+ add_plugin(Aws::Plugins::EndpointPattern)
53
+ add_plugin(Aws::Plugins::ResponsePaging)
54
+ add_plugin(Aws::Plugins::StubResponses)
55
+ add_plugin(Aws::Plugins::IdempotencyToken)
56
+ add_plugin(Aws::Plugins::JsonvalueConverter)
57
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
+ add_plugin(Aws::Plugins::TransferEncoding)
60
+ add_plugin(Aws::Plugins::SignatureV4)
61
+ add_plugin(Aws::Plugins::Protocols::RestJson)
62
+
63
+ # @overload initialize(options)
64
+ # @param [Hash] options
65
+ # @option options [required, Aws::CredentialProvider] :credentials
66
+ # Your AWS credentials. This can be an instance of any one of the
67
+ # following classes:
68
+ #
69
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
70
+ # credentials.
71
+ #
72
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
73
+ # from an EC2 IMDS on an EC2 instance.
74
+ #
75
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
76
+ # shared file, such as `~/.aws/config`.
77
+ #
78
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
79
+ #
80
+ # When `:credentials` are not configured directly, the following
81
+ # locations will be searched for credentials:
82
+ #
83
+ # * `Aws.config[:credentials]`
84
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
85
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
86
+ # * `~/.aws/credentials`
87
+ # * `~/.aws/config`
88
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
89
+ # very aggressive. Construct and pass an instance of
90
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
91
+ # timeouts.
92
+ #
93
+ # @option options [required, String] :region
94
+ # The AWS region to connect to. The configured `:region` is
95
+ # used to determine the service `:endpoint`. When not passed,
96
+ # a default `:region` is search for in the following locations:
97
+ #
98
+ # * `Aws.config[:region]`
99
+ # * `ENV['AWS_REGION']`
100
+ # * `ENV['AMAZON_REGION']`
101
+ # * `ENV['AWS_DEFAULT_REGION']`
102
+ # * `~/.aws/credentials`
103
+ # * `~/.aws/config`
104
+ #
105
+ # @option options [String] :access_key_id
106
+ #
107
+ # @option options [Boolean] :active_endpoint_cache (false)
108
+ # When set to `true`, a thread polling for endpoints will be running in
109
+ # the background every 60 secs (default). Defaults to `false`.
110
+ #
111
+ # @option options [Boolean] :client_side_monitoring (false)
112
+ # When `true`, client-side metrics will be collected for all API requests from
113
+ # this client.
114
+ #
115
+ # @option options [String] :client_side_monitoring_client_id ("")
116
+ # Allows you to provide an identifier for this client which will be attached to
117
+ # all generated client side metrics. Defaults to an empty string.
118
+ #
119
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
120
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
121
+ # side monitoring agent is running on, where client metrics will be published via UDP.
122
+ #
123
+ # @option options [Integer] :client_side_monitoring_port (31000)
124
+ # Required for publishing client metrics. The port that the client side monitoring
125
+ # agent is running on, where client metrics will be published via UDP.
126
+ #
127
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
128
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
129
+ # will use the Client Side Monitoring Agent Publisher.
130
+ #
131
+ # @option options [Boolean] :convert_params (true)
132
+ # When `true`, an attempt is made to coerce request parameters into
133
+ # the required types.
134
+ #
135
+ # @option options [Boolean] :disable_host_prefix_injection (false)
136
+ # Set to true to disable SDK automatically adding host prefix
137
+ # to default service endpoint when available.
138
+ #
139
+ # @option options [String] :endpoint
140
+ # The client endpoint is normally constructed from the `:region`
141
+ # option. You should only configure an `:endpoint` when connecting
142
+ # to test endpoints. This should be avalid HTTP(S) URI.
143
+ #
144
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
145
+ # Used for the maximum size limit of the LRU cache storing endpoints data
146
+ # for endpoint discovery enabled operations. Defaults to 1000.
147
+ #
148
+ # @option options [Integer] :endpoint_cache_max_threads (10)
149
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
150
+ #
151
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
152
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
153
+ # Use this option to config the time interval in seconds for making
154
+ # requests fetching endpoints information. Defaults to 60 sec.
155
+ #
156
+ # @option options [Boolean] :endpoint_discovery (false)
157
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
158
+ #
159
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
+ # The log formatter.
161
+ #
162
+ # @option options [Symbol] :log_level (:info)
163
+ # The log level to send messages to the `:logger` at.
164
+ #
165
+ # @option options [Logger] :logger
166
+ # The Logger instance to send log messages to. If this option
167
+ # is not set, logging will be disabled.
168
+ #
169
+ # @option options [String] :profile ("default")
170
+ # Used when loading credentials from the shared credentials file
171
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
172
+ #
173
+ # @option options [Float] :retry_base_delay (0.3)
174
+ # The base delay in seconds used by the default backoff function.
175
+ #
176
+ # @option options [Symbol] :retry_jitter (:none)
177
+ # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
178
+ #
179
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
+ #
181
+ # @option options [Integer] :retry_limit (3)
182
+ # The maximum number of times to retry failed requests. Only
183
+ # ~ 500 level server errors and certain ~ 400 level client errors
184
+ # are retried. Generally, these are throttling errors, data
185
+ # checksum errors, networking errors, timeout errors and auth
186
+ # errors from expired credentials.
187
+ #
188
+ # @option options [Integer] :retry_max_delay (0)
189
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
190
+ #
191
+ # @option options [String] :secret_access_key
192
+ #
193
+ # @option options [String] :session_token
194
+ #
195
+ # @option options [Boolean] :stub_responses (false)
196
+ # Causes the client to return stubbed responses. By default
197
+ # fake responses are generated and returned. You can specify
198
+ # the response data to return or errors to raise by calling
199
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
200
+ #
201
+ # ** Please note ** When response stubbing is enabled, no HTTP
202
+ # requests are made, and retries are disabled.
203
+ #
204
+ # @option options [Boolean] :validate_params (true)
205
+ # When `true`, request parameters are validated before
206
+ # sending the request.
207
+ #
208
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
209
+ # requests through. Formatted like 'http://proxy.com:123'.
210
+ #
211
+ # @option options [Float] :http_open_timeout (15) The number of
212
+ # seconds to wait when opening a HTTP session before rasing a
213
+ # `Timeout::Error`.
214
+ #
215
+ # @option options [Integer] :http_read_timeout (60) The default
216
+ # number of seconds to wait for response data. This value can
217
+ # safely be set
218
+ # per-request on the session yeidled by {#session_for}.
219
+ #
220
+ # @option options [Float] :http_idle_timeout (5) The number of
221
+ # seconds a connection is allowed to sit idble before it is
222
+ # considered stale. Stale connections are closed and removed
223
+ # from the pool before making a request.
224
+ #
225
+ # @option options [Float] :http_continue_timeout (1) The number of
226
+ # seconds to wait for a 100-continue response before sending the
227
+ # request body. This option has no effect unless the request has
228
+ # "Expect" header set to "100-continue". Defaults to `nil` which
229
+ # disables this behaviour. This value can safely be set per
230
+ # request on the session yeidled by {#session_for}.
231
+ #
232
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
233
+ # HTTP debug output will be sent to the `:logger`.
234
+ #
235
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
236
+ # SSL peer certificates are verified when establishing a
237
+ # connection.
238
+ #
239
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
240
+ # certificate authority bundle file that should be used when
241
+ # verifying peer certificates. If you do not pass
242
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
243
+ # will be used if available.
244
+ #
245
+ # @option options [String] :ssl_ca_directory Full path of the
246
+ # directory that contains the unbundled SSL certificate
247
+ # authority files for verifying peer certificates. If you do
248
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
249
+ # system default will be used if available.
250
+ #
251
+ def initialize(*args)
252
+ super
253
+ end
254
+
255
+ # @!group API Operations
256
+
257
+ # Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer.
258
+ # When you associate an AWS CodeCommit repository with Amazon CodeGuru
259
+ # Reviewer, Amazon CodeGuru Reviewer will provide recommendations for
260
+ # each pull request. You can view recommendations in the AWS CodeCommit
261
+ # repository.
262
+ #
263
+ # You can associate a GitHub repository using the Amazon CodeGuru
264
+ # Reviewer console.
265
+ #
266
+ # @option params [required, Types::Repository] :repository
267
+ # The repository to associate.
268
+ #
269
+ # @option params [String] :client_request_token
270
+ # Unique, case-sensitive identifier that you provide to ensure the
271
+ # idempotency of the request.
272
+ #
273
+ # If you want to add a new repository association, this parameter
274
+ # specifies a unique identifier for the new repository association that
275
+ # helps ensure idempotency.
276
+ #
277
+ # If you use the AWS CLI or one of the AWS SDK to call this operation,
278
+ # then you can leave this parameter empty. The CLI or SDK generates a
279
+ # random UUID for you and includes that in the request. If you don't
280
+ # use the SDK and instead generate a raw HTTP request to the Secrets
281
+ # Manager service endpoint, then you must generate a ClientRequestToken
282
+ # yourself for new versions and include that value in the request.
283
+ #
284
+ # You typically only need to interact with this value if you implement
285
+ # your own retry logic and want to ensure that a given repository
286
+ # association is not created twice. We recommend that you generate a
287
+ # UUID-type value to ensure uniqueness within the specified repository
288
+ # association.
289
+ #
290
+ # Amazon CodeGuru Reviewer uses this value to prevent the accidental
291
+ # creation of duplicate repository associations if there are failures
292
+ # and retries.
293
+ #
294
+ # **A suitable default value is auto-generated.** You should normally
295
+ # not need to pass this option.**
296
+ #
297
+ # @return [Types::AssociateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
298
+ #
299
+ # * {Types::AssociateRepositoryResponse#repository_association #repository_association} => Types::RepositoryAssociation
300
+ #
301
+ # @example Request syntax with placeholder values
302
+ #
303
+ # resp = client.associate_repository({
304
+ # repository: { # required
305
+ # code_commit: {
306
+ # name: "Name", # required
307
+ # },
308
+ # },
309
+ # client_request_token: "ClientRequestToken",
310
+ # })
311
+ #
312
+ # @example Response structure
313
+ #
314
+ # resp.repository_association.association_id #=> String
315
+ # resp.repository_association.association_arn #=> String
316
+ # resp.repository_association.name #=> String
317
+ # resp.repository_association.owner #=> String
318
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
319
+ # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
320
+ # resp.repository_association.state_reason #=> String
321
+ # resp.repository_association.last_updated_time_stamp #=> Time
322
+ # resp.repository_association.created_time_stamp #=> Time
323
+ #
324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepository AWS API Documentation
325
+ #
326
+ # @overload associate_repository(params = {})
327
+ # @param [Hash] params ({})
328
+ def associate_repository(params = {}, options = {})
329
+ req = build_request(:associate_repository, params)
330
+ req.send_request(options)
331
+ end
332
+
333
+ # Describes a repository association.
334
+ #
335
+ # @option params [required, String] :association_arn
336
+ # The Amazon Resource Name (ARN) identifying the association.
337
+ #
338
+ # @return [Types::DescribeRepositoryAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
339
+ #
340
+ # * {Types::DescribeRepositoryAssociationResponse#repository_association #repository_association} => Types::RepositoryAssociation
341
+ #
342
+ # @example Request syntax with placeholder values
343
+ #
344
+ # resp = client.describe_repository_association({
345
+ # association_arn: "Arn", # required
346
+ # })
347
+ #
348
+ # @example Response structure
349
+ #
350
+ # resp.repository_association.association_id #=> String
351
+ # resp.repository_association.association_arn #=> String
352
+ # resp.repository_association.name #=> String
353
+ # resp.repository_association.owner #=> String
354
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
355
+ # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
356
+ # resp.repository_association.state_reason #=> String
357
+ # resp.repository_association.last_updated_time_stamp #=> Time
358
+ # resp.repository_association.created_time_stamp #=> Time
359
+ #
360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation AWS API Documentation
361
+ #
362
+ # @overload describe_repository_association(params = {})
363
+ # @param [Hash] params ({})
364
+ def describe_repository_association(params = {}, options = {})
365
+ req = build_request(:describe_repository_association, params)
366
+ req.send_request(options)
367
+ end
368
+
369
+ # Removes the association between Amazon CodeGuru Reviewer and a
370
+ # repository.
371
+ #
372
+ # @option params [required, String] :association_arn
373
+ # The Amazon Resource Name (ARN) identifying the association.
374
+ #
375
+ # @return [Types::DisassociateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
376
+ #
377
+ # * {Types::DisassociateRepositoryResponse#repository_association #repository_association} => Types::RepositoryAssociation
378
+ #
379
+ # @example Request syntax with placeholder values
380
+ #
381
+ # resp = client.disassociate_repository({
382
+ # association_arn: "Arn", # required
383
+ # })
384
+ #
385
+ # @example Response structure
386
+ #
387
+ # resp.repository_association.association_id #=> String
388
+ # resp.repository_association.association_arn #=> String
389
+ # resp.repository_association.name #=> String
390
+ # resp.repository_association.owner #=> String
391
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
392
+ # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
393
+ # resp.repository_association.state_reason #=> String
394
+ # resp.repository_association.last_updated_time_stamp #=> Time
395
+ # resp.repository_association.created_time_stamp #=> Time
396
+ #
397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepository AWS API Documentation
398
+ #
399
+ # @overload disassociate_repository(params = {})
400
+ # @param [Hash] params ({})
401
+ def disassociate_repository(params = {}, options = {})
402
+ req = build_request(:disassociate_repository, params)
403
+ req.send_request(options)
404
+ end
405
+
406
+ # Lists repository associations. You can optionally filter on one or
407
+ # more of the following recommendation properties: provider types,
408
+ # states, names, and owners.
409
+ #
410
+ # @option params [Array<String>] :provider_types
411
+ # List of provider types to use as a filter.
412
+ #
413
+ # @option params [Array<String>] :states
414
+ # List of states to use as a filter.
415
+ #
416
+ # @option params [Array<String>] :names
417
+ # List of names to use as a filter.
418
+ #
419
+ # @option params [Array<String>] :owners
420
+ # List of owners to use as a filter. For AWS CodeCommit, the owner is
421
+ # the AWS account id. For GitHub, it is the GitHub account name.
422
+ #
423
+ # @option params [Integer] :max_results
424
+ # The maximum number of repository association results returned by
425
+ # `ListRepositoryAssociations` in paginated output. When this parameter
426
+ # is used, `ListRepositoryAssociations` only returns `maxResults`
427
+ # results in a single page along with a `nextToken` response element.
428
+ # The remaining results of the initial request can be seen by sending
429
+ # another `ListRepositoryAssociations` request with the returned
430
+ # `nextToken` value. This value can be between 1 and 100. If this
431
+ # parameter is not used, then `ListRepositoryAssociations` returns up to
432
+ # 100 results and a `nextToken` value if applicable.
433
+ #
434
+ # @option params [String] :next_token
435
+ # The `nextToken` value returned from a previous paginated
436
+ # `ListRepositoryAssociations` request where `maxResults` was used and
437
+ # the results exceeded the value of that parameter. Pagination continues
438
+ # from the end of the previous results that returned the `nextToken`
439
+ # value.
440
+ #
441
+ # <note markdown="1"> This token should be treated as an opaque identifier that is only used
442
+ # to retrieve the next items in a list and not for other programmatic
443
+ # purposes.
444
+ #
445
+ # </note>
446
+ #
447
+ # @return [Types::ListRepositoryAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
448
+ #
449
+ # * {Types::ListRepositoryAssociationsResponse#repository_association_summaries #repository_association_summaries} => Array&lt;Types::RepositoryAssociationSummary&gt;
450
+ # * {Types::ListRepositoryAssociationsResponse#next_token #next_token} => String
451
+ #
452
+ # @example Request syntax with placeholder values
453
+ #
454
+ # resp = client.list_repository_associations({
455
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
456
+ # states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating
457
+ # names: ["Name"],
458
+ # owners: ["Owner"],
459
+ # max_results: 1,
460
+ # next_token: "NextToken",
461
+ # })
462
+ #
463
+ # @example Response structure
464
+ #
465
+ # resp.repository_association_summaries #=> Array
466
+ # resp.repository_association_summaries[0].association_arn #=> String
467
+ # resp.repository_association_summaries[0].last_updated_time_stamp #=> Time
468
+ # resp.repository_association_summaries[0].association_id #=> String
469
+ # resp.repository_association_summaries[0].name #=> String
470
+ # resp.repository_association_summaries[0].owner #=> String
471
+ # resp.repository_association_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub"
472
+ # resp.repository_association_summaries[0].state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
473
+ # resp.next_token #=> String
474
+ #
475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRepositoryAssociations AWS API Documentation
476
+ #
477
+ # @overload list_repository_associations(params = {})
478
+ # @param [Hash] params ({})
479
+ def list_repository_associations(params = {}, options = {})
480
+ req = build_request(:list_repository_associations, params)
481
+ req.send_request(options)
482
+ end
483
+
484
+ # @!endgroup
485
+
486
+ # @param params ({})
487
+ # @api private
488
+ def build_request(operation_name, params = {})
489
+ handlers = @handlers.for(operation_name)
490
+ context = Seahorse::Client::RequestContext.new(
491
+ operation_name: operation_name,
492
+ operation: config.api.operation(operation_name),
493
+ client: self,
494
+ params: params,
495
+ config: config)
496
+ context[:gem_name] = 'aws-sdk-codegurureviewer'
497
+ context[:gem_version] = '1.0.0'
498
+ Seahorse::Client::Request.new(handlers, context)
499
+ end
500
+
501
+ # @api private
502
+ # @deprecated
503
+ def waiter_names
504
+ []
505
+ end
506
+
507
+ class << self
508
+
509
+ # @api private
510
+ attr_reader :identifier
511
+
512
+ # @api private
513
+ def errors_module
514
+ Errors
515
+ end
516
+
517
+ end
518
+ end
519
+ end