update_data_source_permissions
¶
update_data_source_permissions(
aws_account_id: AwsAccountId,
data_source_id: ResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = 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/quick_sight.py
18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 | |