create_configured_audience_model_association
¶
create_configured_audience_model_association(
membership_identifier: MembershipIdentifier,
configured_audience_model_arn: ConfiguredAudienceModelArn,
configured_audience_model_association_name: ConfiguredAudienceModelAssociationName,
manage_resource_policies: bool,
*,
config_overrides: Optional[CleanRoomsClientConfig] = None,
tags: Optional[TagMap] = None,
description: Optional[ResourceDescription] = None,
) -> CreateConfiguredAudienceModelAssociationOutput
Provides the details necessary to create a configured audience model association.
Parameters:
-
membership_identifier(MembershipIdentifier) –A unique identifier for one of your memberships for a collaboration. The configured audience model is associated to the collaboration that this membership belongs to. Accepts a membership ID.
-
configured_audience_model_arn(ConfiguredAudienceModelArn) –A unique identifier for the configured audience model that you want to associate.
-
configured_audience_model_association_name(ConfiguredAudienceModelAssociationName) –The name of the configured audience model association.
-
manage_resource_policies(bool) –When
TRUE, indicates that the resource policy for the configured audience model resource being associated is configured for Clean Rooms to manage permissions related to the given collaboration. WhenFALSE, indicates that the configured audience model resource owner will manage permissions related to the given collaboration.Setting this to
TRUErequires you to have permissions to create, update, and delete the resource policy for thecleanrooms-mlresource when you call the DeleteConfiguredAudienceModelAssociation resource. In addition, if you are the collaboration creator and specifyTRUE, you must have the same permissions when you call the DeleteMember and DeleteCollaboration APIs. -
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.
-
description(Optional[ResourceDescription], default:None) –A description of the configured audience model association.
Raises:
-
AccessDeniedException–Caller does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
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/clean_rooms.py
2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 | |