# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CodeGuruReviewer # @api private module ClientApi include Seahorse::Model AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException') AnalysisType = Shapes::StringShape.new(name: 'AnalysisType') AnalysisTypes = Shapes::ListShape.new(name: 'AnalysisTypes') Arn = Shapes::StringShape.new(name: 'Arn') AssociateRepositoryRequest = Shapes::StructureShape.new(name: 'AssociateRepositoryRequest') AssociateRepositoryResponse = Shapes::StructureShape.new(name: 'AssociateRepositoryResponse') AssociationArn = Shapes::StringShape.new(name: 'AssociationArn') AssociationId = Shapes::StringShape.new(name: 'AssociationId') BranchDiffSourceCodeType = Shapes::StructureShape.new(name: 'BranchDiffSourceCodeType') BranchName = Shapes::StringShape.new(name: 'BranchName') BuildArtifactsObjectKey = Shapes::StringShape.new(name: 'BuildArtifactsObjectKey') ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken') CodeArtifacts = Shapes::StructureShape.new(name: 'CodeArtifacts') CodeCommitRepository = Shapes::StructureShape.new(name: 'CodeCommitRepository') CodeReview = Shapes::StructureShape.new(name: 'CodeReview') CodeReviewName = Shapes::StringShape.new(name: 'CodeReviewName') CodeReviewSummaries = Shapes::ListShape.new(name: 'CodeReviewSummaries') CodeReviewSummary = Shapes::StructureShape.new(name: 'CodeReviewSummary') CodeReviewType = Shapes::StructureShape.new(name: 'CodeReviewType') CommitDiffSourceCodeType = Shapes::StructureShape.new(name: 'CommitDiffSourceCodeType') CommitId = Shapes::StringShape.new(name: 'CommitId') ConflictException = Shapes::StructureShape.new(name: 'ConflictException') ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn') CreateCodeReviewRequest = Shapes::StructureShape.new(name: 'CreateCodeReviewRequest') CreateCodeReviewResponse = Shapes::StructureShape.new(name: 'CreateCodeReviewResponse') DescribeCodeReviewRequest = Shapes::StructureShape.new(name: 'DescribeCodeReviewRequest') DescribeCodeReviewResponse = Shapes::StructureShape.new(name: 'DescribeCodeReviewResponse') DescribeRecommendationFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeRecommendationFeedbackRequest') DescribeRecommendationFeedbackResponse = Shapes::StructureShape.new(name: 'DescribeRecommendationFeedbackResponse') DescribeRepositoryAssociationRequest = Shapes::StructureShape.new(name: 'DescribeRepositoryAssociationRequest') DescribeRepositoryAssociationResponse = Shapes::StructureShape.new(name: 'DescribeRepositoryAssociationResponse') DisassociateRepositoryRequest = Shapes::StructureShape.new(name: 'DisassociateRepositoryRequest') DisassociateRepositoryResponse = Shapes::StructureShape.new(name: 'DisassociateRepositoryResponse') EncryptionOption = Shapes::StringShape.new(name: 'EncryptionOption') ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage') EventInfo = Shapes::StructureShape.new(name: 'EventInfo') EventName = Shapes::StringShape.new(name: 'EventName') EventState = Shapes::StringShape.new(name: 'EventState') FilePath = Shapes::StringShape.new(name: 'FilePath') FindingsCount = Shapes::IntegerShape.new(name: 'FindingsCount') InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') JobState = Shapes::StringShape.new(name: 'JobState') JobStates = Shapes::ListShape.new(name: 'JobStates') KMSKeyDetails = Shapes::StructureShape.new(name: 'KMSKeyDetails') KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId') LineNumber = Shapes::IntegerShape.new(name: 'LineNumber') ListCodeReviewsMaxResults = Shapes::IntegerShape.new(name: 'ListCodeReviewsMaxResults') ListCodeReviewsRequest = Shapes::StructureShape.new(name: 'ListCodeReviewsRequest') ListCodeReviewsResponse = Shapes::StructureShape.new(name: 'ListCodeReviewsResponse') ListRecommendationFeedbackRequest = Shapes::StructureShape.new(name: 'ListRecommendationFeedbackRequest') ListRecommendationFeedbackResponse = Shapes::StructureShape.new(name: 'ListRecommendationFeedbackResponse') ListRecommendationsMaxResults = Shapes::IntegerShape.new(name: 'ListRecommendationsMaxResults') ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest') ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse') ListRepositoryAssociationsRequest = Shapes::StructureShape.new(name: 'ListRepositoryAssociationsRequest') ListRepositoryAssociationsResponse = Shapes::StructureShape.new(name: 'ListRepositoryAssociationsResponse') ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest') ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse') LongDescription = Shapes::StringShape.new(name: 'LongDescription') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') MeteredLinesOfCodeCount = Shapes::IntegerShape.new(name: 'MeteredLinesOfCodeCount') Metrics = Shapes::StructureShape.new(name: 'Metrics') MetricsSummary = Shapes::StructureShape.new(name: 'MetricsSummary') Name = Shapes::StringShape.new(name: 'Name') Names = Shapes::ListShape.new(name: 'Names') NextToken = Shapes::StringShape.new(name: 'NextToken') NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException') Owner = Shapes::StringShape.new(name: 'Owner') Owners = Shapes::ListShape.new(name: 'Owners') ProviderType = Shapes::StringShape.new(name: 'ProviderType') ProviderTypes = Shapes::ListShape.new(name: 'ProviderTypes') PullRequestId = Shapes::StringShape.new(name: 'PullRequestId') PutRecommendationFeedbackRequest = Shapes::StructureShape.new(name: 'PutRecommendationFeedbackRequest') PutRecommendationFeedbackResponse = Shapes::StructureShape.new(name: 'PutRecommendationFeedbackResponse') Reaction = Shapes::StringShape.new(name: 'Reaction') Reactions = Shapes::ListShape.new(name: 'Reactions') RecommendationCategory = Shapes::StringShape.new(name: 'RecommendationCategory') RecommendationFeedback = Shapes::StructureShape.new(name: 'RecommendationFeedback') RecommendationFeedbackSummaries = Shapes::ListShape.new(name: 'RecommendationFeedbackSummaries') RecommendationFeedbackSummary = Shapes::StructureShape.new(name: 'RecommendationFeedbackSummary') RecommendationId = Shapes::StringShape.new(name: 'RecommendationId') RecommendationIds = Shapes::ListShape.new(name: 'RecommendationIds') RecommendationSummaries = Shapes::ListShape.new(name: 'RecommendationSummaries') RecommendationSummary = Shapes::StructureShape.new(name: 'RecommendationSummary') Repository = Shapes::StructureShape.new(name: 'Repository') RepositoryAnalysis = Shapes::StructureShape.new(name: 'RepositoryAnalysis') RepositoryAssociation = Shapes::StructureShape.new(name: 'RepositoryAssociation') RepositoryAssociationState = Shapes::StringShape.new(name: 'RepositoryAssociationState') RepositoryAssociationStates = Shapes::ListShape.new(name: 'RepositoryAssociationStates') RepositoryAssociationSummaries = Shapes::ListShape.new(name: 'RepositoryAssociationSummaries') RepositoryAssociationSummary = Shapes::StructureShape.new(name: 'RepositoryAssociationSummary') RepositoryHeadSourceCodeType = Shapes::StructureShape.new(name: 'RepositoryHeadSourceCodeType') RepositoryNames = Shapes::ListShape.new(name: 'RepositoryNames') RequestId = Shapes::StringShape.new(name: 'RequestId') RequestMetadata = Shapes::StructureShape.new(name: 'RequestMetadata') Requester = Shapes::StringShape.new(name: 'Requester') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') RuleId = Shapes::StringShape.new(name: 'RuleId') RuleMetadata = Shapes::StructureShape.new(name: 'RuleMetadata') RuleName = Shapes::StringShape.new(name: 'RuleName') RuleTag = Shapes::StringShape.new(name: 'RuleTag') RuleTags = Shapes::ListShape.new(name: 'RuleTags') S3BucketName = Shapes::StringShape.new(name: 'S3BucketName') S3BucketRepository = Shapes::StructureShape.new(name: 'S3BucketRepository') S3Repository = Shapes::StructureShape.new(name: 'S3Repository') S3RepositoryDetails = Shapes::StructureShape.new(name: 'S3RepositoryDetails') Severity = Shapes::StringShape.new(name: 'Severity') ShortDescription = Shapes::StringShape.new(name: 'ShortDescription') SourceCodeArtifactsObjectKey = Shapes::StringShape.new(name: 'SourceCodeArtifactsObjectKey') SourceCodeType = Shapes::StructureShape.new(name: 'SourceCodeType') StateReason = Shapes::StringShape.new(name: 'StateReason') TagKey = Shapes::StringShape.new(name: 'TagKey') TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') TagMap = Shapes::MapShape.new(name: 'TagMap') TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse') TagValue = Shapes::StringShape.new(name: 'TagValue') Text = Shapes::StringShape.new(name: 'Text') ThirdPartySourceRepository = Shapes::StructureShape.new(name: 'ThirdPartySourceRepository') ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException') TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp') Type = Shapes::StringShape.new(name: 'Type') UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest') UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse') UserId = Shapes::StringShape.new(name: 'UserId') UserIds = Shapes::ListShape.new(name: 'UserIds') ValidationException = Shapes::StructureShape.new(name: 'ValidationException') VendorName = Shapes::StringShape.new(name: 'VendorName') AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) AccessDeniedException.struct_class = Types::AccessDeniedException AnalysisTypes.member = Shapes::ShapeRef.new(shape: AnalysisType) AssociateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "Repository")) AssociateRepositoryRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true})) AssociateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) AssociateRepositoryRequest.add_member(:kms_key_details, Shapes::ShapeRef.new(shape: KMSKeyDetails, location_name: "KMSKeyDetails")) AssociateRepositoryRequest.struct_class = Types::AssociateRepositoryRequest AssociateRepositoryResponse.add_member(:repository_association, Shapes::ShapeRef.new(shape: RepositoryAssociation, location_name: "RepositoryAssociation")) AssociateRepositoryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) AssociateRepositoryResponse.struct_class = Types::AssociateRepositoryResponse BranchDiffSourceCodeType.add_member(:source_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "SourceBranchName")) BranchDiffSourceCodeType.add_member(:destination_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "DestinationBranchName")) BranchDiffSourceCodeType.struct_class = Types::BranchDiffSourceCodeType CodeArtifacts.add_member(:source_code_artifacts_object_key, Shapes::ShapeRef.new(shape: SourceCodeArtifactsObjectKey, required: true, location_name: "SourceCodeArtifactsObjectKey")) CodeArtifacts.add_member(:build_artifacts_object_key, Shapes::ShapeRef.new(shape: BuildArtifactsObjectKey, location_name: "BuildArtifactsObjectKey")) CodeArtifacts.struct_class = Types::CodeArtifacts CodeCommitRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name")) CodeCommitRepository.struct_class = Types::CodeCommitRepository CodeReview.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name")) CodeReview.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CodeReviewArn")) CodeReview.add_member(:repository_name, Shapes::ShapeRef.new(shape: Name, location_name: "RepositoryName")) CodeReview.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner")) CodeReview.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType")) CodeReview.add_member(:state, Shapes::ShapeRef.new(shape: JobState, location_name: "State")) CodeReview.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "StateReason")) CodeReview.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreatedTimeStamp")) CodeReview.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp")) CodeReview.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type")) CodeReview.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "PullRequestId")) CodeReview.add_member(:source_code_type, Shapes::ShapeRef.new(shape: SourceCodeType, location_name: "SourceCodeType")) CodeReview.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, location_name: "AssociationArn")) CodeReview.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics")) CodeReview.add_member(:analysis_types, Shapes::ShapeRef.new(shape: AnalysisTypes, location_name: "AnalysisTypes")) CodeReview.struct_class = Types::CodeReview CodeReviewSummaries.member = Shapes::ShapeRef.new(shape: CodeReviewSummary) CodeReviewSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name")) CodeReviewSummary.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CodeReviewArn")) CodeReviewSummary.add_member(:repository_name, Shapes::ShapeRef.new(shape: Name, location_name: "RepositoryName")) CodeReviewSummary.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner")) CodeReviewSummary.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType")) CodeReviewSummary.add_member(:state, Shapes::ShapeRef.new(shape: JobState, location_name: "State")) CodeReviewSummary.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreatedTimeStamp")) CodeReviewSummary.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp")) CodeReviewSummary.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type")) CodeReviewSummary.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "PullRequestId")) CodeReviewSummary.add_member(:metrics_summary, Shapes::ShapeRef.new(shape: MetricsSummary, location_name: "MetricsSummary")) CodeReviewSummary.add_member(:source_code_type, Shapes::ShapeRef.new(shape: SourceCodeType, location_name: "SourceCodeType")) CodeReviewSummary.struct_class = Types::CodeReviewSummary CodeReviewType.add_member(:repository_analysis, Shapes::ShapeRef.new(shape: RepositoryAnalysis, required: true, location_name: "RepositoryAnalysis")) CodeReviewType.add_member(:analysis_types, Shapes::ShapeRef.new(shape: AnalysisTypes, location_name: "AnalysisTypes")) CodeReviewType.struct_class = Types::CodeReviewType CommitDiffSourceCodeType.add_member(:source_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "SourceCommit")) CommitDiffSourceCodeType.add_member(:destination_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "DestinationCommit")) CommitDiffSourceCodeType.add_member(:merge_base_commit, Shapes::ShapeRef.new(shape: CommitId, location_name: "MergeBaseCommit")) CommitDiffSourceCodeType.struct_class = Types::CommitDiffSourceCodeType ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) ConflictException.struct_class = Types::ConflictException CreateCodeReviewRequest.add_member(:name, Shapes::ShapeRef.new(shape: CodeReviewName, required: true, location_name: "Name")) CreateCodeReviewRequest.add_member(:repository_association_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location_name: "RepositoryAssociationArn")) CreateCodeReviewRequest.add_member(:type, Shapes::ShapeRef.new(shape: CodeReviewType, required: true, location_name: "Type")) CreateCodeReviewRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true})) CreateCodeReviewRequest.struct_class = Types::CreateCodeReviewRequest CreateCodeReviewResponse.add_member(:code_review, Shapes::ShapeRef.new(shape: CodeReview, location_name: "CodeReview")) CreateCodeReviewResponse.struct_class = Types::CreateCodeReviewResponse DescribeCodeReviewRequest.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "CodeReviewArn")) DescribeCodeReviewRequest.struct_class = Types::DescribeCodeReviewRequest DescribeCodeReviewResponse.add_member(:code_review, Shapes::ShapeRef.new(shape: CodeReview, location_name: "CodeReview")) DescribeCodeReviewResponse.struct_class = Types::DescribeCodeReviewResponse DescribeRecommendationFeedbackRequest.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "CodeReviewArn")) DescribeRecommendationFeedbackRequest.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationId, required: true, location: "querystring", location_name: "RecommendationId")) DescribeRecommendationFeedbackRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "UserId")) DescribeRecommendationFeedbackRequest.struct_class = Types::DescribeRecommendationFeedbackRequest DescribeRecommendationFeedbackResponse.add_member(:recommendation_feedback, Shapes::ShapeRef.new(shape: RecommendationFeedback, location_name: "RecommendationFeedback")) DescribeRecommendationFeedbackResponse.struct_class = Types::DescribeRecommendationFeedbackResponse DescribeRepositoryAssociationRequest.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "AssociationArn")) DescribeRepositoryAssociationRequest.struct_class = Types::DescribeRepositoryAssociationRequest DescribeRepositoryAssociationResponse.add_member(:repository_association, Shapes::ShapeRef.new(shape: RepositoryAssociation, location_name: "RepositoryAssociation")) DescribeRepositoryAssociationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) DescribeRepositoryAssociationResponse.struct_class = Types::DescribeRepositoryAssociationResponse DisassociateRepositoryRequest.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "AssociationArn")) DisassociateRepositoryRequest.struct_class = Types::DisassociateRepositoryRequest DisassociateRepositoryResponse.add_member(:repository_association, Shapes::ShapeRef.new(shape: RepositoryAssociation, location_name: "RepositoryAssociation")) DisassociateRepositoryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) DisassociateRepositoryResponse.struct_class = Types::DisassociateRepositoryResponse EventInfo.add_member(:name, Shapes::ShapeRef.new(shape: EventName, location_name: "Name")) EventInfo.add_member(:state, Shapes::ShapeRef.new(shape: EventState, location_name: "State")) EventInfo.struct_class = Types::EventInfo InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) InternalServerException.struct_class = Types::InternalServerException JobStates.member = Shapes::ShapeRef.new(shape: JobState) KMSKeyDetails.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "KMSKeyId")) KMSKeyDetails.add_member(:encryption_option, Shapes::ShapeRef.new(shape: EncryptionOption, location_name: "EncryptionOption")) KMSKeyDetails.struct_class = Types::KMSKeyDetails ListCodeReviewsRequest.add_member(:provider_types, Shapes::ShapeRef.new(shape: ProviderTypes, location: "querystring", location_name: "ProviderTypes")) ListCodeReviewsRequest.add_member(:states, Shapes::ShapeRef.new(shape: JobStates, location: "querystring", location_name: "States")) ListCodeReviewsRequest.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNames, location: "querystring", location_name: "RepositoryNames")) ListCodeReviewsRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location: "querystring", location_name: "Type")) ListCodeReviewsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCodeReviewsMaxResults, location: "querystring", location_name: "MaxResults")) ListCodeReviewsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken")) ListCodeReviewsRequest.struct_class = Types::ListCodeReviewsRequest ListCodeReviewsResponse.add_member(:code_review_summaries, Shapes::ShapeRef.new(shape: CodeReviewSummaries, location_name: "CodeReviewSummaries")) ListCodeReviewsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListCodeReviewsResponse.struct_class = Types::ListCodeReviewsResponse ListRecommendationFeedbackRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken")) ListRecommendationFeedbackRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults")) ListRecommendationFeedbackRequest.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "CodeReviewArn")) ListRecommendationFeedbackRequest.add_member(:user_ids, Shapes::ShapeRef.new(shape: UserIds, location: "querystring", location_name: "UserIds")) ListRecommendationFeedbackRequest.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIds, location: "querystring", location_name: "RecommendationIds")) ListRecommendationFeedbackRequest.struct_class = Types::ListRecommendationFeedbackRequest ListRecommendationFeedbackResponse.add_member(:recommendation_feedback_summaries, Shapes::ShapeRef.new(shape: RecommendationFeedbackSummaries, location_name: "RecommendationFeedbackSummaries")) ListRecommendationFeedbackResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListRecommendationFeedbackResponse.struct_class = Types::ListRecommendationFeedbackResponse ListRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken")) ListRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecommendationsMaxResults, location: "querystring", location_name: "MaxResults")) ListRecommendationsRequest.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "CodeReviewArn")) ListRecommendationsRequest.struct_class = Types::ListRecommendationsRequest ListRecommendationsResponse.add_member(:recommendation_summaries, Shapes::ShapeRef.new(shape: RecommendationSummaries, location_name: "RecommendationSummaries")) ListRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListRecommendationsResponse.struct_class = Types::ListRecommendationsResponse ListRepositoryAssociationsRequest.add_member(:provider_types, Shapes::ShapeRef.new(shape: ProviderTypes, location: "querystring", location_name: "ProviderType")) ListRepositoryAssociationsRequest.add_member(:states, Shapes::ShapeRef.new(shape: RepositoryAssociationStates, location: "querystring", location_name: "State")) ListRepositoryAssociationsRequest.add_member(:names, Shapes::ShapeRef.new(shape: Names, location: "querystring", location_name: "Name")) ListRepositoryAssociationsRequest.add_member(:owners, Shapes::ShapeRef.new(shape: Owners, location: "querystring", location_name: "Owner")) ListRepositoryAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults")) ListRepositoryAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken")) ListRepositoryAssociationsRequest.struct_class = Types::ListRepositoryAssociationsRequest ListRepositoryAssociationsResponse.add_member(:repository_association_summaries, Shapes::ShapeRef.new(shape: RepositoryAssociationSummaries, location_name: "RepositoryAssociationSummaries")) ListRepositoryAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListRepositoryAssociationsResponse.struct_class = Types::ListRepositoryAssociationsResponse ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "resourceArn")) ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse Metrics.add_member(:metered_lines_of_code_count, Shapes::ShapeRef.new(shape: MeteredLinesOfCodeCount, location_name: "MeteredLinesOfCodeCount")) Metrics.add_member(:findings_count, Shapes::ShapeRef.new(shape: FindingsCount, location_name: "FindingsCount")) Metrics.struct_class = Types::Metrics MetricsSummary.add_member(:metered_lines_of_code_count, Shapes::ShapeRef.new(shape: MeteredLinesOfCodeCount, location_name: "MeteredLinesOfCodeCount")) MetricsSummary.add_member(:findings_count, Shapes::ShapeRef.new(shape: FindingsCount, location_name: "FindingsCount")) MetricsSummary.struct_class = Types::MetricsSummary Names.member = Shapes::ShapeRef.new(shape: Name) NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) NotFoundException.struct_class = Types::NotFoundException Owners.member = Shapes::ShapeRef.new(shape: Owner) ProviderTypes.member = Shapes::ShapeRef.new(shape: ProviderType) PutRecommendationFeedbackRequest.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CodeReviewArn")) PutRecommendationFeedbackRequest.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationId, required: true, location_name: "RecommendationId")) PutRecommendationFeedbackRequest.add_member(:reactions, Shapes::ShapeRef.new(shape: Reactions, required: true, location_name: "Reactions")) PutRecommendationFeedbackRequest.struct_class = Types::PutRecommendationFeedbackRequest PutRecommendationFeedbackResponse.struct_class = Types::PutRecommendationFeedbackResponse Reactions.member = Shapes::ShapeRef.new(shape: Reaction) RecommendationFeedback.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CodeReviewArn")) RecommendationFeedback.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationId, location_name: "RecommendationId")) RecommendationFeedback.add_member(:reactions, Shapes::ShapeRef.new(shape: Reactions, location_name: "Reactions")) RecommendationFeedback.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId")) RecommendationFeedback.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreatedTimeStamp")) RecommendationFeedback.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp")) RecommendationFeedback.struct_class = Types::RecommendationFeedback RecommendationFeedbackSummaries.member = Shapes::ShapeRef.new(shape: RecommendationFeedbackSummary) RecommendationFeedbackSummary.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationId, location_name: "RecommendationId")) RecommendationFeedbackSummary.add_member(:reactions, Shapes::ShapeRef.new(shape: Reactions, location_name: "Reactions")) RecommendationFeedbackSummary.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId")) RecommendationFeedbackSummary.struct_class = Types::RecommendationFeedbackSummary RecommendationIds.member = Shapes::ShapeRef.new(shape: RecommendationId) RecommendationSummaries.member = Shapes::ShapeRef.new(shape: RecommendationSummary) RecommendationSummary.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, location_name: "FilePath")) RecommendationSummary.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationId, location_name: "RecommendationId")) RecommendationSummary.add_member(:start_line, Shapes::ShapeRef.new(shape: LineNumber, location_name: "StartLine")) RecommendationSummary.add_member(:end_line, Shapes::ShapeRef.new(shape: LineNumber, location_name: "EndLine")) RecommendationSummary.add_member(:description, Shapes::ShapeRef.new(shape: Text, location_name: "Description")) RecommendationSummary.add_member(:recommendation_category, Shapes::ShapeRef.new(shape: RecommendationCategory, location_name: "RecommendationCategory")) RecommendationSummary.add_member(:rule_metadata, Shapes::ShapeRef.new(shape: RuleMetadata, location_name: "RuleMetadata")) RecommendationSummary.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "Severity")) RecommendationSummary.struct_class = Types::RecommendationSummary Repository.add_member(:code_commit, Shapes::ShapeRef.new(shape: CodeCommitRepository, location_name: "CodeCommit")) Repository.add_member(:bitbucket, Shapes::ShapeRef.new(shape: ThirdPartySourceRepository, location_name: "Bitbucket")) Repository.add_member(:git_hub_enterprise_server, Shapes::ShapeRef.new(shape: ThirdPartySourceRepository, location_name: "GitHubEnterpriseServer")) Repository.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Repository, location_name: "S3Bucket")) Repository.struct_class = Types::Repository RepositoryAnalysis.add_member(:repository_head, Shapes::ShapeRef.new(shape: RepositoryHeadSourceCodeType, location_name: "RepositoryHead")) RepositoryAnalysis.add_member(:source_code_type, Shapes::ShapeRef.new(shape: SourceCodeType, location_name: "SourceCodeType")) RepositoryAnalysis.struct_class = Types::RepositoryAnalysis RepositoryAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId")) RepositoryAssociation.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AssociationArn")) RepositoryAssociation.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn")) RepositoryAssociation.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name")) RepositoryAssociation.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner")) RepositoryAssociation.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType")) RepositoryAssociation.add_member(:state, Shapes::ShapeRef.new(shape: RepositoryAssociationState, location_name: "State")) RepositoryAssociation.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "StateReason")) RepositoryAssociation.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp")) RepositoryAssociation.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreatedTimeStamp")) RepositoryAssociation.add_member(:kms_key_details, Shapes::ShapeRef.new(shape: KMSKeyDetails, location_name: "KMSKeyDetails")) RepositoryAssociation.add_member(:s3_repository_details, Shapes::ShapeRef.new(shape: S3RepositoryDetails, location_name: "S3RepositoryDetails")) RepositoryAssociation.struct_class = Types::RepositoryAssociation RepositoryAssociationStates.member = Shapes::ShapeRef.new(shape: RepositoryAssociationState) RepositoryAssociationSummaries.member = Shapes::ShapeRef.new(shape: RepositoryAssociationSummary) RepositoryAssociationSummary.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AssociationArn")) RepositoryAssociationSummary.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn")) RepositoryAssociationSummary.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp")) RepositoryAssociationSummary.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId")) RepositoryAssociationSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name")) RepositoryAssociationSummary.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner")) RepositoryAssociationSummary.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType")) RepositoryAssociationSummary.add_member(:state, Shapes::ShapeRef.new(shape: RepositoryAssociationState, location_name: "State")) RepositoryAssociationSummary.struct_class = Types::RepositoryAssociationSummary RepositoryHeadSourceCodeType.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "BranchName")) RepositoryHeadSourceCodeType.struct_class = Types::RepositoryHeadSourceCodeType RepositoryNames.member = Shapes::ShapeRef.new(shape: Name) RequestMetadata.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId")) RequestMetadata.add_member(:requester, Shapes::ShapeRef.new(shape: Requester, location_name: "Requester")) RequestMetadata.add_member(:event_info, Shapes::ShapeRef.new(shape: EventInfo, location_name: "EventInfo")) RequestMetadata.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, location_name: "VendorName")) RequestMetadata.struct_class = Types::RequestMetadata ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) ResourceNotFoundException.struct_class = Types::ResourceNotFoundException RuleMetadata.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, location_name: "RuleId")) RuleMetadata.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "RuleName")) RuleMetadata.add_member(:short_description, Shapes::ShapeRef.new(shape: ShortDescription, location_name: "ShortDescription")) RuleMetadata.add_member(:long_description, Shapes::ShapeRef.new(shape: LongDescription, location_name: "LongDescription")) RuleMetadata.add_member(:rule_tags, Shapes::ShapeRef.new(shape: RuleTags, location_name: "RuleTags")) RuleMetadata.struct_class = Types::RuleMetadata RuleTags.member = Shapes::ShapeRef.new(shape: RuleTag) S3BucketRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name")) S3BucketRepository.add_member(:details, Shapes::ShapeRef.new(shape: S3RepositoryDetails, location_name: "Details")) S3BucketRepository.struct_class = Types::S3BucketRepository S3Repository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name")) S3Repository.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName")) S3Repository.struct_class = Types::S3Repository S3RepositoryDetails.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "BucketName")) S3RepositoryDetails.add_member(:code_artifacts, Shapes::ShapeRef.new(shape: CodeArtifacts, location_name: "CodeArtifacts")) S3RepositoryDetails.struct_class = Types::S3RepositoryDetails SourceCodeType.add_member(:commit_diff, Shapes::ShapeRef.new(shape: CommitDiffSourceCodeType, location_name: "CommitDiff")) SourceCodeType.add_member(:repository_head, Shapes::ShapeRef.new(shape: RepositoryHeadSourceCodeType, location_name: "RepositoryHead")) SourceCodeType.add_member(:branch_diff, Shapes::ShapeRef.new(shape: BranchDiffSourceCodeType, location_name: "BranchDiff")) SourceCodeType.add_member(:s3_bucket_repository, Shapes::ShapeRef.new(shape: S3BucketRepository, location_name: "S3BucketRepository")) SourceCodeType.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "RequestMetadata")) SourceCodeType.struct_class = Types::SourceCodeType TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) TagMap.key = Shapes::ShapeRef.new(shape: TagKey) TagMap.value = Shapes::ShapeRef.new(shape: TagValue) TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "resourceArn")) TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags")) TagResourceRequest.struct_class = Types::TagResourceRequest TagResourceResponse.struct_class = Types::TagResourceResponse ThirdPartySourceRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name")) ThirdPartySourceRepository.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn")) ThirdPartySourceRepository.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, required: true, location_name: "Owner")) ThirdPartySourceRepository.struct_class = Types::ThirdPartySourceRepository ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) ThrottlingException.struct_class = Types::ThrottlingException UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AssociationArn, required: true, location: "uri", location_name: "resourceArn")) UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys")) UntagResourceRequest.struct_class = Types::UntagResourceRequest UntagResourceResponse.struct_class = Types::UntagResourceResponse UserIds.member = Shapes::ShapeRef.new(shape: UserId) ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) ValidationException.struct_class = Types::ValidationException # @api private API = Seahorse::Model::Api.new.tap do |api| api.version = "2019-09-19" api.metadata = { "apiVersion" => "2019-09-19", "endpointPrefix" => "codeguru-reviewer", "jsonVersion" => "1.1", "protocol" => "rest-json", "serviceAbbreviation" => "CodeGuruReviewer", "serviceFullName" => "Amazon CodeGuru Reviewer", "serviceId" => "CodeGuru Reviewer", "signatureVersion" => "v4", "signingName" => "codeguru-reviewer", "uid" => "codeguru-reviewer-2019-09-19", } api.add_operation(:associate_repository, Seahorse::Model::Operation.new.tap do |o| o.name = "AssociateRepository" o.http_method = "POST" o.http_request_uri = "/associations" o.input = Shapes::ShapeRef.new(shape: AssociateRepositoryRequest) o.output = Shapes::ShapeRef.new(shape: AssociateRepositoryResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:create_code_review, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateCodeReview" o.http_method = "POST" o.http_request_uri = "/codereviews" o.input = Shapes::ShapeRef.new(shape: CreateCodeReviewRequest) o.output = Shapes::ShapeRef.new(shape: CreateCodeReviewResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:describe_code_review, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeCodeReview" o.http_method = "GET" o.http_request_uri = "/codereviews/{CodeReviewArn}" o.input = Shapes::ShapeRef.new(shape: DescribeCodeReviewRequest) o.output = Shapes::ShapeRef.new(shape: DescribeCodeReviewResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:describe_recommendation_feedback, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeRecommendationFeedback" o.http_method = "GET" o.http_request_uri = "/feedback/{CodeReviewArn}" o.input = Shapes::ShapeRef.new(shape: DescribeRecommendationFeedbackRequest) o.output = Shapes::ShapeRef.new(shape: DescribeRecommendationFeedbackResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:describe_repository_association, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeRepositoryAssociation" o.http_method = "GET" o.http_request_uri = "/associations/{AssociationArn}" o.input = Shapes::ShapeRef.new(shape: DescribeRepositoryAssociationRequest) o.output = Shapes::ShapeRef.new(shape: DescribeRepositoryAssociationResponse) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:disassociate_repository, Seahorse::Model::Operation.new.tap do |o| o.name = "DisassociateRepository" o.http_method = "DELETE" o.http_request_uri = "/associations/{AssociationArn}" o.input = Shapes::ShapeRef.new(shape: DisassociateRepositoryRequest) o.output = Shapes::ShapeRef.new(shape: DisassociateRepositoryResponse) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:list_code_reviews, Seahorse::Model::Operation.new.tap do |o| o.name = "ListCodeReviews" o.http_method = "GET" o.http_request_uri = "/codereviews" o.input = Shapes::ShapeRef.new(shape: ListCodeReviewsRequest) o.output = Shapes::ShapeRef.new(shape: ListCodeReviewsResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_recommendation_feedback, Seahorse::Model::Operation.new.tap do |o| o.name = "ListRecommendationFeedback" o.http_method = "GET" o.http_request_uri = "/feedback/{CodeReviewArn}/RecommendationFeedback" o.input = Shapes::ShapeRef.new(shape: ListRecommendationFeedbackRequest) o.output = Shapes::ShapeRef.new(shape: ListRecommendationFeedbackResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_recommendations, Seahorse::Model::Operation.new.tap do |o| o.name = "ListRecommendations" o.http_method = "GET" o.http_request_uri = "/codereviews/{CodeReviewArn}/Recommendations" o.input = Shapes::ShapeRef.new(shape: ListRecommendationsRequest) o.output = Shapes::ShapeRef.new(shape: ListRecommendationsResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_repository_associations, Seahorse::Model::Operation.new.tap do |o| o.name = "ListRepositoryAssociations" o.http_method = "GET" o.http_request_uri = "/associations" o.input = Shapes::ShapeRef.new(shape: ListRepositoryAssociationsRequest) o.output = Shapes::ShapeRef.new(shape: ListRepositoryAssociationsResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTagsForResource" o.http_method = "GET" o.http_request_uri = "/tags/{resourceArn}" o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) api.add_operation(:put_recommendation_feedback, Seahorse::Model::Operation.new.tap do |o| o.name = "PutRecommendationFeedback" o.http_method = "PUT" o.http_request_uri = "/feedback" o.input = Shapes::ShapeRef.new(shape: PutRecommendationFeedbackRequest) o.output = Shapes::ShapeRef.new(shape: PutRecommendationFeedbackResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "TagResource" o.http_method = "POST" o.http_request_uri = "/tags/{resourceArn}" o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) o.output = Shapes::ShapeRef.new(shape: TagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "UntagResource" o.http_method = "DELETE" o.http_request_uri = "/tags/{resourceArn}" o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) end end end