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
@@ -335,6 +335,52 @@ module Aws::RedshiftServerless
|
|
335
335
|
include Aws::Structure
|
336
336
|
end
|
337
337
|
|
338
|
+
# @!attribute [rw] capacity
|
339
|
+
# The number of Redshift Processing Units (RPUs) to reserve.
|
340
|
+
# @return [Integer]
|
341
|
+
#
|
342
|
+
# @!attribute [rw] client_token
|
343
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
344
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
345
|
+
# SDK populates this field. This token must be a valid UUIDv4 value.
|
346
|
+
# For more information about idempotency, see [ Making retries safe
|
347
|
+
# with idempotent APIs ][1].
|
348
|
+
#
|
349
|
+
# **A suitable default value is auto-generated.** You should normally
|
350
|
+
# not need to pass this option.
|
351
|
+
#
|
352
|
+
#
|
353
|
+
#
|
354
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
355
|
+
# @return [String]
|
356
|
+
#
|
357
|
+
# @!attribute [rw] offering_id
|
358
|
+
# The ID of the offering associated with the reservation. The offering
|
359
|
+
# determines the payment schedule for the reservation.
|
360
|
+
# @return [String]
|
361
|
+
#
|
362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateReservationRequest AWS API Documentation
|
363
|
+
#
|
364
|
+
class CreateReservationRequest < Struct.new(
|
365
|
+
:capacity,
|
366
|
+
:client_token,
|
367
|
+
:offering_id)
|
368
|
+
SENSITIVE = []
|
369
|
+
include Aws::Structure
|
370
|
+
end
|
371
|
+
|
372
|
+
# @!attribute [rw] reservation
|
373
|
+
# The reservation object that the `CreateReservation` action created.
|
374
|
+
# @return [Types::Reservation]
|
375
|
+
#
|
376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateReservationResponse AWS API Documentation
|
377
|
+
#
|
378
|
+
class CreateReservationResponse < Struct.new(
|
379
|
+
:reservation)
|
380
|
+
SENSITIVE = []
|
381
|
+
include Aws::Structure
|
382
|
+
end
|
383
|
+
|
338
384
|
# @!attribute [rw] enabled
|
339
385
|
# Indicates whether the schedule is enabled. If false, the scheduled
|
340
386
|
# action does not trigger. For more information about `state` of the
|
@@ -686,6 +732,12 @@ module Aws::RedshiftServerless
|
|
686
732
|
# A array of tag instances.
|
687
733
|
# @return [Array<Types::Tag>]
|
688
734
|
#
|
735
|
+
# @!attribute [rw] track_name
|
736
|
+
# An optional parameter for the name of the track for the workgroup.
|
737
|
+
# If you don't provide a track name, the workgroup is assigned to the
|
738
|
+
# `current` track.
|
739
|
+
# @return [String]
|
740
|
+
#
|
689
741
|
# @!attribute [rw] workgroup_name
|
690
742
|
# The name of the created workgroup.
|
691
743
|
# @return [String]
|
@@ -705,6 +757,7 @@ module Aws::RedshiftServerless
|
|
705
757
|
:security_group_ids,
|
706
758
|
:subnet_ids,
|
707
759
|
:tags,
|
760
|
+
:track_name,
|
708
761
|
:workgroup_name)
|
709
762
|
SENSITIVE = []
|
710
763
|
include Aws::Structure
|
@@ -1223,6 +1276,55 @@ module Aws::RedshiftServerless
|
|
1223
1276
|
include Aws::Structure
|
1224
1277
|
end
|
1225
1278
|
|
1279
|
+
# @!attribute [rw] offering_id
|
1280
|
+
# The identifier for the offering..
|
1281
|
+
# @return [String]
|
1282
|
+
#
|
1283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetReservationOfferingRequest AWS API Documentation
|
1284
|
+
#
|
1285
|
+
class GetReservationOfferingRequest < Struct.new(
|
1286
|
+
:offering_id)
|
1287
|
+
SENSITIVE = []
|
1288
|
+
include Aws::Structure
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
# @!attribute [rw] reservation_offering
|
1292
|
+
# The returned reservation offering. The offering determines the
|
1293
|
+
# payment schedule for the reservation.
|
1294
|
+
# @return [Types::ReservationOffering]
|
1295
|
+
#
|
1296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetReservationOfferingResponse AWS API Documentation
|
1297
|
+
#
|
1298
|
+
class GetReservationOfferingResponse < Struct.new(
|
1299
|
+
:reservation_offering)
|
1300
|
+
SENSITIVE = []
|
1301
|
+
include Aws::Structure
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# @!attribute [rw] reservation_id
|
1305
|
+
# The ID of the reservation to retrieve.
|
1306
|
+
# @return [String]
|
1307
|
+
#
|
1308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetReservationRequest AWS API Documentation
|
1309
|
+
#
|
1310
|
+
class GetReservationRequest < Struct.new(
|
1311
|
+
:reservation_id)
|
1312
|
+
SENSITIVE = []
|
1313
|
+
include Aws::Structure
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# @!attribute [rw] reservation
|
1317
|
+
# The returned reservation object.
|
1318
|
+
# @return [Types::Reservation]
|
1319
|
+
#
|
1320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetReservationResponse AWS API Documentation
|
1321
|
+
#
|
1322
|
+
class GetReservationResponse < Struct.new(
|
1323
|
+
:reservation)
|
1324
|
+
SENSITIVE = []
|
1325
|
+
include Aws::Structure
|
1326
|
+
end
|
1327
|
+
|
1226
1328
|
# @!attribute [rw] resource_arn
|
1227
1329
|
# The Amazon Resource Name (ARN) of the resource to return.
|
1228
1330
|
# @return [String]
|
@@ -1332,6 +1434,30 @@ module Aws::RedshiftServerless
|
|
1332
1434
|
include Aws::Structure
|
1333
1435
|
end
|
1334
1436
|
|
1437
|
+
# @!attribute [rw] track_name
|
1438
|
+
# The name of the track of which its version is fetched.
|
1439
|
+
# @return [String]
|
1440
|
+
#
|
1441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetTrackRequest AWS API Documentation
|
1442
|
+
#
|
1443
|
+
class GetTrackRequest < Struct.new(
|
1444
|
+
:track_name)
|
1445
|
+
SENSITIVE = []
|
1446
|
+
include Aws::Structure
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# @!attribute [rw] track
|
1450
|
+
# The version of the specified track.
|
1451
|
+
# @return [Types::ServerlessTrack]
|
1452
|
+
#
|
1453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetTrackResponse AWS API Documentation
|
1454
|
+
#
|
1455
|
+
class GetTrackResponse < Struct.new(
|
1456
|
+
:track)
|
1457
|
+
SENSITIVE = []
|
1458
|
+
include Aws::Structure
|
1459
|
+
end
|
1460
|
+
|
1335
1461
|
# @!attribute [rw] usage_limit_id
|
1336
1462
|
# The unique identifier of the usage limit to return information for.
|
1337
1463
|
# @return [String]
|
@@ -1699,6 +1825,80 @@ module Aws::RedshiftServerless
|
|
1699
1825
|
include Aws::Structure
|
1700
1826
|
end
|
1701
1827
|
|
1828
|
+
# @!attribute [rw] max_results
|
1829
|
+
# The maximum number of items to return for this call. The call also
|
1830
|
+
# returns a token that you can specify in a subsequent call to get the
|
1831
|
+
# next set of results.
|
1832
|
+
# @return [Integer]
|
1833
|
+
#
|
1834
|
+
# @!attribute [rw] next_token
|
1835
|
+
# The token for the next set of items to return. (You received this
|
1836
|
+
# token from a previous call.)
|
1837
|
+
# @return [String]
|
1838
|
+
#
|
1839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListReservationOfferingsRequest AWS API Documentation
|
1840
|
+
#
|
1841
|
+
class ListReservationOfferingsRequest < Struct.new(
|
1842
|
+
:max_results,
|
1843
|
+
:next_token)
|
1844
|
+
SENSITIVE = []
|
1845
|
+
include Aws::Structure
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
# @!attribute [rw] next_token
|
1849
|
+
# The token to use when requesting the next set of items.
|
1850
|
+
# @return [String]
|
1851
|
+
#
|
1852
|
+
# @!attribute [rw] reservation_offerings_list
|
1853
|
+
# The returned list of reservation offerings.
|
1854
|
+
# @return [Array<Types::ReservationOffering>]
|
1855
|
+
#
|
1856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListReservationOfferingsResponse AWS API Documentation
|
1857
|
+
#
|
1858
|
+
class ListReservationOfferingsResponse < Struct.new(
|
1859
|
+
:next_token,
|
1860
|
+
:reservation_offerings_list)
|
1861
|
+
SENSITIVE = []
|
1862
|
+
include Aws::Structure
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# @!attribute [rw] max_results
|
1866
|
+
# The maximum number of items to return for this call. The call also
|
1867
|
+
# returns a token that you can specify in a subsequent call to get the
|
1868
|
+
# next set of results.
|
1869
|
+
# @return [Integer]
|
1870
|
+
#
|
1871
|
+
# @!attribute [rw] next_token
|
1872
|
+
# The token for the next set of items to return. (You received this
|
1873
|
+
# token from a previous call.)
|
1874
|
+
# @return [String]
|
1875
|
+
#
|
1876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListReservationsRequest AWS API Documentation
|
1877
|
+
#
|
1878
|
+
class ListReservationsRequest < Struct.new(
|
1879
|
+
:max_results,
|
1880
|
+
:next_token)
|
1881
|
+
SENSITIVE = []
|
1882
|
+
include Aws::Structure
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
# @!attribute [rw] next_token
|
1886
|
+
# The token to use when requesting the next set of items.
|
1887
|
+
# @return [String]
|
1888
|
+
#
|
1889
|
+
# @!attribute [rw] reservations_list
|
1890
|
+
# The serverless reservations returned by the request.
|
1891
|
+
# @return [Array<Types::Reservation>]
|
1892
|
+
#
|
1893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListReservationsResponse AWS API Documentation
|
1894
|
+
#
|
1895
|
+
class ListReservationsResponse < Struct.new(
|
1896
|
+
:next_token,
|
1897
|
+
:reservations_list)
|
1898
|
+
SENSITIVE = []
|
1899
|
+
include Aws::Structure
|
1900
|
+
end
|
1901
|
+
|
1702
1902
|
# @!attribute [rw] max_results
|
1703
1903
|
# An optional parameter that specifies the maximum number of results
|
1704
1904
|
# to return. Use `nextToken` to display the next page of results.
|
@@ -1938,6 +2138,50 @@ module Aws::RedshiftServerless
|
|
1938
2138
|
include Aws::Structure
|
1939
2139
|
end
|
1940
2140
|
|
2141
|
+
# @!attribute [rw] max_results
|
2142
|
+
# The maximum number of response records to return in each call. If
|
2143
|
+
# the number of remaining response records exceeds the specified
|
2144
|
+
# MaxRecords value, a value is returned in a marker field of the
|
2145
|
+
# response. You can retrieve the next set of records by retrying the
|
2146
|
+
# command with the returned marker value.
|
2147
|
+
# @return [Integer]
|
2148
|
+
#
|
2149
|
+
# @!attribute [rw] next_token
|
2150
|
+
# If your initial `ListTracksRequest` operation returns a `nextToken`,
|
2151
|
+
# you can include the returned `nextToken` in following
|
2152
|
+
# `ListTracksRequest` operations, which returns results in the next
|
2153
|
+
# page.
|
2154
|
+
# @return [String]
|
2155
|
+
#
|
2156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListTracksRequest AWS API Documentation
|
2157
|
+
#
|
2158
|
+
class ListTracksRequest < Struct.new(
|
2159
|
+
:max_results,
|
2160
|
+
:next_token)
|
2161
|
+
SENSITIVE = []
|
2162
|
+
include Aws::Structure
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
# @!attribute [rw] next_token
|
2166
|
+
# When `nextToken` is returned, there are more results available. The
|
2167
|
+
# value of `nextToken` is a unique pagination token for each page.
|
2168
|
+
# Make the call again using the returned token to retrieve the next
|
2169
|
+
# page.
|
2170
|
+
# @return [String]
|
2171
|
+
#
|
2172
|
+
# @!attribute [rw] tracks
|
2173
|
+
# The returned tracks.
|
2174
|
+
# @return [Array<Types::ServerlessTrack>]
|
2175
|
+
#
|
2176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListTracksResponse AWS API Documentation
|
2177
|
+
#
|
2178
|
+
class ListTracksResponse < Struct.new(
|
2179
|
+
:next_token,
|
2180
|
+
:tracks)
|
2181
|
+
SENSITIVE = []
|
2182
|
+
include Aws::Structure
|
2183
|
+
end
|
2184
|
+
|
1941
2185
|
# @!attribute [rw] max_results
|
1942
2186
|
# An optional parameter that specifies the maximum number of results
|
1943
2187
|
# to return. You can use `nextToken` to get the next page of results.
|
@@ -2296,6 +2540,108 @@ module Aws::RedshiftServerless
|
|
2296
2540
|
include Aws::Structure
|
2297
2541
|
end
|
2298
2542
|
|
2543
|
+
# Represents an Amazon Redshift Serverless reservation, which gives you
|
2544
|
+
# the option to commit to a specified number of Redshift Processing
|
2545
|
+
# Units (RPUs) for a year at a discount from Serverless on-demand (OD)
|
2546
|
+
# rates.
|
2547
|
+
#
|
2548
|
+
# @!attribute [rw] capacity
|
2549
|
+
# The number of Redshift Processing Units (RPUs) to reserve.
|
2550
|
+
# @return [Integer]
|
2551
|
+
#
|
2552
|
+
# @!attribute [rw] end_date
|
2553
|
+
# The end date for the serverless reservation. This date is one year
|
2554
|
+
# after the start date that you specify.
|
2555
|
+
# @return [Time]
|
2556
|
+
#
|
2557
|
+
# @!attribute [rw] offering
|
2558
|
+
# The type of offering for the reservation. The offering class
|
2559
|
+
# determines the payment schedule for the reservation.
|
2560
|
+
# @return [Types::ReservationOffering]
|
2561
|
+
#
|
2562
|
+
# @!attribute [rw] reservation_arn
|
2563
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the
|
2564
|
+
# serverless reservation.
|
2565
|
+
# @return [String]
|
2566
|
+
#
|
2567
|
+
# @!attribute [rw] reservation_id
|
2568
|
+
# The identifier that uniquely identifies the serverless reservation.
|
2569
|
+
# @return [String]
|
2570
|
+
#
|
2571
|
+
# @!attribute [rw] start_date
|
2572
|
+
# The start date for the serverless reservation. This is the date you
|
2573
|
+
# specified for the reservation to start when you created the
|
2574
|
+
# reservation.
|
2575
|
+
# @return [Time]
|
2576
|
+
#
|
2577
|
+
# @!attribute [rw] status
|
2578
|
+
# The status of the reservation. Possible values include the
|
2579
|
+
# following:
|
2580
|
+
#
|
2581
|
+
# * `payment-pending`
|
2582
|
+
#
|
2583
|
+
# * `active`
|
2584
|
+
#
|
2585
|
+
# * `payment-failed`
|
2586
|
+
#
|
2587
|
+
# * `retired`
|
2588
|
+
# @return [String]
|
2589
|
+
#
|
2590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/Reservation AWS API Documentation
|
2591
|
+
#
|
2592
|
+
class Reservation < Struct.new(
|
2593
|
+
:capacity,
|
2594
|
+
:end_date,
|
2595
|
+
:offering,
|
2596
|
+
:reservation_arn,
|
2597
|
+
:reservation_id,
|
2598
|
+
:start_date,
|
2599
|
+
:status)
|
2600
|
+
SENSITIVE = []
|
2601
|
+
include Aws::Structure
|
2602
|
+
end
|
2603
|
+
|
2604
|
+
# The class of offering for the reservation. The offering class
|
2605
|
+
# determines the payment schedule for the reservation.
|
2606
|
+
#
|
2607
|
+
# @!attribute [rw] currency_code
|
2608
|
+
# The currency code for the offering.
|
2609
|
+
# @return [String]
|
2610
|
+
#
|
2611
|
+
# @!attribute [rw] duration
|
2612
|
+
# The duration, in seconds, for which the reservation reserves the
|
2613
|
+
# RPUs.
|
2614
|
+
# @return [Integer]
|
2615
|
+
#
|
2616
|
+
# @!attribute [rw] hourly_charge
|
2617
|
+
# The rate you are charged for each hour the reservation is active.
|
2618
|
+
# @return [Float]
|
2619
|
+
#
|
2620
|
+
# @!attribute [rw] offering_id
|
2621
|
+
# The offering identifier.
|
2622
|
+
# @return [String]
|
2623
|
+
#
|
2624
|
+
# @!attribute [rw] offering_type
|
2625
|
+
# Determines the payment schedule for the reservation.
|
2626
|
+
# @return [String]
|
2627
|
+
#
|
2628
|
+
# @!attribute [rw] upfront_charge
|
2629
|
+
# The up-front price you are charged for the reservation.
|
2630
|
+
# @return [Float]
|
2631
|
+
#
|
2632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ReservationOffering AWS API Documentation
|
2633
|
+
#
|
2634
|
+
class ReservationOffering < Struct.new(
|
2635
|
+
:currency_code,
|
2636
|
+
:duration,
|
2637
|
+
:hourly_charge,
|
2638
|
+
:offering_id,
|
2639
|
+
:offering_type,
|
2640
|
+
:upfront_charge)
|
2641
|
+
SENSITIVE = []
|
2642
|
+
include Aws::Structure
|
2643
|
+
end
|
2644
|
+
|
2299
2645
|
# The resource could not be found.
|
2300
2646
|
#
|
2301
2647
|
# @!attribute [rw] message
|
@@ -2395,8 +2741,8 @@ module Aws::RedshiftServerless
|
|
2395
2741
|
#
|
2396
2742
|
# @!attribute [rw] snapshot_arn
|
2397
2743
|
# The Amazon Resource Name (ARN) of the snapshot to restore from.
|
2398
|
-
# Required if restoring from
|
2399
|
-
#
|
2744
|
+
# Required if restoring from a provisioned cluster to Amazon Redshift
|
2745
|
+
# Serverless. Must not be specified at the same time as
|
2400
2746
|
# `snapshotName`.
|
2401
2747
|
#
|
2402
2748
|
# The format of the ARN is
|
@@ -2756,6 +3102,34 @@ module Aws::RedshiftServerless
|
|
2756
3102
|
include Aws::Structure
|
2757
3103
|
end
|
2758
3104
|
|
3105
|
+
# Defines a track that determines which Amazon Redshift version to apply
|
3106
|
+
# after a new version is released. If the value for `ServerlessTrack` is
|
3107
|
+
# `current`, the workgroup is updated to the most recently certified
|
3108
|
+
# release. If the value is `trailing`, the workgroup is updated to the
|
3109
|
+
# previously certified release.
|
3110
|
+
#
|
3111
|
+
# @!attribute [rw] track_name
|
3112
|
+
# The name of the track. Valid values are `current` and `trailing`.
|
3113
|
+
# @return [String]
|
3114
|
+
#
|
3115
|
+
# @!attribute [rw] update_targets
|
3116
|
+
# An array of `UpdateTarget` objects to update with the track.
|
3117
|
+
# @return [Array<Types::UpdateTarget>]
|
3118
|
+
#
|
3119
|
+
# @!attribute [rw] workgroup_version
|
3120
|
+
# The workgroup version number for the workgroup release.
|
3121
|
+
# @return [String]
|
3122
|
+
#
|
3123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ServerlessTrack AWS API Documentation
|
3124
|
+
#
|
3125
|
+
class ServerlessTrack < Struct.new(
|
3126
|
+
:track_name,
|
3127
|
+
:update_targets,
|
3128
|
+
:workgroup_version)
|
3129
|
+
SENSITIVE = []
|
3130
|
+
include Aws::Structure
|
3131
|
+
end
|
3132
|
+
|
2759
3133
|
# The service limit was exceeded.
|
2760
3134
|
#
|
2761
3135
|
# @!attribute [rw] message
|
@@ -3477,6 +3851,25 @@ module Aws::RedshiftServerless
|
|
3477
3851
|
include Aws::Structure
|
3478
3852
|
end
|
3479
3853
|
|
3854
|
+
# A track that you can switch the current track to.
|
3855
|
+
#
|
3856
|
+
# @!attribute [rw] track_name
|
3857
|
+
# The name of the new track.
|
3858
|
+
# @return [String]
|
3859
|
+
#
|
3860
|
+
# @!attribute [rw] workgroup_version
|
3861
|
+
# The workgroup version for the new track.
|
3862
|
+
# @return [String]
|
3863
|
+
#
|
3864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateTarget AWS API Documentation
|
3865
|
+
#
|
3866
|
+
class UpdateTarget < Struct.new(
|
3867
|
+
:track_name,
|
3868
|
+
:workgroup_version)
|
3869
|
+
SENSITIVE = []
|
3870
|
+
include Aws::Structure
|
3871
|
+
end
|
3872
|
+
|
3480
3873
|
# @!attribute [rw] amount
|
3481
3874
|
# The new limit amount. If time-based, this amount is in Redshift
|
3482
3875
|
# Processing Units (RPU) consumed per hour. If data-based, this amount
|
@@ -3574,6 +3967,12 @@ module Aws::RedshiftServerless
|
|
3574
3967
|
# An array of VPC subnet IDs to associate with the workgroup.
|
3575
3968
|
# @return [Array<String>]
|
3576
3969
|
#
|
3970
|
+
# @!attribute [rw] track_name
|
3971
|
+
# An optional parameter for the name of the track for the workgroup.
|
3972
|
+
# If you don't provide a track name, the workgroup is assigned to the
|
3973
|
+
# `current` track.
|
3974
|
+
# @return [String]
|
3975
|
+
#
|
3577
3976
|
# @!attribute [rw] workgroup_name
|
3578
3977
|
# The name of the workgroup to update. You can't update the name of a
|
3579
3978
|
# workgroup once it is created.
|
@@ -3592,6 +3991,7 @@ module Aws::RedshiftServerless
|
|
3592
3991
|
:publicly_accessible,
|
3593
3992
|
:security_group_ids,
|
3594
3993
|
:subnet_ids,
|
3994
|
+
:track_name,
|
3595
3995
|
:workgroup_name)
|
3596
3996
|
SENSITIVE = []
|
3597
3997
|
include Aws::Structure
|
@@ -3798,6 +4198,13 @@ module Aws::RedshiftServerless
|
|
3798
4198
|
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html
|
3799
4199
|
# @return [String]
|
3800
4200
|
#
|
4201
|
+
# @!attribute [rw] pending_track_name
|
4202
|
+
# The name for the track that you want to assign to the workgroup.
|
4203
|
+
# When the track changes, the workgroup is switched to the latest
|
4204
|
+
# workgroup release available for the track. At this point, the track
|
4205
|
+
# name is applied.
|
4206
|
+
# @return [String]
|
4207
|
+
#
|
3801
4208
|
# @!attribute [rw] port
|
3802
4209
|
# The custom port to use when connecting to a workgroup. Valid port
|
3803
4210
|
# ranges are 5431-5455 and 8191-8215. The default is 5439.
|
@@ -3825,6 +4232,10 @@ module Aws::RedshiftServerless
|
|
3825
4232
|
# An array of subnet IDs the workgroup is associated with.
|
3826
4233
|
# @return [Array<String>]
|
3827
4234
|
#
|
4235
|
+
# @!attribute [rw] track_name
|
4236
|
+
# The name of the track for the workgroup.
|
4237
|
+
# @return [String]
|
4238
|
+
#
|
3828
4239
|
# @!attribute [rw] workgroup_arn
|
3829
4240
|
# The Amazon Resource Name (ARN) that links to the workgroup.
|
3830
4241
|
# @return [String]
|
@@ -3863,12 +4274,14 @@ module Aws::RedshiftServerless
|
|
3863
4274
|
:max_capacity,
|
3864
4275
|
:namespace_name,
|
3865
4276
|
:patch_version,
|
4277
|
+
:pending_track_name,
|
3866
4278
|
:port,
|
3867
4279
|
:price_performance_target,
|
3868
4280
|
:publicly_accessible,
|
3869
4281
|
:security_group_ids,
|
3870
4282
|
:status,
|
3871
4283
|
:subnet_ids,
|
4284
|
+
:track_name,
|
3872
4285
|
:workgroup_arn,
|
3873
4286
|
:workgroup_id,
|
3874
4287
|
:workgroup_name,
|
data/sig/client.rbs
CHANGED
@@ -151,6 +151,18 @@ module Aws
|
|
151
151
|
) -> _CreateNamespaceResponseSuccess
|
152
152
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNamespaceResponseSuccess
|
153
153
|
|
154
|
+
interface _CreateReservationResponseSuccess
|
155
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateReservationResponse]
|
156
|
+
def reservation: () -> Types::Reservation
|
157
|
+
end
|
158
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#create_reservation-instance_method
|
159
|
+
def create_reservation: (
|
160
|
+
capacity: ::Integer,
|
161
|
+
?client_token: ::String,
|
162
|
+
offering_id: ::String
|
163
|
+
) -> _CreateReservationResponseSuccess
|
164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateReservationResponseSuccess
|
165
|
+
|
154
166
|
interface _CreateScheduledActionResponseSuccess
|
155
167
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduledActionResponse]
|
156
168
|
def scheduled_action: () -> Types::ScheduledActionResponse
|
@@ -260,6 +272,7 @@ module Aws
|
|
260
272
|
value: ::String
|
261
273
|
},
|
262
274
|
],
|
275
|
+
?track_name: ::String,
|
263
276
|
workgroup_name: ::String
|
264
277
|
) -> _CreateWorkgroupResponseSuccess
|
265
278
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkgroupResponseSuccess
|
@@ -415,6 +428,26 @@ module Aws
|
|
415
428
|
) -> _GetRecoveryPointResponseSuccess
|
416
429
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecoveryPointResponseSuccess
|
417
430
|
|
431
|
+
interface _GetReservationResponseSuccess
|
432
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationResponse]
|
433
|
+
def reservation: () -> Types::Reservation
|
434
|
+
end
|
435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_reservation-instance_method
|
436
|
+
def get_reservation: (
|
437
|
+
reservation_id: ::String
|
438
|
+
) -> _GetReservationResponseSuccess
|
439
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationResponseSuccess
|
440
|
+
|
441
|
+
interface _GetReservationOfferingResponseSuccess
|
442
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationOfferingResponse]
|
443
|
+
def reservation_offering: () -> Types::ReservationOffering
|
444
|
+
end
|
445
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_reservation_offering-instance_method
|
446
|
+
def get_reservation_offering: (
|
447
|
+
offering_id: ::String
|
448
|
+
) -> _GetReservationOfferingResponseSuccess
|
449
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationOfferingResponseSuccess
|
450
|
+
|
418
451
|
interface _GetResourcePolicyResponseSuccess
|
419
452
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
420
453
|
def resource_policy: () -> Types::ResourcePolicy
|
@@ -457,6 +490,16 @@ module Aws
|
|
457
490
|
) -> _GetTableRestoreStatusResponseSuccess
|
458
491
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableRestoreStatusResponseSuccess
|
459
492
|
|
493
|
+
interface _GetTrackResponseSuccess
|
494
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTrackResponse]
|
495
|
+
def track: () -> Types::ServerlessTrack
|
496
|
+
end
|
497
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_track-instance_method
|
498
|
+
def get_track: (
|
499
|
+
track_name: ::String
|
500
|
+
) -> _GetTrackResponseSuccess
|
501
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrackResponseSuccess
|
502
|
+
|
460
503
|
interface _GetUsageLimitResponseSuccess
|
461
504
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageLimitResponse]
|
462
505
|
def usage_limit: () -> Types::UsageLimit
|
@@ -547,6 +590,30 @@ module Aws
|
|
547
590
|
) -> _ListRecoveryPointsResponseSuccess
|
548
591
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecoveryPointsResponseSuccess
|
549
592
|
|
593
|
+
interface _ListReservationOfferingsResponseSuccess
|
594
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListReservationOfferingsResponse]
|
595
|
+
def next_token: () -> ::String
|
596
|
+
def reservation_offerings_list: () -> ::Array[Types::ReservationOffering]
|
597
|
+
end
|
598
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_reservation_offerings-instance_method
|
599
|
+
def list_reservation_offerings: (
|
600
|
+
?max_results: ::Integer,
|
601
|
+
?next_token: ::String
|
602
|
+
) -> _ListReservationOfferingsResponseSuccess
|
603
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReservationOfferingsResponseSuccess
|
604
|
+
|
605
|
+
interface _ListReservationsResponseSuccess
|
606
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListReservationsResponse]
|
607
|
+
def next_token: () -> ::String
|
608
|
+
def reservations_list: () -> ::Array[Types::Reservation]
|
609
|
+
end
|
610
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_reservations-instance_method
|
611
|
+
def list_reservations: (
|
612
|
+
?max_results: ::Integer,
|
613
|
+
?next_token: ::String
|
614
|
+
) -> _ListReservationsResponseSuccess
|
615
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReservationsResponseSuccess
|
616
|
+
|
550
617
|
interface _ListScheduledActionsResponseSuccess
|
551
618
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledActionsResponse]
|
552
619
|
def next_token: () -> ::String
|
@@ -614,6 +681,18 @@ module Aws
|
|
614
681
|
) -> _ListTagsForResourceResponseSuccess
|
615
682
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
616
683
|
|
684
|
+
interface _ListTracksResponseSuccess
|
685
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTracksResponse]
|
686
|
+
def next_token: () -> ::String
|
687
|
+
def tracks: () -> ::Array[Types::ServerlessTrack]
|
688
|
+
end
|
689
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_tracks-instance_method
|
690
|
+
def list_tracks: (
|
691
|
+
?max_results: ::Integer,
|
692
|
+
?next_token: ::String
|
693
|
+
) -> _ListTracksResponseSuccess
|
694
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTracksResponseSuccess
|
695
|
+
|
617
696
|
interface _ListUsageLimitsResponseSuccess
|
618
697
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListUsageLimitsResponse]
|
619
698
|
def next_token: () -> ::String
|
@@ -880,6 +959,7 @@ module Aws
|
|
880
959
|
?publicly_accessible: bool,
|
881
960
|
?security_group_ids: Array[::String],
|
882
961
|
?subnet_ids: Array[::String],
|
962
|
+
?track_name: ::String,
|
883
963
|
workgroup_name: ::String
|
884
964
|
) -> _UpdateWorkgroupResponseSuccess
|
885
965
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkgroupResponseSuccess
|