aws-sdk-codeconnections 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1856 @@
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
+ module Aws::CodeConnections
11
+ module Types
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/codeconnections-2023-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/codeconnections-2023-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/codeconnections-2023-12-01/ConditionalCheckFailedException AWS API Documentation
47
+ #
48
+ class ConditionalCheckFailedException < Struct.new(
49
+ :message)
50
+ SENSITIVE = []
51
+ include Aws::Structure
52
+ end
53
+
54
+ # Two conflicting operations have been made on the same resource.
55
+ #
56
+ # @!attribute [rw] message
57
+ # @return [String]
58
+ #
59
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ConflictException AWS API Documentation
60
+ #
61
+ class ConflictException < Struct.new(
62
+ :message)
63
+ SENSITIVE = []
64
+ include Aws::Structure
65
+ end
66
+
67
+ # A resource that is used to connect third-party source providers with
68
+ # services like CodePipeline.
69
+ #
70
+ # Note: A connection created through CloudFormation, the CLI, or the SDK
71
+ # is in `PENDING` status by default. You can make its status
72
+ # `AVAILABLE` by updating the connection in the console.
73
+ #
74
+ # @!attribute [rw] connection_name
75
+ # The name of the connection. Connection names must be unique in an
76
+ # Amazon Web Services account.
77
+ # @return [String]
78
+ #
79
+ # @!attribute [rw] connection_arn
80
+ # The Amazon Resource Name (ARN) of the connection. The ARN is used as
81
+ # the connection reference when the connection is shared between
82
+ # Amazon Web Services.
83
+ #
84
+ # <note markdown="1"> The ARN is never reused if the connection is deleted.
85
+ #
86
+ # </note>
87
+ # @return [String]
88
+ #
89
+ # @!attribute [rw] provider_type
90
+ # The name of the external provider where your third-party code
91
+ # repository is configured.
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] owner_account_id
95
+ # The identifier of the external provider where your third-party code
96
+ # repository is configured. For Bitbucket, this is the account ID of
97
+ # the owner of the Bitbucket repository.
98
+ # @return [String]
99
+ #
100
+ # @!attribute [rw] connection_status
101
+ # The current status of the connection.
102
+ # @return [String]
103
+ #
104
+ # @!attribute [rw] host_arn
105
+ # The Amazon Resource Name (ARN) of the host associated with the
106
+ # connection.
107
+ # @return [String]
108
+ #
109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/Connection AWS API Documentation
110
+ #
111
+ class Connection < Struct.new(
112
+ :connection_name,
113
+ :connection_arn,
114
+ :provider_type,
115
+ :owner_account_id,
116
+ :connection_status,
117
+ :host_arn)
118
+ SENSITIVE = []
119
+ include Aws::Structure
120
+ end
121
+
122
+ # @!attribute [rw] provider_type
123
+ # The name of the external provider where your third-party code
124
+ # repository is configured.
125
+ # @return [String]
126
+ #
127
+ # @!attribute [rw] connection_name
128
+ # The name of the connection to be created.
129
+ # @return [String]
130
+ #
131
+ # @!attribute [rw] tags
132
+ # The key-value pair to use when tagging the resource.
133
+ # @return [Array<Types::Tag>]
134
+ #
135
+ # @!attribute [rw] host_arn
136
+ # The Amazon Resource Name (ARN) of the host associated with the
137
+ # connection to be created.
138
+ # @return [String]
139
+ #
140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateConnectionInput AWS API Documentation
141
+ #
142
+ class CreateConnectionInput < Struct.new(
143
+ :provider_type,
144
+ :connection_name,
145
+ :tags,
146
+ :host_arn)
147
+ SENSITIVE = []
148
+ include Aws::Structure
149
+ end
150
+
151
+ # @!attribute [rw] connection_arn
152
+ # The Amazon Resource Name (ARN) of the connection to be created. The
153
+ # ARN is used as the connection reference when the connection is
154
+ # shared between Amazon Web Services services.
155
+ #
156
+ # <note markdown="1"> The ARN is never reused if the connection is deleted.
157
+ #
158
+ # </note>
159
+ # @return [String]
160
+ #
161
+ # @!attribute [rw] tags
162
+ # Specifies the tags applied to the resource.
163
+ # @return [Array<Types::Tag>]
164
+ #
165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateConnectionOutput AWS API Documentation
166
+ #
167
+ class CreateConnectionOutput < Struct.new(
168
+ :connection_arn,
169
+ :tags)
170
+ SENSITIVE = []
171
+ include Aws::Structure
172
+ end
173
+
174
+ # @!attribute [rw] name
175
+ # The name of the host to be created.
176
+ # @return [String]
177
+ #
178
+ # @!attribute [rw] provider_type
179
+ # The name of the installed provider to be associated with your
180
+ # connection. The host resource represents the infrastructure where
181
+ # your provider type is installed. The valid provider type is GitHub
182
+ # Enterprise Server.
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] provider_endpoint
186
+ # The endpoint of the infrastructure to be represented by the host
187
+ # after it is created.
188
+ # @return [String]
189
+ #
190
+ # @!attribute [rw] vpc_configuration
191
+ # The VPC configuration to be provisioned for the host. A VPC must be
192
+ # configured and the infrastructure to be represented by the host must
193
+ # already be connected to the VPC.
194
+ # @return [Types::VpcConfiguration]
195
+ #
196
+ # @!attribute [rw] tags
197
+ # Tags for the host to be created.
198
+ # @return [Array<Types::Tag>]
199
+ #
200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateHostInput AWS API Documentation
201
+ #
202
+ class CreateHostInput < Struct.new(
203
+ :name,
204
+ :provider_type,
205
+ :provider_endpoint,
206
+ :vpc_configuration,
207
+ :tags)
208
+ SENSITIVE = []
209
+ include Aws::Structure
210
+ end
211
+
212
+ # @!attribute [rw] host_arn
213
+ # The Amazon Resource Name (ARN) of the host to be created.
214
+ # @return [String]
215
+ #
216
+ # @!attribute [rw] tags
217
+ # Tags for the created host.
218
+ # @return [Array<Types::Tag>]
219
+ #
220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateHostOutput AWS API Documentation
221
+ #
222
+ class CreateHostOutput < Struct.new(
223
+ :host_arn,
224
+ :tags)
225
+ SENSITIVE = []
226
+ include Aws::Structure
227
+ end
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/codeconnections-2023-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/codeconnections-2023-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
+ # @!attribute [rw] publish_deployment_status
311
+ # Whether to enable or disable publishing of deployment status to
312
+ # source providers.
313
+ # @return [String]
314
+ #
315
+ # @!attribute [rw] trigger_resource_update_on
316
+ # When to trigger Git sync to begin the stack update.
317
+ # @return [String]
318
+ #
319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateSyncConfigurationInput AWS API Documentation
320
+ #
321
+ class CreateSyncConfigurationInput < Struct.new(
322
+ :branch,
323
+ :config_file,
324
+ :repository_link_id,
325
+ :resource_name,
326
+ :role_arn,
327
+ :sync_type,
328
+ :publish_deployment_status,
329
+ :trigger_resource_update_on)
330
+ SENSITIVE = []
331
+ include Aws::Structure
332
+ end
333
+
334
+ # @!attribute [rw] sync_configuration
335
+ # The created sync configuration for the connection. A sync
336
+ # configuration allows Amazon Web Services to sync content from a Git
337
+ # repository to update a specified Amazon Web Services resource.
338
+ # @return [Types::SyncConfiguration]
339
+ #
340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateSyncConfigurationOutput AWS API Documentation
341
+ #
342
+ class CreateSyncConfigurationOutput < Struct.new(
343
+ :sync_configuration)
344
+ SENSITIVE = []
345
+ include Aws::Structure
346
+ end
347
+
348
+ # @!attribute [rw] connection_arn
349
+ # The Amazon Resource Name (ARN) of the connection to be deleted.
350
+ #
351
+ # <note markdown="1"> The ARN is never reused if the connection is deleted.
352
+ #
353
+ # </note>
354
+ # @return [String]
355
+ #
356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteConnectionInput AWS API Documentation
357
+ #
358
+ class DeleteConnectionInput < Struct.new(
359
+ :connection_arn)
360
+ SENSITIVE = []
361
+ include Aws::Structure
362
+ end
363
+
364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteConnectionOutput AWS API Documentation
365
+ #
366
+ class DeleteConnectionOutput < Aws::EmptyStructure; end
367
+
368
+ # @!attribute [rw] host_arn
369
+ # The Amazon Resource Name (ARN) of the host to be deleted.
370
+ # @return [String]
371
+ #
372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteHostInput AWS API Documentation
373
+ #
374
+ class DeleteHostInput < Struct.new(
375
+ :host_arn)
376
+ SENSITIVE = []
377
+ include Aws::Structure
378
+ end
379
+
380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteHostOutput AWS API Documentation
381
+ #
382
+ class DeleteHostOutput < Aws::EmptyStructure; end
383
+
384
+ # @!attribute [rw] repository_link_id
385
+ # The ID of the repository link to be deleted.
386
+ # @return [String]
387
+ #
388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteRepositoryLinkInput AWS API Documentation
389
+ #
390
+ class DeleteRepositoryLinkInput < Struct.new(
391
+ :repository_link_id)
392
+ SENSITIVE = []
393
+ include Aws::Structure
394
+ end
395
+
396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteRepositoryLinkOutput AWS API Documentation
397
+ #
398
+ class DeleteRepositoryLinkOutput < Aws::EmptyStructure; end
399
+
400
+ # @!attribute [rw] sync_type
401
+ # The type of sync configuration to be deleted.
402
+ # @return [String]
403
+ #
404
+ # @!attribute [rw] resource_name
405
+ # The name of the Amazon Web Services resource associated with the
406
+ # sync configuration to be deleted.
407
+ # @return [String]
408
+ #
409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteSyncConfigurationInput AWS API Documentation
410
+ #
411
+ class DeleteSyncConfigurationInput < Struct.new(
412
+ :sync_type,
413
+ :resource_name)
414
+ SENSITIVE = []
415
+ include Aws::Structure
416
+ end
417
+
418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/DeleteSyncConfigurationOutput AWS API Documentation
419
+ #
420
+ class DeleteSyncConfigurationOutput < Aws::EmptyStructure; end
421
+
422
+ # @!attribute [rw] connection_arn
423
+ # The Amazon Resource Name (ARN) of a connection.
424
+ # @return [String]
425
+ #
426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetConnectionInput AWS API Documentation
427
+ #
428
+ class GetConnectionInput < Struct.new(
429
+ :connection_arn)
430
+ SENSITIVE = []
431
+ include Aws::Structure
432
+ end
433
+
434
+ # @!attribute [rw] connection
435
+ # The connection details, such as status, owner, and provider type.
436
+ # @return [Types::Connection]
437
+ #
438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetConnectionOutput AWS API Documentation
439
+ #
440
+ class GetConnectionOutput < Struct.new(
441
+ :connection)
442
+ SENSITIVE = []
443
+ include Aws::Structure
444
+ end
445
+
446
+ # @!attribute [rw] host_arn
447
+ # The Amazon Resource Name (ARN) of the requested host.
448
+ # @return [String]
449
+ #
450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetHostInput AWS API Documentation
451
+ #
452
+ class GetHostInput < Struct.new(
453
+ :host_arn)
454
+ SENSITIVE = []
455
+ include Aws::Structure
456
+ end
457
+
458
+ # @!attribute [rw] name
459
+ # The name of the requested host.
460
+ # @return [String]
461
+ #
462
+ # @!attribute [rw] status
463
+ # The status of the requested host.
464
+ # @return [String]
465
+ #
466
+ # @!attribute [rw] provider_type
467
+ # The provider type of the requested host, such as GitHub Enterprise
468
+ # Server.
469
+ # @return [String]
470
+ #
471
+ # @!attribute [rw] provider_endpoint
472
+ # The endpoint of the infrastructure represented by the requested
473
+ # host.
474
+ # @return [String]
475
+ #
476
+ # @!attribute [rw] vpc_configuration
477
+ # The VPC configuration of the requested host.
478
+ # @return [Types::VpcConfiguration]
479
+ #
480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetHostOutput AWS API Documentation
481
+ #
482
+ class GetHostOutput < Struct.new(
483
+ :name,
484
+ :status,
485
+ :provider_type,
486
+ :provider_endpoint,
487
+ :vpc_configuration)
488
+ SENSITIVE = []
489
+ include Aws::Structure
490
+ end
491
+
492
+ # @!attribute [rw] repository_link_id
493
+ # The ID of the repository link to get.
494
+ # @return [String]
495
+ #
496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetRepositoryLinkInput AWS API Documentation
497
+ #
498
+ class GetRepositoryLinkInput < Struct.new(
499
+ :repository_link_id)
500
+ SENSITIVE = []
501
+ include Aws::Structure
502
+ end
503
+
504
+ # @!attribute [rw] repository_link_info
505
+ # The information returned for a specified repository link.
506
+ # @return [Types::RepositoryLinkInfo]
507
+ #
508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetRepositoryLinkOutput AWS API Documentation
509
+ #
510
+ class GetRepositoryLinkOutput < Struct.new(
511
+ :repository_link_info)
512
+ SENSITIVE = []
513
+ include Aws::Structure
514
+ end
515
+
516
+ # @!attribute [rw] branch
517
+ # The branch of the repository link for the requested repository sync
518
+ # status.
519
+ # @return [String]
520
+ #
521
+ # @!attribute [rw] repository_link_id
522
+ # The repository link ID for the requested repository sync status.
523
+ # @return [String]
524
+ #
525
+ # @!attribute [rw] sync_type
526
+ # The sync type of the requested sync status.
527
+ # @return [String]
528
+ #
529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetRepositorySyncStatusInput AWS API Documentation
530
+ #
531
+ class GetRepositorySyncStatusInput < Struct.new(
532
+ :branch,
533
+ :repository_link_id,
534
+ :sync_type)
535
+ SENSITIVE = []
536
+ include Aws::Structure
537
+ end
538
+
539
+ # @!attribute [rw] latest_sync
540
+ # The status of the latest sync returned for a specified repository
541
+ # and branch.
542
+ # @return [Types::RepositorySyncAttempt]
543
+ #
544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetRepositorySyncStatusOutput AWS API Documentation
545
+ #
546
+ class GetRepositorySyncStatusOutput < Struct.new(
547
+ :latest_sync)
548
+ SENSITIVE = []
549
+ include Aws::Structure
550
+ end
551
+
552
+ # @!attribute [rw] resource_name
553
+ # The name of the Amazon Web Services resource for the sync status
554
+ # with the Git repository.
555
+ # @return [String]
556
+ #
557
+ # @!attribute [rw] sync_type
558
+ # The sync type for the sync status with the Git repository.
559
+ # @return [String]
560
+ #
561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetResourceSyncStatusInput AWS API Documentation
562
+ #
563
+ class GetResourceSyncStatusInput < Struct.new(
564
+ :resource_name,
565
+ :sync_type)
566
+ SENSITIVE = []
567
+ include Aws::Structure
568
+ end
569
+
570
+ # @!attribute [rw] desired_state
571
+ # The desired state of the Amazon Web Services resource for the sync
572
+ # status with the Git repository.
573
+ # @return [Types::Revision]
574
+ #
575
+ # @!attribute [rw] latest_successful_sync
576
+ # The latest successful sync for the sync status with the Git
577
+ # repository.
578
+ # @return [Types::ResourceSyncAttempt]
579
+ #
580
+ # @!attribute [rw] latest_sync
581
+ # The latest sync for the sync status with the Git repository, whether
582
+ # successful or not.
583
+ # @return [Types::ResourceSyncAttempt]
584
+ #
585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetResourceSyncStatusOutput AWS API Documentation
586
+ #
587
+ class GetResourceSyncStatusOutput < Struct.new(
588
+ :desired_state,
589
+ :latest_successful_sync,
590
+ :latest_sync)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
595
+ # @!attribute [rw] sync_type
596
+ # The sync type for the sync blocker summary.
597
+ # @return [String]
598
+ #
599
+ # @!attribute [rw] resource_name
600
+ # The name of the Amazon Web Services resource currently blocked from
601
+ # automatically being synced from a Git repository.
602
+ # @return [String]
603
+ #
604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetSyncBlockerSummaryInput AWS API Documentation
605
+ #
606
+ class GetSyncBlockerSummaryInput < Struct.new(
607
+ :sync_type,
608
+ :resource_name)
609
+ SENSITIVE = []
610
+ include Aws::Structure
611
+ end
612
+
613
+ # @!attribute [rw] sync_blocker_summary
614
+ # The list of sync blockers for a specified resource.
615
+ # @return [Types::SyncBlockerSummary]
616
+ #
617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetSyncBlockerSummaryOutput AWS API Documentation
618
+ #
619
+ class GetSyncBlockerSummaryOutput < Struct.new(
620
+ :sync_blocker_summary)
621
+ SENSITIVE = []
622
+ include Aws::Structure
623
+ end
624
+
625
+ # @!attribute [rw] sync_type
626
+ # The sync type for the sync configuration for which you want to
627
+ # retrieve information.
628
+ # @return [String]
629
+ #
630
+ # @!attribute [rw] resource_name
631
+ # The name of the Amazon Web Services resource for the sync
632
+ # configuration for which you want to retrieve information.
633
+ # @return [String]
634
+ #
635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetSyncConfigurationInput AWS API Documentation
636
+ #
637
+ class GetSyncConfigurationInput < Struct.new(
638
+ :sync_type,
639
+ :resource_name)
640
+ SENSITIVE = []
641
+ include Aws::Structure
642
+ end
643
+
644
+ # @!attribute [rw] sync_configuration
645
+ # The details about the sync configuration for which you want to
646
+ # retrieve information.
647
+ # @return [Types::SyncConfiguration]
648
+ #
649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetSyncConfigurationOutput AWS API Documentation
650
+ #
651
+ class GetSyncConfigurationOutput < Struct.new(
652
+ :sync_configuration)
653
+ SENSITIVE = []
654
+ include Aws::Structure
655
+ end
656
+
657
+ # A resource that represents the infrastructure where a third-party
658
+ # provider is installed. The host is used when you create connections to
659
+ # an installed third-party provider type, such as GitHub Enterprise
660
+ # Server. You create one host for all connections to that provider.
661
+ #
662
+ # <note markdown="1"> A host created through the CLI or the SDK is in `PENDING` status by
663
+ # default. You can make its status `AVAILABLE` by setting up the host
664
+ # in the console.
665
+ #
666
+ # </note>
667
+ #
668
+ # @!attribute [rw] name
669
+ # The name of the host.
670
+ # @return [String]
671
+ #
672
+ # @!attribute [rw] host_arn
673
+ # The Amazon Resource Name (ARN) of the host.
674
+ # @return [String]
675
+ #
676
+ # @!attribute [rw] provider_type
677
+ # The name of the installed provider to be associated with your
678
+ # connection. The host resource represents the infrastructure where
679
+ # your provider type is installed. The valid provider type is GitHub
680
+ # Enterprise Server.
681
+ # @return [String]
682
+ #
683
+ # @!attribute [rw] provider_endpoint
684
+ # The endpoint of the infrastructure where your provider type is
685
+ # installed.
686
+ # @return [String]
687
+ #
688
+ # @!attribute [rw] vpc_configuration
689
+ # The VPC configuration provisioned for the host.
690
+ # @return [Types::VpcConfiguration]
691
+ #
692
+ # @!attribute [rw] status
693
+ # The status of the host, such as PENDING, AVAILABLE,
694
+ # VPC\_CONFIG\_DELETING, VPC\_CONFIG\_INITIALIZING, and
695
+ # VPC\_CONFIG\_FAILED\_INITIALIZATION.
696
+ # @return [String]
697
+ #
698
+ # @!attribute [rw] status_message
699
+ # The status description for the host.
700
+ # @return [String]
701
+ #
702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/Host AWS API Documentation
703
+ #
704
+ class Host < Struct.new(
705
+ :name,
706
+ :host_arn,
707
+ :provider_type,
708
+ :provider_endpoint,
709
+ :vpc_configuration,
710
+ :status,
711
+ :status_message)
712
+ SENSITIVE = []
713
+ include Aws::Structure
714
+ end
715
+
716
+ # Received an internal server exception. Try again later.
717
+ #
718
+ # @!attribute [rw] message
719
+ # @return [String]
720
+ #
721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/InternalServerException AWS API Documentation
722
+ #
723
+ class InternalServerException < Struct.new(
724
+ :message)
725
+ SENSITIVE = []
726
+ include Aws::Structure
727
+ end
728
+
729
+ # The input is not valid. Verify that the action is typed correctly.
730
+ #
731
+ # @!attribute [rw] message
732
+ # @return [String]
733
+ #
734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/InvalidInputException AWS API Documentation
735
+ #
736
+ class InvalidInputException < Struct.new(
737
+ :message)
738
+ SENSITIVE = []
739
+ include Aws::Structure
740
+ end
741
+
742
+ # Exceeded the maximum limit for connections.
743
+ #
744
+ # @!attribute [rw] message
745
+ # @return [String]
746
+ #
747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/LimitExceededException AWS API Documentation
748
+ #
749
+ class LimitExceededException < Struct.new(
750
+ :message)
751
+ SENSITIVE = []
752
+ include Aws::Structure
753
+ end
754
+
755
+ # @!attribute [rw] provider_type_filter
756
+ # Filters the list of connections to those associated with a specified
757
+ # provider, such as Bitbucket.
758
+ # @return [String]
759
+ #
760
+ # @!attribute [rw] host_arn_filter
761
+ # Filters the list of connections to those associated with a specified
762
+ # host.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] max_results
766
+ # The maximum number of results to return in a single call. To
767
+ # retrieve the remaining results, make another call with the returned
768
+ # `nextToken` value.
769
+ # @return [Integer]
770
+ #
771
+ # @!attribute [rw] next_token
772
+ # The token that was returned from the previous `ListConnections`
773
+ # call, which can be used to return the next set of connections in the
774
+ # list.
775
+ # @return [String]
776
+ #
777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListConnectionsInput AWS API Documentation
778
+ #
779
+ class ListConnectionsInput < Struct.new(
780
+ :provider_type_filter,
781
+ :host_arn_filter,
782
+ :max_results,
783
+ :next_token)
784
+ SENSITIVE = []
785
+ include Aws::Structure
786
+ end
787
+
788
+ # @!attribute [rw] connections
789
+ # A list of connections and the details for each connection, such as
790
+ # status, owner, and provider type.
791
+ # @return [Array<Types::Connection>]
792
+ #
793
+ # @!attribute [rw] next_token
794
+ # A token that can be used in the next `ListConnections` call. To view
795
+ # all items in the list, continue to call this operation with each
796
+ # subsequent token until no more `nextToken` values are returned.
797
+ # @return [String]
798
+ #
799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListConnectionsOutput AWS API Documentation
800
+ #
801
+ class ListConnectionsOutput < Struct.new(
802
+ :connections,
803
+ :next_token)
804
+ SENSITIVE = []
805
+ include Aws::Structure
806
+ end
807
+
808
+ # @!attribute [rw] max_results
809
+ # The maximum number of results to return in a single call. To
810
+ # retrieve the remaining results, make another call with the returned
811
+ # `nextToken` value.
812
+ # @return [Integer]
813
+ #
814
+ # @!attribute [rw] next_token
815
+ # The token that was returned from the previous `ListHosts` call,
816
+ # which can be used to return the next set of hosts in the list.
817
+ # @return [String]
818
+ #
819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListHostsInput AWS API Documentation
820
+ #
821
+ class ListHostsInput < Struct.new(
822
+ :max_results,
823
+ :next_token)
824
+ SENSITIVE = []
825
+ include Aws::Structure
826
+ end
827
+
828
+ # @!attribute [rw] hosts
829
+ # A list of hosts and the details for each host, such as status,
830
+ # endpoint, and provider type.
831
+ # @return [Array<Types::Host>]
832
+ #
833
+ # @!attribute [rw] next_token
834
+ # A token that can be used in the next `ListHosts` call. To view all
835
+ # items in the list, continue to call this operation with each
836
+ # subsequent token until no more `nextToken` values are returned.
837
+ # @return [String]
838
+ #
839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListHostsOutput AWS API Documentation
840
+ #
841
+ class ListHostsOutput < Struct.new(
842
+ :hosts,
843
+ :next_token)
844
+ SENSITIVE = []
845
+ include Aws::Structure
846
+ end
847
+
848
+ # @!attribute [rw] max_results
849
+ # A non-zero, non-negative integer used to limit the number of
850
+ # returned results.
851
+ # @return [Integer]
852
+ #
853
+ # @!attribute [rw] next_token
854
+ # An enumeration token that, when provided in a request, returns the
855
+ # next batch of the results.
856
+ # @return [String]
857
+ #
858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListRepositoryLinksInput AWS API Documentation
859
+ #
860
+ class ListRepositoryLinksInput < Struct.new(
861
+ :max_results,
862
+ :next_token)
863
+ SENSITIVE = []
864
+ include Aws::Structure
865
+ end
866
+
867
+ # @!attribute [rw] repository_links
868
+ # Lists the repository links called by the list repository links
869
+ # operation.
870
+ # @return [Array<Types::RepositoryLinkInfo>]
871
+ #
872
+ # @!attribute [rw] next_token
873
+ # An enumeration token that allows the operation to batch the results
874
+ # of the operation.
875
+ # @return [String]
876
+ #
877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListRepositoryLinksOutput AWS API Documentation
878
+ #
879
+ class ListRepositoryLinksOutput < Struct.new(
880
+ :repository_links,
881
+ :next_token)
882
+ SENSITIVE = []
883
+ include Aws::Structure
884
+ end
885
+
886
+ # @!attribute [rw] repository_link_id
887
+ # The ID of the repository link for the sync definition for which you
888
+ # want to retrieve information.
889
+ # @return [String]
890
+ #
891
+ # @!attribute [rw] sync_type
892
+ # The sync type of the repository link for the the sync definition for
893
+ # which you want to retrieve information.
894
+ # @return [String]
895
+ #
896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListRepositorySyncDefinitionsInput AWS API Documentation
897
+ #
898
+ class ListRepositorySyncDefinitionsInput < Struct.new(
899
+ :repository_link_id,
900
+ :sync_type)
901
+ SENSITIVE = []
902
+ include Aws::Structure
903
+ end
904
+
905
+ # @!attribute [rw] repository_sync_definitions
906
+ # The list of repository sync definitions returned by the request. A
907
+ # `RepositorySyncDefinition` is a mapping from a repository branch to
908
+ # all the Amazon Web Services resources that are being synced from
909
+ # that branch.
910
+ # @return [Array<Types::RepositorySyncDefinition>]
911
+ #
912
+ # @!attribute [rw] next_token
913
+ # An enumeration token that, when provided in a request, returns the
914
+ # next batch of the results.
915
+ # @return [String]
916
+ #
917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListRepositorySyncDefinitionsOutput AWS API Documentation
918
+ #
919
+ class ListRepositorySyncDefinitionsOutput < Struct.new(
920
+ :repository_sync_definitions,
921
+ :next_token)
922
+ SENSITIVE = []
923
+ include Aws::Structure
924
+ end
925
+
926
+ # @!attribute [rw] max_results
927
+ # A non-zero, non-negative integer used to limit the number of
928
+ # returned results.
929
+ # @return [Integer]
930
+ #
931
+ # @!attribute [rw] next_token
932
+ # An enumeration token that allows the operation to batch the results
933
+ # of the operation.
934
+ # @return [String]
935
+ #
936
+ # @!attribute [rw] repository_link_id
937
+ # The ID of the repository link for the requested list of sync
938
+ # configurations.
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] sync_type
942
+ # The sync type for the requested list of sync configurations.
943
+ # @return [String]
944
+ #
945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListSyncConfigurationsInput AWS API Documentation
946
+ #
947
+ class ListSyncConfigurationsInput < Struct.new(
948
+ :max_results,
949
+ :next_token,
950
+ :repository_link_id,
951
+ :sync_type)
952
+ SENSITIVE = []
953
+ include Aws::Structure
954
+ end
955
+
956
+ # @!attribute [rw] sync_configurations
957
+ # The list of repository sync definitions returned by the request.
958
+ # @return [Array<Types::SyncConfiguration>]
959
+ #
960
+ # @!attribute [rw] next_token
961
+ # An enumeration token that allows the operation to batch the next
962
+ # results of the operation.
963
+ # @return [String]
964
+ #
965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListSyncConfigurationsOutput AWS API Documentation
966
+ #
967
+ class ListSyncConfigurationsOutput < Struct.new(
968
+ :sync_configurations,
969
+ :next_token)
970
+ SENSITIVE = []
971
+ include Aws::Structure
972
+ end
973
+
974
+ # @!attribute [rw] resource_arn
975
+ # The Amazon Resource Name (ARN) of the resource for which you want to
976
+ # get information about tags, if any.
977
+ # @return [String]
978
+ #
979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListTagsForResourceInput AWS API Documentation
980
+ #
981
+ class ListTagsForResourceInput < Struct.new(
982
+ :resource_arn)
983
+ SENSITIVE = []
984
+ include Aws::Structure
985
+ end
986
+
987
+ # @!attribute [rw] tags
988
+ # A list of tag key and value pairs associated with the specified
989
+ # resource.
990
+ # @return [Array<Types::Tag>]
991
+ #
992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListTagsForResourceOutput AWS API Documentation
993
+ #
994
+ class ListTagsForResourceOutput < Struct.new(
995
+ :tags)
996
+ SENSITIVE = []
997
+ include Aws::Structure
998
+ end
999
+
1000
+ # Information about the repository link resource, such as the repository
1001
+ # link ARN, the associated connection ARN, encryption key ARN, and owner
1002
+ # ID.
1003
+ #
1004
+ # @!attribute [rw] connection_arn
1005
+ # The Amazon Resource Name (ARN) of the connection associated with the
1006
+ # repository link.
1007
+ # @return [String]
1008
+ #
1009
+ # @!attribute [rw] encryption_key_arn
1010
+ # The Amazon Resource Name (ARN) of the encryption key for the
1011
+ # repository associated with the repository link.
1012
+ # @return [String]
1013
+ #
1014
+ # @!attribute [rw] owner_id
1015
+ # The owner ID for the repository associated with the repository link,
1016
+ # such as the owner ID in GitHub.
1017
+ # @return [String]
1018
+ #
1019
+ # @!attribute [rw] provider_type
1020
+ # The provider type for the connection, such as GitHub, associated
1021
+ # with the repository link.
1022
+ # @return [String]
1023
+ #
1024
+ # @!attribute [rw] repository_link_arn
1025
+ # The Amazon Resource Name (ARN) of the repository link.
1026
+ # @return [String]
1027
+ #
1028
+ # @!attribute [rw] repository_link_id
1029
+ # The ID of the repository link.
1030
+ # @return [String]
1031
+ #
1032
+ # @!attribute [rw] repository_name
1033
+ # The name of the repository associated with the repository link.
1034
+ # @return [String]
1035
+ #
1036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/RepositoryLinkInfo AWS API Documentation
1037
+ #
1038
+ class RepositoryLinkInfo < Struct.new(
1039
+ :connection_arn,
1040
+ :encryption_key_arn,
1041
+ :owner_id,
1042
+ :provider_type,
1043
+ :repository_link_arn,
1044
+ :repository_link_id,
1045
+ :repository_name)
1046
+ SENSITIVE = []
1047
+ include Aws::Structure
1048
+ end
1049
+
1050
+ # Information about a repository sync attempt for a repository with a
1051
+ # sync configuration.
1052
+ #
1053
+ # @!attribute [rw] started_at
1054
+ # The start time of a specific sync attempt.
1055
+ # @return [Time]
1056
+ #
1057
+ # @!attribute [rw] status
1058
+ # The status of a specific sync attempt. The following are valid
1059
+ # statuses:
1060
+ #
1061
+ # * INITIATED - A repository sync attempt has been created and will
1062
+ # begin soon.
1063
+ #
1064
+ # * IN\_PROGRESS - A repository sync attempt has started and work is
1065
+ # being done to reconcile the branch.
1066
+ #
1067
+ # * SUCCEEDED - The repository sync attempt has completed
1068
+ # successfully.
1069
+ #
1070
+ # * FAILED - The repository sync attempt has failed.
1071
+ #
1072
+ # * QUEUED - The repository sync attempt didn't execute and was
1073
+ # queued.
1074
+ # @return [String]
1075
+ #
1076
+ # @!attribute [rw] events
1077
+ # The events associated with a specific sync attempt.
1078
+ # @return [Array<Types::RepositorySyncEvent>]
1079
+ #
1080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/RepositorySyncAttempt AWS API Documentation
1081
+ #
1082
+ class RepositorySyncAttempt < Struct.new(
1083
+ :started_at,
1084
+ :status,
1085
+ :events)
1086
+ SENSITIVE = []
1087
+ include Aws::Structure
1088
+ end
1089
+
1090
+ # The definition for a repository with a sync configuration.
1091
+ #
1092
+ # @!attribute [rw] branch
1093
+ # The branch specified for a repository sync definition.
1094
+ # @return [String]
1095
+ #
1096
+ # @!attribute [rw] directory
1097
+ # The configuration file for a repository sync definition. This value
1098
+ # comes from creating or updating the `config-file` field of a
1099
+ # `sync-configuration`.
1100
+ # @return [String]
1101
+ #
1102
+ # @!attribute [rw] parent
1103
+ # The parent resource specified for a repository sync definition.
1104
+ # @return [String]
1105
+ #
1106
+ # @!attribute [rw] target
1107
+ # The target resource specified for a repository sync definition. In
1108
+ # some cases, such as CFN\_STACK\_SYNC, the parent and target resource
1109
+ # are the same.
1110
+ # @return [String]
1111
+ #
1112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/RepositorySyncDefinition AWS API Documentation
1113
+ #
1114
+ class RepositorySyncDefinition < Struct.new(
1115
+ :branch,
1116
+ :directory,
1117
+ :parent,
1118
+ :target)
1119
+ SENSITIVE = []
1120
+ include Aws::Structure
1121
+ end
1122
+
1123
+ # Information about a repository sync event.
1124
+ #
1125
+ # @!attribute [rw] event
1126
+ # A description of a repository sync event.
1127
+ # @return [String]
1128
+ #
1129
+ # @!attribute [rw] external_id
1130
+ # The ID for a repository sync event.
1131
+ # @return [String]
1132
+ #
1133
+ # @!attribute [rw] time
1134
+ # The time that a repository sync event occurred.
1135
+ # @return [Time]
1136
+ #
1137
+ # @!attribute [rw] type
1138
+ # The event type for a repository sync event.
1139
+ # @return [String]
1140
+ #
1141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/RepositorySyncEvent AWS API Documentation
1142
+ #
1143
+ class RepositorySyncEvent < Struct.new(
1144
+ :event,
1145
+ :external_id,
1146
+ :time,
1147
+ :type)
1148
+ SENSITIVE = []
1149
+ include Aws::Structure
1150
+ end
1151
+
1152
+ # Unable to create resource. Resource already exists.
1153
+ #
1154
+ # @!attribute [rw] message
1155
+ # @return [String]
1156
+ #
1157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ResourceAlreadyExistsException AWS API Documentation
1158
+ #
1159
+ class ResourceAlreadyExistsException < Struct.new(
1160
+ :message)
1161
+ SENSITIVE = []
1162
+ include Aws::Structure
1163
+ end
1164
+
1165
+ # Resource not found. Verify the connection resource ARN and try again.
1166
+ #
1167
+ # @!attribute [rw] message
1168
+ # @return [String]
1169
+ #
1170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ResourceNotFoundException AWS API Documentation
1171
+ #
1172
+ class ResourceNotFoundException < Struct.new(
1173
+ :message)
1174
+ SENSITIVE = []
1175
+ include Aws::Structure
1176
+ end
1177
+
1178
+ # Information about a resource sync attempt.
1179
+ #
1180
+ # @!attribute [rw] events
1181
+ # The events related to a resource sync attempt.
1182
+ # @return [Array<Types::ResourceSyncEvent>]
1183
+ #
1184
+ # @!attribute [rw] initial_revision
1185
+ # The current state of the resource as defined in the resource's
1186
+ # `config-file` in the linked repository.
1187
+ # @return [Types::Revision]
1188
+ #
1189
+ # @!attribute [rw] started_at
1190
+ # The start time for a resource sync attempt.
1191
+ # @return [Time]
1192
+ #
1193
+ # @!attribute [rw] status
1194
+ # The status for a resource sync attempt. The follow are valid
1195
+ # statuses:
1196
+ #
1197
+ # * SYNC-INITIATED - A resource sync attempt has been created and will
1198
+ # begin soon.
1199
+ #
1200
+ # * SYNCING - Syncing has started and work is being done to reconcile
1201
+ # state.
1202
+ #
1203
+ # * SYNCED - Syncing has completed successfully.
1204
+ #
1205
+ # * SYNC\_FAILED - A resource sync attempt has failed.
1206
+ # @return [String]
1207
+ #
1208
+ # @!attribute [rw] target_revision
1209
+ # The desired state of the resource as defined in the resource's
1210
+ # `config-file` in the linked repository. Git sync attempts to update
1211
+ # the resource to this state.
1212
+ # @return [Types::Revision]
1213
+ #
1214
+ # @!attribute [rw] target
1215
+ # The name of the Amazon Web Services resource that is attempted to be
1216
+ # synchronized.
1217
+ # @return [String]
1218
+ #
1219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ResourceSyncAttempt AWS API Documentation
1220
+ #
1221
+ class ResourceSyncAttempt < Struct.new(
1222
+ :events,
1223
+ :initial_revision,
1224
+ :started_at,
1225
+ :status,
1226
+ :target_revision,
1227
+ :target)
1228
+ SENSITIVE = []
1229
+ include Aws::Structure
1230
+ end
1231
+
1232
+ # Information about a resource sync event for the resource associated
1233
+ # with a sync configuration.
1234
+ #
1235
+ # @!attribute [rw] event
1236
+ # The event for a resource sync event.
1237
+ # @return [String]
1238
+ #
1239
+ # @!attribute [rw] external_id
1240
+ # The ID for a resource sync event.
1241
+ # @return [String]
1242
+ #
1243
+ # @!attribute [rw] time
1244
+ # The time that a resource sync event occurred.
1245
+ # @return [Time]
1246
+ #
1247
+ # @!attribute [rw] type
1248
+ # The type of resource sync event.
1249
+ # @return [String]
1250
+ #
1251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ResourceSyncEvent AWS API Documentation
1252
+ #
1253
+ class ResourceSyncEvent < Struct.new(
1254
+ :event,
1255
+ :external_id,
1256
+ :time,
1257
+ :type)
1258
+ SENSITIVE = []
1259
+ include Aws::Structure
1260
+ end
1261
+
1262
+ # Resource not found. Verify the ARN for the host resource and try
1263
+ # again.
1264
+ #
1265
+ # @!attribute [rw] message
1266
+ # @return [String]
1267
+ #
1268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ResourceUnavailableException AWS API Documentation
1269
+ #
1270
+ class ResourceUnavailableException < Struct.new(
1271
+ :message)
1272
+ SENSITIVE = []
1273
+ include Aws::Structure
1274
+ end
1275
+
1276
+ # Retrying the latest commit failed. Try again later.
1277
+ #
1278
+ # @!attribute [rw] message
1279
+ # @return [String]
1280
+ #
1281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/RetryLatestCommitFailedException AWS API Documentation
1282
+ #
1283
+ class RetryLatestCommitFailedException < Struct.new(
1284
+ :message)
1285
+ SENSITIVE = []
1286
+ include Aws::Structure
1287
+ end
1288
+
1289
+ # Information about the revision for a specific sync event, such as the
1290
+ # branch, owner ID, and name of the repository.
1291
+ #
1292
+ # @!attribute [rw] branch
1293
+ # The branch name for a specific revision.
1294
+ # @return [String]
1295
+ #
1296
+ # @!attribute [rw] directory
1297
+ # The directory, if any, for a specific revision.
1298
+ # @return [String]
1299
+ #
1300
+ # @!attribute [rw] owner_id
1301
+ # The owner ID for a specific revision, such as the GitHub owner ID
1302
+ # for a GitHub repository.
1303
+ # @return [String]
1304
+ #
1305
+ # @!attribute [rw] repository_name
1306
+ # The repository name for a specific revision.
1307
+ # @return [String]
1308
+ #
1309
+ # @!attribute [rw] provider_type
1310
+ # The provider type for a revision, such as GitHub.
1311
+ # @return [String]
1312
+ #
1313
+ # @!attribute [rw] sha
1314
+ # The SHA, such as the commit ID, for a specific revision.
1315
+ # @return [String]
1316
+ #
1317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/Revision AWS API Documentation
1318
+ #
1319
+ class Revision < Struct.new(
1320
+ :branch,
1321
+ :directory,
1322
+ :owner_id,
1323
+ :repository_name,
1324
+ :provider_type,
1325
+ :sha)
1326
+ SENSITIVE = []
1327
+ include Aws::Structure
1328
+ end
1329
+
1330
+ # Information about a blocker for a sync event.
1331
+ #
1332
+ # @!attribute [rw] id
1333
+ # The ID for a specific sync blocker.
1334
+ # @return [String]
1335
+ #
1336
+ # @!attribute [rw] type
1337
+ # The sync blocker type.
1338
+ # @return [String]
1339
+ #
1340
+ # @!attribute [rw] status
1341
+ # The status for a specific sync blocker.
1342
+ # @return [String]
1343
+ #
1344
+ # @!attribute [rw] created_reason
1345
+ # The provided reason for a specific sync blocker.
1346
+ # @return [String]
1347
+ #
1348
+ # @!attribute [rw] created_at
1349
+ # The creation time for a specific sync blocker.
1350
+ # @return [Time]
1351
+ #
1352
+ # @!attribute [rw] contexts
1353
+ # The contexts for a specific sync blocker.
1354
+ # @return [Array<Types::SyncBlockerContext>]
1355
+ #
1356
+ # @!attribute [rw] resolved_reason
1357
+ # The resolved reason for a specific sync blocker.
1358
+ # @return [String]
1359
+ #
1360
+ # @!attribute [rw] resolved_at
1361
+ # The time that a specific sync blocker was resolved.
1362
+ # @return [Time]
1363
+ #
1364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/SyncBlocker AWS API Documentation
1365
+ #
1366
+ class SyncBlocker < Struct.new(
1367
+ :id,
1368
+ :type,
1369
+ :status,
1370
+ :created_reason,
1371
+ :created_at,
1372
+ :contexts,
1373
+ :resolved_reason,
1374
+ :resolved_at)
1375
+ SENSITIVE = []
1376
+ include Aws::Structure
1377
+ end
1378
+
1379
+ # The context for a specific sync blocker.
1380
+ #
1381
+ # @!attribute [rw] key
1382
+ # The key provided for a context key-value pair for a specific sync
1383
+ # blocker.
1384
+ # @return [String]
1385
+ #
1386
+ # @!attribute [rw] value
1387
+ # The value provided for a context key-value pair for a specific sync
1388
+ # blocker.
1389
+ # @return [String]
1390
+ #
1391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/SyncBlockerContext AWS API Documentation
1392
+ #
1393
+ class SyncBlockerContext < Struct.new(
1394
+ :key,
1395
+ :value)
1396
+ SENSITIVE = []
1397
+ include Aws::Structure
1398
+ end
1399
+
1400
+ # Unable to continue. The sync blocker does not exist.
1401
+ #
1402
+ # @!attribute [rw] message
1403
+ # @return [String]
1404
+ #
1405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/SyncBlockerDoesNotExistException AWS API Documentation
1406
+ #
1407
+ class SyncBlockerDoesNotExistException < Struct.new(
1408
+ :message)
1409
+ SENSITIVE = []
1410
+ include Aws::Structure
1411
+ end
1412
+
1413
+ # A summary for sync blockers.
1414
+ #
1415
+ # @!attribute [rw] resource_name
1416
+ # The resource name for sync blocker summary.
1417
+ # @return [String]
1418
+ #
1419
+ # @!attribute [rw] parent_resource_name
1420
+ # The parent resource name for a sync blocker summary.
1421
+ # @return [String]
1422
+ #
1423
+ # @!attribute [rw] latest_blockers
1424
+ # The latest events for a sync blocker summary.
1425
+ # @return [Array<Types::SyncBlocker>]
1426
+ #
1427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/SyncBlockerSummary AWS API Documentation
1428
+ #
1429
+ class SyncBlockerSummary < Struct.new(
1430
+ :resource_name,
1431
+ :parent_resource_name,
1432
+ :latest_blockers)
1433
+ SENSITIVE = []
1434
+ include Aws::Structure
1435
+ end
1436
+
1437
+ # Information, such as repository, branch, provider, and resource names
1438
+ # for a specific sync configuration.
1439
+ #
1440
+ # @!attribute [rw] branch
1441
+ # The branch associated with a specific sync configuration.
1442
+ # @return [String]
1443
+ #
1444
+ # @!attribute [rw] config_file
1445
+ # The file path to the configuration file associated with a specific
1446
+ # sync configuration. The path should point to an actual file in the
1447
+ # sync configurations linked repository.
1448
+ # @return [String]
1449
+ #
1450
+ # @!attribute [rw] owner_id
1451
+ # The owner ID for the repository associated with a specific sync
1452
+ # configuration, such as the owner ID in GitHub.
1453
+ # @return [String]
1454
+ #
1455
+ # @!attribute [rw] provider_type
1456
+ # The connection provider type associated with a specific sync
1457
+ # configuration, such as GitHub.
1458
+ # @return [String]
1459
+ #
1460
+ # @!attribute [rw] repository_link_id
1461
+ # The ID of the repository link associated with a specific sync
1462
+ # configuration.
1463
+ # @return [String]
1464
+ #
1465
+ # @!attribute [rw] repository_name
1466
+ # The name of the repository associated with a specific sync
1467
+ # configuration.
1468
+ # @return [String]
1469
+ #
1470
+ # @!attribute [rw] resource_name
1471
+ # The name of the connection resource associated with a specific sync
1472
+ # configuration.
1473
+ # @return [String]
1474
+ #
1475
+ # @!attribute [rw] role_arn
1476
+ # The Amazon Resource Name (ARN) of the IAM role associated with a
1477
+ # specific sync configuration.
1478
+ # @return [String]
1479
+ #
1480
+ # @!attribute [rw] sync_type
1481
+ # The type of sync for a specific sync configuration.
1482
+ # @return [String]
1483
+ #
1484
+ # @!attribute [rw] publish_deployment_status
1485
+ # Whether to enable or disable publishing of deployment status to
1486
+ # source providers.
1487
+ # @return [String]
1488
+ #
1489
+ # @!attribute [rw] trigger_resource_update_on
1490
+ # When to trigger Git sync to begin the stack update.
1491
+ # @return [String]
1492
+ #
1493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/SyncConfiguration AWS API Documentation
1494
+ #
1495
+ class SyncConfiguration < Struct.new(
1496
+ :branch,
1497
+ :config_file,
1498
+ :owner_id,
1499
+ :provider_type,
1500
+ :repository_link_id,
1501
+ :repository_name,
1502
+ :resource_name,
1503
+ :role_arn,
1504
+ :sync_type,
1505
+ :publish_deployment_status,
1506
+ :trigger_resource_update_on)
1507
+ SENSITIVE = []
1508
+ include Aws::Structure
1509
+ end
1510
+
1511
+ # Unable to continue. The sync blocker still exists.
1512
+ #
1513
+ # @!attribute [rw] message
1514
+ # @return [String]
1515
+ #
1516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/SyncConfigurationStillExistsException AWS API Documentation
1517
+ #
1518
+ class SyncConfigurationStillExistsException < Struct.new(
1519
+ :message)
1520
+ SENSITIVE = []
1521
+ include Aws::Structure
1522
+ end
1523
+
1524
+ # A tag is a key-value pair that is used to manage the resource.
1525
+ #
1526
+ # This tag is available for use by Amazon Web Services services that
1527
+ # support tags.
1528
+ #
1529
+ # @!attribute [rw] key
1530
+ # The tag's key.
1531
+ # @return [String]
1532
+ #
1533
+ # @!attribute [rw] value
1534
+ # The tag's value.
1535
+ # @return [String]
1536
+ #
1537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/Tag AWS API Documentation
1538
+ #
1539
+ class Tag < Struct.new(
1540
+ :key,
1541
+ :value)
1542
+ SENSITIVE = []
1543
+ include Aws::Structure
1544
+ end
1545
+
1546
+ # @!attribute [rw] resource_arn
1547
+ # The Amazon Resource Name (ARN) of the resource to which you want to
1548
+ # add or update tags.
1549
+ # @return [String]
1550
+ #
1551
+ # @!attribute [rw] tags
1552
+ # The tags you want to modify or add to the resource.
1553
+ # @return [Array<Types::Tag>]
1554
+ #
1555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/TagResourceInput AWS API Documentation
1556
+ #
1557
+ class TagResourceInput < Struct.new(
1558
+ :resource_arn,
1559
+ :tags)
1560
+ SENSITIVE = []
1561
+ include Aws::Structure
1562
+ end
1563
+
1564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/TagResourceOutput AWS API Documentation
1565
+ #
1566
+ class TagResourceOutput < Aws::EmptyStructure; end
1567
+
1568
+ # The request was denied due to request throttling.
1569
+ #
1570
+ # @!attribute [rw] message
1571
+ # @return [String]
1572
+ #
1573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ThrottlingException AWS API Documentation
1574
+ #
1575
+ class ThrottlingException < Struct.new(
1576
+ :message)
1577
+ SENSITIVE = []
1578
+ include Aws::Structure
1579
+ end
1580
+
1581
+ # The operation is not supported. Check the connection status and try
1582
+ # again.
1583
+ #
1584
+ # @!attribute [rw] message
1585
+ # @return [String]
1586
+ #
1587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UnsupportedOperationException AWS API Documentation
1588
+ #
1589
+ class UnsupportedOperationException < Struct.new(
1590
+ :message)
1591
+ SENSITIVE = []
1592
+ include Aws::Structure
1593
+ end
1594
+
1595
+ # The specified provider type is not supported for connections.
1596
+ #
1597
+ # @!attribute [rw] message
1598
+ # @return [String]
1599
+ #
1600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UnsupportedProviderTypeException AWS API Documentation
1601
+ #
1602
+ class UnsupportedProviderTypeException < Struct.new(
1603
+ :message)
1604
+ SENSITIVE = []
1605
+ include Aws::Structure
1606
+ end
1607
+
1608
+ # @!attribute [rw] resource_arn
1609
+ # The Amazon Resource Name (ARN) of the resource to remove tags from.
1610
+ # @return [String]
1611
+ #
1612
+ # @!attribute [rw] tag_keys
1613
+ # The list of keys for the tags to be removed from the resource.
1614
+ # @return [Array<String>]
1615
+ #
1616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UntagResourceInput AWS API Documentation
1617
+ #
1618
+ class UntagResourceInput < Struct.new(
1619
+ :resource_arn,
1620
+ :tag_keys)
1621
+ SENSITIVE = []
1622
+ include Aws::Structure
1623
+ end
1624
+
1625
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UntagResourceOutput AWS API Documentation
1626
+ #
1627
+ class UntagResourceOutput < Aws::EmptyStructure; end
1628
+
1629
+ # @!attribute [rw] host_arn
1630
+ # The Amazon Resource Name (ARN) of the host to be updated.
1631
+ # @return [String]
1632
+ #
1633
+ # @!attribute [rw] provider_endpoint
1634
+ # The URL or endpoint of the host to be updated.
1635
+ # @return [String]
1636
+ #
1637
+ # @!attribute [rw] vpc_configuration
1638
+ # The VPC configuration of the host to be updated. A VPC must be
1639
+ # configured and the infrastructure to be represented by the host must
1640
+ # already be connected to the VPC.
1641
+ # @return [Types::VpcConfiguration]
1642
+ #
1643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateHostInput AWS API Documentation
1644
+ #
1645
+ class UpdateHostInput < Struct.new(
1646
+ :host_arn,
1647
+ :provider_endpoint,
1648
+ :vpc_configuration)
1649
+ SENSITIVE = []
1650
+ include Aws::Structure
1651
+ end
1652
+
1653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateHostOutput AWS API Documentation
1654
+ #
1655
+ class UpdateHostOutput < Aws::EmptyStructure; end
1656
+
1657
+ # The update is out of sync. Try syncing again.
1658
+ #
1659
+ # @!attribute [rw] message
1660
+ # @return [String]
1661
+ #
1662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateOutOfSyncException AWS API Documentation
1663
+ #
1664
+ class UpdateOutOfSyncException < Struct.new(
1665
+ :message)
1666
+ SENSITIVE = []
1667
+ include Aws::Structure
1668
+ end
1669
+
1670
+ # @!attribute [rw] connection_arn
1671
+ # The Amazon Resource Name (ARN) of the connection for the repository
1672
+ # link to be updated. The updated connection ARN must have the same
1673
+ # providerType (such as GitHub) as the original connection ARN for the
1674
+ # repo link.
1675
+ # @return [String]
1676
+ #
1677
+ # @!attribute [rw] encryption_key_arn
1678
+ # The Amazon Resource Name (ARN) of the encryption key for the
1679
+ # repository link to be updated.
1680
+ # @return [String]
1681
+ #
1682
+ # @!attribute [rw] repository_link_id
1683
+ # The ID of the repository link to be updated.
1684
+ # @return [String]
1685
+ #
1686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateRepositoryLinkInput AWS API Documentation
1687
+ #
1688
+ class UpdateRepositoryLinkInput < Struct.new(
1689
+ :connection_arn,
1690
+ :encryption_key_arn,
1691
+ :repository_link_id)
1692
+ SENSITIVE = []
1693
+ include Aws::Structure
1694
+ end
1695
+
1696
+ # @!attribute [rw] repository_link_info
1697
+ # Information about the repository link to be updated.
1698
+ # @return [Types::RepositoryLinkInfo]
1699
+ #
1700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateRepositoryLinkOutput AWS API Documentation
1701
+ #
1702
+ class UpdateRepositoryLinkOutput < Struct.new(
1703
+ :repository_link_info)
1704
+ SENSITIVE = []
1705
+ include Aws::Structure
1706
+ end
1707
+
1708
+ # @!attribute [rw] id
1709
+ # The ID of the sync blocker to be updated.
1710
+ # @return [String]
1711
+ #
1712
+ # @!attribute [rw] sync_type
1713
+ # The sync type of the sync blocker to be updated.
1714
+ # @return [String]
1715
+ #
1716
+ # @!attribute [rw] resource_name
1717
+ # The name of the resource for the sync blocker to be updated.
1718
+ # @return [String]
1719
+ #
1720
+ # @!attribute [rw] resolved_reason
1721
+ # The reason for resolving the sync blocker.
1722
+ # @return [String]
1723
+ #
1724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateSyncBlockerInput AWS API Documentation
1725
+ #
1726
+ class UpdateSyncBlockerInput < Struct.new(
1727
+ :id,
1728
+ :sync_type,
1729
+ :resource_name,
1730
+ :resolved_reason)
1731
+ SENSITIVE = []
1732
+ include Aws::Structure
1733
+ end
1734
+
1735
+ # @!attribute [rw] resource_name
1736
+ # The resource name for the sync blocker.
1737
+ # @return [String]
1738
+ #
1739
+ # @!attribute [rw] parent_resource_name
1740
+ # The parent resource name for the sync blocker.
1741
+ # @return [String]
1742
+ #
1743
+ # @!attribute [rw] sync_blocker
1744
+ # Information about the sync blocker to be updated.
1745
+ # @return [Types::SyncBlocker]
1746
+ #
1747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateSyncBlockerOutput AWS API Documentation
1748
+ #
1749
+ class UpdateSyncBlockerOutput < Struct.new(
1750
+ :resource_name,
1751
+ :parent_resource_name,
1752
+ :sync_blocker)
1753
+ SENSITIVE = []
1754
+ include Aws::Structure
1755
+ end
1756
+
1757
+ # @!attribute [rw] branch
1758
+ # The branch for the sync configuration to be updated.
1759
+ # @return [String]
1760
+ #
1761
+ # @!attribute [rw] config_file
1762
+ # The configuration file for the sync configuration to be updated.
1763
+ # @return [String]
1764
+ #
1765
+ # @!attribute [rw] repository_link_id
1766
+ # The ID of the repository link for the sync configuration to be
1767
+ # updated.
1768
+ # @return [String]
1769
+ #
1770
+ # @!attribute [rw] resource_name
1771
+ # The name of the Amazon Web Services resource for the sync
1772
+ # configuration to be updated.
1773
+ # @return [String]
1774
+ #
1775
+ # @!attribute [rw] role_arn
1776
+ # The ARN of the IAM role for the sync configuration to be updated.
1777
+ # @return [String]
1778
+ #
1779
+ # @!attribute [rw] sync_type
1780
+ # The sync type for the sync configuration to be updated.
1781
+ # @return [String]
1782
+ #
1783
+ # @!attribute [rw] publish_deployment_status
1784
+ # Whether to enable or disable publishing of deployment status to
1785
+ # source providers.
1786
+ # @return [String]
1787
+ #
1788
+ # @!attribute [rw] trigger_resource_update_on
1789
+ # When to trigger Git sync to begin the stack update.
1790
+ # @return [String]
1791
+ #
1792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateSyncConfigurationInput AWS API Documentation
1793
+ #
1794
+ class UpdateSyncConfigurationInput < Struct.new(
1795
+ :branch,
1796
+ :config_file,
1797
+ :repository_link_id,
1798
+ :resource_name,
1799
+ :role_arn,
1800
+ :sync_type,
1801
+ :publish_deployment_status,
1802
+ :trigger_resource_update_on)
1803
+ SENSITIVE = []
1804
+ include Aws::Structure
1805
+ end
1806
+
1807
+ # @!attribute [rw] sync_configuration
1808
+ # The information returned for the sync configuration to be updated.
1809
+ # @return [Types::SyncConfiguration]
1810
+ #
1811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateSyncConfigurationOutput AWS API Documentation
1812
+ #
1813
+ class UpdateSyncConfigurationOutput < Struct.new(
1814
+ :sync_configuration)
1815
+ SENSITIVE = []
1816
+ include Aws::Structure
1817
+ end
1818
+
1819
+ # The VPC configuration provisioned for the host.
1820
+ #
1821
+ # @!attribute [rw] vpc_id
1822
+ # The ID of the Amazon VPC connected to the infrastructure where your
1823
+ # provider type is installed.
1824
+ # @return [String]
1825
+ #
1826
+ # @!attribute [rw] subnet_ids
1827
+ # The ID of the subnet or subnets associated with the Amazon VPC
1828
+ # connected to the infrastructure where your provider type is
1829
+ # installed.
1830
+ # @return [Array<String>]
1831
+ #
1832
+ # @!attribute [rw] security_group_ids
1833
+ # The ID of the security group or security groups associated with the
1834
+ # Amazon VPC connected to the infrastructure where your provider type
1835
+ # is installed.
1836
+ # @return [Array<String>]
1837
+ #
1838
+ # @!attribute [rw] tls_certificate
1839
+ # The value of the Transport Layer Security (TLS) certificate
1840
+ # associated with the infrastructure where your provider type is
1841
+ # installed.
1842
+ # @return [String]
1843
+ #
1844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/VpcConfiguration AWS API Documentation
1845
+ #
1846
+ class VpcConfiguration < Struct.new(
1847
+ :vpc_id,
1848
+ :subnet_ids,
1849
+ :security_group_ids,
1850
+ :tls_certificate)
1851
+ SENSITIVE = []
1852
+ include Aws::Structure
1853
+ end
1854
+
1855
+ end
1856
+ end