[ aws . redshift-serverless ]
Updates the configuration of Amazon Redshift Serverless with express configuration. Each request can update only one of configParameters , maxCapacity , or loggingConfiguration .
See also: AWS API Documentation
update-express-configuration
[--config-parameters <value>]
[--max-capacity <value>]
[--logging-configuration <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
--config-parameters (list)
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–99max_join_row_count– 0–999,999,999,999,999max_nested_loop_join_row_count– 0–999,999,999,999,999max_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 secondsmax_query_temp_blocks_to_disk– 0–319,815,679 (1 MB blocks)max_return_row_count– 0–999,999,999,999,999max_scan_row_count– 0–999,999,999,999,999The 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.(structure)
An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.
parameterKey -> (string)
The key of the parameter. The options areauto_mv,datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path,require_ssl,use_fips_ssl, and eitherwlm_json_configurationor query monitoring metrics that let you define performance boundaries. You can either specify individual query monitoring metrics (such asmax_scan_row_count,max_query_execution_time) or usewlm_json_configurationto define query queues with rules, but not both. If you’re usingwlm_json_configuration, the maximum size ofparameterValueis 8000 characters. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless .parameterValue -> (string)
The value of the parameter to set.
Shorthand Syntax:
parameterKey=string,parameterValue=string ...
JSON Syntax:
[
{
"parameterKey": "string",
"parameterValue": "string"
}
...
]
--max-capacity (integer)
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 (structure)
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.
logExports -> (list)
The types of logs to export to Amazon CloudWatch. Available export types are
userlog,connectionlog, anduseractivitylog. Specify an empty list to stop exporting logs. Required whenlogDestinationTypeiscloudwatchor omitted. Can’t be specified whenlogDestinationTypeiss3table.Constraints:
- min:
0- max:
16(string)
Possible values:
useractivityloguserlogconnectionloglogDestinationType -> (string)
The destination for the log data. Valid values:
cloudwatch- Exports audit logs to Amazon CloudWatch. This is the default.s3table- Publishes system tables to Amazon S3 Tables.Possible values:
s3tablecloudwatchs3TableAction -> (string)
Whether to enable or disable publishing system tables to Amazon S3 Tables. Valid values are
EnableandDisable, and they are case-sensitive. When omitted, defaults toEnable. Valid only whenlogDestinationTypeiss3table.Possible values:
EnableDisables3TableNames -> (list)
The system tables to publish (on enable) or to stop publishing (on disable). Each value is either a system table view name that begins with
sys_or the keywordall, in lowercase. Omitting this field, passing an empty list, or includingalleach select every current and future system table. Each name must be 1-128 characters, and the list can contain up to 256 names. Valid only whenlogDestinationTypeiss3table.Constraints:
- min:
0- max:
256(string)
A system-table view name to publish to S3 Tables (e.g. “sys_query_history”), or the keyword “all” to publish every current and future system table.
Constraints:
- min:
1- max:
128- pattern:
(all|sys_[a-z0-9_]+)s3TableKmsKeyId -> (string)
The identifier of the Key Management Service key used to encrypt the published Amazon S3 Tables data. When omitted, the data is encrypted with SSE-S3 (Amazon S3 managed keys). Valid only whenlogDestinationTypeiss3table.s3TableGranularity -> (string)
The scope of the Amazon S3 Tables destination. Valid only when
logDestinationTypeiss3table. Valid values are case-sensitive:
workgroup- Scopes the published tables to Amazon Redshift Serverless with express configuration. This is the default.account- Scopes the published tables to the Amazon Web Services account.Possible values:
workgroupaccount
Shorthand Syntax:
logExports=string,string,logDestinationType=string,s3TableAction=string,s3TableNames=string,string,s3TableKmsKeyId=string,s3TableGranularity=string
JSON Syntax:
{
"logExports": ["useractivitylog"|"userlog"|"connectionlog", ...],
"logDestinationType": "s3table"|"cloudwatch",
"s3TableAction": "Enable"|"Disable",
"s3TableNames": ["string", ...],
"s3TableKmsKeyId": "string",
"s3TableGranularity": "workgroup"|"account"
}
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
--help (boolean)
Display help for the command/subcommand.
expressConfiguration -> (structure)
The updated configuration of Amazon Redshift Serverless with express configuration.
workgroupArn -> (string)
The Amazon Resource Name (ARN) of the default endpoint, in the formarn:aws-partition:redshift-serverless:region:account-id:workgroup/express/express-default.workgroupName -> (string)
The name of the default endpoint. The value is always
express-default.Constraints:
- min:
3- max:
63- pattern:
[a-z0-9-]+configParameters -> (list)
An array of parameters that are set for Amazon Redshift Serverless with express configuration. The response includes default values for parameters that you haven’t set. Query monitoring rule parameters such as
max_join_row_countare not returned when they are not set or are set to-1. The exception ismax_query_execution_time, which defaults to14400.(structure)
An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.
parameterKey -> (string)
The key of the parameter. The options areauto_mv,datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path,require_ssl,use_fips_ssl, and eitherwlm_json_configurationor query monitoring metrics that let you define performance boundaries. You can either specify individual query monitoring metrics (such asmax_scan_row_count,max_query_execution_time) or usewlm_json_configurationto define query queues with rules, but not both. If you’re usingwlm_json_configuration, the maximum size ofparameterValueis 8000 characters. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless .parameterValue -> (string)
The value of the parameter to set.maxCapacity -> (integer)
The maximum capacity that Amazon Redshift Serverless with express configuration uses to serve queries, in Redshift Processing Units (RPUs). The response omits this field when no maximum capacity is set. In that case, capacity scales up to 512 RPUs.endpoint -> (structure)
The service-managed regional endpoint that you run queries against, in the form
express-default.express.region.redshift-serverless.amazonaws.com. The port is always5439.address -> (string)
The DNS address of the VPC endpoint.port -> (integer)
The port that Amazon Redshift Serverless listens on.vpcEndpoints -> (list)
An array of
VpcEndpointobjects.(structure)
The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.
vpcEndpointId -> (string)
The connection endpoint ID for connecting to Amazon Redshift Serverless.vpcId -> (string)
The VPC identifier that the endpoint is associated with.networkInterfaces -> (list)
One or more network interfaces of the endpoint. Also known as an interface endpoint.
(structure)
Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.
networkInterfaceId -> (string)
The unique identifier of the network interface.subnetId -> (string)
The unique identifier of the subnet.privateIpAddress -> (string)
The IPv4 address of the network interface within the subnet.availabilityZone -> (string)
The availability Zone.ipv6Address -> (string)
The IPv6 address of the network interface within the subnet.dbName -> (string)
The name of the database. The value is alwaysdev.loggingConfiguration -> (structure)
The logging configuration of Amazon Redshift Serverless with express configuration: the audit logs exported to Amazon CloudWatch and the status of publishing system tables to Amazon S3 Tables.
logExports -> (list)
The types of logs exported to Amazon CloudWatch for Amazon Redshift Serverless with express configuration. An empty list means no logs are exported.
Constraints:
- min:
0- max:
16(string)
Possible values:
useractivityloguserlogconnectionlogs3TablePublishStatus -> (structure)
The current status of publishing system tables to Amazon S3 Tables. This field is present only when publishing to S3 Tables is configured. An
UpdateExpressConfigurationresponse includes it only when the request enables publishing to S3 Tables. To read the status after any other update, callGetExpressConfiguration.s3Tables -> (list)
The system tables currently being published.
Constraints:
- min:
0- max:
256(string)
A system-table view name to publish to S3 Tables (e.g. “sys_query_history”), or the keyword “all” to publish every current and future system table.
Constraints:
- min:
1- max:
128- pattern:
(all|sys_[a-z0-9_]+)s3TableNamespace -> (string)
The identifier of the namespace in the S3 table bucket that holds the published tables.s3TableGranularity -> (string)
The scope currently in effect:
workgroup(Amazon Redshift Serverless with express configuration) oraccount(the Amazon Web Services account).Possible values:
workgroupaccountenabledAll -> (boolean)
truewhen every current and future system table is published, rather than an explicit list of tables.lastIngestionTimes -> (map)
A map of system table name to the time that table last received data, as an ISO-8601 timestamp. A table that hasn’t been ingested yet is absent from the map. Use it to judge data freshness.
key -> (string)
value -> (string)