CleanRoomsService / Client / list_collaboration_change_requests
list_collaboration_change_requests¶
- CleanRoomsService.Client.list_collaboration_change_requests(**kwargs)¶
Lists all change requests for a collaboration with pagination support. Returns change requests sorted by creation time.
See also: AWS API Documentation
Request Syntax
response = client.list_collaboration_change_requests( collaborationIdentifier='string', status='PENDING'|'APPROVED'|'CANCELLED'|'DENIED'|'COMMITTED', nextToken='string', maxResults=123 )
- Parameters:
collaborationIdentifier (string) –
[REQUIRED]
The identifier of the collaboration that the change request is made against.
status (string) – A filter to only return change requests with the specified status.
nextToken (string) – The pagination token that’s used to fetch the next set of results.
maxResults (integer) – The maximum number of results that are returned for an API request call.
- Return type:
dict
- Returns:
Response Syntax
{ 'collaborationChangeRequestSummaries': [ { 'id': 'string', 'collaborationId': 'string', 'createTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'status': 'PENDING'|'APPROVED'|'CANCELLED'|'DENIED'|'COMMITTED', 'isAutoApproved': True|False, 'changes': [ { 'specificationType': 'MEMBER'|'COLLABORATION', 'specification': { 'member': { 'accountId': 'string', 'memberAbilities': [ 'CAN_QUERY'|'CAN_RECEIVE_RESULTS'|'CAN_RUN_JOB', ], 'displayName': 'string' }, 'collaboration': { 'autoApprovedChangeTypes': [ 'ADD_MEMBER'|'GRANT_RECEIVE_RESULTS_ABILITY'|'REVOKE_RECEIVE_RESULTS_ABILITY', ] } }, 'types': [ 'ADD_MEMBER'|'GRANT_RECEIVE_RESULTS_ABILITY'|'REVOKE_RECEIVE_RESULTS_ABILITY'|'EDIT_AUTO_APPROVED_CHANGE_TYPES', ] }, ], 'approvals': { 'string': { 'status': 'APPROVED'|'DENIED'|'PENDING' } } }, ], 'nextToken': 'string' }
Response Structure
(dict) –
collaborationChangeRequestSummaries (list) –
The list of collaboration change request summaries.
(dict) –
Summary information about a collaboration change request.
id (string) –
The unique identifier for the change request.
collaborationId (string) –
The unique identifier for the collaboration.
createTime (datetime) –
The time when the change request was created.
updateTime (datetime) –
The time when the change request was last updated.
status (string) –
The current status of the change request.
isAutoApproved (boolean) –
Whether the change request was automatically approved.
changes (list) –
Summary of the changes in this change request.
(dict) –
Represents a single change within a collaboration change request, containing the change identifier and specification.
specificationType (string) –
The type of specification for this change.
specification (dict) –
The specification details for this change.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
member,collaboration. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
member (dict) –
The member change specification when the change type is
MEMBER.accountId (string) –
The Amazon Web Services account ID of the member to add to the collaboration.
memberAbilities (list) –
The abilities granted to the collaboration member. These determine what actions the member can perform within the collaboration.
Note
The following values are currently not supported:
CAN_QUERY,CAN_RECEIVE_RESULTS,andCAN_RUN_JOB.Set the value of
memberAbilitiesto[]to allow a member to contribute data.(string) –
displayName (string) –
Specifies the display name that will be shown for this member in the collaboration. While this field is required when inviting new members, it becomes optional when modifying abilities of existing collaboration members.
collaboration (dict) –
The collaboration configuration changes being requested. Currently, this only supports modifying which change types are auto-approved for the collaboration.
autoApprovedChangeTypes (list) –
Defines requested updates to properties of the collaboration. Currently, this only supports modifying which change types are auto-approved for the collaboration.
(string) –
types (list) –
The list of change types that were applied.
(string) –
approvals (dict) –
Summary of approval statuses from all collaboration members for this change request.
(string) –
(dict) –
Contains detailed information about the approval state of a given member in the collaboration for a given collaboration change request.
status (string) –
The approval status of a member’s vote on the change request. Valid values are PENDING (if they haven’t voted), APPROVED, or DENIED.
nextToken (string) –
The pagination token that’s used to fetch the next set of results.
Exceptions