create_collaboration
async
¶
create_collaboration(
members: MemberList,
name: CollaborationName,
creator_member_abilities: MemberAbilities,
creator_display_name: DisplayName,
query_log_status: CollaborationQueryLogStatus,
*,
config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
description: Optional[CollaborationDescription] = None,
creator_ml_member_abilities: Optional[MLMemberAbilities] = None,
data_encryption_metadata: Optional[DataEncryptionMetadata] = None,
job_log_status: Optional[CollaborationJobLogStatus] = None,
tags: Optional[TagMap] = None,
creator_payment_configuration: Optional[PaymentConfiguration] = None,
analytics_engine: Optional[AnalyticsEngine] = None,
auto_approved_change_request_types: Optional[AutoApprovedChangeTypeList] = None,
allowed_result_regions: Optional[AllowedResultRegions] = None,
is_metrics_enabled: Optional[bool] = None,
) -> CreateCollaborationOutput
Creates a new collaboration.
Parameters:
-
members(MemberList) –A list of initial members, not including the creator. This list is immutable.
-
name(CollaborationName) –The display name for a collaboration.
-
description(Optional[CollaborationDescription], default:None) –A description of the collaboration provided by the collaboration owner.
-
creator_member_abilities(MemberAbilities) –The abilities granted to the collaboration creator.
-
creator_ml_member_abilities(Optional[MLMemberAbilities], default:None) –The ML abilities granted to the collaboration creator.
-
creator_display_name(DisplayName) –The display name of the collaboration creator.
-
data_encryption_metadata(Optional[DataEncryptionMetadata], default:None) –The settings for client-side encryption with Cryptographic Computing for Clean Rooms.
-
query_log_status(CollaborationQueryLogStatus) –An indicator as to whether query logging has been enabled or disabled for the collaboration.
When
ENABLED, Clean Rooms logs details about queries run within this collaboration and those logs can be viewed in Amazon CloudWatch Logs. The default value isDISABLED. -
job_log_status(Optional[CollaborationJobLogStatus], default:None) –Specifies whether job logs are enabled for this collaboration.
When
ENABLED, Clean Rooms logs details about jobs run within this collaboration; those logs can be viewed in Amazon CloudWatch Logs. The default value isDISABLED. -
tags(Optional[TagMap], default:None) –An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
-
creator_payment_configuration(Optional[PaymentConfiguration], default:None) –The collaboration creator's payment responsibilities set by the collaboration creator.
If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.
-
analytics_engine(Optional[AnalyticsEngine], default:None) –The analytics engine.
After July 16, 2025, the
CLEAN_ROOMS_SQLparameter will no longer be available. -
auto_approved_change_request_types(Optional[AutoApprovedChangeTypeList], default:None) –The types of change requests that are automatically approved for this collaboration.
-
allowed_result_regions(Optional[AllowedResultRegions], default:None) –The Amazon Web Services Regions where collaboration query results can be stored. When specified, results can only be written to these Regions. This parameter enables you to meet your compliance and data governance requirements, and implement regional data governance policies.
-
is_metrics_enabled(Optional[bool], default:None) –An indicator as to whether metrics have been enabled or disabled for the collaboration.
When
true, collaboration members can opt in to Amazon CloudWatch metrics for their membership queries. The default value isfalse.
Raises:
-
AccessDeniedException–Caller does not have sufficient access to perform this action.
-
InternalServerException–Unexpected error during processing of request.
-
ServiceQuotaExceededException–Request denied because service quota has been exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cleanrooms/_services/async_clean_rooms.py
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 | |