"documentation":"<p>Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.</p>"
"documentation":"<p>Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.</p>"
"documentation":"<p>Returns information about one or more repositories.</p> <note> <p>The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.</p> </note>"
"documentation":"<p>Creates a template for approval rules that can then be associated with one or more repositories in your AWS account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see <a>AssociateApprovalRuleTemplateWithRepository</a>.</p>"
"documentation":"<p>Creates a branch in a repository and points the branch to a commit.</p> <note> <p>Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.</p> </note>"
"documentation":"<p>Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.</p> <note> <p>This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.</p> </note>"
"documentation":"<p>Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.</p>"
"documentation":"<p>Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.</p>"
"documentation":"<p>Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.</p>"
"documentation":"<p>Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.</p> <important> <p>Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.</p> </important>"
"documentation":"<p>Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.</p>"
"documentation":"<p>Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.</p>"
"documentation":"<p>Returns the content of a comment made on a change, file, or commit in a repository. </p> <note> <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.</p> </note>"
"documentation":"<p>Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.</p>"
"documentation":"<p>Returns information about comments made on the comparison between two commits.</p> <note> <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.</p> </note>"
"documentation":"<p>Returns comments made on a pull request.</p> <note> <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.</p> </note>"
"documentation":"<p>Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.</p>"
"documentation":"<p>Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.</p>"
"documentation":"<p>Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.</p>"
"documentation":"<p>Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.</p>"
"documentation":"<p>Returns information about a repository.</p> <note> <p>The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.</p> </note>"
"documentation":"<p>Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.</p>"
"documentation":"<p>Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.</p>"
"documentation":"<p>Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the<i> AWS CodeCommit User Guide</i>.</p>"
"documentation":"<p>Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.</p>"
"documentation":"<p>Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.</p>"
"documentation":"<p>Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.</p>"
"documentation":"<p>Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.</p>"
"documentation":"<p>Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.</p>"
"documentation":"<p>Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User Guide</i>.</p>"
"documentation":"<p>Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.</p>"
"documentation":"<p>Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User Guide</i>.</p>"
"documentation":"<p>Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.</p>"
"documentation":"<p>Sets or changes the default branch name for the specified repository.</p> <note> <p>If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.</p> </note>"
"documentation":"<p>Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers. </p>"
"documentation":"<p>Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.</p>"
"documentation":"<p>Sets or changes the comment or description for a repository.</p> <note> <p>The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.</p> </note>"
"documentation":"<p>Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">Limits</a> in the AWS CodeCommit User Guide.</p>"
"documentation":"<p>The specified Amazon Resource Name (ARN) does not exist in the AWS account.</p>",
"exception":true
},
"AdditionalData":{"type":"string"},
"Approval":{
"type":"structure",
"members":{
"userArn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user.</p>"
},
"approvalState":{
"shape":"ApprovalState",
"documentation":"<p>The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.</p>"
}
},
"documentation":"<p>Returns information about a specific approval on a pull request.</p>"
},
"ApprovalList":{
"type":"list",
"member":{"shape":"Approval"}
},
"ApprovalRule":{
"type":"structure",
"members":{
"approvalRuleId":{
"shape":"ApprovalRuleId",
"documentation":"<p>The system-generated ID of the approval rule.</p>"
},
"approvalRuleName":{
"shape":"ApprovalRuleName",
"documentation":"<p>The name of the approval rule.</p>"
},
"approvalRuleContent":{
"shape":"ApprovalRuleContent",
"documentation":"<p>The content of the approval rule.</p>"
},
"ruleContentSha256":{
"shape":"RuleContentSha256",
"documentation":"<p>The SHA-256 hash signature for the content of the approval rule.</p>"
},
"lastModifiedDate":{
"shape":"LastModifiedDate",
"documentation":"<p>The date the approval rule was most recently changed, in timestamp format.</p>"
},
"creationDate":{
"shape":"CreationDate",
"documentation":"<p>The date the approval rule was created, in timestamp format.</p>"
},
"lastModifiedUser":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.</p>"
},
"originApprovalRuleTemplate":{
"shape":"OriginApprovalRuleTemplate",
"documentation":"<p>The approval rule template used to create the rule.</p>"
}
},
"documentation":"<p>Returns information about an approval rule.</p>"
},
"ApprovalRuleContent":{
"type":"string",
"max":3000,
"min":1
},
"ApprovalRuleContentRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.</p>",
"exception":true
},
"ApprovalRuleDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified approval rule does not exist.</p>",
"exception":true
},
"ApprovalRuleEventMetadata":{
"type":"structure",
"members":{
"approvalRuleName":{
"shape":"ApprovalRuleName",
"documentation":"<p>The name of the approval rule.</p>"
},
"approvalRuleId":{
"shape":"ApprovalRuleId",
"documentation":"<p>The system-generated ID of the approval rule.</p>"
},
"approvalRuleContent":{
"shape":"ApprovalRuleContent",
"documentation":"<p>The content of the approval rule.</p>"
}
},
"documentation":"<p>Returns information about an event for an approval rule.</p>"
},
"ApprovalRuleId":{"type":"string"},
"ApprovalRuleName":{
"type":"string",
"max":100,
"min":1
},
"ApprovalRuleNameAlreadyExistsException":{
"type":"structure",
"members":{
},
"documentation":"<p>An approval rule with that name already exists. Approval rule names must be unique within the scope of a pull request.</p>",
"exception":true
},
"ApprovalRuleNameRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>An approval rule name is required, but was not specified.</p>",
"exception":true
},
"ApprovalRuleOverriddenEventMetadata":{
"type":"structure",
"members":{
"revisionId":{
"shape":"RevisionId",
"documentation":"<p>The revision ID of the pull request when the override event occurred.</p>"
},
"overrideStatus":{
"shape":"OverrideStatus",
"documentation":"<p>The status of the override event.</p>"
}
},
"documentation":"<p>Returns information about an override event for approval rules for a pull request.</p>"
},
"ApprovalRuleTemplate":{
"type":"structure",
"members":{
"approvalRuleTemplateId":{
"shape":"ApprovalRuleTemplateId",
"documentation":"<p>The system-generated ID of the approval rule template.</p>"
},
"approvalRuleTemplateName":{
"shape":"ApprovalRuleTemplateName",
"documentation":"<p>The name of the approval rule template.</p>"
},
"approvalRuleTemplateDescription":{
"shape":"ApprovalRuleTemplateDescription",
"documentation":"<p>The description of the approval rule template.</p>"
},
"approvalRuleTemplateContent":{
"shape":"ApprovalRuleTemplateContent",
"documentation":"<p>The content of the approval rule template.</p>"
},
"ruleContentSha256":{
"shape":"RuleContentSha256",
"documentation":"<p>The SHA-256 hash signature for the content of the approval rule template.</p>"
},
"lastModifiedDate":{
"shape":"LastModifiedDate",
"documentation":"<p>The date the approval rule template was most recently changed, in timestamp format.</p>"
},
"creationDate":{
"shape":"CreationDate",
"documentation":"<p>The date the approval rule template was created, in timestamp format.</p>"
},
"lastModifiedUser":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.</p>"
}
},
"documentation":"<p>Returns information about an approval rule template.</p>"
},
"ApprovalRuleTemplateContent":{
"type":"string",
"max":3000,
"min":1
},
"ApprovalRuleTemplateContentRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.</p>",
"exception":true
},
"ApprovalRuleTemplateDescription":{
"type":"string",
"max":1000,
"min":0
},
"ApprovalRuleTemplateDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template was created, and then try again.</p>",
"exception":true
},
"ApprovalRuleTemplateId":{"type":"string"},
"ApprovalRuleTemplateInUseException":{
"type":"structure",
"members":{
},
"documentation":"<p>The approval rule template is associated with one or more repositories. You cannot delete a template that is associated with a repository. Remove all associations, and then try again.</p>",
"documentation":"<p>You cannot create an approval rule template with that name because a template with that name already exists in this AWS Region for your AWS account. Approval rule template names must be unique.</p>",
"exception":true
},
"ApprovalRuleTemplateNameList":{
"type":"list",
"member":{"shape":"ApprovalRuleTemplateName"}
},
"ApprovalRuleTemplateNameRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>An approval rule template name is required, but was not specified.</p>",
"exception":true
},
"ApprovalRulesList":{
"type":"list",
"member":{"shape":"ApprovalRule"}
},
"ApprovalRulesNotSatisfiedList":{
"type":"list",
"member":{"shape":"ApprovalRuleName"}
},
"ApprovalRulesSatisfiedList":{
"type":"list",
"member":{"shape":"ApprovalRuleName"}
},
"ApprovalState":{
"type":"string",
"enum":[
"APPROVE",
"REVOKE"
]
},
"ApprovalStateChangedEventMetadata":{
"type":"structure",
"members":{
"revisionId":{
"shape":"RevisionId",
"documentation":"<p>The revision ID of the pull request when the approval state changed.</p>"
},
"approvalStatus":{
"shape":"ApprovalState",
"documentation":"<p>The approval status for the pull request.</p>"
}
},
"documentation":"<p>Returns information about a change in the approval state for a pull request.</p>"
},
"ApprovalStateRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>An approval state is required, but was not specified.</p>",
"documentation":"<p>The name of the template you want to associate with one or more repositories.</p>"
},
"repositoryNames":{
"shape":"RepositoryNameList",
"documentation":"<p>The names of the repositories you want to associate with the template.</p> <note> <p>The length constraint limit is for each string in the array. The array itself can be empty.</p> </note>"
"documentation":"<p>A list of any errors that might have occurred while attempting to create the association between the template and the repositories.</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>The name of the template that you want to disassociate from one or more repositories.</p>"
},
"repositoryNames":{
"shape":"RepositoryNameList",
"documentation":"<p>The repository names that you want to disassociate from the approval rule template.</p> <note> <p>The length constraint limit is for each string in the array. The array itself can be empty.</p> </note>"
"documentation":"<p>A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.</p>"
"documentation":"<p>The full commit IDs of the commits to get information about.</p> <note> <p>You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.</p> </note>"
"documentation":"<p>Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.</p>"
"documentation":"<p>The names of the repositories to get information about.</p> <note> <p>The length constraint limit is for each string in the array. The array itself can be empty.</p> </note>"
"documentation":"<p>The before commit ID and the after commit ID are the same, which is not valid. The before commit ID and the after commit ID must be different commit IDs.</p>",
"documentation":"<p>Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name. Branch names must be unique.</p>",
"documentation":"<p>The specified branch name is not valid because it is a tag name. Enter the name of a branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>",
"documentation":"<p>The approval rule cannot be deleted from the pull request because it was created by an approval rule template and applied to the pull request automatically.</p>",
"exception":true
},
"CannotModifyApprovalRuleFromTemplateException":{
"type":"structure",
"members":{
},
"documentation":"<p>The approval rule cannot be modified for the pull request because it was created by an approval rule template and applied to the pull request automatically.</p>",
"documentation":"<p>A client request token is required. A client request token is an unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p>",
"documentation":"<p>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p>"
"documentation":"<p>The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.</p>"
},
"reactionCounts":{
"shape":"ReactionCountsMap",
"documentation":"<p>A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.</p>"
"documentation":"<p>Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.</p>"
"documentation":"<p>The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.</p>"
"documentation":"<p>Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).</p>"
"documentation":"<p>Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.</p>"
"documentation":"<p>Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.</p> <p>For more information about the difference between an author and a committer in Git, see <a href=\"http://git-scm.com/book/ch2-3.html\">Viewing the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>"
"documentation":"<p>The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again.</p>",
"documentation":"<p>A commit was not specified.</p>",
"exception":true
},
"ConcurrentReferenceUpdateException":{
"type":"structure",
"members":{
},
"documentation":"<p>The merge cannot be completed because the target branch has been modified. Another user might have modified the target branch while the merge was in progress. Wait a few minutes, and then try again.</p>",
"exception":true
},
"Conflict":{
"type":"structure",
"members":{
"conflictMetadata":{
"shape":"ConflictMetadata",
"documentation":"<p>Metadata about a conflict in a merge operation.</p>"
},
"mergeHunks":{
"shape":"MergeHunks",
"documentation":"<p>A list of hunks that contain the differences between files or lines causing the conflict.</p>"
}
},
"documentation":"<p>Information about conflicts in a merge operation.</p>"
},
"ConflictDetailLevelTypeEnum":{
"type":"string",
"enum":[
"FILE_LEVEL",
"LINE_LEVEL"
]
},
"ConflictMetadata":{
"type":"structure",
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The path of the file that contains conflicts.</p>"
},
"fileSizes":{
"shape":"FileSizes",
"documentation":"<p>The file sizes of the file in the source, destination, and base of the merge.</p>"
},
"fileModes":{
"shape":"FileModes",
"documentation":"<p>The file modes of the file in the source, destination, and base of the merge.</p>"
},
"objectTypes":{
"shape":"ObjectTypes",
"documentation":"<p>Information about any object type conflicts in a merge operation.</p>"
},
"numberOfConflicts":{
"shape":"NumberOfConflicts",
"documentation":"<p>The number of conflicts, including both hunk conflicts and metadata conflicts.</p>"
},
"isBinaryFile":{
"shape":"IsBinaryFile",
"documentation":"<p>A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.</p>"
},
"contentConflict":{
"shape":"IsContentConflict",
"documentation":"<p>A boolean value indicating whether there are conflicts in the content of a file.</p>"
},
"fileModeConflict":{
"shape":"IsFileModeConflict",
"documentation":"<p>A boolean value indicating whether there are conflicts in the file mode of a file.</p>"
},
"objectTypeConflict":{
"shape":"IsObjectTypeConflict",
"documentation":"<p>A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.</p>"
},
"mergeOperations":{
"shape":"MergeOperations",
"documentation":"<p>Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.</p>"
}
},
"documentation":"<p>Information about the metadata for a conflict in a merge operation.</p>"
"documentation":"<p>The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories.</p>"
"documentation":"<p>The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template.</p> <note> <p>When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways:</p> <ul> <li> <p> <b>CodeCommitApprovers</b>: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account <i>123456789012</i> and <i>Mary_Major</i>, all of the following are counted as approvals coming from that user:</p> <ul> <li> <p>An IAM user in the account (arn:aws:iam::<i>123456789012</i>:user/<i>Mary_Major</i>)</p> </li> <li> <p>A federated user identified in IAM as Mary_Major (arn:aws:sts::<i>123456789012</i>:federated-user/<i>Mary_Major</i>)</p> </li> </ul> <p>This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of <i>Mary_Major</i> (arn:aws:sts::<i>123456789012</i>:assumed-role/CodeCommitReview/<i>Mary_Major</i>) unless you include a wildcard (*Mary_Major).</p> </li> <li> <p> <b>Fully qualified ARN</b>: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. </p> </li> </ul> <p>For more information about IAM ARNs, wildcards, and formats, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html\">IAM Identifiers</a> in the <i>IAM User Guide</i>.</p> </note>"
"documentation":"<p>The description of the approval rule template. Consider providing a description that explains what this template does and when it might be appropriate to associate it with repositories.</p>"
}
}
},
"CreateApprovalRuleTemplateOutput":{
"type":"structure",
"required":["approvalRuleTemplate"],
"members":{
"approvalRuleTemplate":{
"shape":"ApprovalRuleTemplate",
"documentation":"<p>The content and structure of the created approval rule template.</p>"
"documentation":"<p>The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used.</p>"
"documentation":"<p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a ..gitkeep file is created for empty folders. The default is false.</p>"
"documentation":"<p>The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the AWS CodeCommit User Guide.</p> <note> <p>When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways:</p> <ul> <li> <p> <b>CodeCommitApprovers</b>: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account <i>123456789012</i> and <i>Mary_Major</i>, all of the following would be counted as approvals coming from that user:</p> <ul> <li> <p>An IAM user in the account (arn:aws:iam::<i>123456789012</i>:user/<i>Mary_Major</i>)</p> </li> <li> <p>A federated user identified in IAM as Mary_Major (arn:aws:sts::<i>123456789012</i>:federated-user/<i>Mary_Major</i>)</p> </li> </ul> <p>This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of <i>Mary_Major</i> (arn:aws:sts::<i>123456789012</i>:assumed-role/CodeCommitReview/<i>Mary_Major</i>) unless you include a wildcard (*Mary_Major).</p> </li> <li> <p> <b>Fully qualified ARN</b>: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. </p> </li> </ul> <p>For more information about IAM ARNs, wildcards, and formats, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html\">IAM Identifiers</a> in the <i>IAM User Guide</i>.</p> </note>"
"documentation":"<p>The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).</p>"
"documentation":"<p>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p> <note> <p>The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.</p> </note>",
"documentation":"<p>The name of the new repository to be created.</p> <note> <p>The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">Limits</a> in the <i>AWS CodeCommit User Guide</i>. The suffix .git is prohibited.</p> </note>"
"documentation":"<p>A comment or description about the new repository.</p> <note> <p>The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.</p> </note>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>The name of the author who created the unreferenced commit. This information is used as both the author and committer for the commit.</p>"
"documentation":"<p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false.</p>"
"documentation":"<p>The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.</p>",
"documentation":"<p>The name of the approval rule template to delete.</p>"
}
}
},
"DeleteApprovalRuleTemplateOutput":{
"type":"structure",
"required":["approvalRuleTemplateId"],
"members":{
"approvalRuleTemplateId":{
"shape":"ApprovalRuleTemplateId",
"documentation":"<p>The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.</p>"
"documentation":"<p>The name of the repository that contains the branch to be deleted.</p>"
},
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch to delete.</p>"
}
},
"documentation":"<p>Represents the input of a delete branch operation.</p>"
},
"DeleteBranchOutput":{
"type":"structure",
"members":{
"deletedBranch":{
"shape":"BranchInfo",
"documentation":"<p>Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.</p>"
}
},
"documentation":"<p>Represents the output of a delete branch operation.</p>"
},
"DeleteCommentContentInput":{
"type":"structure",
"required":["commentId"],
"members":{
"commentId":{
"shape":"CommentId",
"documentation":"<p>The unique, system-generated ID of the comment. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
}
}
},
"DeleteCommentContentOutput":{
"type":"structure",
"members":{
"comment":{
"shape":"Comment",
"documentation":"<p>Information about the comment you just deleted.</p>"
"documentation":"<p>The fully qualified path to the file that to be deleted, including the full name and extension of that file. For example, /examples/file.md is a fully qualified path to a file named file.md in a folder named examples.</p>"
"documentation":"<p>The ID of the commit that is the tip of the branch where you want to create the commit that deletes the file. This must be the HEAD commit for the branch. The commit that deletes the file is created from this commit ID.</p>"
"documentation":"<p>If a file is the only object in the folder or directory, specifies whether to delete the folder or directory that contains the file. By default, empty folders are deleted. This includes empty folders that are part of the directory structure. For example, if the path to a file is dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting the last file in dir4 also deletes the empty folders dir4, dir3, and dir2.</p>"
"documentation":"<p>The commit message you want to include as part of deleting the file. Commit messages are limited to 256 KB. If no message is specified, a default message is used.</p>"
"documentation":"<p>The name of the author of the commit that deletes the file. If no name is specified, the user's ARN is used as the author name and committer name.</p>"
"documentation":"<p>The fully qualified path to the file to be deleted, including the full name and extension of that file.</p>"
}
}
},
"DeletePullRequestApprovalRuleInput":{
"type":"structure",
"required":[
"pullRequestId",
"approvalRuleName"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request that contains the approval rule you want to delete.</p>"
},
"approvalRuleName":{
"shape":"ApprovalRuleName",
"documentation":"<p>The name of the approval rule you want to delete.</p>"
}
}
},
"DeletePullRequestApprovalRuleOutput":{
"type":"structure",
"required":["approvalRuleId"],
"members":{
"approvalRuleId":{
"shape":"ApprovalRuleId",
"documentation":"<p>The ID of the deleted approval rule. </p> <note> <p>If the approval rule was deleted in an earlier API call, the response is 200 OK without content.</p> </note>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.</p>"
"documentation":"<p>A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.</p>"
"documentation":"<p>A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository. Either provide a different name for the file, or specify a different path for the file.</p>",
"documentation":"<p>The system-generated ID of the pull request you want to evaluate.</p>"
},
"revisionId":{
"shape":"RevisionId",
"documentation":"<p>The system-generated ID for the pull request revision. To retrieve the most recent revision ID for a pull request, use <a>GetPullRequest</a>.</p>"
}
}
},
"EvaluatePullRequestApprovalRulesOutput":{
"type":"structure",
"required":["evaluation"],
"members":{
"evaluation":{
"shape":"Evaluation",
"documentation":"<p>The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override. </p>"
}
}
},
"Evaluation":{
"type":"structure",
"members":{
"approved":{
"shape":"Approved",
"documentation":"<p>Whether the state of the pull request is approved.</p>"
},
"overridden":{
"shape":"Overridden",
"documentation":"<p>Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.</p>"
},
"approvalRulesSatisfied":{
"shape":"ApprovalRulesSatisfiedList",
"documentation":"<p>The names of the approval rules that have had their conditions met.</p>"
},
"approvalRulesNotSatisfied":{
"shape":"ApprovalRulesNotSatisfiedList",
"documentation":"<p>The names of the approval rules that have not had their conditions met.</p>"
}
},
"documentation":"<p>Returns information about the approval rules applied to a pull request and whether conditions have been met.</p>"
"documentation":"<p>The commit cannot be created because both a source file and file content have been specified for the same file. You cannot provide both. Either specify a source file or provide the file content directly.</p>",
"documentation":"<p>The file cannot be added because it is too large. The maximum file size is 6 MB, and the combined file content change size is 7 MB. Consider making these changes using a Git client.</p>",
"documentation":"<p>The commit cannot be created because no files have been specified as added, updated, or changed (PutFile or DeleteFile) for the commit.</p>",
"documentation":"<p>The commit cannot be created because no file mode has been specified. A file mode is required to update mode permissions for a file.</p>",
"documentation":"<p>A file cannot be added to the repository because the specified file name has the same name as a directory in this repository. Either provide another name for the file, or add the file in a directory that does not match the file name.</p>",
"documentation":"<p>The commit cannot be created because a specified file path points to a submodule. Verify that the destination files have valid file paths that do not point to a submodule.</p>",
"documentation":"<p>The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">AWS CodeCommit User Guide</a>.</p>",
"documentation":"<p>The commit cannot be created because at least one of the overall changes in the commit results in a folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes, or split the changes across multiple folders.</p>",
"documentation":"<p>The specified folder does not exist. Either the folder name is not correct, or you did not enter the full path to the folder.</p>",
"documentation":"<p>The unique, system-generated ID of the comment. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
}
}
},
"GetCommentOutput":{
"type":"structure",
"members":{
"comment":{
"shape":"Comment",
"documentation":"<p>The contents of the comment.</p>"
"documentation":"<p>The ID of the comment for which you want to get reactions information.</p>"
},
"reactionUserArn":{
"shape":"Arn",
"documentation":"<p>Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that, when provided in a request, returns the next batch of the results. </p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.</p>"
}
}
},
"GetCommentReactionsOutput":{
"type":"structure",
"required":["reactionsForComment"],
"members":{
"reactionsForComment":{
"shape":"ReactionsForCommentList",
"documentation":"<p>An array of reactions to the specified comment.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
"documentation":"<p>A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments, but you can configure up to 500.</p>"
"documentation":"<p>A list of comment objects on the compared commit.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
}
}
},
"GetCommentsForPullRequestInput":{
"type":"structure",
"required":["pullRequestId"],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the pull request.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.</p>"
"documentation":"<p>A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the <code>afterCommitSpecifier</code> value are shown. If you do not use <code>beforeCommitSpecifier</code> in your request, consider limiting the results with <code>maxResults</code>.</p>"
"documentation":"<p>The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If <code>beforePath</code> and <code>afterPath</code> are not specified, differences are shown for all paths.</p>"
"documentation":"<p>The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.</p>"
"documentation":"<p>A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).</p>"
"documentation":"<p>The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/master. If none is provided, the head commit is used.</p>"
"documentation":"<p>The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.</p>"
"documentation":"<p>The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.</p> <note> <p>The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.</p> </note>"
"documentation":"<p>A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.</p>"
"documentation":"<p>The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository. </p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>The commit ID for the merge commit created when the source branch was merged into the destination branch. If the fast-forward merge strategy was used, there is no merge commit.</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).</p>"
},
"revisionId":{
"shape":"RevisionId",
"documentation":"<p>The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use <a>GetPullRequest</a>.</p>"
}
}
},
"GetPullRequestOverrideStateOutput":{
"type":"structure",
"members":{
"overridden":{
"shape":"Overridden",
"documentation":"<p>A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).</p>"
},
"overrider":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.</p>"
"documentation":"<p>Represents the output of a get repository operation.</p>"
},
"GetRepositoryTriggersInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository for which the trigger is configured.</p>"
}
},
"documentation":"<p>Represents the input of a get repository triggers operation.</p>"
},
"GetRepositoryTriggersOutput":{
"type":"structure",
"members":{
"configurationId":{
"shape":"RepositoryTriggersConfigurationId",
"documentation":"<p>The system-generated unique ID for the trigger.</p>"
},
"triggers":{
"shape":"RepositoryTriggersList",
"documentation":"<p>The JSON block of configuration information for each trigger.</p>"
}
},
"documentation":"<p>Represents the output of a get repository triggers operation.</p>"
},
"HunkContent":{"type":"string"},
"IdempotencyParameterMismatchException":{
"type":"structure",
"members":{
},
"documentation":"<p>The client request token is not valid. Either the token is not in a valid format, or the token has been used in a previous request and cannot be reused.</p>",
"exception":true
},
"InvalidActorArnException":{
"type":"structure",
"members":{
},
"documentation":"<p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the user who initiated the change for the pull request, and then try again.</p>",
"exception":true
},
"InvalidApprovalRuleContentException":{
"type":"structure",
"members":{
},
"documentation":"<p>The content for the approval rule is not valid.</p>",
"exception":true
},
"InvalidApprovalRuleNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The name for the approval rule is not valid.</p>",
"documentation":"<p>The description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">AWS CodeCommit User Guide</a>.</p>",
"documentation":"<p>The name of the approval rule template is not valid. Template names must be between 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">AWS CodeCommit User Guide</a>.</p>",
"documentation":"<p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the author of the pull request, and then try again.</p>",
"documentation":"<p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters allowed for an email address.</p>",
"documentation":"<p>The parent commit ID is not valid. The commit ID cannot be empty, and must match the head commit ID for the branch of the repository where you want to add or update a file.</p>",
"documentation":"<p>The pull request event type is not valid. </p>",
"exception":true
},
"InvalidPullRequestIdException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.</p>",
"exception":true
},
"InvalidPullRequestStatusException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request status is not valid. The only valid values are <code>OPEN</code> and <code>CLOSED</code>.</p>",
"exception":true
},
"InvalidPullRequestStatusUpdateException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request status update is not valid. The only valid update is from <code>OPEN</code> to <code>CLOSED</code>.</p>",
"documentation":"<p>The Amazon Resource Name (ARN) of the user or identity is not valid.</p>",
"exception":true
},
"InvalidReactionValueException":{
"type":"structure",
"members":{
},
"documentation":"<p>The value of the reaction is not valid. For more information, see the <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html\">AWS CodeCommit User Guide</a>.</p>",
"documentation":"<p>The specified reference name format is not valid. Reference names must conform to the Git references format (for example, refs/heads/master). For more information, see <a href=\"https://git-scm.com/book/en/v2/Git-Internals-Git-References\">Git Internals - Git References</a> or consult your Git documentation.</p>",
"documentation":"<p>Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.</p>",
"documentation":"<p>A specified repository name is not valid.</p> <note> <p>This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.</p> </note>",
"documentation":"<p>The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.</p>",
"exception":true
},
"InvalidRepositoryTriggerEventsException":{
"type":"structure",
"members":{
},
"documentation":"<p>One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.</p>",
"exception":true
},
"InvalidRepositoryTriggerNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The name of the trigger is not valid.</p>",
"documentation":"<p>The AWS Region for the trigger target does not match the AWS Region for the repository. Triggers must be created in the same Region as the target for the trigger.</p>",
"documentation":"<p>The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the AWS CodeCommit User Guide.</p>",
"documentation":"<p>The target for the pull request is not valid. A target must contain the full values for the repository name, source branch, and destination branch for the pull request.</p>",
"exception":true
},
"InvalidTargetsException":{
"type":"structure",
"members":{
},
"documentation":"<p>The targets for the pull request is not valid or not in a valid format. Targets are a list of target objects. Each target object must contain the full values for the repository name, source branch, and destination branch for a pull request.</p>",
"exception":true
},
"InvalidTitleException":{
"type":"structure",
"members":{
},
"documentation":"<p>The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.</p>",
"documentation":"<p>The name of the repository that contains the branches.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that allows the operation to batch the results.</p>"
}
},
"documentation":"<p>Represents the input of a list branches operation.</p>"
},
"ListBranchesOutput":{
"type":"structure",
"members":{
"branches":{
"shape":"BranchNameList",
"documentation":"<p>The list of branch names.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that returns the batch of the results.</p>"
}
},
"documentation":"<p>Represents the output of a list branches operation.</p>"
},
"ListPullRequestsInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository for which you want to list pull requests.</p>"
},
"authorArn":{
"shape":"Arn",
"documentation":"<p>Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.</p>"
},
"pullRequestStatus":{
"shape":"PullRequestStatusEnum",
"documentation":"<p>Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.</p>"
"documentation":"<p>An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.</p>"
},
"sortBy":{
"shape":"SortByEnum",
"documentation":"<p>The criteria used to sort the results of a list repositories operation.</p>"
},
"order":{
"shape":"OrderEnum",
"documentation":"<p>The order in which to sort the results of a list repositories operation.</p>"
}
},
"documentation":"<p>Represents the input of a list repositories operation.</p>"
},
"ListRepositoriesOutput":{
"type":"structure",
"members":{
"repositories":{
"shape":"RepositoryNameIdPairList",
"documentation":"<p>Lists the repositories called by the list repositories operation.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.</p>"
}
},
"documentation":"<p>Represents the output of a list repositories operation.</p>"
"documentation":"<p>Returns information about the location of a change or comment in the comparison between two commits or a pull request.</p>"
},
"ManualMergeRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>",
"exception":true
},
"MaxResults":{"type":"integer"},
"MaximumBranchesExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of branches for the trigger was exceeded.</p>",
"documentation":"<p>The number of allowed conflict resolution entries was exceeded.</p>",
"exception":true
},
"MaximumFileContentToLoadExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of files to load exceeds the allowed limit.</p>",
"exception":true
},
"MaximumFileEntriesExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of specified files to change as part of this commit exceeds the maximum number of files that can be changed in a single commit. Consider using a Git client for these changes.</p>",
"documentation":"<p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>",
"exception":true
},
"MaximumNumberOfApprovalsExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of approvals required for the approval rule exceeds the maximum number allowed.</p>",
"documentation":"<p>You cannot create the pull request because the repository has too many open pull requests. The maximum number of open pull requests for a repository is 1,000. Close one or more open pull requests, and then try again.</p>",
"documentation":"<p>The maximum number of approval rule templates for a repository has been exceeded. You cannot associate more than 25 approval rule templates with a repository.</p>",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false.</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.</p>"
"documentation":"<p>A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.</p>"
"documentation":"<p>Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.</p>"
"documentation":"<p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>"
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.</p>"
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>"
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"
"documentation":"<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"
"documentation":"<p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.</p>"
"documentation":"<p>You cannot include more than one repository in a pull request. Make sure you have specified only one repository name in your request, and then try again.</p>",
"documentation":"<p>The commit cannot be created because no changes will be made to the repository as a result of this commit. A commit must contain at least one change.</p>",
"documentation":"<p>The ID of the template that created the approval rule.</p>"
},
"approvalRuleTemplateName":{
"shape":"ApprovalRuleTemplateName",
"documentation":"<p>The name of the template that created the approval rule.</p>"
}
},
"documentation":"<p>Returns information about the template that created the approval rule for a pull request.</p>"
},
"Overridden":{"type":"boolean"},
"OverrideAlreadySetException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request has already had its approval rules set to override.</p>",
"exception":true
},
"OverridePullRequestApprovalRulesInput":{
"type":"structure",
"required":[
"pullRequestId",
"revisionId",
"overrideStatus"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use <a>GetPullRequest</a>.</p>"
},
"revisionId":{
"shape":"RevisionId",
"documentation":"<p>The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.</p>"
},
"overrideStatus":{
"shape":"OverrideStatus",
"documentation":"<p>Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.</p>"
}
}
},
"OverrideStatus":{
"type":"string",
"enum":[
"OVERRIDE",
"REVOKE"
]
},
"OverrideStatusRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE.</p>",
"documentation":"<p>The parent commit ID is not valid because it does not exist. The specified parent commit ID does not exist in the specified branch of the repository.</p>",
"documentation":"<p>The file could not be added because the provided parent commit ID is not the current tip of the specified branch. To view the full commit ID of the current head of the branch, use <a>GetBranch</a>.</p>",
"exception":true
},
"ParentCommitIdRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A parent commit ID is required. To view the full commit ID of a branch in a repository, use <a>GetBranch</a> or a Git command (for example, git pull or git log).</p>",
"documentation":"<p>To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.</p>"
"documentation":"<p>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p>",
"documentation":"<p>The location of the comment in the comparison between the two commits.</p>"
},
"comment":{
"shape":"Comment",
"documentation":"<p>The content of the comment you posted.</p>"
}
}
},
"PostCommentForPullRequestInput":{
"type":"structure",
"required":[
"pullRequestId",
"repositoryName",
"beforeCommitId",
"afterCommitId",
"content"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to post a comment on a pull request.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.</p>"
"documentation":"<p>The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID.</p>"
"documentation":"<p>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p>",
"documentation":"<p>The name of the repository where you posted a comment on a pull request.</p>"
},
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. </p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.</p>"
"documentation":"<p>The location of the change where you posted your comment.</p>"
},
"comment":{
"shape":"Comment",
"documentation":"<p>The content of the comment you posted.</p>"
}
}
},
"PostCommentReplyInput":{
"type":"structure",
"required":[
"inReplyTo",
"content"
],
"members":{
"inReplyTo":{
"shape":"CommentId",
"documentation":"<p>The system-generated ID of the comment to which you want to reply. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
"documentation":"<p>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p>",
"documentation":"<p>The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.</p>"
},
"lastActivityDate":{
"shape":"LastModifiedDate",
"documentation":"<p>The day and time of the last user or system activity on the pull request, in timestamp format.</p>"
},
"creationDate":{
"shape":"CreationDate",
"documentation":"<p>The date and time the pull request was originally created, in timestamp format.</p>"
},
"pullRequestStatus":{
"shape":"PullRequestStatusEnum",
"documentation":"<p>The status of the pull request. Pull request status can only change from <code>OPEN</code> to <code>CLOSED</code>.</p>"
},
"authorArn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user who created the pull request.</p>"
},
"pullRequestTargets":{
"shape":"PullRequestTargetList",
"documentation":"<p>The targets of the pull request, including the source branch and destination branch for the pull request.</p>"
"documentation":"<p>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p>"
},
"revisionId":{
"shape":"RevisionId",
"documentation":"<p>The system-generated revision ID for the pull request.</p>"
},
"approvalRules":{
"shape":"ApprovalRulesList",
"documentation":"<p>The approval rules applied to the pull request.</p>"
"documentation":"<p>The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.</p>",
"exception":true
},
"PullRequestCannotBeApprovedByAuthorException":{
"type":"structure",
"members":{
},
"documentation":"<p>The approval cannot be applied because the user approving the pull request matches the user who created the pull request. You cannot approve a pull request that you created.</p>",
"documentation":"<p>The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.</p>",
"documentation":"<p>The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).</p>"
"documentation":"<p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.</p>"
"documentation":"<p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.</p>"
"documentation":"<p>The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.</p>"
"documentation":"<p>The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.</p>"
"documentation":"<p>The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID changes to reflect the new tip of the branch.</p>"
"documentation":"<p>The ID of the comment to which you want to add or update a reaction.</p>"
},
"reactionValue":{
"shape":"ReactionValue",
"documentation":"<p>The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in AWS CodeCommit, see the <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table\">AWS CodeCommit User Guide</a>.</p>"
"documentation":"<p>The full path to the file in the repository, including the name of the file.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>"
},
"fileContent":{
"shape":"FileContent",
"documentation":"<p>The content of the file, if a source file is not specified.</p>"
},
"sourceFile":{
"shape":"SourceFileSpecifier",
"documentation":"<p>The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.</p>"
"documentation":"<p>The name of the file you want to add or update, including the relative path to the file in the repository.</p> <note> <p>If the path does not currently exist in the repository, the path is created as part of adding the file.</p> </note>"
"documentation":"<p>The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required. </p> <p>The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.</p>"
"documentation":"<p>A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.</p>"
"documentation":"<p>The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.</p>"
"documentation":"<p>The reaction for a specified comment.</p>"
},
"reactionUsers":{
"shape":"ReactionUsersList",
"documentation":"<p>The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.</p>"
},
"reactionsFromDeletedUsersCount":{
"shape":"Count",
"documentation":"<p>A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.</p>"
}
},
"documentation":"<p>Information about the reaction values provided by users on a comment.</p>"
},
"ReactionLimitExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.</p>",
"exception":true
},
"ReactionShortCode":{"type":"string"},
"ReactionUnicode":{"type":"string"},
"ReactionUsersList":{
"type":"list",
"member":{"shape":"Arn"}
},
"ReactionValue":{"type":"string"},
"ReactionValueFormats":{
"type":"structure",
"members":{
"emoji":{
"shape":"ReactionEmoji",
"documentation":"<p>The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.</p>"
},
"shortCode":{
"shape":"ReactionShortCode",
"documentation":"<p>The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems. </p>"
},
"unicode":{
"shape":"ReactionUnicode",
"documentation":"<p>The Unicode codepoint for the reaction.</p>"
}
},
"documentation":"<p>Information about the values for reactions to a comment. AWS CodeCommit supports a limited set of reactions.</p>"
},
"ReactionValueRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A reaction value is required. </p>",
"documentation":"<p>The repository does not contain any pull requests with that pull request ID. Use GetPullRequest to verify the correct repository name for the pull request ID.</p>",
"documentation":"<p>The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.</p> <note> <p>Although no content is required in the array, you must include the array itself.</p> </note>"
"documentation":"<p>The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. </p> <note> <p>The valid value \"all\" cannot be used with any other values.</p> </note>"
"documentation":"<p>A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the AWS CodeCommit User Guide.</p>",
"documentation":"<p>A revision ID is required, but was not provided.</p>",
"exception":true
},
"RevisionNotCurrentException":{
"type":"structure",
"members":{
},
"documentation":"<p>The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.</p>",
"documentation":"<p>The file was not added or updated because the content of the file is exactly the same as the content of that file in the repository and branch that you specified.</p>",
"documentation":"<p>The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For example, you cannot make the same delete request to the same file in the same file path twice, or make a delete request and a move request to the same file as part of the same commit.</p>",
"exception":true
},
"SetFileModeEntries":{
"type":"list",
"member":{"shape":"SetFileModeEntry"}
},
"SetFileModeEntry":{
"type":"structure",
"required":[
"filePath",
"fileMode"
],
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The full path to the file, including the name of the file.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode for the file.</p>"
}
},
"documentation":"<p>Information about the file mode changes.</p>"
"documentation":"<p>The source branch and destination branch for the pull request are the same. You must specify different branches for the source and destination.</p>",
"documentation":"<p>Returns information about a target for a pull request.</p>"
},
"TargetList":{
"type":"list",
"member":{"shape":"Target"}
},
"TargetRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A pull request target is required. It cannot be empty or null. A pull request target must contain the full values for the repository name, source branch, and destination branch for the pull request.</p>",
"exception":true
},
"TargetsRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>An array of target objects is required. It cannot be empty or null.</p>",
"documentation":"<p>The name of the repository in which to test the triggers.</p>"
},
"triggers":{
"shape":"RepositoryTriggersList",
"documentation":"<p>The list of triggers to test.</p>"
}
},
"documentation":"<p>Represents the input of a test repository triggers operation.</p>"
},
"TestRepositoryTriggersOutput":{
"type":"structure",
"members":{
"successfulExecutions":{
"shape":"RepositoryTriggerNameList",
"documentation":"<p>The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.</p>"
"documentation":"<p>The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.</p>"
"documentation":"<p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request. The pull request might have been updated. Make sure that you have the latest changes.</p>",
"exception":true
},
"TipsDivergenceExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>",
"exception":true
},
"Title":{
"type":"string",
"max":150
},
"TitleRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A pull request title is required. It cannot be empty or null.</p>",
"documentation":"<p>The name of the approval rule template where you want to update the content of the rule. </p>"
},
"newRuleContent":{
"shape":"ApprovalRuleTemplateContent",
"documentation":"<p>The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.</p>"
},
"existingRuleContentSha256":{
"shape":"RuleContentSha256",
"documentation":"<p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using <a>GetPullRequest</a>.</p>"
"documentation":"<p>The system-generated ID of the comment you want to update. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
"documentation":"<p>The system-generated ID of the pull request.</p>"
},
"approvalRuleName":{
"shape":"ApprovalRuleName",
"documentation":"<p>The name of the approval rule you want to update.</p>"
},
"existingRuleContentSha256":{
"shape":"RuleContentSha256",
"documentation":"<p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using <a>GetPullRequest</a>.</p>"
"documentation":"<p>The updated content for the approval rule.</p> <note> <p>When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways:</p> <ul> <li> <p> <b>CodeCommitApprovers</b>: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account <i>123456789012</i> and <i>Mary_Major</i>, all of the following are counted as approvals coming from that user:</p> <ul> <li> <p>An IAM user in the account (arn:aws:iam::<i>123456789012</i>:user/<i>Mary_Major</i>)</p> </li> <li> <p>A federated user identified in IAM as Mary_Major (arn:aws:sts::<i>123456789012</i>:federated-user/<i>Mary_Major</i>)</p> </li> </ul> <p>This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of <i>Mary_Major</i> (arn:aws:sts::<i>123456789012</i>:assumed-role/CodeCommitReview/<i>Mary_Major</i>) unless you include a wildcard (*Mary_Major).</p> </li> <li> <p> <b>Fully qualified ARN</b>: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. </p> </li> </ul> <p>For more information about IAM ARNs, wildcards, and formats, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html\">IAM Identifiers</a> in the <i>IAM User Guide</i>.</p> </note>"
"documentation":"<p>The status of the pull request. The only valid operations are to update the status from <code>OPEN</code> to <code>OPEN</code>, <code>OPEN</code> to <code>CLOSED</code> or from <code>CLOSED</code> to <code>CLOSED</code>.</p>"