aws-sdk-codegurureviewer 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e225b343bf0773f7355c34a0df2f72d62f7833858b973bdca1b430d9c867f95
4
- data.tar.gz: 8feb8cccc1869d37bd5ab1b94f606567fdbaf26fc9ecbfc8af2361ddb85b6246
3
+ metadata.gz: b8dc4cf4eb8ad5cf11116b97c1665df24ab93a9728d582b85baac73dbb56ff19
4
+ data.tar.gz: ba686047bfad05c081331b5aa87abdfb8f225835e9db3043b91c3e72f81ee842
5
5
  SHA512:
6
- metadata.gz: c1b6dffb06995b7a5376c80758e88a869c34467abaf48dc945a25c049b4119f1b7b47bb98bee61885e1c8b18226223eeaa650d2a7dd3200056349a2ee97468db
7
- data.tar.gz: d976bcb2ba488cb18a54decb18c2ce4ae7bb851ec4a93369738e25ec6e5fbd87c0bbe53374b7d97361e8aefda89e8bbd27f945a7fa40498495f40ecd445586db
6
+ metadata.gz: fae4fc346857a19d040f565bfc3f238a9fcb66b13898bcdfbde14623914a9580f25ec24f61f6736996f00d4a8e7a3e206f039a8f32179f93ff86db161f5ddbe7
7
+ data.tar.gz: 79bc7aac1c6243a451651506a5b17e130d271491176e55421747bcef7ae970c6b7b7b89351ac30c3d28e8279a1ba56452cf3319b1294bbfaae7f62ca2f9bbda1
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-codegurureviewer/customizations'
45
45
  # @service
46
46
  module Aws::CodeGuruReviewer
47
47
 
48
- GEM_VERSION = '1.4.0'
48
+ GEM_VERSION = '1.5.0'
49
49
 
50
50
  end
@@ -358,6 +358,11 @@ module Aws::CodeGuruReviewer
358
358
  # code_commit: {
359
359
  # name: "Name", # required
360
360
  # },
361
+ # bitbucket: {
362
+ # name: "Name", # required
363
+ # connection_arn: "ConnectionArn", # required
364
+ # owner: "Owner", # required
365
+ # },
361
366
  # },
362
367
  # client_request_token: "ClientRequestToken",
363
368
  # })
@@ -366,9 +371,10 @@ module Aws::CodeGuruReviewer
366
371
  #
367
372
  # resp.repository_association.association_id #=> String
368
373
  # resp.repository_association.association_arn #=> String
374
+ # resp.repository_association.connection_arn #=> String
369
375
  # resp.repository_association.name #=> String
370
376
  # resp.repository_association.owner #=> String
371
- # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
377
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket"
372
378
  # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
373
379
  # resp.repository_association.state_reason #=> String
374
380
  # resp.repository_association.last_updated_time_stamp #=> Time
@@ -405,7 +411,7 @@ module Aws::CodeGuruReviewer
405
411
  # resp.code_review.code_review_arn #=> String
406
412
  # resp.code_review.repository_name #=> String
407
413
  # resp.code_review.owner #=> String
408
- # resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub"
414
+ # resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket"
409
415
  # resp.code_review.state #=> String, one of "Completed", "Pending", "Failed", "Deleting"
410
416
  # resp.code_review.state_reason #=> String
411
417
  # resp.code_review.created_time_stamp #=> Time
@@ -491,9 +497,10 @@ module Aws::CodeGuruReviewer
491
497
  #
492
498
  # resp.repository_association.association_id #=> String
493
499
  # resp.repository_association.association_arn #=> String
500
+ # resp.repository_association.connection_arn #=> String
494
501
  # resp.repository_association.name #=> String
495
502
  # resp.repository_association.owner #=> String
496
- # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
503
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket"
497
504
  # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
498
505
  # resp.repository_association.state_reason #=> String
499
506
  # resp.repository_association.last_updated_time_stamp #=> Time
@@ -528,9 +535,10 @@ module Aws::CodeGuruReviewer
528
535
  #
529
536
  # resp.repository_association.association_id #=> String
530
537
  # resp.repository_association.association_arn #=> String
538
+ # resp.repository_association.connection_arn #=> String
531
539
  # resp.repository_association.name #=> String
532
540
  # resp.repository_association.owner #=> String
533
- # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
541
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket"
534
542
  # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
535
543
  # resp.repository_association.state_reason #=> String
536
544
  # resp.repository_association.last_updated_time_stamp #=> Time
@@ -585,7 +593,7 @@ module Aws::CodeGuruReviewer
585
593
  # @example Request syntax with placeholder values
586
594
  #
587
595
  # resp = client.list_code_reviews({
588
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
596
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket
589
597
  # states: ["Completed"], # accepts Completed, Pending, Failed, Deleting
590
598
  # repository_names: ["Name"],
591
599
  # type: "PullRequest", # required, accepts PullRequest
@@ -600,7 +608,7 @@ module Aws::CodeGuruReviewer
600
608
  # resp.code_review_summaries[0].code_review_arn #=> String
601
609
  # resp.code_review_summaries[0].repository_name #=> String
602
610
  # resp.code_review_summaries[0].owner #=> String
603
- # resp.code_review_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub"
611
+ # resp.code_review_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket"
604
612
  # resp.code_review_summaries[0].state #=> String, one of "Completed", "Pending", "Failed", "Deleting"
605
613
  # resp.code_review_summaries[0].created_time_stamp #=> Time
606
614
  # resp.code_review_summaries[0].last_updated_time_stamp #=> Time
@@ -780,7 +788,7 @@ module Aws::CodeGuruReviewer
780
788
  # @example Request syntax with placeholder values
781
789
  #
782
790
  # resp = client.list_repository_associations({
783
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
791
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket
784
792
  # states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating
785
793
  # names: ["Name"],
786
794
  # owners: ["Owner"],
@@ -792,11 +800,12 @@ module Aws::CodeGuruReviewer
792
800
  #
793
801
  # resp.repository_association_summaries #=> Array
794
802
  # resp.repository_association_summaries[0].association_arn #=> String
803
+ # resp.repository_association_summaries[0].connection_arn #=> String
795
804
  # resp.repository_association_summaries[0].last_updated_time_stamp #=> Time
796
805
  # resp.repository_association_summaries[0].association_id #=> String
797
806
  # resp.repository_association_summaries[0].name #=> String
798
807
  # resp.repository_association_summaries[0].owner #=> String
799
- # resp.repository_association_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub"
808
+ # resp.repository_association_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket"
800
809
  # resp.repository_association_summaries[0].state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
801
810
  # resp.next_token #=> String
802
811
  #
@@ -856,7 +865,7 @@ module Aws::CodeGuruReviewer
856
865
  params: params,
857
866
  config: config)
858
867
  context[:gem_name] = 'aws-sdk-codegurureviewer'
859
- context[:gem_version] = '1.4.0'
868
+ context[:gem_version] = '1.5.0'
860
869
  Seahorse::Client::Request.new(handlers, context)
861
870
  end
862
871
 
@@ -24,6 +24,7 @@ module Aws::CodeGuruReviewer
24
24
  CommitDiffSourceCodeType = Shapes::StructureShape.new(name: 'CommitDiffSourceCodeType')
25
25
  CommitId = Shapes::StringShape.new(name: 'CommitId')
26
26
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
27
+ ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
27
28
  DescribeCodeReviewRequest = Shapes::StructureShape.new(name: 'DescribeCodeReviewRequest')
28
29
  DescribeCodeReviewResponse = Shapes::StructureShape.new(name: 'DescribeCodeReviewResponse')
29
30
  DescribeRecommendationFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeRecommendationFeedbackRequest')
@@ -83,6 +84,7 @@ module Aws::CodeGuruReviewer
83
84
  SourceCodeType = Shapes::StructureShape.new(name: 'SourceCodeType')
84
85
  StateReason = Shapes::StringShape.new(name: 'StateReason')
85
86
  Text = Shapes::StringShape.new(name: 'Text')
87
+ ThirdPartySourceRepository = Shapes::StructureShape.new(name: 'ThirdPartySourceRepository')
86
88
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
87
89
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
88
90
  Type = Shapes::StringShape.new(name: 'Type')
@@ -268,10 +270,12 @@ module Aws::CodeGuruReviewer
268
270
  RecommendationSummary.struct_class = Types::RecommendationSummary
269
271
 
270
272
  Repository.add_member(:code_commit, Shapes::ShapeRef.new(shape: CodeCommitRepository, location_name: "CodeCommit"))
273
+ Repository.add_member(:bitbucket, Shapes::ShapeRef.new(shape: ThirdPartySourceRepository, location_name: "Bitbucket"))
271
274
  Repository.struct_class = Types::Repository
272
275
 
273
276
  RepositoryAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
274
277
  RepositoryAssociation.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AssociationArn"))
278
+ RepositoryAssociation.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
275
279
  RepositoryAssociation.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
276
280
  RepositoryAssociation.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
277
281
  RepositoryAssociation.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType"))
@@ -286,6 +290,7 @@ module Aws::CodeGuruReviewer
286
290
  RepositoryAssociationSummaries.member = Shapes::ShapeRef.new(shape: RepositoryAssociationSummary)
287
291
 
288
292
  RepositoryAssociationSummary.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AssociationArn"))
293
+ RepositoryAssociationSummary.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
289
294
  RepositoryAssociationSummary.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp"))
290
295
  RepositoryAssociationSummary.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
291
296
  RepositoryAssociationSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
@@ -302,6 +307,11 @@ module Aws::CodeGuruReviewer
302
307
  SourceCodeType.add_member(:commit_diff, Shapes::ShapeRef.new(shape: CommitDiffSourceCodeType, location_name: "CommitDiff"))
303
308
  SourceCodeType.struct_class = Types::SourceCodeType
304
309
 
310
+ ThirdPartySourceRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
311
+ ThirdPartySourceRepository.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
312
+ ThirdPartySourceRepository.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, required: true, location_name: "Owner"))
313
+ ThirdPartySourceRepository.struct_class = Types::ThirdPartySourceRepository
314
+
305
315
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
306
316
  ThrottlingException.struct_class = Types::ThrottlingException
307
317
 
@@ -28,6 +28,11 @@ module Aws::CodeGuruReviewer
28
28
  # code_commit: {
29
29
  # name: "Name", # required
30
30
  # },
31
+ # bitbucket: {
32
+ # name: "Name", # required
33
+ # connection_arn: "ConnectionArn", # required
34
+ # owner: "Owner", # required
35
+ # },
31
36
  # },
32
37
  # client_request_token: "ClientRequestToken",
33
38
  # }
@@ -425,7 +430,7 @@ module Aws::CodeGuruReviewer
425
430
  # data as a hash:
426
431
  #
427
432
  # {
428
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
433
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket
429
434
  # states: ["Completed"], # accepts Completed, Pending, Failed, Deleting
430
435
  # repository_names: ["Name"],
431
436
  # type: "PullRequest", # required, accepts PullRequest
@@ -615,7 +620,7 @@ module Aws::CodeGuruReviewer
615
620
  # data as a hash:
616
621
  #
617
622
  # {
618
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
623
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket
619
624
  # states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating
620
625
  # names: ["Name"],
621
626
  # owners: ["Owner"],
@@ -897,16 +902,26 @@ module Aws::CodeGuruReviewer
897
902
  # code_commit: {
898
903
  # name: "Name", # required
899
904
  # },
905
+ # bitbucket: {
906
+ # name: "Name", # required
907
+ # connection_arn: "ConnectionArn", # required
908
+ # owner: "Owner", # required
909
+ # },
900
910
  # }
901
911
  #
902
912
  # @!attribute [rw] code_commit
903
913
  # Information about an AWS CodeCommit repository.
904
914
  # @return [Types::CodeCommitRepository]
905
915
  #
916
+ # @!attribute [rw] bitbucket
917
+ # Information about a Bitbucket Cloud repository.
918
+ # @return [Types::ThirdPartySourceRepository]
919
+ #
906
920
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/Repository AWS API Documentation
907
921
  #
908
922
  class Repository < Struct.new(
909
- :code_commit)
923
+ :code_commit,
924
+ :bitbucket)
910
925
  include Aws::Structure
911
926
  end
912
927
 
@@ -921,6 +936,11 @@ module Aws::CodeGuruReviewer
921
936
  # association.
922
937
  # @return [String]
923
938
  #
939
+ # @!attribute [rw] connection_arn
940
+ # The Amazon Resource Name (ARN) identifying the repository
941
+ # connection.
942
+ # @return [String]
943
+ #
924
944
  # @!attribute [rw] name
925
945
  # The name of the repository.
926
946
  # @return [String]
@@ -957,6 +977,7 @@ module Aws::CodeGuruReviewer
957
977
  class RepositoryAssociation < Struct.new(
958
978
  :association_id,
959
979
  :association_arn,
980
+ :connection_arn,
960
981
  :name,
961
982
  :owner,
962
983
  :provider_type,
@@ -974,6 +995,11 @@ module Aws::CodeGuruReviewer
974
995
  # association.
975
996
  # @return [String]
976
997
  #
998
+ # @!attribute [rw] connection_arn
999
+ # The Amazon Resource Name (ARN) identifying the repository
1000
+ # connection.
1001
+ # @return [String]
1002
+ #
977
1003
  # @!attribute [rw] last_updated_time_stamp
978
1004
  # The time, in milliseconds since the epoch, since the repository
979
1005
  # association was last updated.
@@ -1020,6 +1046,7 @@ module Aws::CodeGuruReviewer
1020
1046
  #
1021
1047
  class RepositoryAssociationSummary < Struct.new(
1022
1048
  :association_arn,
1049
+ :connection_arn,
1023
1050
  :last_updated_time_stamp,
1024
1051
  :association_id,
1025
1052
  :name,
@@ -1054,6 +1081,40 @@ module Aws::CodeGuruReviewer
1054
1081
  include Aws::Structure
1055
1082
  end
1056
1083
 
1084
+ # Information about a third party source repository connected through
1085
+ # CodeStar Connections.
1086
+ #
1087
+ # @note When making an API call, you may pass ThirdPartySourceRepository
1088
+ # data as a hash:
1089
+ #
1090
+ # {
1091
+ # name: "Name", # required
1092
+ # connection_arn: "ConnectionArn", # required
1093
+ # owner: "Owner", # required
1094
+ # }
1095
+ #
1096
+ # @!attribute [rw] name
1097
+ # The name of the third party source repository.
1098
+ # @return [String]
1099
+ #
1100
+ # @!attribute [rw] connection_arn
1101
+ # The Amazon Resource Name (ARN) identifying the repository
1102
+ # connection.
1103
+ # @return [String]
1104
+ #
1105
+ # @!attribute [rw] owner
1106
+ # The username of the owner of the repository.
1107
+ # @return [String]
1108
+ #
1109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ThirdPartySourceRepository AWS API Documentation
1110
+ #
1111
+ class ThirdPartySourceRepository < Struct.new(
1112
+ :name,
1113
+ :connection_arn,
1114
+ :owner)
1115
+ include Aws::Structure
1116
+ end
1117
+
1057
1118
  # The request was denied due to request throttling.
1058
1119
  #
1059
1120
  # @!attribute [rw] message
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codegurureviewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core