CleanRoomsService / Client / get_collaboration_change_request

get_collaboration_change_request

CleanRoomsService.Client.get_collaboration_change_request(**kwargs)

Retrieves detailed information about a specific collaboration change request.

See also: AWS API Documentation

Request Syntax

response = client.get_collaboration_change_request(
    collaborationIdentifier='string',
    changeRequestIdentifier='string'
)
Parameters:
  • collaborationIdentifier (string) –

    [REQUIRED]

    The identifier of the collaboration that the change request is made against.

  • changeRequestIdentifier (string) –

    [REQUIRED]

    A unique identifier for the change request to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'collaborationChangeRequest': {
        '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',
                'specification': {
                    'member': {
                        'accountId': 'string',
                        'memberAbilities': [
                            'CAN_QUERY'|'CAN_RECEIVE_RESULTS'|'CAN_RUN_JOB',
                        ],
                        'displayName': 'string'
                    }
                },
                'types': [
                    'ADD_MEMBER',
                ]
            },
        ]
    }
}

Response Structure

  • (dict) –

    • collaborationChangeRequest (dict) –

      The collaboration change request that was requested.

      • id (string) –

        The unique identifier for the change request.

      • collaborationId (string) –

        The unique identifier for the collaboration being modified.

      • 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. Valid values are PENDING, APPROVED, DENIED, COMMITTED, and CANCELLED.

      • isAutoApproved (boolean) –

        Whether the change request was automatically approved based on the collaboration’s auto-approval settings.

      • changes (list) –

        The list of changes specified 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. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is 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, and CAN_RUN_JOB.

                Set the value of memberAbilities to [] 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.

          • types (list) –

            The list of change types that were applied.

            • (string) –

Exceptions