aws-sdk-codestarconnections 1.38.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,431 @@
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 CodeStarconnections
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/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/CodeStarconnections/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/CodeStarconnections/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/CodeStarconnections/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/CodeStarconnections/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
+ ) -> _CreateSyncConfigurationResponseSuccess
152
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSyncConfigurationResponseSuccess
153
+
154
+ interface _DeleteConnectionResponseSuccess
155
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectionOutput]
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#delete_connection-instance_method
158
+ def delete_connection: (
159
+ connection_arn: ::String
160
+ ) -> _DeleteConnectionResponseSuccess
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConnectionResponseSuccess
162
+
163
+ interface _DeleteHostResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteHostOutput]
165
+ end
166
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#delete_host-instance_method
167
+ def delete_host: (
168
+ host_arn: ::String
169
+ ) -> _DeleteHostResponseSuccess
170
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteHostResponseSuccess
171
+
172
+ interface _DeleteRepositoryLinkResponseSuccess
173
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryLinkOutput]
174
+ end
175
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#delete_repository_link-instance_method
176
+ def delete_repository_link: (
177
+ repository_link_id: ::String
178
+ ) -> _DeleteRepositoryLinkResponseSuccess
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryLinkResponseSuccess
180
+
181
+ interface _DeleteSyncConfigurationResponseSuccess
182
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSyncConfigurationOutput]
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#delete_sync_configuration-instance_method
185
+ def delete_sync_configuration: (
186
+ sync_type: ("CFN_STACK_SYNC"),
187
+ resource_name: ::String
188
+ ) -> _DeleteSyncConfigurationResponseSuccess
189
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSyncConfigurationResponseSuccess
190
+
191
+ interface _GetConnectionResponseSuccess
192
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectionOutput]
193
+ def connection: () -> Types::Connection
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#get_connection-instance_method
196
+ def get_connection: (
197
+ connection_arn: ::String
198
+ ) -> _GetConnectionResponseSuccess
199
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectionResponseSuccess
200
+
201
+ interface _GetHostResponseSuccess
202
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetHostOutput]
203
+ def name: () -> ::String
204
+ def status: () -> ::String
205
+ def provider_type: () -> ("Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged")
206
+ def provider_endpoint: () -> ::String
207
+ def vpc_configuration: () -> Types::VpcConfiguration
208
+ end
209
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#get_host-instance_method
210
+ def get_host: (
211
+ host_arn: ::String
212
+ ) -> _GetHostResponseSuccess
213
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHostResponseSuccess
214
+
215
+ interface _GetRepositoryLinkResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryLinkOutput]
217
+ def repository_link_info: () -> Types::RepositoryLinkInfo
218
+ end
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#get_repository_link-instance_method
220
+ def get_repository_link: (
221
+ repository_link_id: ::String
222
+ ) -> _GetRepositoryLinkResponseSuccess
223
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryLinkResponseSuccess
224
+
225
+ interface _GetRepositorySyncStatusResponseSuccess
226
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositorySyncStatusOutput]
227
+ def latest_sync: () -> Types::RepositorySyncAttempt
228
+ end
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#get_repository_sync_status-instance_method
230
+ def get_repository_sync_status: (
231
+ branch: ::String,
232
+ repository_link_id: ::String,
233
+ sync_type: ("CFN_STACK_SYNC")
234
+ ) -> _GetRepositorySyncStatusResponseSuccess
235
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositorySyncStatusResponseSuccess
236
+
237
+ interface _GetResourceSyncStatusResponseSuccess
238
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceSyncStatusOutput]
239
+ def desired_state: () -> Types::Revision
240
+ def latest_successful_sync: () -> Types::ResourceSyncAttempt
241
+ def latest_sync: () -> Types::ResourceSyncAttempt
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#get_resource_sync_status-instance_method
244
+ def get_resource_sync_status: (
245
+ resource_name: ::String,
246
+ sync_type: ("CFN_STACK_SYNC")
247
+ ) -> _GetResourceSyncStatusResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceSyncStatusResponseSuccess
249
+
250
+ interface _GetSyncBlockerSummaryResponseSuccess
251
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSyncBlockerSummaryOutput]
252
+ def sync_blocker_summary: () -> Types::SyncBlockerSummary
253
+ end
254
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#get_sync_blocker_summary-instance_method
255
+ def get_sync_blocker_summary: (
256
+ sync_type: ("CFN_STACK_SYNC"),
257
+ resource_name: ::String
258
+ ) -> _GetSyncBlockerSummaryResponseSuccess
259
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSyncBlockerSummaryResponseSuccess
260
+
261
+ interface _GetSyncConfigurationResponseSuccess
262
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSyncConfigurationOutput]
263
+ def sync_configuration: () -> Types::SyncConfiguration
264
+ end
265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#get_sync_configuration-instance_method
266
+ def get_sync_configuration: (
267
+ sync_type: ("CFN_STACK_SYNC"),
268
+ resource_name: ::String
269
+ ) -> _GetSyncConfigurationResponseSuccess
270
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSyncConfigurationResponseSuccess
271
+
272
+ interface _ListConnectionsResponseSuccess
273
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectionsOutput]
274
+ def connections: () -> ::Array[Types::Connection]
275
+ def next_token: () -> ::String
276
+ end
277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#list_connections-instance_method
278
+ def list_connections: (
279
+ ?provider_type_filter: ("Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged"),
280
+ ?host_arn_filter: ::String,
281
+ ?max_results: ::Integer,
282
+ ?next_token: ::String
283
+ ) -> _ListConnectionsResponseSuccess
284
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectionsResponseSuccess
285
+
286
+ interface _ListHostsResponseSuccess
287
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListHostsOutput]
288
+ def hosts: () -> ::Array[Types::Host]
289
+ def next_token: () -> ::String
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#list_hosts-instance_method
292
+ def list_hosts: (
293
+ ?max_results: ::Integer,
294
+ ?next_token: ::String
295
+ ) -> _ListHostsResponseSuccess
296
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHostsResponseSuccess
297
+
298
+ interface _ListRepositoryLinksResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoryLinksOutput]
300
+ def repository_links: () -> ::Array[Types::RepositoryLinkInfo]
301
+ def next_token: () -> ::String
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#list_repository_links-instance_method
304
+ def list_repository_links: (
305
+ ?max_results: ::Integer,
306
+ ?next_token: ::String
307
+ ) -> _ListRepositoryLinksResponseSuccess
308
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoryLinksResponseSuccess
309
+
310
+ interface _ListRepositorySyncDefinitionsResponseSuccess
311
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositorySyncDefinitionsOutput]
312
+ def repository_sync_definitions: () -> ::Array[Types::RepositorySyncDefinition]
313
+ def next_token: () -> ::String
314
+ end
315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#list_repository_sync_definitions-instance_method
316
+ def list_repository_sync_definitions: (
317
+ repository_link_id: ::String,
318
+ sync_type: ("CFN_STACK_SYNC")
319
+ ) -> _ListRepositorySyncDefinitionsResponseSuccess
320
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositorySyncDefinitionsResponseSuccess
321
+
322
+ interface _ListSyncConfigurationsResponseSuccess
323
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSyncConfigurationsOutput]
324
+ def sync_configurations: () -> ::Array[Types::SyncConfiguration]
325
+ def next_token: () -> ::String
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#list_sync_configurations-instance_method
328
+ def list_sync_configurations: (
329
+ ?max_results: ::Integer,
330
+ ?next_token: ::String,
331
+ repository_link_id: ::String,
332
+ sync_type: ("CFN_STACK_SYNC")
333
+ ) -> _ListSyncConfigurationsResponseSuccess
334
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSyncConfigurationsResponseSuccess
335
+
336
+ interface _ListTagsForResourceResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
338
+ def tags: () -> ::Array[Types::Tag]
339
+ end
340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#list_tags_for_resource-instance_method
341
+ def list_tags_for_resource: (
342
+ resource_arn: ::String
343
+ ) -> _ListTagsForResourceResponseSuccess
344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
345
+
346
+ interface _TagResourceResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
348
+ end
349
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#tag_resource-instance_method
350
+ def tag_resource: (
351
+ resource_arn: ::String,
352
+ tags: Array[
353
+ {
354
+ key: ::String,
355
+ value: ::String
356
+ },
357
+ ]
358
+ ) -> _TagResourceResponseSuccess
359
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
360
+
361
+ interface _UntagResourceResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#untag_resource-instance_method
365
+ def untag_resource: (
366
+ resource_arn: ::String,
367
+ tag_keys: Array[::String]
368
+ ) -> _UntagResourceResponseSuccess
369
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
370
+
371
+ interface _UpdateHostResponseSuccess
372
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHostOutput]
373
+ end
374
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#update_host-instance_method
375
+ def update_host: (
376
+ host_arn: ::String,
377
+ ?provider_endpoint: ::String,
378
+ ?vpc_configuration: {
379
+ vpc_id: ::String,
380
+ subnet_ids: Array[::String],
381
+ security_group_ids: Array[::String],
382
+ tls_certificate: ::String?
383
+ }
384
+ ) -> _UpdateHostResponseSuccess
385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHostResponseSuccess
386
+
387
+ interface _UpdateRepositoryLinkResponseSuccess
388
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRepositoryLinkOutput]
389
+ def repository_link_info: () -> Types::RepositoryLinkInfo
390
+ end
391
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#update_repository_link-instance_method
392
+ def update_repository_link: (
393
+ ?connection_arn: ::String,
394
+ ?encryption_key_arn: ::String,
395
+ repository_link_id: ::String
396
+ ) -> _UpdateRepositoryLinkResponseSuccess
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRepositoryLinkResponseSuccess
398
+
399
+ interface _UpdateSyncBlockerResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSyncBlockerOutput]
401
+ def resource_name: () -> ::String
402
+ def parent_resource_name: () -> ::String
403
+ def sync_blocker: () -> Types::SyncBlocker
404
+ end
405
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#update_sync_blocker-instance_method
406
+ def update_sync_blocker: (
407
+ id: ::String,
408
+ sync_type: ("CFN_STACK_SYNC"),
409
+ resource_name: ::String,
410
+ resolved_reason: ::String
411
+ ) -> _UpdateSyncBlockerResponseSuccess
412
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSyncBlockerResponseSuccess
413
+
414
+ interface _UpdateSyncConfigurationResponseSuccess
415
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSyncConfigurationOutput]
416
+ def sync_configuration: () -> Types::SyncConfiguration
417
+ end
418
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Client.html#update_sync_configuration-instance_method
419
+ def update_sync_configuration: (
420
+ ?branch: ::String,
421
+ ?config_file: ::String,
422
+ ?repository_link_id: ::String,
423
+ resource_name: ::String,
424
+ ?role_arn: ::String,
425
+ sync_type: ("CFN_STACK_SYNC")
426
+ ) -> _UpdateSyncConfigurationResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSyncConfigurationResponseSuccess
428
+ end
429
+ end
430
+ end
431
+
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 CodeStarconnections
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 CodeStarconnections
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarconnections/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