lib/aws-sdk-redshiftserverless/client.rb in aws-sdk-redshiftserverless-1.6.0 vs lib/aws-sdk-redshiftserverless/client.rb in aws-sdk-redshiftserverless-1.7.0
- old
+ new
@@ -740,14 +740,22 @@
# @option params [Integer] :base_capacity
# The base data warehouse capacity of the workgroup in Redshift
# Processing Units (RPUs).
#
# @option params [Array<Types::ConfigParameter>] :config_parameters
- # An array of parameters to set for more control over a serverless
- # database. The options are `datestyle`, `enable_user_activity_logging`,
- # `query_group`, `search_path`, and `max_query_execution_time`.
+ # An array of parameters to set for advanced control over a database.
+ # The options are `auto_mv`, `datestyle`,
+ # `enable_case_sensitivity_identifier`, `enable_user_activity_logging`,
+ # `query_group`, `search_path`, and query monitoring metrics that let
+ # you define performance boundaries. For more information about query
+ # monitoring rules and available metrics, see [ Query monitoring metrics
+ # for Amazon Redshift Serverless][1].
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
+ #
# @option params [Boolean] :enhanced_vpc_routing
# The value that specifies whether to turn on enhanced virtual private
# cloud (VPC) routing, which forces Amazon Redshift Serverless to route
# traffic through your VPC instead of over the internet.
#
@@ -2141,12 +2149,17 @@
req = build_request(:restore_from_snapshot, params)
req.send_request(options)
end
# Restores a table from a snapshot to your Amazon Redshift Serverless
- # instance.
+ # instance. You can't use this operation to restore tables with
+ # [interleaved sort keys][1].
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved
+ #
# @option params [Boolean] :activate_case_sensitive_identifier
# Indicates whether name identifiers for database, schema, and table are
# case sensitive. If true, the names are case sensitive. If false, the
# names are not case sensitive. The default is false.
#
@@ -2330,37 +2343,46 @@
def update_endpoint_access(params = {}, options = {})
req = build_request(:update_endpoint_access, params)
req.send_request(options)
end
- # Updates a namespace with the specified settings.
+ # Updates a namespace with the specified settings. Unless required, you
+ # can't update multiple parameters in one request. For example, you
+ # must specify both `adminUsername` and `adminUserPassword` to update
+ # either field, but you can't update both `kmsKeyId` and `logExports`
+ # in a single request.
#
# @option params [String] :admin_user_password
# The password of the administrator for the first database created in
- # the namespace.
+ # the namespace. This parameter must be updated together with
+ # `adminUsername`.
#
# @option params [String] :admin_username
# The username of the administrator for the first database created in
- # the namespace.
+ # the namespace. This parameter must be updated together with
+ # `adminUserPassword`.
#
# @option params [String] :default_iam_role_arn
# The Amazon Resource Name (ARN) of the IAM role to set as a default in
- # the namespace.
+ # the namespace. This parameter must be updated together with
+ # `iamRoles`.
#
# @option params [Array<String>] :iam_roles
- # A list of IAM roles to associate with the namespace.
+ # A list of IAM roles to associate with the namespace. This parameter
+ # must be updated together with `defaultIamRoleArn`.
#
# @option params [String] :kms_key_id
# The ID of the Amazon Web Services Key Management Service key used to
# encrypt your data.
#
# @option params [Array<String>] :log_exports
# The types of logs the namespace can export. The export types are
# `userlog`, `connectionlog`, and `useractivitylog`.
#
# @option params [required, String] :namespace_name
- # The name of the namespace.
+ # The name of the namespace to update. You can't update the name of a
+ # namespace once it is created.
#
# @return [Types::UpdateNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateNamespaceResponse#namespace #namespace} => Types::Namespace
#
@@ -2499,21 +2521,32 @@
def update_usage_limit(params = {}, options = {})
req = build_request(:update_usage_limit, params)
req.send_request(options)
end
- # Updates a workgroup with the specified configuration settings.
+ # Updates a workgroup with the specified configuration settings. You
+ # can't update multiple parameters in one request. For example, you can
+ # update `baseCapacity` or `port` in a single request, but you can't
+ # update both in the same request.
#
# @option params [Integer] :base_capacity
# The new base data warehouse capacity in Redshift Processing Units
# (RPUs).
#
# @option params [Array<Types::ConfigParameter>] :config_parameters
# An array of parameters to set for advanced control over a database.
- # The options are `datestyle`, `enable_user_activity_logging`,
- # `query_group`, `search_path`, and `max_query_execution_time`.
+ # The options are `auto_mv`, `datestyle`,
+ # `enable_case_sensitivity_identifier`, `enable_user_activity_logging`,
+ # `query_group`, `search_path`, and query monitoring metrics that let
+ # you define performance boundaries. For more information about query
+ # monitoring rules and available metrics, see [ Query monitoring metrics
+ # for Amazon Redshift Serverless][1].
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
+ #
# @option params [Boolean] :enhanced_vpc_routing
# The value that specifies whether to turn on enhanced virtual private
# cloud (VPC) routing, which forces Amazon Redshift Serverless to route
# traffic through your VPC.
#
@@ -2530,11 +2563,12 @@
#
# @option params [Array<String>] :subnet_ids
# An array of VPC subnet IDs to associate with the workgroup.
#
# @option params [required, String] :workgroup_name
- # The name of the workgroup to update.
+ # The name of the workgroup to update. You can't update the name of a
+ # workgroup once it is created.
#
# @return [Types::UpdateWorkgroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateWorkgroupResponse#workgroup #workgroup} => Types::Workgroup
#
@@ -2606,10 +2640,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-redshiftserverless'
- context[:gem_version] = '1.6.0'
+ context[:gem_version] = '1.7.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated