aws-sdk-redshiftserverless 1.46.0 → 1.48.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-redshiftserverless/client.rb +340 -5
- data/lib/aws-sdk-redshiftserverless/client_api.rb +232 -0
- data/lib/aws-sdk-redshiftserverless/types.rb +415 -2
- data/lib/aws-sdk-redshiftserverless.rb +1 -1
- data/sig/client.rbs +80 -0
- data/sig/types.rbs +116 -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: 8daa355c7713cc161e9ddaaad4ecde499c6d3bd955fc30e6a42a3337c8522f44
|
4
|
+
data.tar.gz: af0873e6d6d09e00b4f9bc61db3f5d7586fb7de796c456e9f8361242c1b74b0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz: '
|
6
|
+
metadata.gz: d94777658e19002665a0054748bbbcd15e62af92e5959565a85c3bbad1b0451958d3ca8762e21f96499fba667d58c8eae594695b4ddc223fbe45175cad1c99f9
|
7
|
+
data.tar.gz: '08ad08e4c436aa58653bffc3d4abd005368199158a13a86ab2f0567f8bb7349848e61fc905789ae1b41e4f0b432d4b106ca7e776789ca2439cb16ea907986f2b'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2025-04-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Provides new and updated API members to support the Redshift Serverless reservations feature.
|
8
|
+
|
9
|
+
1.47.0 (2025-02-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add track support for Redshift Serverless workgroup.
|
13
|
+
|
4
14
|
1.46.0 (2025-02-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -483,7 +483,7 @@ module Aws::RedshiftServerless
|
|
483
483
|
#
|
484
484
|
#
|
485
485
|
#
|
486
|
-
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html
|
486
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery-points.html
|
487
487
|
#
|
488
488
|
# @option params [required, String] :recovery_point_id
|
489
489
|
# The unique identifier of the recovery point.
|
@@ -772,6 +772,67 @@ module Aws::RedshiftServerless
|
|
772
772
|
req.send_request(options)
|
773
773
|
end
|
774
774
|
|
775
|
+
# Creates an Amazon Redshift Serverless reservation, which gives you the
|
776
|
+
# option to commit to a specified number of Redshift Processing Units
|
777
|
+
# (RPUs) for a year at a discount from Serverless on-demand (OD) rates.
|
778
|
+
#
|
779
|
+
# @option params [required, Integer] :capacity
|
780
|
+
# The number of Redshift Processing Units (RPUs) to reserve.
|
781
|
+
#
|
782
|
+
# @option params [String] :client_token
|
783
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
784
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
785
|
+
# SDK populates this field. This token must be a valid UUIDv4 value. For
|
786
|
+
# more information about idempotency, see [ Making retries safe with
|
787
|
+
# idempotent APIs ][1].
|
788
|
+
#
|
789
|
+
# **A suitable default value is auto-generated.** You should normally
|
790
|
+
# not need to pass this option.**
|
791
|
+
#
|
792
|
+
#
|
793
|
+
#
|
794
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
795
|
+
#
|
796
|
+
# @option params [required, String] :offering_id
|
797
|
+
# The ID of the offering associated with the reservation. The offering
|
798
|
+
# determines the payment schedule for the reservation.
|
799
|
+
#
|
800
|
+
# @return [Types::CreateReservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
801
|
+
#
|
802
|
+
# * {Types::CreateReservationResponse#reservation #reservation} => Types::Reservation
|
803
|
+
#
|
804
|
+
# @example Request syntax with placeholder values
|
805
|
+
#
|
806
|
+
# resp = client.create_reservation({
|
807
|
+
# capacity: 1, # required
|
808
|
+
# client_token: "String",
|
809
|
+
# offering_id: "CreateReservationRequestOfferingIdString", # required
|
810
|
+
# })
|
811
|
+
#
|
812
|
+
# @example Response structure
|
813
|
+
#
|
814
|
+
# resp.reservation.capacity #=> Integer
|
815
|
+
# resp.reservation.end_date #=> Time
|
816
|
+
# resp.reservation.offering.currency_code #=> String
|
817
|
+
# resp.reservation.offering.duration #=> Integer
|
818
|
+
# resp.reservation.offering.hourly_charge #=> Float
|
819
|
+
# resp.reservation.offering.offering_id #=> String
|
820
|
+
# resp.reservation.offering.offering_type #=> String, one of "ALL_UPFRONT", "NO_UPFRONT"
|
821
|
+
# resp.reservation.offering.upfront_charge #=> Float
|
822
|
+
# resp.reservation.reservation_arn #=> String
|
823
|
+
# resp.reservation.reservation_id #=> String
|
824
|
+
# resp.reservation.start_date #=> Time
|
825
|
+
# resp.reservation.status #=> String
|
826
|
+
#
|
827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateReservation AWS API Documentation
|
828
|
+
#
|
829
|
+
# @overload create_reservation(params = {})
|
830
|
+
# @param [Hash] params ({})
|
831
|
+
def create_reservation(params = {}, options = {})
|
832
|
+
req = build_request(:create_reservation, params)
|
833
|
+
req.send_request(options)
|
834
|
+
end
|
835
|
+
|
775
836
|
# Creates a scheduled action. A scheduled action contains a schedule and
|
776
837
|
# an Amazon Redshift API action. For example, you can create a schedule
|
777
838
|
# of when to run the `CreateSnapshot` API operation.
|
@@ -910,7 +971,7 @@ module Aws::RedshiftServerless
|
|
910
971
|
#
|
911
972
|
#
|
912
973
|
#
|
913
|
-
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html
|
974
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery-points.html
|
914
975
|
#
|
915
976
|
# @option params [required, String] :namespace_name
|
916
977
|
# The namespace to create a snapshot for.
|
@@ -1166,6 +1227,11 @@ module Aws::RedshiftServerless
|
|
1166
1227
|
# @option params [Array<Types::Tag>] :tags
|
1167
1228
|
# A array of tag instances.
|
1168
1229
|
#
|
1230
|
+
# @option params [String] :track_name
|
1231
|
+
# An optional parameter for the name of the track for the workgroup. If
|
1232
|
+
# you don't provide a track name, the workgroup is assigned to the
|
1233
|
+
# `current` track.
|
1234
|
+
#
|
1169
1235
|
# @option params [required, String] :workgroup_name
|
1170
1236
|
# The name of the created workgroup.
|
1171
1237
|
#
|
@@ -1201,6 +1267,7 @@ module Aws::RedshiftServerless
|
|
1201
1267
|
# value: "TagValue", # required
|
1202
1268
|
# },
|
1203
1269
|
# ],
|
1270
|
+
# track_name: "TrackName",
|
1204
1271
|
# workgroup_name: "WorkgroupName", # required
|
1205
1272
|
# })
|
1206
1273
|
#
|
@@ -1232,6 +1299,7 @@ module Aws::RedshiftServerless
|
|
1232
1299
|
# resp.workgroup.max_capacity #=> Integer
|
1233
1300
|
# resp.workgroup.namespace_name #=> String
|
1234
1301
|
# resp.workgroup.patch_version #=> String
|
1302
|
+
# resp.workgroup.pending_track_name #=> String
|
1235
1303
|
# resp.workgroup.port #=> Integer
|
1236
1304
|
# resp.workgroup.price_performance_target.level #=> Integer
|
1237
1305
|
# resp.workgroup.price_performance_target.status #=> String, one of "ENABLED", "DISABLED"
|
@@ -1241,6 +1309,7 @@ module Aws::RedshiftServerless
|
|
1241
1309
|
# resp.workgroup.status #=> String, one of "CREATING", "AVAILABLE", "MODIFYING", "DELETING"
|
1242
1310
|
# resp.workgroup.subnet_ids #=> Array
|
1243
1311
|
# resp.workgroup.subnet_ids[0] #=> String
|
1312
|
+
# resp.workgroup.track_name #=> String
|
1244
1313
|
# resp.workgroup.workgroup_arn #=> String
|
1245
1314
|
# resp.workgroup.workgroup_id #=> String
|
1246
1315
|
# resp.workgroup.workgroup_name #=> String
|
@@ -1609,6 +1678,7 @@ module Aws::RedshiftServerless
|
|
1609
1678
|
# resp.workgroup.max_capacity #=> Integer
|
1610
1679
|
# resp.workgroup.namespace_name #=> String
|
1611
1680
|
# resp.workgroup.patch_version #=> String
|
1681
|
+
# resp.workgroup.pending_track_name #=> String
|
1612
1682
|
# resp.workgroup.port #=> Integer
|
1613
1683
|
# resp.workgroup.price_performance_target.level #=> Integer
|
1614
1684
|
# resp.workgroup.price_performance_target.status #=> String, one of "ENABLED", "DISABLED"
|
@@ -1618,6 +1688,7 @@ module Aws::RedshiftServerless
|
|
1618
1688
|
# resp.workgroup.status #=> String, one of "CREATING", "AVAILABLE", "MODIFYING", "DELETING"
|
1619
1689
|
# resp.workgroup.subnet_ids #=> Array
|
1620
1690
|
# resp.workgroup.subnet_ids[0] #=> String
|
1691
|
+
# resp.workgroup.track_name #=> String
|
1621
1692
|
# resp.workgroup.workgroup_arn #=> String
|
1622
1693
|
# resp.workgroup.workgroup_id #=> String
|
1623
1694
|
# resp.workgroup.workgroup_name #=> String
|
@@ -1870,6 +1941,82 @@ module Aws::RedshiftServerless
|
|
1870
1941
|
req.send_request(options)
|
1871
1942
|
end
|
1872
1943
|
|
1944
|
+
# Gets an Amazon Redshift Serverless reservation. A reservation gives
|
1945
|
+
# you the option to commit to a specified number of Redshift Processing
|
1946
|
+
# Units (RPUs) for a year at a discount from Serverless on-demand (OD)
|
1947
|
+
# rates.
|
1948
|
+
#
|
1949
|
+
# @option params [required, String] :reservation_id
|
1950
|
+
# The ID of the reservation to retrieve.
|
1951
|
+
#
|
1952
|
+
# @return [Types::GetReservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1953
|
+
#
|
1954
|
+
# * {Types::GetReservationResponse#reservation #reservation} => Types::Reservation
|
1955
|
+
#
|
1956
|
+
# @example Request syntax with placeholder values
|
1957
|
+
#
|
1958
|
+
# resp = client.get_reservation({
|
1959
|
+
# reservation_id: "GetReservationRequestReservationIdString", # required
|
1960
|
+
# })
|
1961
|
+
#
|
1962
|
+
# @example Response structure
|
1963
|
+
#
|
1964
|
+
# resp.reservation.capacity #=> Integer
|
1965
|
+
# resp.reservation.end_date #=> Time
|
1966
|
+
# resp.reservation.offering.currency_code #=> String
|
1967
|
+
# resp.reservation.offering.duration #=> Integer
|
1968
|
+
# resp.reservation.offering.hourly_charge #=> Float
|
1969
|
+
# resp.reservation.offering.offering_id #=> String
|
1970
|
+
# resp.reservation.offering.offering_type #=> String, one of "ALL_UPFRONT", "NO_UPFRONT"
|
1971
|
+
# resp.reservation.offering.upfront_charge #=> Float
|
1972
|
+
# resp.reservation.reservation_arn #=> String
|
1973
|
+
# resp.reservation.reservation_id #=> String
|
1974
|
+
# resp.reservation.start_date #=> Time
|
1975
|
+
# resp.reservation.status #=> String
|
1976
|
+
#
|
1977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetReservation AWS API Documentation
|
1978
|
+
#
|
1979
|
+
# @overload get_reservation(params = {})
|
1980
|
+
# @param [Hash] params ({})
|
1981
|
+
def get_reservation(params = {}, options = {})
|
1982
|
+
req = build_request(:get_reservation, params)
|
1983
|
+
req.send_request(options)
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# Returns the reservation offering. The offering determines the payment
|
1987
|
+
# schedule for the reservation.
|
1988
|
+
#
|
1989
|
+
# @option params [required, String] :offering_id
|
1990
|
+
# The identifier for the offering..
|
1991
|
+
#
|
1992
|
+
# @return [Types::GetReservationOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1993
|
+
#
|
1994
|
+
# * {Types::GetReservationOfferingResponse#reservation_offering #reservation_offering} => Types::ReservationOffering
|
1995
|
+
#
|
1996
|
+
# @example Request syntax with placeholder values
|
1997
|
+
#
|
1998
|
+
# resp = client.get_reservation_offering({
|
1999
|
+
# offering_id: "GetReservationOfferingRequestOfferingIdString", # required
|
2000
|
+
# })
|
2001
|
+
#
|
2002
|
+
# @example Response structure
|
2003
|
+
#
|
2004
|
+
# resp.reservation_offering.currency_code #=> String
|
2005
|
+
# resp.reservation_offering.duration #=> Integer
|
2006
|
+
# resp.reservation_offering.hourly_charge #=> Float
|
2007
|
+
# resp.reservation_offering.offering_id #=> String
|
2008
|
+
# resp.reservation_offering.offering_type #=> String, one of "ALL_UPFRONT", "NO_UPFRONT"
|
2009
|
+
# resp.reservation_offering.upfront_charge #=> Float
|
2010
|
+
#
|
2011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetReservationOffering AWS API Documentation
|
2012
|
+
#
|
2013
|
+
# @overload get_reservation_offering(params = {})
|
2014
|
+
# @param [Hash] params ({})
|
2015
|
+
def get_reservation_offering(params = {}, options = {})
|
2016
|
+
req = build_request(:get_reservation_offering, params)
|
2017
|
+
req.send_request(options)
|
2018
|
+
end
|
2019
|
+
|
1873
2020
|
# Returns a resource policy.
|
1874
2021
|
#
|
1875
2022
|
# @option params [required, String] :resource_arn
|
@@ -2047,6 +2194,38 @@ module Aws::RedshiftServerless
|
|
2047
2194
|
req.send_request(options)
|
2048
2195
|
end
|
2049
2196
|
|
2197
|
+
# Get the Redshift Serverless version for a specified track.
|
2198
|
+
#
|
2199
|
+
# @option params [required, String] :track_name
|
2200
|
+
# The name of the track of which its version is fetched.
|
2201
|
+
#
|
2202
|
+
# @return [Types::GetTrackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2203
|
+
#
|
2204
|
+
# * {Types::GetTrackResponse#track #track} => Types::ServerlessTrack
|
2205
|
+
#
|
2206
|
+
# @example Request syntax with placeholder values
|
2207
|
+
#
|
2208
|
+
# resp = client.get_track({
|
2209
|
+
# track_name: "TrackName", # required
|
2210
|
+
# })
|
2211
|
+
#
|
2212
|
+
# @example Response structure
|
2213
|
+
#
|
2214
|
+
# resp.track.track_name #=> String
|
2215
|
+
# resp.track.update_targets #=> Array
|
2216
|
+
# resp.track.update_targets[0].track_name #=> String
|
2217
|
+
# resp.track.update_targets[0].workgroup_version #=> String
|
2218
|
+
# resp.track.workgroup_version #=> String
|
2219
|
+
#
|
2220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetTrack AWS API Documentation
|
2221
|
+
#
|
2222
|
+
# @overload get_track(params = {})
|
2223
|
+
# @param [Hash] params ({})
|
2224
|
+
def get_track(params = {}, options = {})
|
2225
|
+
req = build_request(:get_track, params)
|
2226
|
+
req.send_request(options)
|
2227
|
+
end
|
2228
|
+
|
2050
2229
|
# Returns information about a usage limit.
|
2051
2230
|
#
|
2052
2231
|
# @option params [required, String] :usage_limit_id
|
@@ -2124,6 +2303,7 @@ module Aws::RedshiftServerless
|
|
2124
2303
|
# resp.workgroup.max_capacity #=> Integer
|
2125
2304
|
# resp.workgroup.namespace_name #=> String
|
2126
2305
|
# resp.workgroup.patch_version #=> String
|
2306
|
+
# resp.workgroup.pending_track_name #=> String
|
2127
2307
|
# resp.workgroup.port #=> Integer
|
2128
2308
|
# resp.workgroup.price_performance_target.level #=> Integer
|
2129
2309
|
# resp.workgroup.price_performance_target.status #=> String, one of "ENABLED", "DISABLED"
|
@@ -2133,6 +2313,7 @@ module Aws::RedshiftServerless
|
|
2133
2313
|
# resp.workgroup.status #=> String, one of "CREATING", "AVAILABLE", "MODIFYING", "DELETING"
|
2134
2314
|
# resp.workgroup.subnet_ids #=> Array
|
2135
2315
|
# resp.workgroup.subnet_ids[0] #=> String
|
2316
|
+
# resp.workgroup.track_name #=> String
|
2136
2317
|
# resp.workgroup.workgroup_arn #=> String
|
2137
2318
|
# resp.workgroup.workgroup_id #=> String
|
2138
2319
|
# resp.workgroup.workgroup_name #=> String
|
@@ -2440,6 +2621,102 @@ module Aws::RedshiftServerless
|
|
2440
2621
|
req.send_request(options)
|
2441
2622
|
end
|
2442
2623
|
|
2624
|
+
# Returns the current reservation offerings in your account.
|
2625
|
+
#
|
2626
|
+
# @option params [Integer] :max_results
|
2627
|
+
# The maximum number of items to return for this call. The call also
|
2628
|
+
# returns a token that you can specify in a subsequent call to get the
|
2629
|
+
# next set of results.
|
2630
|
+
#
|
2631
|
+
# @option params [String] :next_token
|
2632
|
+
# The token for the next set of items to return. (You received this
|
2633
|
+
# token from a previous call.)
|
2634
|
+
#
|
2635
|
+
# @return [Types::ListReservationOfferingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2636
|
+
#
|
2637
|
+
# * {Types::ListReservationOfferingsResponse#next_token #next_token} => String
|
2638
|
+
# * {Types::ListReservationOfferingsResponse#reservation_offerings_list #reservation_offerings_list} => Array<Types::ReservationOffering>
|
2639
|
+
#
|
2640
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2641
|
+
#
|
2642
|
+
# @example Request syntax with placeholder values
|
2643
|
+
#
|
2644
|
+
# resp = client.list_reservation_offerings({
|
2645
|
+
# max_results: 1,
|
2646
|
+
# next_token: "PaginationToken",
|
2647
|
+
# })
|
2648
|
+
#
|
2649
|
+
# @example Response structure
|
2650
|
+
#
|
2651
|
+
# resp.next_token #=> String
|
2652
|
+
# resp.reservation_offerings_list #=> Array
|
2653
|
+
# resp.reservation_offerings_list[0].currency_code #=> String
|
2654
|
+
# resp.reservation_offerings_list[0].duration #=> Integer
|
2655
|
+
# resp.reservation_offerings_list[0].hourly_charge #=> Float
|
2656
|
+
# resp.reservation_offerings_list[0].offering_id #=> String
|
2657
|
+
# resp.reservation_offerings_list[0].offering_type #=> String, one of "ALL_UPFRONT", "NO_UPFRONT"
|
2658
|
+
# resp.reservation_offerings_list[0].upfront_charge #=> Float
|
2659
|
+
#
|
2660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListReservationOfferings AWS API Documentation
|
2661
|
+
#
|
2662
|
+
# @overload list_reservation_offerings(params = {})
|
2663
|
+
# @param [Hash] params ({})
|
2664
|
+
def list_reservation_offerings(params = {}, options = {})
|
2665
|
+
req = build_request(:list_reservation_offerings, params)
|
2666
|
+
req.send_request(options)
|
2667
|
+
end
|
2668
|
+
|
2669
|
+
# Returns a list of Reservation objects.
|
2670
|
+
#
|
2671
|
+
# @option params [Integer] :max_results
|
2672
|
+
# The maximum number of items to return for this call. The call also
|
2673
|
+
# returns a token that you can specify in a subsequent call to get the
|
2674
|
+
# next set of results.
|
2675
|
+
#
|
2676
|
+
# @option params [String] :next_token
|
2677
|
+
# The token for the next set of items to return. (You received this
|
2678
|
+
# token from a previous call.)
|
2679
|
+
#
|
2680
|
+
# @return [Types::ListReservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2681
|
+
#
|
2682
|
+
# * {Types::ListReservationsResponse#next_token #next_token} => String
|
2683
|
+
# * {Types::ListReservationsResponse#reservations_list #reservations_list} => Array<Types::Reservation>
|
2684
|
+
#
|
2685
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2686
|
+
#
|
2687
|
+
# @example Request syntax with placeholder values
|
2688
|
+
#
|
2689
|
+
# resp = client.list_reservations({
|
2690
|
+
# max_results: 1,
|
2691
|
+
# next_token: "PaginationToken",
|
2692
|
+
# })
|
2693
|
+
#
|
2694
|
+
# @example Response structure
|
2695
|
+
#
|
2696
|
+
# resp.next_token #=> String
|
2697
|
+
# resp.reservations_list #=> Array
|
2698
|
+
# resp.reservations_list[0].capacity #=> Integer
|
2699
|
+
# resp.reservations_list[0].end_date #=> Time
|
2700
|
+
# resp.reservations_list[0].offering.currency_code #=> String
|
2701
|
+
# resp.reservations_list[0].offering.duration #=> Integer
|
2702
|
+
# resp.reservations_list[0].offering.hourly_charge #=> Float
|
2703
|
+
# resp.reservations_list[0].offering.offering_id #=> String
|
2704
|
+
# resp.reservations_list[0].offering.offering_type #=> String, one of "ALL_UPFRONT", "NO_UPFRONT"
|
2705
|
+
# resp.reservations_list[0].offering.upfront_charge #=> Float
|
2706
|
+
# resp.reservations_list[0].reservation_arn #=> String
|
2707
|
+
# resp.reservations_list[0].reservation_id #=> String
|
2708
|
+
# resp.reservations_list[0].start_date #=> Time
|
2709
|
+
# resp.reservations_list[0].status #=> String
|
2710
|
+
#
|
2711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListReservations AWS API Documentation
|
2712
|
+
#
|
2713
|
+
# @overload list_reservations(params = {})
|
2714
|
+
# @param [Hash] params ({})
|
2715
|
+
def list_reservations(params = {}, options = {})
|
2716
|
+
req = build_request(:list_reservations, params)
|
2717
|
+
req.send_request(options)
|
2718
|
+
end
|
2719
|
+
|
2443
2720
|
# Returns a list of scheduled actions. You can use the flags to filter
|
2444
2721
|
# the list of returned scheduled actions.
|
2445
2722
|
#
|
@@ -2716,6 +2993,54 @@ module Aws::RedshiftServerless
|
|
2716
2993
|
req.send_request(options)
|
2717
2994
|
end
|
2718
2995
|
|
2996
|
+
# List the Amazon Redshift Serverless versions.
|
2997
|
+
#
|
2998
|
+
# @option params [Integer] :max_results
|
2999
|
+
# The maximum number of response records to return in each call. If the
|
3000
|
+
# number of remaining response records exceeds the specified MaxRecords
|
3001
|
+
# value, a value is returned in a marker field of the response. You can
|
3002
|
+
# retrieve the next set of records by retrying the command with the
|
3003
|
+
# returned marker value.
|
3004
|
+
#
|
3005
|
+
# @option params [String] :next_token
|
3006
|
+
# If your initial `ListTracksRequest` operation returns a `nextToken`,
|
3007
|
+
# you can include the returned `nextToken` in following
|
3008
|
+
# `ListTracksRequest` operations, which returns results in the next
|
3009
|
+
# page.
|
3010
|
+
#
|
3011
|
+
# @return [Types::ListTracksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3012
|
+
#
|
3013
|
+
# * {Types::ListTracksResponse#next_token #next_token} => String
|
3014
|
+
# * {Types::ListTracksResponse#tracks #tracks} => Array<Types::ServerlessTrack>
|
3015
|
+
#
|
3016
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3017
|
+
#
|
3018
|
+
# @example Request syntax with placeholder values
|
3019
|
+
#
|
3020
|
+
# resp = client.list_tracks({
|
3021
|
+
# max_results: 1,
|
3022
|
+
# next_token: "PaginationToken",
|
3023
|
+
# })
|
3024
|
+
#
|
3025
|
+
# @example Response structure
|
3026
|
+
#
|
3027
|
+
# resp.next_token #=> String
|
3028
|
+
# resp.tracks #=> Array
|
3029
|
+
# resp.tracks[0].track_name #=> String
|
3030
|
+
# resp.tracks[0].update_targets #=> Array
|
3031
|
+
# resp.tracks[0].update_targets[0].track_name #=> String
|
3032
|
+
# resp.tracks[0].update_targets[0].workgroup_version #=> String
|
3033
|
+
# resp.tracks[0].workgroup_version #=> String
|
3034
|
+
#
|
3035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListTracks AWS API Documentation
|
3036
|
+
#
|
3037
|
+
# @overload list_tracks(params = {})
|
3038
|
+
# @param [Hash] params ({})
|
3039
|
+
def list_tracks(params = {}, options = {})
|
3040
|
+
req = build_request(:list_tracks, params)
|
3041
|
+
req.send_request(options)
|
3042
|
+
end
|
3043
|
+
|
2719
3044
|
# Lists all usage limits within Amazon Redshift Serverless.
|
2720
3045
|
#
|
2721
3046
|
# @option params [Integer] :max_results
|
@@ -2832,6 +3157,7 @@ module Aws::RedshiftServerless
|
|
2832
3157
|
# resp.workgroups[0].max_capacity #=> Integer
|
2833
3158
|
# resp.workgroups[0].namespace_name #=> String
|
2834
3159
|
# resp.workgroups[0].patch_version #=> String
|
3160
|
+
# resp.workgroups[0].pending_track_name #=> String
|
2835
3161
|
# resp.workgroups[0].port #=> Integer
|
2836
3162
|
# resp.workgroups[0].price_performance_target.level #=> Integer
|
2837
3163
|
# resp.workgroups[0].price_performance_target.status #=> String, one of "ENABLED", "DISABLED"
|
@@ -2841,6 +3167,7 @@ module Aws::RedshiftServerless
|
|
2841
3167
|
# resp.workgroups[0].status #=> String, one of "CREATING", "AVAILABLE", "MODIFYING", "DELETING"
|
2842
3168
|
# resp.workgroups[0].subnet_ids #=> Array
|
2843
3169
|
# resp.workgroups[0].subnet_ids[0] #=> String
|
3170
|
+
# resp.workgroups[0].track_name #=> String
|
2844
3171
|
# resp.workgroups[0].workgroup_arn #=> String
|
2845
3172
|
# resp.workgroups[0].workgroup_id #=> String
|
2846
3173
|
# resp.workgroups[0].workgroup_name #=> String
|
@@ -2969,8 +3296,8 @@ module Aws::RedshiftServerless
|
|
2969
3296
|
#
|
2970
3297
|
# @option params [String] :snapshot_arn
|
2971
3298
|
# The Amazon Resource Name (ARN) of the snapshot to restore from.
|
2972
|
-
# Required if restoring from
|
2973
|
-
#
|
3299
|
+
# Required if restoring from a provisioned cluster to Amazon Redshift
|
3300
|
+
# Serverless. Must not be specified at the same time as `snapshotName`.
|
2974
3301
|
#
|
2975
3302
|
# The format of the ARN is
|
2976
3303
|
# arn:aws:redshift:<region>:<account\_id>:snapshot:<cluster\_identifier>/<snapshot\_identifier>.
|
@@ -3781,6 +4108,11 @@ module Aws::RedshiftServerless
|
|
3781
4108
|
# @option params [Array<String>] :subnet_ids
|
3782
4109
|
# An array of VPC subnet IDs to associate with the workgroup.
|
3783
4110
|
#
|
4111
|
+
# @option params [String] :track_name
|
4112
|
+
# An optional parameter for the name of the track for the workgroup. If
|
4113
|
+
# you don't provide a track name, the workgroup is assigned to the
|
4114
|
+
# `current` track.
|
4115
|
+
#
|
3784
4116
|
# @option params [required, String] :workgroup_name
|
3785
4117
|
# The name of the workgroup to update. You can't update the name of a
|
3786
4118
|
# workgroup once it is created.
|
@@ -3810,6 +4142,7 @@ module Aws::RedshiftServerless
|
|
3810
4142
|
# publicly_accessible: false,
|
3811
4143
|
# security_group_ids: ["SecurityGroupId"],
|
3812
4144
|
# subnet_ids: ["SubnetId"],
|
4145
|
+
# track_name: "TrackName",
|
3813
4146
|
# workgroup_name: "WorkgroupName", # required
|
3814
4147
|
# })
|
3815
4148
|
#
|
@@ -3841,6 +4174,7 @@ module Aws::RedshiftServerless
|
|
3841
4174
|
# resp.workgroup.max_capacity #=> Integer
|
3842
4175
|
# resp.workgroup.namespace_name #=> String
|
3843
4176
|
# resp.workgroup.patch_version #=> String
|
4177
|
+
# resp.workgroup.pending_track_name #=> String
|
3844
4178
|
# resp.workgroup.port #=> Integer
|
3845
4179
|
# resp.workgroup.price_performance_target.level #=> Integer
|
3846
4180
|
# resp.workgroup.price_performance_target.status #=> String, one of "ENABLED", "DISABLED"
|
@@ -3850,6 +4184,7 @@ module Aws::RedshiftServerless
|
|
3850
4184
|
# resp.workgroup.status #=> String, one of "CREATING", "AVAILABLE", "MODIFYING", "DELETING"
|
3851
4185
|
# resp.workgroup.subnet_ids #=> Array
|
3852
4186
|
# resp.workgroup.subnet_ids[0] #=> String
|
4187
|
+
# resp.workgroup.track_name #=> String
|
3853
4188
|
# resp.workgroup.workgroup_arn #=> String
|
3854
4189
|
# resp.workgroup.workgroup_id #=> String
|
3855
4190
|
# resp.workgroup.workgroup_name #=> String
|
@@ -3882,7 +4217,7 @@ module Aws::RedshiftServerless
|
|
3882
4217
|
tracer: tracer
|
3883
4218
|
)
|
3884
4219
|
context[:gem_name] = 'aws-sdk-redshiftserverless'
|
3885
|
-
context[:gem_version] = '1.
|
4220
|
+
context[:gem_version] = '1.48.0'
|
3886
4221
|
Seahorse::Client::Request.new(handlers, context)
|
3887
4222
|
end
|
3888
4223
|
|