create_folder_membership
async
¶
create_folder_membership(
aws_account_id: AwsAccountId,
folder_id: RestrictiveResourceId,
member_id: RestrictiveResourceId,
member_type: MemberType,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
) -> CreateFolderMembershipResponse
Adds an asset, such as a dashboard, analysis, or dataset into a folder.
Parameters:
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that contains the folder.
-
folder_id(RestrictiveResourceId) –The ID of the folder.
-
member_id(RestrictiveResourceId) –The ID of the asset that you want to add to the folder.
-
member_type(MemberType) –The member type of the asset that you want to add to a folder.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 | |