aws-sdk-redshiftserverless 1.5.0 → 1.7.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: 50d07776b2f579001fe49afbf6ad289a171347bcc8eff99b32dc509db17e5a85
4
- data.tar.gz: bd0285a86fd3f9b65573894577f97860bbdd7bf8606fb6a8c932765c9e9c67be
3
+ metadata.gz: 59ef57da7be6e03f6a72b63c5077b8a0c88d3e1bce16d84e858742dd1b9e72c9
4
+ data.tar.gz: 9a9313c4f08cde1a18a45e0487b82dd794939d55457a0a7f35c6e636c9ed5f78
5
5
  SHA512:
6
- metadata.gz: e9822c25e8b7d2d6a91222e7264b9e9660b58d19554d6f68984f95d4623bce6fc0b1715b4d454840deabec166ab788d22d4a506bab43ae7d6a8518ed9217377a
7
- data.tar.gz: a42a70031d97969fd9c73fa8839acb718231970140d4b02d62c9d677200822c99ae3483cde38388cbb2c9635730ea9500a9382850fb5bd826c298e51dc9054d2
6
+ metadata.gz: 3156e9adb6d4444b70e74fb7e9f4d16d074306deee759a19d951f9ec353b0a89d301f7513a33c1766362695758449b44659e770b06153a7bfe97ac3ed4f07843
7
+ data.tar.gz: 858428449281a801de19f26e422a45f3648d5e9d269d680d1819018516eae6b83efeacb0932df440b3acf7b52158bc6d15789d703d23306807f2e7aa44d29698
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
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
+
9
+ 1.6.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.5.0 (2022-12-02)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.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.5.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?
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::RedshiftServerless
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-serverless-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-serverless-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-serverless.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-serverless.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- Z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cyBub3Qgc3VwcG9ydCBEdWFsU3Rh
105
- Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
106
- aW50Ijp7InVybCI6Imh0dHBzOi8vcmVkc2hpZnQtc2VydmVybGVzcy57UmVn
107
- aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
108
- Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  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.5.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.5.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: 2022-12-02 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