aws-sdk-finspace 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-finspace/client.rb +33 -2
- data/lib/aws-sdk-finspace/client_api.rb +24 -0
- 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 +41 -3
- data/lib/aws-sdk-finspace.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/types.rbs +11 -0
- 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: 344ce866da0e40a05ef136078c92c19b364e572d7e0283c8564ad8c5b7907be1
|
4
|
+
data.tar.gz: fd213f92b8843dd5d61412d3d4bf2d01c80fa1b579ef98ac057e78c010b4536c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1538c3719c00912b7e60c33b80a75d8c99bf35c73fd76a02a060d370fc52afd3ae5a282239a320291a864244ae80050303c981406f7301db3f72dfa353bbcb7d
|
7
|
+
data.tar.gz: 2b46268650b6a93b254da8ccd97d08281eb3cef9061c628a7e15c10d8c40ada5e3d038185bf804bcc54c429ec4d39b7a7d785b2be61fa6e3374dcf1e087253c7
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -491,7 +491,7 @@ module Aws::Finspace
|
|
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
493
|
# request object consists of `changeType` , `s3Path`, and `dbPath`. A
|
494
|
-
# changeType can
|
494
|
+
# changeType can have the following values:
|
495
495
|
#
|
496
496
|
# * PUT – Adds or updates files in a database.
|
497
497
|
#
|
@@ -1479,6 +1479,36 @@ module Aws::Finspace
|
|
1479
1479
|
req.send_request(options)
|
1480
1480
|
end
|
1481
1481
|
|
1482
|
+
# Deletes the specified nodes from a cluster.
|
1483
|
+
#
|
1484
|
+
# @option params [required, String] :environment_id
|
1485
|
+
# A unique identifier for the kdb environment.
|
1486
|
+
#
|
1487
|
+
# @option params [required, String] :cluster_name
|
1488
|
+
# The name of the cluster, for which you want to delete the nodes.
|
1489
|
+
#
|
1490
|
+
# @option params [required, String] :node_id
|
1491
|
+
# A unique identifier for the node that you want to delete.
|
1492
|
+
#
|
1493
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1494
|
+
#
|
1495
|
+
# @example Request syntax with placeholder values
|
1496
|
+
#
|
1497
|
+
# resp = client.delete_kx_cluster_node({
|
1498
|
+
# environment_id: "KxEnvironmentId", # required
|
1499
|
+
# cluster_name: "KxClusterName", # required
|
1500
|
+
# node_id: "KxClusterNodeIdString", # required
|
1501
|
+
# })
|
1502
|
+
#
|
1503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxClusterNode AWS API Documentation
|
1504
|
+
#
|
1505
|
+
# @overload delete_kx_cluster_node(params = {})
|
1506
|
+
# @param [Hash] params ({})
|
1507
|
+
def delete_kx_cluster_node(params = {}, options = {})
|
1508
|
+
req = build_request(:delete_kx_cluster_node, params)
|
1509
|
+
req.send_request(options)
|
1510
|
+
end
|
1511
|
+
|
1482
1512
|
# Deletes the specified database and all of its associated data. This
|
1483
1513
|
# action is irreversible. You must copy any data out of the database
|
1484
1514
|
# before deleting it if the data is to be retained.
|
@@ -2444,6 +2474,7 @@ module Aws::Finspace
|
|
2444
2474
|
# resp.nodes[0].node_id #=> String
|
2445
2475
|
# resp.nodes[0].availability_zone_id #=> String
|
2446
2476
|
# resp.nodes[0].launch_time #=> Time
|
2477
|
+
# resp.nodes[0].status #=> String, one of "RUNNING", "PROVISIONING"
|
2447
2478
|
# resp.next_token #=> String
|
2448
2479
|
#
|
2449
2480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxClusterNodes AWS API Documentation
|
@@ -3691,7 +3722,7 @@ module Aws::Finspace
|
|
3691
3722
|
params: params,
|
3692
3723
|
config: config)
|
3693
3724
|
context[:gem_name] = 'aws-sdk-finspace'
|
3694
|
-
context[:gem_version] = '1.
|
3725
|
+
context[:gem_version] = '1.31.0'
|
3695
3726
|
Seahorse::Client::Request.new(handlers, context)
|
3696
3727
|
end
|
3697
3728
|
|
@@ -63,6 +63,8 @@ module Aws::Finspace
|
|
63
63
|
DbPaths = Shapes::ListShape.new(name: 'DbPaths')
|
64
64
|
DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
|
65
65
|
DeleteEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteEnvironmentResponse')
|
66
|
+
DeleteKxClusterNodeRequest = Shapes::StructureShape.new(name: 'DeleteKxClusterNodeRequest')
|
67
|
+
DeleteKxClusterNodeResponse = Shapes::StructureShape.new(name: 'DeleteKxClusterNodeResponse')
|
66
68
|
DeleteKxClusterRequest = Shapes::StructureShape.new(name: 'DeleteKxClusterRequest')
|
67
69
|
DeleteKxClusterResponse = Shapes::StructureShape.new(name: 'DeleteKxClusterResponse')
|
68
70
|
DeleteKxDatabaseRequest = Shapes::StructureShape.new(name: 'DeleteKxDatabaseRequest')
|
@@ -176,6 +178,7 @@ module Aws::Finspace
|
|
176
178
|
KxNAS1Size = Shapes::IntegerShape.new(name: 'KxNAS1Size')
|
177
179
|
KxNAS1Type = Shapes::StringShape.new(name: 'KxNAS1Type')
|
178
180
|
KxNode = Shapes::StructureShape.new(name: 'KxNode')
|
181
|
+
KxNodeStatus = Shapes::StringShape.new(name: 'KxNodeStatus')
|
179
182
|
KxNodeSummaries = Shapes::ListShape.new(name: 'KxNodeSummaries')
|
180
183
|
KxSavedownStorageConfiguration = Shapes::StructureShape.new(name: 'KxSavedownStorageConfiguration')
|
181
184
|
KxSavedownStorageSize = Shapes::IntegerShape.new(name: 'KxSavedownStorageSize')
|
@@ -554,6 +557,13 @@ module Aws::Finspace
|
|
554
557
|
|
555
558
|
DeleteEnvironmentResponse.struct_class = Types::DeleteEnvironmentResponse
|
556
559
|
|
560
|
+
DeleteKxClusterNodeRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: KxEnvironmentId, required: true, location: "uri", location_name: "environmentId"))
|
561
|
+
DeleteKxClusterNodeRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: KxClusterName, required: true, location: "uri", location_name: "clusterName"))
|
562
|
+
DeleteKxClusterNodeRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: KxClusterNodeIdString, required: true, location: "uri", location_name: "nodeId"))
|
563
|
+
DeleteKxClusterNodeRequest.struct_class = Types::DeleteKxClusterNodeRequest
|
564
|
+
|
565
|
+
DeleteKxClusterNodeResponse.struct_class = Types::DeleteKxClusterNodeResponse
|
566
|
+
|
557
567
|
DeleteKxClusterRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: KxEnvironmentId, required: true, location: "uri", location_name: "environmentId"))
|
558
568
|
DeleteKxClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: KxClusterName, required: true, location: "uri", location_name: "clusterName"))
|
559
569
|
DeleteKxClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -949,6 +959,7 @@ module Aws::Finspace
|
|
949
959
|
KxNode.add_member(:node_id, Shapes::ShapeRef.new(shape: KxClusterNodeIdString, location_name: "nodeId"))
|
950
960
|
KxNode.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "availabilityZoneId"))
|
951
961
|
KxNode.add_member(:launch_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "launchTime"))
|
962
|
+
KxNode.add_member(:status, Shapes::ShapeRef.new(shape: KxNodeStatus, location_name: "status"))
|
952
963
|
KxNode.struct_class = Types::KxNode
|
953
964
|
|
954
965
|
KxNodeSummaries.member = Shapes::ShapeRef.new(shape: KxNode)
|
@@ -1519,6 +1530,19 @@ module Aws::Finspace
|
|
1519
1530
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1520
1531
|
end)
|
1521
1532
|
|
1533
|
+
api.add_operation(:delete_kx_cluster_node, Seahorse::Model::Operation.new.tap do |o|
|
1534
|
+
o.name = "DeleteKxClusterNode"
|
1535
|
+
o.http_method = "DELETE"
|
1536
|
+
o.http_request_uri = "/kx/environments/{environmentId}/clusters/{clusterName}/nodes/{nodeId}"
|
1537
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteKxClusterNodeRequest)
|
1538
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteKxClusterNodeResponse)
|
1539
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1540
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1541
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1542
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1543
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1544
|
+
end)
|
1545
|
+
|
1522
1546
|
api.add_operation(:delete_kx_database, Seahorse::Model::Operation.new.tap do |o|
|
1523
1547
|
o.name = "DeleteKxDatabase"
|
1524
1548
|
o.http_method = "DELETE"
|
@@ -166,6 +166,20 @@ module Aws::Finspace
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
169
|
+
class DeleteKxClusterNode
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::Finspace::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
169
183
|
class DeleteKxDatabase
|
170
184
|
def self.build(context)
|
171
185
|
unless context.config.regional_endpoint
|
@@ -80,6 +80,8 @@ module Aws::Finspace
|
|
80
80
|
Aws::Finspace::Endpoints::DeleteEnvironment.build(context)
|
81
81
|
when :delete_kx_cluster
|
82
82
|
Aws::Finspace::Endpoints::DeleteKxCluster.build(context)
|
83
|
+
when :delete_kx_cluster_node
|
84
|
+
Aws::Finspace::Endpoints::DeleteKxClusterNode.build(context)
|
83
85
|
when :delete_kx_database
|
84
86
|
Aws::Finspace::Endpoints::DeleteKxDatabase.build(context)
|
85
87
|
when :delete_kx_dataview
|
@@ -293,7 +293,7 @@ module Aws::Finspace
|
|
293
293
|
# @!attribute [rw] change_requests
|
294
294
|
# A list of change request objects that are run in order. A change
|
295
295
|
# request object consists of `changeType` , `s3Path`, and `dbPath`. A
|
296
|
-
# changeType can
|
296
|
+
# changeType can have the following values:
|
297
297
|
#
|
298
298
|
# * PUT – Adds or updates files in a database.
|
299
299
|
#
|
@@ -1534,6 +1534,32 @@ module Aws::Finspace
|
|
1534
1534
|
#
|
1535
1535
|
class DeleteEnvironmentResponse < Aws::EmptyStructure; end
|
1536
1536
|
|
1537
|
+
# @!attribute [rw] environment_id
|
1538
|
+
# A unique identifier for the kdb environment.
|
1539
|
+
# @return [String]
|
1540
|
+
#
|
1541
|
+
# @!attribute [rw] cluster_name
|
1542
|
+
# The name of the cluster, for which you want to delete the nodes.
|
1543
|
+
# @return [String]
|
1544
|
+
#
|
1545
|
+
# @!attribute [rw] node_id
|
1546
|
+
# A unique identifier for the node that you want to delete.
|
1547
|
+
# @return [String]
|
1548
|
+
#
|
1549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxClusterNodeRequest AWS API Documentation
|
1550
|
+
#
|
1551
|
+
class DeleteKxClusterNodeRequest < Struct.new(
|
1552
|
+
:environment_id,
|
1553
|
+
:cluster_name,
|
1554
|
+
:node_id)
|
1555
|
+
SENSITIVE = []
|
1556
|
+
include Aws::Structure
|
1557
|
+
end
|
1558
|
+
|
1559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxClusterNodeResponse AWS API Documentation
|
1560
|
+
#
|
1561
|
+
class DeleteKxClusterNodeResponse < Aws::EmptyStructure; end
|
1562
|
+
|
1537
1563
|
# @!attribute [rw] environment_id
|
1538
1564
|
# A unique identifier for the kdb environment.
|
1539
1565
|
# @return [String]
|
@@ -3679,7 +3705,10 @@ module Aws::Finspace
|
|
3679
3705
|
# @return [String]
|
3680
3706
|
#
|
3681
3707
|
# @!attribute [rw] size
|
3682
|
-
# The size of the network attached storage.
|
3708
|
+
# The size of the network attached storage. For storage type
|
3709
|
+
# `SSD_1000` and `SSD_250` you can select the minimum size as 1200 GB
|
3710
|
+
# or increments of 2400 GB. For storage type `HDD_12` you can select
|
3711
|
+
# the minimum size as 6000 GB or increments of 6000 GB.
|
3683
3712
|
# @return [Integer]
|
3684
3713
|
#
|
3685
3714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/KxNAS1Configuration AWS API Documentation
|
@@ -3708,12 +3737,21 @@ module Aws::Finspace
|
|
3708
3737
|
# November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
|
3709
3738
|
# @return [Time]
|
3710
3739
|
#
|
3740
|
+
# @!attribute [rw] status
|
3741
|
+
# Specifies the status of the cluster nodes.
|
3742
|
+
#
|
3743
|
+
# * `RUNNING` – The node is actively serving.
|
3744
|
+
#
|
3745
|
+
# * `PROVISIONING` – The node is being prepared.
|
3746
|
+
# @return [String]
|
3747
|
+
#
|
3711
3748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/KxNode AWS API Documentation
|
3712
3749
|
#
|
3713
3750
|
class KxNode < Struct.new(
|
3714
3751
|
:node_id,
|
3715
3752
|
:availability_zone_id,
|
3716
|
-
:launch_time
|
3753
|
+
:launch_time,
|
3754
|
+
:status)
|
3717
3755
|
SENSITIVE = []
|
3718
3756
|
include Aws::Structure
|
3719
3757
|
end
|
data/lib/aws-sdk-finspace.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -414,6 +414,17 @@ module Aws
|
|
414
414
|
) -> _DeleteKxClusterResponseSuccess
|
415
415
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKxClusterResponseSuccess
|
416
416
|
|
417
|
+
interface _DeleteKxClusterNodeResponseSuccess
|
418
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteKxClusterNodeResponse]
|
419
|
+
end
|
420
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Finspace/Client.html#delete_kx_cluster_node-instance_method
|
421
|
+
def delete_kx_cluster_node: (
|
422
|
+
environment_id: ::String,
|
423
|
+
cluster_name: ::String,
|
424
|
+
node_id: ::String
|
425
|
+
) -> _DeleteKxClusterNodeResponseSuccess
|
426
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKxClusterNodeResponseSuccess
|
427
|
+
|
417
428
|
interface _DeleteKxDatabaseResponseSuccess
|
418
429
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteKxDatabaseResponse]
|
419
430
|
end
|
data/sig/types.rbs
CHANGED
@@ -293,6 +293,16 @@ module Aws::Finspace
|
|
293
293
|
class DeleteEnvironmentResponse < Aws::EmptyStructure
|
294
294
|
end
|
295
295
|
|
296
|
+
class DeleteKxClusterNodeRequest
|
297
|
+
attr_accessor environment_id: ::String
|
298
|
+
attr_accessor cluster_name: ::String
|
299
|
+
attr_accessor node_id: ::String
|
300
|
+
SENSITIVE: []
|
301
|
+
end
|
302
|
+
|
303
|
+
class DeleteKxClusterNodeResponse < Aws::EmptyStructure
|
304
|
+
end
|
305
|
+
|
296
306
|
class DeleteKxClusterRequest
|
297
307
|
attr_accessor environment_id: ::String
|
298
308
|
attr_accessor cluster_name: ::String
|
@@ -766,6 +776,7 @@ module Aws::Finspace
|
|
766
776
|
attr_accessor node_id: ::String
|
767
777
|
attr_accessor availability_zone_id: ::String
|
768
778
|
attr_accessor launch_time: ::Time
|
779
|
+
attr_accessor status: ("RUNNING" | "PROVISIONING")
|
769
780
|
SENSITIVE: []
|
770
781
|
end
|
771
782
|
|
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.31.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: 2024-03-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|