aws-sdk-codegurureviewer 1.12.0 → 1.17.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -17,6 +17,7 @@ module Aws::CodeGuruReviewer
17
17
  Arn = Shapes::StringShape.new(name: 'Arn')
18
18
  AssociateRepositoryRequest = Shapes::StructureShape.new(name: 'AssociateRepositoryRequest')
19
19
  AssociateRepositoryResponse = Shapes::StructureShape.new(name: 'AssociateRepositoryResponse')
20
+ AssociationArn = Shapes::StringShape.new(name: 'AssociationArn')
20
21
  AssociationId = Shapes::StringShape.new(name: 'AssociationId')
21
22
  BranchName = Shapes::StringShape.new(name: 'BranchName')
22
23
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
@@ -40,12 +41,15 @@ module Aws::CodeGuruReviewer
40
41
  DescribeRepositoryAssociationResponse = Shapes::StructureShape.new(name: 'DescribeRepositoryAssociationResponse')
41
42
  DisassociateRepositoryRequest = Shapes::StructureShape.new(name: 'DisassociateRepositoryRequest')
42
43
  DisassociateRepositoryResponse = Shapes::StructureShape.new(name: 'DisassociateRepositoryResponse')
44
+ EncryptionOption = Shapes::StringShape.new(name: 'EncryptionOption')
43
45
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
44
46
  FilePath = Shapes::StringShape.new(name: 'FilePath')
45
47
  FindingsCount = Shapes::IntegerShape.new(name: 'FindingsCount')
46
48
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
47
49
  JobState = Shapes::StringShape.new(name: 'JobState')
48
50
  JobStates = Shapes::ListShape.new(name: 'JobStates')
51
+ KMSKeyDetails = Shapes::StructureShape.new(name: 'KMSKeyDetails')
52
+ KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
49
53
  LineNumber = Shapes::IntegerShape.new(name: 'LineNumber')
50
54
  ListCodeReviewsMaxResults = Shapes::IntegerShape.new(name: 'ListCodeReviewsMaxResults')
51
55
  ListCodeReviewsRequest = Shapes::StructureShape.new(name: 'ListCodeReviewsRequest')
@@ -56,6 +60,8 @@ module Aws::CodeGuruReviewer
56
60
  ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
57
61
  ListRepositoryAssociationsRequest = Shapes::StructureShape.new(name: 'ListRepositoryAssociationsRequest')
58
62
  ListRepositoryAssociationsResponse = Shapes::StructureShape.new(name: 'ListRepositoryAssociationsResponse')
63
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
64
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
59
65
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
60
66
  MeteredLinesOfCodeCount = Shapes::IntegerShape.new(name: 'MeteredLinesOfCodeCount')
61
67
  Metrics = Shapes::StructureShape.new(name: 'Metrics')
@@ -92,11 +98,19 @@ module Aws::CodeGuruReviewer
92
98
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
93
99
  SourceCodeType = Shapes::StructureShape.new(name: 'SourceCodeType')
94
100
  StateReason = Shapes::StringShape.new(name: 'StateReason')
101
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
102
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
103
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
104
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
105
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
106
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
95
107
  Text = Shapes::StringShape.new(name: 'Text')
96
108
  ThirdPartySourceRepository = Shapes::StructureShape.new(name: 'ThirdPartySourceRepository')
97
109
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
98
110
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
99
111
  Type = Shapes::StringShape.new(name: 'Type')
112
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
113
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
100
114
  UserId = Shapes::StringShape.new(name: 'UserId')
101
115
  UserIds = Shapes::ListShape.new(name: 'UserIds')
102
116
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
@@ -106,9 +120,12 @@ module Aws::CodeGuruReviewer
106
120
 
107
121
  AssociateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "Repository"))
108
122
  AssociateRepositoryRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
123
+ AssociateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
124
+ AssociateRepositoryRequest.add_member(:kms_key_details, Shapes::ShapeRef.new(shape: KMSKeyDetails, location_name: "KMSKeyDetails"))
109
125
  AssociateRepositoryRequest.struct_class = Types::AssociateRepositoryRequest
110
126
 
111
127
  AssociateRepositoryResponse.add_member(:repository_association, Shapes::ShapeRef.new(shape: RepositoryAssociation, location_name: "RepositoryAssociation"))
128
+ AssociateRepositoryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
112
129
  AssociateRepositoryResponse.struct_class = Types::AssociateRepositoryResponse
113
130
 
114
131
  CodeCommitRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
@@ -126,6 +143,7 @@ module Aws::CodeGuruReviewer
126
143
  CodeReview.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
127
144
  CodeReview.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "PullRequestId"))
128
145
  CodeReview.add_member(:source_code_type, Shapes::ShapeRef.new(shape: SourceCodeType, location_name: "SourceCodeType"))
146
+ CodeReview.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, location_name: "AssociationArn"))
129
147
  CodeReview.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
130
148
  CodeReview.struct_class = Types::CodeReview
131
149
 
@@ -155,7 +173,7 @@ module Aws::CodeGuruReviewer
155
173
  ConflictException.struct_class = Types::ConflictException
156
174
 
157
175
  CreateCodeReviewRequest.add_member(:name, Shapes::ShapeRef.new(shape: CodeReviewName, required: true, location_name: "Name"))
158
- CreateCodeReviewRequest.add_member(:repository_association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RepositoryAssociationArn"))
176
+ CreateCodeReviewRequest.add_member(:repository_association_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location_name: "RepositoryAssociationArn"))
159
177
  CreateCodeReviewRequest.add_member(:type, Shapes::ShapeRef.new(shape: CodeReviewType, required: true, location_name: "Type"))
160
178
  CreateCodeReviewRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
161
179
  CreateCodeReviewRequest.struct_class = Types::CreateCodeReviewRequest
@@ -177,16 +195,18 @@ module Aws::CodeGuruReviewer
177
195
  DescribeRecommendationFeedbackResponse.add_member(:recommendation_feedback, Shapes::ShapeRef.new(shape: RecommendationFeedback, location_name: "RecommendationFeedback"))
178
196
  DescribeRecommendationFeedbackResponse.struct_class = Types::DescribeRecommendationFeedbackResponse
179
197
 
180
- DescribeRepositoryAssociationRequest.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "AssociationArn"))
198
+ DescribeRepositoryAssociationRequest.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "AssociationArn"))
181
199
  DescribeRepositoryAssociationRequest.struct_class = Types::DescribeRepositoryAssociationRequest
182
200
 
183
201
  DescribeRepositoryAssociationResponse.add_member(:repository_association, Shapes::ShapeRef.new(shape: RepositoryAssociation, location_name: "RepositoryAssociation"))
202
+ DescribeRepositoryAssociationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
184
203
  DescribeRepositoryAssociationResponse.struct_class = Types::DescribeRepositoryAssociationResponse
185
204
 
186
- DisassociateRepositoryRequest.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "AssociationArn"))
205
+ DisassociateRepositoryRequest.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "AssociationArn"))
187
206
  DisassociateRepositoryRequest.struct_class = Types::DisassociateRepositoryRequest
188
207
 
189
208
  DisassociateRepositoryResponse.add_member(:repository_association, Shapes::ShapeRef.new(shape: RepositoryAssociation, location_name: "RepositoryAssociation"))
209
+ DisassociateRepositoryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
190
210
  DisassociateRepositoryResponse.struct_class = Types::DisassociateRepositoryResponse
191
211
 
192
212
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -194,6 +214,10 @@ module Aws::CodeGuruReviewer
194
214
 
195
215
  JobStates.member = Shapes::ShapeRef.new(shape: JobState)
196
216
 
217
+ KMSKeyDetails.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "KMSKeyId"))
218
+ KMSKeyDetails.add_member(:encryption_option, Shapes::ShapeRef.new(shape: EncryptionOption, location_name: "EncryptionOption"))
219
+ KMSKeyDetails.struct_class = Types::KMSKeyDetails
220
+
197
221
  ListCodeReviewsRequest.add_member(:provider_types, Shapes::ShapeRef.new(shape: ProviderTypes, location: "querystring", location_name: "ProviderTypes"))
198
222
  ListCodeReviewsRequest.add_member(:states, Shapes::ShapeRef.new(shape: JobStates, location: "querystring", location_name: "States"))
199
223
  ListCodeReviewsRequest.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNames, location: "querystring", location_name: "RepositoryNames"))
@@ -238,6 +262,12 @@ module Aws::CodeGuruReviewer
238
262
  ListRepositoryAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
239
263
  ListRepositoryAssociationsResponse.struct_class = Types::ListRepositoryAssociationsResponse
240
264
 
265
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "resourceArn"))
266
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
267
+
268
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
269
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
270
+
241
271
  Metrics.add_member(:metered_lines_of_code_count, Shapes::ShapeRef.new(shape: MeteredLinesOfCodeCount, location_name: "MeteredLinesOfCodeCount"))
242
272
  Metrics.add_member(:findings_count, Shapes::ShapeRef.new(shape: FindingsCount, location_name: "FindingsCount"))
243
273
  Metrics.struct_class = Types::Metrics
@@ -308,6 +338,7 @@ module Aws::CodeGuruReviewer
308
338
  RepositoryAssociation.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "StateReason"))
309
339
  RepositoryAssociation.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp"))
310
340
  RepositoryAssociation.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreatedTimeStamp"))
341
+ RepositoryAssociation.add_member(:kms_key_details, Shapes::ShapeRef.new(shape: KMSKeyDetails, location_name: "KMSKeyDetails"))
311
342
  RepositoryAssociation.struct_class = Types::RepositoryAssociation
312
343
 
313
344
  RepositoryAssociationStates.member = Shapes::ShapeRef.new(shape: RepositoryAssociationState)
@@ -336,6 +367,17 @@ module Aws::CodeGuruReviewer
336
367
  SourceCodeType.add_member(:repository_head, Shapes::ShapeRef.new(shape: RepositoryHeadSourceCodeType, location_name: "RepositoryHead"))
337
368
  SourceCodeType.struct_class = Types::SourceCodeType
338
369
 
370
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
371
+
372
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
373
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
374
+
375
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "resourceArn"))
376
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
377
+ TagResourceRequest.struct_class = Types::TagResourceRequest
378
+
379
+ TagResourceResponse.struct_class = Types::TagResourceResponse
380
+
339
381
  ThirdPartySourceRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
340
382
  ThirdPartySourceRepository.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
341
383
  ThirdPartySourceRepository.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, required: true, location_name: "Owner"))
@@ -344,6 +386,12 @@ module Aws::CodeGuruReviewer
344
386
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
345
387
  ThrottlingException.struct_class = Types::ThrottlingException
346
388
 
389
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "resourceArn"))
390
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
391
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
392
+
393
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
394
+
347
395
  UserIds.member = Shapes::ShapeRef.new(shape: UserId)
348
396
 
349
397
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -521,6 +569,17 @@ module Aws::CodeGuruReviewer
521
569
  )
522
570
  end)
523
571
 
572
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
573
+ o.name = "ListTagsForResource"
574
+ o.http_method = "GET"
575
+ o.http_request_uri = "/tags/{resourceArn}"
576
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
577
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
578
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
579
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
580
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
581
+ end)
582
+
524
583
  api.add_operation(:put_recommendation_feedback, Seahorse::Model::Operation.new.tap do |o|
525
584
  o.name = "PutRecommendationFeedback"
526
585
  o.http_method = "PUT"
@@ -533,6 +592,28 @@ module Aws::CodeGuruReviewer
533
592
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
534
593
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
535
594
  end)
595
+
596
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
597
+ o.name = "TagResource"
598
+ o.http_method = "POST"
599
+ o.http_request_uri = "/tags/{resourceArn}"
600
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
601
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
602
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
603
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
604
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
605
+ end)
606
+
607
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
608
+ o.name = "UntagResource"
609
+ o.http_method = "DELETE"
610
+ o.http_request_uri = "/tags/{resourceArn}"
611
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
612
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
615
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
616
+ end)
536
617
  end
537
618
 
538
619
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -43,6 +43,13 @@ module Aws::CodeGuruReviewer
43
43
  # },
44
44
  # },
45
45
  # client_request_token: "ClientRequestToken",
46
+ # tags: {
47
+ # "TagKey" => "TagValue",
48
+ # },
49
+ # kms_key_details: {
50
+ # kms_key_id: "KMSKeyId",
51
+ # encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
52
+ # },
46
53
  # }
47
54
  #
48
55
  # @!attribute [rw] repository
@@ -58,11 +65,37 @@ module Aws::CodeGuruReviewer
58
65
  # not need to pass this option.
59
66
  # @return [String]
60
67
  #
68
+ # @!attribute [rw] tags
69
+ # An array of key-value pairs used to tag an associated repository. A
70
+ # tag is a custom attribute label with two parts:
71
+ #
72
+ # * A *tag key* (for example, `CostCenter`, `Environment`, `Project`,
73
+ # or `Secret`). Tag keys are case sensitive.
74
+ #
75
+ # * An optional field known as a *tag value* (for example,
76
+ # `111122223333`, `Production`, or a team name). Omitting the tag
77
+ # value is the same as using an empty string. Like tag keys, tag
78
+ # values are case sensitive.
79
+ # @return [Hash<String,String>]
80
+ #
81
+ # @!attribute [rw] kms_key_details
82
+ # A `KMSKeyDetails` object that contains:
83
+ #
84
+ # * The encryption option for this repository association. It is
85
+ # either owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`)
86
+ # or customer managed (`CUSTOMER_MANAGED_CMK`).
87
+ #
88
+ # * The ID of the AWS KMS key that is associated with this respository
89
+ # association.
90
+ # @return [Types::KMSKeyDetails]
91
+ #
61
92
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepositoryRequest AWS API Documentation
62
93
  #
63
94
  class AssociateRepositoryRequest < Struct.new(
64
95
  :repository,
65
- :client_request_token)
96
+ :client_request_token,
97
+ :tags,
98
+ :kms_key_details)
66
99
  SENSITIVE = []
67
100
  include Aws::Structure
68
101
  end
@@ -71,10 +104,24 @@ module Aws::CodeGuruReviewer
71
104
  # Information about the repository association.
72
105
  # @return [Types::RepositoryAssociation]
73
106
  #
107
+ # @!attribute [rw] tags
108
+ # An array of key-value pairs used to tag an associated repository. A
109
+ # tag is a custom attribute label with two parts:
110
+ #
111
+ # * A *tag key* (for example, `CostCenter`, `Environment`, `Project`,
112
+ # or `Secret`). Tag keys are case sensitive.
113
+ #
114
+ # * An optional field known as a *tag value* (for example,
115
+ # `111122223333`, `Production`, or a team name). Omitting the tag
116
+ # value is the same as using an empty string. Like tag keys, tag
117
+ # values are case sensitive.
118
+ # @return [Hash<String,String>]
119
+ #
74
120
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepositoryResponse AWS API Documentation
75
121
  #
76
122
  class AssociateRepositoryResponse < Struct.new(
77
- :repository_association)
123
+ :repository_association,
124
+ :tags)
78
125
  SENSITIVE = []
79
126
  include Aws::Structure
80
127
  end
@@ -107,7 +154,8 @@ module Aws::CodeGuruReviewer
107
154
  include Aws::Structure
108
155
  end
109
156
 
110
- # Information about a code review.
157
+ # Information about a code review. A code review belongs to the
158
+ # associated repository that contains the reviewed code.
111
159
  #
112
160
  # @!attribute [rw] name
113
161
  # The name of the code review.
@@ -176,6 +224,17 @@ module Aws::CodeGuruReviewer
176
224
  # The type of the source code for the code review.
177
225
  # @return [Types::SourceCodeType]
178
226
  #
227
+ # @!attribute [rw] association_arn
228
+ # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
229
+ # that contains the reviewed source code. You can retrieve associated
230
+ # repository ARNs by calling [ `ListRepositoryAssociations` ][2].
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
235
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
236
+ # @return [String]
237
+ #
179
238
  # @!attribute [rw] metrics
180
239
  # The statistics from the code review.
181
240
  # @return [Types::Metrics]
@@ -195,6 +254,7 @@ module Aws::CodeGuruReviewer
195
254
  :type,
196
255
  :pull_request_id,
197
256
  :source_code_type,
257
+ :association_arn,
198
258
  :metrics)
199
259
  SENSITIVE = []
200
260
  include Aws::Structure
@@ -287,12 +347,12 @@ module Aws::CodeGuruReviewer
287
347
  # The type of a code review. There are two code review types:
288
348
  #
289
349
  # * `PullRequest` - A code review that is automatically triggered by a
290
- # pull request on an assocaited repository. Because this type of code
350
+ # pull request on an associated repository. Because this type of code
291
351
  # review is automatically generated, you cannot specify this code
292
352
  # review type using [ `CreateCodeReview` ][1].
293
353
  #
294
354
  # * `RepositoryAnalysis` - A code review that analyzes all code under a
295
- # specified branch in an associated respository. The assocated
355
+ # specified branch in an associated repository. The associated
296
356
  # repository is specified using its ARN in [ `CreateCodeReview` ][1].
297
357
  #
298
358
  #
@@ -312,8 +372,8 @@ module Aws::CodeGuruReviewer
312
372
  #
313
373
  # @!attribute [rw] repository_analysis
314
374
  # A code review that analyzes all code under a specified branch in an
315
- # associated respository. The assocated repository is specified using
316
- # its ARN in [ `CreateCodeReview` ][1]
375
+ # associated repository. The associated repository is specified using
376
+ # its ARN in [ `CreateCodeReview` ][1].
317
377
  #
318
378
  #
319
379
  #
@@ -372,7 +432,7 @@ module Aws::CodeGuruReviewer
372
432
  #
373
433
  # {
374
434
  # name: "CodeReviewName", # required
375
- # repository_association_arn: "Arn", # required
435
+ # repository_association_arn: "AssociationArn", # required
376
436
  # type: { # required
377
437
  # repository_analysis: { # required
378
438
  # repository_head: { # required
@@ -384,13 +444,14 @@ module Aws::CodeGuruReviewer
384
444
  # }
385
445
  #
386
446
  # @!attribute [rw] name
387
- # The name of the code review. Each code review of the same code
388
- # review type must have a unique name in your AWS account.
447
+ # The name of the code review. The name of each code review in your
448
+ # AWS account must be unique.
389
449
  # @return [String]
390
450
  #
391
451
  # @!attribute [rw] repository_association_arn
392
452
  # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
393
- # object. You can retrieve this ARN by calling `ListRepositories`.
453
+ # object. You can retrieve this ARN by calling [
454
+ # `ListRepositoryAssociations` ][2].
394
455
  #
395
456
  # A code review can only be created on an associated repository. This
396
457
  # is the ARN of the associated repository.
@@ -398,11 +459,13 @@ module Aws::CodeGuruReviewer
398
459
  #
399
460
  #
400
461
  # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
462
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
401
463
  # @return [String]
402
464
  #
403
465
  # @!attribute [rw] type
404
466
  # The type of code review to create. This is specified using a [
405
- # `CodeReviewType` ][1] object.
467
+ # `CodeReviewType` ][1] object. You can create a code review only of
468
+ # type `RepositoryAnalysis`.
406
469
  #
407
470
  #
408
471
  #
@@ -430,7 +493,8 @@ module Aws::CodeGuruReviewer
430
493
  end
431
494
 
432
495
  # @!attribute [rw] code_review
433
- # Information about a code review.
496
+ # Information about a code review. A code review belongs to the
497
+ # associated repository that contains the reviewed code.
434
498
  # @return [Types::CodeReview]
435
499
  #
436
500
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CreateCodeReviewResponse AWS API Documentation
@@ -538,16 +602,18 @@ module Aws::CodeGuruReviewer
538
602
  # data as a hash:
539
603
  #
540
604
  # {
541
- # association_arn: "Arn", # required
605
+ # association_arn: "AssociationArn", # required
542
606
  # }
543
607
  #
544
608
  # @!attribute [rw] association_arn
545
609
  # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
546
- # object. You can retrieve this ARN by calling `ListRepositories`.
610
+ # object. You can retrieve this ARN by calling [
611
+ # `ListRepositoryAssociations` ][2].
547
612
  #
548
613
  #
549
614
  #
550
615
  # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
616
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
551
617
  # @return [String]
552
618
  #
553
619
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociationRequest AWS API Documentation
@@ -562,10 +628,24 @@ module Aws::CodeGuruReviewer
562
628
  # Information about the repository association.
563
629
  # @return [Types::RepositoryAssociation]
564
630
  #
631
+ # @!attribute [rw] tags
632
+ # An array of key-value pairs used to tag an associated repository. A
633
+ # tag is a custom attribute label with two parts:
634
+ #
635
+ # * A *tag key* (for example, `CostCenter`, `Environment`, `Project`,
636
+ # or `Secret`). Tag keys are case sensitive.
637
+ #
638
+ # * An optional field known as a *tag value* (for example,
639
+ # `111122223333`, `Production`, or a team name). Omitting the tag
640
+ # value is the same as using an empty string. Like tag keys, tag
641
+ # values are case sensitive.
642
+ # @return [Hash<String,String>]
643
+ #
565
644
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociationResponse AWS API Documentation
566
645
  #
567
646
  class DescribeRepositoryAssociationResponse < Struct.new(
568
- :repository_association)
647
+ :repository_association,
648
+ :tags)
569
649
  SENSITIVE = []
570
650
  include Aws::Structure
571
651
  end
@@ -574,16 +654,18 @@ module Aws::CodeGuruReviewer
574
654
  # data as a hash:
575
655
  #
576
656
  # {
577
- # association_arn: "Arn", # required
657
+ # association_arn: "AssociationArn", # required
578
658
  # }
579
659
  #
580
660
  # @!attribute [rw] association_arn
581
661
  # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
582
- # object. You can retrieve this ARN by calling `ListRepositories`.
662
+ # object. You can retrieve this ARN by calling [
663
+ # `ListRepositoryAssociations` ][2].
583
664
  #
584
665
  #
585
666
  #
586
667
  # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
668
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
587
669
  # @return [String]
588
670
  #
589
671
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepositoryRequest AWS API Documentation
@@ -598,10 +680,24 @@ module Aws::CodeGuruReviewer
598
680
  # Information about the disassociated repository.
599
681
  # @return [Types::RepositoryAssociation]
600
682
  #
683
+ # @!attribute [rw] tags
684
+ # An array of key-value pairs used to tag an associated repository. A
685
+ # tag is a custom attribute label with two parts:
686
+ #
687
+ # * A *tag key* (for example, `CostCenter`, `Environment`, `Project`,
688
+ # or `Secret`). Tag keys are case sensitive.
689
+ #
690
+ # * An optional field known as a *tag value* (for example,
691
+ # `111122223333`, `Production`, or a team name). Omitting the tag
692
+ # value is the same as using an empty string. Like tag keys, tag
693
+ # values are case sensitive.
694
+ # @return [Hash<String,String>]
695
+ #
601
696
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepositoryResponse AWS API Documentation
602
697
  #
603
698
  class DisassociateRepositoryResponse < Struct.new(
604
- :repository_association)
699
+ :repository_association,
700
+ :tags)
605
701
  SENSITIVE = []
606
702
  include Aws::Structure
607
703
  end
@@ -620,6 +716,43 @@ module Aws::CodeGuruReviewer
620
716
  include Aws::Structure
621
717
  end
622
718
 
719
+ # An object that contains:
720
+ #
721
+ # * The encryption option for a repository association. It is either
722
+ # owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or
723
+ # customer managed (`CUSTOMER_MANAGED_CMK`).
724
+ #
725
+ # * The ID of the AWS KMS key that is associated with a respository
726
+ # association.
727
+ #
728
+ # @note When making an API call, you may pass KMSKeyDetails
729
+ # data as a hash:
730
+ #
731
+ # {
732
+ # kms_key_id: "KMSKeyId",
733
+ # encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
734
+ # }
735
+ #
736
+ # @!attribute [rw] kms_key_id
737
+ # The ID of the AWS KMS key that is associated with a respository
738
+ # association.
739
+ # @return [String]
740
+ #
741
+ # @!attribute [rw] encryption_option
742
+ # The encryption option for a repository association. It is either
743
+ # owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or
744
+ # customer managed (`CUSTOMER_MANAGED_CMK`).
745
+ # @return [String]
746
+ #
747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/KMSKeyDetails AWS API Documentation
748
+ #
749
+ class KMSKeyDetails < Struct.new(
750
+ :kms_key_id,
751
+ :encryption_option)
752
+ SENSITIVE = []
753
+ include Aws::Structure
754
+ end
755
+
623
756
  # @note When making an API call, you may pass ListCodeReviewsRequest
624
757
  # data as a hash:
625
758
  #
@@ -848,7 +981,7 @@ module Aws::CodeGuruReviewer
848
981
  #
849
982
  # {
850
983
  # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
851
- # states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating
984
+ # states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating, Disassociated
852
985
  # names: ["Name"],
853
986
  # owners: ["Owner"],
854
987
  # max_results: 1,
@@ -886,6 +1019,18 @@ module Aws::CodeGuruReviewer
886
1019
  #
887
1020
  # * **Disassociating**\: CodeGuru Reviewer is removing the
888
1021
  # repository's pull request notifications and source code access.
1022
+ #
1023
+ # * **Disassociated**\: CodeGuru Reviewer successfully disassociated
1024
+ # the repository. You can create a new association with this
1025
+ # repository if you want to review source code in it later. You can
1026
+ # control access to code reviews created in an associated repository
1027
+ # with tags after it has been disassociated. For more information,
1028
+ # see [Using tags to control access to associated repositories][1]
1029
+ # in the *Amazon CodeGuru Reviewer User Guide*.
1030
+ #
1031
+ #
1032
+ #
1033
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html
889
1034
  # @return [Array<String>]
890
1035
  #
891
1036
  # @!attribute [rw] names
@@ -961,6 +1106,53 @@ module Aws::CodeGuruReviewer
961
1106
  include Aws::Structure
962
1107
  end
963
1108
 
1109
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1110
+ # data as a hash:
1111
+ #
1112
+ # {
1113
+ # resource_arn: "AssociationArn", # required
1114
+ # }
1115
+ #
1116
+ # @!attribute [rw] resource_arn
1117
+ # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
1118
+ # object. You can retrieve this ARN by calling [
1119
+ # `ListRepositoryAssociations` ][2].
1120
+ #
1121
+ #
1122
+ #
1123
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
1124
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
1125
+ # @return [String]
1126
+ #
1127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListTagsForResourceRequest AWS API Documentation
1128
+ #
1129
+ class ListTagsForResourceRequest < Struct.new(
1130
+ :resource_arn)
1131
+ SENSITIVE = []
1132
+ include Aws::Structure
1133
+ end
1134
+
1135
+ # @!attribute [rw] tags
1136
+ # An array of key-value pairs used to tag an associated repository. A
1137
+ # tag is a custom attribute label with two parts:
1138
+ #
1139
+ # * A *tag key* (for example, `CostCenter`, `Environment`, `Project`,
1140
+ # or `Secret`). Tag keys are case sensitive.
1141
+ #
1142
+ # * An optional field known as a *tag value* (for example,
1143
+ # `111122223333`, `Production`, or a team name). Omitting the tag
1144
+ # value is the same as using an empty string. Like tag keys, tag
1145
+ # values are case sensitive.
1146
+ # @return [Hash<String,String>]
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListTagsForResourceResponse AWS API Documentation
1149
+ #
1150
+ class ListTagsForResourceResponse < Struct.new(
1151
+ :tags)
1152
+ SENSITIVE = []
1153
+ include Aws::Structure
1154
+ end
1155
+
964
1156
  # Information about the statistics from the code review.
965
1157
  #
966
1158
  # @!attribute [rw] metered_lines_of_code_count
@@ -1250,7 +1442,7 @@ module Aws::CodeGuruReviewer
1250
1442
  end
1251
1443
 
1252
1444
  # A code review type that analyzes all code under a specified branch in
1253
- # an associated respository. The assocated repository is specified using
1445
+ # an associated repository. The associated repository is specified using
1254
1446
  # its ARN when you call [ `CreateCodeReview` ][1].
1255
1447
  #
1256
1448
  #
@@ -1354,6 +1546,18 @@ module Aws::CodeGuruReviewer
1354
1546
  #
1355
1547
  # * **Disassociating**\: CodeGuru Reviewer is removing the
1356
1548
  # repository's pull request notifications and source code access.
1549
+ #
1550
+ # * **Disassociated**\: CodeGuru Reviewer successfully disassociated
1551
+ # the repository. You can create a new association with this
1552
+ # repository if you want to review source code in it later. You can
1553
+ # control access to code reviews created in an associated repository
1554
+ # with tags after it has been disassociated. For more information,
1555
+ # see [Using tags to control access to associated repositories][1]
1556
+ # in the *Amazon CodeGuru Reviewer User Guide*.
1557
+ #
1558
+ #
1559
+ #
1560
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html
1357
1561
  # @return [String]
1358
1562
  #
1359
1563
  # @!attribute [rw] state_reason
@@ -1371,6 +1575,17 @@ module Aws::CodeGuruReviewer
1371
1575
  # association was created.
1372
1576
  # @return [Time]
1373
1577
  #
1578
+ # @!attribute [rw] kms_key_details
1579
+ # A `KMSKeyDetails` object that contains:
1580
+ #
1581
+ # * The encryption option for this repository association. It is
1582
+ # either owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`)
1583
+ # or customer managed (`CUSTOMER_MANAGED_CMK`).
1584
+ #
1585
+ # * The ID of the AWS KMS key that is associated with this respository
1586
+ # association.
1587
+ # @return [Types::KMSKeyDetails]
1588
+ #
1374
1589
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/RepositoryAssociation AWS API Documentation
1375
1590
  #
1376
1591
  class RepositoryAssociation < Struct.new(
@@ -1383,7 +1598,8 @@ module Aws::CodeGuruReviewer
1383
1598
  :state,
1384
1599
  :state_reason,
1385
1600
  :last_updated_time_stamp,
1386
- :created_time_stamp)
1601
+ :created_time_stamp,
1602
+ :kms_key_details)
1387
1603
  SENSITIVE = []
1388
1604
  include Aws::Structure
1389
1605
  end
@@ -1398,11 +1614,13 @@ module Aws::CodeGuruReviewer
1398
1614
  #
1399
1615
  # @!attribute [rw] association_arn
1400
1616
  # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
1401
- # object. You can retrieve this ARN by calling `ListRepositories`.
1617
+ # object. You can retrieve this ARN by calling [
1618
+ # `ListRepositoryAssociations` ][2].
1402
1619
  #
1403
1620
  #
1404
1621
  #
1405
1622
  # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
1623
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
1406
1624
  # @return [String]
1407
1625
  #
1408
1626
  # @!attribute [rw] connection_arn
@@ -1468,6 +1686,18 @@ module Aws::CodeGuruReviewer
1468
1686
  #
1469
1687
  # * **Disassociating**\: CodeGuru Reviewer is removing the
1470
1688
  # repository's pull request notifications and source code access.
1689
+ #
1690
+ # * **Disassociated**\: CodeGuru Reviewer successfully disassociated
1691
+ # the repository. You can create a new association with this
1692
+ # repository if you want to review source code in it later. You can
1693
+ # control access to code reviews created in an associated repository
1694
+ # with tags after it has been disassociated. For more information,
1695
+ # see [Using tags to control access to associated repositories][1]
1696
+ # in the *Amazon CodeGuru Reviewer User Guide*.
1697
+ #
1698
+ #
1699
+ #
1700
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html
1471
1701
  # @return [String]
1472
1702
  #
1473
1703
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/RepositoryAssociationSummary AWS API Documentation
@@ -1556,6 +1786,53 @@ module Aws::CodeGuruReviewer
1556
1786
  include Aws::Structure
1557
1787
  end
1558
1788
 
1789
+ # @note When making an API call, you may pass TagResourceRequest
1790
+ # data as a hash:
1791
+ #
1792
+ # {
1793
+ # resource_arn: "AssociationArn", # required
1794
+ # tags: { # required
1795
+ # "TagKey" => "TagValue",
1796
+ # },
1797
+ # }
1798
+ #
1799
+ # @!attribute [rw] resource_arn
1800
+ # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
1801
+ # object. You can retrieve this ARN by calling [
1802
+ # `ListRepositoryAssociations` ][2].
1803
+ #
1804
+ #
1805
+ #
1806
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
1807
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
1808
+ # @return [String]
1809
+ #
1810
+ # @!attribute [rw] tags
1811
+ # An array of key-value pairs used to tag an associated repository. A
1812
+ # tag is a custom attribute label with two parts:
1813
+ #
1814
+ # * A *tag key* (for example, `CostCenter`, `Environment`, `Project`,
1815
+ # or `Secret`). Tag keys are case sensitive.
1816
+ #
1817
+ # * An optional field known as a *tag value* (for example,
1818
+ # `111122223333`, `Production`, or a team name). Omitting the tag
1819
+ # value is the same as using an empty string. Like tag keys, tag
1820
+ # values are case sensitive.
1821
+ # @return [Hash<String,String>]
1822
+ #
1823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/TagResourceRequest AWS API Documentation
1824
+ #
1825
+ class TagResourceRequest < Struct.new(
1826
+ :resource_arn,
1827
+ :tags)
1828
+ SENSITIVE = []
1829
+ include Aws::Structure
1830
+ end
1831
+
1832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/TagResourceResponse AWS API Documentation
1833
+ #
1834
+ class TagResourceResponse < Aws::EmptyStructure; end
1835
+
1559
1836
  # Information about a third-party source repository connected to
1560
1837
  # CodeGuru Reviewer.
1561
1838
  #
@@ -1613,6 +1890,43 @@ module Aws::CodeGuruReviewer
1613
1890
  include Aws::Structure
1614
1891
  end
1615
1892
 
1893
+ # @note When making an API call, you may pass UntagResourceRequest
1894
+ # data as a hash:
1895
+ #
1896
+ # {
1897
+ # resource_arn: "AssociationArn", # required
1898
+ # tag_keys: ["TagKey"], # required
1899
+ # }
1900
+ #
1901
+ # @!attribute [rw] resource_arn
1902
+ # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
1903
+ # object. You can retrieve this ARN by calling [
1904
+ # `ListRepositoryAssociations` ][2].
1905
+ #
1906
+ #
1907
+ #
1908
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
1909
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
1910
+ # @return [String]
1911
+ #
1912
+ # @!attribute [rw] tag_keys
1913
+ # A list of the keys for each tag you want to remove from an
1914
+ # associated repository.
1915
+ # @return [Array<String>]
1916
+ #
1917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/UntagResourceRequest AWS API Documentation
1918
+ #
1919
+ class UntagResourceRequest < Struct.new(
1920
+ :resource_arn,
1921
+ :tag_keys)
1922
+ SENSITIVE = []
1923
+ include Aws::Structure
1924
+ end
1925
+
1926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/UntagResourceResponse AWS API Documentation
1927
+ #
1928
+ class UntagResourceResponse < Aws::EmptyStructure; end
1929
+
1616
1930
  # The input fails to satisfy the specified constraints.
1617
1931
  #
1618
1932
  # @!attribute [rw] message