Module Smaws_Client_CodeCommit.Types

type nonrec blob = bytes
type nonrec name = string
type nonrec email = string
type nonrec date = string
type nonrec user_info = {
  1. date : date option;
    (*

    The date when the specified commit was commited, in timestamp format with GMT offset.

    *)
  2. email : email option;
    (*

    The email address associated with the user who made the commit, if any.

    *)
  3. name : name option;
    (*

    The name of the user who made the specified commit.

    *)
}

Information about the user who made a specified commit.

type nonrec repository_name = string
type nonrec update_repository_name_input = {
  1. new_name : repository_name;
    (*

    The new name for the repository.

    *)
  2. old_name : repository_name;
    (*

    The current name of the repository.

    *)
}

Represents the input of an update repository description operation.

type nonrec message = string
type nonrec repository_name_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A repository name is required, but was not specified.

type nonrec repository_name_exists_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified repository name already exists.

type nonrec repository_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified repository does not exist.

type nonrec invalid_repository_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A specified repository name is not valid.

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.

type nonrec repository_id = string
type nonrec kms_key_id = string
type nonrec update_repository_encryption_key_output = {
  1. original_kms_key_id : kms_key_id option;
    (*

    The ID of the encryption key formerly used to encrypt and decrypt the repository.

    *)
  2. kms_key_id : kms_key_id option;
    (*

    The ID of the encryption key.

    *)
  3. repository_id : repository_id option;
    (*

    The ID of the repository.

    *)
}
type nonrec update_repository_encryption_key_input = {
  1. kms_key_id : kms_key_id;
    (*

    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.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.

    *)
}
type nonrec encryption_key_unavailable_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The encryption key is not available.

type nonrec encryption_key_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A KMS encryption key ID is required but was not specified.

type nonrec encryption_key_not_found_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

No encryption key was found.

type nonrec encryption_key_invalid_usage_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A KMS encryption key was used to try and encrypt or decrypt a repository, but either the repository or the key was not in a valid state to support the operation.

type nonrec encryption_key_invalid_id_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The Key Management Service encryption key is not valid.

type nonrec encryption_key_disabled_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The encryption key is disabled.

type nonrec encryption_key_access_denied_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An encryption key could not be accessed.

type nonrec encryption_integrity_checks_failed_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An encryption integrity check failed.

type nonrec repository_description = string
type nonrec update_repository_description_input = {
  1. repository_description : repository_description option;
    (*

    The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository to set or change the comment or description for.

    *)
}

Represents the input of an update repository description operation.

type nonrec invalid_repository_description_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified repository description is not valid.

type nonrec pull_request_id = string
type nonrec title = string
type nonrec description = string
type nonrec last_modified_date = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec creation_date = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec pull_request_status_enum =
  1. | CLOSED
  2. | OPEN
type nonrec arn = string
type nonrec reference_name = string
type nonrec commit_id = string
type nonrec is_merged = bool
type nonrec merge_option_type_enum =
  1. | THREE_WAY_MERGE
  2. | SQUASH_MERGE
  3. | FAST_FORWARD_MERGE
type nonrec merge_metadata = {
  1. merge_option : merge_option_type_enum option;
    (*

    The merge strategy used in the merge.

    *)
  2. merge_commit_id : commit_id option;
    (*

    The commit ID for the merge commit, if any.

    *)
  3. merged_by : arn option;
    (*

    The Amazon Resource Name (ARN) of the user who merged the branches.

    *)
  4. is_merged : is_merged option;
    (*

    A Boolean value indicating whether the merge has been made.

    *)
}

Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.

type nonrec pull_request_target = {
  1. merge_metadata : merge_metadata option;
    (*

    Returns metadata about the state of the merge, including whether the merge has been made.

    *)
  2. merge_base : commit_id option;
    (*

    The commit ID of the most recent commit that the source branch and the destination branch have in common.

    *)
  3. source_commit : commit_id option;
    (*

    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.

    *)
  4. destination_commit : commit_id option;
    (*

    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.

    *)
  5. destination_reference : reference_name option;
    (*

    The branch of the repository where the pull request changes are merged. Also known as the destination branch.

    *)
  6. source_reference : reference_name option;
    (*

    The branch of the repository that contains the changes for the pull request. Also known as the source branch.

    *)
  7. repository_name : repository_name option;
    (*

    The name of the repository that contains the pull request source and destination branches.

    *)
}

Returns information about a pull request target.

type nonrec pull_request_target_list = pull_request_target list
type nonrec client_request_token = string
type nonrec revision_id = string
type nonrec approval_rule_id = string
type nonrec approval_rule_name = string
type nonrec approval_rule_content = string
type nonrec rule_content_sha256 = string
type nonrec approval_rule_template_id = string
type nonrec approval_rule_template_name = string
type nonrec origin_approval_rule_template = {
  1. approval_rule_template_name : approval_rule_template_name option;
    (*

    The name of the template that created the approval rule.

    *)
  2. approval_rule_template_id : approval_rule_template_id option;
    (*

    The ID of the template that created the approval rule.

    *)
}

Returns information about the template that created the approval rule for a pull request.

type nonrec approval_rule = {
  1. origin_approval_rule_template : origin_approval_rule_template option;
    (*

    The approval rule template used to create the rule.

    *)
  2. last_modified_user : arn option;
    (*

    The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.

    *)
  3. creation_date : creation_date option;
    (*

    The date the approval rule was created, in timestamp format.

    *)
  4. last_modified_date : last_modified_date option;
    (*

    The date the approval rule was most recently changed, in timestamp format.

    *)
  5. rule_content_sha256 : rule_content_sha256 option;
    (*

    The SHA-256 hash signature for the content of the approval rule.

    *)
  6. approval_rule_content : approval_rule_content option;
    (*

    The content of the approval rule.

    *)
  7. approval_rule_name : approval_rule_name option;
    (*

    The name of the approval rule.

    *)
  8. approval_rule_id : approval_rule_id option;
    (*

    The system-generated ID of the approval rule.

    *)
}

Returns information about an approval rule.

type nonrec approval_rules_list = approval_rule list
type nonrec pull_request = {
  1. approval_rules : approval_rules_list option;
    (*

    The approval rules applied to the pull request.

    *)
  2. revision_id : revision_id option;
    (*

    The system-generated revision ID for the pull request.

    *)
  3. client_request_token : client_request_token option;
    (*

    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.

    *)
  4. pull_request_targets : pull_request_target_list option;
    (*

    The targets of the pull request, including the source branch and destination branch for the pull request.

    *)
  5. author_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the user who created the pull request.

    *)
  6. pull_request_status : pull_request_status_enum option;
    (*

    The status of the pull request. Pull request status can only change from OPEN to CLOSED.

    *)
  7. creation_date : creation_date option;
    (*

    The date and time the pull request was originally created, in timestamp format.

    *)
  8. last_activity_date : last_modified_date option;
    (*

    The day and time of the last user or system activity on the pull request, in timestamp format.

    *)
  9. description : description option;
    (*

    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.

    *)
  10. title : title option;
    (*

    The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.

    *)
  11. pull_request_id : pull_request_id option;
    (*

    The system-generated ID of the pull request.

    *)
}

Returns information about a pull request.

type nonrec update_pull_request_title_output = {
  1. pull_request : pull_request;
    (*

    Information about the updated pull request.

    *)
}
type nonrec update_pull_request_title_input = {
  1. title : title;
    (*

    The updated title of the pull request. This replaces the existing title.

    *)
  2. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec title_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A pull request title is required. It cannot be empty or null.

type nonrec pull_request_id_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A pull request ID is required, but none was provided.

type nonrec pull_request_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec pull_request_already_closed_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request status cannot be updated because it is already closed.

type nonrec invalid_title_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.

type nonrec invalid_pull_request_id_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec update_pull_request_status_output = {
  1. pull_request : pull_request;
    (*

    Information about the pull request.

    *)
}
type nonrec update_pull_request_status_input = {
  1. pull_request_status : pull_request_status_enum;
    (*

    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.

    *)
  2. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec pull_request_status_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A pull request status is required, but none was provided.

type nonrec invalid_pull_request_status_update_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request status update is not valid. The only valid update is from OPEN to CLOSED.

type nonrec invalid_pull_request_status_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request status is not valid. The only valid values are OPEN and CLOSED.

type nonrec update_pull_request_description_output = {
  1. pull_request : pull_request;
    (*

    Information about the updated pull request.

    *)
}
type nonrec update_pull_request_description_input = {
  1. description : description;
    (*

    The updated content of the description for the pull request. This content replaces the existing description.

    *)
  2. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec invalid_description_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request description is not valid. Descriptions cannot be more than 1,000 characters.

type nonrec approval_state =
  1. | REVOKE
  2. | APPROVE
type nonrec update_pull_request_approval_state_input = {
  1. approval_state : approval_state;
    (*

    The approval state to associate with the user on the pull request.

    *)
  2. revision_id : revision_id;
    (*

    The system-generated ID of the revision.

    *)
  3. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request.

    *)
}
type nonrec revision_not_current_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.

type nonrec revision_id_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A revision ID is required, but was not provided.

type nonrec pull_request_cannot_be_approved_by_author_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec maximum_number_of_approvals_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The number of approvals required for the approval rule exceeds the maximum number allowed.

type nonrec invalid_revision_id_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The revision ID is not valid. Use GetPullRequest to determine the value.

type nonrec invalid_approval_state_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The state for the approval is not valid. Valid values include APPROVE and REVOKE.

type nonrec approval_state_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An approval state is required, but was not specified.

type nonrec update_pull_request_approval_rule_content_output = {
  1. approval_rule : approval_rule;
    (*

    Information about the updated approval rule.

    *)
}
type nonrec update_pull_request_approval_rule_content_input = {
  1. new_rule_content : approval_rule_content;
    (*

    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.

    *)
  2. existing_rule_content_sha256 : rule_content_sha256 option;
    (*

    The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.

    *)
  3. approval_rule_name : approval_rule_name;
    (*

    The name of the approval rule you want to update.

    *)
  4. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request.

    *)
}
type nonrec invalid_rule_content_sha256_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The SHA-256 hash signature for the rule content is not valid.

type nonrec invalid_approval_rule_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The name for the approval rule is not valid.

type nonrec invalid_approval_rule_content_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The content for the approval rule is not valid.

type nonrec cannot_modify_approval_rule_from_template_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec approval_rule_name_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An approval rule name is required, but was not specified.

type nonrec approval_rule_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified approval rule does not exist.

type nonrec approval_rule_content_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.

type nonrec branch_name = string
type nonrec update_default_branch_input = {
  1. default_branch_name : branch_name;
    (*

    The name of the branch to set as the default branch.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository for which you want to set or change the default branch.

    *)
}

Represents the input of an update default branch operation.

type nonrec invalid_branch_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified reference name is not valid.

type nonrec branch_name_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A branch name is required, but was not specified.

type nonrec branch_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified branch does not exist.

type nonrec comment_id = string
type nonrec content = string
type nonrec is_comment_deleted = bool
type nonrec reaction_value = string
type nonrec caller_reactions = reaction_value list
type nonrec count = int
type nonrec reaction_counts_map = (reaction_value * count) list
type nonrec comment = {
  1. reaction_counts : reaction_counts_map option;
    (*

    A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.

    *)
  2. caller_reactions : caller_reactions option;
    (*

    The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

    *)
  3. client_request_token : client_request_token option;
    (*

    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.

    *)
  4. deleted : is_comment_deleted option;
    (*

    A Boolean value indicating whether the comment has been deleted.

    *)
  5. author_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the person who posted the comment.

    *)
  6. last_modified_date : last_modified_date option;
    (*

    The date and time the comment was most recently modified, in timestamp format.

    *)
  7. creation_date : creation_date option;
    (*

    The date and time the comment was created, in timestamp format.

    *)
  8. in_reply_to : comment_id option;
    (*

    The ID of the comment for which this comment is a reply, if any.

    *)
  9. content : content option;
    (*

    The content of the comment.

    *)
  10. comment_id : comment_id option;
    (*

    The system-generated comment ID.

    *)
}

Returns information about a specific comment.

type nonrec update_comment_output = {
  1. comment : comment option;
    (*

    Information about the updated comment.

    *)
}
type nonrec update_comment_input = {
  1. content : content;
    (*

    The updated content to replace the existing content of the comment.

    *)
  2. comment_id : comment_id;
    (*

    The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

    *)
}
type nonrec invalid_comment_id_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The comment ID is not in a valid format. Make sure that you have provided the full comment ID.

type nonrec comment_not_created_by_caller_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

You cannot modify or delete this comment. Only comment authors can modify or delete their comments.

type nonrec comment_id_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The comment ID is missing or null. A comment ID is required.

type nonrec comment_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

No comment exists with the provided ID. Verify that you have used the correct ID, and then try again.

type nonrec comment_deleted_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

This comment has already been deleted. You cannot edit or delete a deleted comment.

type nonrec comment_content_size_limit_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The comment is too large. Comments are limited to 10,240 characters.

type nonrec comment_content_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The comment is empty. You must provide some content for a comment. The content cannot be null.

type nonrec approval_rule_template_description = string
type nonrec approval_rule_template_content = string
type nonrec approval_rule_template = {
  1. last_modified_user : arn option;
    (*

    The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.

    *)
  2. creation_date : creation_date option;
    (*

    The date the approval rule template was created, in timestamp format.

    *)
  3. last_modified_date : last_modified_date option;
    (*

    The date the approval rule template was most recently changed, in timestamp format.

    *)
  4. rule_content_sha256 : rule_content_sha256 option;
    (*

    The SHA-256 hash signature for the content of the approval rule template.

    *)
  5. approval_rule_template_content : approval_rule_template_content option;
    (*

    The content of the approval rule template.

    *)
  6. approval_rule_template_description : approval_rule_template_description option;
    (*

    The description of the approval rule template.

    *)
  7. approval_rule_template_name : approval_rule_template_name option;
    (*

    The name of the approval rule template.

    *)
  8. approval_rule_template_id : approval_rule_template_id option;
    (*

    The system-generated ID of the approval rule template.

    *)
}

Returns information about an approval rule template.

type nonrec update_approval_rule_template_name_output = {
  1. approval_rule_template : approval_rule_template;
    (*

    The structure and content of the updated approval rule template.

    *)
}
type nonrec update_approval_rule_template_name_input = {
  1. new_approval_rule_template_name : approval_rule_template_name;
    (*

    The new name you want to apply to the approval rule template.

    *)
  2. old_approval_rule_template_name : approval_rule_template_name;
    (*

    The current name of the approval rule template.

    *)
}
type nonrec invalid_approval_rule_template_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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 CodeCommit, see Quotas in the CodeCommit User Guide.

type nonrec approval_rule_template_name_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An approval rule template name is required, but was not specified.

type nonrec approval_rule_template_name_already_exists_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

You cannot create an approval rule template with that name because a template with that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template names must be unique.

type nonrec approval_rule_template_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template was created, and then try again.

type nonrec update_approval_rule_template_description_output = {
  1. approval_rule_template : approval_rule_template;
    (*

    The structure and content of the updated approval rule template.

    *)
}
type nonrec update_approval_rule_template_description_input = {
  1. approval_rule_template_description : approval_rule_template_description;
    (*

    The updated description of the approval rule template.

    *)
  2. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the template for which you want to update the description.

    *)
}
type nonrec invalid_approval_rule_template_description_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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 CodeCommit, see Quotas in the CodeCommit User Guide.

type nonrec update_approval_rule_template_content_output = {
  1. approval_rule_template : approval_rule_template;
}
type nonrec update_approval_rule_template_content_input = {
  1. existing_rule_content_sha256 : rule_content_sha256 option;
    (*

    The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.

    *)
  2. new_rule_content : approval_rule_template_content;
    (*

    The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.

    *)
  3. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the approval rule template where you want to update the content of the rule.

    *)
}
type nonrec invalid_approval_rule_template_content_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The content of the approval rule template is not valid.

type nonrec approval_rule_template_content_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.

type nonrec resource_arn = string
type nonrec tag_key = string
type nonrec tag_keys_list = tag_key list
type nonrec untag_resource_input = {
  1. tag_keys : tag_keys_list;
    (*

    The tag key for each tag that you want to remove from the resource.

    *)
  2. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource to which you want to remove tags.

    *)
}
type nonrec too_many_tags_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The maximum number of tags for an CodeCommit resource has been exceeded.

type nonrec tag_policy_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The tag policy is not valid.

type nonrec tag_keys_list_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A list of tag keys is required. The list cannot be empty or null.

type nonrec resource_arn_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.

type nonrec invalid_tag_keys_list_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The list of tags is not valid.

type nonrec invalid_system_tag_usage_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified tag is not valid. Key names cannot be prefixed with aws:.

type nonrec invalid_resource_arn_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The value for the resource ARN is not valid. For more information about resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.

type nonrec tips_divergence_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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 git diff or a diff tool.

type nonrec tip_of_source_reference_is_different_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec repository_trigger_name = string
type nonrec repository_trigger_name_list = repository_trigger_name list
type nonrec repository_trigger_execution_failure_message = string
type nonrec repository_trigger_execution_failure = {
  1. failure_message : repository_trigger_execution_failure_message option;
    (*

    Message information about the trigger that did not run.

    *)
  2. trigger : repository_trigger_name option;
    (*

    The name of the trigger that did not run.

    *)
}

A trigger failed to run.

type nonrec repository_trigger_execution_failure_list = repository_trigger_execution_failure list
type nonrec test_repository_triggers_output = {
  1. failed_executions : repository_trigger_execution_failure_list option;
    (*

    The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.

    *)
  2. successful_executions : repository_trigger_name_list option;
    (*

    The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.

    *)
}

Represents the output of a test repository triggers operation.

type nonrec repository_trigger_custom_data = string
type nonrec branch_name_list = branch_name list
type nonrec repository_trigger_event_enum =
  1. | DELETE_REFERENCE
  2. | CREATE_REFERENCE
  3. | UPDATE_REFERENCE
  4. | ALL
type nonrec repository_trigger_event_list = repository_trigger_event_enum list
type nonrec repository_trigger = {
  1. events : repository_trigger_event_list;
    (*

    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.

    *)
  2. branches : branch_name_list option;
    (*

    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.

    *)
  3. custom_data : repository_trigger_custom_data option;
    (*

    Any custom data associated with the trigger to be included in the information sent to the target of the trigger.

    *)
  4. destination_arn : arn;
    (*

    The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

    *)
  5. name : repository_trigger_name;
    (*

    The name of the trigger.

    *)
}

Information about a trigger for a repository.

If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see Configuring notifications for repository events.

type nonrec repository_triggers_list = repository_trigger list
type nonrec test_repository_triggers_input = {
  1. triggers : repository_triggers_list;
    (*

    The list of triggers to test.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository in which to test the triggers.

    *)
}

Represents the input of a test repository triggers operation.

type nonrec repository_triggers_list_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The list of triggers for the repository is required, but was not specified.

type nonrec repository_trigger_name_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A name for the trigger is required, but was not specified.

type nonrec repository_trigger_events_list_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

At least one event for the trigger is required, but was not specified.

type nonrec repository_trigger_destination_arn_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A destination ARN for the target service for the trigger is required, but was not specified.

type nonrec repository_trigger_branch_name_list_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

At least one branch name is required, but was not specified in the trigger configuration.

type nonrec maximum_repository_triggers_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The number of triggers allowed for the repository was exceeded.

type nonrec maximum_branches_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The number of branches for the trigger was exceeded.

type nonrec invalid_repository_trigger_region_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The Amazon Web Services Region for the trigger target does not match the Amazon Web Services Region for the repository. Triggers must be created in the same Amazon Web Services Region as the target for the trigger.

type nonrec invalid_repository_trigger_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The name of the trigger is not valid.

type nonrec invalid_repository_trigger_events_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec invalid_repository_trigger_destination_arn_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec invalid_repository_trigger_custom_data_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The custom data provided for the trigger is not valid.

type nonrec invalid_repository_trigger_branch_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

One or more branch names specified for the trigger is not valid.

type nonrec targets_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An array of target objects is required. It cannot be empty or null.

type nonrec target_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec target = {
  1. destination_reference : reference_name option;
    (*

    The branch of the repository where the pull request changes are merged. Also known as the destination branch.

    *)
  2. source_reference : reference_name;
    (*

    The branch of the repository that contains the changes for the pull request. Also known as the source branch.

    *)
  3. repository_name : repository_name;
    (*

    The name of the repository that contains the pull request.

    *)
}

Returns information about a target for a pull request.

type nonrec target_list = target list
type nonrec tags_map_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A map of tags is required.

type nonrec tag_value = string
type nonrec tags_map = (tag_key * tag_value) list
type nonrec tag_resource_input = {
  1. tags : tags_map;
    (*

    The key-value pair to use when tagging this repository.

    *)
  2. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

    *)
}
type nonrec invalid_tags_map_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The map of tags is not valid.

type nonrec object_id = string
type nonrec path = string
type nonrec file_mode_type_enum =
  1. | NORMAL
  2. | EXECUTABLE

Returns information about a symbolic link in a repository folder.

type nonrec sub_module = {
  1. relative_path : path option;
    (*

    The relative path of the submodule from the folder where the query originated.

    *)
  2. absolute_path : path option;
    (*

    The fully qualified path to the folder that contains the reference to the submodule.

    *)
  3. commit_id : object_id option;
    (*

    The commit ID that contains the reference to the submodule.

    *)
}

Returns information about a submodule reference in a repository folder.

type nonrec sub_module_list = sub_module list
type nonrec is_move = bool
type nonrec source_file_specifier = {
  1. is_move : is_move option;
    (*

    Whether to remove the source file from the parent commit.

    *)
  2. file_path : path;
    (*

    The full path to the file, including the name of the file.

    *)
}

Information about a source file that is part of changes made in a commit.

type nonrec source_file_or_content_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The commit cannot be created because no source files or file content have been specified for the commit.

type nonrec source_and_destination_are_same_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The source branch and destination branch for the pull request are the same. You must specify different branches for the source and destination.

type nonrec sort_by_enum =
  1. | MODIFIED_DATE
  2. | REPOSITORY_NAME
type nonrec set_file_mode_entry = {
  1. file_mode : file_mode_type_enum;
    (*

    The file mode for the file.

    *)
  2. file_path : path;
    (*

    The full path to the file, including the name of the file.

    *)
}

Information about the file mode changes.

type nonrec set_file_mode_entries = set_file_mode_entry list
type nonrec same_path_request_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec same_file_content_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec parent_list = object_id list
type nonrec additional_data = string
type nonrec commit = {
  1. additional_data : additional_data option;
    (*

    Any other data associated with the specified commit.

    *)
  2. committer : user_info option;
    (*

    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.

    *)
  3. author : user_info option;
    (*

    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.

    *)
  4. message : message option;
    (*

    The commit message associated with the specified commit.

    *)
  5. parents : parent_list option;
    (*

    A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

    *)
  6. tree_id : object_id option;
    (*

    Tree information for the specified commit.

    *)
  7. commit_id : object_id option;
    (*

    The full SHA ID of the specified commit.

    *)
}

Returns information about a specific commit.

type nonrec revision_children = revision_id list
type nonrec file_version = {
  1. revision_children : revision_children option;
    (*

    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.

    *)
  2. path : path option;
    (*

    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.

    *)
  3. blob_id : object_id option;
    (*

    The blob ID of the object that represents the content of the file in this version.

    *)
  4. commit : commit option;
}

Information about a version of a file.

type nonrec revision_dag = file_version list
type nonrec restricted_source_file_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The commit cannot be created because one of the changes specifies copying or moving a .gitkeep file.

type nonrec repository_triggers_configuration_id = string
type nonrec repository_not_found_list = repository_name list
type nonrec repository_not_associated_with_pull_request_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec repository_names_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

At least one repository name object is required, but was not specified.

type nonrec repository_name_list = repository_name list
type nonrec repository_name_id_pair = {
  1. repository_id : repository_id option;
    (*

    The ID associated with the repository.

    *)
  2. repository_name : repository_name option;
    (*

    The name associated with the repository.

    *)
}

Information about a repository name and ID.

type nonrec repository_name_id_pair_list = repository_name_id_pair list
type nonrec account_id = string
type nonrec clone_url_http = string
type nonrec clone_url_ssh = string
type nonrec repository_metadata = {
  1. kms_key_id : kms_key_id option;
    (*

    The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.

    *)
  2. arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the repository.

    *)
  3. clone_url_ssh : clone_url_ssh option;
    (*

    The URL to use for cloning the repository over SSH.

    *)
  4. clone_url_http : clone_url_http option;
    (*

    The URL to use for cloning the repository over HTTPS.

    *)
  5. creation_date : creation_date option;
    (*

    The date and time the repository was created, in timestamp format.

    *)
  6. last_modified_date : last_modified_date option;
    (*

    The date and time the repository was last modified, in timestamp format.

    *)
  7. default_branch : branch_name option;
    (*

    The repository's default branch name.

    *)
  8. repository_description : repository_description option;
    (*

    A comment or description about the repository.

    *)
  9. repository_name : repository_name option;
    (*

    The repository's name.

    *)
  10. repository_id : repository_id option;
    (*

    The ID of the repository.

    *)
  11. account_id : account_id option;
    (*

    The ID of the Amazon Web Services account associated with the repository.

    *)
}

Information about a repository.

type nonrec repository_metadata_list = repository_metadata list
type nonrec repository_limit_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A repository resource limit was exceeded.

type nonrec replacement_type_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A replacement type is required.

type nonrec replacement_type_enum =
  1. | USE_NEW_CONTENT
  2. | KEEP_DESTINATION
  3. | KEEP_SOURCE
  4. | KEEP_BASE
type nonrec replacement_content_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

USE_NEW_CONTENT was specified, but no replacement content has been provided.

type nonrec file_content = bytes
type nonrec replace_content_entry = {
  1. file_mode : file_mode_type_enum option;
    (*

    The file mode to apply during conflict resoltion.

    *)
  2. content : file_content option;
    (*

    The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

    *)
  3. replacement_type : replacement_type_enum;
    (*

    The replacement type to use when determining how to resolve the conflict.

    *)
  4. file_path : path;
    (*

    The path of the conflicting file.

    *)
}

Information about a replacement content entry in the conflict of a merge or pull request operation.

type nonrec replace_content_entries = replace_content_entry list
type nonrec relative_file_version_enum =
  1. | AFTER
  2. | BEFORE
type nonrec reference_type_not_supported_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified reference is not a supported type.

type nonrec reference_name_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A reference name is required, but none was provided.

type nonrec reference_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified reference does not exist. You must provide a full commit ID.

type nonrec reaction_emoji = string
type nonrec reaction_short_code = string
type nonrec reaction_unicode = string
type nonrec reaction_value_formats = {
  1. unicode : reaction_unicode option;
    (*

    The Unicode codepoint for the reaction.

    *)
  2. short_code : reaction_short_code option;
    (*

    The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

    *)
  3. emoji : reaction_emoji option;
    (*

    The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

    *)
}

Information about the values for reactions to a comment. CodeCommit supports a limited set of reactions.

type nonrec reaction_users_list = arn list
type nonrec reaction_for_comment = {
  1. reactions_from_deleted_users_count : count option;
    (*

    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.

    *)
  2. reaction_users : reaction_users_list option;
    (*

    The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

    *)
  3. reaction : reaction_value_formats option;
    (*

    The reaction for a specified comment.

    *)
}

Information about the reaction values provided by users on a comment.

type nonrec reactions_for_comment_list = reaction_for_comment list
type nonrec reaction_value_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A reaction value is required.

type nonrec reaction_limit_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.

type nonrec put_repository_triggers_output = {
  1. configuration_id : repository_triggers_configuration_id option;
    (*

    The system-generated unique ID for the create or update operation.

    *)
}

Represents the output of a put repository triggers operation.

type nonrec put_repository_triggers_input = {
  1. triggers : repository_triggers_list;
    (*

    The JSON block of configuration information for each trigger.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository where you want to create or update the trigger.

    *)
}

Represents the input of a put repository triggers operation.

type nonrec put_file_output = {
  1. tree_id : object_id;
    (*

    The full SHA-1 pointer of the tree information for the commit that contains this file change.

    *)
  2. blob_id : object_id;
    (*

    The ID of the blob, which is its SHA-1 pointer.

    *)
  3. commit_id : object_id;
    (*

    The full SHA ID of the commit that contains this file change.

    *)
}
type nonrec put_file_input = {
  1. email : email option;
    (*

    An email address for the person adding or updating the file.

    *)
  2. name : name option;
    (*

    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.

    *)
  3. commit_message : message option;
    (*

    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.

    *)
  4. parent_commit_id : commit_id option;
    (*

    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.

    *)
  5. file_mode : file_mode_type_enum option;
    (*

    The file mode permissions of the blob. Valid file mode permissions are listed here.

    *)
  6. file_path : path;
    (*

    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.

    *)
  7. file_content : file_content;
    (*

    The content of the file, in binary object format.

    *)
  8. branch_name : branch_name;
    (*

    The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

    *)
  9. repository_name : repository_name;
    (*

    The name of the repository where you want to add or update the file.

    *)
}
type nonrec put_file_entry_conflict_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The commit cannot be created because one or more files specified in the commit reference both a file and a folder.

type nonrec put_file_entry = {
  1. source_file : source_file_specifier option;
    (*

    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.

    *)
  2. file_content : file_content option;
    (*

    The content of the file, if a source file is not specified.

    *)
  3. file_mode : file_mode_type_enum option;
    (*

    The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

    *)
  4. file_path : path;
    (*

    The full path to the file in the repository, including the name of the file.

    *)
}

Information about a file added or updated as part of a commit.

type nonrec put_file_entries = put_file_entry list
type nonrec path_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The folderPath for a location cannot be null.

type nonrec parent_commit_id_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A parent commit ID is required. To view the full commit ID of a branch in a repository, use GetBranch or a Git command (for example, git pull or git log).

type nonrec parent_commit_id_outdated_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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 GetBranch.

type nonrec parent_commit_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec name_length_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The user name is not valid because it has exceeded the character limit for author names.

type nonrec invalid_path_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified path is not valid.

type nonrec invalid_parent_commit_id_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec invalid_file_mode_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified file mode permission is not valid. For a list of valid file mode permissions, see PutFile.

type nonrec invalid_email_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec invalid_deletion_parameter_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified deletion parameter is not valid.

type nonrec folder_content_size_limit_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec file_path_conflicts_with_submodule_path_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec file_name_conflicts_with_directory_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec file_content_size_limit_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec file_content_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.

type nonrec directory_name_conflicts_with_file_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec commit_message_length_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The commit message is too long. Provide a shorter string.

type nonrec branch_name_is_tag_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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 ListBranches.

type nonrec put_comment_reaction_input = {
  1. reaction_value : reaction_value;
    (*

    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.

    *)
  2. comment_id : comment_id;
    (*

    The ID of the comment to which you want to add or update a reaction.

    *)
}
type nonrec invalid_reaction_value_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The value of the reaction is not valid. For more information, see the CodeCommit User Guide.

type nonrec pull_request_status_changed_event_metadata = {
  1. pull_request_status : pull_request_status_enum option;
    (*

    The changed status of the pull request.

    *)
}

Information about a change to the status of a pull request.

type nonrec pull_request_source_reference_updated_event_metadata = {
  1. merge_base : commit_id option;
    (*

    The commit ID of the most recent commit that the source branch and the destination branch have in common.

    *)
  2. after_commit_id : commit_id option;
    (*

    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.

    *)
  3. before_commit_id : commit_id option;
    (*

    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.

    *)
  4. repository_name : repository_name option;
    (*

    The name of the repository where the pull request was updated.

    *)
}

Information about an update to the source branch of a pull request.

type nonrec pull_request_merged_state_changed_event_metadata = {
  1. merge_metadata : merge_metadata option;
    (*

    Information about the merge state change event.

    *)
  2. destination_reference : reference_name option;
    (*

    The name of the branch that the pull request is merged into.

    *)
  3. repository_name : repository_name option;
    (*

    The name of the repository where the pull request was created.

    *)
}

Returns information about the change in the merge state for a pull request event.

type nonrec pull_request_id_list = pull_request_id list
type nonrec pull_request_event_type =
  1. | PULL_REQUEST_APPROVAL_STATE_CHANGED
  2. | PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN
  3. | PULL_REQUEST_APPROVAL_RULE_DELETED
  4. | PULL_REQUEST_APPROVAL_RULE_UPDATED
  5. | PULL_REQUEST_APPROVAL_RULE_CREATED
  6. | PULL_REQUEST_MERGE_STATE_CHANGED
  7. | PULL_REQUEST_SOURCE_REFERENCE_UPDATED
  8. | PULL_REQUEST_STATUS_CHANGED
  9. | PULL_REQUEST_CREATED
type nonrec event_date = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec pull_request_created_event_metadata = {
  1. merge_base : commit_id option;
    (*

    The commit ID of the most recent commit that the source branch and the destination branch have in common.

    *)
  2. destination_commit_id : commit_id option;
    (*

    The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

    *)
  3. source_commit_id : commit_id option;
    (*

    The commit ID on the source branch used when the pull request was created.

    *)
  4. repository_name : repository_name option;
    (*

    The name of the repository where the pull request was created.

    *)
}

Metadata about the pull request that is used when comparing the pull request source with its destination.

type nonrec approval_rule_event_metadata = {
  1. approval_rule_content : approval_rule_content option;
    (*

    The content of the approval rule.

    *)
  2. approval_rule_id : approval_rule_id option;
    (*

    The system-generated ID of the approval rule.

    *)
  3. approval_rule_name : approval_rule_name option;
    (*

    The name of the approval rule.

    *)
}

Returns information about an event for an approval rule.

type nonrec approval_state_changed_event_metadata = {
  1. approval_status : approval_state option;
    (*

    The approval status for the pull request.

    *)
  2. revision_id : revision_id option;
    (*

    The revision ID of the pull request when the approval state changed.

    *)
}

Returns information about a change in the approval state for a pull request.

type nonrec override_status =
  1. | REVOKE
  2. | OVERRIDE
type nonrec approval_rule_overridden_event_metadata = {
  1. override_status : override_status option;
    (*

    The status of the override event.

    *)
  2. revision_id : revision_id option;
    (*

    The revision ID of the pull request when the override event occurred.

    *)
}

Returns information about an override event for approval rules for a pull request.

type nonrec pull_request_event = {
  1. approval_rule_overridden_event_metadata : approval_rule_overridden_event_metadata option;
    (*

    Information about an approval rule override event for a pull request.

    *)
  2. approval_state_changed_event_metadata : approval_state_changed_event_metadata option;
    (*

    Information about an approval state change for a pull request.

    *)
  3. approval_rule_event_metadata : approval_rule_event_metadata option;
    (*

    Information about a pull request event.

    *)
  4. pull_request_merged_state_changed_event_metadata : pull_request_merged_state_changed_event_metadata option;
    (*

    Information about the change in mergability state for the pull request event.

    *)
  5. pull_request_source_reference_updated_event_metadata : pull_request_source_reference_updated_event_metadata option;
    (*

    Information about the updated source branch for the pull request event.

    *)
  6. pull_request_status_changed_event_metadata : pull_request_status_changed_event_metadata option;
    (*

    Information about the change in status for the pull request event.

    *)
  7. pull_request_created_event_metadata : pull_request_created_event_metadata option;
    (*

    Information about the source and destination branches for the pull request.

    *)
  8. actor_arn : arn option;
    (*

    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.

    *)
  9. pull_request_event_type : pull_request_event_type option;
    (*

    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)).

    *)
  10. event_date : event_date option;
    (*

    The day and time of the pull request event, in timestamp format.

    *)
  11. pull_request_id : pull_request_id option;
    (*

    The system-generated ID of the pull request.

    *)
}

Returns information about a pull request event.

type nonrec pull_request_event_list = pull_request_event list
type nonrec pull_request_approval_rules_not_satisfied_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.

type nonrec post_comment_reply_output = {
  1. comment : comment option;
    (*

    Information about the reply to a comment.

    *)
}
type nonrec post_comment_reply_input = {
  1. content : content;
    (*

    The contents of your reply to a comment.

    *)
  2. client_request_token : client_request_token option;
    (*

    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.

    *)
  3. in_reply_to : comment_id;
    (*

    The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

    *)
}
type nonrec invalid_client_request_token_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The client request token is not valid.

type nonrec idempotency_parameter_mismatch_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec client_request_token_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec position = Smaws_Lib.CoreTypes.Int64.t
type nonrec location = {
  1. relative_file_version : relative_file_version_enum option;
    (*

    In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.

    *)
  2. file_position : position option;
    (*

    The position of a change in a compared file, in line number format.

    *)
  3. file_path : path option;
    (*

    The name of the file being compared, including its extension and subdirectory, if any.

    *)
}

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

type nonrec post_comment_for_pull_request_output = {
  1. comment : comment option;
    (*

    The content of the comment you posted.

    *)
  2. location : location option;
    (*

    The location of the change where you posted your comment.

    *)
  3. after_blob_id : object_id option;
    (*

    In the directionality of the pull request, the blob ID of the after blob.

    *)
  4. before_blob_id : object_id option;
    (*

    In the directionality of the pull request, the blob ID of the before blob.

    *)
  5. after_commit_id : commit_id option;
    (*

    The full commit ID of the commit in the destination branch where the pull request is merged.

    *)
  6. before_commit_id : commit_id option;
    (*

    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.

    *)
  7. pull_request_id : pull_request_id option;
    (*

    The system-generated ID of the pull request.

    *)
  8. repository_name : repository_name option;
    (*

    The name of the repository where you posted a comment on a pull request.

    *)
}
type nonrec post_comment_for_pull_request_input = {
  1. client_request_token : client_request_token option;
    (*

    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.

    *)
  2. content : content;
    (*

    The content of your comment on the change.

    *)
  3. location : location option;
    (*

    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.

    *)
  4. after_commit_id : commit_id;
    (*

    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.

    *)
  5. before_commit_id : commit_id;
    (*

    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.

    *)
  6. repository_name : repository_name;
    (*

    The name of the repository where you want to post a comment on a pull request.

    *)
  7. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec path_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified path does not exist.

type nonrec invalid_relative_file_version_enum_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec invalid_file_position_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.

type nonrec invalid_file_location_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The location of the file is not valid. Make sure that you include the file name and extension.

type nonrec invalid_commit_id_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified commit ID is not valid.

type nonrec commit_id_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A commit ID was not specified.

type nonrec commit_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

type nonrec before_commit_id_and_after_commit_id_are_same_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec post_comment_for_compared_commit_output = {
  1. comment : comment option;
    (*

    The content of the comment you posted.

    *)
  2. location : location option;
    (*

    The location of the comment in the comparison between the two commits.

    *)
  3. after_blob_id : object_id option;
    (*

    In the directionality you established, the blob ID of the after blob.

    *)
  4. before_blob_id : object_id option;
    (*

    In the directionality you established, the blob ID of the before blob.

    *)
  5. after_commit_id : commit_id option;
    (*

    In the directionality you established, the full commit ID of the after commit.

    *)
  6. before_commit_id : commit_id option;
    (*

    In the directionality you established, the full commit ID of the before commit.

    *)
  7. repository_name : repository_name option;
    (*

    The name of the repository where you posted a comment on the comparison between commits.

    *)
}
type nonrec post_comment_for_compared_commit_input = {
  1. client_request_token : client_request_token option;
    (*

    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.

    *)
  2. content : content;
    (*

    The content of the comment you want to make.

    *)
  3. location : location option;
    (*

    The location of the comparison where you want to comment.

    *)
  4. after_commit_id : commit_id;
    (*

    To establish the directionality of the comparison, the full commit ID of the after commit.

    *)
  5. before_commit_id : commit_id option;
    (*

    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.

    *)
  6. repository_name : repository_name;
    (*

    The name of the repository where you want to post a comment on the comparison between commits.

    *)
}
type nonrec override_status_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE.

type nonrec override_pull_request_approval_rules_input = {
  1. override_status : override_status;
    (*

    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.

    *)
  2. revision_id : revision_id;
    (*

    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.

    *)
  3. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.

    *)
}
type nonrec override_already_set_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request has already had its approval rules set to override.

type nonrec invalid_override_status_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The override status is not valid. Valid statuses are OVERRIDE and REVOKE.

type nonrec overridden = bool
type nonrec order_enum =
  1. | DESCENDING
  2. | ASCENDING
type nonrec operation_not_allowed_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The requested action is not allowed.

type nonrec object_type_enum =
  1. | DIRECTORY
  2. | FILE
type nonrec object_types = {
  1. base : object_type_enum option;
    (*

    The type of the object in the base commit of the merge.

    *)
  2. destination : object_type_enum option;
    (*

    The type of the object in the destination branch.

    *)
  3. source : object_type_enum option;
    (*

    The type of the object in the source branch.

    *)
}

Information about the type of an object in a merge operation.

type nonrec object_size = Smaws_Lib.CoreTypes.Int64.t
type nonrec number_of_rules_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The approval rule cannot be added. The pull request has the maximum number of approval rules associated with it.

type nonrec number_of_rule_templates_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region.

type nonrec number_of_conflicts = int
type nonrec no_change_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec next_token = string
type nonrec multiple_repositories_in_pull_request_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec multiple_conflict_resolution_entries_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.

type nonrec mode = string
type nonrec merge_pull_request_by_three_way_output = {
  1. pull_request : pull_request option;
}
type nonrec conflict_detail_level_type_enum =
  1. | LINE_LEVEL
  2. | FILE_LEVEL
type nonrec conflict_resolution_strategy_type_enum =
  1. | AUTOMERGE
  2. | ACCEPT_DESTINATION
  3. | ACCEPT_SOURCE
  4. | NONE
type nonrec keep_empty_folders = bool
type nonrec delete_file_entry = {
  1. file_path : path;
    (*

    The full path of the file to be deleted, including the name of the file.

    *)
}

A file that is deleted as part of a commit.

type nonrec delete_file_entries = delete_file_entry list
type nonrec conflict_resolution = {
  1. set_file_modes : set_file_mode_entries option;
    (*

    File modes that are set as part of the merge conflict resolution.

    *)
  2. delete_files : delete_file_entries option;
    (*

    Files to be deleted as part of the merge conflict resolution.

    *)
  3. replace_contents : replace_content_entries option;
    (*

    Files to have content replaced as part of the merge conflict resolution.

    *)
}

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

type nonrec merge_pull_request_by_three_way_input = {
  1. conflict_resolution : conflict_resolution option;
    (*

    If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

    *)
  2. keep_empty_folders : keep_empty_folders option;
    (*

    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.

    *)
  3. email : email option;
    (*

    The email address of the person merging the branches. This information is used in the commit information for the merge.

    *)
  4. author_name : name option;
    (*

    The name of the author who created the commit. This information is used as both the author and committer for the commit.

    *)
  5. commit_message : message option;
    (*

    The commit message to include in the commit information for the merge.

    *)
  6. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  7. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  8. source_commit_id : object_id option;
    (*

    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.

    *)
  9. repository_name : repository_name;
    (*

    The name of the repository where the pull request was created.

    *)
  10. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec maximum_items_to_compare_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.

type nonrec maximum_file_content_to_load_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The number of files to load exceeds the allowed limit.

type nonrec maximum_conflict_resolution_entries_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The number of allowed conflict resolution entries was exceeded.

type nonrec manual_merge_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.

type nonrec invalid_replacement_type_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

Automerge was specified for resolving the conflict, but the specified replacement type is not valid.

type nonrec invalid_replacement_content_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing.

type nonrec invalid_conflict_resolution_strategy_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified conflict resolution strategy is not valid.

type nonrec invalid_conflict_resolution_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified conflict resolution list is not valid.

type nonrec invalid_conflict_detail_level_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified conflict detail level is not valid.

type nonrec concurrent_reference_update_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec merge_pull_request_by_squash_output = {
  1. pull_request : pull_request option;
}
type nonrec merge_pull_request_by_squash_input = {
  1. conflict_resolution : conflict_resolution option;
    (*

    If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

    *)
  2. keep_empty_folders : keep_empty_folders option;
    (*

    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.

    *)
  3. email : email option;
    (*

    The email address of the person merging the branches. This information is used in the commit information for the merge.

    *)
  4. author_name : name option;
    (*

    The name of the author who created the commit. This information is used as both the author and committer for the commit.

    *)
  5. commit_message : message option;
    (*

    The commit message to include in the commit information for the merge.

    *)
  6. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  7. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  8. source_commit_id : object_id option;
    (*

    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.

    *)
  9. repository_name : repository_name;
    (*

    The name of the repository where the pull request was created.

    *)
  10. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec merge_pull_request_by_fast_forward_output = {
  1. pull_request : pull_request option;
    (*

    Information about the specified pull request, including the merge.

    *)
}
type nonrec merge_pull_request_by_fast_forward_input = {
  1. source_commit_id : object_id option;
    (*

    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.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository where the pull request was created.

    *)
  3. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec merge_options = merge_option_type_enum list
type nonrec merge_option_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A merge option or stategy is required, and none was provided.

type nonrec change_type_enum =
  1. | DELETED
  2. | MODIFIED
  3. | ADDED
type nonrec merge_operations = {
  1. destination : change_type_enum option;
    (*

    The operation on a file in the destination of a merge or pull request.

    *)
  2. source : change_type_enum option;
    (*

    The operation (add, modify, or delete) on a file in the source of a merge or pull request.

    *)
}

Information about the file operation conflicts in a merge operation.

type nonrec is_hunk_conflict = bool
type nonrec line_number = int
type nonrec hunk_content = string
type nonrec merge_hunk_detail = {
  1. hunk_content : hunk_content option;
    (*

    The base-64 encoded content of the hunk merged region that might contain a conflict.

    *)
  2. end_line : line_number option;
    (*

    The end position of the hunk in the merge result.

    *)
  3. start_line : line_number option;
    (*

    The start position of the hunk in the merge result.

    *)
}

Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.

type nonrec merge_hunk = {
  1. base : merge_hunk_detail option;
    (*

    Information about the merge hunk in the base of a merge or pull request.

    *)
  2. destination : merge_hunk_detail option;
    (*

    Information about the merge hunk in the destination of a merge or pull request.

    *)
  3. source : merge_hunk_detail option;
    (*

    Information about the merge hunk in the source of a merge or pull request.

    *)
  4. is_conflict : is_hunk_conflict option;
    (*

    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.

    *)
}

Information about merge hunks in a merge or pull request operation.

type nonrec merge_hunks = merge_hunk list
type nonrec merge_branches_by_three_way_output = {
  1. tree_id : object_id option;
    (*

    The tree ID of the merge in the destination or target branch.

    *)
  2. commit_id : object_id option;
    (*

    The commit ID of the merge in the destination or target branch.

    *)
}
type nonrec commit_name = string
type nonrec merge_branches_by_three_way_input = {
  1. conflict_resolution : conflict_resolution option;
    (*

    If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

    *)
  2. keep_empty_folders : keep_empty_folders option;
    (*

    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.

    *)
  3. commit_message : message option;
    (*

    The commit message to include in the commit information for the merge.

    *)
  4. email : email option;
    (*

    The email address of the person merging the branches. This information is used in the commit information for the merge.

    *)
  5. author_name : name option;
    (*

    The name of the author who created the commit. This information is used as both the author and committer for the commit.

    *)
  6. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  7. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  8. target_branch : branch_name option;
    (*

    The branch where the merge is applied.

    *)
  9. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  10. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  11. repository_name : repository_name;
    (*

    The name of the repository where you want to merge two branches.

    *)
}
type nonrec invalid_target_branch_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified target branch is not valid.

type nonrec invalid_commit_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified commit is not valid.

type nonrec file_mode_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The commit cannot be created because no file mode has been specified. A file mode is required to update mode permissions for a file.

type nonrec commit_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A commit was not specified.

type nonrec merge_branches_by_squash_output = {
  1. tree_id : object_id option;
    (*

    The tree ID of the merge in the destination or target branch.

    *)
  2. commit_id : object_id option;
    (*

    The commit ID of the merge in the destination or target branch.

    *)
}
type nonrec merge_branches_by_squash_input = {
  1. conflict_resolution : conflict_resolution option;
    (*

    If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

    *)
  2. keep_empty_folders : keep_empty_folders option;
    (*

    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.

    *)
  3. commit_message : message option;
    (*

    The commit message for the merge.

    *)
  4. email : email option;
    (*

    The email address of the person merging the branches. This information is used in the commit information for the merge.

    *)
  5. author_name : name option;
    (*

    The name of the author who created the commit. This information is used as both the author and committer for the commit.

    *)
  6. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  7. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  8. target_branch : branch_name option;
    (*

    The branch where the merge is applied.

    *)
  9. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  10. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  11. repository_name : repository_name;
    (*

    The name of the repository where you want to merge two branches.

    *)
}
type nonrec merge_branches_by_fast_forward_output = {
  1. tree_id : object_id option;
    (*

    The tree ID of the merge in the destination or target branch.

    *)
  2. commit_id : object_id option;
    (*

    The commit ID of the merge in the destination or target branch.

    *)
}
type nonrec merge_branches_by_fast_forward_input = {
  1. target_branch : branch_name option;
    (*

    The branch where the merge is applied.

    *)
  2. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  3. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  4. repository_name : repository_name;
    (*

    The name of the repository where you want to merge two branches.

    *)
}
type nonrec maximum_rule_templates_associated_with_repository_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec maximum_repository_names_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The maximum number of allowed repository names was exceeded. Currently, this number is 100.

type nonrec maximum_open_pull_requests_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec maximum_file_entries_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec max_results = int
type nonrec list_tags_for_resource_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that allows the operation to batch the next results of the operation.

    *)
  2. tags : tags_map option;
    (*

    A list of tag key and value pairs associated with the specified resource.

    *)
}
type nonrec list_tags_for_resource_input = {
  1. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  2. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.

    *)
}
type nonrec list_repositories_output = {
  1. next_token : next_token option;
    (*

    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.

    *)
  2. repositories : repository_name_id_pair_list option;
    (*

    Lists the repositories called by the list repositories operation.

    *)
}

Represents the output of a list repositories operation.

type nonrec list_repositories_input = {
  1. order : order_enum option;
    (*

    The order in which to sort the results of a list repositories operation.

    *)
  2. sort_by : sort_by_enum option;
    (*

    The criteria used to sort the results of a list repositories operation.

    *)
  3. next_token : next_token option;
    (*

    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.

    *)
}

Represents the input of a list repositories operation.

type nonrec list_repositories_for_approval_rule_template_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that allows the operation to batch the next results of the operation.

    *)
  2. repository_names : repository_name_list option;
    (*

    A list of repository names that are associated with the specified approval rule template.

    *)
}
type nonrec list_repositories_for_approval_rule_template_input = {
  1. max_results : max_results option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  3. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the approval rule template for which you want to list repositories that are associated with that template.

    *)
}
type nonrec invalid_max_results_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified number of maximum results is not valid.

type nonrec invalid_continuation_token_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified continuation token is not valid.

type nonrec invalid_sort_by_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified sort by value is not valid.

type nonrec invalid_order_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified sort order is not valid.

type nonrec list_pull_requests_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that allows the operation to batch the next results of the operation.

    *)
  2. pull_request_ids : pull_request_id_list;
    (*

    The system-generated IDs of the pull requests.

    *)
}
type nonrec list_pull_requests_input = {
  1. max_results : max_results option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  3. pull_request_status : pull_request_status_enum option;
    (*

    Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.

    *)
  4. author_arn : arn option;
    (*

    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.

    *)
  5. repository_name : repository_name;
    (*

    The name of the repository for which you want to list pull requests.

    *)
}
type nonrec invalid_author_arn_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec author_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.

type nonrec list_file_commit_history_response = {
  1. next_token : next_token option;
    (*

    An enumeration token that can be used to return the next batch of results.

    *)
  2. revision_dag : revision_dag;
    (*

    An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.

    *)
}
type nonrec limit = int
type nonrec list_file_commit_history_request = {
  1. next_token : next_token option;
    (*

    An enumeration token that allows the operation to batch the results.

    *)
  2. max_results : limit option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results.

    *)
  3. file_path : path;
    (*

    The full path of the file whose history you want to retrieve, including the name of the file.

    *)
  4. commit_specifier : commit_name option;
    (*

    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.

    *)
  5. repository_name : repository_name;
    (*

    The name of the repository that contains the file.

    *)
}
type nonrec list_branches_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that returns the batch of the results.

    *)
  2. branches : branch_name_list option;
    (*

    The list of branch names.

    *)
}

Represents the output of a list branches operation.

type nonrec list_branches_input = {
  1. next_token : next_token option;
    (*

    An enumeration token that allows the operation to batch the results.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository that contains the branches.

    *)
}

Represents the input of a list branches operation.

type nonrec approval_rule_template_name_list = approval_rule_template_name list
type nonrec list_associated_approval_rule_templates_for_repository_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that allows the operation to batch the next results of the operation.

    *)
  2. approval_rule_template_names : approval_rule_template_name_list option;
    (*

    The names of all approval rule templates associated with the repository.

    *)
}
type nonrec list_associated_approval_rule_templates_for_repository_input = {
  1. max_results : max_results option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  3. repository_name : repository_name;
    (*

    The name of the repository for which you want to list all associated approval rule templates.

    *)
}
type nonrec list_approval_rule_templates_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that allows the operation to batch the next results of the operation.

    *)
  2. approval_rule_template_names : approval_rule_template_name_list option;
    (*

    The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account.

    *)
}
type nonrec list_approval_rule_templates_input = {
  1. max_results : max_results option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
}
type nonrec is_object_type_conflict = bool
type nonrec is_mergeable = bool
type nonrec is_file_mode_conflict = bool
type nonrec is_content_conflict = bool
type nonrec capital_boolean = bool
type nonrec is_binary_file = {
  1. base : capital_boolean option;
    (*

    The binary or non-binary status of a file in the base of a merge or pull request.

    *)
  2. destination : capital_boolean option;
    (*

    The binary or non-binary status of a file in the destination of a merge or pull request.

    *)
  3. source : capital_boolean option;
    (*

    The binary or non-binary status of file in the source of a merge or pull request.

    *)
}

Information about whether a file is binary or textual in a merge or pull request operation.

type nonrec invalid_targets_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec invalid_target_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec invalid_source_commit_specifier_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.

type nonrec invalid_reference_name_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified reference name format is not valid. Reference names must conform to the Git references format (for example, refs/heads/main). For more information, see Git Internals - Git References or consult your Git documentation.

type nonrec invalid_reaction_user_arn_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The Amazon Resource Name (ARN) of the user or identity is not valid.

type nonrec invalid_pull_request_event_type_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The pull request event type is not valid.

type nonrec invalid_merge_option_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations.

type nonrec invalid_max_merge_hunks_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified value for the number of merge hunks to return is not valid.

type nonrec invalid_max_conflict_files_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified value for the number of conflict files to return is not valid.

type nonrec invalid_destination_commit_specifier_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.

type nonrec invalid_blob_id_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified blob is not valid.

type nonrec invalid_actor_arn_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec get_repository_triggers_output = {
  1. triggers : repository_triggers_list option;
    (*

    The JSON block of configuration information for each trigger.

    *)
  2. configuration_id : repository_triggers_configuration_id option;
    (*

    The system-generated unique ID for the trigger.

    *)
}

Represents the output of a get repository triggers operation.

type nonrec get_repository_triggers_input = {
  1. repository_name : repository_name;
    (*

    The name of the repository for which the trigger is configured.

    *)
}

Represents the input of a get repository triggers operation.

type nonrec get_repository_output = {
  1. repository_metadata : repository_metadata option;
    (*

    Information about the repository.

    *)
}

Represents the output of a get repository operation.

type nonrec get_repository_input = {
  1. repository_name : repository_name;
    (*

    The name of the repository to get information about.

    *)
}

Represents the input of a get repository operation.

type nonrec get_pull_request_override_state_output = {
  1. overrider : arn option;
    (*

    The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

    *)
  2. overridden : overridden option;
    (*

    A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).

    *)
}
type nonrec get_pull_request_override_state_input = {
  1. revision_id : revision_id;
    (*

    The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.

    *)
  2. pull_request_id : pull_request_id;
    (*

    The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).

    *)
}
type nonrec get_pull_request_output = {
  1. pull_request : pull_request;
    (*

    Information about the specified pull request.

    *)
}
type nonrec get_pull_request_input = {
  1. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec approval = {
  1. approval_state : approval_state option;
    (*

    The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.

    *)
  2. user_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the user.

    *)
}

Returns information about a specific approval on a pull request.

type nonrec approval_list = approval list
type nonrec get_pull_request_approval_states_output = {
  1. approvals : approval_list option;
    (*

    Information about users who have approved the pull request.

    *)
}
type nonrec get_pull_request_approval_states_input = {
  1. revision_id : revision_id;
    (*

    The system-generated ID for the pull request revision.

    *)
  2. pull_request_id : pull_request_id;
    (*

    The system-generated ID for the pull request.

    *)
}
type nonrec get_merge_options_output = {
  1. base_commit_id : object_id;
    (*

    The commit ID of the merge base.

    *)
  2. destination_commit_id : object_id;
    (*

    The commit ID of the destination commit specifier that was used in the merge evaluation.

    *)
  3. source_commit_id : object_id;
    (*

    The commit ID of the source commit specifier that was used in the merge evaluation.

    *)
  4. merge_options : merge_options;
    (*

    The merge option or strategy used to merge the code.

    *)
}
type nonrec get_merge_options_input = {
  1. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  2. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  3. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  4. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  5. repository_name : repository_name;
    (*

    The name of the repository that contains the commits about which you want to get merge options.

    *)
}
type nonrec file_size = Smaws_Lib.CoreTypes.Int64.t
type nonrec file_sizes = {
  1. base : file_size option;
    (*

    The size of a file in the base of a merge or pull request.

    *)
  2. destination : file_size option;
    (*

    The size of a file in the destination of a merge or pull request.

    *)
  3. source : file_size option;
    (*

    The size of a file in the source of a merge or pull request.

    *)
}

Information about the size of files in a merge or pull request.

type nonrec file_modes = {
  1. base : file_mode_type_enum option;
    (*

    The file mode of a file in the base of a merge or pull request.

    *)
  2. destination : file_mode_type_enum option;
    (*

    The file mode of a file in the destination of a merge or pull request.

    *)
  3. source : file_mode_type_enum option;
    (*

    The file mode of a file in the source of a merge or pull request.

    *)
}

Information about file modes in a merge or pull request.

type nonrec conflict_metadata = {
  1. merge_operations : merge_operations option;
    (*

    Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.

    *)
  2. object_type_conflict : is_object_type_conflict option;
    (*

    A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.

    *)
  3. file_mode_conflict : is_file_mode_conflict option;
    (*

    A boolean value indicating whether there are conflicts in the file mode of a file.

    *)
  4. content_conflict : is_content_conflict option;
    (*

    A boolean value indicating whether there are conflicts in the content of a file.

    *)
  5. is_binary_file : is_binary_file option;
    (*

    A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.

    *)
  6. number_of_conflicts : number_of_conflicts option;
    (*

    The number of conflicts, including both hunk conflicts and metadata conflicts.

    *)
  7. object_types : object_types option;
    (*

    Information about any object type conflicts in a merge operation.

    *)
  8. file_modes : file_modes option;
    (*

    The file modes of the file in the source, destination, and base of the merge.

    *)
  9. file_sizes : file_sizes option;
    (*

    The file sizes of the file in the source, destination, and base of the merge.

    *)
  10. file_path : path option;
    (*

    The path of the file that contains conflicts.

    *)
}

Information about the metadata for a conflict in a merge operation.

type nonrec conflict_metadata_list = conflict_metadata list
type nonrec get_merge_conflicts_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  2. conflict_metadata_list : conflict_metadata_list;
    (*

    A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.

    *)
  3. base_commit_id : object_id option;
    (*

    The commit ID of the merge base.

    *)
  4. source_commit_id : object_id;
    (*

    The commit ID of the source commit specifier that was used in the merge evaluation.

    *)
  5. destination_commit_id : object_id;
    (*

    The commit ID of the destination commit specifier that was used in the merge evaluation.

    *)
  6. mergeable : is_mergeable;
    (*

    A Boolean value that indicates whether the code is mergeable by the specified merge option.

    *)
}
type nonrec get_merge_conflicts_input = {
  1. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  2. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  3. max_conflict_files : max_results option;
    (*

    The maximum number of files to include in the output.

    *)
  4. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  5. merge_option : merge_option_type_enum;
    (*

    The merge option or strategy you want to use to merge the code.

    *)
  6. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  7. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  8. repository_name : repository_name;
    (*

    The name of the repository where the pull request was created.

    *)
}
type nonrec get_merge_commit_output = {
  1. merged_commit_id : object_id option;
    (*

    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.

    *)
  2. base_commit_id : object_id option;
    (*

    The commit ID of the merge base.

    *)
  3. destination_commit_id : object_id option;
    (*

    The commit ID of the destination commit specifier that was used in the merge evaluation.

    *)
  4. source_commit_id : object_id option;
    (*

    The commit ID of the source commit specifier that was used in the merge evaluation.

    *)
}
type nonrec get_merge_commit_input = {
  1. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  2. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  3. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  4. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  5. repository_name : repository_name;
    (*

    The name of the repository that contains the merge commit about which you want to get information.

    *)
}
type nonrec folder = {
  1. relative_path : path option;
    (*

    The relative path of the specified folder from the folder where the query originated.

    *)
  2. absolute_path : path option;
    (*

    The fully qualified path of the folder in the repository.

    *)
  3. tree_id : object_id option;
    (*

    The full SHA-1 pointer of the tree information for the commit that contains the folder.

    *)
}

Returns information about a folder in a repository.

type nonrec folder_list = folder list
type nonrec file = {
  1. file_mode : file_mode_type_enum option;
    (*

    The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

    *)
  2. relative_path : path option;
    (*

    The relative path of the file from the folder where the query originated.

    *)
  3. absolute_path : path option;
    (*

    The fully qualified path to the file in the repository.

    *)
  4. blob_id : object_id option;
    (*

    The blob ID that contains the file information.

    *)
}

Returns information about a file in a repository.

type nonrec file_list = file list
type nonrec get_folder_output = {
  1. sub_modules : sub_module_list option;
    (*

    The list of submodules in the specified folder, if any.

    *)
  2. files : file_list option;
    (*

    The list of files in the specified folder, if any.

    *)
  3. sub_folders : folder_list option;
    (*

    The list of folders that exist under the specified folder, if any.

    *)
  4. tree_id : object_id option;
    (*

    The full SHA-1 pointer of the tree information for the commit that contains the folder.

    *)
  5. folder_path : path;
    (*

    The fully qualified path of the folder whose contents are returned.

    *)
  6. commit_id : object_id;
    (*

    The full commit ID used as a reference for the returned version of the folder content.

    *)
}
type nonrec get_folder_input = {
  1. folder_path : path;
    (*

    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.

    *)
  2. commit_specifier : commit_name option;
    (*

    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.

    *)
  3. repository_name : repository_name;
    (*

    The name of the repository.

    *)
}
type nonrec folder_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified folder does not exist. Either the folder name is not correct, or you did not enter the full path to the folder.

type nonrec get_file_output = {
  1. file_content : file_content;
    (*

    The base-64 encoded binary data object that represents the content of the file.

    *)
  2. file_size : object_size;
    (*

    The size of the contents of the file, in bytes.

    *)
  3. file_mode : file_mode_type_enum;
    (*

    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.

    *)
  4. file_path : path;
    (*

    The fully qualified path to the specified file. Returns the name and extension of the file.

    *)
  5. blob_id : object_id;
    (*

    The blob ID of the object that represents the file content.

    *)
  6. commit_id : object_id;
    (*

    The full commit ID of the commit that contains the content returned by GetFile.

    *)
}
type nonrec get_file_input = {
  1. file_path : path;
    (*

    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.

    *)
  2. commit_specifier : commit_name option;
    (*

    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.

    *)
  3. repository_name : repository_name;
    (*

    The name of the repository that contains the file.

    *)
}
type nonrec file_too_large_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide.

type nonrec file_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified file does not exist. Verify that you have used the correct file name, full path, and extension.

type nonrec blob_metadata = {
  1. mode : mode option;
    (*

    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
    *)
  2. path : path option;
    (*

    The path to the blob and associated file name, if any.

    *)
  3. blob_id : object_id option;
    (*

    The full ID of the blob.

    *)
}

Returns information about a specific Git blob object.

type nonrec difference = {
  1. change_type : change_type_enum option;
    (*

    Whether the change type of the difference is an addition (A), deletion (D), or modification (M).

    *)
  2. after_blob : blob_metadata option;
    (*

    Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.

    *)
  3. before_blob : blob_metadata option;
    (*

    Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.

    *)
}

Returns information about a set of differences for a commit specifier.

type nonrec difference_list = difference list
type nonrec get_differences_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  2. differences : difference_list option;
    (*

    A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).

    *)
}
type nonrec get_differences_input = {
  1. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  2. max_results : limit option;
    (*

    A non-zero, non-negative integer used to limit the number of returned results.

    *)
  3. after_path : path option;
    (*

    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.

    *)
  4. before_path : path option;
    (*

    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.

    *)
  5. after_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit.

    *)
  6. before_commit_specifier : commit_name option;
    (*

    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.

    *)
  7. repository_name : repository_name;
    (*

    The name of the repository where you want to get differences.

    *)
}
type nonrec get_commit_output = {
  1. commit : commit;
    (*

    A commit data type object that contains information about the specified commit.

    *)
}

Represents the output of a get commit operation.

type nonrec get_commit_input = {
  1. commit_id : object_id;
    (*

    The commit ID. Commit IDs are the full SHA ID of the commit.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository to which the commit was made.

    *)
}

Represents the input of a get commit operation.

type nonrec commit_id_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified commit ID does not exist.

type nonrec comments = comment list
type nonrec comments_for_pull_request = {
  1. comments : comments option;
    (*

    An array of comment objects. Each comment object contains information about a comment on the pull request.

    *)
  2. location : location option;
    (*

    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).

    *)
  3. after_blob_id : object_id option;
    (*

    The full blob ID of the file on which you want to comment on the source commit.

    *)
  4. before_blob_id : object_id option;
    (*

    The full blob ID of the file on which you want to comment on the destination commit.

    *)
  5. after_commit_id : commit_id option;
    (*

    The full commit ID of the commit that was the tip of the source branch at the time the comment was made.

    *)
  6. before_commit_id : commit_id option;
    (*

    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.

    *)
  7. repository_name : repository_name option;
    (*

    The name of the repository that contains the pull request.

    *)
  8. pull_request_id : pull_request_id option;
    (*

    The system-generated ID of the pull request.

    *)
}

Returns information about comments on a pull request.

type nonrec comments_for_pull_request_data = comments_for_pull_request list
type nonrec get_comments_for_pull_request_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  2. comments_for_pull_request_data : comments_for_pull_request_data option;
    (*

    An array of comment objects on the pull request.

    *)
}
type nonrec get_comments_for_pull_request_input = {
  1. max_results : max_results option;
    (*

    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.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  3. after_commit_id : commit_id option;
    (*

    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.

    *)
  4. before_commit_id : commit_id option;
    (*

    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.

    *)
  5. repository_name : repository_name option;
    (*

    The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included.

    *)
  6. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec comments_for_compared_commit = {
  1. comments : comments option;
    (*

    An array of comment objects. Each comment object contains information about a comment on the comparison between commits.

    *)
  2. location : location option;
    (*

    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.

    *)
  3. after_blob_id : object_id option;
    (*

    The full blob ID of the commit used to establish the after of the comparison.

    *)
  4. before_blob_id : object_id option;
    (*

    The full blob ID of the commit used to establish the before of the comparison.

    *)
  5. after_commit_id : commit_id option;
    (*

    The full commit ID of the commit used to establish the after of the comparison.

    *)
  6. before_commit_id : commit_id option;
    (*

    The full commit ID of the commit used to establish the before of the comparison.

    *)
  7. repository_name : repository_name option;
    (*

    The name of the repository that contains the compared commits.

    *)
}

Returns information about comments on the comparison between two commits.

type nonrec comments_for_compared_commit_data = comments_for_compared_commit list
type nonrec get_comments_for_compared_commit_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  2. comments_for_compared_commit_data : comments_for_compared_commit_data option;
    (*

    A list of comment objects on the compared commit.

    *)
}
type nonrec get_comments_for_compared_commit_input = {
  1. max_results : max_results option;
    (*

    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.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that when provided in a request, returns the next batch of the results.

    *)
  3. after_commit_id : commit_id;
    (*

    To establish the directionality of the comparison, the full commit ID of the after commit.

    *)
  4. before_commit_id : commit_id option;
    (*

    To establish the directionality of the comparison, the full commit ID of the before commit.

    *)
  5. repository_name : repository_name;
    (*

    The name of the repository where you want to compare commits.

    *)
}
type nonrec get_comment_reactions_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  2. reactions_for_comment : reactions_for_comment_list;
    (*

    An array of reactions to the specified comment.

    *)
}
type nonrec get_comment_reactions_input = {
  1. max_results : max_results option;
    (*

    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.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  3. reaction_user_arn : arn option;
    (*

    Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.

    *)
  4. comment_id : comment_id;
    (*

    The ID of the comment for which you want to get reactions information.

    *)
}
type nonrec get_comment_output = {
  1. comment : comment option;
    (*

    The contents of the comment.

    *)
}
type nonrec get_comment_input = {
  1. comment_id : comment_id;
    (*

    The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

    *)
}
type nonrec branch_info = {
  1. commit_id : commit_id option;
    (*

    The ID of the last commit made to the branch.

    *)
  2. branch_name : branch_name option;
    (*

    The name of the branch.

    *)
}

Returns information about a branch.

type nonrec get_branch_output = {
  1. branch : branch_info option;
    (*

    The name of the branch.

    *)
}

Represents the output of a get branch operation.

type nonrec get_branch_input = {
  1. branch_name : branch_name option;
    (*

    The name of the branch for which you want to retrieve information.

    *)
  2. repository_name : repository_name option;
    (*

    The name of the repository that contains the branch for which you want to retrieve information.

    *)
}

Represents the input of a get branch operation.

type nonrec get_blob_output = {
  1. content : blob;
    (*

    The content of the blob, usually a file.

    *)
}

Represents the output of a get blob operation.

type nonrec get_blob_input = {
  1. blob_id : object_id;
    (*

    The ID of the blob, which is its SHA-1 pointer.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository that contains the blob.

    *)
}

Represents the input of a get blob operation.

type nonrec blob_id_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A blob ID is required, but was not specified.

type nonrec blob_id_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified blob does not exist.

type nonrec get_approval_rule_template_output = {
  1. approval_rule_template : approval_rule_template;
    (*

    The content and structure of the approval rule template.

    *)
}
type nonrec get_approval_rule_template_input = {
  1. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the approval rule template for which you want to get information.

    *)
}
type nonrec file_metadata = {
  1. file_mode : file_mode_type_enum option;
    (*

    The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

    *)
  2. blob_id : object_id option;
    (*

    The blob ID that contains the file information.

    *)
  3. absolute_path : path option;
    (*

    The full path to the file to be added or updated, including the name of the file.

    *)
}

A file to be added, updated, or deleted as part of a commit.

type nonrec files_metadata = file_metadata list
type nonrec file_paths = path list
type nonrec file_entry_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The commit cannot be created because no files have been specified as added, updated, or changed (PutFile or DeleteFile) for the commit.

type nonrec file_content_and_source_file_specified_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec exception_name = string
type nonrec approved = bool
type nonrec approval_rules_satisfied_list = approval_rule_name list
type nonrec approval_rules_not_satisfied_list = approval_rule_name list
type nonrec evaluation = {
  1. approval_rules_not_satisfied : approval_rules_not_satisfied_list option;
    (*

    The names of the approval rules that have not had their conditions met.

    *)
  2. approval_rules_satisfied : approval_rules_satisfied_list option;
    (*

    The names of the approval rules that have had their conditions met.

    *)
  3. overridden : overridden option;
    (*

    Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.

    *)
  4. approved : approved option;
    (*

    Whether the state of the pull request is approved.

    *)
}

Returns information about the approval rules applied to a pull request and whether conditions have been met.

type nonrec evaluate_pull_request_approval_rules_output = {
  1. 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.

    *)
}
type nonrec evaluate_pull_request_approval_rules_input = {
  1. revision_id : revision_id;
    (*

    The system-generated ID for the pull request revision. To retrieve the most recent revision ID for a pull request, use GetPullRequest.

    *)
  2. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request you want to evaluate.

    *)
}
type nonrec error_message = string
type nonrec error_code = string
type nonrec disassociate_approval_rule_template_from_repository_input = {
  1. repository_name : repository_name;
    (*

    The name of the repository you want to disassociate from the template.

    *)
  2. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the approval rule template to disassociate from a specified repository.

    *)
}
type nonrec describe_pull_request_events_output = {
  1. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  2. pull_request_events : pull_request_event_list;
    (*

    Information about the pull request events.

    *)
}
type nonrec describe_pull_request_events_input = {
  1. max_results : max_results option;
    (*

    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.

    *)
  2. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  3. actor_arn : arn option;
    (*

    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.

    *)
  4. pull_request_event_type : pull_request_event_type option;
    (*

    Optional. The pull request event type about which you want to return information.

    *)
  5. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    *)
}
type nonrec actor_does_not_exist_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.

type nonrec describe_merge_conflicts_output = {
  1. base_commit_id : object_id option;
    (*

    The commit ID of the merge base.

    *)
  2. source_commit_id : object_id;
    (*

    The commit ID of the source commit specifier that was used in the merge evaluation.

    *)
  3. destination_commit_id : object_id;
    (*

    The commit ID of the destination commit specifier that was used in the merge evaluation.

    *)
  4. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  5. merge_hunks : merge_hunks;
    (*

    A list of merge hunks of the differences between the files or lines.

    *)
  6. conflict_metadata : conflict_metadata;
    (*

    Contains metadata about the conflicts found in the merge.

    *)
}
type nonrec describe_merge_conflicts_input = {
  1. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  2. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  3. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  4. file_path : path;
    (*

    The path of the target files used to describe the conflicts.

    *)
  5. max_merge_hunks : max_results option;
    (*

    The maximum number of merge hunks to include in the output.

    *)
  6. merge_option : merge_option_type_enum;
    (*

    The merge option or strategy you want to use to merge the code.

    *)
  7. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  8. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  9. repository_name : repository_name;
    (*

    The name of the repository where you want to get information about a merge conflict.

    *)
}
type nonrec delete_repository_output = {
  1. repository_id : repository_id option;
    (*

    The ID of the repository that was deleted.

    *)
}

Represents the output of a delete repository operation.

type nonrec delete_repository_input = {
  1. repository_name : repository_name;
    (*

    The name of the repository to delete.

    *)
}

Represents the input of a delete repository operation.

type nonrec delete_pull_request_approval_rule_output = {
  1. approval_rule_id : approval_rule_id;
    (*

    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.

    *)
}
type nonrec delete_pull_request_approval_rule_input = {
  1. approval_rule_name : approval_rule_name;
    (*

    The name of the approval rule you want to delete.

    *)
  2. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request that contains the approval rule you want to delete.

    *)
}
type nonrec cannot_delete_approval_rule_from_template_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec delete_file_output = {
  1. file_path : path;
    (*

    The fully qualified path to the file to be deleted, including the full name and extension of that file.

    *)
  2. tree_id : object_id;
    (*

    The full SHA-1 pointer of the tree information for the commit that contains the delete file change.

    *)
  3. blob_id : object_id;
    (*

    The blob ID removed from the tree as part of deleting the file.

    *)
  4. commit_id : object_id;
    (*

    The full commit ID of the commit that contains the change that deletes the file.

    *)
}
type nonrec delete_file_input = {
  1. email : email option;
    (*

    The email address for the commit that deletes the file. If no email address is specified, the email address is left blank.

    *)
  2. name : name option;
    (*

    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.

    *)
  3. commit_message : message option;
    (*

    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.

    *)
  4. keep_empty_folders : keep_empty_folders option;
    (*

    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.

    *)
  5. parent_commit_id : commit_id;
    (*

    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.

    *)
  6. file_path : path;
    (*

    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.

    *)
  7. branch_name : branch_name;
    (*

    The name of the branch where the commit that deletes the file is made.

    *)
  8. repository_name : repository_name;
    (*

    The name of the repository that contains the file to delete.

    *)
}
type nonrec delete_comment_content_output = {
  1. comment : comment option;
    (*

    Information about the comment you just deleted.

    *)
}
type nonrec delete_comment_content_input = {
  1. comment_id : comment_id;
    (*

    The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

    *)
}
type nonrec delete_branch_output = {
  1. deleted_branch : branch_info option;
    (*

    Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.

    *)
}

Represents the output of a delete branch operation.

type nonrec delete_branch_input = {
  1. branch_name : branch_name;
    (*

    The name of the branch to delete.

    *)
  2. repository_name : repository_name;
    (*

    The name of the repository that contains the branch to be deleted.

    *)
}

Represents the input of a delete branch operation.

type nonrec default_branch_cannot_be_deleted_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec delete_approval_rule_template_output = {
  1. approval_rule_template_id : approval_rule_template_id;
    (*

    The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.

    *)
}
type nonrec delete_approval_rule_template_input = {
  1. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the approval rule template to delete.

    *)
}
type nonrec approval_rule_template_in_use_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec create_unreferenced_merge_commit_output = {
  1. tree_id : object_id option;
    (*

    The full SHA-1 pointer of the tree information for the commit that contains the merge results.

    *)
  2. commit_id : object_id option;
    (*

    The full commit ID of the commit that contains your merge results.

    *)
}
type nonrec create_unreferenced_merge_commit_input = {
  1. conflict_resolution : conflict_resolution option;
    (*

    If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

    *)
  2. keep_empty_folders : keep_empty_folders option;
    (*

    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.

    *)
  3. commit_message : message option;
    (*

    The commit message for the unreferenced commit.

    *)
  4. email : email option;
    (*

    The email address for the person who created the unreferenced commit.

    *)
  5. author_name : name option;
    (*

    The name of the author who created the unreferenced commit. This information is used as both the author and committer for the commit.

    *)
  6. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  7. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  8. merge_option : merge_option_type_enum;
    (*

    The merge option or strategy you want to use to merge the code.

    *)
  9. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  10. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  11. repository_name : repository_name;
    (*

    The name of the repository where you want to create the unreferenced merge commit.

    *)
}
type nonrec create_repository_output = {
  1. repository_metadata : repository_metadata option;
    (*

    Information about the newly created repository.

    *)
}

Represents the output of a create repository operation.

type nonrec create_repository_input = {
  1. kms_key_id : kms_key_id option;
    (*

    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.

    *)
  2. tags : tags_map option;
    (*

    One or more tag key-value pairs to use when tagging this repository.

    *)
  3. repository_description : repository_description option;
    (*

    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.

    *)
  4. repository_name : repository_name;
    (*

    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.

    *)
}

Represents the input of a create repository operation.

type nonrec create_pull_request_output = {
  1. pull_request : pull_request;
    (*

    Information about the newly created pull request.

    *)
}
type nonrec create_pull_request_input = {
  1. client_request_token : client_request_token option;
    (*

    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.

    *)
  2. targets : target_list;
    (*

    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).

    *)
  3. description : description option;
    (*

    A description of the pull request.

    *)
  4. title : title;
    (*

    The title of the pull request. This title is used to identify the pull request to other users in the repository.

    *)
}
type nonrec create_pull_request_approval_rule_output = {
  1. approval_rule : approval_rule;
    (*

    Information about the created approval rule.

    *)
}
type nonrec create_pull_request_approval_rule_input = {
  1. approval_rule_content : approval_rule_content;
    (*

    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.

    *)
  2. approval_rule_name : approval_rule_name;
    (*

    The name for the approval rule.

    *)
  3. pull_request_id : pull_request_id;
    (*

    The system-generated ID of the pull request for which you want to create the approval rule.

    *)
}
type nonrec approval_rule_name_already_exists_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

An approval rule with that name already exists. Approval rule names must be unique within the scope of a pull request.

type nonrec create_commit_output = {
  1. files_deleted : files_metadata option;
    (*

    The files deleted as part of the committed file changes.

    *)
  2. files_updated : files_metadata option;
    (*

    The files updated as part of the commited file changes.

    *)
  3. files_added : files_metadata option;
    (*

    The files added as part of the committed file changes.

    *)
  4. tree_id : object_id option;
    (*

    The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.

    *)
  5. commit_id : object_id option;
    (*

    The full commit ID of the commit that contains your committed file changes.

    *)
}
type nonrec create_commit_input = {
  1. set_file_modes : set_file_mode_entries option;
    (*

    The file modes to update for files in this commit.

    *)
  2. delete_files : delete_file_entries option;
    (*

    The files to delete in this commit. These files still exist in earlier commits.

    *)
  3. put_files : put_file_entries option;
    (*

    The files to add or update in this commit.

    *)
  4. keep_empty_folders : keep_empty_folders option;
    (*

    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.

    *)
  5. commit_message : message option;
    (*

    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.

    *)
  6. email : email option;
    (*

    The email address of the person who created the commit.

    *)
  7. author_name : name option;
    (*

    The name of the author who created the commit. This information is used as both the author and committer for the commit.

    *)
  8. parent_commit_id : commit_id option;
    (*

    The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.

    *)
  9. branch_name : branch_name;
    (*

    The name of the branch where you create the commit.

    *)
  10. repository_name : repository_name;
    (*

    The name of the repository where you create the commit.

    *)
}
type nonrec create_branch_input = {
  1. commit_id : commit_id;
    (*

    The ID of the commit to point the new branch to.

    *)
  2. branch_name : branch_name;
    (*

    The name of the new branch to create.

    *)
  3. repository_name : repository_name;
    (*

    The name of the repository in which you want to create the new branch.

    *)
}

Represents the input of a create branch operation.

type nonrec branch_name_exists_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec create_approval_rule_template_output = {
  1. approval_rule_template : approval_rule_template;
    (*

    The content and structure of the created approval rule template.

    *)
}
type nonrec create_approval_rule_template_input = {
  1. approval_rule_template_description : approval_rule_template_description option;
    (*

    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.

    *)
  2. approval_rule_template_content : approval_rule_template_content;
    (*

    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.

    *)
  3. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories.

    *)
}
type nonrec conflict = {
  1. merge_hunks : merge_hunks option;
    (*

    A list of hunks that contain the differences between files or lines causing the conflict.

    *)
  2. conflict_metadata : conflict_metadata option;
    (*

    Metadata about a conflict in a merge operation.

    *)
}

Information about conflicts in a merge operation.

type nonrec conflicts = conflict list
type nonrec commit_objects_list = commit list
type nonrec commit_ids_list_required_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

A list of commit IDs is required, but was either not specified or the list was empty.

type nonrec commit_ids_limit_exceeded_exception = {
  1. message : message option;
    (*

    Any message associated with the exception.

    *)
}

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.

type nonrec commit_ids_input_list = object_id list
type nonrec batch_get_repositories_error_code_enum =
  1. | REPOSITORY_DOES_NOT_EXIST_EXCEPTION
  2. | ENCRYPTION_KEY_UNAVAILABLE_EXCEPTION
  3. | ENCRYPTION_KEY_NOT_FOUND_EXCEPTION
  4. | ENCRYPTION_KEY_DISABLED_EXCEPTION
  5. | ENCRYPTION_KEY_ACCESS_DENIED_EXCEPTION
  6. | ENCRYPTION_INTEGRITY_CHECKS_FAILED_EXCEPTION
type nonrec batch_get_repositories_error = {
  1. error_message : error_message option;
    (*

    An error message that provides detail about why the repository either was not found or was not in a valid state.

    *)
  2. error_code : batch_get_repositories_error_code_enum option;
    (*

    An error code that specifies the type of failure.

    *)
  3. repository_name : repository_name option;
    (*

    The name of a repository that either could not be found or was not in a valid state.

    *)
  4. repository_id : repository_id option;
    (*

    The ID of a repository that either could not be found or was not in a valid state.

    *)
}

Returns information about errors in a BatchGetRepositories operation.

type nonrec batch_get_repositories_errors_list = batch_get_repositories_error list
type nonrec batch_get_repositories_output = {
  1. errors : batch_get_repositories_errors_list option;
    (*

    Returns information about any errors returned when attempting to retrieve information about the repositories.

    *)
  2. repositories_not_found : repository_not_found_list option;
    (*

    Returns a list of repository names for which information could not be found.

    *)
  3. repositories : repository_metadata_list option;
    (*

    A list of repositories returned by the batch get repositories operation.

    *)
}

Represents the output of a batch get repositories operation.

type nonrec batch_get_repositories_input = {
  1. repository_names : repository_name_list;
    (*

    The names of the repositories to get information about.

    The length constraint limit is for each string in the array. The array itself can be empty.

    *)
}

Represents the input of a batch get repositories operation.

type nonrec batch_get_commits_error = {
  1. error_message : error_message option;
    (*

    An error message that provides detail about why the commit ID either was not found or was not valid.

    *)
  2. error_code : error_code option;
    (*

    An error code that specifies whether the commit ID was not valid or not found.

    *)
  3. commit_id : object_id option;
    (*

    A commit ID that either could not be found or was not in a valid format.

    *)
}

Returns information about errors in a BatchGetCommits operation.

type nonrec batch_get_commits_errors_list = batch_get_commits_error list
type nonrec batch_get_commits_output = {
  1. errors : batch_get_commits_errors_list option;
    (*

    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.

    *)
  2. commits : commit_objects_list option;
    (*

    An array of commit data type objects, each of which contains information about a specified commit.

    *)
}
type nonrec batch_get_commits_input = {
  1. repository_name : repository_name;
    (*

    The name of the repository that contains the commits.

    *)
  2. commit_ids : commit_ids_input_list;
    (*

    The full commit IDs of the commits to get information about.

    You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.

    *)
}
type nonrec batch_disassociate_approval_rule_template_from_repositories_error = {
  1. error_message : error_message option;
    (*

    An error message that provides details about why the repository name was either not found or not valid.

    *)
  2. error_code : error_code option;
    (*

    An error code that specifies whether the repository name was not valid or not found.

    *)
  3. repository_name : repository_name option;
    (*

    The name of the repository where the association with the template was not able to be removed.

    *)
}

Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.

type nonrec batch_disassociate_approval_rule_template_from_repositories_errors_list = batch_disassociate_approval_rule_template_from_repositories_error list
type nonrec batch_disassociate_approval_rule_template_from_repositories_output = {
  1. errors : batch_disassociate_approval_rule_template_from_repositories_errors_list;
    (*

    A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.

    *)
  2. disassociated_repository_names : repository_name_list;
    (*

    A list of repository names that have had their association with the template removed.

    *)
}
type nonrec batch_disassociate_approval_rule_template_from_repositories_input = {
  1. repository_names : repository_name_list;
    (*

    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.

    *)
  2. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the template that you want to disassociate from one or more repositories.

    *)
}
type nonrec batch_describe_merge_conflicts_error = {
  1. message : message;
    (*

    The message provided by the exception.

    *)
  2. exception_name : exception_name;
    (*

    The name of the exception.

    *)
  3. file_path : path;
    (*

    The path to the file.

    *)
}

Returns information about errors in a BatchDescribeMergeConflicts operation.

type nonrec batch_describe_merge_conflicts_errors = batch_describe_merge_conflicts_error list
type nonrec batch_describe_merge_conflicts_output = {
  1. base_commit_id : object_id option;
    (*

    The commit ID of the merge base.

    *)
  2. source_commit_id : object_id;
    (*

    The commit ID of the source commit specifier that was used in the merge evaluation.

    *)
  3. destination_commit_id : object_id;
    (*

    The commit ID of the destination commit specifier that was used in the merge evaluation.

    *)
  4. errors : batch_describe_merge_conflicts_errors option;
    (*

    A list of any errors returned while describing the merge conflicts for each file.

    *)
  5. next_token : next_token option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
  6. conflicts : conflicts;
    (*

    A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.

    *)
}
type nonrec batch_describe_merge_conflicts_input = {
  1. next_token : next_token option;
    (*

    An enumeration token that, when provided in a request, returns the next batch of the results.

    *)
  2. conflict_resolution_strategy : conflict_resolution_strategy_type_enum option;
    (*

    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.

    *)
  3. conflict_detail_level : conflict_detail_level_type_enum option;
    (*

    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.

    *)
  4. file_paths : file_paths option;
    (*

    The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.

    *)
  5. max_conflict_files : max_results option;
    (*

    The maximum number of files to include in the output.

    *)
  6. max_merge_hunks : max_results option;
    (*

    The maximum number of merge hunks to include in the output.

    *)
  7. merge_option : merge_option_type_enum;
    (*

    The merge option or strategy you want to use to merge the code.

    *)
  8. source_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  9. destination_commit_specifier : commit_name;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  10. repository_name : repository_name;
    (*

    The name of the repository that contains the merge conflicts you want to review.

    *)
}
type nonrec batch_associate_approval_rule_template_with_repositories_error = {
  1. error_message : error_message option;
    (*

    An error message that provides details about why the repository name was not found or not valid.

    *)
  2. error_code : error_code option;
    (*

    An error code that specifies whether the repository name was not valid or not found.

    *)
  3. repository_name : repository_name option;
    (*

    The name of the repository where the association was not made.

    *)
}

Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation.

type nonrec batch_associate_approval_rule_template_with_repositories_errors_list = batch_associate_approval_rule_template_with_repositories_error list
type nonrec batch_associate_approval_rule_template_with_repositories_output = {
  1. errors : batch_associate_approval_rule_template_with_repositories_errors_list;
    (*

    A list of any errors that might have occurred while attempting to create the association between the template and the repositories.

    *)
  2. associated_repository_names : repository_name_list;
    (*

    A list of names of the repositories that have been associated with the template.

    *)
}
type nonrec batch_associate_approval_rule_template_with_repositories_input = {
  1. repository_names : repository_name_list;
    (*

    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.

    *)
  2. approval_rule_template_name : approval_rule_template_name;
    (*

    The name of the template you want to associate with one or more repositories.

    *)
}
type nonrec associate_approval_rule_template_with_repository_input = {
  1. repository_name : repository_name;
    (*

    The name of the repository that you want to associate with the template.

    *)
  2. approval_rule_template_name : approval_rule_template_name;
    (*

    The name for the approval rule template.

    *)
}