aws-sdk-redshift 1.17.0 → 1.18.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 +19 -16
- data/lib/aws-sdk-redshift/client_api.rb +10 -0
- data/lib/aws-sdk-redshift/types.rb +25 -16
- 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: d6ad484553883525dbe76eb65e78f5ab6ab2ddfa
|
4
|
+
data.tar.gz: 5cd197e19c73826565d4b0408d4fa70b848014ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4c477600d05d43e9b851865adb4230d143a1dfe6b420760627b809c67c189db6cff475a42b2cd7abb475dc407ddc5b39bcffdfddfcc485f917c65739e612d2
|
7
|
+
data.tar.gz: 17b8de16ef3003c6ba91016adbf07d05905364f17c854fbb3bb96b90f652a9b10e37d12c226f83a92a73664569d7ea616a0f7469d8f54a4cbcc7028ac7ba952e
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -1907,6 +1907,8 @@ module Aws::Redshift
|
|
1907
1907
|
# * {Types::SnapshotSchedule#schedule_description #schedule_description} => String
|
1908
1908
|
# * {Types::SnapshotSchedule#tags #tags} => Array<Types::Tag>
|
1909
1909
|
# * {Types::SnapshotSchedule#next_invocations #next_invocations} => Array<Time>
|
1910
|
+
# * {Types::SnapshotSchedule#associated_cluster_count #associated_cluster_count} => Integer
|
1911
|
+
# * {Types::SnapshotSchedule#associated_clusters #associated_clusters} => Array<Types::ClusterAssociatedToSchedule>
|
1910
1912
|
#
|
1911
1913
|
# @example Request syntax with placeholder values
|
1912
1914
|
#
|
@@ -1935,6 +1937,10 @@ module Aws::Redshift
|
|
1935
1937
|
# resp.tags[0].value #=> String
|
1936
1938
|
# resp.next_invocations #=> Array
|
1937
1939
|
# resp.next_invocations[0] #=> Time
|
1940
|
+
# resp.associated_cluster_count #=> Integer
|
1941
|
+
# resp.associated_clusters #=> Array
|
1942
|
+
# resp.associated_clusters[0].cluster_identifier #=> String
|
1943
|
+
# resp.associated_clusters[0].schedule_association_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
1938
1944
|
#
|
1939
1945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotSchedule AWS API Documentation
|
1940
1946
|
#
|
@@ -2998,21 +3004,8 @@ module Aws::Redshift
|
|
2998
3004
|
# A value that indicates whether to return snapshots only for an
|
2999
3005
|
# existing cluster. Table-level restore can be performed only using a
|
3000
3006
|
# snapshot of an existing cluster, that is, a cluster that has not been
|
3001
|
-
# deleted.
|
3002
|
-
#
|
3003
|
-
# * If `ClusterExists` is set to `true`, `ClusterIdentifier` is
|
3004
|
-
# required.
|
3005
|
-
#
|
3006
|
-
# * If `ClusterExists` is set to `false` and `ClusterIdentifier` is not
|
3007
|
-
# specified, all snapshots associated with deleted clusters (orphaned
|
3008
|
-
# snapshots) are returned.
|
3009
|
-
#
|
3010
|
-
# * If `ClusterExists` is set to `false` and `ClusterIdentifier` is
|
3011
|
-
# specified for a deleted cluster, snapshots associated with that
|
3012
|
-
# cluster are returned.
|
3013
|
-
#
|
3014
|
-
# * If `ClusterExists` is set to `false` and `ClusterIdentifier` is
|
3015
|
-
# specified for an existing cluster, no snapshots are returned.
|
3007
|
+
# deleted. If `ClusterExists` is set to `true`, `ClusterIdentifier` is
|
3008
|
+
# required.
|
3016
3009
|
#
|
3017
3010
|
# @option params [Array<Types::SnapshotSortingEntity>] :sorting_entities
|
3018
3011
|
#
|
@@ -4524,6 +4517,10 @@ module Aws::Redshift
|
|
4524
4517
|
# resp.snapshot_schedules[0].tags[0].value #=> String
|
4525
4518
|
# resp.snapshot_schedules[0].next_invocations #=> Array
|
4526
4519
|
# resp.snapshot_schedules[0].next_invocations[0] #=> Time
|
4520
|
+
# resp.snapshot_schedules[0].associated_cluster_count #=> Integer
|
4521
|
+
# resp.snapshot_schedules[0].associated_clusters #=> Array
|
4522
|
+
# resp.snapshot_schedules[0].associated_clusters[0].cluster_identifier #=> String
|
4523
|
+
# resp.snapshot_schedules[0].associated_clusters[0].schedule_association_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
4527
4524
|
# resp.marker #=> String
|
4528
4525
|
#
|
4529
4526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotSchedules AWS API Documentation
|
@@ -6668,6 +6665,8 @@ module Aws::Redshift
|
|
6668
6665
|
# * {Types::SnapshotSchedule#schedule_description #schedule_description} => String
|
6669
6666
|
# * {Types::SnapshotSchedule#tags #tags} => Array<Types::Tag>
|
6670
6667
|
# * {Types::SnapshotSchedule#next_invocations #next_invocations} => Array<Time>
|
6668
|
+
# * {Types::SnapshotSchedule#associated_cluster_count #associated_cluster_count} => Integer
|
6669
|
+
# * {Types::SnapshotSchedule#associated_clusters #associated_clusters} => Array<Types::ClusterAssociatedToSchedule>
|
6671
6670
|
#
|
6672
6671
|
# @example Request syntax with placeholder values
|
6673
6672
|
#
|
@@ -6687,6 +6686,10 @@ module Aws::Redshift
|
|
6687
6686
|
# resp.tags[0].value #=> String
|
6688
6687
|
# resp.next_invocations #=> Array
|
6689
6688
|
# resp.next_invocations[0] #=> Time
|
6689
|
+
# resp.associated_cluster_count #=> Integer
|
6690
|
+
# resp.associated_clusters #=> Array
|
6691
|
+
# resp.associated_clusters[0].cluster_identifier #=> String
|
6692
|
+
# resp.associated_clusters[0].schedule_association_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
|
6690
6693
|
#
|
6691
6694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotSchedule AWS API Documentation
|
6692
6695
|
#
|
@@ -7852,7 +7855,7 @@ module Aws::Redshift
|
|
7852
7855
|
params: params,
|
7853
7856
|
config: config)
|
7854
7857
|
context[:gem_name] = 'aws-sdk-redshift'
|
7855
|
-
context[:gem_version] = '1.
|
7858
|
+
context[:gem_version] = '1.18.0'
|
7856
7859
|
Seahorse::Client::Request.new(handlers, context)
|
7857
7860
|
end
|
7858
7861
|
|
@@ -18,6 +18,7 @@ module Aws::Redshift
|
|
18
18
|
AccountAttributeList = Shapes::StructureShape.new(name: 'AccountAttributeList')
|
19
19
|
AccountWithRestoreAccess = Shapes::StructureShape.new(name: 'AccountWithRestoreAccess')
|
20
20
|
AccountsWithRestoreAccessList = Shapes::ListShape.new(name: 'AccountsWithRestoreAccessList')
|
21
|
+
AssociatedClusterList = Shapes::ListShape.new(name: 'AssociatedClusterList')
|
21
22
|
AttributeList = Shapes::ListShape.new(name: 'AttributeList')
|
22
23
|
AttributeNameList = Shapes::ListShape.new(name: 'AttributeNameList')
|
23
24
|
AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
|
@@ -45,6 +46,7 @@ module Aws::Redshift
|
|
45
46
|
CancelResizeMessage = Shapes::StructureShape.new(name: 'CancelResizeMessage')
|
46
47
|
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
47
48
|
ClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'ClusterAlreadyExistsFault')
|
49
|
+
ClusterAssociatedToSchedule = Shapes::StructureShape.new(name: 'ClusterAssociatedToSchedule')
|
48
50
|
ClusterCredentials = Shapes::StructureShape.new(name: 'ClusterCredentials')
|
49
51
|
ClusterDbRevision = Shapes::StructureShape.new(name: 'ClusterDbRevision')
|
50
52
|
ClusterDbRevisionsList = Shapes::ListShape.new(name: 'ClusterDbRevisionsList')
|
@@ -410,6 +412,8 @@ module Aws::Redshift
|
|
410
412
|
|
411
413
|
AccountsWithRestoreAccessList.member = Shapes::ShapeRef.new(shape: AccountWithRestoreAccess, location_name: "AccountWithRestoreAccess")
|
412
414
|
|
415
|
+
AssociatedClusterList.member = Shapes::ShapeRef.new(shape: ClusterAssociatedToSchedule, location_name: "ClusterAssociatedToSchedule")
|
416
|
+
|
413
417
|
AttributeList.member = Shapes::ShapeRef.new(shape: AccountAttribute, location_name: "AccountAttribute")
|
414
418
|
|
415
419
|
AttributeNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "AttributeName")
|
@@ -509,6 +513,10 @@ module Aws::Redshift
|
|
509
513
|
Cluster.add_member(:resize_info, Shapes::ShapeRef.new(shape: ResizeInfo, location_name: "ResizeInfo"))
|
510
514
|
Cluster.struct_class = Types::Cluster
|
511
515
|
|
516
|
+
ClusterAssociatedToSchedule.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
517
|
+
ClusterAssociatedToSchedule.add_member(:schedule_association_state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "ScheduleAssociationState"))
|
518
|
+
ClusterAssociatedToSchedule.struct_class = Types::ClusterAssociatedToSchedule
|
519
|
+
|
512
520
|
ClusterCredentials.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
513
521
|
ClusterCredentials.add_member(:db_password, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "DbPassword"))
|
514
522
|
ClusterCredentials.add_member(:expiration, Shapes::ShapeRef.new(shape: TStamp, location_name: "Expiration"))
|
@@ -1553,6 +1561,8 @@ module Aws::Redshift
|
|
1553
1561
|
SnapshotSchedule.add_member(:schedule_description, Shapes::ShapeRef.new(shape: String, location_name: "ScheduleDescription"))
|
1554
1562
|
SnapshotSchedule.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1555
1563
|
SnapshotSchedule.add_member(:next_invocations, Shapes::ShapeRef.new(shape: ScheduledSnapshotTimeList, location_name: "NextInvocations"))
|
1564
|
+
SnapshotSchedule.add_member(:associated_cluster_count, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AssociatedClusterCount"))
|
1565
|
+
SnapshotSchedule.add_member(:associated_clusters, Shapes::ShapeRef.new(shape: AssociatedClusterList, location_name: "AssociatedClusters"))
|
1556
1566
|
SnapshotSchedule.struct_class = Types::SnapshotSchedule
|
1557
1567
|
|
1558
1568
|
SnapshotScheduleList.member = Shapes::ShapeRef.new(shape: SnapshotSchedule, location_name: "SnapshotSchedule")
|
@@ -654,6 +654,20 @@ module Aws::Redshift
|
|
654
654
|
include Aws::Structure
|
655
655
|
end
|
656
656
|
|
657
|
+
# @!attribute [rw] cluster_identifier
|
658
|
+
# @return [String]
|
659
|
+
#
|
660
|
+
# @!attribute [rw] schedule_association_state
|
661
|
+
# @return [String]
|
662
|
+
#
|
663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterAssociatedToSchedule AWS API Documentation
|
664
|
+
#
|
665
|
+
class ClusterAssociatedToSchedule < Struct.new(
|
666
|
+
:cluster_identifier,
|
667
|
+
:schedule_association_state)
|
668
|
+
include Aws::Structure
|
669
|
+
end
|
670
|
+
|
657
671
|
# Temporary credentials with authorization to log on to an Amazon
|
658
672
|
# Redshift database.
|
659
673
|
#
|
@@ -3199,21 +3213,8 @@ module Aws::Redshift
|
|
3199
3213
|
# A value that indicates whether to return snapshots only for an
|
3200
3214
|
# existing cluster. Table-level restore can be performed only using a
|
3201
3215
|
# snapshot of an existing cluster, that is, a cluster that has not
|
3202
|
-
# been deleted.
|
3203
|
-
#
|
3204
|
-
# * If `ClusterExists` is set to `true`, `ClusterIdentifier` is
|
3205
|
-
# required.
|
3206
|
-
#
|
3207
|
-
# * If `ClusterExists` is set to `false` and `ClusterIdentifier` is
|
3208
|
-
# not specified, all snapshots associated with deleted clusters
|
3209
|
-
# (orphaned snapshots) are returned.
|
3210
|
-
#
|
3211
|
-
# * If `ClusterExists` is set to `false` and `ClusterIdentifier` is
|
3212
|
-
# specified for a deleted cluster, snapshots associated with that
|
3213
|
-
# cluster are returned.
|
3214
|
-
#
|
3215
|
-
# * If `ClusterExists` is set to `false` and `ClusterIdentifier` is
|
3216
|
-
# specified for an existing cluster, no snapshots are returned.
|
3216
|
+
# been deleted. If `ClusterExists` is set to `true`,
|
3217
|
+
# `ClusterIdentifier` is required.
|
3217
3218
|
# @return [Boolean]
|
3218
3219
|
#
|
3219
3220
|
# @!attribute [rw] sorting_entities
|
@@ -7784,6 +7785,12 @@ module Aws::Redshift
|
|
7784
7785
|
# @!attribute [rw] next_invocations
|
7785
7786
|
# @return [Array<Time>]
|
7786
7787
|
#
|
7788
|
+
# @!attribute [rw] associated_cluster_count
|
7789
|
+
# @return [Integer]
|
7790
|
+
#
|
7791
|
+
# @!attribute [rw] associated_clusters
|
7792
|
+
# @return [Array<Types::ClusterAssociatedToSchedule>]
|
7793
|
+
#
|
7787
7794
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotSchedule AWS API Documentation
|
7788
7795
|
#
|
7789
7796
|
class SnapshotSchedule < Struct.new(
|
@@ -7791,7 +7798,9 @@ module Aws::Redshift
|
|
7791
7798
|
:schedule_identifier,
|
7792
7799
|
:schedule_description,
|
7793
7800
|
:tags,
|
7794
|
-
:next_invocations
|
7801
|
+
:next_invocations,
|
7802
|
+
:associated_cluster_count,
|
7803
|
+
:associated_clusters)
|
7795
7804
|
include Aws::Structure
|
7796
7805
|
end
|
7797
7806
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|