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'
)
[REQUIRED]
The ID for the Amazon Web Services account that contains the folder.
[REQUIRED]
The ID of the folder.
[REQUIRED]
The ID of the asset (the dashboard, analysis, or dataset).
[REQUIRED]
The type of the member, including DASHBOARD
, ANALYSIS
, and DATASET
.
dict
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