update_express_configuration
async
¶
update_express_configuration(
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
config_parameters: Optional[ConfigParameterList] = None,
max_capacity: Optional[int] = None,
logging_configuration: Optional[LoggingConfiguration] = None,
) -> UpdateExpressConfigurationResponse
Updates the configuration of Amazon Redshift Serverless with express configuration. Each request can update only one of configParameters, maxCapacity, or loggingConfiguration.
Parameters:
-
config_parameters(Optional[ConfigParameterList], default:None) –An array of parameters to set for advanced control over a database. The update merges with the current parameters: a parameter that you leave out of the request keeps its current value. You can set the following parameters:
-
datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path, anduse_fips_ssl. -
Query monitoring rules. To remove a rule, set its value to
-1. Settingmax_query_execution_timeto-1also removes its default limit. The rules and their valid ranges are as follows:-
max_io_skew– 0–99 -
max_join_row_count– 0–999,999,999,999,999 -
max_nested_loop_join_row_count– 0–999,999,999,999,999 -
max_query_blocks_read– 0–1,048,575 (1 MB blocks) -
max_query_execution_time– 0–86,399 seconds (default14400) -
max_query_queue_time– 0–86,399 seconds -
max_query_temp_blocks_to_disk– 0–319,815,679 (1 MB blocks) -
max_return_row_count– 0–999,999,999,999,999 -
max_scan_row_count– 0–999,999,999,999,999
-
The following parameters, which Amazon Redshift Serverless supports, aren't supported on the express configuration:
wlm_json_configuration,require_ssl,max_query_cpu_time,max_query_cpu_usage_percent, andmax_cpu_skew. TLS is always required. -
-
max_capacity(Optional[int], default:None) –The maximum capacity that Amazon Redshift Serverless with express configuration uses to serve queries, in Redshift Processing Units (RPUs). Valid values are 64–1024, in multiples of 8. To remove a previously set maximum capacity, specify
-1. Without a maximum capacity, capacity scales up to 512 RPUs. -
logging_configuration(Optional[LoggingConfiguration], default:None) –The logging configuration to update: either the audit logs exported to Amazon CloudWatch, or publishing system tables to Amazon S3 Tables. You can change only one of the two in a single request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource could not be found.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/async_redshift_serverless.py
1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 | |