aws-sdk-redshiftserverless 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa6bed635604ebafddea2862a115aab4352ab7d28d58e0971fd8216ee6e88e32
4
- data.tar.gz: 8bcc45a942d8e87451319f264ffd256384fe091d33d1e0b506bd30d6ec782954
3
+ metadata.gz: 59ef57da7be6e03f6a72b63c5077b8a0c88d3e1bce16d84e858742dd1b9e72c9
4
+ data.tar.gz: 9a9313c4f08cde1a18a45e0487b82dd794939d55457a0a7f35c6e636c9ed5f78
5
5
  SHA512:
6
- metadata.gz: 7d90513ce575d130a50ef81839f3cb984ccfee8b6fd7b6091c7ce819fee1d83c001f0fa2f3633c41b8834f3128c04ba50d09829ada137000c0bd81374922635d
7
- data.tar.gz: 82fae8e66c6bec6c15a8392dd03de1eabd8f27a8bd00d49d797a0ea05e0a04000caf2bf9f791ffc2483a09f5c5bb8a3ae68bc0035d24834909f75ea49181188b
6
+ metadata.gz: 3156e9adb6d4444b70e74fb7e9f4d16d074306deee759a19d951f9ec353b0a89d301f7513a33c1766362695758449b44659e770b06153a7bfe97ac3ed4f07843
7
+ data.tar.gz: 858428449281a801de19f26e422a45f3648d5e9d269d680d1819018516eae6b83efeacb0932df440b3acf7b52158bc6d15789d703d23306807f2e7aa44d29698
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2023-01-25)
5
+ ------------------
6
+
7
+ * Feature - Added query monitoring rules as possible parameters for create and update workgroup operations.
8
+
4
9
  1.6.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.7.0
@@ -742,9 +742,17 @@ module Aws::RedshiftServerless
742
742
  # Processing Units (RPUs).
743
743
  #
744
744
  # @option params [Array<Types::ConfigParameter>] :config_parameters
745
- # An array of parameters to set for more control over a serverless
746
- # database. The options are `datestyle`, `enable_user_activity_logging`,
747
- # `query_group`, `search_path`, and `max_query_execution_time`.
745
+ # An array of parameters to set for advanced control over a database.
746
+ # The options are `auto_mv`, `datestyle`,
747
+ # `enable_case_sensitivity_identifier`, `enable_user_activity_logging`,
748
+ # `query_group`, `search_path`, and query monitoring metrics that let
749
+ # you define performance boundaries. For more information about query
750
+ # monitoring rules and available metrics, see [ Query monitoring metrics
751
+ # for Amazon Redshift Serverless][1].
752
+ #
753
+ #
754
+ #
755
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
748
756
  #
749
757
  # @option params [Boolean] :enhanced_vpc_routing
750
758
  # The value that specifies whether to turn on enhanced virtual private
@@ -2143,7 +2151,12 @@ module Aws::RedshiftServerless
2143
2151
  end
2144
2152
 
2145
2153
  # Restores a table from a snapshot to your Amazon Redshift Serverless
2146
- # instance.
2154
+ # instance. You can't use this operation to restore tables with
2155
+ # [interleaved sort keys][1].
2156
+ #
2157
+ #
2158
+ #
2159
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved
2147
2160
  #
2148
2161
  # @option params [Boolean] :activate_case_sensitive_identifier
2149
2162
  # Indicates whether name identifiers for database, schema, and table are
@@ -2332,22 +2345,30 @@ module Aws::RedshiftServerless
2332
2345
  req.send_request(options)
2333
2346
  end
2334
2347
 
2335
- # Updates a namespace with the specified settings.
2348
+ # Updates a namespace with the specified settings. Unless required, you
2349
+ # can't update multiple parameters in one request. For example, you
2350
+ # must specify both `adminUsername` and `adminUserPassword` to update
2351
+ # either field, but you can't update both `kmsKeyId` and `logExports`
2352
+ # in a single request.
2336
2353
  #
2337
2354
  # @option params [String] :admin_user_password
2338
2355
  # The password of the administrator for the first database created in
2339
- # the namespace.
2356
+ # the namespace. This parameter must be updated together with
2357
+ # `adminUsername`.
2340
2358
  #
2341
2359
  # @option params [String] :admin_username
2342
2360
  # The username of the administrator for the first database created in
2343
- # the namespace.
2361
+ # the namespace. This parameter must be updated together with
2362
+ # `adminUserPassword`.
2344
2363
  #
2345
2364
  # @option params [String] :default_iam_role_arn
2346
2365
  # The Amazon Resource Name (ARN) of the IAM role to set as a default in
2347
- # the namespace.
2366
+ # the namespace. This parameter must be updated together with
2367
+ # `iamRoles`.
2348
2368
  #
2349
2369
  # @option params [Array<String>] :iam_roles
2350
- # A list of IAM roles to associate with the namespace.
2370
+ # A list of IAM roles to associate with the namespace. This parameter
2371
+ # must be updated together with `defaultIamRoleArn`.
2351
2372
  #
2352
2373
  # @option params [String] :kms_key_id
2353
2374
  # The ID of the Amazon Web Services Key Management Service key used to
@@ -2358,7 +2379,8 @@ module Aws::RedshiftServerless
2358
2379
  # `userlog`, `connectionlog`, and `useractivitylog`.
2359
2380
  #
2360
2381
  # @option params [required, String] :namespace_name
2361
- # The name of the namespace.
2382
+ # The name of the namespace to update. You can't update the name of a
2383
+ # namespace once it is created.
2362
2384
  #
2363
2385
  # @return [Types::UpdateNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2364
2386
  #
@@ -2501,7 +2523,10 @@ module Aws::RedshiftServerless
2501
2523
  req.send_request(options)
2502
2524
  end
2503
2525
 
2504
- # Updates a workgroup with the specified configuration settings.
2526
+ # Updates a workgroup with the specified configuration settings. You
2527
+ # can't update multiple parameters in one request. For example, you can
2528
+ # update `baseCapacity` or `port` in a single request, but you can't
2529
+ # update both in the same request.
2505
2530
  #
2506
2531
  # @option params [Integer] :base_capacity
2507
2532
  # The new base data warehouse capacity in Redshift Processing Units
@@ -2509,8 +2534,16 @@ module Aws::RedshiftServerless
2509
2534
  #
2510
2535
  # @option params [Array<Types::ConfigParameter>] :config_parameters
2511
2536
  # An array of parameters to set for advanced control over a database.
2512
- # The options are `datestyle`, `enable_user_activity_logging`,
2513
- # `query_group`, `search_path`, and `max_query_execution_time`.
2537
+ # The options are `auto_mv`, `datestyle`,
2538
+ # `enable_case_sensitivity_identifier`, `enable_user_activity_logging`,
2539
+ # `query_group`, `search_path`, and query monitoring metrics that let
2540
+ # you define performance boundaries. For more information about query
2541
+ # monitoring rules and available metrics, see [ Query monitoring metrics
2542
+ # for Amazon Redshift Serverless][1].
2543
+ #
2544
+ #
2545
+ #
2546
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
2514
2547
  #
2515
2548
  # @option params [Boolean] :enhanced_vpc_routing
2516
2549
  # The value that specifies whether to turn on enhanced virtual private
@@ -2532,7 +2565,8 @@ module Aws::RedshiftServerless
2532
2565
  # An array of VPC subnet IDs to associate with the workgroup.
2533
2566
  #
2534
2567
  # @option params [required, String] :workgroup_name
2535
- # The name of the workgroup to update.
2568
+ # The name of the workgroup to update. You can't update the name of a
2569
+ # workgroup once it is created.
2536
2570
  #
2537
2571
  # @return [Types::UpdateWorkgroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2538
2572
  #
@@ -2608,7 +2642,7 @@ module Aws::RedshiftServerless
2608
2642
  params: params,
2609
2643
  config: config)
2610
2644
  context[:gem_name] = 'aws-sdk-redshiftserverless'
2611
- context[:gem_version] = '1.6.0'
2645
+ context[:gem_version] = '1.7.0'
2612
2646
  Seahorse::Client::Request.new(handlers, context)
2613
2647
  end
2614
2648
 
@@ -50,6 +50,9 @@ module Aws::RedshiftServerless
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::RedshiftServerless
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -31,9 +31,17 @@ module Aws::RedshiftServerless
31
31
  # Redshift Serverless.
32
32
  #
33
33
  # @!attribute [rw] parameter_key
34
- # The key of the parameter. The options are `datestyle`,
34
+ # The key of the parameter. The options are `auto_mv`, `datestyle`,
35
+ # `enable_case_sensitivity_identifier`,
35
36
  # `enable_user_activity_logging`, `query_group`, `search_path`, and
36
- # `max_query_execution_time`.
37
+ # query monitoring metrics that let you define performance boundaries.
38
+ # For more information about query monitoring rules and available
39
+ # metrics, see [Query monitoring metrics for Amazon Redshift
40
+ # Serverless][1].
41
+ #
42
+ #
43
+ #
44
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
37
45
  # @return [String]
38
46
  #
39
47
  # @!attribute [rw] parameter_value
@@ -319,10 +327,18 @@ module Aws::RedshiftServerless
319
327
  # @return [Integer]
320
328
  #
321
329
  # @!attribute [rw] config_parameters
322
- # An array of parameters to set for more control over a serverless
323
- # database. The options are `datestyle`,
330
+ # An array of parameters to set for advanced control over a database.
331
+ # The options are `auto_mv`, `datestyle`,
332
+ # `enable_case_sensitivity_identifier`,
324
333
  # `enable_user_activity_logging`, `query_group`, `search_path`, and
325
- # `max_query_execution_time`.
334
+ # query monitoring metrics that let you define performance boundaries.
335
+ # For more information about query monitoring rules and available
336
+ # metrics, see [ Query monitoring metrics for Amazon Redshift
337
+ # Serverless][1].
338
+ #
339
+ #
340
+ #
341
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
326
342
  # @return [Array<Types::ConfigParameter>]
327
343
  #
328
344
  # @!attribute [rw] enhanced_vpc_routing
@@ -2087,21 +2103,25 @@ module Aws::RedshiftServerless
2087
2103
 
2088
2104
  # @!attribute [rw] admin_user_password
2089
2105
  # The password of the administrator for the first database created in
2090
- # the namespace.
2106
+ # the namespace. This parameter must be updated together with
2107
+ # `adminUsername`.
2091
2108
  # @return [String]
2092
2109
  #
2093
2110
  # @!attribute [rw] admin_username
2094
2111
  # The username of the administrator for the first database created in
2095
- # the namespace.
2112
+ # the namespace. This parameter must be updated together with
2113
+ # `adminUserPassword`.
2096
2114
  # @return [String]
2097
2115
  #
2098
2116
  # @!attribute [rw] default_iam_role_arn
2099
2117
  # The Amazon Resource Name (ARN) of the IAM role to set as a default
2100
- # in the namespace.
2118
+ # in the namespace. This parameter must be updated together with
2119
+ # `iamRoles`.
2101
2120
  # @return [String]
2102
2121
  #
2103
2122
  # @!attribute [rw] iam_roles
2104
- # A list of IAM roles to associate with the namespace.
2123
+ # A list of IAM roles to associate with the namespace. This parameter
2124
+ # must be updated together with `defaultIamRoleArn`.
2105
2125
  # @return [Array<String>]
2106
2126
  #
2107
2127
  # @!attribute [rw] kms_key_id
@@ -2115,7 +2135,8 @@ module Aws::RedshiftServerless
2115
2135
  # @return [Array<String>]
2116
2136
  #
2117
2137
  # @!attribute [rw] namespace_name
2118
- # The name of the namespace.
2138
+ # The name of the namespace to update. You can't update the name of a
2139
+ # namespace once it is created.
2119
2140
  # @return [String]
2120
2141
  #
2121
2142
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateNamespaceRequest AWS API Documentation
@@ -2218,8 +2239,17 @@ module Aws::RedshiftServerless
2218
2239
  #
2219
2240
  # @!attribute [rw] config_parameters
2220
2241
  # An array of parameters to set for advanced control over a database.
2221
- # The options are `datestyle`, `enable_user_activity_logging`,
2222
- # `query_group`, `search_path`, and `max_query_execution_time`.
2242
+ # The options are `auto_mv`, `datestyle`,
2243
+ # `enable_case_sensitivity_identifier`,
2244
+ # `enable_user_activity_logging`, `query_group`, `search_path`, and
2245
+ # query monitoring metrics that let you define performance boundaries.
2246
+ # For more information about query monitoring rules and available
2247
+ # metrics, see [ Query monitoring metrics for Amazon Redshift
2248
+ # Serverless][1].
2249
+ #
2250
+ #
2251
+ #
2252
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
2223
2253
  # @return [Array<Types::ConfigParameter>]
2224
2254
  #
2225
2255
  # @!attribute [rw] enhanced_vpc_routing
@@ -2247,7 +2277,8 @@ module Aws::RedshiftServerless
2247
2277
  # @return [Array<String>]
2248
2278
  #
2249
2279
  # @!attribute [rw] workgroup_name
2250
- # The name of the workgroup to update.
2280
+ # The name of the workgroup to update. You can't update the name of a
2281
+ # workgroup once it is created.
2251
2282
  # @return [String]
2252
2283
  #
2253
2284
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateWorkgroupRequest AWS API Documentation
@@ -2396,9 +2427,18 @@ module Aws::RedshiftServerless
2396
2427
  # @return [Integer]
2397
2428
  #
2398
2429
  # @!attribute [rw] config_parameters
2399
- # An array of parameters to set for finer control over a database. The
2400
- # options are `datestyle`, `enable_user_activity_logging`,
2401
- # `query_group`, `search_path`, and `max_query_execution_time`.
2430
+ # An array of parameters to set for advanced control over a database.
2431
+ # The options are `auto_mv`, `datestyle`,
2432
+ # `enable_case_sensitivity_identifier`,
2433
+ # `enable_user_activity_logging`, `query_group`, , `search_path`, and
2434
+ # query monitoring metrics that let you define performance boundaries.
2435
+ # For more information about query monitoring rules and available
2436
+ # metrics, see [ Query monitoring metrics for Amazon Redshift
2437
+ # Serverless][1].
2438
+ #
2439
+ #
2440
+ #
2441
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
2402
2442
  # @return [Array<Types::ConfigParameter>]
2403
2443
  #
2404
2444
  # @!attribute [rw] creation_date
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-redshiftserverless/customizations'
52
52
  # @!group service
53
53
  module Aws::RedshiftServerless
54
54
 
55
- GEM_VERSION = '1.6.0'
55
+ GEM_VERSION = '1.7.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-redshiftserverless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core