create_group
async
¶
create_group(
group_name: GroupName,
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
description: Optional[GroupDescription] = None,
) -> CreateGroupResponse
Use the CreateGroup operation to create a group in Quick Sight. You can create up to 10,000 groups in a namespace. If you want to create more than 10,000 groups in a namespace, contact Amazon Web Services Support.
The permissions resource is arn:aws:quicksight:.
The response is a group object.
Parameters:
-
group_name(GroupName) –A name for the group that you want to create.
-
description(Optional[GroupDescription], default:None) –A description for the group that you want to create.
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon Quick Sight account.
-
namespace(Namespace) –The namespace that you want the group to be a part of.
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.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
ResourceUnavailableException–This resource is currently unavailable.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 | |