QuickSight.Client.
create_folder
(**kwargs)¶Creates an empty shared folder.
See also: AWS API Documentation
Request Syntax
response = client.create_folder(
AwsAccountId='string',
FolderId='string',
Name='string',
FolderType='SHARED',
ParentFolderArn='string',
Permissions=[
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The ID for the Amazon Web Services account where you want to create the folder.
[REQUIRED]
The ID of the folder.
folderType
is SHARED
.The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn
can be null. An emptyparentFolderArn
creates a root-level folder.
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions
.
Permission for the resource.
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
The IAM action to grant or revoke permissions on.
Tags for the folder.
The key or keys of the key-value pairs for the resource tag or tags assigned to the resource.
Tag key.
Tag value.
dict
Response Syntax
{
'Status': 123,
'Arn': 'string',
'FolderId': 'string',
'RequestId': 'string'
}
Response Structure
(dict) --
Status (integer) --
The HTTP status of the request.
Arn (string) --
The Amazon Resource Name (ARN) for the newly created folder.
FolderId (string) --
The folder ID for the newly created folder.
RequestId (string) --
The request ID for the newly created folder.
Exceptions
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.ResourceExistsException
QuickSight.Client.exceptions.ConflictException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.LimitExceededException
QuickSight.Client.exceptions.InternalFailureException