update_data_source_permissions
async
¶
update_data_source_permissions(
aws_account_id: AwsAccountId,
data_source_id: ResourceId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
grant_permissions: Optional[ResourcePermissionList] = None,
revoke_permissions: Optional[ResourcePermissionList] = None,
) -> UpdateDataSourcePermissionsResponse
Updates the permissions to a data source.
Parameters:
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID.
-
data_source_id(ResourceId) –The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
grant_permissions(Optional[ResourcePermissionList], default:None) –A list of resource permissions that you want to grant on the data source.
-
revoke_permissions(Optional[ResourcePermissionList], default:None) –A list of resource permissions that you want to revoke on the data source.
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.
-
ResourceNotFoundException–One or more resources can't be found.
-
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
19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 | |