aws-sdk-finspace 1.21.0 → 1.23.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-finspace/client.rb +71 -1
- data/lib/aws-sdk-finspace/client_api.rb +38 -0
- data/lib/aws-sdk-finspace/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-finspace/endpoints.rb +14 -0
- data/lib/aws-sdk-finspace/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-finspace/types.rb +98 -11
- data/lib/aws-sdk-finspace.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c7281f667b62324866fef8eaf0a8a9671f3d81118474256b9d81652ecd348b2
|
4
|
+
data.tar.gz: 9900f8de8320ce9d3ed5335720b059abfeb3011d1e41598f0a65ef55f42de4f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a65ec9d488be7116e9c57ea72efb5a12f0a5c0d99894eeaf246c4016eccde12bd341ca8d3bb52cf190b44499041f3c4d9980b4a8e987dd5c7afbfcdd6e8e7fb
|
7
|
+
data.tar.gz: dbac9e8c377ca8f38aef47f6403106b8b1259bc1856dc8191497234b6517d13b36d29bf7ab082ab26eb626b0b2fbd41bf36e4a00de3ce9c7a25cab333dedd814
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.23.0 (2023-11-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding deprecated trait on Dataset Browser Environment APIs
|
8
|
+
|
9
|
+
1.22.0 (2023-10-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Introducing new API UpdateKxClusterCodeConfiguration, introducing new cache types for clusters and introducing new deployment modes for updating clusters.
|
13
|
+
|
4
14
|
1.21.0 (2023-09-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.23.0
|
@@ -2073,6 +2073,76 @@ module Aws::Finspace
|
|
2073
2073
|
req.send_request(options)
|
2074
2074
|
end
|
2075
2075
|
|
2076
|
+
# Allows you to update code configuration on a running cluster. By using
|
2077
|
+
# this API you can update the code, the initialization script path, and
|
2078
|
+
# the command line arguments for a specific cluster. The configuration
|
2079
|
+
# that you want to update will override any existing configurations on
|
2080
|
+
# the cluster.
|
2081
|
+
#
|
2082
|
+
# @option params [required, String] :environment_id
|
2083
|
+
# A unique identifier of the kdb environment.
|
2084
|
+
#
|
2085
|
+
# @option params [required, String] :cluster_name
|
2086
|
+
# The name of the cluster.
|
2087
|
+
#
|
2088
|
+
# @option params [String] :client_token
|
2089
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
2090
|
+
#
|
2091
|
+
# **A suitable default value is auto-generated.** You should normally
|
2092
|
+
# not need to pass this option.**
|
2093
|
+
#
|
2094
|
+
# @option params [required, Types::CodeConfiguration] :code
|
2095
|
+
# The structure of the customer code available within the running
|
2096
|
+
# cluster.
|
2097
|
+
#
|
2098
|
+
# @option params [String] :initialization_script
|
2099
|
+
# Specifies a Q program that will be run at launch of a cluster. It is a
|
2100
|
+
# relative path within *.zip* file that contains the custom code, which
|
2101
|
+
# will be loaded on the cluster. It must include the file name itself.
|
2102
|
+
# For example, `somedir/init.q`.
|
2103
|
+
#
|
2104
|
+
# @option params [Array<Types::KxCommandLineArgument>] :command_line_arguments
|
2105
|
+
# Specifies the key-value pairs to make them available inside the
|
2106
|
+
# cluster.
|
2107
|
+
#
|
2108
|
+
# @option params [Types::KxClusterCodeDeploymentConfiguration] :deployment_configuration
|
2109
|
+
# The configuration that allows you to choose how you want to update the
|
2110
|
+
# code on a cluster.
|
2111
|
+
#
|
2112
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2113
|
+
#
|
2114
|
+
# @example Request syntax with placeholder values
|
2115
|
+
#
|
2116
|
+
# resp = client.update_kx_cluster_code_configuration({
|
2117
|
+
# environment_id: "KxEnvironmentId", # required
|
2118
|
+
# cluster_name: "KxClusterName", # required
|
2119
|
+
# client_token: "ClientTokenString",
|
2120
|
+
# code: { # required
|
2121
|
+
# s3_bucket: "S3Bucket",
|
2122
|
+
# s3_key: "S3Key",
|
2123
|
+
# s3_object_version: "S3ObjectVersion",
|
2124
|
+
# },
|
2125
|
+
# initialization_script: "InitializationScriptFilePath",
|
2126
|
+
# command_line_arguments: [
|
2127
|
+
# {
|
2128
|
+
# key: "KxCommandLineArgumentKey",
|
2129
|
+
# value: "KxCommandLineArgumentValue",
|
2130
|
+
# },
|
2131
|
+
# ],
|
2132
|
+
# deployment_configuration: {
|
2133
|
+
# deployment_strategy: "ROLLING", # required, accepts ROLLING, FORCE
|
2134
|
+
# },
|
2135
|
+
# })
|
2136
|
+
#
|
2137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateKxClusterCodeConfiguration AWS API Documentation
|
2138
|
+
#
|
2139
|
+
# @overload update_kx_cluster_code_configuration(params = {})
|
2140
|
+
# @param [Hash] params ({})
|
2141
|
+
def update_kx_cluster_code_configuration(params = {}, options = {})
|
2142
|
+
req = build_request(:update_kx_cluster_code_configuration, params)
|
2143
|
+
req.send_request(options)
|
2144
|
+
end
|
2145
|
+
|
2076
2146
|
# Updates the databases mounted on a kdb cluster, which includes the
|
2077
2147
|
# `changesetId` and all the dbPaths to be cached. This API does not
|
2078
2148
|
# allow you to change a database name or add a database if you created a
|
@@ -2442,7 +2512,7 @@ module Aws::Finspace
|
|
2442
2512
|
params: params,
|
2443
2513
|
config: config)
|
2444
2514
|
context[:gem_name] = 'aws-sdk-finspace'
|
2445
|
-
context[:gem_version] = '1.
|
2515
|
+
context[:gem_version] = '1.23.0'
|
2446
2516
|
Seahorse::Client::Request.new(handlers, context)
|
2447
2517
|
end
|
2448
2518
|
|
@@ -112,6 +112,8 @@ module Aws::Finspace
|
|
112
112
|
KxChangesetListEntry = Shapes::StructureShape.new(name: 'KxChangesetListEntry')
|
113
113
|
KxChangesets = Shapes::ListShape.new(name: 'KxChangesets')
|
114
114
|
KxCluster = Shapes::StructureShape.new(name: 'KxCluster')
|
115
|
+
KxClusterCodeDeploymentConfiguration = Shapes::StructureShape.new(name: 'KxClusterCodeDeploymentConfiguration')
|
116
|
+
KxClusterCodeDeploymentStrategy = Shapes::StringShape.new(name: 'KxClusterCodeDeploymentStrategy')
|
115
117
|
KxClusterDescription = Shapes::StringShape.new(name: 'KxClusterDescription')
|
116
118
|
KxClusterName = Shapes::StringShape.new(name: 'KxClusterName')
|
117
119
|
KxClusterNodeIdString = Shapes::StringShape.new(name: 'KxClusterNodeIdString')
|
@@ -205,6 +207,8 @@ module Aws::Finspace
|
|
205
207
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
206
208
|
UpdateEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateEnvironmentRequest')
|
207
209
|
UpdateEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateEnvironmentResponse')
|
210
|
+
UpdateKxClusterCodeConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateKxClusterCodeConfigurationRequest')
|
211
|
+
UpdateKxClusterCodeConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateKxClusterCodeConfigurationResponse')
|
208
212
|
UpdateKxClusterDatabasesRequest = Shapes::StructureShape.new(name: 'UpdateKxClusterDatabasesRequest')
|
209
213
|
UpdateKxClusterDatabasesResponse = Shapes::StructureShape.new(name: 'UpdateKxClusterDatabasesResponse')
|
210
214
|
UpdateKxDatabaseRequest = Shapes::StructureShape.new(name: 'UpdateKxDatabaseRequest')
|
@@ -598,6 +602,9 @@ module Aws::Finspace
|
|
598
602
|
KxCluster.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimestamp"))
|
599
603
|
KxCluster.struct_class = Types::KxCluster
|
600
604
|
|
605
|
+
KxClusterCodeDeploymentConfiguration.add_member(:deployment_strategy, Shapes::ShapeRef.new(shape: KxClusterCodeDeploymentStrategy, required: true, location_name: "deploymentStrategy"))
|
606
|
+
KxClusterCodeDeploymentConfiguration.struct_class = Types::KxClusterCodeDeploymentConfiguration
|
607
|
+
|
601
608
|
KxClusters.member = Shapes::ShapeRef.new(shape: KxCluster)
|
602
609
|
|
603
610
|
KxCommandLineArgument.add_member(:key, Shapes::ShapeRef.new(shape: KxCommandLineArgumentKey, location_name: "key"))
|
@@ -810,6 +817,17 @@ module Aws::Finspace
|
|
810
817
|
UpdateEnvironmentResponse.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "environment"))
|
811
818
|
UpdateEnvironmentResponse.struct_class = Types::UpdateEnvironmentResponse
|
812
819
|
|
820
|
+
UpdateKxClusterCodeConfigurationRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: KxEnvironmentId, required: true, location: "uri", location_name: "environmentId"))
|
821
|
+
UpdateKxClusterCodeConfigurationRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: KxClusterName, required: true, location: "uri", location_name: "clusterName"))
|
822
|
+
UpdateKxClusterCodeConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
823
|
+
UpdateKxClusterCodeConfigurationRequest.add_member(:code, Shapes::ShapeRef.new(shape: CodeConfiguration, required: true, location_name: "code"))
|
824
|
+
UpdateKxClusterCodeConfigurationRequest.add_member(:initialization_script, Shapes::ShapeRef.new(shape: InitializationScriptFilePath, location_name: "initializationScript"))
|
825
|
+
UpdateKxClusterCodeConfigurationRequest.add_member(:command_line_arguments, Shapes::ShapeRef.new(shape: KxCommandLineArguments, location_name: "commandLineArguments"))
|
826
|
+
UpdateKxClusterCodeConfigurationRequest.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: KxClusterCodeDeploymentConfiguration, location_name: "deploymentConfiguration"))
|
827
|
+
UpdateKxClusterCodeConfigurationRequest.struct_class = Types::UpdateKxClusterCodeConfigurationRequest
|
828
|
+
|
829
|
+
UpdateKxClusterCodeConfigurationResponse.struct_class = Types::UpdateKxClusterCodeConfigurationResponse
|
830
|
+
|
813
831
|
UpdateKxClusterDatabasesRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: KxEnvironmentId, required: true, location: "uri", location_name: "environmentId"))
|
814
832
|
UpdateKxClusterDatabasesRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: KxClusterName, required: true, location: "uri", location_name: "clusterName"))
|
815
833
|
UpdateKxClusterDatabasesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -923,6 +941,7 @@ module Aws::Finspace
|
|
923
941
|
o.name = "CreateEnvironment"
|
924
942
|
o.http_method = "POST"
|
925
943
|
o.http_request_uri = "/environment"
|
944
|
+
o.deprecated = true
|
926
945
|
o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentRequest)
|
927
946
|
o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentResponse)
|
928
947
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -1015,6 +1034,7 @@ module Aws::Finspace
|
|
1015
1034
|
o.name = "DeleteEnvironment"
|
1016
1035
|
o.http_method = "DELETE"
|
1017
1036
|
o.http_request_uri = "/environment/{environmentId}"
|
1037
|
+
o.deprecated = true
|
1018
1038
|
o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentRequest)
|
1019
1039
|
o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentResponse)
|
1020
1040
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -1083,6 +1103,7 @@ module Aws::Finspace
|
|
1083
1103
|
o.name = "GetEnvironment"
|
1084
1104
|
o.http_method = "GET"
|
1085
1105
|
o.http_request_uri = "/environment/{environmentId}"
|
1106
|
+
o.deprecated = true
|
1086
1107
|
o.input = Shapes::ShapeRef.new(shape: GetEnvironmentRequest)
|
1087
1108
|
o.output = Shapes::ShapeRef.new(shape: GetEnvironmentResponse)
|
1088
1109
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -1174,6 +1195,7 @@ module Aws::Finspace
|
|
1174
1195
|
o.name = "ListEnvironments"
|
1175
1196
|
o.http_method = "GET"
|
1176
1197
|
o.http_request_uri = "/environment"
|
1198
|
+
o.deprecated = true
|
1177
1199
|
o.input = Shapes::ShapeRef.new(shape: ListEnvironmentsRequest)
|
1178
1200
|
o.output = Shapes::ShapeRef.new(shape: ListEnvironmentsResponse)
|
1179
1201
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -1319,6 +1341,7 @@ module Aws::Finspace
|
|
1319
1341
|
o.name = "UpdateEnvironment"
|
1320
1342
|
o.http_method = "PUT"
|
1321
1343
|
o.http_request_uri = "/environment/{environmentId}"
|
1344
|
+
o.deprecated = true
|
1322
1345
|
o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentRequest)
|
1323
1346
|
o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentResponse)
|
1324
1347
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -1328,6 +1351,21 @@ module Aws::Finspace
|
|
1328
1351
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1329
1352
|
end)
|
1330
1353
|
|
1354
|
+
api.add_operation(:update_kx_cluster_code_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1355
|
+
o.name = "UpdateKxClusterCodeConfiguration"
|
1356
|
+
o.http_method = "PUT"
|
1357
|
+
o.http_request_uri = "/kx/environments/{environmentId}/clusters/{clusterName}/configuration/code"
|
1358
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateKxClusterCodeConfigurationRequest)
|
1359
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateKxClusterCodeConfigurationResponse)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1362
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1363
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1364
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1365
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1366
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1367
|
+
end)
|
1368
|
+
|
1331
1369
|
api.add_operation(:update_kx_cluster_databases, Seahorse::Model::Operation.new.tap do |o|
|
1332
1370
|
o.name = "UpdateKxClusterDatabases"
|
1333
1371
|
o.http_method = "PUT"
|
@@ -32,7 +32,7 @@ module Aws::Finspace
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://finspace-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -418,6 +418,20 @@ module Aws::Finspace
|
|
418
418
|
end
|
419
419
|
end
|
420
420
|
|
421
|
+
class UpdateKxClusterCodeConfiguration
|
422
|
+
def self.build(context)
|
423
|
+
unless context.config.regional_endpoint
|
424
|
+
endpoint = context.config.endpoint.to_s
|
425
|
+
end
|
426
|
+
Aws::Finspace::EndpointParameters.new(
|
427
|
+
region: context.config.region,
|
428
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
429
|
+
use_fips: context.config.use_fips_endpoint,
|
430
|
+
endpoint: endpoint,
|
431
|
+
)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
421
435
|
class UpdateKxClusterDatabases
|
422
436
|
def self.build(context)
|
423
437
|
unless context.config.regional_endpoint
|
@@ -114,6 +114,8 @@ module Aws::Finspace
|
|
114
114
|
Aws::Finspace::Endpoints::UntagResource.build(context)
|
115
115
|
when :update_environment
|
116
116
|
Aws::Finspace::Endpoints::UpdateEnvironment.build(context)
|
117
|
+
when :update_kx_cluster_code_configuration
|
118
|
+
Aws::Finspace::Endpoints::UpdateKxClusterCodeConfiguration.build(context)
|
117
119
|
when :update_kx_cluster_databases
|
118
120
|
Aws::Finspace::Endpoints::UpdateKxClusterDatabases.build(context)
|
119
121
|
when :update_kx_database
|
@@ -1842,12 +1842,20 @@ module Aws::Finspace
|
|
1842
1842
|
# The configuration for read only disk cache associated with a cluster.
|
1843
1843
|
#
|
1844
1844
|
# @!attribute [rw] type
|
1845
|
-
# The type of cache storage
|
1845
|
+
# The type of cache storage. The valid values are:
|
1846
1846
|
#
|
1847
1847
|
# * CACHE\_1000 – This type provides at least 1000 MB/s disk access
|
1848
1848
|
# throughput.
|
1849
1849
|
#
|
1850
|
-
#
|
1850
|
+
# * CACHE\_250 – This type provides at least 250 MB/s disk access
|
1851
|
+
# throughput.
|
1852
|
+
#
|
1853
|
+
# * CACHE\_12 – This type provides at least 12 MB/s disk access
|
1854
|
+
# throughput.
|
1855
|
+
#
|
1856
|
+
# For cache type `CACHE_1000` and `CACHE_250` you can select cache
|
1857
|
+
# size as 1200 GB or increments of 2400 GB. For cache type `CACHE_12`
|
1858
|
+
# you can select the cache size in increments of 6000 GB.
|
1851
1859
|
# @return [String]
|
1852
1860
|
#
|
1853
1861
|
# @!attribute [rw] size
|
@@ -2032,6 +2040,29 @@ module Aws::Finspace
|
|
2032
2040
|
include Aws::Structure
|
2033
2041
|
end
|
2034
2042
|
|
2043
|
+
# The configuration that allows you to choose how you want to update
|
2044
|
+
# code on a cluster. Depending on the option you choose, you can reduce
|
2045
|
+
# the time it takes to update the cluster.
|
2046
|
+
#
|
2047
|
+
# @!attribute [rw] deployment_strategy
|
2048
|
+
# The type of deployment that you want on a cluster.
|
2049
|
+
#
|
2050
|
+
# * ROLLING – This options updates the cluster by stopping the exiting
|
2051
|
+
# q process and starting a new q process with updated configuration.
|
2052
|
+
#
|
2053
|
+
# * FORCE – This option updates the cluster by immediately stopping
|
2054
|
+
# all the running processes before starting up new ones with the
|
2055
|
+
# updated configuration.
|
2056
|
+
# @return [String]
|
2057
|
+
#
|
2058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/KxClusterCodeDeploymentConfiguration AWS API Documentation
|
2059
|
+
#
|
2060
|
+
class KxClusterCodeDeploymentConfiguration < Struct.new(
|
2061
|
+
:deployment_strategy)
|
2062
|
+
SENSITIVE = []
|
2063
|
+
include Aws::Structure
|
2064
|
+
end
|
2065
|
+
|
2035
2066
|
# Defines the key-value pairs to make them available inside the cluster.
|
2036
2067
|
#
|
2037
2068
|
# @!attribute [rw] key
|
@@ -2138,20 +2169,21 @@ module Aws::Finspace
|
|
2138
2169
|
|
2139
2170
|
# The configuration that allows you to choose how you want to update the
|
2140
2171
|
# databases on a cluster. Depending on the option you choose, you can
|
2141
|
-
# reduce the time it takes to update the
|
2142
|
-
# cluster.
|
2172
|
+
# reduce the time it takes to update the cluster.
|
2143
2173
|
#
|
2144
2174
|
# @!attribute [rw] deployment_strategy
|
2145
2175
|
# The type of deployment that you want on a cluster.
|
2146
2176
|
#
|
2147
|
-
# * ROLLING – This options
|
2148
|
-
#
|
2149
|
-
# configuration.
|
2177
|
+
# * ROLLING – This options updates the cluster by stopping the exiting
|
2178
|
+
# q process and starting a new q process with updated configuration.
|
2150
2179
|
#
|
2151
|
-
# * NO\_RESTART – This option
|
2152
|
-
# running q process
|
2153
|
-
# it reduces the turn around time to
|
2154
|
-
# configuration on a cluster.
|
2180
|
+
# * NO\_RESTART – This option updates the cluster without stopping the
|
2181
|
+
# running q process. It is only available for `HDB` type cluster.
|
2182
|
+
# This option is quicker as it reduces the turn around time to
|
2183
|
+
# update configuration on a cluster.
|
2184
|
+
#
|
2185
|
+
# With this deployment mode, you cannot update the
|
2186
|
+
# `initializationScript` and `commandLineArguments` parameters.
|
2155
2187
|
# @return [String]
|
2156
2188
|
#
|
2157
2189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/KxDeploymentConfiguration AWS API Documentation
|
@@ -2985,6 +3017,61 @@ module Aws::Finspace
|
|
2985
3017
|
include Aws::Structure
|
2986
3018
|
end
|
2987
3019
|
|
3020
|
+
# @!attribute [rw] environment_id
|
3021
|
+
# A unique identifier of the kdb environment.
|
3022
|
+
# @return [String]
|
3023
|
+
#
|
3024
|
+
# @!attribute [rw] cluster_name
|
3025
|
+
# The name of the cluster.
|
3026
|
+
# @return [String]
|
3027
|
+
#
|
3028
|
+
# @!attribute [rw] client_token
|
3029
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
3030
|
+
#
|
3031
|
+
# **A suitable default value is auto-generated.** You should normally
|
3032
|
+
# not need to pass this option.
|
3033
|
+
# @return [String]
|
3034
|
+
#
|
3035
|
+
# @!attribute [rw] code
|
3036
|
+
# The structure of the customer code available within the running
|
3037
|
+
# cluster.
|
3038
|
+
# @return [Types::CodeConfiguration]
|
3039
|
+
#
|
3040
|
+
# @!attribute [rw] initialization_script
|
3041
|
+
# Specifies a Q program that will be run at launch of a cluster. It is
|
3042
|
+
# a relative path within *.zip* file that contains the custom code,
|
3043
|
+
# which will be loaded on the cluster. It must include the file name
|
3044
|
+
# itself. For example, `somedir/init.q`.
|
3045
|
+
# @return [String]
|
3046
|
+
#
|
3047
|
+
# @!attribute [rw] command_line_arguments
|
3048
|
+
# Specifies the key-value pairs to make them available inside the
|
3049
|
+
# cluster.
|
3050
|
+
# @return [Array<Types::KxCommandLineArgument>]
|
3051
|
+
#
|
3052
|
+
# @!attribute [rw] deployment_configuration
|
3053
|
+
# The configuration that allows you to choose how you want to update
|
3054
|
+
# the code on a cluster.
|
3055
|
+
# @return [Types::KxClusterCodeDeploymentConfiguration]
|
3056
|
+
#
|
3057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateKxClusterCodeConfigurationRequest AWS API Documentation
|
3058
|
+
#
|
3059
|
+
class UpdateKxClusterCodeConfigurationRequest < Struct.new(
|
3060
|
+
:environment_id,
|
3061
|
+
:cluster_name,
|
3062
|
+
:client_token,
|
3063
|
+
:code,
|
3064
|
+
:initialization_script,
|
3065
|
+
:command_line_arguments,
|
3066
|
+
:deployment_configuration)
|
3067
|
+
SENSITIVE = []
|
3068
|
+
include Aws::Structure
|
3069
|
+
end
|
3070
|
+
|
3071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateKxClusterCodeConfigurationResponse AWS API Documentation
|
3072
|
+
#
|
3073
|
+
class UpdateKxClusterCodeConfigurationResponse < Aws::EmptyStructure; end
|
3074
|
+
|
2988
3075
|
# @!attribute [rw] environment_id
|
2989
3076
|
# The unique identifier of a kdb environment.
|
2990
3077
|
# @return [String]
|
data/lib/aws-sdk-finspace.rb
CHANGED
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.
|
4
|
+
version: 1.23.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
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|