String approvalRuleId
The system-generated ID of the approval rule.
String approvalRuleName
The name of the approval rule.
String approvalRuleContent
The content of the approval rule.
String ruleContentSha256
The SHA-256 hash signature for the content of the approval rule.
Date lastModifiedDate
The date the approval rule was most recently changed, in timestamp format.
Date creationDate
The date the approval rule was created, in timestamp format.
String lastModifiedUser
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
OriginApprovalRuleTemplate originApprovalRuleTemplate
The approval rule template used to create the rule.
String approvalRuleTemplateId
The system-generated ID of the approval rule template.
String approvalRuleTemplateName
The name of the approval rule template.
String approvalRuleTemplateDescription
The description of the approval rule template.
String approvalRuleTemplateContent
The content of the approval rule template.
String ruleContentSha256
The SHA-256 hash signature for the content of the approval rule template.
Date lastModifiedDate
The date the approval rule template was most recently changed, in timestamp format.
Date creationDate
The date the approval rule template was created, in timestamp format.
String lastModifiedUser
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
String repositoryName
The name of the repository where the association was not made.
String errorCode
An error code that specifies whether the repository name was not valid or not found.
String errorMessage
An error message that provides details about why the repository name was not found or not valid.
String approvalRuleTemplateName
The name of the template you want to associate with one or more repositories.
List<E> repositoryNames
The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
String repositoryName
The name of the repository that contains the merge conflicts you want to review.
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String mergeOption
The merge option or strategy you want to use to merge the code.
Integer maxMergeHunks
The maximum number of merge hunks to include in the output.
Integer maxConflictFiles
The maximum number of files to include in the output.
List<E> filePaths
The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
List<E> conflicts
A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.
String nextToken
An enumeration token that can be used in a request to return the next batch of the results.
List<E> errors
A list of any errors returned while describing the merge conflicts for each file.
String destinationCommitId
The commit ID of the destination commit specifier that was used in the merge evaluation.
String sourceCommitId
The commit ID of the source commit specifier that was used in the merge evaluation.
String baseCommitId
The commit ID of the merge base.
String repositoryName
The name of the repository where the association with the template was not able to be removed.
String errorCode
An error code that specifies whether the repository name was not valid or not found.
String errorMessage
An error message that provides details about why the repository name was either not found or not valid.
String approvalRuleTemplateName
The name of the template that you want to disassociate from one or more repositories.
List<E> repositoryNames
The repository names that you want to disassociate from the approval rule template.
The length constraint limit is for each string in the array. The array itself can be empty.
List<E> disassociatedRepositoryNames
A list of repository names that have had their association with the template removed.
List<E> errors
A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.
String commitId
A commit ID that either could not be found or was not in a valid format.
String errorCode
An error code that specifies whether the commit ID was not valid or not found.
String errorMessage
An error message that provides detail about why the commit ID either was not found or was not valid.
List<E> commits
An array of commit data type objects, each of which contains information about a specified commit.
List<E> errors
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.
String repositoryId
The ID of a repository that either could not be found or was not in a valid state.
String repositoryName
The name of a repository that either could not be found or was not in a valid state.
String errorCode
An error code that specifies the type of failure.
String errorMessage
An error message that provides detail about why the repository either was not found or was not in a valid state.
List<E> repositories
A list of repositories returned by the batch get repositories operation.
List<E> repositoriesNotFound
Returns a list of repository names for which information could not be found.
List<E> errors
Returns information about any errors returned when attempting to retrieve information about the repositories.
String blobId
The full ID of the blob.
String path
The path to the blob and associated file name, if any.
String mode
The file mode permissions of the blob. File mode permission codes include:
100644
indicates read/write
100755
indicates read/write/execute
160000
indicates a submodule
120000
indicates a symlink
String commentId
The system-generated comment ID.
String content
The content of the comment.
String inReplyTo
The ID of the comment for which this comment is a reply, if any.
Date creationDate
The date and time the comment was created, in timestamp format.
Date lastModifiedDate
The date and time the comment was most recently modified, in timestamp format.
String authorArn
The Amazon Resource Name (ARN) of the person who posted the comment.
Boolean deleted
A Boolean value indicating whether the comment has been deleted.
String clientRequestToken
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.
List<E> callerReactions
The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.
Map<K,V> reactionCounts
A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.
String repositoryName
The name of the repository that contains the compared commits.
String beforeCommitId
The full commit ID of the commit used to establish the before of the comparison.
String afterCommitId
The full commit ID of the commit used to establish the after of the comparison.
String beforeBlobId
The full blob ID of the commit used to establish the before of the comparison.
String afterBlobId
The full blob ID of the commit used to establish the after of the comparison.
Location location
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.
List<E> comments
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
String pullRequestId
The system-generated ID of the pull request.
String repositoryName
The name of the repository that contains the pull request.
String beforeCommitId
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.
String afterCommitId
The full commit ID of the commit that was the tip of the source branch at the time the comment was made.
String beforeBlobId
The full blob ID of the file on which you want to comment on the destination commit.
String afterBlobId
The full blob ID of the file on which you want to comment on the source commit.
Location location
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).
List<E> comments
An array of comment objects. Each comment object contains information about a comment on the pull request.
String commitId
The full SHA ID of the specified commit.
String treeId
Tree information for the specified commit.
List<E> parents
A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.
String message
The commit message associated with the specified commit.
UserInfo author
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.
UserInfo committer
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.
For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.
String additionalData
Any other data associated with the specified commit.
ConflictMetadata conflictMetadata
Metadata about a conflict in a merge operation.
List<E> mergeHunks
A list of hunks that contain the differences between files or lines causing the conflict.
String filePath
The path of the file that contains conflicts.
FileSizes fileSizes
The file sizes of the file in the source, destination, and base of the merge.
FileModes fileModes
The file modes of the file in the source, destination, and base of the merge.
ObjectTypes objectTypes
Information about any object type conflicts in a merge operation.
Integer numberOfConflicts
The number of conflicts, including both hunk conflicts and metadata conflicts.
IsBinaryFile isBinaryFile
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
Boolean contentConflict
A boolean value indicating whether there are conflicts in the content of a file.
Boolean fileModeConflict
A boolean value indicating whether there are conflicts in the file mode of a file.
Boolean objectTypeConflict
A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
MergeOperations mergeOperations
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
List<E> replaceContents
Files to have content replaced as part of the merge conflict resolution.
List<E> deleteFiles
Files to be deleted as part of the merge conflict resolution.
List<E> setFileModes
File modes that are set as part of the merge conflict resolution.
String approvalRuleTemplateName
The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories.
String approvalRuleTemplateContent
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.
When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways:
CodeCommitApprovers: This option only requires an Amazon Web Services 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 Amazon Web Services account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user:
An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)
This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major).
Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role.
For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
String approvalRuleTemplateDescription
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.
ApprovalRuleTemplate approvalRuleTemplate
The content and structure of the created approval rule template.
String repositoryName
The name of the repository where you create the commit.
String branchName
The name of the branch where you create the commit.
String parentCommitId
The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.
String authorName
The name of the author who created the commit. This information is used as both the author and committer for the commit.
String email
The email address of the person who created the commit.
String commitMessage
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.
Boolean keepEmptyFolders
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.
List<E> putFiles
The files to add or update in this commit.
List<E> deleteFiles
The files to delete in this commit. These files still exist in earlier commits.
List<E> setFileModes
The file modes to update for files in this commit.
String commitId
The full commit ID of the commit that contains your committed file changes.
String treeId
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
List<E> filesAdded
The files added as part of the committed file changes.
List<E> filesUpdated
The files updated as part of the commited file changes.
List<E> filesDeleted
The files deleted as part of the committed file changes.
String pullRequestId
The system-generated ID of the pull request for which you want to create the approval rule.
String approvalRuleName
The name for the approval rule.
String approvalRuleContent
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 CodeCommit User Guide.
When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways:
CodeCommitApprovers: This option only requires an Amazon Web Services 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 Amazon Web Services account 123456789012 and Mary_Major, all of the following would be counted as approvals coming from that user:
An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)
This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major).
Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role.
For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
ApprovalRule approvalRule
Information about the created approval rule.
String title
The title of the pull request. This title is used to identify the pull request to other users in the repository.
String description
A description of the pull request.
List<E> targets
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).
String clientRequestToken
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.
The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
PullRequest pullRequest
Information about the newly created pull request.
String repositoryName
The name of the new repository to be created.
The repository name must be unique across the calling Amazon Web Services 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 Quotas in the CodeCommit User Guide. The suffix .git is prohibited.
String repositoryDescription
A comment or description about the new repository.
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.
Map<K,V> tags
One or more tag key-value pairs to use when tagging this repository.
String kmsKeyId
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
If no key is specified, the default aws/codecommit
Amazon Web Services managed key is used.
RepositoryMetadata repositoryMetadata
Information about the newly created repository.
String repositoryName
The name of the repository where you want to create the unreferenced merge commit.
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String mergeOption
The merge option or strategy you want to use to merge the code.
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String authorName
The name of the author who created the unreferenced commit. This information is used as both the author and committer for the commit.
String email
The email address for the person who created the unreferenced commit.
String commitMessage
The commit message for the unreferenced commit.
Boolean keepEmptyFolders
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.
ConflictResolution conflictResolution
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
String approvalRuleTemplateName
The name of the approval rule template to delete.
String approvalRuleTemplateId
The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.
BranchInfo deletedBranch
Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.
String commentId
The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
Comment comment
Information about the comment you just deleted.
String filePath
The full path of the file to be deleted, including the name of the file.
String repositoryName
The name of the repository that contains the file to delete.
String branchName
The name of the branch where the commit that deletes the file is made.
String filePath
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.
String parentCommitId
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.
Boolean keepEmptyFolders
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.
String commitMessage
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.
String name
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.
String email
The email address for the commit that deletes the file. If no email address is specified, the email address is left blank.
String commitId
The full commit ID of the commit that contains the change that deletes the file.
String blobId
The blob ID removed from the tree as part of deleting the file.
String treeId
The full SHA-1 pointer of the tree information for the commit that contains the delete file change.
String filePath
The fully qualified path to the file to be deleted, including the full name and extension of that file.
String approvalRuleId
The ID of the deleted approval rule.
If the approval rule was deleted in an earlier API call, the response is 200 OK without content.
String repositoryName
The name of the repository to delete.
String repositoryId
The ID of the repository that was deleted.
String repositoryName
The name of the repository where you want to get information about a merge conflict.
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String mergeOption
The merge option or strategy you want to use to merge the code.
Integer maxMergeHunks
The maximum number of merge hunks to include in the output.
String filePath
The path of the target files used to describe the conflicts.
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
ConflictMetadata conflictMetadata
Contains metadata about the conflicts found in the merge.
List<E> mergeHunks
A list of merge hunks of the differences between the files or lines.
String nextToken
An enumeration token that can be used in a request to return the next batch of the results.
String destinationCommitId
The commit ID of the destination commit specifier that was used in the merge evaluation.
String sourceCommitId
The commit ID of the source commit specifier that was used in the merge evaluation.
String baseCommitId
The commit ID of the merge base.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String pullRequestEventType
Optional. The pull request event type about which you want to return information.
String actorArn
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.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
Integer maxResults
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.
BlobMetadata beforeBlob
Information about a beforeBlob
data type object, including the ID, the file mode permission code,
and the path.
BlobMetadata afterBlob
Information about an afterBlob
data type object, including the ID, the file mode permission code,
and the path.
String changeType
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
String pullRequestId
The system-generated ID of the pull request you want to evaluate.
String revisionId
The system-generated ID for the pull request revision. To retrieve the most recent revision ID for a pull request, use GetPullRequest.
Evaluation evaluation
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.
Boolean approved
Whether the state of the pull request is approved.
Boolean overridden
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
List<E> approvalRulesSatisfied
The names of the approval rules that have had their conditions met.
List<E> approvalRulesNotSatisfied
The names of the approval rules that have not had their conditions met.
String blobId
The blob ID that contains the file information.
String absolutePath
The fully qualified path to the file in the repository.
String relativePath
The relative path of the file from the folder where the query originated.
String fileMode
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
String absolutePath
The full path to the file to be added or updated, including the name of the file.
String blobId
The blob ID that contains the file information.
String fileMode
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
Commit commit
String blobId
The blob ID of the object that represents the content of the file in this version.
String path
The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.
List<E> revisionChildren
An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
String treeId
The full SHA-1 pointer of the tree information for the commit that contains the folder.
String absolutePath
The fully qualified path of the folder in the repository.
String relativePath
The relative path of the specified folder from the folder where the query originated.
String approvalRuleTemplateName
The name of the approval rule template for which you want to get information.
ApprovalRuleTemplate approvalRuleTemplate
The content and structure of the approval rule template.
ByteBuffer content
The content of the blob, usually a file.
BranchInfo branch
The name of the branch.
String commentId
The ID of the comment for which you want to get reactions information.
String reactionUserArn
Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
Integer maxResults
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.
String commentId
The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
Comment comment
The contents of the comment.
String repositoryName
The name of the repository where you want to compare commits.
String beforeCommitId
To establish the directionality of the comparison, the full commit ID of the before commit.
String afterCommitId
To establish the directionality of the comparison, the full commit ID of the after commit.
String nextToken
An enumeration token that when provided in a request, returns the next batch of the results.
Integer maxResults
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.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String repositoryName
The name of the repository that contains the pull request. Requirement is conditional:
repositoryName
must be specified when beforeCommitId
and afterCommitId
are
included.
String beforeCommitId
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. Requirement is conditional: beforeCommitId
must be specified when
repositoryName
is included.
String afterCommitId
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. Requirement is conditional: afterCommitId
must be specified when repositoryName
is included.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
Integer maxResults
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.
Commit commit
A commit data type object that contains information about the specified commit.
String repositoryName
The name of the repository where you want to get differences.
String beforeCommitSpecifier
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 afterCommitSpecifier
value are shown. If you
do not use beforeCommitSpecifier
in your request, consider limiting the results with
maxResults
.
String afterCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
String beforePath
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 beforePath
and afterPath
are not specified,
differences are shown for all paths.
String afterPath
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.
Integer maxResults
A non-zero, non-negative integer used to limit the number of returned results.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
String repositoryName
The name of the repository that contains the file.
String commitSpecifier
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/main. If none is provided, the head commit is used.
String filePath
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.
String commitId
The full commit ID of the commit that contains the content returned by GetFile.
String blobId
The blob ID of the object that represents the file content.
String filePath
The fully qualified path to the specified file. Returns the name and extension of the file.
String fileMode
The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.
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.
Long fileSize
The size of the contents of the file, in bytes.
ByteBuffer fileContent
The base-64 encoded binary data object that represents the content of the file.
String repositoryName
The name of the repository.
String commitSpecifier
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.
String folderPath
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.
String commitId
The full commit ID used as a reference for the returned version of the folder content.
String folderPath
The fully qualified path of the folder whose contents are returned.
String treeId
The full SHA-1 pointer of the tree information for the commit that contains the folder.
List<E> subFolders
The list of folders that exist under the specified folder, if any.
List<E> files
The list of files in the specified folder, if any.
List<E> symbolicLinks
The list of symbolic links to other files and folders in the specified folder, if any.
List<E> subModules
The list of submodules in the specified folder, if any.
String repositoryName
The name of the repository that contains the merge commit about which you want to get information.
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String sourceCommitId
The commit ID of the source commit specifier that was used in the merge evaluation.
String destinationCommitId
The commit ID of the destination commit specifier that was used in the merge evaluation.
String baseCommitId
The commit ID of the merge base.
String mergedCommitId
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.
String repositoryName
The name of the repository where the pull request was created.
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String mergeOption
The merge option or strategy you want to use to merge the code.
String conflictDetailLevel
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.
Integer maxConflictFiles
The maximum number of files to include in the output.
String conflictResolutionStrategy
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.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
Boolean mergeable
A Boolean value that indicates whether the code is mergeable by the specified merge option.
String destinationCommitId
The commit ID of the destination commit specifier that was used in the merge evaluation.
String sourceCommitId
The commit ID of the source commit specifier that was used in the merge evaluation.
String baseCommitId
The commit ID of the merge base.
List<E> conflictMetadataList
A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
String nextToken
An enumeration token that can be used in a request to return the next batch of the results.
String repositoryName
The name of the repository that contains the commits about which you want to get merge options.
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
List<E> mergeOptions
The merge option or strategy used to merge the code.
String sourceCommitId
The commit ID of the source commit specifier that was used in the merge evaluation.
String destinationCommitId
The commit ID of the destination commit specifier that was used in the merge evaluation.
String baseCommitId
The commit ID of the merge base.
String pullRequestId
The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
String revisionId
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
Boolean overridden
A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).
String overrider
The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
PullRequest pullRequest
Information about the specified pull request.
String repositoryName
The name of the repository to get information about.
RepositoryMetadata repositoryMetadata
Information about the repository.
String repositoryName
The name of the repository for which the trigger is configured.
Boolean source
The binary or non-binary status of file in the source of a merge or pull request.
Boolean destination
The binary or non-binary status of a file in the destination of a merge or pull request.
Boolean base
The binary or non-binary status of a file in the base of a merge or pull request.
List<E> approvalRuleTemplateNames
The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account.
String nextToken
An enumeration token that allows the operation to batch the next results of the operation.
String repositoryName
The name of the repository for which you want to list all associated approval rule templates.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
Integer maxResults
A non-zero, non-negative integer used to limit the number of returned results.
String repositoryName
The name of the repository that contains the file.
String commitSpecifier
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/main
. If none is provided,
the head commit is used.
String filePath
The full path of the file whose history you want to retrieve, including the name of the file.
Integer maxResults
A non-zero, non-negative integer used to limit the number of returned results.
String nextToken
An enumeration token that allows the operation to batch the results.
String repositoryName
The name of the repository for which you want to list pull requests.
String authorArn
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.
String pullRequestStatus
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
Integer maxResults
A non-zero, non-negative integer used to limit the number of returned results.
String approvalRuleTemplateName
The name of the approval rule template for which you want to list repositories that are associated with that template.
String nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
Integer maxResults
A non-zero, non-negative integer used to limit the number of returned results.
String nextToken
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 CodeCommit, another page of 1,000 records is retrieved.
String sortBy
The criteria used to sort the results of a list repositories operation.
String order
The order in which to sort the results of a list repositories operation.
List<E> repositories
Lists the repositories called by the list repositories operation.
String nextToken
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 CodeCommit, another page of 1,000 records is retrieved.
String filePath
The name of the file being compared, including its extension and subdirectory, if any.
Long filePosition
The position of a change in a compared file, in line number format.
String relativeFileVersion
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
String repositoryName
The name of the repository where you want to merge two branches.
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String targetBranch
The branch where the merge is applied.
String repositoryName
The name of the repository where you want to merge two branches.
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String targetBranch
The branch where the merge is applied.
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String authorName
The name of the author who created the commit. This information is used as both the author and committer for the commit.
String email
The email address of the person merging the branches. This information is used in the commit information for the merge.
String commitMessage
The commit message for the merge.
Boolean keepEmptyFolders
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.
ConflictResolution conflictResolution
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
String repositoryName
The name of the repository where you want to merge two branches.
String sourceCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String destinationCommitSpecifier
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
String targetBranch
The branch where the merge is applied.
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String authorName
The name of the author who created the commit. This information is used as both the author and committer for the commit.
String email
The email address of the person merging the branches. This information is used in the commit information for the merge.
String commitMessage
The commit message to include in the commit information for the merge.
Boolean keepEmptyFolders
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.
ConflictResolution conflictResolution
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
Boolean isConflict
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.
MergeHunkDetail source
Information about the merge hunk in the source of a merge or pull request.
MergeHunkDetail destination
Information about the merge hunk in the destination of a merge or pull request.
MergeHunkDetail base
Information about the merge hunk in the base of a merge or pull request.
Boolean isMerged
A Boolean value indicating whether the merge has been made.
String mergedBy
The Amazon Resource Name (ARN) of the user who merged the branches.
String mergeCommitId
The commit ID for the merge commit, if any.
String mergeOption
The merge strategy used in the merge.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String repositoryName
The name of the repository where the pull request was created.
String sourceCommitId
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.
PullRequest pullRequest
Information about the specified pull request, including the merge.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String repositoryName
The name of the repository where the pull request was created.
String sourceCommitId
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.
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String commitMessage
The commit message to include in the commit information for the merge.
String authorName
The name of the author who created the commit. This information is used as both the author and committer for the commit.
String email
The email address of the person merging the branches. This information is used in the commit information for the merge.
Boolean keepEmptyFolders
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.
ConflictResolution conflictResolution
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
PullRequest pullRequest
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String repositoryName
The name of the repository where the pull request was created.
String sourceCommitId
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.
String conflictDetailLevel
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.
String conflictResolutionStrategy
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.
String commitMessage
The commit message to include in the commit information for the merge.
String authorName
The name of the author who created the commit. This information is used as both the author and committer for the commit.
String email
The email address of the person merging the branches. This information is used in the commit information for the merge.
Boolean keepEmptyFolders
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.
ConflictResolution conflictResolution
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
PullRequest pullRequest
String pullRequestId
The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.
String revisionId
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.
String overrideStatus
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.
String repositoryName
The name of the repository where you want to post a comment on the comparison between commits.
String beforeCommitId
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.
String afterCommitId
To establish the directionality of the comparison, the full commit ID of the after commit.
Location location
The location of the comparison where you want to comment.
String content
The content of the comment you want to make.
String clientRequestToken
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.
String repositoryName
The name of the repository where you posted a comment on the comparison between commits.
String beforeCommitId
In the directionality you established, the full commit ID of the before commit.
String afterCommitId
In the directionality you established, the full commit ID of the after commit.
String beforeBlobId
In the directionality you established, the blob ID of the before blob.
String afterBlobId
In the directionality you established, the blob ID of the after blob.
Location location
The location of the comment in the comparison between the two commits.
Comment comment
The content of the comment you posted.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String repositoryName
The name of the repository where you want to post a comment on a pull request.
String beforeCommitId
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.
String afterCommitId
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.
Location location
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.
String content
The content of your comment on the change.
String clientRequestToken
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.
String repositoryName
The name of the repository where you posted a comment on a pull request.
String pullRequestId
The system-generated ID of the pull request.
String beforeCommitId
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.
String afterCommitId
The full commit ID of the commit in the destination branch where the pull request is merged.
String beforeBlobId
In the directionality of the pull request, the blob ID of the before blob.
String afterBlobId
In the directionality of the pull request, the blob ID of the after blob.
Location location
The location of the change where you posted your comment.
Comment comment
The content of the comment you posted.
String inReplyTo
The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
String clientRequestToken
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.
String content
The contents of your reply to a comment.
Comment comment
Information about the reply to a comment.
String pullRequestId
The system-generated ID of the pull request.
String title
The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.
String description
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.
Date lastActivityDate
The day and time of the last user or system activity on the pull request, in timestamp format.
Date creationDate
The date and time the pull request was originally created, in timestamp format.
String pullRequestStatus
The status of the pull request. Pull request status can only change from OPEN
to CLOSED
.
String authorArn
The Amazon Resource Name (ARN) of the user who created the pull request.
List<E> pullRequestTargets
The targets of the pull request, including the source branch and destination branch for the pull request.
String clientRequestToken
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.
String revisionId
The system-generated revision ID for the pull request.
List<E> approvalRules
The approval rules applied to the pull request.
String repositoryName
The name of the repository where the pull request was created.
String sourceCommitId
The commit ID on the source branch used when the pull request was created.
String destinationCommitId
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
String mergeBase
The commit ID of the most recent commit that the source branch and the destination branch have in common.
String pullRequestId
The system-generated ID of the pull request.
Date eventDate
The day and time of the pull request event, in timestamp format.
String pullRequestEventType
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)).
String actorArn
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.
PullRequestCreatedEventMetadata pullRequestCreatedEventMetadata
Information about the source and destination branches for the pull request.
PullRequestStatusChangedEventMetadata pullRequestStatusChangedEventMetadata
Information about the change in status for the pull request event.
PullRequestSourceReferenceUpdatedEventMetadata pullRequestSourceReferenceUpdatedEventMetadata
Information about the updated source branch for the pull request event.
PullRequestMergedStateChangedEventMetadata pullRequestMergedStateChangedEventMetadata
Information about the change in mergability state for the pull request event.
ApprovalRuleEventMetadata approvalRuleEventMetadata
Information about a pull request event.
ApprovalStateChangedEventMetadata approvalStateChangedEventMetadata
Information about an approval state change for a pull request.
ApprovalRuleOverriddenEventMetadata approvalRuleOverriddenEventMetadata
Information about an approval rule override event for a pull request.
String repositoryName
The name of the repository where the pull request was created.
String destinationReference
The name of the branch that the pull request is merged into.
MergeMetadata mergeMetadata
Information about the merge state change event.
String repositoryName
The name of the repository where the pull request was updated.
String beforeCommitId
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.
String afterCommitId
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.
String mergeBase
The commit ID of the most recent commit that the source branch and the destination branch have in common.
String pullRequestStatus
The changed status of the pull request.
String repositoryName
The name of the repository that contains the pull request source and destination branches.
String sourceReference
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
String destinationReference
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
String destinationCommit
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.
String sourceCommit
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.
String mergeBase
The commit ID of the most recent commit that the source branch and the destination branch have in common.
MergeMetadata mergeMetadata
Returns metadata about the state of the merge, including whether the merge has been made.
String commentId
The ID of the comment to which you want to add or update a reaction.
String reactionValue
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 CodeCommit, see the CodeCommit User Guide.
String filePath
The full path to the file in the repository, including the name of the file.
String fileMode
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
ByteBuffer fileContent
The content of the file, if a source file is not specified.
SourceFileSpecifier sourceFile
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.
String repositoryName
The name of the repository where you want to add or update the file.
String branchName
The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.
ByteBuffer fileContent
The content of the file, in binary object format.
String filePath
The name of the file you want to add or update, including the relative path to the file in the repository.
If the path does not currently exist in the repository, the path is created as part of adding the file.
String fileMode
The file mode permissions of the blob. Valid file mode permissions are listed here.
String parentCommitId
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.
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.
String commitMessage
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.
String name
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.
String email
An email address for the person adding or updating the file.
String configurationId
The system-generated unique ID for the create or update operation.
ReactionValueFormats reaction
The reaction for a specified comment.
List<E> reactionUsers
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
Integer reactionsFromDeletedUsersCount
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.
String emoji
The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.
String shortCode
The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.
String unicode
The Unicode codepoint for the reaction.
String filePath
The path of the conflicting file.
String replacementType
The replacement type to use when determining how to resolve the conflict.
ByteBuffer content
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
String fileMode
The file mode to apply during conflict resoltion.
String accountId
The ID of the Amazon Web Services account associated with the repository.
String repositoryId
The ID of the repository.
String repositoryName
The repository's name.
String repositoryDescription
A comment or description about the repository.
String defaultBranch
The repository's default branch name.
Date lastModifiedDate
The date and time the repository was last modified, in timestamp format.
Date creationDate
The date and time the repository was created, in timestamp format.
String cloneUrlHttp
The URL to use for cloning the repository over HTTPS.
String cloneUrlSsh
The URL to use for cloning the repository over SSH.
String arn
The Amazon Resource Name (ARN) of the repository.
String kmsKeyId
The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.
String name
The name of the trigger.
String destinationArn
The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
String customData
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
List<E> branches
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
Although no content is required in the array, you must include the array itself.
List<E> events
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
The valid value "all" cannot be used with any other values.
String commitId
The commit ID that contains the reference to the submodule.
String absolutePath
The fully qualified path to the folder that contains the reference to the submodule.
String relativePath
The relative path of the submodule from the folder where the query originated.
String blobId
The blob ID that contains the information about the symbolic link.
String absolutePath
The fully qualified path to the folder that contains the symbolic link.
String relativePath
The relative path of the symbolic link from the folder where the query originated.
String fileMode
The file mode permissions of the blob that cotains information about the symbolic link.
String repositoryName
The name of the repository that contains the pull request.
String sourceReference
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
String destinationReference
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
List<E> successfulExecutions
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
List<E> failedExecutions
The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.
String approvalRuleTemplateName
The name of the approval rule template where you want to update the content of the rule.
String newRuleContent
The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
String existingRuleContentSha256
The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
ApprovalRuleTemplate approvalRuleTemplate
ApprovalRuleTemplate approvalRuleTemplate
The structure and content of the updated approval rule template.
ApprovalRuleTemplate approvalRuleTemplate
The structure and content of the updated approval rule template.
String commentId
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
String content
The updated content to replace the existing content of the comment.
Comment comment
Information about the updated comment.
String pullRequestId
The system-generated ID of the pull request.
String approvalRuleName
The name of the approval rule you want to update.
String existingRuleContentSha256
The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
String newRuleContent
The updated content for the approval rule.
When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways:
CodeCommitApprovers: This option only requires an Amazon Web Services 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 Amazon Web Services account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user:
An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)
This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major).
Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role.
For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
ApprovalRule approvalRule
Information about the updated approval rule.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String description
The updated content of the description for the pull request. This content replaces the existing description.
PullRequest pullRequest
Information about the updated pull request.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String pullRequestStatus
The status of the pull request. The only valid operations are to update the status from OPEN
to
OPEN
, OPEN
to CLOSED
or from CLOSED
to CLOSED
.
PullRequest pullRequest
Information about the pull request.
String pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
String title
The updated title of the pull request. This replaces the existing title.
PullRequest pullRequest
Information about the updated pull request.
String repositoryName
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.
String kmsKeyId
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
Copyright © 2024. All rights reserved.