aws-sdk-codegurureviewer 1.17.0 → 1.21.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codegurureviewer/client.rb +232 -17
- data/lib/aws-sdk-codegurureviewer/client_api.rb +62 -1
- data/lib/aws-sdk-codegurureviewer/types.rb +527 -27
- data/lib/aws-sdk-codegurureviewer/waiters.rb +167 -0
- data/lib/aws-sdk-codegurureviewer.rb +2 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fe352743030afc205877fbf582a39662cfff76be9928b7e377a75111c15aaa2
|
4
|
+
data.tar.gz: e575901aa554ac890697eaac42da6b72ae6d8296da008b207d6946b0b1bfa24e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95f0108c1e8edaa9ab320cc6e93adc967910f3a6cadfb0e8a201ea1282cc4c008baca9e9a6a9ee3a46bea4239d4d5b44a9fba1ae52775a4c73a58b1183345ca6
|
7
|
+
data.tar.gz: fd16eca925e1c2a5ba65a0c17048b4085277e5d2e6087520a895db299a2b049ceba25e0923ef2bf171809f2feeea0b668afa0113a1524d6ff17ac03f5d6e855c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2021-09-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.20.0 (2021-07-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.19.0 (2021-07-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.18.0 (2021-06-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Adds support for S3 based full repository analysis and changed lines scan.
|
23
|
+
|
4
24
|
1.17.0 (2021-04-26)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -335,9 +335,9 @@ module Aws::CodeGuruReviewer
|
|
335
335
|
# Reviewer console. For more information, see [Recommendations in Amazon
|
336
336
|
# CodeGuru Reviewer][1] in the *Amazon CodeGuru Reviewer User Guide.*
|
337
337
|
#
|
338
|
-
# If you associate a CodeCommit repository, it must be in the same
|
339
|
-
# Region and AWS account where its CodeGuru Reviewer code reviews
|
340
|
-
# configured.
|
338
|
+
# If you associate a CodeCommit or S3 repository, it must be in the same
|
339
|
+
# AWS Region and AWS account where its CodeGuru Reviewer code reviews
|
340
|
+
# are configured.
|
341
341
|
#
|
342
342
|
# Bitbucket and GitHub Enterprise Server repositories are managed by AWS
|
343
343
|
# CodeStar Connections to connect to CodeGuru Reviewer. For more
|
@@ -413,6 +413,10 @@ module Aws::CodeGuruReviewer
|
|
413
413
|
# connection_arn: "ConnectionArn", # required
|
414
414
|
# owner: "Owner", # required
|
415
415
|
# },
|
416
|
+
# s3_bucket: {
|
417
|
+
# name: "Name", # required
|
418
|
+
# bucket_name: "S3BucketName", # required
|
419
|
+
# },
|
416
420
|
# },
|
417
421
|
# client_request_token: "ClientRequestToken",
|
418
422
|
# tags: {
|
@@ -431,13 +435,16 @@ module Aws::CodeGuruReviewer
|
|
431
435
|
# resp.repository_association.connection_arn #=> String
|
432
436
|
# resp.repository_association.name #=> String
|
433
437
|
# resp.repository_association.owner #=> String
|
434
|
-
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
|
438
|
+
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer", "S3Bucket"
|
435
439
|
# resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating", "Disassociated"
|
436
440
|
# resp.repository_association.state_reason #=> String
|
437
441
|
# resp.repository_association.last_updated_time_stamp #=> Time
|
438
442
|
# resp.repository_association.created_time_stamp #=> Time
|
439
443
|
# resp.repository_association.kms_key_details.kms_key_id #=> String
|
440
444
|
# resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
|
445
|
+
# resp.repository_association.s3_repository_details.bucket_name #=> String
|
446
|
+
# resp.repository_association.s3_repository_details.code_artifacts.source_code_artifacts_object_key #=> String
|
447
|
+
# resp.repository_association.s3_repository_details.code_artifacts.build_artifacts_object_key #=> String
|
441
448
|
# resp.tags #=> Hash
|
442
449
|
# resp.tags["TagKey"] #=> String
|
443
450
|
#
|
@@ -453,8 +460,7 @@ module Aws::CodeGuruReviewer
|
|
453
460
|
# Use to create a code review with a [ `CodeReviewType` ][1] of
|
454
461
|
# `RepositoryAnalysis`. This type of code review analyzes all code under
|
455
462
|
# a specified branch in an associated repository. `PullRequest` code
|
456
|
-
# reviews are automatically triggered by a pull request
|
457
|
-
# created using this method.
|
463
|
+
# reviews are automatically triggered by a pull request.
|
458
464
|
#
|
459
465
|
#
|
460
466
|
#
|
@@ -504,10 +510,44 @@ module Aws::CodeGuruReviewer
|
|
504
510
|
# repository_association_arn: "AssociationArn", # required
|
505
511
|
# type: { # required
|
506
512
|
# repository_analysis: { # required
|
507
|
-
# repository_head: {
|
513
|
+
# repository_head: {
|
508
514
|
# branch_name: "BranchName", # required
|
509
515
|
# },
|
516
|
+
# source_code_type: {
|
517
|
+
# commit_diff: {
|
518
|
+
# source_commit: "CommitId",
|
519
|
+
# destination_commit: "CommitId",
|
520
|
+
# merge_base_commit: "CommitId",
|
521
|
+
# },
|
522
|
+
# repository_head: {
|
523
|
+
# branch_name: "BranchName", # required
|
524
|
+
# },
|
525
|
+
# branch_diff: {
|
526
|
+
# source_branch_name: "BranchName", # required
|
527
|
+
# destination_branch_name: "BranchName", # required
|
528
|
+
# },
|
529
|
+
# s3_bucket_repository: {
|
530
|
+
# name: "Name", # required
|
531
|
+
# details: {
|
532
|
+
# bucket_name: "S3BucketName",
|
533
|
+
# code_artifacts: {
|
534
|
+
# source_code_artifacts_object_key: "SourceCodeArtifactsObjectKey", # required
|
535
|
+
# build_artifacts_object_key: "BuildArtifactsObjectKey",
|
536
|
+
# },
|
537
|
+
# },
|
538
|
+
# },
|
539
|
+
# request_metadata: {
|
540
|
+
# request_id: "RequestId",
|
541
|
+
# requester: "Requester",
|
542
|
+
# event_info: {
|
543
|
+
# name: "EventName",
|
544
|
+
# state: "EventState",
|
545
|
+
# },
|
546
|
+
# vendor_name: "GitHub", # accepts GitHub, GitLab, NativeS3
|
547
|
+
# },
|
548
|
+
# },
|
510
549
|
# },
|
550
|
+
# analysis_types: ["Security"], # accepts Security, CodeQuality
|
511
551
|
# },
|
512
552
|
# client_request_token: "ClientRequestToken",
|
513
553
|
# })
|
@@ -518,7 +558,7 @@ module Aws::CodeGuruReviewer
|
|
518
558
|
# resp.code_review.code_review_arn #=> String
|
519
559
|
# resp.code_review.repository_name #=> String
|
520
560
|
# resp.code_review.owner #=> String
|
521
|
-
# resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
|
561
|
+
# resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer", "S3Bucket"
|
522
562
|
# resp.code_review.state #=> String, one of "Completed", "Pending", "Failed", "Deleting"
|
523
563
|
# resp.code_review.state_reason #=> String
|
524
564
|
# resp.code_review.created_time_stamp #=> Time
|
@@ -527,10 +567,24 @@ module Aws::CodeGuruReviewer
|
|
527
567
|
# resp.code_review.pull_request_id #=> String
|
528
568
|
# resp.code_review.source_code_type.commit_diff.source_commit #=> String
|
529
569
|
# resp.code_review.source_code_type.commit_diff.destination_commit #=> String
|
570
|
+
# resp.code_review.source_code_type.commit_diff.merge_base_commit #=> String
|
530
571
|
# resp.code_review.source_code_type.repository_head.branch_name #=> String
|
572
|
+
# resp.code_review.source_code_type.branch_diff.source_branch_name #=> String
|
573
|
+
# resp.code_review.source_code_type.branch_diff.destination_branch_name #=> String
|
574
|
+
# resp.code_review.source_code_type.s3_bucket_repository.name #=> String
|
575
|
+
# resp.code_review.source_code_type.s3_bucket_repository.details.bucket_name #=> String
|
576
|
+
# resp.code_review.source_code_type.s3_bucket_repository.details.code_artifacts.source_code_artifacts_object_key #=> String
|
577
|
+
# resp.code_review.source_code_type.s3_bucket_repository.details.code_artifacts.build_artifacts_object_key #=> String
|
578
|
+
# resp.code_review.source_code_type.request_metadata.request_id #=> String
|
579
|
+
# resp.code_review.source_code_type.request_metadata.requester #=> String
|
580
|
+
# resp.code_review.source_code_type.request_metadata.event_info.name #=> String
|
581
|
+
# resp.code_review.source_code_type.request_metadata.event_info.state #=> String
|
582
|
+
# resp.code_review.source_code_type.request_metadata.vendor_name #=> String, one of "GitHub", "GitLab", "NativeS3"
|
531
583
|
# resp.code_review.association_arn #=> String
|
532
584
|
# resp.code_review.metrics.metered_lines_of_code_count #=> Integer
|
533
585
|
# resp.code_review.metrics.findings_count #=> Integer
|
586
|
+
# resp.code_review.analysis_types #=> Array
|
587
|
+
# resp.code_review.analysis_types[0] #=> String, one of "Security", "CodeQuality"
|
534
588
|
#
|
535
589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CreateCodeReview AWS API Documentation
|
536
590
|
#
|
@@ -567,7 +621,7 @@ module Aws::CodeGuruReviewer
|
|
567
621
|
# resp.code_review.code_review_arn #=> String
|
568
622
|
# resp.code_review.repository_name #=> String
|
569
623
|
# resp.code_review.owner #=> String
|
570
|
-
# resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
|
624
|
+
# resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer", "S3Bucket"
|
571
625
|
# resp.code_review.state #=> String, one of "Completed", "Pending", "Failed", "Deleting"
|
572
626
|
# resp.code_review.state_reason #=> String
|
573
627
|
# resp.code_review.created_time_stamp #=> Time
|
@@ -576,10 +630,29 @@ module Aws::CodeGuruReviewer
|
|
576
630
|
# resp.code_review.pull_request_id #=> String
|
577
631
|
# resp.code_review.source_code_type.commit_diff.source_commit #=> String
|
578
632
|
# resp.code_review.source_code_type.commit_diff.destination_commit #=> String
|
633
|
+
# resp.code_review.source_code_type.commit_diff.merge_base_commit #=> String
|
579
634
|
# resp.code_review.source_code_type.repository_head.branch_name #=> String
|
635
|
+
# resp.code_review.source_code_type.branch_diff.source_branch_name #=> String
|
636
|
+
# resp.code_review.source_code_type.branch_diff.destination_branch_name #=> String
|
637
|
+
# resp.code_review.source_code_type.s3_bucket_repository.name #=> String
|
638
|
+
# resp.code_review.source_code_type.s3_bucket_repository.details.bucket_name #=> String
|
639
|
+
# resp.code_review.source_code_type.s3_bucket_repository.details.code_artifacts.source_code_artifacts_object_key #=> String
|
640
|
+
# resp.code_review.source_code_type.s3_bucket_repository.details.code_artifacts.build_artifacts_object_key #=> String
|
641
|
+
# resp.code_review.source_code_type.request_metadata.request_id #=> String
|
642
|
+
# resp.code_review.source_code_type.request_metadata.requester #=> String
|
643
|
+
# resp.code_review.source_code_type.request_metadata.event_info.name #=> String
|
644
|
+
# resp.code_review.source_code_type.request_metadata.event_info.state #=> String
|
645
|
+
# resp.code_review.source_code_type.request_metadata.vendor_name #=> String, one of "GitHub", "GitLab", "NativeS3"
|
580
646
|
# resp.code_review.association_arn #=> String
|
581
647
|
# resp.code_review.metrics.metered_lines_of_code_count #=> Integer
|
582
648
|
# resp.code_review.metrics.findings_count #=> Integer
|
649
|
+
# resp.code_review.analysis_types #=> Array
|
650
|
+
# resp.code_review.analysis_types[0] #=> String, one of "Security", "CodeQuality"
|
651
|
+
#
|
652
|
+
#
|
653
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
654
|
+
#
|
655
|
+
# * code_review_completed
|
583
656
|
#
|
584
657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeCodeReview AWS API Documentation
|
585
658
|
#
|
@@ -683,16 +756,24 @@ module Aws::CodeGuruReviewer
|
|
683
756
|
# resp.repository_association.connection_arn #=> String
|
684
757
|
# resp.repository_association.name #=> String
|
685
758
|
# resp.repository_association.owner #=> String
|
686
|
-
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
|
759
|
+
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer", "S3Bucket"
|
687
760
|
# resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating", "Disassociated"
|
688
761
|
# resp.repository_association.state_reason #=> String
|
689
762
|
# resp.repository_association.last_updated_time_stamp #=> Time
|
690
763
|
# resp.repository_association.created_time_stamp #=> Time
|
691
764
|
# resp.repository_association.kms_key_details.kms_key_id #=> String
|
692
765
|
# resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
|
766
|
+
# resp.repository_association.s3_repository_details.bucket_name #=> String
|
767
|
+
# resp.repository_association.s3_repository_details.code_artifacts.source_code_artifacts_object_key #=> String
|
768
|
+
# resp.repository_association.s3_repository_details.code_artifacts.build_artifacts_object_key #=> String
|
693
769
|
# resp.tags #=> Hash
|
694
770
|
# resp.tags["TagKey"] #=> String
|
695
771
|
#
|
772
|
+
#
|
773
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
774
|
+
#
|
775
|
+
# * repository_association_succeeded
|
776
|
+
#
|
696
777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation AWS API Documentation
|
697
778
|
#
|
698
779
|
# @overload describe_repository_association(params = {})
|
@@ -733,13 +814,16 @@ module Aws::CodeGuruReviewer
|
|
733
814
|
# resp.repository_association.connection_arn #=> String
|
734
815
|
# resp.repository_association.name #=> String
|
735
816
|
# resp.repository_association.owner #=> String
|
736
|
-
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
|
817
|
+
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer", "S3Bucket"
|
737
818
|
# resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating", "Disassociated"
|
738
819
|
# resp.repository_association.state_reason #=> String
|
739
820
|
# resp.repository_association.last_updated_time_stamp #=> Time
|
740
821
|
# resp.repository_association.created_time_stamp #=> Time
|
741
822
|
# resp.repository_association.kms_key_details.kms_key_id #=> String
|
742
823
|
# resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
|
824
|
+
# resp.repository_association.s3_repository_details.bucket_name #=> String
|
825
|
+
# resp.repository_association.s3_repository_details.code_artifacts.source_code_artifacts_object_key #=> String
|
826
|
+
# resp.repository_association.s3_repository_details.code_artifacts.build_artifacts_object_key #=> String
|
743
827
|
# resp.tags #=> Hash
|
744
828
|
# resp.tags["TagKey"] #=> String
|
745
829
|
#
|
@@ -802,7 +886,7 @@ module Aws::CodeGuruReviewer
|
|
802
886
|
# @example Request syntax with placeholder values
|
803
887
|
#
|
804
888
|
# resp = client.list_code_reviews({
|
805
|
-
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
|
889
|
+
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer, S3Bucket
|
806
890
|
# states: ["Completed"], # accepts Completed, Pending, Failed, Deleting
|
807
891
|
# repository_names: ["Name"],
|
808
892
|
# type: "PullRequest", # required, accepts PullRequest, RepositoryAnalysis
|
@@ -817,7 +901,7 @@ module Aws::CodeGuruReviewer
|
|
817
901
|
# resp.code_review_summaries[0].code_review_arn #=> String
|
818
902
|
# resp.code_review_summaries[0].repository_name #=> String
|
819
903
|
# resp.code_review_summaries[0].owner #=> String
|
820
|
-
# resp.code_review_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
|
904
|
+
# resp.code_review_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer", "S3Bucket"
|
821
905
|
# resp.code_review_summaries[0].state #=> String, one of "Completed", "Pending", "Failed", "Deleting"
|
822
906
|
# resp.code_review_summaries[0].created_time_stamp #=> Time
|
823
907
|
# resp.code_review_summaries[0].last_updated_time_stamp #=> Time
|
@@ -825,6 +909,21 @@ module Aws::CodeGuruReviewer
|
|
825
909
|
# resp.code_review_summaries[0].pull_request_id #=> String
|
826
910
|
# resp.code_review_summaries[0].metrics_summary.metered_lines_of_code_count #=> Integer
|
827
911
|
# resp.code_review_summaries[0].metrics_summary.findings_count #=> Integer
|
912
|
+
# resp.code_review_summaries[0].source_code_type.commit_diff.source_commit #=> String
|
913
|
+
# resp.code_review_summaries[0].source_code_type.commit_diff.destination_commit #=> String
|
914
|
+
# resp.code_review_summaries[0].source_code_type.commit_diff.merge_base_commit #=> String
|
915
|
+
# resp.code_review_summaries[0].source_code_type.repository_head.branch_name #=> String
|
916
|
+
# resp.code_review_summaries[0].source_code_type.branch_diff.source_branch_name #=> String
|
917
|
+
# resp.code_review_summaries[0].source_code_type.branch_diff.destination_branch_name #=> String
|
918
|
+
# resp.code_review_summaries[0].source_code_type.s3_bucket_repository.name #=> String
|
919
|
+
# resp.code_review_summaries[0].source_code_type.s3_bucket_repository.details.bucket_name #=> String
|
920
|
+
# resp.code_review_summaries[0].source_code_type.s3_bucket_repository.details.code_artifacts.source_code_artifacts_object_key #=> String
|
921
|
+
# resp.code_review_summaries[0].source_code_type.s3_bucket_repository.details.code_artifacts.build_artifacts_object_key #=> String
|
922
|
+
# resp.code_review_summaries[0].source_code_type.request_metadata.request_id #=> String
|
923
|
+
# resp.code_review_summaries[0].source_code_type.request_metadata.requester #=> String
|
924
|
+
# resp.code_review_summaries[0].source_code_type.request_metadata.event_info.name #=> String
|
925
|
+
# resp.code_review_summaries[0].source_code_type.request_metadata.event_info.state #=> String
|
926
|
+
# resp.code_review_summaries[0].source_code_type.request_metadata.vendor_name #=> String, one of "GitHub", "GitLab", "NativeS3"
|
828
927
|
# resp.next_token #=> String
|
829
928
|
#
|
830
929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListCodeReviews AWS API Documentation
|
@@ -951,6 +1050,7 @@ module Aws::CodeGuruReviewer
|
|
951
1050
|
# resp.recommendation_summaries[0].start_line #=> Integer
|
952
1051
|
# resp.recommendation_summaries[0].end_line #=> Integer
|
953
1052
|
# resp.recommendation_summaries[0].description #=> String
|
1053
|
+
# resp.recommendation_summaries[0].recommendation_category #=> String, one of "AWSBestPractices", "AWSCloudFormationIssues", "DuplicateCode", "CodeMaintenanceIssues", "ConcurrencyIssues", "InputValidations", "PythonBestPractices", "JavaBestPractices", "ResourceLeaks", "SecurityIssues"
|
954
1054
|
# resp.next_token #=> String
|
955
1055
|
#
|
956
1056
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendations AWS API Documentation
|
@@ -1061,7 +1161,7 @@ module Aws::CodeGuruReviewer
|
|
1061
1161
|
# @example Request syntax with placeholder values
|
1062
1162
|
#
|
1063
1163
|
# resp = client.list_repository_associations({
|
1064
|
-
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
|
1164
|
+
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer, S3Bucket
|
1065
1165
|
# states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating, Disassociated
|
1066
1166
|
# names: ["Name"],
|
1067
1167
|
# owners: ["Owner"],
|
@@ -1078,7 +1178,7 @@ module Aws::CodeGuruReviewer
|
|
1078
1178
|
# resp.repository_association_summaries[0].association_id #=> String
|
1079
1179
|
# resp.repository_association_summaries[0].name #=> String
|
1080
1180
|
# resp.repository_association_summaries[0].owner #=> String
|
1081
|
-
# resp.repository_association_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
|
1181
|
+
# resp.repository_association_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer", "S3Bucket"
|
1082
1182
|
# resp.repository_association_summaries[0].state #=> String, one of "Associated", "Associating", "Failed", "Disassociating", "Disassociated"
|
1083
1183
|
# resp.next_token #=> String
|
1084
1184
|
#
|
@@ -1257,14 +1357,129 @@ module Aws::CodeGuruReviewer
|
|
1257
1357
|
params: params,
|
1258
1358
|
config: config)
|
1259
1359
|
context[:gem_name] = 'aws-sdk-codegurureviewer'
|
1260
|
-
context[:gem_version] = '1.
|
1360
|
+
context[:gem_version] = '1.21.0'
|
1261
1361
|
Seahorse::Client::Request.new(handlers, context)
|
1262
1362
|
end
|
1263
1363
|
|
1364
|
+
# Polls an API operation until a resource enters a desired state.
|
1365
|
+
#
|
1366
|
+
# ## Basic Usage
|
1367
|
+
#
|
1368
|
+
# A waiter will call an API operation until:
|
1369
|
+
#
|
1370
|
+
# * It is successful
|
1371
|
+
# * It enters a terminal state
|
1372
|
+
# * It makes the maximum number of attempts
|
1373
|
+
#
|
1374
|
+
# In between attempts, the waiter will sleep.
|
1375
|
+
#
|
1376
|
+
# # polls in a loop, sleeping between attempts
|
1377
|
+
# client.wait_until(waiter_name, params)
|
1378
|
+
#
|
1379
|
+
# ## Configuration
|
1380
|
+
#
|
1381
|
+
# You can configure the maximum number of polling attempts, and the
|
1382
|
+
# delay (in seconds) between each polling attempt. You can pass
|
1383
|
+
# configuration as the final arguments hash.
|
1384
|
+
#
|
1385
|
+
# # poll for ~25 seconds
|
1386
|
+
# client.wait_until(waiter_name, params, {
|
1387
|
+
# max_attempts: 5,
|
1388
|
+
# delay: 5,
|
1389
|
+
# })
|
1390
|
+
#
|
1391
|
+
# ## Callbacks
|
1392
|
+
#
|
1393
|
+
# You can be notified before each polling attempt and before each
|
1394
|
+
# delay. If you throw `:success` or `:failure` from these callbacks,
|
1395
|
+
# it will terminate the waiter.
|
1396
|
+
#
|
1397
|
+
# started_at = Time.now
|
1398
|
+
# client.wait_until(waiter_name, params, {
|
1399
|
+
#
|
1400
|
+
# # disable max attempts
|
1401
|
+
# max_attempts: nil,
|
1402
|
+
#
|
1403
|
+
# # poll for 1 hour, instead of a number of attempts
|
1404
|
+
# before_wait: -> (attempts, response) do
|
1405
|
+
# throw :failure if Time.now - started_at > 3600
|
1406
|
+
# end
|
1407
|
+
# })
|
1408
|
+
#
|
1409
|
+
# ## Handling Errors
|
1410
|
+
#
|
1411
|
+
# When a waiter is unsuccessful, it will raise an error.
|
1412
|
+
# All of the failure errors extend from
|
1413
|
+
# {Aws::Waiters::Errors::WaiterFailed}.
|
1414
|
+
#
|
1415
|
+
# begin
|
1416
|
+
# client.wait_until(...)
|
1417
|
+
# rescue Aws::Waiters::Errors::WaiterFailed
|
1418
|
+
# # resource did not enter the desired state in time
|
1419
|
+
# end
|
1420
|
+
#
|
1421
|
+
# ## Valid Waiters
|
1422
|
+
#
|
1423
|
+
# The following table lists the valid waiter names, the operations they call,
|
1424
|
+
# and the default `:delay` and `:max_attempts` values.
|
1425
|
+
#
|
1426
|
+
# | waiter_name | params | :delay | :max_attempts |
|
1427
|
+
# | -------------------------------- | ---------------------------------------- | -------- | ------------- |
|
1428
|
+
# | code_review_completed | {Client#describe_code_review} | 10 | 60 |
|
1429
|
+
# | repository_association_succeeded | {Client#describe_repository_association} | 10 | 20 |
|
1430
|
+
#
|
1431
|
+
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
1432
|
+
# because the waiter has entered a state that it will not transition
|
1433
|
+
# out of, preventing success.
|
1434
|
+
#
|
1435
|
+
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
1436
|
+
# maximum number of attempts have been made, and the waiter is not
|
1437
|
+
# yet successful.
|
1438
|
+
#
|
1439
|
+
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
1440
|
+
# while polling for a resource that is not expected.
|
1441
|
+
#
|
1442
|
+
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
1443
|
+
# for an unknown state.
|
1444
|
+
#
|
1445
|
+
# @return [Boolean] Returns `true` if the waiter was successful.
|
1446
|
+
# @param [Symbol] waiter_name
|
1447
|
+
# @param [Hash] params ({})
|
1448
|
+
# @param [Hash] options ({})
|
1449
|
+
# @option options [Integer] :max_attempts
|
1450
|
+
# @option options [Integer] :delay
|
1451
|
+
# @option options [Proc] :before_attempt
|
1452
|
+
# @option options [Proc] :before_wait
|
1453
|
+
def wait_until(waiter_name, params = {}, options = {})
|
1454
|
+
w = waiter(waiter_name, options)
|
1455
|
+
yield(w.waiter) if block_given? # deprecated
|
1456
|
+
w.wait(params)
|
1457
|
+
end
|
1458
|
+
|
1264
1459
|
# @api private
|
1265
1460
|
# @deprecated
|
1266
1461
|
def waiter_names
|
1267
|
-
|
1462
|
+
waiters.keys
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
private
|
1466
|
+
|
1467
|
+
# @param [Symbol] waiter_name
|
1468
|
+
# @param [Hash] options ({})
|
1469
|
+
def waiter(waiter_name, options = {})
|
1470
|
+
waiter_class = waiters[waiter_name]
|
1471
|
+
if waiter_class
|
1472
|
+
waiter_class.new(options.merge(client: self))
|
1473
|
+
else
|
1474
|
+
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
1475
|
+
end
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
def waiters
|
1479
|
+
{
|
1480
|
+
code_review_completed: Waiters::CodeReviewCompleted,
|
1481
|
+
repository_association_succeeded: Waiters::RepositoryAssociationSucceeded
|
1482
|
+
}
|
1268
1483
|
end
|
1269
1484
|
|
1270
1485
|
class << self
|
@@ -14,13 +14,18 @@ module Aws::CodeGuruReviewer
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AnalysisType = Shapes::StringShape.new(name: 'AnalysisType')
|
18
|
+
AnalysisTypes = Shapes::ListShape.new(name: 'AnalysisTypes')
|
17
19
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
20
|
AssociateRepositoryRequest = Shapes::StructureShape.new(name: 'AssociateRepositoryRequest')
|
19
21
|
AssociateRepositoryResponse = Shapes::StructureShape.new(name: 'AssociateRepositoryResponse')
|
20
22
|
AssociationArn = Shapes::StringShape.new(name: 'AssociationArn')
|
21
23
|
AssociationId = Shapes::StringShape.new(name: 'AssociationId')
|
24
|
+
BranchDiffSourceCodeType = Shapes::StructureShape.new(name: 'BranchDiffSourceCodeType')
|
22
25
|
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
26
|
+
BuildArtifactsObjectKey = Shapes::StringShape.new(name: 'BuildArtifactsObjectKey')
|
23
27
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
28
|
+
CodeArtifacts = Shapes::StructureShape.new(name: 'CodeArtifacts')
|
24
29
|
CodeCommitRepository = Shapes::StructureShape.new(name: 'CodeCommitRepository')
|
25
30
|
CodeReview = Shapes::StructureShape.new(name: 'CodeReview')
|
26
31
|
CodeReviewName = Shapes::StringShape.new(name: 'CodeReviewName')
|
@@ -43,6 +48,9 @@ module Aws::CodeGuruReviewer
|
|
43
48
|
DisassociateRepositoryResponse = Shapes::StructureShape.new(name: 'DisassociateRepositoryResponse')
|
44
49
|
EncryptionOption = Shapes::StringShape.new(name: 'EncryptionOption')
|
45
50
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
51
|
+
EventInfo = Shapes::StructureShape.new(name: 'EventInfo')
|
52
|
+
EventName = Shapes::StringShape.new(name: 'EventName')
|
53
|
+
EventState = Shapes::StringShape.new(name: 'EventState')
|
46
54
|
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
47
55
|
FindingsCount = Shapes::IntegerShape.new(name: 'FindingsCount')
|
48
56
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -79,6 +87,7 @@ module Aws::CodeGuruReviewer
|
|
79
87
|
PutRecommendationFeedbackResponse = Shapes::StructureShape.new(name: 'PutRecommendationFeedbackResponse')
|
80
88
|
Reaction = Shapes::StringShape.new(name: 'Reaction')
|
81
89
|
Reactions = Shapes::ListShape.new(name: 'Reactions')
|
90
|
+
RecommendationCategory = Shapes::StringShape.new(name: 'RecommendationCategory')
|
82
91
|
RecommendationFeedback = Shapes::StructureShape.new(name: 'RecommendationFeedback')
|
83
92
|
RecommendationFeedbackSummaries = Shapes::ListShape.new(name: 'RecommendationFeedbackSummaries')
|
84
93
|
RecommendationFeedbackSummary = Shapes::StructureShape.new(name: 'RecommendationFeedbackSummary')
|
@@ -95,7 +104,15 @@ module Aws::CodeGuruReviewer
|
|
95
104
|
RepositoryAssociationSummary = Shapes::StructureShape.new(name: 'RepositoryAssociationSummary')
|
96
105
|
RepositoryHeadSourceCodeType = Shapes::StructureShape.new(name: 'RepositoryHeadSourceCodeType')
|
97
106
|
RepositoryNames = Shapes::ListShape.new(name: 'RepositoryNames')
|
107
|
+
RequestId = Shapes::StringShape.new(name: 'RequestId')
|
108
|
+
RequestMetadata = Shapes::StructureShape.new(name: 'RequestMetadata')
|
109
|
+
Requester = Shapes::StringShape.new(name: 'Requester')
|
98
110
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
111
|
+
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
112
|
+
S3BucketRepository = Shapes::StructureShape.new(name: 'S3BucketRepository')
|
113
|
+
S3Repository = Shapes::StructureShape.new(name: 'S3Repository')
|
114
|
+
S3RepositoryDetails = Shapes::StructureShape.new(name: 'S3RepositoryDetails')
|
115
|
+
SourceCodeArtifactsObjectKey = Shapes::StringShape.new(name: 'SourceCodeArtifactsObjectKey')
|
99
116
|
SourceCodeType = Shapes::StructureShape.new(name: 'SourceCodeType')
|
100
117
|
StateReason = Shapes::StringShape.new(name: 'StateReason')
|
101
118
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -114,10 +131,13 @@ module Aws::CodeGuruReviewer
|
|
114
131
|
UserId = Shapes::StringShape.new(name: 'UserId')
|
115
132
|
UserIds = Shapes::ListShape.new(name: 'UserIds')
|
116
133
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
134
|
+
VendorName = Shapes::StringShape.new(name: 'VendorName')
|
117
135
|
|
118
136
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
119
137
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
120
138
|
|
139
|
+
AnalysisTypes.member = Shapes::ShapeRef.new(shape: AnalysisType)
|
140
|
+
|
121
141
|
AssociateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "Repository"))
|
122
142
|
AssociateRepositoryRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
123
143
|
AssociateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
@@ -128,6 +148,14 @@ module Aws::CodeGuruReviewer
|
|
128
148
|
AssociateRepositoryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
129
149
|
AssociateRepositoryResponse.struct_class = Types::AssociateRepositoryResponse
|
130
150
|
|
151
|
+
BranchDiffSourceCodeType.add_member(:source_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "SourceBranchName"))
|
152
|
+
BranchDiffSourceCodeType.add_member(:destination_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "DestinationBranchName"))
|
153
|
+
BranchDiffSourceCodeType.struct_class = Types::BranchDiffSourceCodeType
|
154
|
+
|
155
|
+
CodeArtifacts.add_member(:source_code_artifacts_object_key, Shapes::ShapeRef.new(shape: SourceCodeArtifactsObjectKey, required: true, location_name: "SourceCodeArtifactsObjectKey"))
|
156
|
+
CodeArtifacts.add_member(:build_artifacts_object_key, Shapes::ShapeRef.new(shape: BuildArtifactsObjectKey, location_name: "BuildArtifactsObjectKey"))
|
157
|
+
CodeArtifacts.struct_class = Types::CodeArtifacts
|
158
|
+
|
131
159
|
CodeCommitRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
132
160
|
CodeCommitRepository.struct_class = Types::CodeCommitRepository
|
133
161
|
|
@@ -145,6 +173,7 @@ module Aws::CodeGuruReviewer
|
|
145
173
|
CodeReview.add_member(:source_code_type, Shapes::ShapeRef.new(shape: SourceCodeType, location_name: "SourceCodeType"))
|
146
174
|
CodeReview.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, location_name: "AssociationArn"))
|
147
175
|
CodeReview.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
176
|
+
CodeReview.add_member(:analysis_types, Shapes::ShapeRef.new(shape: AnalysisTypes, location_name: "AnalysisTypes"))
|
148
177
|
CodeReview.struct_class = Types::CodeReview
|
149
178
|
|
150
179
|
CodeReviewSummaries.member = Shapes::ShapeRef.new(shape: CodeReviewSummary)
|
@@ -160,13 +189,16 @@ module Aws::CodeGuruReviewer
|
|
160
189
|
CodeReviewSummary.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
|
161
190
|
CodeReviewSummary.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "PullRequestId"))
|
162
191
|
CodeReviewSummary.add_member(:metrics_summary, Shapes::ShapeRef.new(shape: MetricsSummary, location_name: "MetricsSummary"))
|
192
|
+
CodeReviewSummary.add_member(:source_code_type, Shapes::ShapeRef.new(shape: SourceCodeType, location_name: "SourceCodeType"))
|
163
193
|
CodeReviewSummary.struct_class = Types::CodeReviewSummary
|
164
194
|
|
165
195
|
CodeReviewType.add_member(:repository_analysis, Shapes::ShapeRef.new(shape: RepositoryAnalysis, required: true, location_name: "RepositoryAnalysis"))
|
196
|
+
CodeReviewType.add_member(:analysis_types, Shapes::ShapeRef.new(shape: AnalysisTypes, location_name: "AnalysisTypes"))
|
166
197
|
CodeReviewType.struct_class = Types::CodeReviewType
|
167
198
|
|
168
199
|
CommitDiffSourceCodeType.add_member(:source_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "SourceCommit"))
|
169
200
|
CommitDiffSourceCodeType.add_member(:destination_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "DestinationCommit"))
|
201
|
+
CommitDiffSourceCodeType.add_member(:merge_base_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "MergeBaseCommit"))
|
170
202
|
CommitDiffSourceCodeType.struct_class = Types::CommitDiffSourceCodeType
|
171
203
|
|
172
204
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -209,6 +241,10 @@ module Aws::CodeGuruReviewer
|
|
209
241
|
DisassociateRepositoryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
210
242
|
DisassociateRepositoryResponse.struct_class = Types::DisassociateRepositoryResponse
|
211
243
|
|
244
|
+
EventInfo.add_member(:name, Shapes::ShapeRef.new(shape: EventName, location_name: "Name"))
|
245
|
+
EventInfo.add_member(:state, Shapes::ShapeRef.new(shape: EventState, location_name: "State"))
|
246
|
+
EventInfo.struct_class = Types::EventInfo
|
247
|
+
|
212
248
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
213
249
|
InternalServerException.struct_class = Types::InternalServerException
|
214
250
|
|
@@ -318,14 +354,17 @@ module Aws::CodeGuruReviewer
|
|
318
354
|
RecommendationSummary.add_member(:start_line, Shapes::ShapeRef.new(shape: LineNumber, location_name: "StartLine"))
|
319
355
|
RecommendationSummary.add_member(:end_line, Shapes::ShapeRef.new(shape: LineNumber, location_name: "EndLine"))
|
320
356
|
RecommendationSummary.add_member(:description, Shapes::ShapeRef.new(shape: Text, location_name: "Description"))
|
357
|
+
RecommendationSummary.add_member(:recommendation_category, Shapes::ShapeRef.new(shape: RecommendationCategory, location_name: "RecommendationCategory"))
|
321
358
|
RecommendationSummary.struct_class = Types::RecommendationSummary
|
322
359
|
|
323
360
|
Repository.add_member(:code_commit, Shapes::ShapeRef.new(shape: CodeCommitRepository, location_name: "CodeCommit"))
|
324
361
|
Repository.add_member(:bitbucket, Shapes::ShapeRef.new(shape: ThirdPartySourceRepository, location_name: "Bitbucket"))
|
325
362
|
Repository.add_member(:git_hub_enterprise_server, Shapes::ShapeRef.new(shape: ThirdPartySourceRepository, location_name: "GitHubEnterpriseServer"))
|
363
|
+
Repository.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Repository, location_name: "S3Bucket"))
|
326
364
|
Repository.struct_class = Types::Repository
|
327
365
|
|
328
|
-
RepositoryAnalysis.add_member(:repository_head, Shapes::ShapeRef.new(shape: RepositoryHeadSourceCodeType,
|
366
|
+
RepositoryAnalysis.add_member(:repository_head, Shapes::ShapeRef.new(shape: RepositoryHeadSourceCodeType, location_name: "RepositoryHead"))
|
367
|
+
RepositoryAnalysis.add_member(:source_code_type, Shapes::ShapeRef.new(shape: SourceCodeType, location_name: "SourceCodeType"))
|
329
368
|
RepositoryAnalysis.struct_class = Types::RepositoryAnalysis
|
330
369
|
|
331
370
|
RepositoryAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
@@ -339,6 +378,7 @@ module Aws::CodeGuruReviewer
|
|
339
378
|
RepositoryAssociation.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp"))
|
340
379
|
RepositoryAssociation.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreatedTimeStamp"))
|
341
380
|
RepositoryAssociation.add_member(:kms_key_details, Shapes::ShapeRef.new(shape: KMSKeyDetails, location_name: "KMSKeyDetails"))
|
381
|
+
RepositoryAssociation.add_member(:s3_repository_details, Shapes::ShapeRef.new(shape: S3RepositoryDetails, location_name: "S3RepositoryDetails"))
|
342
382
|
RepositoryAssociation.struct_class = Types::RepositoryAssociation
|
343
383
|
|
344
384
|
RepositoryAssociationStates.member = Shapes::ShapeRef.new(shape: RepositoryAssociationState)
|
@@ -360,11 +400,32 @@ module Aws::CodeGuruReviewer
|
|
360
400
|
|
361
401
|
RepositoryNames.member = Shapes::ShapeRef.new(shape: Name)
|
362
402
|
|
403
|
+
RequestMetadata.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
|
404
|
+
RequestMetadata.add_member(:requester, Shapes::ShapeRef.new(shape: Requester, location_name: "Requester"))
|
405
|
+
RequestMetadata.add_member(:event_info, Shapes::ShapeRef.new(shape: EventInfo, location_name: "EventInfo"))
|
406
|
+
RequestMetadata.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, location_name: "VendorName"))
|
407
|
+
RequestMetadata.struct_class = Types::RequestMetadata
|
408
|
+
|
363
409
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
364
410
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
365
411
|
|
412
|
+
S3BucketRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
413
|
+
S3BucketRepository.add_member(:details, Shapes::ShapeRef.new(shape: S3RepositoryDetails, location_name: "Details"))
|
414
|
+
S3BucketRepository.struct_class = Types::S3BucketRepository
|
415
|
+
|
416
|
+
S3Repository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
417
|
+
S3Repository.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
|
418
|
+
S3Repository.struct_class = Types::S3Repository
|
419
|
+
|
420
|
+
S3RepositoryDetails.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "BucketName"))
|
421
|
+
S3RepositoryDetails.add_member(:code_artifacts, Shapes::ShapeRef.new(shape: CodeArtifacts, location_name: "CodeArtifacts"))
|
422
|
+
S3RepositoryDetails.struct_class = Types::S3RepositoryDetails
|
423
|
+
|
366
424
|
SourceCodeType.add_member(:commit_diff, Shapes::ShapeRef.new(shape: CommitDiffSourceCodeType, location_name: "CommitDiff"))
|
367
425
|
SourceCodeType.add_member(:repository_head, Shapes::ShapeRef.new(shape: RepositoryHeadSourceCodeType, location_name: "RepositoryHead"))
|
426
|
+
SourceCodeType.add_member(:branch_diff, Shapes::ShapeRef.new(shape: BranchDiffSourceCodeType, location_name: "BranchDiff"))
|
427
|
+
SourceCodeType.add_member(:s3_bucket_repository, Shapes::ShapeRef.new(shape: S3BucketRepository, location_name: "S3BucketRepository"))
|
428
|
+
SourceCodeType.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "RequestMetadata"))
|
368
429
|
SourceCodeType.struct_class = Types::SourceCodeType
|
369
430
|
|
370
431
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|