update_topic_permissions
¶
update_topic_permissions(
aws_account_id: AwsAccountId,
topic_id: TopicId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[UpdateResourcePermissionList] = None,
revoke_permissions: Optional[UpdateResourcePermissionList] = None,
) -> UpdateTopicPermissionsResponse
Updates the permissions of a topic.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
-
topic_id(TopicId) –The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
grant_permissions(Optional[UpdateResourcePermissionList], default:None) –The resource permissions that you want to grant to the topic.
-
revoke_permissions(Optional[UpdateResourcePermissionList], default:None) –The resource permissions that you want to revoke from the topic.
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.
-
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
21228 21229 21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 | |