aws-sdk-redshiftserverless 1.3.0 → 1.5.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftserverless/client.rb +281 -18
- data/lib/aws-sdk-redshiftserverless/client_api.rb +107 -0
- data/lib/aws-sdk-redshiftserverless/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-redshiftserverless/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-redshiftserverless/endpoints.rb +575 -0
- data/lib/aws-sdk-redshiftserverless/plugins/endpoints.rb +148 -0
- data/lib/aws-sdk-redshiftserverless/types.rb +319 -387
- data/lib/aws-sdk-redshiftserverless.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50d07776b2f579001fe49afbf6ad289a171347bcc8eff99b32dc509db17e5a85
|
4
|
+
data.tar.gz: bd0285a86fd3f9b65573894577f97860bbdd7bf8606fb6a8c932765c9e9c67be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9822c25e8b7d2d6a91222e7264b9e9660b58d19554d6f68984f95d4623bce6fc0b1715b4d454840deabec166ab788d22d4a506bab43ae7d6a8518ed9217377a
|
7
|
+
data.tar.gz: a42a70031d97969fd9c73fa8839acb718231970140d4b02d62c9d677200822c99ae3483cde38388cbb2c9635730ea9500a9382850fb5bd826c298e51dc9054d2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.5.0 (2022-12-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add Table Level Restore operations for Amazon Redshift Serverless. Add multi-port support for Amazon Redshift Serverless endpoints. Add Tagging support to Snapshots and Recovery Points in Amazon Redshift Serverless.
|
8
|
+
|
9
|
+
1.4.0 (2022-10-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.3.0 (2022-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:redshiftserverless)
|
@@ -79,8 +79,9 @@ module Aws::RedshiftServerless
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
84
|
+
add_plugin(Aws::RedshiftServerless::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -297,6 +298,19 @@ module Aws::RedshiftServerless
|
|
297
298
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
298
299
|
# requests are made, and retries are disabled.
|
299
300
|
#
|
301
|
+
# @option options [Aws::TokenProvider] :token_provider
|
302
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
303
|
+
# following classes:
|
304
|
+
#
|
305
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
306
|
+
# tokens.
|
307
|
+
#
|
308
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
309
|
+
# access token generated from `aws login`.
|
310
|
+
#
|
311
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
312
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
313
|
+
#
|
300
314
|
# @option options [Boolean] :use_dualstack_endpoint
|
301
315
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
302
316
|
# will be used if available.
|
@@ -310,6 +324,9 @@ module Aws::RedshiftServerless
|
|
310
324
|
# When `true`, request parameters are validated before
|
311
325
|
# sending the request.
|
312
326
|
#
|
327
|
+
# @option options [Aws::RedshiftServerless::EndpointProvider] :endpoint_provider
|
328
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::RedshiftServerless::EndpointParameters`
|
329
|
+
#
|
313
330
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
314
331
|
# requests through. Formatted like 'http://proxy.com:123'.
|
315
332
|
#
|
@@ -378,6 +395,13 @@ module Aws::RedshiftServerless
|
|
378
395
|
# @option params [required, String] :snapshot_name
|
379
396
|
# The name of the snapshot.
|
380
397
|
#
|
398
|
+
# @option params [Array<Types::Tag>] :tags
|
399
|
+
# An array of [Tag objects][1] to associate with the created snapshot.
|
400
|
+
#
|
401
|
+
#
|
402
|
+
#
|
403
|
+
# [1]: https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html
|
404
|
+
#
|
381
405
|
# @return [Types::ConvertRecoveryPointToSnapshotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
382
406
|
#
|
383
407
|
# * {Types::ConvertRecoveryPointToSnapshotResponse#snapshot #snapshot} => Types::Snapshot
|
@@ -388,6 +412,12 @@ module Aws::RedshiftServerless
|
|
388
412
|
# recovery_point_id: "String", # required
|
389
413
|
# retention_period: 1,
|
390
414
|
# snapshot_name: "String", # required
|
415
|
+
# tags: [
|
416
|
+
# {
|
417
|
+
# key: "TagKey", # required
|
418
|
+
# value: "TagValue", # required
|
419
|
+
# },
|
420
|
+
# ],
|
391
421
|
# })
|
392
422
|
#
|
393
423
|
# @example Response structure
|
@@ -587,6 +617,13 @@ module Aws::RedshiftServerless
|
|
587
617
|
# @option params [required, String] :snapshot_name
|
588
618
|
# The name of the snapshot.
|
589
619
|
#
|
620
|
+
# @option params [Array<Types::Tag>] :tags
|
621
|
+
# An array of [Tag objects][1] to associate with the snapshot.
|
622
|
+
#
|
623
|
+
#
|
624
|
+
#
|
625
|
+
# [1]: https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html
|
626
|
+
#
|
590
627
|
# @return [Types::CreateSnapshotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
591
628
|
#
|
592
629
|
# * {Types::CreateSnapshotResponse#snapshot #snapshot} => Types::Snapshot
|
@@ -597,6 +634,12 @@ module Aws::RedshiftServerless
|
|
597
634
|
# namespace_name: "String", # required
|
598
635
|
# retention_period: 1,
|
599
636
|
# snapshot_name: "String", # required
|
637
|
+
# tags: [
|
638
|
+
# {
|
639
|
+
# key: "TagKey", # required
|
640
|
+
# value: "TagValue", # required
|
641
|
+
# },
|
642
|
+
# ],
|
600
643
|
# })
|
601
644
|
#
|
602
645
|
# @example Response structure
|
@@ -711,6 +754,10 @@ module Aws::RedshiftServerless
|
|
711
754
|
# @option params [required, String] :namespace_name
|
712
755
|
# The name of the namespace to associate with the workgroup.
|
713
756
|
#
|
757
|
+
# @option params [Integer] :port
|
758
|
+
# The custom port to use when connecting to a workgroup. Valid port
|
759
|
+
# ranges are 5431-5455 and 8191-8215. The default is 5439.
|
760
|
+
#
|
714
761
|
# @option params [Boolean] :publicly_accessible
|
715
762
|
# A value that specifies whether the workgroup can be accessed from a
|
716
763
|
# public network.
|
@@ -743,6 +790,7 @@ module Aws::RedshiftServerless
|
|
743
790
|
# ],
|
744
791
|
# enhanced_vpc_routing: false,
|
745
792
|
# namespace_name: "NamespaceName", # required
|
793
|
+
# port: 1,
|
746
794
|
# publicly_accessible: false,
|
747
795
|
# security_group_ids: ["SecurityGroupId"],
|
748
796
|
# subnet_ids: ["SubnetId"],
|
@@ -774,6 +822,7 @@ module Aws::RedshiftServerless
|
|
774
822
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
775
823
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
776
824
|
# resp.workgroup.namespace_name #=> String
|
825
|
+
# resp.workgroup.port #=> Integer
|
777
826
|
# resp.workgroup.publicly_accessible #=> Boolean
|
778
827
|
# resp.workgroup.security_group_ids #=> Array
|
779
828
|
# resp.workgroup.security_group_ids[0] #=> String
|
@@ -1029,6 +1078,7 @@ module Aws::RedshiftServerless
|
|
1029
1078
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
1030
1079
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
1031
1080
|
# resp.workgroup.namespace_name #=> String
|
1081
|
+
# resp.workgroup.port #=> Integer
|
1032
1082
|
# resp.workgroup.publicly_accessible #=> Boolean
|
1033
1083
|
# resp.workgroup.security_group_ids #=> Array
|
1034
1084
|
# resp.workgroup.security_group_ids[0] #=> String
|
@@ -1055,7 +1105,7 @@ module Aws::RedshiftServerless
|
|
1055
1105
|
# optionally specify a duration between 900 seconds (15 minutes) and
|
1056
1106
|
# 3600 seconds (60 minutes).
|
1057
1107
|
#
|
1058
|
-
# <p>
|
1108
|
+
# <p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>
|
1059
1109
|
#
|
1060
1110
|
# @option params [String] :db_name
|
1061
1111
|
# The name of the database to get temporary authorization to log on to.
|
@@ -1064,8 +1114,8 @@ module Aws::RedshiftServerless
|
|
1064
1114
|
#
|
1065
1115
|
# * Must be 1 to 64 alphanumeric characters or hyphens.
|
1066
1116
|
#
|
1067
|
-
# * Must contain only lowercase letters, numbers,
|
1068
|
-
# period (dot), at symbol (@), or hyphen.
|
1117
|
+
# * Must contain only uppercase or lowercase letters, numbers,
|
1118
|
+
# underscore, plus sign, period (dot), at symbol (@), or hyphen.
|
1069
1119
|
#
|
1070
1120
|
# * The first character must be a letter.
|
1071
1121
|
#
|
@@ -1219,6 +1269,7 @@ module Aws::RedshiftServerless
|
|
1219
1269
|
#
|
1220
1270
|
# @example Response structure
|
1221
1271
|
#
|
1272
|
+
# resp.recovery_point.namespace_arn #=> String
|
1222
1273
|
# resp.recovery_point.namespace_name #=> String
|
1223
1274
|
# resp.recovery_point.recovery_point_create_time #=> Time
|
1224
1275
|
# resp.recovery_point.recovery_point_id #=> String
|
@@ -1321,6 +1372,48 @@ module Aws::RedshiftServerless
|
|
1321
1372
|
req.send_request(options)
|
1322
1373
|
end
|
1323
1374
|
|
1375
|
+
# Returns information about a `TableRestoreStatus` object.
|
1376
|
+
#
|
1377
|
+
# @option params [required, String] :table_restore_request_id
|
1378
|
+
# The ID of the `RestoreTableFromSnapshot` request to return status for.
|
1379
|
+
#
|
1380
|
+
# @return [Types::GetTableRestoreStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1381
|
+
#
|
1382
|
+
# * {Types::GetTableRestoreStatusResponse#table_restore_status #table_restore_status} => Types::TableRestoreStatus
|
1383
|
+
#
|
1384
|
+
# @example Request syntax with placeholder values
|
1385
|
+
#
|
1386
|
+
# resp = client.get_table_restore_status({
|
1387
|
+
# table_restore_request_id: "String", # required
|
1388
|
+
# })
|
1389
|
+
#
|
1390
|
+
# @example Response structure
|
1391
|
+
#
|
1392
|
+
# resp.table_restore_status.message #=> String
|
1393
|
+
# resp.table_restore_status.namespace_name #=> String
|
1394
|
+
# resp.table_restore_status.new_table_name #=> String
|
1395
|
+
# resp.table_restore_status.progress_in_mega_bytes #=> Integer
|
1396
|
+
# resp.table_restore_status.request_time #=> Time
|
1397
|
+
# resp.table_restore_status.snapshot_name #=> String
|
1398
|
+
# resp.table_restore_status.source_database_name #=> String
|
1399
|
+
# resp.table_restore_status.source_schema_name #=> String
|
1400
|
+
# resp.table_restore_status.source_table_name #=> String
|
1401
|
+
# resp.table_restore_status.status #=> String
|
1402
|
+
# resp.table_restore_status.table_restore_request_id #=> String
|
1403
|
+
# resp.table_restore_status.target_database_name #=> String
|
1404
|
+
# resp.table_restore_status.target_schema_name #=> String
|
1405
|
+
# resp.table_restore_status.total_data_in_mega_bytes #=> Integer
|
1406
|
+
# resp.table_restore_status.workgroup_name #=> String
|
1407
|
+
#
|
1408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetTableRestoreStatus AWS API Documentation
|
1409
|
+
#
|
1410
|
+
# @overload get_table_restore_status(params = {})
|
1411
|
+
# @param [Hash] params ({})
|
1412
|
+
def get_table_restore_status(params = {}, options = {})
|
1413
|
+
req = build_request(:get_table_restore_status, params)
|
1414
|
+
req.send_request(options)
|
1415
|
+
end
|
1416
|
+
|
1324
1417
|
# Returns information about a usage limit.
|
1325
1418
|
#
|
1326
1419
|
# @option params [required, String] :usage_limit_id
|
@@ -1389,6 +1482,7 @@ module Aws::RedshiftServerless
|
|
1389
1482
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
1390
1483
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
1391
1484
|
# resp.workgroup.namespace_name #=> String
|
1485
|
+
# resp.workgroup.port #=> Integer
|
1392
1486
|
# resp.workgroup.publicly_accessible #=> Boolean
|
1393
1487
|
# resp.workgroup.security_group_ids #=> Array
|
1394
1488
|
# resp.workgroup.security_group_ids[0] #=> String
|
@@ -1412,11 +1506,11 @@ module Aws::RedshiftServerless
|
|
1412
1506
|
#
|
1413
1507
|
# @option params [Integer] :max_results
|
1414
1508
|
# An optional parameter that specifies the maximum number of results to
|
1415
|
-
# return. You can use `nextToken` to
|
1509
|
+
# return. You can use `nextToken` to display the next page of results.
|
1416
1510
|
#
|
1417
1511
|
# @option params [String] :next_token
|
1418
1512
|
# If your initial `ListEndpointAccess` operation returns a `nextToken`,
|
1419
|
-
# you can include the returned `nextToken` in
|
1513
|
+
# you can include the returned `nextToken` in following
|
1420
1514
|
# `ListEndpointAccess` operations, which returns results in the next
|
1421
1515
|
# page.
|
1422
1516
|
#
|
@@ -1480,11 +1574,11 @@ module Aws::RedshiftServerless
|
|
1480
1574
|
#
|
1481
1575
|
# @option params [Integer] :max_results
|
1482
1576
|
# An optional parameter that specifies the maximum number of results to
|
1483
|
-
# return. You can use `nextToken` to
|
1577
|
+
# return. You can use `nextToken` to display the next page of results.
|
1484
1578
|
#
|
1485
1579
|
# @option params [String] :next_token
|
1486
1580
|
# If your initial `ListNamespaces` operation returns a `nextToken`, you
|
1487
|
-
# can include the returned `nextToken` in
|
1581
|
+
# can include the returned `nextToken` in following `ListNamespaces`
|
1488
1582
|
# operations, which returns results in the next page.
|
1489
1583
|
#
|
1490
1584
|
# @return [Types::ListNamespacesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1535,14 +1629,18 @@ module Aws::RedshiftServerless
|
|
1535
1629
|
#
|
1536
1630
|
# @option params [Integer] :max_results
|
1537
1631
|
# An optional parameter that specifies the maximum number of results to
|
1538
|
-
# return. You can use `nextToken` to
|
1632
|
+
# return. You can use `nextToken` to display the next page of results.
|
1633
|
+
#
|
1634
|
+
# @option params [String] :namespace_arn
|
1635
|
+
# The Amazon Resource Name (ARN) of the namespace from which to list
|
1636
|
+
# recovery points.
|
1539
1637
|
#
|
1540
1638
|
# @option params [String] :namespace_name
|
1541
1639
|
# The name of the namespace to list recovery points for.
|
1542
1640
|
#
|
1543
1641
|
# @option params [String] :next_token
|
1544
1642
|
# If your initial `ListRecoveryPoints` operation returns a `nextToken`,
|
1545
|
-
# you can include the returned `nextToken` in
|
1643
|
+
# you can include the returned `nextToken` in following
|
1546
1644
|
# `ListRecoveryPoints` operations, which returns results in the next
|
1547
1645
|
# page.
|
1548
1646
|
#
|
@@ -1561,6 +1659,7 @@ module Aws::RedshiftServerless
|
|
1561
1659
|
# resp = client.list_recovery_points({
|
1562
1660
|
# end_time: Time.now,
|
1563
1661
|
# max_results: 1,
|
1662
|
+
# namespace_arn: "String",
|
1564
1663
|
# namespace_name: "NamespaceName",
|
1565
1664
|
# next_token: "String",
|
1566
1665
|
# start_time: Time.now,
|
@@ -1570,6 +1669,7 @@ module Aws::RedshiftServerless
|
|
1570
1669
|
#
|
1571
1670
|
# resp.next_token #=> String
|
1572
1671
|
# resp.recovery_points #=> Array
|
1672
|
+
# resp.recovery_points[0].namespace_arn #=> String
|
1573
1673
|
# resp.recovery_points[0].namespace_name #=> String
|
1574
1674
|
# resp.recovery_points[0].recovery_point_create_time #=> Time
|
1575
1675
|
# resp.recovery_points[0].recovery_point_id #=> String
|
@@ -1592,7 +1692,7 @@ module Aws::RedshiftServerless
|
|
1592
1692
|
#
|
1593
1693
|
# @option params [Integer] :max_results
|
1594
1694
|
# An optional parameter that specifies the maximum number of results to
|
1595
|
-
# return. You can use `nextToken` to
|
1695
|
+
# return. You can use `nextToken` to display the next page of results.
|
1596
1696
|
#
|
1597
1697
|
# @option params [String] :namespace_arn
|
1598
1698
|
# The Amazon Resource Name (ARN) of the namespace from which to list all
|
@@ -1667,6 +1767,71 @@ module Aws::RedshiftServerless
|
|
1667
1767
|
req.send_request(options)
|
1668
1768
|
end
|
1669
1769
|
|
1770
|
+
# Returns information about an array of `TableRestoreStatus` objects.
|
1771
|
+
#
|
1772
|
+
# @option params [Integer] :max_results
|
1773
|
+
# An optional parameter that specifies the maximum number of results to
|
1774
|
+
# return. You can use nextToken to display the next page of results.
|
1775
|
+
#
|
1776
|
+
# @option params [String] :namespace_name
|
1777
|
+
# The namespace from which to list all of the statuses of
|
1778
|
+
# `RestoreTableFromSnapshot` operations .
|
1779
|
+
#
|
1780
|
+
# @option params [String] :next_token
|
1781
|
+
# If your initial `ListTableRestoreStatus` operation returns a
|
1782
|
+
# nextToken, you can include the returned `nextToken` in following
|
1783
|
+
# `ListTableRestoreStatus` operations. This will return results on the
|
1784
|
+
# next page.
|
1785
|
+
#
|
1786
|
+
# @option params [String] :workgroup_name
|
1787
|
+
# The workgroup from which to list all of the statuses of
|
1788
|
+
# `RestoreTableFromSnapshot` operations.
|
1789
|
+
#
|
1790
|
+
# @return [Types::ListTableRestoreStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1791
|
+
#
|
1792
|
+
# * {Types::ListTableRestoreStatusResponse#next_token #next_token} => String
|
1793
|
+
# * {Types::ListTableRestoreStatusResponse#table_restore_statuses #table_restore_statuses} => Array<Types::TableRestoreStatus>
|
1794
|
+
#
|
1795
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1796
|
+
#
|
1797
|
+
# @example Request syntax with placeholder values
|
1798
|
+
#
|
1799
|
+
# resp = client.list_table_restore_status({
|
1800
|
+
# max_results: 1,
|
1801
|
+
# namespace_name: "String",
|
1802
|
+
# next_token: "PaginationToken",
|
1803
|
+
# workgroup_name: "String",
|
1804
|
+
# })
|
1805
|
+
#
|
1806
|
+
# @example Response structure
|
1807
|
+
#
|
1808
|
+
# resp.next_token #=> String
|
1809
|
+
# resp.table_restore_statuses #=> Array
|
1810
|
+
# resp.table_restore_statuses[0].message #=> String
|
1811
|
+
# resp.table_restore_statuses[0].namespace_name #=> String
|
1812
|
+
# resp.table_restore_statuses[0].new_table_name #=> String
|
1813
|
+
# resp.table_restore_statuses[0].progress_in_mega_bytes #=> Integer
|
1814
|
+
# resp.table_restore_statuses[0].request_time #=> Time
|
1815
|
+
# resp.table_restore_statuses[0].snapshot_name #=> String
|
1816
|
+
# resp.table_restore_statuses[0].source_database_name #=> String
|
1817
|
+
# resp.table_restore_statuses[0].source_schema_name #=> String
|
1818
|
+
# resp.table_restore_statuses[0].source_table_name #=> String
|
1819
|
+
# resp.table_restore_statuses[0].status #=> String
|
1820
|
+
# resp.table_restore_statuses[0].table_restore_request_id #=> String
|
1821
|
+
# resp.table_restore_statuses[0].target_database_name #=> String
|
1822
|
+
# resp.table_restore_statuses[0].target_schema_name #=> String
|
1823
|
+
# resp.table_restore_statuses[0].total_data_in_mega_bytes #=> Integer
|
1824
|
+
# resp.table_restore_statuses[0].workgroup_name #=> String
|
1825
|
+
#
|
1826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListTableRestoreStatus AWS API Documentation
|
1827
|
+
#
|
1828
|
+
# @overload list_table_restore_status(params = {})
|
1829
|
+
# @param [Hash] params ({})
|
1830
|
+
def list_table_restore_status(params = {}, options = {})
|
1831
|
+
req = build_request(:list_table_restore_status, params)
|
1832
|
+
req.send_request(options)
|
1833
|
+
end
|
1834
|
+
|
1670
1835
|
# Lists the tags assigned to a resource.
|
1671
1836
|
#
|
1672
1837
|
# @option params [required, String] :resource_arn
|
@@ -1706,7 +1871,7 @@ module Aws::RedshiftServerless
|
|
1706
1871
|
#
|
1707
1872
|
# @option params [String] :next_token
|
1708
1873
|
# If your initial `ListUsageLimits` operation returns a `nextToken`, you
|
1709
|
-
# can include the returned `nextToken` in
|
1874
|
+
# can include the returned `nextToken` in following `ListUsageLimits`
|
1710
1875
|
# operations, which returns results in the next page.
|
1711
1876
|
#
|
1712
1877
|
# @option params [String] :resource_arn
|
@@ -1757,11 +1922,11 @@ module Aws::RedshiftServerless
|
|
1757
1922
|
#
|
1758
1923
|
# @option params [Integer] :max_results
|
1759
1924
|
# An optional parameter that specifies the maximum number of results to
|
1760
|
-
# return. You can use `nextToken` to
|
1925
|
+
# return. You can use `nextToken` to display the next page of results.
|
1761
1926
|
#
|
1762
1927
|
# @option params [String] :next_token
|
1763
1928
|
# If your initial ListWorkgroups operation returns a `nextToken`, you
|
1764
|
-
# can include the returned `nextToken` in
|
1929
|
+
# can include the returned `nextToken` in following ListNamespaces
|
1765
1930
|
# operations, which returns results in the next page.
|
1766
1931
|
#
|
1767
1932
|
# @return [Types::ListWorkgroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1799,6 +1964,7 @@ module Aws::RedshiftServerless
|
|
1799
1964
|
# resp.workgroups[0].endpoint.vpc_endpoints[0].vpc_id #=> String
|
1800
1965
|
# resp.workgroups[0].enhanced_vpc_routing #=> Boolean
|
1801
1966
|
# resp.workgroups[0].namespace_name #=> String
|
1967
|
+
# resp.workgroups[0].port #=> Integer
|
1802
1968
|
# resp.workgroups[0].publicly_accessible #=> Boolean
|
1803
1969
|
# resp.workgroups[0].security_group_ids #=> Array
|
1804
1970
|
# resp.workgroups[0].security_group_ids[0] #=> String
|
@@ -1920,9 +2086,15 @@ module Aws::RedshiftServerless
|
|
1920
2086
|
#
|
1921
2087
|
# @option params [String] :snapshot_arn
|
1922
2088
|
# The Amazon Resource Name (ARN) of the snapshot to restore from.
|
2089
|
+
# Required if restoring from Amazon Redshift Serverless to a provisioned
|
2090
|
+
# cluster. Must not be specified at the same time as `snapshotName`.
|
2091
|
+
#
|
2092
|
+
# The format of the ARN is
|
2093
|
+
# arn:aws:redshift:<region>\:<account\_id>\:snapshot:<cluster\_identifier>/<snapshot\_identifier>.
|
1923
2094
|
#
|
1924
2095
|
# @option params [String] :snapshot_name
|
1925
|
-
# The name of the snapshot to restore from.
|
2096
|
+
# The name of the snapshot to restore from. Must not be specified at the
|
2097
|
+
# same time as `snapshotArn`.
|
1926
2098
|
#
|
1927
2099
|
# @option params [required, String] :workgroup_name
|
1928
2100
|
# The name of the workgroup used to restore the snapshot.
|
@@ -1970,6 +2142,88 @@ module Aws::RedshiftServerless
|
|
1970
2142
|
req.send_request(options)
|
1971
2143
|
end
|
1972
2144
|
|
2145
|
+
# Restores a table from a snapshot to your Amazon Redshift Serverless
|
2146
|
+
# instance.
|
2147
|
+
#
|
2148
|
+
# @option params [Boolean] :activate_case_sensitive_identifier
|
2149
|
+
# Indicates whether name identifiers for database, schema, and table are
|
2150
|
+
# case sensitive. If true, the names are case sensitive. If false, the
|
2151
|
+
# names are not case sensitive. The default is false.
|
2152
|
+
#
|
2153
|
+
# @option params [required, String] :namespace_name
|
2154
|
+
# The namespace of the snapshot to restore from.
|
2155
|
+
#
|
2156
|
+
# @option params [required, String] :new_table_name
|
2157
|
+
# The name of the table to create from the restore operation.
|
2158
|
+
#
|
2159
|
+
# @option params [required, String] :snapshot_name
|
2160
|
+
# The name of the snapshot to restore the table from.
|
2161
|
+
#
|
2162
|
+
# @option params [required, String] :source_database_name
|
2163
|
+
# The name of the source database that contains the table being
|
2164
|
+
# restored.
|
2165
|
+
#
|
2166
|
+
# @option params [String] :source_schema_name
|
2167
|
+
# The name of the source schema that contains the table being restored.
|
2168
|
+
#
|
2169
|
+
# @option params [required, String] :source_table_name
|
2170
|
+
# The name of the source table being restored.
|
2171
|
+
#
|
2172
|
+
# @option params [String] :target_database_name
|
2173
|
+
# The name of the database to restore the table to.
|
2174
|
+
#
|
2175
|
+
# @option params [String] :target_schema_name
|
2176
|
+
# The name of the schema to restore the table to.
|
2177
|
+
#
|
2178
|
+
# @option params [required, String] :workgroup_name
|
2179
|
+
# The workgroup to restore the table to.
|
2180
|
+
#
|
2181
|
+
# @return [Types::RestoreTableFromSnapshotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2182
|
+
#
|
2183
|
+
# * {Types::RestoreTableFromSnapshotResponse#table_restore_status #table_restore_status} => Types::TableRestoreStatus
|
2184
|
+
#
|
2185
|
+
# @example Request syntax with placeholder values
|
2186
|
+
#
|
2187
|
+
# resp = client.restore_table_from_snapshot({
|
2188
|
+
# activate_case_sensitive_identifier: false,
|
2189
|
+
# namespace_name: "String", # required
|
2190
|
+
# new_table_name: "String", # required
|
2191
|
+
# snapshot_name: "String", # required
|
2192
|
+
# source_database_name: "String", # required
|
2193
|
+
# source_schema_name: "String",
|
2194
|
+
# source_table_name: "String", # required
|
2195
|
+
# target_database_name: "String",
|
2196
|
+
# target_schema_name: "String",
|
2197
|
+
# workgroup_name: "String", # required
|
2198
|
+
# })
|
2199
|
+
#
|
2200
|
+
# @example Response structure
|
2201
|
+
#
|
2202
|
+
# resp.table_restore_status.message #=> String
|
2203
|
+
# resp.table_restore_status.namespace_name #=> String
|
2204
|
+
# resp.table_restore_status.new_table_name #=> String
|
2205
|
+
# resp.table_restore_status.progress_in_mega_bytes #=> Integer
|
2206
|
+
# resp.table_restore_status.request_time #=> Time
|
2207
|
+
# resp.table_restore_status.snapshot_name #=> String
|
2208
|
+
# resp.table_restore_status.source_database_name #=> String
|
2209
|
+
# resp.table_restore_status.source_schema_name #=> String
|
2210
|
+
# resp.table_restore_status.source_table_name #=> String
|
2211
|
+
# resp.table_restore_status.status #=> String
|
2212
|
+
# resp.table_restore_status.table_restore_request_id #=> String
|
2213
|
+
# resp.table_restore_status.target_database_name #=> String
|
2214
|
+
# resp.table_restore_status.target_schema_name #=> String
|
2215
|
+
# resp.table_restore_status.total_data_in_mega_bytes #=> Integer
|
2216
|
+
# resp.table_restore_status.workgroup_name #=> String
|
2217
|
+
#
|
2218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreTableFromSnapshot AWS API Documentation
|
2219
|
+
#
|
2220
|
+
# @overload restore_table_from_snapshot(params = {})
|
2221
|
+
# @param [Hash] params ({})
|
2222
|
+
def restore_table_from_snapshot(params = {}, options = {})
|
2223
|
+
req = build_request(:restore_table_from_snapshot, params)
|
2224
|
+
req.send_request(options)
|
2225
|
+
end
|
2226
|
+
|
1973
2227
|
# Assigns one or more tags to a resource.
|
1974
2228
|
#
|
1975
2229
|
# @option params [required, String] :resource_arn
|
@@ -2204,7 +2458,10 @@ module Aws::RedshiftServerless
|
|
2204
2458
|
# the usage type or period of a usage limit.
|
2205
2459
|
#
|
2206
2460
|
# @option params [Integer] :amount
|
2207
|
-
# The new limit amount.
|
2461
|
+
# The new limit amount. If time-based, this amount is in Redshift
|
2462
|
+
# Processing Units (RPU) consumed per hour. If data-based, this amount
|
2463
|
+
# is in terabytes (TB) of data transferred between Regions in
|
2464
|
+
# cross-account sharing. The value must be a positive number.
|
2208
2465
|
#
|
2209
2466
|
# @option params [String] :breach_action
|
2210
2467
|
# The new action that Amazon Redshift Serverless takes when the limit is
|
@@ -2260,6 +2517,10 @@ module Aws::RedshiftServerless
|
|
2260
2517
|
# cloud (VPC) routing, which forces Amazon Redshift Serverless to route
|
2261
2518
|
# traffic through your VPC.
|
2262
2519
|
#
|
2520
|
+
# @option params [Integer] :port
|
2521
|
+
# The custom port to use when connecting to a workgroup. Valid port
|
2522
|
+
# ranges are 5431-5455 and 8191-8215. The default is 5439.
|
2523
|
+
#
|
2263
2524
|
# @option params [Boolean] :publicly_accessible
|
2264
2525
|
# A value that specifies whether the workgroup can be accessible from a
|
2265
2526
|
# public network.
|
@@ -2288,6 +2549,7 @@ module Aws::RedshiftServerless
|
|
2288
2549
|
# },
|
2289
2550
|
# ],
|
2290
2551
|
# enhanced_vpc_routing: false,
|
2552
|
+
# port: 1,
|
2291
2553
|
# publicly_accessible: false,
|
2292
2554
|
# security_group_ids: ["SecurityGroupId"],
|
2293
2555
|
# subnet_ids: ["SubnetId"],
|
@@ -2313,6 +2575,7 @@ module Aws::RedshiftServerless
|
|
2313
2575
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
2314
2576
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
2315
2577
|
# resp.workgroup.namespace_name #=> String
|
2578
|
+
# resp.workgroup.port #=> Integer
|
2316
2579
|
# resp.workgroup.publicly_accessible #=> Boolean
|
2317
2580
|
# resp.workgroup.security_group_ids #=> Array
|
2318
2581
|
# resp.workgroup.security_group_ids[0] #=> String
|
@@ -2345,7 +2608,7 @@ module Aws::RedshiftServerless
|
|
2345
2608
|
params: params,
|
2346
2609
|
config: config)
|
2347
2610
|
context[:gem_name] = 'aws-sdk-redshiftserverless'
|
2348
|
-
context[:gem_version] = '1.
|
2611
|
+
context[:gem_version] = '1.5.0'
|
2349
2612
|
Seahorse::Client::Request.new(handlers, context)
|
2350
2613
|
end
|
2351
2614
|
|