Skip to main content

merge_options

Creates, updates, deletes, gets or lists a merge_options resource.

Overview

Namemerge_options
TypeResource
Idaws.codecommit.merge_options

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
base_commit_idstringThe commit ID of the merge base.
destination_commit_idstringThe commit ID of the destination commit specifier that was used in the merge evaluation.
merge_optionsarrayThe merge option or strategy used to merge the code.
source_commit_idstringThe commit ID of the source commit specifier that was used in the merge evaluation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_merge_optionsselectregionReturns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.

SELECT
base_commit_id,
destination_commit_id,
merge_options,
source_commit_id
FROM aws.codecommit.merge_options
WHERE region = '{{ region }}' -- required
;