aws-sdk-redshift 1.14.0 → 1.15.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/lib/aws-sdk-redshift.rb +1 -1
- data/lib/aws-sdk-redshift/client.rb +615 -13
- data/lib/aws-sdk-redshift/client_api.rb +248 -0
- data/lib/aws-sdk-redshift/types.rb +633 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e45c4f111c1471ff24e9d24b74f3a3e0a3d32146
|
4
|
+
data.tar.gz: '09c566823f937e86340eb7ad5f7a640edc505e86'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cec191aa38a247e3533be47b5b9de991120fc7166ce6acb60d51e24205c456b97ba8235d985963065b18e9a9acb67cd75ee984556dfb49e2e11c1042c00f7225
|
7
|
+
data.tar.gz: 11230ea81ae9ee52fc2d7f8649c45033c0153475b56eb42122647c62a1c92aab35a7501422e14f601e44cfd284c74b0f10c072dec0388fe2ee9bd53278b48985
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -411,6 +411,9 @@ module Aws::Redshift
|
|
411
411
|
# resp.snapshot.restorable_node_types[0] #=> String
|
412
412
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
413
413
|
# resp.snapshot.maintenance_track_name #=> String
|
414
|
+
# resp.snapshot.manual_snapshot_retention_period #=> Integer
|
415
|
+
# resp.snapshot.manual_snapshot_remaining_days #=> Integer
|
416
|
+
# resp.snapshot.snapshot_retention_start_time #=> Time
|
414
417
|
#
|
415
418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess AWS API Documentation
|
416
419
|
#
|
@@ -421,11 +424,103 @@ module Aws::Redshift
|
|
421
424
|
req.send_request(options)
|
422
425
|
end
|
423
426
|
|
427
|
+
# Deletes a set of cluster snapshots.
|
428
|
+
#
|
429
|
+
# @option params [required, Array<Types::DeleteClusterSnapshotMessage>] :identifiers
|
430
|
+
# A list of indentifiers for the snapshots you want to delete.
|
431
|
+
#
|
432
|
+
# @return [Types::BatchDeleteClusterSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
433
|
+
#
|
434
|
+
# * {Types::BatchDeleteClusterSnapshotsResult#resources #resources} => Array<String>
|
435
|
+
# * {Types::BatchDeleteClusterSnapshotsResult#errors #errors} => Array<Types::SnapshotErrorMessage>
|
436
|
+
#
|
437
|
+
# @example Request syntax with placeholder values
|
438
|
+
#
|
439
|
+
# resp = client.batch_delete_cluster_snapshots({
|
440
|
+
# identifiers: [ # required
|
441
|
+
# {
|
442
|
+
# snapshot_identifier: "String", # required
|
443
|
+
# snapshot_cluster_identifier: "String",
|
444
|
+
# },
|
445
|
+
# ],
|
446
|
+
# })
|
447
|
+
#
|
448
|
+
# @example Response structure
|
449
|
+
#
|
450
|
+
# resp.resources #=> Array
|
451
|
+
# resp.resources[0] #=> String
|
452
|
+
# resp.errors #=> Array
|
453
|
+
# resp.errors[0].snapshot_identifier #=> String
|
454
|
+
# resp.errors[0].snapshot_cluster_identifier #=> String
|
455
|
+
# resp.errors[0].failure_code #=> String
|
456
|
+
# resp.errors[0].failure_reason #=> String
|
457
|
+
#
|
458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/BatchDeleteClusterSnapshots AWS API Documentation
|
459
|
+
#
|
460
|
+
# @overload batch_delete_cluster_snapshots(params = {})
|
461
|
+
# @param [Hash] params ({})
|
462
|
+
def batch_delete_cluster_snapshots(params = {}, options = {})
|
463
|
+
req = build_request(:batch_delete_cluster_snapshots, params)
|
464
|
+
req.send_request(options)
|
465
|
+
end
|
466
|
+
|
467
|
+
# Modifies the settings for a list of snapshots.
|
468
|
+
#
|
469
|
+
# @option params [required, Array<String>] :snapshot_identifier_list
|
470
|
+
# A list of snapshot identifiers you want to modify.
|
471
|
+
#
|
472
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
473
|
+
# The number of days that a manual snapshot is retained. If you specify
|
474
|
+
# the value -1, the manual snapshot is retained indefinitely.
|
475
|
+
#
|
476
|
+
# The number must be either -1 or an integer between 1 and 3,653.
|
477
|
+
#
|
478
|
+
# If you decrease the manual snapshot retention period from its current
|
479
|
+
# value, existing manual snapshots that fall outside of the new
|
480
|
+
# retention period will return an error. If you want to suppress the
|
481
|
+
# errors and delete the snapshots, use the force option.
|
482
|
+
#
|
483
|
+
# @option params [Boolean] :force
|
484
|
+
# A boolean value indicating whether to override an exception if the
|
485
|
+
# retention period has passed.
|
486
|
+
#
|
487
|
+
# @return [Types::BatchModifyClusterSnapshotsOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
|
+
#
|
489
|
+
# * {Types::BatchModifyClusterSnapshotsOutputMessage#resources #resources} => Array<String>
|
490
|
+
# * {Types::BatchModifyClusterSnapshotsOutputMessage#errors #errors} => Array<Types::SnapshotErrorMessage>
|
491
|
+
#
|
492
|
+
# @example Request syntax with placeholder values
|
493
|
+
#
|
494
|
+
# resp = client.batch_modify_cluster_snapshots({
|
495
|
+
# snapshot_identifier_list: ["String"], # required
|
496
|
+
# manual_snapshot_retention_period: 1,
|
497
|
+
# force: false,
|
498
|
+
# })
|
499
|
+
#
|
500
|
+
# @example Response structure
|
501
|
+
#
|
502
|
+
# resp.resources #=> Array
|
503
|
+
# resp.resources[0] #=> String
|
504
|
+
# resp.errors #=> Array
|
505
|
+
# resp.errors[0].snapshot_identifier #=> String
|
506
|
+
# resp.errors[0].snapshot_cluster_identifier #=> String
|
507
|
+
# resp.errors[0].failure_code #=> String
|
508
|
+
# resp.errors[0].failure_reason #=> String
|
509
|
+
#
|
510
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/BatchModifyClusterSnapshots AWS API Documentation
|
511
|
+
#
|
512
|
+
# @overload batch_modify_cluster_snapshots(params = {})
|
513
|
+
# @param [Hash] params ({})
|
514
|
+
def batch_modify_cluster_snapshots(params = {}, options = {})
|
515
|
+
req = build_request(:batch_modify_cluster_snapshots, params)
|
516
|
+
req.send_request(options)
|
517
|
+
end
|
518
|
+
|
424
519
|
# Cancels a resize operation.
|
425
520
|
#
|
426
521
|
# @option params [required, String] :cluster_identifier
|
427
|
-
# The unique identifier for the cluster
|
428
|
-
#
|
522
|
+
# The unique identifier for the cluster that you want to cancel a resize
|
523
|
+
# operation for.
|
429
524
|
#
|
430
525
|
# @return [Types::ResizeProgressMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
431
526
|
#
|
@@ -537,6 +632,14 @@ module Aws::Redshift
|
|
537
632
|
#
|
538
633
|
# * Must be unique for the AWS account that is making the request.
|
539
634
|
#
|
635
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
636
|
+
# The number of days that a manual snapshot is retained. If the value is
|
637
|
+
# -1, the manual snapshot is retained indefinitely.
|
638
|
+
#
|
639
|
+
# The value must be either -1 or an integer between 1 and 3,653.
|
640
|
+
#
|
641
|
+
# The default value is -1.
|
642
|
+
#
|
540
643
|
# @return [Types::CopyClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
541
644
|
#
|
542
645
|
# * {Types::CopyClusterSnapshotResult#snapshot #snapshot} => Types::Snapshot
|
@@ -547,6 +650,7 @@ module Aws::Redshift
|
|
547
650
|
# source_snapshot_identifier: "String", # required
|
548
651
|
# source_snapshot_cluster_identifier: "String",
|
549
652
|
# target_snapshot_identifier: "String", # required
|
653
|
+
# manual_snapshot_retention_period: 1,
|
550
654
|
# })
|
551
655
|
#
|
552
656
|
# @example Response structure
|
@@ -586,6 +690,9 @@ module Aws::Redshift
|
|
586
690
|
# resp.snapshot.restorable_node_types[0] #=> String
|
587
691
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
588
692
|
# resp.snapshot.maintenance_track_name #=> String
|
693
|
+
# resp.snapshot.manual_snapshot_retention_period #=> Integer
|
694
|
+
# resp.snapshot.manual_snapshot_remaining_days #=> Integer
|
695
|
+
# resp.snapshot.snapshot_retention_start_time #=> Time
|
589
696
|
#
|
590
697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot AWS API Documentation
|
591
698
|
#
|
@@ -795,6 +902,13 @@ module Aws::Redshift
|
|
795
902
|
#
|
796
903
|
# Constraints: Must be a value from 0 to 35.
|
797
904
|
#
|
905
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
906
|
+
# The default number of days to retain a manual snapshot. If the value
|
907
|
+
# is -1, the snapshot is retained indefinitely. This setting does not
|
908
|
+
# change the retention period of existing snapshots.
|
909
|
+
#
|
910
|
+
# The value must be either -1 or an integer between 1 and 3,653
|
911
|
+
#
|
798
912
|
# @option params [Integer] :port
|
799
913
|
# The port number on which the cluster accepts incoming connections.
|
800
914
|
#
|
@@ -916,6 +1030,9 @@ module Aws::Redshift
|
|
916
1030
|
# cluster. If you don't provide a maintenance track name, the cluster
|
917
1031
|
# is assigned to the `current` track.
|
918
1032
|
#
|
1033
|
+
# @option params [String] :snapshot_schedule_identifier
|
1034
|
+
# A unique identifier for the snapshot schedule.
|
1035
|
+
#
|
919
1036
|
# @return [Types::CreateClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
920
1037
|
#
|
921
1038
|
# * {Types::CreateClusterResult#cluster #cluster} => Types::Cluster
|
@@ -936,6 +1053,7 @@ module Aws::Redshift
|
|
936
1053
|
# preferred_maintenance_window: "String",
|
937
1054
|
# cluster_parameter_group_name: "String",
|
938
1055
|
# automated_snapshot_retention_period: 1,
|
1056
|
+
# manual_snapshot_retention_period: 1,
|
939
1057
|
# port: 1,
|
940
1058
|
# cluster_version: "String",
|
941
1059
|
# allow_version_upgrade: false,
|
@@ -956,6 +1074,7 @@ module Aws::Redshift
|
|
956
1074
|
# additional_info: "String",
|
957
1075
|
# iam_roles: ["String"],
|
958
1076
|
# maintenance_track_name: "String",
|
1077
|
+
# snapshot_schedule_identifier: "String",
|
959
1078
|
# })
|
960
1079
|
#
|
961
1080
|
# @example Response structure
|
@@ -970,6 +1089,7 @@ module Aws::Redshift
|
|
970
1089
|
# resp.cluster.endpoint.port #=> Integer
|
971
1090
|
# resp.cluster.cluster_create_time #=> Time
|
972
1091
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
1092
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
973
1093
|
# resp.cluster.cluster_security_groups #=> Array
|
974
1094
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
975
1095
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -1020,6 +1140,7 @@ module Aws::Redshift
|
|
1020
1140
|
# resp.cluster.hsm_status.status #=> String
|
1021
1141
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
1022
1142
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
1143
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
1023
1144
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
1024
1145
|
# resp.cluster.cluster_public_key #=> String
|
1025
1146
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -1045,6 +1166,8 @@ module Aws::Redshift
|
|
1045
1166
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
1046
1167
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
1047
1168
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
1169
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
1170
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
1048
1171
|
# resp.cluster.resize_info.resize_type #=> String
|
1049
1172
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
1050
1173
|
#
|
@@ -1255,6 +1378,14 @@ module Aws::Redshift
|
|
1255
1378
|
# @option params [required, String] :cluster_identifier
|
1256
1379
|
# The cluster identifier for which you want a snapshot.
|
1257
1380
|
#
|
1381
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
1382
|
+
# The number of days that a manual snapshot is retained. If the value is
|
1383
|
+
# -1, the manual snapshot is retained indefinitely.
|
1384
|
+
#
|
1385
|
+
# The value must be either -1 or an integer between 1 and 3,653.
|
1386
|
+
#
|
1387
|
+
# The default value is -1.
|
1388
|
+
#
|
1258
1389
|
# @option params [Array<Types::Tag>] :tags
|
1259
1390
|
# A list of tag instances.
|
1260
1391
|
#
|
@@ -1267,6 +1398,7 @@ module Aws::Redshift
|
|
1267
1398
|
# resp = client.create_cluster_snapshot({
|
1268
1399
|
# snapshot_identifier: "String", # required
|
1269
1400
|
# cluster_identifier: "String", # required
|
1401
|
+
# manual_snapshot_retention_period: 1,
|
1270
1402
|
# tags: [
|
1271
1403
|
# {
|
1272
1404
|
# key: "String",
|
@@ -1312,6 +1444,9 @@ module Aws::Redshift
|
|
1312
1444
|
# resp.snapshot.restorable_node_types[0] #=> String
|
1313
1445
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
1314
1446
|
# resp.snapshot.maintenance_track_name #=> String
|
1447
|
+
# resp.snapshot.manual_snapshot_retention_period #=> Integer
|
1448
|
+
# resp.snapshot.manual_snapshot_remaining_days #=> Integer
|
1449
|
+
# resp.snapshot.snapshot_retention_start_time #=> Time
|
1315
1450
|
#
|
1316
1451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot AWS API Documentation
|
1317
1452
|
#
|
@@ -1739,6 +1874,71 @@ module Aws::Redshift
|
|
1739
1874
|
req.send_request(options)
|
1740
1875
|
end
|
1741
1876
|
|
1877
|
+
# Creates a new snapshot schedule.
|
1878
|
+
#
|
1879
|
+
# @option params [Array<String>] :schedule_definitions
|
1880
|
+
# The definition of the snapshot schedule. The definition is made up of
|
1881
|
+
# schedule expressions. For example, "cron(30 12 *)" or "rate(12
|
1882
|
+
# hours)".
|
1883
|
+
#
|
1884
|
+
# @option params [String] :schedule_identifier
|
1885
|
+
# A unique identifier for a snapshot schedule. Only alphanumeric
|
1886
|
+
# characters are allowed for the identifier.
|
1887
|
+
#
|
1888
|
+
# @option params [String] :schedule_description
|
1889
|
+
# The description of the snapshot schedule.
|
1890
|
+
#
|
1891
|
+
# @option params [Array<Types::Tag>] :tags
|
1892
|
+
#
|
1893
|
+
# @option params [Boolean] :dry_run
|
1894
|
+
#
|
1895
|
+
# @option params [Integer] :next_invocations
|
1896
|
+
#
|
1897
|
+
# @return [Types::SnapshotSchedule] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1898
|
+
#
|
1899
|
+
# * {Types::SnapshotSchedule#schedule_definitions #schedule_definitions} => Array<String>
|
1900
|
+
# * {Types::SnapshotSchedule#schedule_identifier #schedule_identifier} => String
|
1901
|
+
# * {Types::SnapshotSchedule#schedule_description #schedule_description} => String
|
1902
|
+
# * {Types::SnapshotSchedule#tags #tags} => Array<Types::Tag>
|
1903
|
+
# * {Types::SnapshotSchedule#next_invocations #next_invocations} => Array<Time>
|
1904
|
+
#
|
1905
|
+
# @example Request syntax with placeholder values
|
1906
|
+
#
|
1907
|
+
# resp = client.create_snapshot_schedule({
|
1908
|
+
# schedule_definitions: ["String"],
|
1909
|
+
# schedule_identifier: "String",
|
1910
|
+
# schedule_description: "String",
|
1911
|
+
# tags: [
|
1912
|
+
# {
|
1913
|
+
# key: "String",
|
1914
|
+
# value: "String",
|
1915
|
+
# },
|
1916
|
+
# ],
|
1917
|
+
# dry_run: false,
|
1918
|
+
# next_invocations: 1,
|
1919
|
+
# })
|
1920
|
+
#
|
1921
|
+
# @example Response structure
|
1922
|
+
#
|
1923
|
+
# resp.schedule_definitions #=> Array
|
1924
|
+
# resp.schedule_definitions[0] #=> String
|
1925
|
+
# resp.schedule_identifier #=> String
|
1926
|
+
# resp.schedule_description #=> String
|
1927
|
+
# resp.tags #=> Array
|
1928
|
+
# resp.tags[0].key #=> String
|
1929
|
+
# resp.tags[0].value #=> String
|
1930
|
+
# resp.next_invocations #=> Array
|
1931
|
+
# resp.next_invocations[0] #=> Time
|
1932
|
+
#
|
1933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotSchedule AWS API Documentation
|
1934
|
+
#
|
1935
|
+
# @overload create_snapshot_schedule(params = {})
|
1936
|
+
# @param [Hash] params ({})
|
1937
|
+
def create_snapshot_schedule(params = {}, options = {})
|
1938
|
+
req = build_request(:create_snapshot_schedule, params)
|
1939
|
+
req.send_request(options)
|
1940
|
+
end
|
1941
|
+
|
1742
1942
|
# Adds one or more tags to a specified resource.
|
1743
1943
|
#
|
1744
1944
|
# A resource can have up to 50 tags. If you try to create more than 50
|
@@ -1844,6 +2044,14 @@ module Aws::Redshift
|
|
1844
2044
|
#
|
1845
2045
|
# * Cannot end with a hyphen or contain two consecutive hyphens.
|
1846
2046
|
#
|
2047
|
+
# @option params [Integer] :final_cluster_snapshot_retention_period
|
2048
|
+
# The number of days that a manual snapshot is retained. If the value is
|
2049
|
+
# -1, the manual snapshot is retained indefinitely.
|
2050
|
+
#
|
2051
|
+
# The value must be either -1 or an integer between 1 and 3,653.
|
2052
|
+
#
|
2053
|
+
# The default value is -1.
|
2054
|
+
#
|
1847
2055
|
# @return [Types::DeleteClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1848
2056
|
#
|
1849
2057
|
# * {Types::DeleteClusterResult#cluster #cluster} => Types::Cluster
|
@@ -1854,6 +2062,7 @@ module Aws::Redshift
|
|
1854
2062
|
# cluster_identifier: "String", # required
|
1855
2063
|
# skip_final_cluster_snapshot: false,
|
1856
2064
|
# final_cluster_snapshot_identifier: "String",
|
2065
|
+
# final_cluster_snapshot_retention_period: 1,
|
1857
2066
|
# })
|
1858
2067
|
#
|
1859
2068
|
# @example Response structure
|
@@ -1868,6 +2077,7 @@ module Aws::Redshift
|
|
1868
2077
|
# resp.cluster.endpoint.port #=> Integer
|
1869
2078
|
# resp.cluster.cluster_create_time #=> Time
|
1870
2079
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
2080
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
1871
2081
|
# resp.cluster.cluster_security_groups #=> Array
|
1872
2082
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
1873
2083
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -1918,6 +2128,7 @@ module Aws::Redshift
|
|
1918
2128
|
# resp.cluster.hsm_status.status #=> String
|
1919
2129
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
1920
2130
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
2131
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
1921
2132
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
1922
2133
|
# resp.cluster.cluster_public_key #=> String
|
1923
2134
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -1943,6 +2154,8 @@ module Aws::Redshift
|
|
1943
2154
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
1944
2155
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
1945
2156
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
2157
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
2158
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
1946
2159
|
# resp.cluster.resize_info.resize_type #=> String
|
1947
2160
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
1948
2161
|
#
|
@@ -2038,7 +2251,7 @@ module Aws::Redshift
|
|
2038
2251
|
# The unique identifier of the manual snapshot to be deleted.
|
2039
2252
|
#
|
2040
2253
|
# Constraints: Must be the name of an existing snapshot that is in the
|
2041
|
-
# `available` state.
|
2254
|
+
# `available`, `failed`, or `cancelled` state.
|
2042
2255
|
#
|
2043
2256
|
# @option params [String] :snapshot_cluster_identifier
|
2044
2257
|
# The unique identifier of the cluster the snapshot was created from.
|
@@ -2096,6 +2309,9 @@ module Aws::Redshift
|
|
2096
2309
|
# resp.snapshot.restorable_node_types[0] #=> String
|
2097
2310
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
2098
2311
|
# resp.snapshot.maintenance_track_name #=> String
|
2312
|
+
# resp.snapshot.manual_snapshot_retention_period #=> Integer
|
2313
|
+
# resp.snapshot.manual_snapshot_remaining_days #=> Integer
|
2314
|
+
# resp.snapshot.snapshot_retention_start_time #=> Time
|
2099
2315
|
#
|
2100
2316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot AWS API Documentation
|
2101
2317
|
#
|
@@ -2217,6 +2433,28 @@ module Aws::Redshift
|
|
2217
2433
|
req.send_request(options)
|
2218
2434
|
end
|
2219
2435
|
|
2436
|
+
# Deletes a snapshot schedule.
|
2437
|
+
#
|
2438
|
+
# @option params [required, String] :schedule_identifier
|
2439
|
+
# A unique identifier of the snapshot schedule to delete.
|
2440
|
+
#
|
2441
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2442
|
+
#
|
2443
|
+
# @example Request syntax with placeholder values
|
2444
|
+
#
|
2445
|
+
# resp = client.delete_snapshot_schedule({
|
2446
|
+
# schedule_identifier: "String", # required
|
2447
|
+
# })
|
2448
|
+
#
|
2449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotSchedule AWS API Documentation
|
2450
|
+
#
|
2451
|
+
# @overload delete_snapshot_schedule(params = {})
|
2452
|
+
# @param [Hash] params ({})
|
2453
|
+
def delete_snapshot_schedule(params = {}, options = {})
|
2454
|
+
req = build_request(:delete_snapshot_schedule, params)
|
2455
|
+
req.send_request(options)
|
2456
|
+
end
|
2457
|
+
|
2220
2458
|
# Deletes a tag or tags from a resource. You must provide the ARN of the
|
2221
2459
|
# resource from which you want to delete the tag or tags.
|
2222
2460
|
#
|
@@ -2757,6 +2995,8 @@ module Aws::Redshift
|
|
2757
2995
|
# deleted. If `ClusterExists` is set to `true`, `ClusterIdentifier` is
|
2758
2996
|
# required.
|
2759
2997
|
#
|
2998
|
+
# @option params [Array<Types::SnapshotSortingEntity>] :sorting_entities
|
2999
|
+
#
|
2760
3000
|
# @return [Types::SnapshotMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2761
3001
|
#
|
2762
3002
|
# * {Types::SnapshotMessage#marker #marker} => String
|
@@ -2776,6 +3016,12 @@ module Aws::Redshift
|
|
2776
3016
|
# tag_keys: ["String"],
|
2777
3017
|
# tag_values: ["String"],
|
2778
3018
|
# cluster_exists: false,
|
3019
|
+
# sorting_entities: [
|
3020
|
+
# {
|
3021
|
+
# attribute: "SOURCE_TYPE", # required, accepts SOURCE_TYPE, TOTAL_SIZE, CREATE_TIME
|
3022
|
+
# sort_order: "ASC", # accepts ASC, DESC
|
3023
|
+
# },
|
3024
|
+
# ],
|
2779
3025
|
# })
|
2780
3026
|
#
|
2781
3027
|
# @example Response structure
|
@@ -2817,6 +3063,9 @@ module Aws::Redshift
|
|
2817
3063
|
# resp.snapshots[0].restorable_node_types[0] #=> String
|
2818
3064
|
# resp.snapshots[0].enhanced_vpc_routing #=> Boolean
|
2819
3065
|
# resp.snapshots[0].maintenance_track_name #=> String
|
3066
|
+
# resp.snapshots[0].manual_snapshot_retention_period #=> Integer
|
3067
|
+
# resp.snapshots[0].manual_snapshot_remaining_days #=> Integer
|
3068
|
+
# resp.snapshots[0].snapshot_retention_start_time #=> Time
|
2820
3069
|
#
|
2821
3070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots AWS API Documentation
|
2822
3071
|
#
|
@@ -3149,6 +3398,7 @@ module Aws::Redshift
|
|
3149
3398
|
# resp.clusters[0].endpoint.port #=> Integer
|
3150
3399
|
# resp.clusters[0].cluster_create_time #=> Time
|
3151
3400
|
# resp.clusters[0].automated_snapshot_retention_period #=> Integer
|
3401
|
+
# resp.clusters[0].manual_snapshot_retention_period #=> Integer
|
3152
3402
|
# resp.clusters[0].cluster_security_groups #=> Array
|
3153
3403
|
# resp.clusters[0].cluster_security_groups[0].cluster_security_group_name #=> String
|
3154
3404
|
# resp.clusters[0].cluster_security_groups[0].status #=> String
|
@@ -3199,6 +3449,7 @@ module Aws::Redshift
|
|
3199
3449
|
# resp.clusters[0].hsm_status.status #=> String
|
3200
3450
|
# resp.clusters[0].cluster_snapshot_copy_status.destination_region #=> String
|
3201
3451
|
# resp.clusters[0].cluster_snapshot_copy_status.retention_period #=> Integer
|
3452
|
+
# resp.clusters[0].cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
3202
3453
|
# resp.clusters[0].cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
3203
3454
|
# resp.clusters[0].cluster_public_key #=> String
|
3204
3455
|
# resp.clusters[0].cluster_nodes #=> Array
|
@@ -3224,6 +3475,8 @@ module Aws::Redshift
|
|
3224
3475
|
# resp.clusters[0].deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
3225
3476
|
# resp.clusters[0].deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
3226
3477
|
# resp.clusters[0].deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
3478
|
+
# resp.clusters[0].snapshot_schedule_identifier #=> String
|
3479
|
+
# resp.clusters[0].snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
3227
3480
|
# resp.clusters[0].resize_info.resize_type #=> String
|
3228
3481
|
# resp.clusters[0].resize_info.allow_cancel_resize #=> Boolean
|
3229
3482
|
#
|
@@ -4194,6 +4447,97 @@ module Aws::Redshift
|
|
4194
4447
|
req.send_request(options)
|
4195
4448
|
end
|
4196
4449
|
|
4450
|
+
# Returns a list of snapshot schedules.
|
4451
|
+
#
|
4452
|
+
# @option params [String] :cluster_identifier
|
4453
|
+
# The unique identifier for the cluster whose snapshot schedules you
|
4454
|
+
# want to view.
|
4455
|
+
#
|
4456
|
+
# @option params [String] :schedule_identifier
|
4457
|
+
# A unique identifier for a snapshot schedule.
|
4458
|
+
#
|
4459
|
+
# @option params [Array<String>] :tag_keys
|
4460
|
+
# The key value for a snapshot schedule tag.
|
4461
|
+
#
|
4462
|
+
# @option params [Array<String>] :tag_values
|
4463
|
+
# The value corresponding to the key of the snapshot schedule tag.
|
4464
|
+
#
|
4465
|
+
# @option params [String] :marker
|
4466
|
+
# A value that indicates the starting point for the next set of response
|
4467
|
+
# records in a subsequent request. If a value is returned in a response,
|
4468
|
+
# you can retrieve the next set of records by providing this returned
|
4469
|
+
# marker value in the `marker` parameter and retrying the command. If
|
4470
|
+
# the `marker` field is empty, all response records have been retrieved
|
4471
|
+
# for the request.
|
4472
|
+
#
|
4473
|
+
# @option params [Integer] :max_records
|
4474
|
+
# The maximum number or response records to return in each call. If the
|
4475
|
+
# number of remaining response records exceeds the specified
|
4476
|
+
# `MaxRecords` value, a value is returned in a `marker` field of the
|
4477
|
+
# response. You can retrieve the next set of records by retrying the
|
4478
|
+
# command with the returned `marker` value.
|
4479
|
+
#
|
4480
|
+
# @return [Types::DescribeSnapshotSchedulesOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4481
|
+
#
|
4482
|
+
# * {Types::DescribeSnapshotSchedulesOutputMessage#snapshot_schedules #snapshot_schedules} => Array<Types::SnapshotSchedule>
|
4483
|
+
# * {Types::DescribeSnapshotSchedulesOutputMessage#marker #marker} => String
|
4484
|
+
#
|
4485
|
+
# @example Request syntax with placeholder values
|
4486
|
+
#
|
4487
|
+
# resp = client.describe_snapshot_schedules({
|
4488
|
+
# cluster_identifier: "String",
|
4489
|
+
# schedule_identifier: "String",
|
4490
|
+
# tag_keys: ["String"],
|
4491
|
+
# tag_values: ["String"],
|
4492
|
+
# marker: "String",
|
4493
|
+
# max_records: 1,
|
4494
|
+
# })
|
4495
|
+
#
|
4496
|
+
# @example Response structure
|
4497
|
+
#
|
4498
|
+
# resp.snapshot_schedules #=> Array
|
4499
|
+
# resp.snapshot_schedules[0].schedule_definitions #=> Array
|
4500
|
+
# resp.snapshot_schedules[0].schedule_definitions[0] #=> String
|
4501
|
+
# resp.snapshot_schedules[0].schedule_identifier #=> String
|
4502
|
+
# resp.snapshot_schedules[0].schedule_description #=> String
|
4503
|
+
# resp.snapshot_schedules[0].tags #=> Array
|
4504
|
+
# resp.snapshot_schedules[0].tags[0].key #=> String
|
4505
|
+
# resp.snapshot_schedules[0].tags[0].value #=> String
|
4506
|
+
# resp.snapshot_schedules[0].next_invocations #=> Array
|
4507
|
+
# resp.snapshot_schedules[0].next_invocations[0] #=> Time
|
4508
|
+
# resp.marker #=> String
|
4509
|
+
#
|
4510
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotSchedules AWS API Documentation
|
4511
|
+
#
|
4512
|
+
# @overload describe_snapshot_schedules(params = {})
|
4513
|
+
# @param [Hash] params ({})
|
4514
|
+
def describe_snapshot_schedules(params = {}, options = {})
|
4515
|
+
req = build_request(:describe_snapshot_schedules, params)
|
4516
|
+
req.send_request(options)
|
4517
|
+
end
|
4518
|
+
|
4519
|
+
# Returns the total amount of snapshot usage and provisioned storage for
|
4520
|
+
# a user in megabytes.
|
4521
|
+
#
|
4522
|
+
# @return [Types::CustomerStorageMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4523
|
+
#
|
4524
|
+
# * {Types::CustomerStorageMessage#total_backup_size_in_mega_bytes #total_backup_size_in_mega_bytes} => Float
|
4525
|
+
# * {Types::CustomerStorageMessage#total_provisioned_storage_in_mega_bytes #total_provisioned_storage_in_mega_bytes} => Float
|
4526
|
+
#
|
4527
|
+
# @example Response structure
|
4528
|
+
#
|
4529
|
+
# resp.total_backup_size_in_mega_bytes #=> Float
|
4530
|
+
# resp.total_provisioned_storage_in_mega_bytes #=> Float
|
4531
|
+
#
|
4532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeStorage AWS API Documentation
|
4533
|
+
#
|
4534
|
+
# @overload describe_storage(params = {})
|
4535
|
+
# @param [Hash] params ({})
|
4536
|
+
def describe_storage(params = {}, options = {})
|
4537
|
+
req = build_request(:describe_storage, params)
|
4538
|
+
req.send_request(options)
|
4539
|
+
end
|
4540
|
+
|
4197
4541
|
# Lists the status of one or more table restore requests made using the
|
4198
4542
|
# RestoreTableFromClusterSnapshot API action. If you don't specify a
|
4199
4543
|
# value for the `TableRestoreRequestId` parameter, then
|
@@ -4471,6 +4815,7 @@ module Aws::Redshift
|
|
4471
4815
|
# resp.cluster.endpoint.port #=> Integer
|
4472
4816
|
# resp.cluster.cluster_create_time #=> Time
|
4473
4817
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
4818
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
4474
4819
|
# resp.cluster.cluster_security_groups #=> Array
|
4475
4820
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
4476
4821
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -4521,6 +4866,7 @@ module Aws::Redshift
|
|
4521
4866
|
# resp.cluster.hsm_status.status #=> String
|
4522
4867
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
4523
4868
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
4869
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
4524
4870
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
4525
4871
|
# resp.cluster.cluster_public_key #=> String
|
4526
4872
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -4546,6 +4892,8 @@ module Aws::Redshift
|
|
4546
4892
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
4547
4893
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
4548
4894
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
4895
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
4896
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
4549
4897
|
# resp.cluster.resize_info.resize_type #=> String
|
4550
4898
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
4551
4899
|
#
|
@@ -4664,6 +5012,13 @@ module Aws::Redshift
|
|
4664
5012
|
# The name of the snapshot copy grant to use when snapshots of an AWS
|
4665
5013
|
# KMS-encrypted cluster are copied to the destination region.
|
4666
5014
|
#
|
5015
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
5016
|
+
# The number of days to retain newly copied snapshots in the destination
|
5017
|
+
# region after they are copied from the source region. If the value is
|
5018
|
+
# -1, the manual snapshot is retained indefinitely.
|
5019
|
+
#
|
5020
|
+
# The value must be either -1 or an integer between 1 and 3,653.
|
5021
|
+
#
|
4667
5022
|
# @return [Types::EnableSnapshotCopyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4668
5023
|
#
|
4669
5024
|
# * {Types::EnableSnapshotCopyResult#cluster #cluster} => Types::Cluster
|
@@ -4675,6 +5030,7 @@ module Aws::Redshift
|
|
4675
5030
|
# destination_region: "String", # required
|
4676
5031
|
# retention_period: 1,
|
4677
5032
|
# snapshot_copy_grant_name: "String",
|
5033
|
+
# manual_snapshot_retention_period: 1,
|
4678
5034
|
# })
|
4679
5035
|
#
|
4680
5036
|
# @example Response structure
|
@@ -4689,6 +5045,7 @@ module Aws::Redshift
|
|
4689
5045
|
# resp.cluster.endpoint.port #=> Integer
|
4690
5046
|
# resp.cluster.cluster_create_time #=> Time
|
4691
5047
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
5048
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
4692
5049
|
# resp.cluster.cluster_security_groups #=> Array
|
4693
5050
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
4694
5051
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -4739,6 +5096,7 @@ module Aws::Redshift
|
|
4739
5096
|
# resp.cluster.hsm_status.status #=> String
|
4740
5097
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
4741
5098
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
5099
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
4742
5100
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
4743
5101
|
# resp.cluster.cluster_public_key #=> String
|
4744
5102
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -4764,6 +5122,8 @@ module Aws::Redshift
|
|
4764
5122
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
4765
5123
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
4766
5124
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
5125
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
5126
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
4767
5127
|
# resp.cluster.resize_info.resize_type #=> String
|
4768
5128
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
4769
5129
|
#
|
@@ -5127,6 +5487,16 @@ module Aws::Redshift
|
|
5127
5487
|
#
|
5128
5488
|
# Constraints: Must be a value from 0 to 35.
|
5129
5489
|
#
|
5490
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
5491
|
+
# The default for number of days that a newly created manual snapshot is
|
5492
|
+
# retained. If the value is -1, the manual snapshot is retained
|
5493
|
+
# indefinitely. This value will not retroactively change the retention
|
5494
|
+
# periods of existing manual snapshots
|
5495
|
+
#
|
5496
|
+
# The value must be either -1 or an integer between 1 and 3,653.
|
5497
|
+
#
|
5498
|
+
# The default value is -1.
|
5499
|
+
#
|
5130
5500
|
# @option params [String] :preferred_maintenance_window
|
5131
5501
|
# The weekly time range (in UTC) during which system maintenance can
|
5132
5502
|
# occur, if necessary. If system maintenance is necessary during the
|
@@ -5262,6 +5632,7 @@ module Aws::Redshift
|
|
5262
5632
|
# master_user_password: "String",
|
5263
5633
|
# cluster_parameter_group_name: "String",
|
5264
5634
|
# automated_snapshot_retention_period: 1,
|
5635
|
+
# manual_snapshot_retention_period: 1,
|
5265
5636
|
# preferred_maintenance_window: "String",
|
5266
5637
|
# cluster_version: "String",
|
5267
5638
|
# allow_version_upgrade: false,
|
@@ -5288,6 +5659,7 @@ module Aws::Redshift
|
|
5288
5659
|
# resp.cluster.endpoint.port #=> Integer
|
5289
5660
|
# resp.cluster.cluster_create_time #=> Time
|
5290
5661
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
5662
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
5291
5663
|
# resp.cluster.cluster_security_groups #=> Array
|
5292
5664
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
5293
5665
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -5338,6 +5710,7 @@ module Aws::Redshift
|
|
5338
5710
|
# resp.cluster.hsm_status.status #=> String
|
5339
5711
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
5340
5712
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
5713
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
5341
5714
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
5342
5715
|
# resp.cluster.cluster_public_key #=> String
|
5343
5716
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -5363,6 +5736,8 @@ module Aws::Redshift
|
|
5363
5736
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
5364
5737
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
5365
5738
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
5739
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
5740
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
5366
5741
|
# resp.cluster.resize_info.resize_type #=> String
|
5367
5742
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
5368
5743
|
#
|
@@ -5411,6 +5786,7 @@ module Aws::Redshift
|
|
5411
5786
|
# resp.cluster.endpoint.port #=> Integer
|
5412
5787
|
# resp.cluster.cluster_create_time #=> Time
|
5413
5788
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
5789
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
5414
5790
|
# resp.cluster.cluster_security_groups #=> Array
|
5415
5791
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
5416
5792
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -5461,6 +5837,7 @@ module Aws::Redshift
|
|
5461
5837
|
# resp.cluster.hsm_status.status #=> String
|
5462
5838
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
5463
5839
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
5840
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
5464
5841
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
5465
5842
|
# resp.cluster.cluster_public_key #=> String
|
5466
5843
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -5486,6 +5863,8 @@ module Aws::Redshift
|
|
5486
5863
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
5487
5864
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
5488
5865
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
5866
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
5867
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
5489
5868
|
# resp.cluster.resize_info.resize_type #=> String
|
5490
5869
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
5491
5870
|
#
|
@@ -5541,6 +5920,7 @@ module Aws::Redshift
|
|
5541
5920
|
# resp.cluster.endpoint.port #=> Integer
|
5542
5921
|
# resp.cluster.cluster_create_time #=> Time
|
5543
5922
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
5923
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
5544
5924
|
# resp.cluster.cluster_security_groups #=> Array
|
5545
5925
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
5546
5926
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -5591,6 +5971,7 @@ module Aws::Redshift
|
|
5591
5971
|
# resp.cluster.hsm_status.status #=> String
|
5592
5972
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
5593
5973
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
5974
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
5594
5975
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
5595
5976
|
# resp.cluster.cluster_public_key #=> String
|
5596
5977
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -5616,6 +5997,8 @@ module Aws::Redshift
|
|
5616
5997
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
5617
5998
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
5618
5999
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
6000
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
6001
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
5619
6002
|
# resp.cluster.resize_info.resize_type #=> String
|
5620
6003
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
5621
6004
|
#
|
@@ -5681,6 +6064,7 @@ module Aws::Redshift
|
|
5681
6064
|
# resp.cluster.endpoint.port #=> Integer
|
5682
6065
|
# resp.cluster.cluster_create_time #=> Time
|
5683
6066
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
6067
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
5684
6068
|
# resp.cluster.cluster_security_groups #=> Array
|
5685
6069
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
5686
6070
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -5731,6 +6115,7 @@ module Aws::Redshift
|
|
5731
6115
|
# resp.cluster.hsm_status.status #=> String
|
5732
6116
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
5733
6117
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
6118
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
5734
6119
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
5735
6120
|
# resp.cluster.cluster_public_key #=> String
|
5736
6121
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -5756,6 +6141,8 @@ module Aws::Redshift
|
|
5756
6141
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
5757
6142
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
5758
6143
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
6144
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
6145
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
5759
6146
|
# resp.cluster.resize_info.resize_type #=> String
|
5760
6147
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
5761
6148
|
#
|
@@ -5830,6 +6217,119 @@ module Aws::Redshift
|
|
5830
6217
|
req.send_request(options)
|
5831
6218
|
end
|
5832
6219
|
|
6220
|
+
# Modifies the settings for a snapshot.
|
6221
|
+
#
|
6222
|
+
# @option params [required, String] :snapshot_identifier
|
6223
|
+
# The identifier of the snapshot whose setting you want to modify.
|
6224
|
+
#
|
6225
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
6226
|
+
# The number of days that a manual snapshot is retained. If the value is
|
6227
|
+
# -1, the manual snapshot is retained indefinitely.
|
6228
|
+
#
|
6229
|
+
# If the manual snapshot falls outside of the new retention period, you
|
6230
|
+
# can specify the force option to immediately delete the snapshot.
|
6231
|
+
#
|
6232
|
+
# The value must be either -1 or an integer between 1 and 3,653.
|
6233
|
+
#
|
6234
|
+
# @option params [Boolean] :force
|
6235
|
+
# A Boolean option to override an exception if the retention period has
|
6236
|
+
# already passed.
|
6237
|
+
#
|
6238
|
+
# @return [Types::ModifyClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6239
|
+
#
|
6240
|
+
# * {Types::ModifyClusterSnapshotResult#snapshot #snapshot} => Types::Snapshot
|
6241
|
+
#
|
6242
|
+
# @example Request syntax with placeholder values
|
6243
|
+
#
|
6244
|
+
# resp = client.modify_cluster_snapshot({
|
6245
|
+
# snapshot_identifier: "String", # required
|
6246
|
+
# manual_snapshot_retention_period: 1,
|
6247
|
+
# force: false,
|
6248
|
+
# })
|
6249
|
+
#
|
6250
|
+
# @example Response structure
|
6251
|
+
#
|
6252
|
+
# resp.snapshot.snapshot_identifier #=> String
|
6253
|
+
# resp.snapshot.cluster_identifier #=> String
|
6254
|
+
# resp.snapshot.snapshot_create_time #=> Time
|
6255
|
+
# resp.snapshot.status #=> String
|
6256
|
+
# resp.snapshot.port #=> Integer
|
6257
|
+
# resp.snapshot.availability_zone #=> String
|
6258
|
+
# resp.snapshot.cluster_create_time #=> Time
|
6259
|
+
# resp.snapshot.master_username #=> String
|
6260
|
+
# resp.snapshot.cluster_version #=> String
|
6261
|
+
# resp.snapshot.snapshot_type #=> String
|
6262
|
+
# resp.snapshot.node_type #=> String
|
6263
|
+
# resp.snapshot.number_of_nodes #=> Integer
|
6264
|
+
# resp.snapshot.db_name #=> String
|
6265
|
+
# resp.snapshot.vpc_id #=> String
|
6266
|
+
# resp.snapshot.encrypted #=> Boolean
|
6267
|
+
# resp.snapshot.kms_key_id #=> String
|
6268
|
+
# resp.snapshot.encrypted_with_hsm #=> Boolean
|
6269
|
+
# resp.snapshot.accounts_with_restore_access #=> Array
|
6270
|
+
# resp.snapshot.accounts_with_restore_access[0].account_id #=> String
|
6271
|
+
# resp.snapshot.accounts_with_restore_access[0].account_alias #=> String
|
6272
|
+
# resp.snapshot.owner_account #=> String
|
6273
|
+
# resp.snapshot.total_backup_size_in_mega_bytes #=> Float
|
6274
|
+
# resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
|
6275
|
+
# resp.snapshot.backup_progress_in_mega_bytes #=> Float
|
6276
|
+
# resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
|
6277
|
+
# resp.snapshot.estimated_seconds_to_completion #=> Integer
|
6278
|
+
# resp.snapshot.elapsed_time_in_seconds #=> Integer
|
6279
|
+
# resp.snapshot.source_region #=> String
|
6280
|
+
# resp.snapshot.tags #=> Array
|
6281
|
+
# resp.snapshot.tags[0].key #=> String
|
6282
|
+
# resp.snapshot.tags[0].value #=> String
|
6283
|
+
# resp.snapshot.restorable_node_types #=> Array
|
6284
|
+
# resp.snapshot.restorable_node_types[0] #=> String
|
6285
|
+
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
6286
|
+
# resp.snapshot.maintenance_track_name #=> String
|
6287
|
+
# resp.snapshot.manual_snapshot_retention_period #=> Integer
|
6288
|
+
# resp.snapshot.manual_snapshot_remaining_days #=> Integer
|
6289
|
+
# resp.snapshot.snapshot_retention_start_time #=> Time
|
6290
|
+
#
|
6291
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshot AWS API Documentation
|
6292
|
+
#
|
6293
|
+
# @overload modify_cluster_snapshot(params = {})
|
6294
|
+
# @param [Hash] params ({})
|
6295
|
+
def modify_cluster_snapshot(params = {}, options = {})
|
6296
|
+
req = build_request(:modify_cluster_snapshot, params)
|
6297
|
+
req.send_request(options)
|
6298
|
+
end
|
6299
|
+
|
6300
|
+
# Modifies a snapshot schedule for a cluster.
|
6301
|
+
#
|
6302
|
+
# @option params [required, String] :cluster_identifier
|
6303
|
+
# A unique identifier for the cluster whose snapshot schedule you want
|
6304
|
+
# to modify.
|
6305
|
+
#
|
6306
|
+
# @option params [String] :schedule_identifier
|
6307
|
+
# A unique alphanumeric identifier for the schedule you want to
|
6308
|
+
# associate with the cluster.
|
6309
|
+
#
|
6310
|
+
# @option params [Boolean] :disassociate_schedule
|
6311
|
+
# A boolean to indicate whether to remove the assoiciation between the
|
6312
|
+
# cluster and the schedule.
|
6313
|
+
#
|
6314
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6315
|
+
#
|
6316
|
+
# @example Request syntax with placeholder values
|
6317
|
+
#
|
6318
|
+
# resp = client.modify_cluster_snapshot_schedule({
|
6319
|
+
# cluster_identifier: "String", # required
|
6320
|
+
# schedule_identifier: "String",
|
6321
|
+
# disassociate_schedule: false,
|
6322
|
+
# })
|
6323
|
+
#
|
6324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshotSchedule AWS API Documentation
|
6325
|
+
#
|
6326
|
+
# @overload modify_cluster_snapshot_schedule(params = {})
|
6327
|
+
# @param [Hash] params ({})
|
6328
|
+
def modify_cluster_snapshot_schedule(params = {}, options = {})
|
6329
|
+
req = build_request(:modify_cluster_snapshot_schedule, params)
|
6330
|
+
req.send_request(options)
|
6331
|
+
end
|
6332
|
+
|
5833
6333
|
# Modifies a cluster subnet group to include the specified list of VPC
|
5834
6334
|
# subnets. The operation replaces the existing list of subnets with the
|
5835
6335
|
# new list of subnets.
|
@@ -5971,13 +6471,19 @@ module Aws::Redshift
|
|
5971
6471
|
req.send_request(options)
|
5972
6472
|
end
|
5973
6473
|
|
5974
|
-
# Modifies the number of days to retain
|
5975
|
-
#
|
6474
|
+
# Modifies the number of days to retain snapshots in the destination
|
6475
|
+
# region after they are copied from the source region. By default, this
|
6476
|
+
# only changes the retention period of copied automated snapshots. The
|
6477
|
+
# retention periods for both new and existing copied automated snapshots
|
6478
|
+
# will be updated with the new retention period. You can set the manual
|
6479
|
+
# option to change only the retention periods of copied manual
|
6480
|
+
# snapshots. If you set this option only newly copied manual snapshots
|
6481
|
+
# will have the new retention period
|
5976
6482
|
#
|
5977
6483
|
# @option params [required, String] :cluster_identifier
|
5978
6484
|
# The unique identifier of the cluster for which you want to change the
|
5979
|
-
# retention period for automated snapshots that are
|
5980
|
-
# destination region.
|
6485
|
+
# retention period for either automated or manual snapshots that are
|
6486
|
+
# copied to a destination region.
|
5981
6487
|
#
|
5982
6488
|
# Constraints: Must be the valid name of an existing cluster that has
|
5983
6489
|
# cross-region snapshot copy enabled.
|
@@ -5986,12 +6492,29 @@ module Aws::Redshift
|
|
5986
6492
|
# The number of days to retain automated snapshots in the destination
|
5987
6493
|
# region after they are copied from the source region.
|
5988
6494
|
#
|
6495
|
+
# By default, this only changes the retention period of copied automated
|
6496
|
+
# snapshots.
|
6497
|
+
#
|
5989
6498
|
# If you decrease the retention period for automated snapshots that are
|
5990
6499
|
# copied to a destination region, Amazon Redshift will delete any
|
5991
6500
|
# existing automated snapshots that were copied to the destination
|
5992
6501
|
# region and that fall outside of the new retention period.
|
5993
6502
|
#
|
5994
|
-
# Constraints: Must be at least 1 and no more than 35
|
6503
|
+
# Constraints: Must be at least 1 and no more than 35 for automated
|
6504
|
+
# snapshots.
|
6505
|
+
#
|
6506
|
+
# If you specify the `manual` option, only newly copied manual snapshots
|
6507
|
+
# will have the new retention period.
|
6508
|
+
#
|
6509
|
+
# If you specify the value of -1 newly copied manual snapshots are
|
6510
|
+
# retained indefinitely.
|
6511
|
+
#
|
6512
|
+
# Constraints: The number of days must be either -1 or an integer
|
6513
|
+
# between 1 and 3,653 for manual snapshots.
|
6514
|
+
#
|
6515
|
+
# @option params [Boolean] :manual
|
6516
|
+
# Indicates whether to apply the snapshot retention period to newly
|
6517
|
+
# copied manual snapshots instead of automated snapshots.
|
5995
6518
|
#
|
5996
6519
|
# @return [Types::ModifySnapshotCopyRetentionPeriodResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5997
6520
|
#
|
@@ -6002,6 +6525,7 @@ module Aws::Redshift
|
|
6002
6525
|
# resp = client.modify_snapshot_copy_retention_period({
|
6003
6526
|
# cluster_identifier: "String", # required
|
6004
6527
|
# retention_period: 1, # required
|
6528
|
+
# manual: false,
|
6005
6529
|
# })
|
6006
6530
|
#
|
6007
6531
|
# @example Response structure
|
@@ -6016,6 +6540,7 @@ module Aws::Redshift
|
|
6016
6540
|
# resp.cluster.endpoint.port #=> Integer
|
6017
6541
|
# resp.cluster.cluster_create_time #=> Time
|
6018
6542
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
6543
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
6019
6544
|
# resp.cluster.cluster_security_groups #=> Array
|
6020
6545
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
6021
6546
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -6066,6 +6591,7 @@ module Aws::Redshift
|
|
6066
6591
|
# resp.cluster.hsm_status.status #=> String
|
6067
6592
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
6068
6593
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
6594
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
6069
6595
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
6070
6596
|
# resp.cluster.cluster_public_key #=> String
|
6071
6597
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -6091,6 +6617,8 @@ module Aws::Redshift
|
|
6091
6617
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
6092
6618
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
6093
6619
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
6620
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
6621
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
6094
6622
|
# resp.cluster.resize_info.resize_type #=> String
|
6095
6623
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
6096
6624
|
#
|
@@ -6103,6 +6631,53 @@ module Aws::Redshift
|
|
6103
6631
|
req.send_request(options)
|
6104
6632
|
end
|
6105
6633
|
|
6634
|
+
# Modifies a snapshot schedule. Any schedule associate with a cluster
|
6635
|
+
# will be modified asynchronously.
|
6636
|
+
#
|
6637
|
+
# @option params [required, String] :schedule_identifier
|
6638
|
+
# A unique alphanumeric identifier of the schedule to modify.
|
6639
|
+
#
|
6640
|
+
# @option params [required, Array<String>] :schedule_definitions
|
6641
|
+
# An updated list of schedule definitions. A schedule definition is made
|
6642
|
+
# up of schedule expressions. For example, "cron(30 12 *)" or
|
6643
|
+
# "rate(12 hours)".
|
6644
|
+
#
|
6645
|
+
# @return [Types::SnapshotSchedule] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6646
|
+
#
|
6647
|
+
# * {Types::SnapshotSchedule#schedule_definitions #schedule_definitions} => Array<String>
|
6648
|
+
# * {Types::SnapshotSchedule#schedule_identifier #schedule_identifier} => String
|
6649
|
+
# * {Types::SnapshotSchedule#schedule_description #schedule_description} => String
|
6650
|
+
# * {Types::SnapshotSchedule#tags #tags} => Array<Types::Tag>
|
6651
|
+
# * {Types::SnapshotSchedule#next_invocations #next_invocations} => Array<Time>
|
6652
|
+
#
|
6653
|
+
# @example Request syntax with placeholder values
|
6654
|
+
#
|
6655
|
+
# resp = client.modify_snapshot_schedule({
|
6656
|
+
# schedule_identifier: "String", # required
|
6657
|
+
# schedule_definitions: ["String"], # required
|
6658
|
+
# })
|
6659
|
+
#
|
6660
|
+
# @example Response structure
|
6661
|
+
#
|
6662
|
+
# resp.schedule_definitions #=> Array
|
6663
|
+
# resp.schedule_definitions[0] #=> String
|
6664
|
+
# resp.schedule_identifier #=> String
|
6665
|
+
# resp.schedule_description #=> String
|
6666
|
+
# resp.tags #=> Array
|
6667
|
+
# resp.tags[0].key #=> String
|
6668
|
+
# resp.tags[0].value #=> String
|
6669
|
+
# resp.next_invocations #=> Array
|
6670
|
+
# resp.next_invocations[0] #=> Time
|
6671
|
+
#
|
6672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotSchedule AWS API Documentation
|
6673
|
+
#
|
6674
|
+
# @overload modify_snapshot_schedule(params = {})
|
6675
|
+
# @param [Hash] params ({})
|
6676
|
+
def modify_snapshot_schedule(params = {}, options = {})
|
6677
|
+
req = build_request(:modify_snapshot_schedule, params)
|
6678
|
+
req.send_request(options)
|
6679
|
+
end
|
6680
|
+
|
6106
6681
|
# Allows you to purchase reserved nodes. Amazon Redshift offers a
|
6107
6682
|
# predefined set of reserved node offerings. You can purchase one or
|
6108
6683
|
# more of the offerings. You can call the DescribeReservedNodeOfferings
|
@@ -6201,6 +6776,7 @@ module Aws::Redshift
|
|
6201
6776
|
# resp.cluster.endpoint.port #=> Integer
|
6202
6777
|
# resp.cluster.cluster_create_time #=> Time
|
6203
6778
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
6779
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
6204
6780
|
# resp.cluster.cluster_security_groups #=> Array
|
6205
6781
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
6206
6782
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -6251,6 +6827,7 @@ module Aws::Redshift
|
|
6251
6827
|
# resp.cluster.hsm_status.status #=> String
|
6252
6828
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
6253
6829
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
6830
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
6254
6831
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
6255
6832
|
# resp.cluster.cluster_public_key #=> String
|
6256
6833
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -6276,6 +6853,8 @@ module Aws::Redshift
|
|
6276
6853
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
6277
6854
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
6278
6855
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
6856
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
6857
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
6279
6858
|
# resp.cluster.resize_info.resize_type #=> String
|
6280
6859
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
6281
6860
|
#
|
@@ -6351,8 +6930,8 @@ module Aws::Redshift
|
|
6351
6930
|
|
6352
6931
|
# Changes the size of the cluster. You can change the cluster's type,
|
6353
6932
|
# or change the number or type of nodes. The default behavior is to use
|
6354
|
-
# the elastic resize method. With an elastic resize your cluster is
|
6355
|
-
#
|
6933
|
+
# the elastic resize method. With an elastic resize, your cluster is
|
6934
|
+
# available for read and write operations more quickly than with the
|
6356
6935
|
# classic resize method.
|
6357
6936
|
#
|
6358
6937
|
# Elastic resize operations have the following restrictions:
|
@@ -6367,7 +6946,8 @@ module Aws::Redshift
|
|
6367
6946
|
#
|
6368
6947
|
# * ds2.8xlarge
|
6369
6948
|
#
|
6370
|
-
# * The type of nodes you add must match the node type for the
|
6949
|
+
# * The type of nodes that you add must match the node type for the
|
6950
|
+
# cluster.
|
6371
6951
|
#
|
6372
6952
|
# @option params [required, String] :cluster_identifier
|
6373
6953
|
# The unique identifier for the cluster to resize.
|
@@ -6384,7 +6964,7 @@ module Aws::Redshift
|
|
6384
6964
|
# @option params [Boolean] :classic
|
6385
6965
|
# A boolean value indicating whether the resize operation is using the
|
6386
6966
|
# classic resize process. If you don't provide this parameter or set
|
6387
|
-
# the value to `false
|
6967
|
+
# the value to `false`, the resize type is elastic.
|
6388
6968
|
#
|
6389
6969
|
# @return [Types::ResizeClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6390
6970
|
#
|
@@ -6412,6 +6992,7 @@ module Aws::Redshift
|
|
6412
6992
|
# resp.cluster.endpoint.port #=> Integer
|
6413
6993
|
# resp.cluster.cluster_create_time #=> Time
|
6414
6994
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
6995
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
6415
6996
|
# resp.cluster.cluster_security_groups #=> Array
|
6416
6997
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
6417
6998
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -6462,6 +7043,7 @@ module Aws::Redshift
|
|
6462
7043
|
# resp.cluster.hsm_status.status #=> String
|
6463
7044
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
6464
7045
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
7046
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
6465
7047
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
6466
7048
|
# resp.cluster.cluster_public_key #=> String
|
6467
7049
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -6487,6 +7069,8 @@ module Aws::Redshift
|
|
6487
7069
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
6488
7070
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
6489
7071
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
7072
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
7073
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
6490
7074
|
# resp.cluster.resize_info.resize_type #=> String
|
6491
7075
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
6492
7076
|
#
|
@@ -6661,6 +7245,8 @@ module Aws::Redshift
|
|
6661
7245
|
#
|
6662
7246
|
# Constraints: Must be a value from 0 to 35.
|
6663
7247
|
#
|
7248
|
+
# @option params [Integer] :manual_snapshot_retention_period
|
7249
|
+
#
|
6664
7250
|
# @option params [String] :kms_key_id
|
6665
7251
|
# The AWS Key Management Service (KMS) key ID of the encryption key that
|
6666
7252
|
# you want to use to encrypt data in the cluster that you restore from a
|
@@ -6721,6 +7307,9 @@ module Aws::Redshift
|
|
6721
7307
|
# then change the cluster to be on the trailing track. In this case, the
|
6722
7308
|
# snapshot and the source cluster are on different tracks.
|
6723
7309
|
#
|
7310
|
+
# @option params [String] :snapshot_schedule_identifier
|
7311
|
+
# A unique identifier for the snapshot schedule.
|
7312
|
+
#
|
6724
7313
|
# @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6725
7314
|
#
|
6726
7315
|
# * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
|
@@ -6745,12 +7334,14 @@ module Aws::Redshift
|
|
6745
7334
|
# vpc_security_group_ids: ["String"],
|
6746
7335
|
# preferred_maintenance_window: "String",
|
6747
7336
|
# automated_snapshot_retention_period: 1,
|
7337
|
+
# manual_snapshot_retention_period: 1,
|
6748
7338
|
# kms_key_id: "String",
|
6749
7339
|
# node_type: "String",
|
6750
7340
|
# enhanced_vpc_routing: false,
|
6751
7341
|
# additional_info: "String",
|
6752
7342
|
# iam_roles: ["String"],
|
6753
7343
|
# maintenance_track_name: "String",
|
7344
|
+
# snapshot_schedule_identifier: "String",
|
6754
7345
|
# })
|
6755
7346
|
#
|
6756
7347
|
# @example Response structure
|
@@ -6765,6 +7356,7 @@ module Aws::Redshift
|
|
6765
7356
|
# resp.cluster.endpoint.port #=> Integer
|
6766
7357
|
# resp.cluster.cluster_create_time #=> Time
|
6767
7358
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
7359
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
6768
7360
|
# resp.cluster.cluster_security_groups #=> Array
|
6769
7361
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
6770
7362
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -6815,6 +7407,7 @@ module Aws::Redshift
|
|
6815
7407
|
# resp.cluster.hsm_status.status #=> String
|
6816
7408
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
6817
7409
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
7410
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
6818
7411
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
6819
7412
|
# resp.cluster.cluster_public_key #=> String
|
6820
7413
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -6840,6 +7433,8 @@ module Aws::Redshift
|
|
6840
7433
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
6841
7434
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
6842
7435
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
7436
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
7437
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
6843
7438
|
# resp.cluster.resize_info.resize_type #=> String
|
6844
7439
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
6845
7440
|
#
|
@@ -7090,6 +7685,9 @@ module Aws::Redshift
|
|
7090
7685
|
# resp.snapshot.restorable_node_types[0] #=> String
|
7091
7686
|
# resp.snapshot.enhanced_vpc_routing #=> Boolean
|
7092
7687
|
# resp.snapshot.maintenance_track_name #=> String
|
7688
|
+
# resp.snapshot.manual_snapshot_retention_period #=> Integer
|
7689
|
+
# resp.snapshot.manual_snapshot_remaining_days #=> Integer
|
7690
|
+
# resp.snapshot.snapshot_retention_start_time #=> Time
|
7093
7691
|
#
|
7094
7692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess AWS API Documentation
|
7095
7693
|
#
|
@@ -7131,6 +7729,7 @@ module Aws::Redshift
|
|
7131
7729
|
# resp.cluster.endpoint.port #=> Integer
|
7132
7730
|
# resp.cluster.cluster_create_time #=> Time
|
7133
7731
|
# resp.cluster.automated_snapshot_retention_period #=> Integer
|
7732
|
+
# resp.cluster.manual_snapshot_retention_period #=> Integer
|
7134
7733
|
# resp.cluster.cluster_security_groups #=> Array
|
7135
7734
|
# resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
|
7136
7735
|
# resp.cluster.cluster_security_groups[0].status #=> String
|
@@ -7181,6 +7780,7 @@ module Aws::Redshift
|
|
7181
7780
|
# resp.cluster.hsm_status.status #=> String
|
7182
7781
|
# resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
|
7183
7782
|
# resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
|
7783
|
+
# resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
|
7184
7784
|
# resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
|
7185
7785
|
# resp.cluster.cluster_public_key #=> String
|
7186
7786
|
# resp.cluster.cluster_nodes #=> Array
|
@@ -7206,6 +7806,8 @@ module Aws::Redshift
|
|
7206
7806
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
|
7207
7807
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
|
7208
7808
|
# resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
|
7809
|
+
# resp.cluster.snapshot_schedule_identifier #=> String
|
7810
|
+
# resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
7209
7811
|
# resp.cluster.resize_info.resize_type #=> String
|
7210
7812
|
# resp.cluster.resize_info.allow_cancel_resize #=> Boolean
|
7211
7813
|
#
|
@@ -7231,7 +7833,7 @@ module Aws::Redshift
|
|
7231
7833
|
params: params,
|
7232
7834
|
config: config)
|
7233
7835
|
context[:gem_name] = 'aws-sdk-redshift'
|
7234
|
-
context[:gem_version] = '1.
|
7836
|
+
context[:gem_version] = '1.15.0'
|
7235
7837
|
Seahorse::Client::Request.new(handlers, context)
|
7236
7838
|
end
|
7237
7839
|
|