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
2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 | |