aws-sdk-codestarconnections 1.33.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codestarconnections/client.rb +735 -1
- data/lib/aws-sdk-codestarconnections/client_api.rb +564 -0
- data/lib/aws-sdk-codestarconnections/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-codestarconnections/endpoints.rb +210 -0
- data/lib/aws-sdk-codestarconnections/errors.rb +192 -0
- data/lib/aws-sdk-codestarconnections/plugins/endpoints.rb +30 -0
- data/lib/aws-sdk-codestarconnections/types.rb +1214 -45
- data/lib/aws-sdk-codestarconnections.rb +1 -1
- metadata +2 -2
@@ -10,6 +10,47 @@
|
|
10
10
|
module Aws::CodeStarconnections
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# You do not have sufficient access to perform this action.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
26
|
+
# Exception thrown as a result of concurrent modification to an
|
27
|
+
# application. For example, two individuals attempting to edit the same
|
28
|
+
# application at the same time.
|
29
|
+
#
|
30
|
+
# @!attribute [rw] message
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ConcurrentModificationException AWS API Documentation
|
34
|
+
#
|
35
|
+
class ConcurrentModificationException < Struct.new(
|
36
|
+
:message)
|
37
|
+
SENSITIVE = []
|
38
|
+
include Aws::Structure
|
39
|
+
end
|
40
|
+
|
41
|
+
# The conditional check failed. Try again later.
|
42
|
+
#
|
43
|
+
# @!attribute [rw] message
|
44
|
+
# @return [String]
|
45
|
+
#
|
46
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ConditionalCheckFailedException AWS API Documentation
|
47
|
+
#
|
48
|
+
class ConditionalCheckFailedException < Struct.new(
|
49
|
+
:message)
|
50
|
+
SENSITIVE = []
|
51
|
+
include Aws::Structure
|
52
|
+
end
|
53
|
+
|
13
54
|
# Two conflicting operations have been made on the same resource.
|
14
55
|
#
|
15
56
|
# @!attribute [rw] message
|
@@ -153,6 +194,7 @@ module Aws::CodeStarconnections
|
|
153
194
|
# @return [Types::VpcConfiguration]
|
154
195
|
#
|
155
196
|
# @!attribute [rw] tags
|
197
|
+
# Tags for the host to be created.
|
156
198
|
# @return [Array<Types::Tag>]
|
157
199
|
#
|
158
200
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateHostInput AWS API Documentation
|
@@ -172,6 +214,7 @@ module Aws::CodeStarconnections
|
|
172
214
|
# @return [String]
|
173
215
|
#
|
174
216
|
# @!attribute [rw] tags
|
217
|
+
# Tags for the created host.
|
175
218
|
# @return [Array<Types::Tag>]
|
176
219
|
#
|
177
220
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateHostOutput AWS API Documentation
|
@@ -183,6 +226,114 @@ module Aws::CodeStarconnections
|
|
183
226
|
include Aws::Structure
|
184
227
|
end
|
185
228
|
|
229
|
+
# @!attribute [rw] connection_arn
|
230
|
+
# The Amazon Resource Name (ARN) of the connection to be associated
|
231
|
+
# with the repository link.
|
232
|
+
# @return [String]
|
233
|
+
#
|
234
|
+
# @!attribute [rw] owner_id
|
235
|
+
# The owner ID for the repository associated with a specific sync
|
236
|
+
# configuration, such as the owner ID in GitHub.
|
237
|
+
# @return [String]
|
238
|
+
#
|
239
|
+
# @!attribute [rw] repository_name
|
240
|
+
# The name of the repository to be associated with the repository
|
241
|
+
# link.
|
242
|
+
# @return [String]
|
243
|
+
#
|
244
|
+
# @!attribute [rw] encryption_key_arn
|
245
|
+
# The Amazon Resource Name (ARN) encryption key for the repository to
|
246
|
+
# be associated with the repository link.
|
247
|
+
# @return [String]
|
248
|
+
#
|
249
|
+
# @!attribute [rw] tags
|
250
|
+
# The tags for the repository to be associated with the repository
|
251
|
+
# link.
|
252
|
+
# @return [Array<Types::Tag>]
|
253
|
+
#
|
254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateRepositoryLinkInput AWS API Documentation
|
255
|
+
#
|
256
|
+
class CreateRepositoryLinkInput < Struct.new(
|
257
|
+
:connection_arn,
|
258
|
+
:owner_id,
|
259
|
+
:repository_name,
|
260
|
+
:encryption_key_arn,
|
261
|
+
:tags)
|
262
|
+
SENSITIVE = []
|
263
|
+
include Aws::Structure
|
264
|
+
end
|
265
|
+
|
266
|
+
# @!attribute [rw] repository_link_info
|
267
|
+
# The returned information about the created repository link.
|
268
|
+
# @return [Types::RepositoryLinkInfo]
|
269
|
+
#
|
270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateRepositoryLinkOutput AWS API Documentation
|
271
|
+
#
|
272
|
+
class CreateRepositoryLinkOutput < Struct.new(
|
273
|
+
:repository_link_info)
|
274
|
+
SENSITIVE = []
|
275
|
+
include Aws::Structure
|
276
|
+
end
|
277
|
+
|
278
|
+
# @!attribute [rw] branch
|
279
|
+
# The branch in the repository from which changes will be synced.
|
280
|
+
# @return [String]
|
281
|
+
#
|
282
|
+
# @!attribute [rw] config_file
|
283
|
+
# The file name of the configuration file that manages syncing between
|
284
|
+
# the connection and the repository. This configuration file is stored
|
285
|
+
# in the repository.
|
286
|
+
# @return [String]
|
287
|
+
#
|
288
|
+
# @!attribute [rw] repository_link_id
|
289
|
+
# The ID of the repository link created for the connection. A
|
290
|
+
# repository link allows Git sync to monitor and sync changes to files
|
291
|
+
# in a specified Git repository.
|
292
|
+
# @return [String]
|
293
|
+
#
|
294
|
+
# @!attribute [rw] resource_name
|
295
|
+
# The name of the Amazon Web Services resource (for example, a
|
296
|
+
# CloudFormation stack in the case of CFN\_STACK\_SYNC) that will be
|
297
|
+
# synchronized from the linked repository.
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @!attribute [rw] role_arn
|
301
|
+
# The ARN of the IAM role that grants permission for Amazon Web
|
302
|
+
# Services to use Git sync to update a given Amazon Web Services
|
303
|
+
# resource on your behalf.
|
304
|
+
# @return [String]
|
305
|
+
#
|
306
|
+
# @!attribute [rw] sync_type
|
307
|
+
# The type of sync configuration.
|
308
|
+
# @return [String]
|
309
|
+
#
|
310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateSyncConfigurationInput AWS API Documentation
|
311
|
+
#
|
312
|
+
class CreateSyncConfigurationInput < Struct.new(
|
313
|
+
:branch,
|
314
|
+
:config_file,
|
315
|
+
:repository_link_id,
|
316
|
+
:resource_name,
|
317
|
+
:role_arn,
|
318
|
+
:sync_type)
|
319
|
+
SENSITIVE = []
|
320
|
+
include Aws::Structure
|
321
|
+
end
|
322
|
+
|
323
|
+
# @!attribute [rw] sync_configuration
|
324
|
+
# The created sync configuration for the connection. A sync
|
325
|
+
# configuration allows Amazon Web Services to sync content from a Git
|
326
|
+
# repository to update a specified Amazon Web Services resource.
|
327
|
+
# @return [Types::SyncConfiguration]
|
328
|
+
#
|
329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateSyncConfigurationOutput AWS API Documentation
|
330
|
+
#
|
331
|
+
class CreateSyncConfigurationOutput < Struct.new(
|
332
|
+
:sync_configuration)
|
333
|
+
SENSITIVE = []
|
334
|
+
include Aws::Structure
|
335
|
+
end
|
336
|
+
|
186
337
|
# @!attribute [rw] connection_arn
|
187
338
|
# The Amazon Resource Name (ARN) of the connection to be deleted.
|
188
339
|
#
|
@@ -219,6 +370,44 @@ module Aws::CodeStarconnections
|
|
219
370
|
#
|
220
371
|
class DeleteHostOutput < Aws::EmptyStructure; end
|
221
372
|
|
373
|
+
# @!attribute [rw] repository_link_id
|
374
|
+
# The ID of the repository link to be deleted.
|
375
|
+
# @return [String]
|
376
|
+
#
|
377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteRepositoryLinkInput AWS API Documentation
|
378
|
+
#
|
379
|
+
class DeleteRepositoryLinkInput < Struct.new(
|
380
|
+
:repository_link_id)
|
381
|
+
SENSITIVE = []
|
382
|
+
include Aws::Structure
|
383
|
+
end
|
384
|
+
|
385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteRepositoryLinkOutput AWS API Documentation
|
386
|
+
#
|
387
|
+
class DeleteRepositoryLinkOutput < Aws::EmptyStructure; end
|
388
|
+
|
389
|
+
# @!attribute [rw] sync_type
|
390
|
+
# The type of sync configuration to be deleted.
|
391
|
+
# @return [String]
|
392
|
+
#
|
393
|
+
# @!attribute [rw] resource_name
|
394
|
+
# The name of the Amazon Web Services resource associated with the
|
395
|
+
# sync configuration to be deleted.
|
396
|
+
# @return [String]
|
397
|
+
#
|
398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteSyncConfigurationInput AWS API Documentation
|
399
|
+
#
|
400
|
+
class DeleteSyncConfigurationInput < Struct.new(
|
401
|
+
:sync_type,
|
402
|
+
:resource_name)
|
403
|
+
SENSITIVE = []
|
404
|
+
include Aws::Structure
|
405
|
+
end
|
406
|
+
|
407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteSyncConfigurationOutput AWS API Documentation
|
408
|
+
#
|
409
|
+
class DeleteSyncConfigurationOutput < Aws::EmptyStructure; end
|
410
|
+
|
222
411
|
# @!attribute [rw] connection_arn
|
223
412
|
# The Amazon Resource Name (ARN) of a connection.
|
224
413
|
# @return [String]
|
@@ -289,6 +478,171 @@ module Aws::CodeStarconnections
|
|
289
478
|
include Aws::Structure
|
290
479
|
end
|
291
480
|
|
481
|
+
# @!attribute [rw] repository_link_id
|
482
|
+
# The ID of the repository link to get.
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetRepositoryLinkInput AWS API Documentation
|
486
|
+
#
|
487
|
+
class GetRepositoryLinkInput < Struct.new(
|
488
|
+
:repository_link_id)
|
489
|
+
SENSITIVE = []
|
490
|
+
include Aws::Structure
|
491
|
+
end
|
492
|
+
|
493
|
+
# @!attribute [rw] repository_link_info
|
494
|
+
# The information returned for a specified repository link.
|
495
|
+
# @return [Types::RepositoryLinkInfo]
|
496
|
+
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetRepositoryLinkOutput AWS API Documentation
|
498
|
+
#
|
499
|
+
class GetRepositoryLinkOutput < Struct.new(
|
500
|
+
:repository_link_info)
|
501
|
+
SENSITIVE = []
|
502
|
+
include Aws::Structure
|
503
|
+
end
|
504
|
+
|
505
|
+
# @!attribute [rw] branch
|
506
|
+
# The branch of the repository link for the requested repository sync
|
507
|
+
# status.
|
508
|
+
# @return [String]
|
509
|
+
#
|
510
|
+
# @!attribute [rw] repository_link_id
|
511
|
+
# The repository link ID for the requested repository sync status.
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] sync_type
|
515
|
+
# The sync type of the requested sync status.
|
516
|
+
# @return [String]
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetRepositorySyncStatusInput AWS API Documentation
|
519
|
+
#
|
520
|
+
class GetRepositorySyncStatusInput < Struct.new(
|
521
|
+
:branch,
|
522
|
+
:repository_link_id,
|
523
|
+
:sync_type)
|
524
|
+
SENSITIVE = []
|
525
|
+
include Aws::Structure
|
526
|
+
end
|
527
|
+
|
528
|
+
# @!attribute [rw] latest_sync
|
529
|
+
# The status of the latest sync returned for a specified repository
|
530
|
+
# and branch.
|
531
|
+
# @return [Types::RepositorySyncAttempt]
|
532
|
+
#
|
533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetRepositorySyncStatusOutput AWS API Documentation
|
534
|
+
#
|
535
|
+
class GetRepositorySyncStatusOutput < Struct.new(
|
536
|
+
:latest_sync)
|
537
|
+
SENSITIVE = []
|
538
|
+
include Aws::Structure
|
539
|
+
end
|
540
|
+
|
541
|
+
# @!attribute [rw] resource_name
|
542
|
+
# The name of the Amazon Web Services resource for the sync status
|
543
|
+
# with the Git repository.
|
544
|
+
# @return [String]
|
545
|
+
#
|
546
|
+
# @!attribute [rw] sync_type
|
547
|
+
# The sync type for the sync status with the Git repository.
|
548
|
+
# @return [String]
|
549
|
+
#
|
550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetResourceSyncStatusInput AWS API Documentation
|
551
|
+
#
|
552
|
+
class GetResourceSyncStatusInput < Struct.new(
|
553
|
+
:resource_name,
|
554
|
+
:sync_type)
|
555
|
+
SENSITIVE = []
|
556
|
+
include Aws::Structure
|
557
|
+
end
|
558
|
+
|
559
|
+
# @!attribute [rw] desired_state
|
560
|
+
# The desired state of the Amazon Web Services resource for the sync
|
561
|
+
# status with the Git repository.
|
562
|
+
# @return [Types::Revision]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] latest_successful_sync
|
565
|
+
# The latest successful sync for the sync status with the Git
|
566
|
+
# repository.
|
567
|
+
# @return [Types::ResourceSyncAttempt]
|
568
|
+
#
|
569
|
+
# @!attribute [rw] latest_sync
|
570
|
+
# The latest sync for the sync status with the Git repository, whether
|
571
|
+
# successful or not.
|
572
|
+
# @return [Types::ResourceSyncAttempt]
|
573
|
+
#
|
574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetResourceSyncStatusOutput AWS API Documentation
|
575
|
+
#
|
576
|
+
class GetResourceSyncStatusOutput < Struct.new(
|
577
|
+
:desired_state,
|
578
|
+
:latest_successful_sync,
|
579
|
+
:latest_sync)
|
580
|
+
SENSITIVE = []
|
581
|
+
include Aws::Structure
|
582
|
+
end
|
583
|
+
|
584
|
+
# @!attribute [rw] sync_type
|
585
|
+
# The sync type for the sync blocker summary.
|
586
|
+
# @return [String]
|
587
|
+
#
|
588
|
+
# @!attribute [rw] resource_name
|
589
|
+
# The name of the Amazon Web Services resource currently blocked from
|
590
|
+
# automatically being synced from a Git repository.
|
591
|
+
# @return [String]
|
592
|
+
#
|
593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetSyncBlockerSummaryInput AWS API Documentation
|
594
|
+
#
|
595
|
+
class GetSyncBlockerSummaryInput < Struct.new(
|
596
|
+
:sync_type,
|
597
|
+
:resource_name)
|
598
|
+
SENSITIVE = []
|
599
|
+
include Aws::Structure
|
600
|
+
end
|
601
|
+
|
602
|
+
# @!attribute [rw] sync_blocker_summary
|
603
|
+
# The list of sync blockers for a specified resource.
|
604
|
+
# @return [Types::SyncBlockerSummary]
|
605
|
+
#
|
606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetSyncBlockerSummaryOutput AWS API Documentation
|
607
|
+
#
|
608
|
+
class GetSyncBlockerSummaryOutput < Struct.new(
|
609
|
+
:sync_blocker_summary)
|
610
|
+
SENSITIVE = []
|
611
|
+
include Aws::Structure
|
612
|
+
end
|
613
|
+
|
614
|
+
# @!attribute [rw] sync_type
|
615
|
+
# The sync type for the sync configuration for which you want to
|
616
|
+
# retrieve information.
|
617
|
+
# @return [String]
|
618
|
+
#
|
619
|
+
# @!attribute [rw] resource_name
|
620
|
+
# The name of the Amazon Web Services resource for the sync
|
621
|
+
# configuration for which you want to retrieve information.
|
622
|
+
# @return [String]
|
623
|
+
#
|
624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetSyncConfigurationInput AWS API Documentation
|
625
|
+
#
|
626
|
+
class GetSyncConfigurationInput < Struct.new(
|
627
|
+
:sync_type,
|
628
|
+
:resource_name)
|
629
|
+
SENSITIVE = []
|
630
|
+
include Aws::Structure
|
631
|
+
end
|
632
|
+
|
633
|
+
# @!attribute [rw] sync_configuration
|
634
|
+
# The details about the sync configuration for which you want to
|
635
|
+
# retrieve information.
|
636
|
+
# @return [Types::SyncConfiguration]
|
637
|
+
#
|
638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetSyncConfigurationOutput AWS API Documentation
|
639
|
+
#
|
640
|
+
class GetSyncConfigurationOutput < Struct.new(
|
641
|
+
:sync_configuration)
|
642
|
+
SENSITIVE = []
|
643
|
+
include Aws::Structure
|
644
|
+
end
|
645
|
+
|
292
646
|
# A resource that represents the infrastructure where a third-party
|
293
647
|
# provider is installed. The host is used when you create connections to
|
294
648
|
# an installed third-party provider type, such as GitHub Enterprise
|
@@ -348,6 +702,32 @@ module Aws::CodeStarconnections
|
|
348
702
|
include Aws::Structure
|
349
703
|
end
|
350
704
|
|
705
|
+
# Received an internal server exception. Try again later.
|
706
|
+
#
|
707
|
+
# @!attribute [rw] message
|
708
|
+
# @return [String]
|
709
|
+
#
|
710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/InternalServerException AWS API Documentation
|
711
|
+
#
|
712
|
+
class InternalServerException < Struct.new(
|
713
|
+
:message)
|
714
|
+
SENSITIVE = []
|
715
|
+
include Aws::Structure
|
716
|
+
end
|
717
|
+
|
718
|
+
# The input is not valid. Verify that the action is typed correctly.
|
719
|
+
#
|
720
|
+
# @!attribute [rw] message
|
721
|
+
# @return [String]
|
722
|
+
#
|
723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/InvalidInputException AWS API Documentation
|
724
|
+
#
|
725
|
+
class InvalidInputException < Struct.new(
|
726
|
+
:message)
|
727
|
+
SENSITIVE = []
|
728
|
+
include Aws::Structure
|
729
|
+
end
|
730
|
+
|
351
731
|
# Exceeded the maximum limit for connections.
|
352
732
|
#
|
353
733
|
# @!attribute [rw] message
|
@@ -454,94 +834,706 @@ module Aws::CodeStarconnections
|
|
454
834
|
include Aws::Structure
|
455
835
|
end
|
456
836
|
|
457
|
-
# @!attribute [rw]
|
458
|
-
#
|
459
|
-
#
|
837
|
+
# @!attribute [rw] max_results
|
838
|
+
# A non-zero, non-negative integer used to limit the number of
|
839
|
+
# returned results.
|
840
|
+
# @return [Integer]
|
841
|
+
#
|
842
|
+
# @!attribute [rw] next_token
|
843
|
+
# An enumeration token that, when provided in a request, returns the
|
844
|
+
# next batch of the results.
|
460
845
|
# @return [String]
|
461
846
|
#
|
462
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/
|
847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListRepositoryLinksInput AWS API Documentation
|
463
848
|
#
|
464
|
-
class
|
465
|
-
:
|
849
|
+
class ListRepositoryLinksInput < Struct.new(
|
850
|
+
:max_results,
|
851
|
+
:next_token)
|
466
852
|
SENSITIVE = []
|
467
853
|
include Aws::Structure
|
468
854
|
end
|
469
855
|
|
470
|
-
# @!attribute [rw]
|
471
|
-
#
|
472
|
-
#
|
473
|
-
# @return [Array<Types::
|
856
|
+
# @!attribute [rw] repository_links
|
857
|
+
# Lists the repository links called by the list repository links
|
858
|
+
# operation.
|
859
|
+
# @return [Array<Types::RepositoryLinkInfo>]
|
474
860
|
#
|
475
|
-
#
|
861
|
+
# @!attribute [rw] next_token
|
862
|
+
# An enumeration token that allows the operation to batch the results
|
863
|
+
# of the operation.
|
864
|
+
# @return [String]
|
476
865
|
#
|
477
|
-
|
478
|
-
|
866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListRepositoryLinksOutput AWS API Documentation
|
867
|
+
#
|
868
|
+
class ListRepositoryLinksOutput < Struct.new(
|
869
|
+
:repository_links,
|
870
|
+
:next_token)
|
479
871
|
SENSITIVE = []
|
480
872
|
include Aws::Structure
|
481
873
|
end
|
482
874
|
|
483
|
-
#
|
875
|
+
# @!attribute [rw] repository_link_id
|
876
|
+
# The ID of the repository link for the sync definition for which you
|
877
|
+
# want to retrieve information.
|
878
|
+
# @return [String]
|
484
879
|
#
|
485
|
-
# @!attribute [rw]
|
880
|
+
# @!attribute [rw] sync_type
|
881
|
+
# The sync type of the repository link for the the sync definition for
|
882
|
+
# which you want to retrieve information.
|
486
883
|
# @return [String]
|
487
884
|
#
|
488
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/
|
885
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListRepositorySyncDefinitionsInput AWS API Documentation
|
489
886
|
#
|
490
|
-
class
|
491
|
-
:
|
887
|
+
class ListRepositorySyncDefinitionsInput < Struct.new(
|
888
|
+
:repository_link_id,
|
889
|
+
:sync_type)
|
492
890
|
SENSITIVE = []
|
493
891
|
include Aws::Structure
|
494
892
|
end
|
495
893
|
|
496
|
-
#
|
497
|
-
#
|
894
|
+
# @!attribute [rw] repository_sync_definitions
|
895
|
+
# The list of repository sync definitions returned by the request. A
|
896
|
+
# `RepositorySyncDefinition` is a mapping from a repository branch to
|
897
|
+
# all the Amazon Web Services resources that are being synced from
|
898
|
+
# that branch.
|
899
|
+
# @return [Array<Types::RepositorySyncDefinition>]
|
498
900
|
#
|
499
|
-
# @!attribute [rw]
|
901
|
+
# @!attribute [rw] next_token
|
902
|
+
# An enumeration token that, when provided in a request, returns the
|
903
|
+
# next batch of the results.
|
500
904
|
# @return [String]
|
501
905
|
#
|
502
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/
|
906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListRepositorySyncDefinitionsOutput AWS API Documentation
|
503
907
|
#
|
504
|
-
class
|
505
|
-
:
|
908
|
+
class ListRepositorySyncDefinitionsOutput < Struct.new(
|
909
|
+
:repository_sync_definitions,
|
910
|
+
:next_token)
|
506
911
|
SENSITIVE = []
|
507
912
|
include Aws::Structure
|
508
913
|
end
|
509
914
|
|
510
|
-
#
|
915
|
+
# @!attribute [rw] max_results
|
916
|
+
# A non-zero, non-negative integer used to limit the number of
|
917
|
+
# returned results.
|
918
|
+
# @return [Integer]
|
511
919
|
#
|
512
|
-
#
|
513
|
-
#
|
920
|
+
# @!attribute [rw] next_token
|
921
|
+
# An enumeration token that allows the operation to batch the results
|
922
|
+
# of the operation.
|
923
|
+
# @return [String]
|
514
924
|
#
|
515
|
-
# @!attribute [rw]
|
516
|
-
# The
|
925
|
+
# @!attribute [rw] repository_link_id
|
926
|
+
# The ID of the repository link for the requested list of sync
|
927
|
+
# configurations.
|
517
928
|
# @return [String]
|
518
929
|
#
|
519
|
-
# @!attribute [rw]
|
520
|
-
# The
|
930
|
+
# @!attribute [rw] sync_type
|
931
|
+
# The sync type for the requested list of sync configurations.
|
521
932
|
# @return [String]
|
522
933
|
#
|
523
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/
|
934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListSyncConfigurationsInput AWS API Documentation
|
524
935
|
#
|
525
|
-
class
|
526
|
-
:
|
527
|
-
:
|
936
|
+
class ListSyncConfigurationsInput < Struct.new(
|
937
|
+
:max_results,
|
938
|
+
:next_token,
|
939
|
+
:repository_link_id,
|
940
|
+
:sync_type)
|
528
941
|
SENSITIVE = []
|
529
942
|
include Aws::Structure
|
530
943
|
end
|
531
944
|
|
532
|
-
# @!attribute [rw]
|
533
|
-
# The
|
534
|
-
#
|
535
|
-
# @return [String]
|
945
|
+
# @!attribute [rw] sync_configurations
|
946
|
+
# The list of repository sync definitions returned by the request.
|
947
|
+
# @return [Array<Types::SyncConfiguration>]
|
536
948
|
#
|
537
|
-
# @!attribute [rw]
|
538
|
-
#
|
539
|
-
#
|
949
|
+
# @!attribute [rw] next_token
|
950
|
+
# An enumeration token that allows the operation to batch the next
|
951
|
+
# results of the operation.
|
952
|
+
# @return [String]
|
540
953
|
#
|
541
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/
|
954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListSyncConfigurationsOutput AWS API Documentation
|
542
955
|
#
|
543
|
-
class
|
544
|
-
:
|
956
|
+
class ListSyncConfigurationsOutput < Struct.new(
|
957
|
+
:sync_configurations,
|
958
|
+
:next_token)
|
959
|
+
SENSITIVE = []
|
960
|
+
include Aws::Structure
|
961
|
+
end
|
962
|
+
|
963
|
+
# @!attribute [rw] resource_arn
|
964
|
+
# The Amazon Resource Name (ARN) of the resource for which you want to
|
965
|
+
# get information about tags, if any.
|
966
|
+
# @return [String]
|
967
|
+
#
|
968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResourceInput AWS API Documentation
|
969
|
+
#
|
970
|
+
class ListTagsForResourceInput < Struct.new(
|
971
|
+
:resource_arn)
|
972
|
+
SENSITIVE = []
|
973
|
+
include Aws::Structure
|
974
|
+
end
|
975
|
+
|
976
|
+
# @!attribute [rw] tags
|
977
|
+
# A list of tag key and value pairs associated with the specified
|
978
|
+
# resource.
|
979
|
+
# @return [Array<Types::Tag>]
|
980
|
+
#
|
981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResourceOutput AWS API Documentation
|
982
|
+
#
|
983
|
+
class ListTagsForResourceOutput < Struct.new(
|
984
|
+
:tags)
|
985
|
+
SENSITIVE = []
|
986
|
+
include Aws::Structure
|
987
|
+
end
|
988
|
+
|
989
|
+
# Information about the repository link resource, such as the repository
|
990
|
+
# link ARN, the associated connection ARN, encryption key ARN, and owner
|
991
|
+
# ID.
|
992
|
+
#
|
993
|
+
# @!attribute [rw] connection_arn
|
994
|
+
# The Amazon Resource Name (ARN) of the connection associated with the
|
995
|
+
# repository link.
|
996
|
+
# @return [String]
|
997
|
+
#
|
998
|
+
# @!attribute [rw] encryption_key_arn
|
999
|
+
# The Amazon Resource Name (ARN) of the encryption key for the
|
1000
|
+
# repository associated with the repository link.
|
1001
|
+
# @return [String]
|
1002
|
+
#
|
1003
|
+
# @!attribute [rw] owner_id
|
1004
|
+
# The owner ID for the repository associated with the repository link,
|
1005
|
+
# such as the owner ID in GitHub.
|
1006
|
+
# @return [String]
|
1007
|
+
#
|
1008
|
+
# @!attribute [rw] provider_type
|
1009
|
+
# The provider type for the connection, such as GitHub, associated
|
1010
|
+
# with the repository link.
|
1011
|
+
# @return [String]
|
1012
|
+
#
|
1013
|
+
# @!attribute [rw] repository_link_arn
|
1014
|
+
# The Amazon Resource Name (ARN) of the repository link.
|
1015
|
+
# @return [String]
|
1016
|
+
#
|
1017
|
+
# @!attribute [rw] repository_link_id
|
1018
|
+
# The ID of the repository link.
|
1019
|
+
# @return [String]
|
1020
|
+
#
|
1021
|
+
# @!attribute [rw] repository_name
|
1022
|
+
# The name of the repository associated with the repository link.
|
1023
|
+
# @return [String]
|
1024
|
+
#
|
1025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/RepositoryLinkInfo AWS API Documentation
|
1026
|
+
#
|
1027
|
+
class RepositoryLinkInfo < Struct.new(
|
1028
|
+
:connection_arn,
|
1029
|
+
:encryption_key_arn,
|
1030
|
+
:owner_id,
|
1031
|
+
:provider_type,
|
1032
|
+
:repository_link_arn,
|
1033
|
+
:repository_link_id,
|
1034
|
+
:repository_name)
|
1035
|
+
SENSITIVE = []
|
1036
|
+
include Aws::Structure
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# Information about a repository sync attempt for a repository with a
|
1040
|
+
# sync configuration.
|
1041
|
+
#
|
1042
|
+
# @!attribute [rw] started_at
|
1043
|
+
# The start time of a specific sync attempt.
|
1044
|
+
# @return [Time]
|
1045
|
+
#
|
1046
|
+
# @!attribute [rw] status
|
1047
|
+
# The status of a specific sync attempt. The following are valid
|
1048
|
+
# statuses:
|
1049
|
+
#
|
1050
|
+
# * INITIATED - A repository sync attempt has been created and will
|
1051
|
+
# begin soon.
|
1052
|
+
#
|
1053
|
+
# * IN\_PROGRESS - A repository sync attempt has started and work is
|
1054
|
+
# being done to reconcile the branch.
|
1055
|
+
#
|
1056
|
+
# * SUCCEEDED - The repository sync attempt has completed
|
1057
|
+
# successfully.
|
1058
|
+
#
|
1059
|
+
# * FAILED - The repository sync attempt has failed.
|
1060
|
+
#
|
1061
|
+
# * QUEUED - The repository sync attempt didn't execute and was
|
1062
|
+
# queued.
|
1063
|
+
# @return [String]
|
1064
|
+
#
|
1065
|
+
# @!attribute [rw] events
|
1066
|
+
# The events associated with a specific sync attempt.
|
1067
|
+
# @return [Array<Types::RepositorySyncEvent>]
|
1068
|
+
#
|
1069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/RepositorySyncAttempt AWS API Documentation
|
1070
|
+
#
|
1071
|
+
class RepositorySyncAttempt < Struct.new(
|
1072
|
+
:started_at,
|
1073
|
+
:status,
|
1074
|
+
:events)
|
1075
|
+
SENSITIVE = []
|
1076
|
+
include Aws::Structure
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
# The definition for a repository with a sync configuration.
|
1080
|
+
#
|
1081
|
+
# @!attribute [rw] branch
|
1082
|
+
# The branch specified for a repository sync definition.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] directory
|
1086
|
+
# The configuration file for a repository sync definition. This value
|
1087
|
+
# comes from creating or updating the `config-file` field of a
|
1088
|
+
# `sync-configuration`.
|
1089
|
+
# @return [String]
|
1090
|
+
#
|
1091
|
+
# @!attribute [rw] parent
|
1092
|
+
# The parent resource specified for a repository sync definition.
|
1093
|
+
# @return [String]
|
1094
|
+
#
|
1095
|
+
# @!attribute [rw] target
|
1096
|
+
# The target resource specified for a repository sync definition. In
|
1097
|
+
# some cases, such as CFN\_STACK\_SYNC, the parent and target resource
|
1098
|
+
# are the same.
|
1099
|
+
# @return [String]
|
1100
|
+
#
|
1101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/RepositorySyncDefinition AWS API Documentation
|
1102
|
+
#
|
1103
|
+
class RepositorySyncDefinition < Struct.new(
|
1104
|
+
:branch,
|
1105
|
+
:directory,
|
1106
|
+
:parent,
|
1107
|
+
:target)
|
1108
|
+
SENSITIVE = []
|
1109
|
+
include Aws::Structure
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# Information about a repository sync event.
|
1113
|
+
#
|
1114
|
+
# @!attribute [rw] event
|
1115
|
+
# A description of a repository sync event.
|
1116
|
+
# @return [String]
|
1117
|
+
#
|
1118
|
+
# @!attribute [rw] external_id
|
1119
|
+
# The ID for a repository sync event.
|
1120
|
+
# @return [String]
|
1121
|
+
#
|
1122
|
+
# @!attribute [rw] time
|
1123
|
+
# The time that a repository sync event occurred.
|
1124
|
+
# @return [Time]
|
1125
|
+
#
|
1126
|
+
# @!attribute [rw] type
|
1127
|
+
# The event type for a repository sync event.
|
1128
|
+
# @return [String]
|
1129
|
+
#
|
1130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/RepositorySyncEvent AWS API Documentation
|
1131
|
+
#
|
1132
|
+
class RepositorySyncEvent < Struct.new(
|
1133
|
+
:event,
|
1134
|
+
:external_id,
|
1135
|
+
:time,
|
1136
|
+
:type)
|
1137
|
+
SENSITIVE = []
|
1138
|
+
include Aws::Structure
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
# Unable to create resource. Resource already exists.
|
1142
|
+
#
|
1143
|
+
# @!attribute [rw] message
|
1144
|
+
# @return [String]
|
1145
|
+
#
|
1146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ResourceAlreadyExistsException AWS API Documentation
|
1147
|
+
#
|
1148
|
+
class ResourceAlreadyExistsException < Struct.new(
|
1149
|
+
:message)
|
1150
|
+
SENSITIVE = []
|
1151
|
+
include Aws::Structure
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
# Resource not found. Verify the connection resource ARN and try again.
|
1155
|
+
#
|
1156
|
+
# @!attribute [rw] message
|
1157
|
+
# @return [String]
|
1158
|
+
#
|
1159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ResourceNotFoundException AWS API Documentation
|
1160
|
+
#
|
1161
|
+
class ResourceNotFoundException < Struct.new(
|
1162
|
+
:message)
|
1163
|
+
SENSITIVE = []
|
1164
|
+
include Aws::Structure
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# Information about a resource sync attempt.
|
1168
|
+
#
|
1169
|
+
# @!attribute [rw] events
|
1170
|
+
# The events related to a resource sync attempt.
|
1171
|
+
# @return [Array<Types::ResourceSyncEvent>]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] initial_revision
|
1174
|
+
# The current state of the resource as defined in the resource's
|
1175
|
+
# `config-file` in the linked repository.
|
1176
|
+
# @return [Types::Revision]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] started_at
|
1179
|
+
# The start time for a resource sync attempt.
|
1180
|
+
# @return [Time]
|
1181
|
+
#
|
1182
|
+
# @!attribute [rw] status
|
1183
|
+
# The status for a resource sync attempt. The follow are valid
|
1184
|
+
# statuses:
|
1185
|
+
#
|
1186
|
+
# * SYNC-INITIATED - A resource sync attempt has been created and will
|
1187
|
+
# begin soon.
|
1188
|
+
#
|
1189
|
+
# * SYNCING - Syncing has started and work is being done to reconcile
|
1190
|
+
# state.
|
1191
|
+
#
|
1192
|
+
# * SYNCED - Syncing has completed successfully.
|
1193
|
+
#
|
1194
|
+
# * SYNC\_FAILED - A resource sync attempt has failed.
|
1195
|
+
# @return [String]
|
1196
|
+
#
|
1197
|
+
# @!attribute [rw] target_revision
|
1198
|
+
# The desired state of the resource as defined in the resource's
|
1199
|
+
# `config-file` in the linked repository. Git sync attempts to update
|
1200
|
+
# the resource to this state.
|
1201
|
+
# @return [Types::Revision]
|
1202
|
+
#
|
1203
|
+
# @!attribute [rw] target
|
1204
|
+
# The name of the Amazon Web Services resource that is attempted to be
|
1205
|
+
# synchronized.
|
1206
|
+
# @return [String]
|
1207
|
+
#
|
1208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ResourceSyncAttempt AWS API Documentation
|
1209
|
+
#
|
1210
|
+
class ResourceSyncAttempt < Struct.new(
|
1211
|
+
:events,
|
1212
|
+
:initial_revision,
|
1213
|
+
:started_at,
|
1214
|
+
:status,
|
1215
|
+
:target_revision,
|
1216
|
+
:target)
|
1217
|
+
SENSITIVE = []
|
1218
|
+
include Aws::Structure
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
# Information about a resource sync event for the resource associated
|
1222
|
+
# with a sync configuration.
|
1223
|
+
#
|
1224
|
+
# @!attribute [rw] event
|
1225
|
+
# The event for a resource sync event.
|
1226
|
+
# @return [String]
|
1227
|
+
#
|
1228
|
+
# @!attribute [rw] external_id
|
1229
|
+
# The ID for a resource sync event.
|
1230
|
+
# @return [String]
|
1231
|
+
#
|
1232
|
+
# @!attribute [rw] time
|
1233
|
+
# The time that a resource sync event occurred.
|
1234
|
+
# @return [Time]
|
1235
|
+
#
|
1236
|
+
# @!attribute [rw] type
|
1237
|
+
# The type of resource sync event.
|
1238
|
+
# @return [String]
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ResourceSyncEvent AWS API Documentation
|
1241
|
+
#
|
1242
|
+
class ResourceSyncEvent < Struct.new(
|
1243
|
+
:event,
|
1244
|
+
:external_id,
|
1245
|
+
:time,
|
1246
|
+
:type)
|
1247
|
+
SENSITIVE = []
|
1248
|
+
include Aws::Structure
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
# Resource not found. Verify the ARN for the host resource and try
|
1252
|
+
# again.
|
1253
|
+
#
|
1254
|
+
# @!attribute [rw] message
|
1255
|
+
# @return [String]
|
1256
|
+
#
|
1257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ResourceUnavailableException AWS API Documentation
|
1258
|
+
#
|
1259
|
+
class ResourceUnavailableException < Struct.new(
|
1260
|
+
:message)
|
1261
|
+
SENSITIVE = []
|
1262
|
+
include Aws::Structure
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
# Retrying the latest commit failed. Try again later.
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] message
|
1268
|
+
# @return [String]
|
1269
|
+
#
|
1270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/RetryLatestCommitFailedException AWS API Documentation
|
1271
|
+
#
|
1272
|
+
class RetryLatestCommitFailedException < Struct.new(
|
1273
|
+
:message)
|
1274
|
+
SENSITIVE = []
|
1275
|
+
include Aws::Structure
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
# Information about the revision for a specific sync event, such as the
|
1279
|
+
# branch, owner ID, and name of the repository.
|
1280
|
+
#
|
1281
|
+
# @!attribute [rw] branch
|
1282
|
+
# The branch name for a specific revision.
|
1283
|
+
# @return [String]
|
1284
|
+
#
|
1285
|
+
# @!attribute [rw] directory
|
1286
|
+
# The directory, if any, for a specific revision.
|
1287
|
+
# @return [String]
|
1288
|
+
#
|
1289
|
+
# @!attribute [rw] owner_id
|
1290
|
+
# The owner ID for a specific revision, such as the GitHub owner ID
|
1291
|
+
# for a GitHub repository.
|
1292
|
+
# @return [String]
|
1293
|
+
#
|
1294
|
+
# @!attribute [rw] repository_name
|
1295
|
+
# The repository name for a specific revision.
|
1296
|
+
# @return [String]
|
1297
|
+
#
|
1298
|
+
# @!attribute [rw] provider_type
|
1299
|
+
# The provider type for a revision, such as GitHub.
|
1300
|
+
# @return [String]
|
1301
|
+
#
|
1302
|
+
# @!attribute [rw] sha
|
1303
|
+
# The SHA, such as the commit ID, for a specific revision.
|
1304
|
+
# @return [String]
|
1305
|
+
#
|
1306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/Revision AWS API Documentation
|
1307
|
+
#
|
1308
|
+
class Revision < Struct.new(
|
1309
|
+
:branch,
|
1310
|
+
:directory,
|
1311
|
+
:owner_id,
|
1312
|
+
:repository_name,
|
1313
|
+
:provider_type,
|
1314
|
+
:sha)
|
1315
|
+
SENSITIVE = []
|
1316
|
+
include Aws::Structure
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
# Information about a blocker for a sync event.
|
1320
|
+
#
|
1321
|
+
# @!attribute [rw] id
|
1322
|
+
# The ID for a specific sync blocker.
|
1323
|
+
# @return [String]
|
1324
|
+
#
|
1325
|
+
# @!attribute [rw] type
|
1326
|
+
# The sync blocker type.
|
1327
|
+
# @return [String]
|
1328
|
+
#
|
1329
|
+
# @!attribute [rw] status
|
1330
|
+
# The status for a specific sync blocker.
|
1331
|
+
# @return [String]
|
1332
|
+
#
|
1333
|
+
# @!attribute [rw] created_reason
|
1334
|
+
# The provided reason for a specific sync blocker.
|
1335
|
+
# @return [String]
|
1336
|
+
#
|
1337
|
+
# @!attribute [rw] created_at
|
1338
|
+
# The creation time for a specific sync blocker.
|
1339
|
+
# @return [Time]
|
1340
|
+
#
|
1341
|
+
# @!attribute [rw] contexts
|
1342
|
+
# The contexts for a specific sync blocker.
|
1343
|
+
# @return [Array<Types::SyncBlockerContext>]
|
1344
|
+
#
|
1345
|
+
# @!attribute [rw] resolved_reason
|
1346
|
+
# The resolved reason for a specific sync blocker.
|
1347
|
+
# @return [String]
|
1348
|
+
#
|
1349
|
+
# @!attribute [rw] resolved_at
|
1350
|
+
# The time that a specific sync blocker was resolved.
|
1351
|
+
# @return [Time]
|
1352
|
+
#
|
1353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/SyncBlocker AWS API Documentation
|
1354
|
+
#
|
1355
|
+
class SyncBlocker < Struct.new(
|
1356
|
+
:id,
|
1357
|
+
:type,
|
1358
|
+
:status,
|
1359
|
+
:created_reason,
|
1360
|
+
:created_at,
|
1361
|
+
:contexts,
|
1362
|
+
:resolved_reason,
|
1363
|
+
:resolved_at)
|
1364
|
+
SENSITIVE = []
|
1365
|
+
include Aws::Structure
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# The context for a specific sync blocker.
|
1369
|
+
#
|
1370
|
+
# @!attribute [rw] key
|
1371
|
+
# The key provided for a context key-value pair for a specific sync
|
1372
|
+
# blocker.
|
1373
|
+
# @return [String]
|
1374
|
+
#
|
1375
|
+
# @!attribute [rw] value
|
1376
|
+
# The value provided for a context key-value pair for a specific sync
|
1377
|
+
# blocker.
|
1378
|
+
# @return [String]
|
1379
|
+
#
|
1380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/SyncBlockerContext AWS API Documentation
|
1381
|
+
#
|
1382
|
+
class SyncBlockerContext < Struct.new(
|
1383
|
+
:key,
|
1384
|
+
:value)
|
1385
|
+
SENSITIVE = []
|
1386
|
+
include Aws::Structure
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
# Unable to continue. The sync blocker does not exist.
|
1390
|
+
#
|
1391
|
+
# @!attribute [rw] message
|
1392
|
+
# @return [String]
|
1393
|
+
#
|
1394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/SyncBlockerDoesNotExistException AWS API Documentation
|
1395
|
+
#
|
1396
|
+
class SyncBlockerDoesNotExistException < Struct.new(
|
1397
|
+
:message)
|
1398
|
+
SENSITIVE = []
|
1399
|
+
include Aws::Structure
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
# A summary for sync blockers.
|
1403
|
+
#
|
1404
|
+
# @!attribute [rw] resource_name
|
1405
|
+
# The resource name for sync blocker summary.
|
1406
|
+
# @return [String]
|
1407
|
+
#
|
1408
|
+
# @!attribute [rw] parent_resource_name
|
1409
|
+
# The parent resource name for a sync blocker summary.
|
1410
|
+
# @return [String]
|
1411
|
+
#
|
1412
|
+
# @!attribute [rw] latest_blockers
|
1413
|
+
# The latest events for a sync blocker summary.
|
1414
|
+
# @return [Array<Types::SyncBlocker>]
|
1415
|
+
#
|
1416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/SyncBlockerSummary AWS API Documentation
|
1417
|
+
#
|
1418
|
+
class SyncBlockerSummary < Struct.new(
|
1419
|
+
:resource_name,
|
1420
|
+
:parent_resource_name,
|
1421
|
+
:latest_blockers)
|
1422
|
+
SENSITIVE = []
|
1423
|
+
include Aws::Structure
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
# Information, such as repository, branch, provider, and resource names
|
1427
|
+
# for a specific sync configuration.
|
1428
|
+
#
|
1429
|
+
# @!attribute [rw] branch
|
1430
|
+
# The branch associated with a specific sync configuration.
|
1431
|
+
# @return [String]
|
1432
|
+
#
|
1433
|
+
# @!attribute [rw] config_file
|
1434
|
+
# The file path to the configuration file associated with a specific
|
1435
|
+
# sync configuration. The path should point to an actual file in the
|
1436
|
+
# sync configurations linked repository.
|
1437
|
+
# @return [String]
|
1438
|
+
#
|
1439
|
+
# @!attribute [rw] owner_id
|
1440
|
+
# The owner ID for the repository associated with a specific sync
|
1441
|
+
# configuration, such as the owner ID in GitHub.
|
1442
|
+
# @return [String]
|
1443
|
+
#
|
1444
|
+
# @!attribute [rw] provider_type
|
1445
|
+
# The connection provider type associated with a specific sync
|
1446
|
+
# configuration, such as GitHub.
|
1447
|
+
# @return [String]
|
1448
|
+
#
|
1449
|
+
# @!attribute [rw] repository_link_id
|
1450
|
+
# The ID of the repository link associated with a specific sync
|
1451
|
+
# configuration.
|
1452
|
+
# @return [String]
|
1453
|
+
#
|
1454
|
+
# @!attribute [rw] repository_name
|
1455
|
+
# The name of the repository associated with a specific sync
|
1456
|
+
# configuration.
|
1457
|
+
# @return [String]
|
1458
|
+
#
|
1459
|
+
# @!attribute [rw] resource_name
|
1460
|
+
# The name of the connection resource associated with a specific sync
|
1461
|
+
# configuration.
|
1462
|
+
# @return [String]
|
1463
|
+
#
|
1464
|
+
# @!attribute [rw] role_arn
|
1465
|
+
# The Amazon Resource Name (ARN) of the IAM role associated with a
|
1466
|
+
# specific sync configuration.
|
1467
|
+
# @return [String]
|
1468
|
+
#
|
1469
|
+
# @!attribute [rw] sync_type
|
1470
|
+
# The type of sync for a specific sync configuration.
|
1471
|
+
# @return [String]
|
1472
|
+
#
|
1473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/SyncConfiguration AWS API Documentation
|
1474
|
+
#
|
1475
|
+
class SyncConfiguration < Struct.new(
|
1476
|
+
:branch,
|
1477
|
+
:config_file,
|
1478
|
+
:owner_id,
|
1479
|
+
:provider_type,
|
1480
|
+
:repository_link_id,
|
1481
|
+
:repository_name,
|
1482
|
+
:resource_name,
|
1483
|
+
:role_arn,
|
1484
|
+
:sync_type)
|
1485
|
+
SENSITIVE = []
|
1486
|
+
include Aws::Structure
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# Unable to continue. The sync blocker still exists.
|
1490
|
+
#
|
1491
|
+
# @!attribute [rw] message
|
1492
|
+
# @return [String]
|
1493
|
+
#
|
1494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/SyncConfigurationStillExistsException AWS API Documentation
|
1495
|
+
#
|
1496
|
+
class SyncConfigurationStillExistsException < Struct.new(
|
1497
|
+
:message)
|
1498
|
+
SENSITIVE = []
|
1499
|
+
include Aws::Structure
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
# A tag is a key-value pair that is used to manage the resource.
|
1503
|
+
#
|
1504
|
+
# This tag is available for use by Amazon Web Services services that
|
1505
|
+
# support tags.
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] key
|
1508
|
+
# The tag's key.
|
1509
|
+
# @return [String]
|
1510
|
+
#
|
1511
|
+
# @!attribute [rw] value
|
1512
|
+
# The tag's value.
|
1513
|
+
# @return [String]
|
1514
|
+
#
|
1515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/Tag AWS API Documentation
|
1516
|
+
#
|
1517
|
+
class Tag < Struct.new(
|
1518
|
+
:key,
|
1519
|
+
:value)
|
1520
|
+
SENSITIVE = []
|
1521
|
+
include Aws::Structure
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
# @!attribute [rw] resource_arn
|
1525
|
+
# The Amazon Resource Name (ARN) of the resource to which you want to
|
1526
|
+
# add or update tags.
|
1527
|
+
# @return [String]
|
1528
|
+
#
|
1529
|
+
# @!attribute [rw] tags
|
1530
|
+
# The tags you want to modify or add to the resource.
|
1531
|
+
# @return [Array<Types::Tag>]
|
1532
|
+
#
|
1533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResourceInput AWS API Documentation
|
1534
|
+
#
|
1535
|
+
class TagResourceInput < Struct.new(
|
1536
|
+
:resource_arn,
|
545
1537
|
:tags)
|
546
1538
|
SENSITIVE = []
|
547
1539
|
include Aws::Structure
|
@@ -551,6 +1543,19 @@ module Aws::CodeStarconnections
|
|
551
1543
|
#
|
552
1544
|
class TagResourceOutput < Aws::EmptyStructure; end
|
553
1545
|
|
1546
|
+
# The request was denied due to request throttling.
|
1547
|
+
#
|
1548
|
+
# @!attribute [rw] message
|
1549
|
+
# @return [String]
|
1550
|
+
#
|
1551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ThrottlingException AWS API Documentation
|
1552
|
+
#
|
1553
|
+
class ThrottlingException < Struct.new(
|
1554
|
+
:message)
|
1555
|
+
SENSITIVE = []
|
1556
|
+
include Aws::Structure
|
1557
|
+
end
|
1558
|
+
|
554
1559
|
# The operation is not supported. Check the connection status and try
|
555
1560
|
# again.
|
556
1561
|
#
|
@@ -565,6 +1570,19 @@ module Aws::CodeStarconnections
|
|
565
1570
|
include Aws::Structure
|
566
1571
|
end
|
567
1572
|
|
1573
|
+
# The specified provider type is not supported for connections.
|
1574
|
+
#
|
1575
|
+
# @!attribute [rw] message
|
1576
|
+
# @return [String]
|
1577
|
+
#
|
1578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UnsupportedProviderTypeException AWS API Documentation
|
1579
|
+
#
|
1580
|
+
class UnsupportedProviderTypeException < Struct.new(
|
1581
|
+
:message)
|
1582
|
+
SENSITIVE = []
|
1583
|
+
include Aws::Structure
|
1584
|
+
end
|
1585
|
+
|
568
1586
|
# @!attribute [rw] resource_arn
|
569
1587
|
# The Amazon Resource Name (ARN) of the resource to remove tags from.
|
570
1588
|
# @return [String]
|
@@ -614,6 +1632,157 @@ module Aws::CodeStarconnections
|
|
614
1632
|
#
|
615
1633
|
class UpdateHostOutput < Aws::EmptyStructure; end
|
616
1634
|
|
1635
|
+
# The update is out of sync. Try syncing again.
|
1636
|
+
#
|
1637
|
+
# @!attribute [rw] message
|
1638
|
+
# @return [String]
|
1639
|
+
#
|
1640
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateOutOfSyncException AWS API Documentation
|
1641
|
+
#
|
1642
|
+
class UpdateOutOfSyncException < Struct.new(
|
1643
|
+
:message)
|
1644
|
+
SENSITIVE = []
|
1645
|
+
include Aws::Structure
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
# @!attribute [rw] connection_arn
|
1649
|
+
# The Amazon Resource Name (ARN) of the connection for the repository
|
1650
|
+
# link to be updated. The updated connection ARN must have the same
|
1651
|
+
# providerType (such as GitHub) as the original connection ARN for the
|
1652
|
+
# repo link.
|
1653
|
+
# @return [String]
|
1654
|
+
#
|
1655
|
+
# @!attribute [rw] encryption_key_arn
|
1656
|
+
# The Amazon Resource Name (ARN) of the encryption key for the
|
1657
|
+
# repository link to be updated.
|
1658
|
+
# @return [String]
|
1659
|
+
#
|
1660
|
+
# @!attribute [rw] repository_link_id
|
1661
|
+
# The ID of the repository link to be updated.
|
1662
|
+
# @return [String]
|
1663
|
+
#
|
1664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateRepositoryLinkInput AWS API Documentation
|
1665
|
+
#
|
1666
|
+
class UpdateRepositoryLinkInput < Struct.new(
|
1667
|
+
:connection_arn,
|
1668
|
+
:encryption_key_arn,
|
1669
|
+
:repository_link_id)
|
1670
|
+
SENSITIVE = []
|
1671
|
+
include Aws::Structure
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# @!attribute [rw] repository_link_info
|
1675
|
+
# Information about the repository link to be updated.
|
1676
|
+
# @return [Types::RepositoryLinkInfo]
|
1677
|
+
#
|
1678
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateRepositoryLinkOutput AWS API Documentation
|
1679
|
+
#
|
1680
|
+
class UpdateRepositoryLinkOutput < Struct.new(
|
1681
|
+
:repository_link_info)
|
1682
|
+
SENSITIVE = []
|
1683
|
+
include Aws::Structure
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
# @!attribute [rw] id
|
1687
|
+
# The ID of the sync blocker to be updated.
|
1688
|
+
# @return [String]
|
1689
|
+
#
|
1690
|
+
# @!attribute [rw] sync_type
|
1691
|
+
# The sync type of the sync blocker to be updated.
|
1692
|
+
# @return [String]
|
1693
|
+
#
|
1694
|
+
# @!attribute [rw] resource_name
|
1695
|
+
# The name of the resource for the sync blocker to be updated.
|
1696
|
+
# @return [String]
|
1697
|
+
#
|
1698
|
+
# @!attribute [rw] resolved_reason
|
1699
|
+
# The reason for resolving the sync blocker.
|
1700
|
+
# @return [String]
|
1701
|
+
#
|
1702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateSyncBlockerInput AWS API Documentation
|
1703
|
+
#
|
1704
|
+
class UpdateSyncBlockerInput < Struct.new(
|
1705
|
+
:id,
|
1706
|
+
:sync_type,
|
1707
|
+
:resource_name,
|
1708
|
+
:resolved_reason)
|
1709
|
+
SENSITIVE = []
|
1710
|
+
include Aws::Structure
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
# @!attribute [rw] resource_name
|
1714
|
+
# The resource name for the sync blocker.
|
1715
|
+
# @return [String]
|
1716
|
+
#
|
1717
|
+
# @!attribute [rw] parent_resource_name
|
1718
|
+
# The parent resource name for the sync blocker.
|
1719
|
+
# @return [String]
|
1720
|
+
#
|
1721
|
+
# @!attribute [rw] sync_blocker
|
1722
|
+
# Information about the sync blocker to be updated.
|
1723
|
+
# @return [Types::SyncBlocker]
|
1724
|
+
#
|
1725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateSyncBlockerOutput AWS API Documentation
|
1726
|
+
#
|
1727
|
+
class UpdateSyncBlockerOutput < Struct.new(
|
1728
|
+
:resource_name,
|
1729
|
+
:parent_resource_name,
|
1730
|
+
:sync_blocker)
|
1731
|
+
SENSITIVE = []
|
1732
|
+
include Aws::Structure
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
# @!attribute [rw] branch
|
1736
|
+
# The branch for the sync configuration to be updated.
|
1737
|
+
# @return [String]
|
1738
|
+
#
|
1739
|
+
# @!attribute [rw] config_file
|
1740
|
+
# The configuration file for the sync configuration to be updated.
|
1741
|
+
# @return [String]
|
1742
|
+
#
|
1743
|
+
# @!attribute [rw] repository_link_id
|
1744
|
+
# The ID of the repository link for the sync configuration to be
|
1745
|
+
# updated.
|
1746
|
+
# @return [String]
|
1747
|
+
#
|
1748
|
+
# @!attribute [rw] resource_name
|
1749
|
+
# The name of the Amazon Web Services resource for the sync
|
1750
|
+
# configuration to be updated.
|
1751
|
+
# @return [String]
|
1752
|
+
#
|
1753
|
+
# @!attribute [rw] role_arn
|
1754
|
+
# The ARN of the IAM role for the sync configuration to be updated.
|
1755
|
+
# @return [String]
|
1756
|
+
#
|
1757
|
+
# @!attribute [rw] sync_type
|
1758
|
+
# The sync type for the sync configuration to be updated.
|
1759
|
+
# @return [String]
|
1760
|
+
#
|
1761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateSyncConfigurationInput AWS API Documentation
|
1762
|
+
#
|
1763
|
+
class UpdateSyncConfigurationInput < Struct.new(
|
1764
|
+
:branch,
|
1765
|
+
:config_file,
|
1766
|
+
:repository_link_id,
|
1767
|
+
:resource_name,
|
1768
|
+
:role_arn,
|
1769
|
+
:sync_type)
|
1770
|
+
SENSITIVE = []
|
1771
|
+
include Aws::Structure
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
# @!attribute [rw] sync_configuration
|
1775
|
+
# The information returned for the sync configuration to be updated.
|
1776
|
+
# @return [Types::SyncConfiguration]
|
1777
|
+
#
|
1778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateSyncConfigurationOutput AWS API Documentation
|
1779
|
+
#
|
1780
|
+
class UpdateSyncConfigurationOutput < Struct.new(
|
1781
|
+
:sync_configuration)
|
1782
|
+
SENSITIVE = []
|
1783
|
+
include Aws::Structure
|
1784
|
+
end
|
1785
|
+
|
617
1786
|
# The VPC configuration provisioned for the host.
|
618
1787
|
#
|
619
1788
|
# @!attribute [rw] vpc_id
|