aws-sdk-finspace 1.25.0 → 1.26.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: 10812978e9b3c6424080292dddbc40bc45f29453af048d1093466a2ebe6a5bbc
4
- data.tar.gz: d3dc25581bb0400feebd4c68252cd6821d2250421ca77e5e83e4e4f5c60888e1
3
+ metadata.gz: 5585037a00196776843d6577bdd9e16b45be3b2cfd388e2093f85b382d2e2a62
4
+ data.tar.gz: 025527a530b64185c0fce80034387475a747a67ea3141503559d934778a3c956
5
5
  SHA512:
6
- metadata.gz: 98d162e1715f79e6df465d3c8dfa014e0d10669086760755209da0b8f84822bbc91b186a3c8457ced020632e94b918c10f0377219eda4d09b4477c3ff95730a5
7
- data.tar.gz: 7e7cb7d4af1f6b822c213ea66491dfcb7358d5ddc73b176d58c75e287827434cfaece7127324e91bdf2c0a90471f9e858d8e2cb4085fdd97a1c93e60032c085e
6
+ metadata.gz: fc0ec6e6bbd2c233c077555c995b715d00f628b3e432f1b857ba0636cca575d3d8ec038d8914d7839d1835c6f78d146b718a44f67d6b2ce896e42989980460fa
7
+ data.tar.gz: c5efbb41be964eadce10b31aef1cefb54a69778d03e117b20b7434cef6d672db04cbed922d93fff1f3b7b5749b28fcf8e60847bf936e58c30f4e355022772000
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2023-12-04)
5
+ ------------------
6
+
7
+ * Feature - Release General Purpose type clusters
8
+
4
9
  1.25.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -490,30 +490,51 @@ module Aws::Finspace
490
490
  #
491
491
  # @option params [required, Array<Types::ChangeRequest>] :change_requests
492
492
  # A list of change request objects that are run in order. A change
493
- # request object consists of changeType , s3Path, and a dbPath. A
493
+ # request object consists of `changeType` , `s3Path`, and `dbPath`. A
494
494
  # changeType can has the following values:
495
495
  #
496
496
  # * PUT – Adds or updates files in a database.
497
497
  #
498
498
  # * DELETE – Deletes files in a database.
499
499
  #
500
- # All the change requests require a mandatory *dbPath* attribute that
501
- # defines the path within the database directory. The *s3Path* attribute
502
- # defines the s3 source file path and is required for a PUT change type.
500
+ # All the change requests require a mandatory `dbPath` attribute that
501
+ # defines the path within the database directory. All database paths
502
+ # must start with a leading / and end with a trailing /. The `s3Path`
503
+ # attribute defines the s3 source file path and is required for a PUT
504
+ # change type. The `s3path` must end with a trailing / if it is a
505
+ # directory and must end without a trailing / if it is a file.
503
506
  #
504
- # Here is an example of how you can use the change request object:
507
+ # Here are few examples of how you can use the change request object:
505
508
  #
506
- # `[ \{ "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/",
507
- # "dbPath":"/2020.01.02/"\}, \{ "changeType": "PUT",
508
- # "s3Path":"s3://bucket/db/sym", "dbPath":"/"\}, \{ "changeType":
509
- # "DELETE", "dbPath": "/2020.01.01/"\} ]`
509
+ # 1. This request adds a single sym file at database root location.
510
510
  #
511
- # In this example, the first request with *PUT* change type allows you
512
- # to add files in the given s3Path under the *2020.01.02* partition of
513
- # the database. The second request with *PUT* change type allows you to
514
- # add a single sym file at database root location. The last request with
515
- # *DELETE* change type allows you to delete the files under the
516
- # *2020.01.01* partition of the database.
511
+ # `\{ "changeType": "PUT", "s3Path":"s3://bucket/db/sym",
512
+ # "dbPath":"/"\}`
513
+ #
514
+ # 2. This request adds files in the given `s3Path` under the 2020.01.02
515
+ # partition of the database.
516
+ #
517
+ # `\{ "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/",
518
+ # "dbPath":"/2020.01.02/"\}`
519
+ #
520
+ # 3. This request adds files in the given `s3Path` under the *taq*
521
+ # table partition of the database.
522
+ #
523
+ # `[ \{ "changeType": "PUT",
524
+ # "s3Path":"s3://bucket/db/2020.01.02/taq/",
525
+ # "dbPath":"/2020.01.02/taq/"\}]`
526
+ #
527
+ # 4. This request deletes the 2020.01.02 partition of the database.
528
+ #
529
+ # `[\{ "changeType": "DELETE", "dbPath": "/2020.01.02/"\} ]`
530
+ #
531
+ # 5. The *DELETE* request allows you to delete the existing files under
532
+ # the 2020.01.02 partition of the database, and the *PUT* request
533
+ # adds a new taq table under it.
534
+ #
535
+ # `[ \{"changeType": "DELETE", "dbPath":"/2020.01.02/"\},
536
+ # \{"changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/taq/",
537
+ # "dbPath":"/2020.01.02/taq/"\}]`
517
538
  #
518
539
  # @option params [required, String] :client_token
519
540
  # A token that ensures idempotency. This token expires in 10 minutes.
@@ -606,6 +627,13 @@ module Aws::Finspace
606
627
  # logic using the initialization scripts and custom code. This type of
607
628
  # cluster does not require a writable local storage.
608
629
  #
630
+ # * GP – A general purpose cluster allows you to quickly iterate on code
631
+ # during development by granting greater access to system commands and
632
+ # enabling a fast reload of custom code. This cluster type can
633
+ # optionally mount databases including cache and savedown storage. For
634
+ # this cluster type, the node count is fixed at 1. It does not support
635
+ # autoscaling and supports only `SINGLE` AZ mode.
636
+ #
609
637
  # @option params [Array<Types::KxDatabaseConfiguration>] :databases
610
638
  # A list of databases that will be available for querying.
611
639
  #
@@ -703,7 +731,7 @@ module Aws::Finspace
703
731
  # client_token: "ClientToken",
704
732
  # environment_id: "KxEnvironmentId", # required
705
733
  # cluster_name: "KxClusterName", # required
706
- # cluster_type: "HDB", # required, accepts HDB, RDB, GATEWAY
734
+ # cluster_type: "HDB", # required, accepts HDB, RDB, GATEWAY, GP
707
735
  # databases: [
708
736
  # {
709
737
  # database_name: "DatabaseName", # required
@@ -772,7 +800,7 @@ module Aws::Finspace
772
800
  # resp.status #=> String, one of "PENDING", "CREATING", "CREATE_FAILED", "RUNNING", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
773
801
  # resp.status_reason #=> String
774
802
  # resp.cluster_name #=> String
775
- # resp.cluster_type #=> String, one of "HDB", "RDB", "GATEWAY"
803
+ # resp.cluster_type #=> String, one of "HDB", "RDB", "GATEWAY", "GP"
776
804
  # resp.databases #=> Array
777
805
  # resp.databases[0].database_name #=> String
778
806
  # resp.databases[0].cache_configurations #=> Array
@@ -1282,7 +1310,7 @@ module Aws::Finspace
1282
1310
  # resp.status #=> String, one of "PENDING", "CREATING", "CREATE_FAILED", "RUNNING", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
1283
1311
  # resp.status_reason #=> String
1284
1312
  # resp.cluster_name #=> String
1285
- # resp.cluster_type #=> String, one of "HDB", "RDB", "GATEWAY"
1313
+ # resp.cluster_type #=> String, one of "HDB", "RDB", "GATEWAY", "GP"
1286
1314
  # resp.databases #=> Array
1287
1315
  # resp.databases[0].database_name #=> String
1288
1316
  # resp.databases[0].cache_configurations #=> Array
@@ -1715,6 +1743,13 @@ module Aws::Finspace
1715
1743
  # logic using the initialization scripts and custom code. This type of
1716
1744
  # cluster does not require a writable local storage.
1717
1745
  #
1746
+ # * GP – A general purpose cluster allows you to quickly iterate on code
1747
+ # during development by granting greater access to system commands and
1748
+ # enabling a fast reload of custom code. This cluster type can
1749
+ # optionally mount databases including cache and savedown storage. For
1750
+ # this cluster type, the node count is fixed at 1. It does not support
1751
+ # autoscaling and supports only `SINGLE` AZ mode.
1752
+ #
1718
1753
  # @option params [Integer] :max_results
1719
1754
  # The maximum number of results to return in this request.
1720
1755
  #
@@ -1730,7 +1765,7 @@ module Aws::Finspace
1730
1765
  #
1731
1766
  # resp = client.list_kx_clusters({
1732
1767
  # environment_id: "KxEnvironmentId", # required
1733
- # cluster_type: "HDB", # accepts HDB, RDB, GATEWAY
1768
+ # cluster_type: "HDB", # accepts HDB, RDB, GATEWAY, GP
1734
1769
  # max_results: 1,
1735
1770
  # next_token: "PaginationToken",
1736
1771
  # })
@@ -1741,7 +1776,7 @@ module Aws::Finspace
1741
1776
  # resp.kx_cluster_summaries[0].status #=> String, one of "PENDING", "CREATING", "CREATE_FAILED", "RUNNING", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
1742
1777
  # resp.kx_cluster_summaries[0].status_reason #=> String
1743
1778
  # resp.kx_cluster_summaries[0].cluster_name #=> String
1744
- # resp.kx_cluster_summaries[0].cluster_type #=> String, one of "HDB", "RDB", "GATEWAY"
1779
+ # resp.kx_cluster_summaries[0].cluster_type #=> String, one of "HDB", "RDB", "GATEWAY", "GP"
1745
1780
  # resp.kx_cluster_summaries[0].cluster_description #=> String
1746
1781
  # resp.kx_cluster_summaries[0].release_label #=> String
1747
1782
  # resp.kx_cluster_summaries[0].initialization_script #=> String
@@ -2101,10 +2136,14 @@ module Aws::Finspace
2101
2136
  # will be loaded on the cluster. It must include the file name itself.
2102
2137
  # For example, `somedir/init.q`.
2103
2138
  #
2139
+ # You cannot update this parameter for a `NO_RESTART` deployment.
2140
+ #
2104
2141
  # @option params [Array<Types::KxCommandLineArgument>] :command_line_arguments
2105
2142
  # Specifies the key-value pairs to make them available inside the
2106
2143
  # cluster.
2107
2144
  #
2145
+ # You cannot update this parameter for a `NO_RESTART` deployment.
2146
+ #
2108
2147
  # @option params [Types::KxClusterCodeDeploymentConfiguration] :deployment_configuration
2109
2148
  # The configuration that allows you to choose how you want to update the
2110
2149
  # code on a cluster.
@@ -2130,7 +2169,7 @@ module Aws::Finspace
2130
2169
  # },
2131
2170
  # ],
2132
2171
  # deployment_configuration: {
2133
- # deployment_strategy: "ROLLING", # required, accepts ROLLING, FORCE
2172
+ # deployment_strategy: "NO_RESTART", # required, accepts NO_RESTART, ROLLING, FORCE
2134
2173
  # },
2135
2174
  # })
2136
2175
  #
@@ -2512,7 +2551,7 @@ module Aws::Finspace
2512
2551
  params: params,
2513
2552
  config: config)
2514
2553
  context[:gem_name] = 'aws-sdk-finspace'
2515
- context[:gem_version] = '1.25.0'
2554
+ context[:gem_version] = '1.26.0'
2516
2555
  Seahorse::Client::Request.new(handlers, context)
2517
2556
  end
2518
2557
 
@@ -292,31 +292,52 @@ module Aws::Finspace
292
292
  #
293
293
  # @!attribute [rw] change_requests
294
294
  # A list of change request objects that are run in order. A change
295
- # request object consists of changeType , s3Path, and a dbPath. A
295
+ # request object consists of `changeType` , `s3Path`, and `dbPath`. A
296
296
  # changeType can has the following values:
297
297
  #
298
298
  # * PUT – Adds or updates files in a database.
299
299
  #
300
300
  # * DELETE – Deletes files in a database.
301
301
  #
302
- # All the change requests require a mandatory *dbPath* attribute that
303
- # defines the path within the database directory. The *s3Path*
302
+ # All the change requests require a mandatory `dbPath` attribute that
303
+ # defines the path within the database directory. All database paths
304
+ # must start with a leading / and end with a trailing /. The `s3Path`
304
305
  # attribute defines the s3 source file path and is required for a PUT
305
- # change type.
306
+ # change type. The `s3path` must end with a trailing / if it is a
307
+ # directory and must end without a trailing / if it is a file.
306
308
  #
307
- # Here is an example of how you can use the change request object:
309
+ # Here are few examples of how you can use the change request object:
308
310
  #
309
- # `[ \{ "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/",
310
- # "dbPath":"/2020.01.02/"\}, \{ "changeType": "PUT",
311
- # "s3Path":"s3://bucket/db/sym", "dbPath":"/"\}, \{ "changeType":
312
- # "DELETE", "dbPath": "/2020.01.01/"\} ]`
311
+ # 1. This request adds a single sym file at database root location.
313
312
  #
314
- # In this example, the first request with *PUT* change type allows you
315
- # to add files in the given s3Path under the *2020.01.02* partition of
316
- # the database. The second request with *PUT* change type allows you
317
- # to add a single sym file at database root location. The last request
318
- # with *DELETE* change type allows you to delete the files under the
319
- # *2020.01.01* partition of the database.
313
+ # `\{ "changeType": "PUT", "s3Path":"s3://bucket/db/sym",
314
+ # "dbPath":"/"\}`
315
+ #
316
+ # 2. This request adds files in the given `s3Path` under the
317
+ # 2020.01.02 partition of the database.
318
+ #
319
+ # `\{ "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/",
320
+ # "dbPath":"/2020.01.02/"\}`
321
+ #
322
+ # 3. This request adds files in the given `s3Path` under the *taq*
323
+ # table partition of the database.
324
+ #
325
+ # `[ \{ "changeType": "PUT",
326
+ # "s3Path":"s3://bucket/db/2020.01.02/taq/",
327
+ # "dbPath":"/2020.01.02/taq/"\}]`
328
+ #
329
+ # 4. This request deletes the 2020.01.02 partition of the database.
330
+ #
331
+ # `[\{ "changeType": "DELETE", "dbPath": "/2020.01.02/"\} ]`
332
+ #
333
+ # 5. The *DELETE* request allows you to delete the existing files
334
+ # under the 2020.01.02 partition of the database, and the *PUT*
335
+ # request adds a new taq table under it.
336
+ #
337
+ # `[ \{"changeType": "DELETE", "dbPath":"/2020.01.02/"\},
338
+ # \{"changeType": "PUT",
339
+ # "s3Path":"s3://bucket/db/2020.01.02/taq/",
340
+ # "dbPath":"/2020.01.02/taq/"\}]`
320
341
  # @return [Array<Types::ChangeRequest>]
321
342
  #
322
343
  # @!attribute [rw] client_token
@@ -434,6 +455,13 @@ module Aws::Finspace
434
455
  # processes in kdb systems. It allows you to create your own routing
435
456
  # logic using the initialization scripts and custom code. This type
436
457
  # of cluster does not require a writable local storage.
458
+ #
459
+ # * GP – A general purpose cluster allows you to quickly iterate on
460
+ # code during development by granting greater access to system
461
+ # commands and enabling a fast reload of custom code. This cluster
462
+ # type can optionally mount databases including cache and savedown
463
+ # storage. For this cluster type, the node count is fixed at 1. It
464
+ # does not support autoscaling and supports only `SINGLE` AZ mode.
437
465
  # @return [String]
438
466
  #
439
467
  # @!attribute [rw] databases
@@ -597,6 +625,13 @@ module Aws::Finspace
597
625
  # processes in kdb systems. It allows you to create your own routing
598
626
  # logic using the initialization scripts and custom code. This type
599
627
  # of cluster does not require a writable local storage.
628
+ #
629
+ # * GP – A general purpose cluster allows you to quickly iterate on
630
+ # code during development by granting greater access to system
631
+ # commands and enabling a fast reload of custom code. This cluster
632
+ # type can optionally mount databases including cache and savedown
633
+ # storage. For this cluster type, the node count is fixed at 1. It
634
+ # does not support autoscaling and supports only `SINGLE` AZ mode.
600
635
  # @return [String]
601
636
  #
602
637
  # @!attribute [rw] databases
@@ -1392,6 +1427,13 @@ module Aws::Finspace
1392
1427
  # processes in kdb systems. It allows you to create your own routing
1393
1428
  # logic using the initialization scripts and custom code. This type
1394
1429
  # of cluster does not require a writable local storage.
1430
+ #
1431
+ # * GP – A general purpose cluster allows you to quickly iterate on
1432
+ # code during development by granting greater access to system
1433
+ # commands and enabling a fast reload of custom code. This cluster
1434
+ # type can optionally mount databases including cache and savedown
1435
+ # storage. For this cluster type, the node count is fixed at 1. It
1436
+ # does not support autoscaling and supports only `SINGLE` AZ mode.
1395
1437
  # @return [String]
1396
1438
  #
1397
1439
  # @!attribute [rw] databases
@@ -1972,6 +2014,13 @@ module Aws::Finspace
1972
2014
  # processes in kdb systems. It allows you to create your own routing
1973
2015
  # logic using the initialization scripts and custom code. This type
1974
2016
  # of cluster does not require a writable local storage.
2017
+ #
2018
+ # * GP – A general purpose cluster allows you to quickly iterate on
2019
+ # code during development by granting greater access to system
2020
+ # commands and enabling a fast reload of custom code. This cluster
2021
+ # type can optionally mount databases including cache and savedown
2022
+ # storage. For this cluster type, the node count is fixed at 1. It
2023
+ # does not support autoscaling and supports only `SINGLE` AZ mode.
1975
2024
  # @return [String]
1976
2025
  #
1977
2026
  # @!attribute [rw] cluster_description
@@ -2050,6 +2099,14 @@ module Aws::Finspace
2050
2099
  # * ROLLING – This options updates the cluster by stopping the exiting
2051
2100
  # q process and starting a new q process with updated configuration.
2052
2101
  #
2102
+ # * NO\_RESTART – This option updates the cluster without stopping the
2103
+ # running q process. It is only available for `GP` type cluster.
2104
+ # This option is quicker as it reduces the turn around time to
2105
+ # update configuration on a cluster.
2106
+ #
2107
+ # With this deployment mode, you cannot update the
2108
+ # `initializationScript` and `commandLineArguments` parameters.
2109
+ #
2053
2110
  # * FORCE – This option updates the cluster by immediately stopping
2054
2111
  # all the running processes before starting up new ones with the
2055
2112
  # updated configuration.
@@ -2574,6 +2631,13 @@ module Aws::Finspace
2574
2631
  # processes in kdb systems. It allows you to create your own routing
2575
2632
  # logic using the initialization scripts and custom code. This type
2576
2633
  # of cluster does not require a writable local storage.
2634
+ #
2635
+ # * GP – A general purpose cluster allows you to quickly iterate on
2636
+ # code during development by granting greater access to system
2637
+ # commands and enabling a fast reload of custom code. This cluster
2638
+ # type can optionally mount databases including cache and savedown
2639
+ # storage. For this cluster type, the node count is fixed at 1. It
2640
+ # does not support autoscaling and supports only `SINGLE` AZ mode.
2577
2641
  # @return [String]
2578
2642
  #
2579
2643
  # @!attribute [rw] max_results
@@ -3042,11 +3106,15 @@ module Aws::Finspace
3042
3106
  # a relative path within *.zip* file that contains the custom code,
3043
3107
  # which will be loaded on the cluster. It must include the file name
3044
3108
  # itself. For example, `somedir/init.q`.
3109
+ #
3110
+ # You cannot update this parameter for a `NO_RESTART` deployment.
3045
3111
  # @return [String]
3046
3112
  #
3047
3113
  # @!attribute [rw] command_line_arguments
3048
3114
  # Specifies the key-value pairs to make them available inside the
3049
3115
  # cluster.
3116
+ #
3117
+ # You cannot update this parameter for a `NO_RESTART` deployment.
3050
3118
  # @return [Array<Types::KxCommandLineArgument>]
3051
3119
  #
3052
3120
  # @!attribute [rw] deployment_configuration
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-finspace/customizations'
52
52
  # @!group service
53
53
  module Aws::Finspace
54
54
 
55
- GEM_VERSION = '1.25.0'
55
+ GEM_VERSION = '1.26.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-finspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.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-11-28 00:00:00.000000000 Z
11
+ date: 2023-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core