pull_request_override_states
Creates, updates, deletes, gets or lists a pull_request_override_states resource.
Overview
| Name | pull_request_override_states |
| Type | Resource |
| Id | aws.codecommit.pull_request_override_states |
Fields
The following fields are returned by SELECT queries:
- get_pull_request_override_state
| Name | Datatype | Description |
|---|---|---|
overridden | boolean | A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE). |
overrider | string | The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_pull_request_override_state | select | region | Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_pull_request_override_state
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
SELECT
overridden,
overrider
FROM aws.codecommit.pull_request_override_states
WHERE region = '{{ region }}' -- required
;