create_folder
¶
create_folder(
aws_account_id: AwsAccountId,
folder_id: RestrictiveResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
name: Optional[FolderName] = None,
folder_type: Optional[FolderType] = None,
parent_folder_arn: Optional[Arn] = None,
permissions: Optional[ResourcePermissionList] = None,
tags: Optional[TagList] = None,
sharing_model: Optional[SharingModel] = None,
) -> CreateFolderResponse
Creates an empty shared folder.
Parameters:
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account where you want to create the folder.
-
folder_id(RestrictiveResourceId) –The ID of the folder.
-
name(Optional[FolderName], default:None) –The name of the folder.
-
folder_type(Optional[FolderType], default:None) –The type of folder. By default,
folderTypeisSHARED. -
parent_folder_arn(Optional[Arn], default:None) –The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArncan be null. An emptyparentFolderArncreates a root-level folder. -
permissions(Optional[ResourcePermissionList], default:None) –A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit
Permissions. -
tags(Optional[TagList], default:None) –Tags for the folder.
-
sharing_model(Optional[SharingModel], default:None) –An optional parameter that determines the sharing scope of the folder. The default value for this parameter is
ACCOUNT.
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.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
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/quick_sight.py
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 | |