QuickSight / Client / update_custom_permissions
update_custom_permissions#
- QuickSight.Client.update_custom_permissions(**kwargs)#
Updates a custom permissions profile.
See also: AWS API Documentation
Request Syntax
response = client.update_custom_permissions( AwsAccountId='string', CustomPermissionsName='string', Capabilities={ 'ExportToCsv': 'DENY', 'ExportToExcel': 'DENY', 'CreateAndUpdateThemes': 'DENY', 'AddOrRunAnomalyDetectionForAnalyses': 'DENY', 'ShareAnalyses': 'DENY', 'CreateAndUpdateDatasets': 'DENY', 'ShareDatasets': 'DENY', 'SubscribeDashboardEmailReports': 'DENY', 'CreateAndUpdateDashboardEmailReports': 'DENY', 'ShareDashboards': 'DENY', 'CreateAndUpdateThresholdAlerts': 'DENY', 'RenameSharedFolders': 'DENY', 'CreateSharedFolders': 'DENY', 'CreateAndUpdateDataSources': 'DENY', 'ShareDataSources': 'DENY', 'ViewAccountSPICECapacity': 'DENY', 'CreateSPICEDataset': 'DENY' } )
- Parameters:
AwsAccountId (string) –
[REQUIRED]
The ID of the Amazon Web Services account that contains the custom permissions profile that you want to update.
CustomPermissionsName (string) –
[REQUIRED]
The name of the custom permissions profile that you want to update.
Capabilities (dict) –
A set of actions to include in the custom permissions profile.
ExportToCsv (string) –
The ability to export to CSV files.
ExportToExcel (string) –
The ability to export to Excel files.
CreateAndUpdateThemes (string) –
The ability to export to Create and Update themes.
AddOrRunAnomalyDetectionForAnalyses (string) –
The ability to add or run anomaly detection.
ShareAnalyses (string) –
The ability to share analyses.
CreateAndUpdateDatasets (string) –
The ability to create and update datasets.
ShareDatasets (string) –
The ability to share datasets.
SubscribeDashboardEmailReports (string) –
The ability to subscribe to email reports.
CreateAndUpdateDashboardEmailReports (string) –
The ability to create and update email reports.
ShareDashboards (string) –
The ability to share dashboards.
CreateAndUpdateThresholdAlerts (string) –
The ability to create and update threshold alerts.
RenameSharedFolders (string) –
The ability to rename shared folders.
CreateSharedFolders (string) –
The ability to create shared folders.
CreateAndUpdateDataSources (string) –
The ability to create and update data sources.
ShareDataSources (string) –
The ability to share data sources.
ViewAccountSPICECapacity (string) –
The ability to view account SPICE capacity.
CreateSPICEDataset (string) –
The ability to create a SPICE dataset.
- Return type:
dict
- Returns:
Response Syntax
{ 'Status': 123, 'Arn': 'string', 'RequestId': 'string' }
Response Structure
(dict) –
Status (integer) –
The HTTP status of the request.
Arn (string) –
The Amazon Resource Name (ARN) of the custom permissions profile.
RequestId (string) –
The Amazon Web Services request ID for this operation.
Exceptions
QuickSight.Client.exceptions.ConflictException
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.PreconditionNotMetException
QuickSight.Client.exceptions.InternalFailureException
QuickSight.Client.exceptions.ResourceUnavailableException