Skip to main content

collaboration_change_requests

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

Overview

Namecollaboration_change_requests
TypeResource
Idaws.cleanrooms.collaboration_change_requests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier for the change request. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
approvalsobjectA list of approval details from collaboration members, including approval status and multi-party approval workflow information.
changesarrayThe list of changes specified in this change request.
collaboration_idstringThe unique identifier for the collaboration being modified. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
create_timestring (date-time)The time when the change request was created.
is_auto_approvedbooleanWhether the change request was automatically approved based on the collaboration's auto-approval settings.
statusstringThe current status of the change request. Valid values are PENDING, APPROVED, DENIED, COMMITTED, and CANCELLED. (PENDING, APPROVED, CANCELLED, DENIED, COMMITTED)
update_timestring (date-time)The time when the change request was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_collaboration_change_requestselectcollaboration_identifier, change_request_identifier, regionRetrieves detailed information about a specific collaboration change request.
list_collaboration_change_requestsselectcollaboration_identifier, regionstatus, nextToken, maxResultsLists all change requests for a collaboration with pagination support. Returns change requests sorted by creation time.
create_collaboration_change_requestinsertcollaboration_identifier, region, changesCreates a new change request to modify an existing collaboration. This enables post-creation modifications to collaborations through a structured API-driven approach.
update_collaboration_change_requestupdatecollaboration_identifier, change_request_identifier, region, actionUpdates an existing collaboration change request. This operation allows approval actions for pending change requests in collaborations (APPROVE, DENY, CANCEL, COMMIT). For change requests without automatic approval, a member in the collaboration can manually APPROVE or DENY a change request. The collaboration owner can manually CANCEL or COMMIT a change 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.

NameDatatypeDescription
change_request_identifierstringThe unique identifier of the specific change request to be updated within the collaboration.
collaboration_identifierstringThe unique identifier of the collaboration that contains the change request to be updated.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that are returned for an API request call.
nextTokenstringThe pagination token that's used to fetch the next set of results.
statusstringA filter to only return change requests with the specified status.

SELECT examples

Retrieves detailed information about a specific collaboration change request.

SELECT
id,
approvals,
changes,
collaboration_id,
create_time,
is_auto_approved,
status,
update_time
FROM aws.cleanrooms.collaboration_change_requests
WHERE collaboration_identifier = '{{ collaboration_identifier }}' -- required
AND change_request_identifier = '{{ change_request_identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a new change request to modify an existing collaboration. This enables post-creation modifications to collaborations through a structured API-driven approach.

INSERT INTO aws.cleanrooms.collaboration_change_requests (
changes,
collaboration_identifier,
region
)
SELECT
'{{ changes }}' /* required */,
'{{ collaboration_identifier }}',
'{{ region }}'
RETURNING
collaboration_change_request
;

UPDATE examples

Updates an existing collaboration change request. This operation allows approval actions for pending change requests in collaborations (APPROVE, DENY, CANCEL, COMMIT). For change requests without automatic approval, a member in the collaboration can manually APPROVE or DENY a change request. The collaboration owner can manually CANCEL or COMMIT a change request.

UPDATE aws.cleanrooms.collaboration_change_requests
SET
action = '{{ action }}'
WHERE
collaboration_identifier = '{{ collaboration_identifier }}' --required
AND change_request_identifier = '{{ change_request_identifier }}' --required
AND region = '{{ region }}' --required
AND action = '{{ action }}' --required
RETURNING
collaboration_change_request;