aws-sdk-redshiftserverless 1.6.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa6bed635604ebafddea2862a115aab4352ab7d28d58e0971fd8216ee6e88e32
4
- data.tar.gz: 8bcc45a942d8e87451319f264ffd256384fe091d33d1e0b506bd30d6ec782954
3
+ metadata.gz: 1755533afa7a7d28a5962375f60e9ae25e2cc64b20cc34244bd2d6e6c42e6b71
4
+ data.tar.gz: 5e5435e60e954d1f60c27d1a98d556d6d6dfcc45fc9a948fc2ce5b28754066af
5
5
  SHA512:
6
- metadata.gz: 7d90513ce575d130a50ef81839f3cb984ccfee8b6fd7b6091c7ce819fee1d83c001f0fa2f3633c41b8834f3128c04ba50d09829ada137000c0bd81374922635d
7
- data.tar.gz: 82fae8e66c6bec6c15a8392dd03de1eabd8f27a8bd00d49d797a0ea05e0a04000caf2bf9f791ffc2483a09f5c5bb8a3ae68bc0035d24834909f75ea49181188b
6
+ metadata.gz: 3ebc3e4536ffd4fae424f9da370644badf060ab6f31a3120c9a3078b4585f52c0681fb0c12fd7e050ec7ebde0ffaaf725f4d0f3e9d1c0fd833d0c9196d767b0e
7
+ data.tar.gz: abdf96b7df0ed81cffefe41d54a9799dfafe7a04e0226f4392040924cf512ded7e5396a04c0d1a7a16edfca5b7ac7aac3661551f645f5ab54e84af9f67246789
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.7.0 (2023-01-25)
10
+ ------------------
11
+
12
+ * Feature - Added query monitoring rules as possible parameters for create and update workgroup operations.
13
+
4
14
  1.6.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.8.0
@@ -275,6 +275,11 @@ module Aws::RedshiftServerless
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -742,9 +747,17 @@ module Aws::RedshiftServerless
742
747
  # Processing Units (RPUs).
743
748
  #
744
749
  # @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`.
750
+ # An array of parameters to set for advanced control over a database.
751
+ # The options are `auto_mv`, `datestyle`,
752
+ # `enable_case_sensitivity_identifier`, `enable_user_activity_logging`,
753
+ # `query_group`, `search_path`, and query monitoring metrics that let
754
+ # you define performance boundaries. For more information about query
755
+ # monitoring rules and available metrics, see [ Query monitoring metrics
756
+ # for Amazon Redshift Serverless][1].
757
+ #
758
+ #
759
+ #
760
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
748
761
  #
749
762
  # @option params [Boolean] :enhanced_vpc_routing
750
763
  # The value that specifies whether to turn on enhanced virtual private
@@ -2090,7 +2103,7 @@ module Aws::RedshiftServerless
2090
2103
  # cluster. Must not be specified at the same time as `snapshotName`.
2091
2104
  #
2092
2105
  # The format of the ARN is
2093
- # arn:aws:redshift:&lt;region&gt;\:&lt;account\_id&gt;\:snapshot:&lt;cluster\_identifier&gt;/&lt;snapshot\_identifier&gt;.
2106
+ # arn:aws:redshift:&lt;region&gt;:&lt;account\_id&gt;:snapshot:&lt;cluster\_identifier&gt;/&lt;snapshot\_identifier&gt;.
2094
2107
  #
2095
2108
  # @option params [String] :snapshot_name
2096
2109
  # The name of the snapshot to restore from. Must not be specified at the
@@ -2143,7 +2156,12 @@ module Aws::RedshiftServerless
2143
2156
  end
2144
2157
 
2145
2158
  # Restores a table from a snapshot to your Amazon Redshift Serverless
2146
- # instance.
2159
+ # instance. You can't use this operation to restore tables with
2160
+ # [interleaved sort keys][1].
2161
+ #
2162
+ #
2163
+ #
2164
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved
2147
2165
  #
2148
2166
  # @option params [Boolean] :activate_case_sensitive_identifier
2149
2167
  # Indicates whether name identifiers for database, schema, and table are
@@ -2332,22 +2350,30 @@ module Aws::RedshiftServerless
2332
2350
  req.send_request(options)
2333
2351
  end
2334
2352
 
2335
- # Updates a namespace with the specified settings.
2353
+ # Updates a namespace with the specified settings. Unless required, you
2354
+ # can't update multiple parameters in one request. For example, you
2355
+ # must specify both `adminUsername` and `adminUserPassword` to update
2356
+ # either field, but you can't update both `kmsKeyId` and `logExports`
2357
+ # in a single request.
2336
2358
  #
2337
2359
  # @option params [String] :admin_user_password
2338
2360
  # The password of the administrator for the first database created in
2339
- # the namespace.
2361
+ # the namespace. This parameter must be updated together with
2362
+ # `adminUsername`.
2340
2363
  #
2341
2364
  # @option params [String] :admin_username
2342
2365
  # The username of the administrator for the first database created in
2343
- # the namespace.
2366
+ # the namespace. This parameter must be updated together with
2367
+ # `adminUserPassword`.
2344
2368
  #
2345
2369
  # @option params [String] :default_iam_role_arn
2346
2370
  # The Amazon Resource Name (ARN) of the IAM role to set as a default in
2347
- # the namespace.
2371
+ # the namespace. This parameter must be updated together with
2372
+ # `iamRoles`.
2348
2373
  #
2349
2374
  # @option params [Array<String>] :iam_roles
2350
- # A list of IAM roles to associate with the namespace.
2375
+ # A list of IAM roles to associate with the namespace. This parameter
2376
+ # must be updated together with `defaultIamRoleArn`.
2351
2377
  #
2352
2378
  # @option params [String] :kms_key_id
2353
2379
  # The ID of the Amazon Web Services Key Management Service key used to
@@ -2358,7 +2384,8 @@ module Aws::RedshiftServerless
2358
2384
  # `userlog`, `connectionlog`, and `useractivitylog`.
2359
2385
  #
2360
2386
  # @option params [required, String] :namespace_name
2361
- # The name of the namespace.
2387
+ # The name of the namespace to update. You can't update the name of a
2388
+ # namespace once it is created.
2362
2389
  #
2363
2390
  # @return [Types::UpdateNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2364
2391
  #
@@ -2501,7 +2528,10 @@ module Aws::RedshiftServerless
2501
2528
  req.send_request(options)
2502
2529
  end
2503
2530
 
2504
- # Updates a workgroup with the specified configuration settings.
2531
+ # Updates a workgroup with the specified configuration settings. You
2532
+ # can't update multiple parameters in one request. For example, you can
2533
+ # update `baseCapacity` or `port` in a single request, but you can't
2534
+ # update both in the same request.
2505
2535
  #
2506
2536
  # @option params [Integer] :base_capacity
2507
2537
  # The new base data warehouse capacity in Redshift Processing Units
@@ -2509,8 +2539,16 @@ module Aws::RedshiftServerless
2509
2539
  #
2510
2540
  # @option params [Array<Types::ConfigParameter>] :config_parameters
2511
2541
  # 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`.
2542
+ # The options are `auto_mv`, `datestyle`,
2543
+ # `enable_case_sensitivity_identifier`, `enable_user_activity_logging`,
2544
+ # `query_group`, `search_path`, and query monitoring metrics that let
2545
+ # you define performance boundaries. For more information about query
2546
+ # monitoring rules and available metrics, see [ Query monitoring metrics
2547
+ # for Amazon Redshift Serverless][1].
2548
+ #
2549
+ #
2550
+ #
2551
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless
2514
2552
  #
2515
2553
  # @option params [Boolean] :enhanced_vpc_routing
2516
2554
  # The value that specifies whether to turn on enhanced virtual private
@@ -2532,7 +2570,8 @@ module Aws::RedshiftServerless
2532
2570
  # An array of VPC subnet IDs to associate with the workgroup.
2533
2571
  #
2534
2572
  # @option params [required, String] :workgroup_name
2535
- # The name of the workgroup to update.
2573
+ # The name of the workgroup to update. You can't update the name of a
2574
+ # workgroup once it is created.
2536
2575
  #
2537
2576
  # @return [Types::UpdateWorkgroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2538
2577
  #
@@ -2608,7 +2647,7 @@ module Aws::RedshiftServerless
2608
2647
  params: params,
2609
2648
  config: config)
2610
2649
  context[:gem_name] = 'aws-sdk-redshiftserverless'
2611
- context[:gem_version] = '1.6.0'
2650
+ context[:gem_version] = '1.8.0'
2612
2651
  Seahorse::Client::Request.new(handlers, context)
2613
2652
  end
2614
2653
 
@@ -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
@@ -1618,7 +1634,7 @@ module Aws::RedshiftServerless
1618
1634
  # `snapshotName`.
1619
1635
  #
1620
1636
  # The format of the ARN is
1621
- # arn:aws:redshift:&lt;region&gt;\:&lt;account\_id&gt;\:snapshot:&lt;cluster\_identifier&gt;/&lt;snapshot\_identifier&gt;.
1637
+ # arn:aws:redshift:&lt;region&gt;:&lt;account\_id&gt;:snapshot:&lt;cluster\_identifier&gt;/&lt;snapshot\_identifier&gt;.
1622
1638
  # @return [String]
1623
1639
  #
1624
1640
  # @!attribute [rw] snapshot_name
@@ -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.8.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.8.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-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement