aws-sdk-codeconnections 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ require_relative 'aws-sdk-codeconnections/types'
15
+ require_relative 'aws-sdk-codeconnections/client_api'
16
+ require_relative 'aws-sdk-codeconnections/plugins/endpoints.rb'
17
+ require_relative 'aws-sdk-codeconnections/client'
18
+ require_relative 'aws-sdk-codeconnections/errors'
19
+ require_relative 'aws-sdk-codeconnections/resource'
20
+ require_relative 'aws-sdk-codeconnections/endpoint_parameters'
21
+ require_relative 'aws-sdk-codeconnections/endpoint_provider'
22
+ require_relative 'aws-sdk-codeconnections/endpoints'
23
+ require_relative 'aws-sdk-codeconnections/customizations'
24
+
25
+ # This module provides support for AWS CodeConnections. This module is available in the
26
+ # `aws-sdk-codeconnections` gem.
27
+ #
28
+ # # Client
29
+ #
30
+ # The {Client} class provides one method for each API operation. Operation
31
+ # methods each accept a hash of request parameters and return a response
32
+ # structure.
33
+ #
34
+ # code_connections = Aws::CodeConnections::Client.new
35
+ # resp = code_connections.create_connection(params)
36
+ #
37
+ # See {Client} for more information.
38
+ #
39
+ # # Errors
40
+ #
41
+ # Errors returned from AWS CodeConnections are defined in the
42
+ # {Errors} module and all extend {Errors::ServiceError}.
43
+ #
44
+ # begin
45
+ # # do stuff
46
+ # rescue Aws::CodeConnections::Errors::ServiceError
47
+ # # rescues all AWS CodeConnections API errors
48
+ # end
49
+ #
50
+ # See {Errors} for more information.
51
+ #
52
+ # @!group service
53
+ module Aws::CodeConnections
54
+
55
+ GEM_VERSION = '1.0.0'
56
+
57
+ end
data/sig/client.rbs ADDED
@@ -0,0 +1,435 @@
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 CodeConnections
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/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
+ interface _CreateConnectionResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectionOutput]
78
+ def connection_arn: () -> ::String
79
+ def tags: () -> ::Array[Types::Tag]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#create_connection-instance_method
82
+ def create_connection: (
83
+ ?provider_type: ("Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged"),
84
+ connection_name: ::String,
85
+ ?tags: Array[
86
+ {
87
+ key: ::String,
88
+ value: ::String
89
+ },
90
+ ],
91
+ ?host_arn: ::String
92
+ ) -> _CreateConnectionResponseSuccess
93
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectionResponseSuccess
94
+
95
+ interface _CreateHostResponseSuccess
96
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateHostOutput]
97
+ def host_arn: () -> ::String
98
+ def tags: () -> ::Array[Types::Tag]
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#create_host-instance_method
101
+ def create_host: (
102
+ name: ::String,
103
+ provider_type: ("Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged"),
104
+ provider_endpoint: ::String,
105
+ ?vpc_configuration: {
106
+ vpc_id: ::String,
107
+ subnet_ids: Array[::String],
108
+ security_group_ids: Array[::String],
109
+ tls_certificate: ::String?
110
+ },
111
+ ?tags: Array[
112
+ {
113
+ key: ::String,
114
+ value: ::String
115
+ },
116
+ ]
117
+ ) -> _CreateHostResponseSuccess
118
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHostResponseSuccess
119
+
120
+ interface _CreateRepositoryLinkResponseSuccess
121
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRepositoryLinkOutput]
122
+ def repository_link_info: () -> Types::RepositoryLinkInfo
123
+ end
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#create_repository_link-instance_method
125
+ def create_repository_link: (
126
+ connection_arn: ::String,
127
+ owner_id: ::String,
128
+ repository_name: ::String,
129
+ ?encryption_key_arn: ::String,
130
+ ?tags: Array[
131
+ {
132
+ key: ::String,
133
+ value: ::String
134
+ },
135
+ ]
136
+ ) -> _CreateRepositoryLinkResponseSuccess
137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRepositoryLinkResponseSuccess
138
+
139
+ interface _CreateSyncConfigurationResponseSuccess
140
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSyncConfigurationOutput]
141
+ def sync_configuration: () -> Types::SyncConfiguration
142
+ end
143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#create_sync_configuration-instance_method
144
+ def create_sync_configuration: (
145
+ branch: ::String,
146
+ config_file: ::String,
147
+ repository_link_id: ::String,
148
+ resource_name: ::String,
149
+ role_arn: ::String,
150
+ sync_type: ("CFN_STACK_SYNC"),
151
+ ?publish_deployment_status: ("ENABLED" | "DISABLED"),
152
+ ?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
153
+ ) -> _CreateSyncConfigurationResponseSuccess
154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSyncConfigurationResponseSuccess
155
+
156
+ interface _DeleteConnectionResponseSuccess
157
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectionOutput]
158
+ end
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#delete_connection-instance_method
160
+ def delete_connection: (
161
+ connection_arn: ::String
162
+ ) -> _DeleteConnectionResponseSuccess
163
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConnectionResponseSuccess
164
+
165
+ interface _DeleteHostResponseSuccess
166
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteHostOutput]
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#delete_host-instance_method
169
+ def delete_host: (
170
+ host_arn: ::String
171
+ ) -> _DeleteHostResponseSuccess
172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteHostResponseSuccess
173
+
174
+ interface _DeleteRepositoryLinkResponseSuccess
175
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryLinkOutput]
176
+ end
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#delete_repository_link-instance_method
178
+ def delete_repository_link: (
179
+ repository_link_id: ::String
180
+ ) -> _DeleteRepositoryLinkResponseSuccess
181
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryLinkResponseSuccess
182
+
183
+ interface _DeleteSyncConfigurationResponseSuccess
184
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSyncConfigurationOutput]
185
+ end
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#delete_sync_configuration-instance_method
187
+ def delete_sync_configuration: (
188
+ sync_type: ("CFN_STACK_SYNC"),
189
+ resource_name: ::String
190
+ ) -> _DeleteSyncConfigurationResponseSuccess
191
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSyncConfigurationResponseSuccess
192
+
193
+ interface _GetConnectionResponseSuccess
194
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectionOutput]
195
+ def connection: () -> Types::Connection
196
+ end
197
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#get_connection-instance_method
198
+ def get_connection: (
199
+ connection_arn: ::String
200
+ ) -> _GetConnectionResponseSuccess
201
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectionResponseSuccess
202
+
203
+ interface _GetHostResponseSuccess
204
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetHostOutput]
205
+ def name: () -> ::String
206
+ def status: () -> ::String
207
+ def provider_type: () -> ("Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged")
208
+ def provider_endpoint: () -> ::String
209
+ def vpc_configuration: () -> Types::VpcConfiguration
210
+ end
211
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#get_host-instance_method
212
+ def get_host: (
213
+ host_arn: ::String
214
+ ) -> _GetHostResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHostResponseSuccess
216
+
217
+ interface _GetRepositoryLinkResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryLinkOutput]
219
+ def repository_link_info: () -> Types::RepositoryLinkInfo
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#get_repository_link-instance_method
222
+ def get_repository_link: (
223
+ repository_link_id: ::String
224
+ ) -> _GetRepositoryLinkResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryLinkResponseSuccess
226
+
227
+ interface _GetRepositorySyncStatusResponseSuccess
228
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositorySyncStatusOutput]
229
+ def latest_sync: () -> Types::RepositorySyncAttempt
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#get_repository_sync_status-instance_method
232
+ def get_repository_sync_status: (
233
+ branch: ::String,
234
+ repository_link_id: ::String,
235
+ sync_type: ("CFN_STACK_SYNC")
236
+ ) -> _GetRepositorySyncStatusResponseSuccess
237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositorySyncStatusResponseSuccess
238
+
239
+ interface _GetResourceSyncStatusResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceSyncStatusOutput]
241
+ def desired_state: () -> Types::Revision
242
+ def latest_successful_sync: () -> Types::ResourceSyncAttempt
243
+ def latest_sync: () -> Types::ResourceSyncAttempt
244
+ end
245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#get_resource_sync_status-instance_method
246
+ def get_resource_sync_status: (
247
+ resource_name: ::String,
248
+ sync_type: ("CFN_STACK_SYNC")
249
+ ) -> _GetResourceSyncStatusResponseSuccess
250
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceSyncStatusResponseSuccess
251
+
252
+ interface _GetSyncBlockerSummaryResponseSuccess
253
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSyncBlockerSummaryOutput]
254
+ def sync_blocker_summary: () -> Types::SyncBlockerSummary
255
+ end
256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#get_sync_blocker_summary-instance_method
257
+ def get_sync_blocker_summary: (
258
+ sync_type: ("CFN_STACK_SYNC"),
259
+ resource_name: ::String
260
+ ) -> _GetSyncBlockerSummaryResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSyncBlockerSummaryResponseSuccess
262
+
263
+ interface _GetSyncConfigurationResponseSuccess
264
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSyncConfigurationOutput]
265
+ def sync_configuration: () -> Types::SyncConfiguration
266
+ end
267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#get_sync_configuration-instance_method
268
+ def get_sync_configuration: (
269
+ sync_type: ("CFN_STACK_SYNC"),
270
+ resource_name: ::String
271
+ ) -> _GetSyncConfigurationResponseSuccess
272
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSyncConfigurationResponseSuccess
273
+
274
+ interface _ListConnectionsResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectionsOutput]
276
+ def connections: () -> ::Array[Types::Connection]
277
+ def next_token: () -> ::String
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#list_connections-instance_method
280
+ def list_connections: (
281
+ ?provider_type_filter: ("Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged"),
282
+ ?host_arn_filter: ::String,
283
+ ?max_results: ::Integer,
284
+ ?next_token: ::String
285
+ ) -> _ListConnectionsResponseSuccess
286
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectionsResponseSuccess
287
+
288
+ interface _ListHostsResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListHostsOutput]
290
+ def hosts: () -> ::Array[Types::Host]
291
+ def next_token: () -> ::String
292
+ end
293
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#list_hosts-instance_method
294
+ def list_hosts: (
295
+ ?max_results: ::Integer,
296
+ ?next_token: ::String
297
+ ) -> _ListHostsResponseSuccess
298
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHostsResponseSuccess
299
+
300
+ interface _ListRepositoryLinksResponseSuccess
301
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoryLinksOutput]
302
+ def repository_links: () -> ::Array[Types::RepositoryLinkInfo]
303
+ def next_token: () -> ::String
304
+ end
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#list_repository_links-instance_method
306
+ def list_repository_links: (
307
+ ?max_results: ::Integer,
308
+ ?next_token: ::String
309
+ ) -> _ListRepositoryLinksResponseSuccess
310
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoryLinksResponseSuccess
311
+
312
+ interface _ListRepositorySyncDefinitionsResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositorySyncDefinitionsOutput]
314
+ def repository_sync_definitions: () -> ::Array[Types::RepositorySyncDefinition]
315
+ def next_token: () -> ::String
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#list_repository_sync_definitions-instance_method
318
+ def list_repository_sync_definitions: (
319
+ repository_link_id: ::String,
320
+ sync_type: ("CFN_STACK_SYNC")
321
+ ) -> _ListRepositorySyncDefinitionsResponseSuccess
322
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositorySyncDefinitionsResponseSuccess
323
+
324
+ interface _ListSyncConfigurationsResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSyncConfigurationsOutput]
326
+ def sync_configurations: () -> ::Array[Types::SyncConfiguration]
327
+ def next_token: () -> ::String
328
+ end
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#list_sync_configurations-instance_method
330
+ def list_sync_configurations: (
331
+ ?max_results: ::Integer,
332
+ ?next_token: ::String,
333
+ repository_link_id: ::String,
334
+ sync_type: ("CFN_STACK_SYNC")
335
+ ) -> _ListSyncConfigurationsResponseSuccess
336
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSyncConfigurationsResponseSuccess
337
+
338
+ interface _ListTagsForResourceResponseSuccess
339
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
340
+ def tags: () -> ::Array[Types::Tag]
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#list_tags_for_resource-instance_method
343
+ def list_tags_for_resource: (
344
+ resource_arn: ::String
345
+ ) -> _ListTagsForResourceResponseSuccess
346
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
347
+
348
+ interface _TagResourceResponseSuccess
349
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#tag_resource-instance_method
352
+ def tag_resource: (
353
+ resource_arn: ::String,
354
+ tags: Array[
355
+ {
356
+ key: ::String,
357
+ value: ::String
358
+ },
359
+ ]
360
+ ) -> _TagResourceResponseSuccess
361
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
362
+
363
+ interface _UntagResourceResponseSuccess
364
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
365
+ end
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#untag_resource-instance_method
367
+ def untag_resource: (
368
+ resource_arn: ::String,
369
+ tag_keys: Array[::String]
370
+ ) -> _UntagResourceResponseSuccess
371
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
372
+
373
+ interface _UpdateHostResponseSuccess
374
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHostOutput]
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#update_host-instance_method
377
+ def update_host: (
378
+ host_arn: ::String,
379
+ ?provider_endpoint: ::String,
380
+ ?vpc_configuration: {
381
+ vpc_id: ::String,
382
+ subnet_ids: Array[::String],
383
+ security_group_ids: Array[::String],
384
+ tls_certificate: ::String?
385
+ }
386
+ ) -> _UpdateHostResponseSuccess
387
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHostResponseSuccess
388
+
389
+ interface _UpdateRepositoryLinkResponseSuccess
390
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRepositoryLinkOutput]
391
+ def repository_link_info: () -> Types::RepositoryLinkInfo
392
+ end
393
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#update_repository_link-instance_method
394
+ def update_repository_link: (
395
+ ?connection_arn: ::String,
396
+ ?encryption_key_arn: ::String,
397
+ repository_link_id: ::String
398
+ ) -> _UpdateRepositoryLinkResponseSuccess
399
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRepositoryLinkResponseSuccess
400
+
401
+ interface _UpdateSyncBlockerResponseSuccess
402
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSyncBlockerOutput]
403
+ def resource_name: () -> ::String
404
+ def parent_resource_name: () -> ::String
405
+ def sync_blocker: () -> Types::SyncBlocker
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#update_sync_blocker-instance_method
408
+ def update_sync_blocker: (
409
+ id: ::String,
410
+ sync_type: ("CFN_STACK_SYNC"),
411
+ resource_name: ::String,
412
+ resolved_reason: ::String
413
+ ) -> _UpdateSyncBlockerResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSyncBlockerResponseSuccess
415
+
416
+ interface _UpdateSyncConfigurationResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSyncConfigurationOutput]
418
+ def sync_configuration: () -> Types::SyncConfiguration
419
+ end
420
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Client.html#update_sync_configuration-instance_method
421
+ def update_sync_configuration: (
422
+ ?branch: ::String,
423
+ ?config_file: ::String,
424
+ ?repository_link_id: ::String,
425
+ resource_name: ::String,
426
+ ?role_arn: ::String,
427
+ sync_type: ("CFN_STACK_SYNC"),
428
+ ?publish_deployment_status: ("ENABLED" | "DISABLED"),
429
+ ?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
430
+ ) -> _UpdateSyncConfigurationResponseSuccess
431
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSyncConfigurationResponseSuccess
432
+ end
433
+ end
434
+ end
435
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,67 @@
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 CodeConnections
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 ConcurrentModificationException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ConditionalCheckFailedException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ConflictException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InternalServerException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class InvalidInputException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class LimitExceededException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
41
+ class ResourceUnavailableException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
44
+ class RetryLatestCommitFailedException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ end
47
+ class SyncBlockerDoesNotExistException < ::Aws::Errors::ServiceError
48
+ def message: () -> ::String
49
+ end
50
+ class SyncConfigurationStillExistsException < ::Aws::Errors::ServiceError
51
+ def message: () -> ::String
52
+ end
53
+ class ThrottlingException < ::Aws::Errors::ServiceError
54
+ def message: () -> ::String
55
+ end
56
+ class UnsupportedOperationException < ::Aws::Errors::ServiceError
57
+ def message: () -> ::String
58
+ end
59
+ class UnsupportedProviderTypeException < ::Aws::Errors::ServiceError
60
+ def message: () -> ::String
61
+ end
62
+ class UpdateOutOfSyncException < ::Aws::Errors::ServiceError
63
+ def message: () -> ::String
64
+ end
65
+ end
66
+ end
67
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
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 CodeConnections
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeConnections/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
+ ?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
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end