QuickSight / Client / create_folder_membership
create_folder_membership#
- QuickSight.Client.create_folder_membership(**kwargs)#
Adds an asset, such as a dashboard, analysis, or dataset into a folder.
See also: AWS API Documentation
Request Syntax
response = client.create_folder_membership( AwsAccountId='string', FolderId='string', MemberId='string', MemberType='DASHBOARD'|'ANALYSIS'|'DATASET' )
- Parameters:
AwsAccountId (string) –
[REQUIRED]
The ID for the Amazon Web Services account that contains the folder.
FolderId (string) –
[REQUIRED]
The ID of the folder.
MemberId (string) –
[REQUIRED]
The ID of the asset that you want to add to the folder.
MemberType (string) –
[REQUIRED]
The member type of the asset that you want to add to a folder.
- Return type:
dict
- Returns:
Response Syntax
{ 'Status': 123, 'FolderMember': { 'MemberId': 'string', 'MemberType': 'DASHBOARD'|'ANALYSIS'|'DATASET' }, 'RequestId': 'string' }
Response Structure
(dict) –
Status (integer) –
The HTTP status of the request.
FolderMember (dict) –
Information about the member in the folder.
MemberId (string) –
The ID of an asset in the folder.
MemberType (string) –
The type of asset that it is.
RequestId (string) –
The Amazon Web Services request ID for this operation.
Exceptions
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ResourceExistsException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.LimitExceededException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.InternalFailureException