update_space_resources
¶
update_space_resources(
aws_account_id: AwsAccountId,
space_id: PublicSpaceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
add_resources: Optional[SpaceResourceOperations] = None,
remove_resources: Optional[SpaceResourceOperations] = None,
) -> UpdateSpaceResourcesResponse
Adds or removes resources from an Amazon QuickSight space.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the space.
-
space_id(PublicSpaceId) –The ID of the space that you want to update resources for.
-
add_resources(Optional[SpaceResourceOperations], default:None) –A list of resources to add to the space.
-
remove_resources(Optional[SpaceResourceOperations], default:None) –A list of resources to remove from the space.
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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
22642 22643 22644 22645 22646 22647 22648 22649 22650 22651 22652 22653 22654 22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 22676 22677 22678 22679 22680 22681 22682 22683 22684 22685 22686 22687 22688 22689 22690 22691 22692 22693 22694 22695 22696 22697 22698 22699 22700 22701 22702 22703 22704 22705 22706 22707 | |