aws-sdk-redshift 1.79.0 → 1.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift/client.rb +53 -13
- data/lib/aws-sdk-redshift/client_api.rb +11 -1
- data/lib/aws-sdk-redshift/types.rb +54 -9
- data/lib/aws-sdk-redshift.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c42ee2c42afc0c9c9d9b8a091061102c79a6b02c4fe305715038cc94860f1902
|
4
|
+
data.tar.gz: df17f29b34fd27c78a5ce1651624dd90d174835b450054dffbb0cdbf2d511955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 163bbd98c9dbbd841f0e59d27687d25222a4f6970702067ce7237e752af5d4dd9fab6211ba5ce91c210ebf590b9a8add1885ac3c5ad27855dc05e6a75bc0bd94
|
7
|
+
data.tar.gz: 12beb7595214b46950adab475c4836b4c759cb4a47ece2487612a76cf4089c8f432026af6b6d8919123427a2ba379fc511c84c91c13a974f03af431b72b27cfc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.82.0 (2022-05-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Introduces new field 'LoadSampleData' in CreateCluster operation. Customers can now specify 'LoadSampleData' option during creation of a cluster, which results in loading of sample data in the cluster that is created.
|
8
|
+
|
9
|
+
1.81.0 (2022-04-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Introduces new fields for LogDestinationType and LogExports on EnableLogging requests and Enable/Disable/DescribeLogging responses. Customers can now select CloudWatch Logs as a destination for their Audit Logs.
|
13
|
+
|
14
|
+
1.80.0 (2022-03-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds a new [--encrypted | --no-encrypted] field in restore-from-cluster-snapshot API. Customers can now restore an unencrypted snapshot to a cluster encrypted with AWS Managed Key or their own KMS key.
|
18
|
+
|
4
19
|
1.79.0 (2022-02-24)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.82.0
|
@@ -598,7 +598,7 @@ module Aws::Redshift
|
|
598
598
|
# From a data producer account, authorizes the sharing of a datashare
|
599
599
|
# with one or more consumer accounts or managing entities. To authorize
|
600
600
|
# a datashare for a data consumer, the producer account must have the
|
601
|
-
# correct access
|
601
|
+
# correct access permissions.
|
602
602
|
#
|
603
603
|
# @option params [required, String] :data_share_arn
|
604
604
|
# The Amazon Resource Name (ARN) of the datashare that producers are to
|
@@ -1466,6 +1466,10 @@ module Aws::Redshift
|
|
1466
1466
|
# The Amazon Resource Name (ARN) for the IAM role that was set as
|
1467
1467
|
# default for the cluster when the cluster was created.
|
1468
1468
|
#
|
1469
|
+
# @option params [String] :load_sample_data
|
1470
|
+
# A flag that specifies whether to load sample data once the cluster is
|
1471
|
+
# created.
|
1472
|
+
#
|
1469
1473
|
# @return [Types::CreateClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1470
1474
|
#
|
1471
1475
|
# * {Types::CreateClusterResult#cluster #cluster} => Types::Cluster
|
@@ -1511,6 +1515,7 @@ module Aws::Redshift
|
|
1511
1515
|
# availability_zone_relocation: false,
|
1512
1516
|
# aqua_configuration_status: "enabled", # accepts enabled, disabled, auto
|
1513
1517
|
# default_iam_role_arn: "String",
|
1518
|
+
# load_sample_data: "String",
|
1514
1519
|
# })
|
1515
1520
|
#
|
1516
1521
|
# @example Response structure
|
@@ -2733,8 +2738,8 @@ module Aws::Redshift
|
|
2733
2738
|
req.send_request(options)
|
2734
2739
|
end
|
2735
2740
|
|
2736
|
-
# From
|
2737
|
-
# datashare.
|
2741
|
+
# From a datashare producer account, removes authorization from the
|
2742
|
+
# specified datashare.
|
2738
2743
|
#
|
2739
2744
|
# @option params [required, String] :data_share_arn
|
2740
2745
|
# The Amazon Resource Name (ARN) of the datashare to remove
|
@@ -5496,6 +5501,8 @@ module Aws::Redshift
|
|
5496
5501
|
# * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
|
5497
5502
|
# * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
|
5498
5503
|
# * {Types::LoggingStatus#last_failure_message #last_failure_message} => String
|
5504
|
+
# * {Types::LoggingStatus#log_destination_type #log_destination_type} => String
|
5505
|
+
# * {Types::LoggingStatus#log_exports #log_exports} => Array<String>
|
5499
5506
|
#
|
5500
5507
|
# @example Request syntax with placeholder values
|
5501
5508
|
#
|
@@ -5511,6 +5518,9 @@ module Aws::Redshift
|
|
5511
5518
|
# resp.last_successful_delivery_time #=> Time
|
5512
5519
|
# resp.last_failure_time #=> Time
|
5513
5520
|
# resp.last_failure_message #=> String
|
5521
|
+
# resp.log_destination_type #=> String, one of "s3", "cloudwatch"
|
5522
|
+
# resp.log_exports #=> Array
|
5523
|
+
# resp.log_exports[0] #=> String
|
5514
5524
|
#
|
5515
5525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus AWS API Documentation
|
5516
5526
|
#
|
@@ -6646,6 +6656,8 @@ module Aws::Redshift
|
|
6646
6656
|
# * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
|
6647
6657
|
# * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
|
6648
6658
|
# * {Types::LoggingStatus#last_failure_message #last_failure_message} => String
|
6659
|
+
# * {Types::LoggingStatus#log_destination_type #log_destination_type} => String
|
6660
|
+
# * {Types::LoggingStatus#log_exports #log_exports} => Array<String>
|
6649
6661
|
#
|
6650
6662
|
# @example Request syntax with placeholder values
|
6651
6663
|
#
|
@@ -6661,6 +6673,9 @@ module Aws::Redshift
|
|
6661
6673
|
# resp.last_successful_delivery_time #=> Time
|
6662
6674
|
# resp.last_failure_time #=> Time
|
6663
6675
|
# resp.last_failure_message #=> String
|
6676
|
+
# resp.log_destination_type #=> String, one of "s3", "cloudwatch"
|
6677
|
+
# resp.log_exports #=> Array
|
6678
|
+
# resp.log_exports[0] #=> String
|
6664
6679
|
#
|
6665
6680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging AWS API Documentation
|
6666
6681
|
#
|
@@ -6826,8 +6841,8 @@ module Aws::Redshift
|
|
6826
6841
|
req.send_request(options)
|
6827
6842
|
end
|
6828
6843
|
|
6829
|
-
# From a consumer account, remove association for the
|
6830
|
-
# datashare.
|
6844
|
+
# From a datashare consumer account, remove association for the
|
6845
|
+
# specified datashare.
|
6831
6846
|
#
|
6832
6847
|
# @option params [required, String] :data_share_arn
|
6833
6848
|
# The Amazon Resource Name (ARN) of the datashare to remove association
|
@@ -6893,7 +6908,7 @@ module Aws::Redshift
|
|
6893
6908
|
#
|
6894
6909
|
# Example: `examplecluster`
|
6895
6910
|
#
|
6896
|
-
# @option params [
|
6911
|
+
# @option params [String] :bucket_name
|
6897
6912
|
# The name of an existing S3 bucket where the log files are to be
|
6898
6913
|
# stored.
|
6899
6914
|
#
|
@@ -6924,6 +6939,14 @@ module Aws::Redshift
|
|
6924
6939
|
#
|
6925
6940
|
# * x7f or larger
|
6926
6941
|
#
|
6942
|
+
# @option params [String] :log_destination_type
|
6943
|
+
# The log destination type. An enum with possible values of `s3` and
|
6944
|
+
# `cloudwatch`.
|
6945
|
+
#
|
6946
|
+
# @option params [Array<String>] :log_exports
|
6947
|
+
# The collection of exported log types. Log types include the connection
|
6948
|
+
# log, user log and user activity log.
|
6949
|
+
#
|
6927
6950
|
# @return [Types::LoggingStatus] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6928
6951
|
#
|
6929
6952
|
# * {Types::LoggingStatus#logging_enabled #logging_enabled} => Boolean
|
@@ -6932,13 +6955,17 @@ module Aws::Redshift
|
|
6932
6955
|
# * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
|
6933
6956
|
# * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
|
6934
6957
|
# * {Types::LoggingStatus#last_failure_message #last_failure_message} => String
|
6958
|
+
# * {Types::LoggingStatus#log_destination_type #log_destination_type} => String
|
6959
|
+
# * {Types::LoggingStatus#log_exports #log_exports} => Array<String>
|
6935
6960
|
#
|
6936
6961
|
# @example Request syntax with placeholder values
|
6937
6962
|
#
|
6938
6963
|
# resp = client.enable_logging({
|
6939
6964
|
# cluster_identifier: "String", # required
|
6940
|
-
# bucket_name: "String",
|
6965
|
+
# bucket_name: "String",
|
6941
6966
|
# s3_key_prefix: "String",
|
6967
|
+
# log_destination_type: "s3", # accepts s3, cloudwatch
|
6968
|
+
# log_exports: ["String"],
|
6942
6969
|
# })
|
6943
6970
|
#
|
6944
6971
|
# @example Response structure
|
@@ -6949,6 +6976,9 @@ module Aws::Redshift
|
|
6949
6976
|
# resp.last_successful_delivery_time #=> Time
|
6950
6977
|
# resp.last_failure_time #=> Time
|
6951
6978
|
# resp.last_failure_message #=> String
|
6979
|
+
# resp.log_destination_type #=> String, one of "s3", "cloudwatch"
|
6980
|
+
# resp.log_exports #=> Array
|
6981
|
+
# resp.log_exports[0] #=> String
|
6952
6982
|
#
|
6953
6983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging AWS API Documentation
|
6954
6984
|
#
|
@@ -7167,7 +7197,7 @@ module Aws::Redshift
|
|
7167
7197
|
# the `redshift:JoinGroup` action with access to the listed `dbgroups`.
|
7168
7198
|
#
|
7169
7199
|
# In addition, if the `AutoCreate` parameter is set to `True`, then the
|
7170
|
-
# policy must include the `redshift:CreateClusterUser`
|
7200
|
+
# policy must include the `redshift:CreateClusterUser` permission.
|
7171
7201
|
#
|
7172
7202
|
# If the `DbName` parameter is specified, the IAM policy must allow
|
7173
7203
|
# access to the resource `dbname` for the specified database name.
|
@@ -9611,7 +9641,7 @@ module Aws::Redshift
|
|
9611
9641
|
req.send_request(options)
|
9612
9642
|
end
|
9613
9643
|
|
9614
|
-
# From
|
9644
|
+
# From a datashare consumer account, rejects the specified datashare.
|
9615
9645
|
#
|
9616
9646
|
# @option params [required, String] :data_share_arn
|
9617
9647
|
# The Amazon Resource Name (ARN) of the datashare to reject.
|
@@ -10089,9 +10119,13 @@ module Aws::Redshift
|
|
10089
10119
|
# The value must be either -1 or an integer between 1 and 3,653.
|
10090
10120
|
#
|
10091
10121
|
# @option params [String] :kms_key_id
|
10092
|
-
# The Key Management Service (KMS) key ID of the encryption key that
|
10093
|
-
#
|
10094
|
-
#
|
10122
|
+
# The Key Management Service (KMS) key ID of the encryption key that
|
10123
|
+
# encrypts data in the cluster restored from a shared snapshot. You can
|
10124
|
+
# also provide the key ID when you restore from an unencrypted snapshot
|
10125
|
+
# to an encrypted cluster in the same account. Additionally, you can
|
10126
|
+
# specify a new KMS key ID when you restore from an encrypted snapshot
|
10127
|
+
# in the same account in order to change it. In that case, the restored
|
10128
|
+
# cluster is encrypted with the new KMS key ID.
|
10095
10129
|
#
|
10096
10130
|
# @option params [String] :node_type
|
10097
10131
|
# The node type that the restored cluster will be provisioned with.
|
@@ -10186,6 +10220,11 @@ module Aws::Redshift
|
|
10186
10220
|
# @option params [String] :target_reserved_node_offering_id
|
10187
10221
|
# The identifier of the target reserved node offering.
|
10188
10222
|
#
|
10223
|
+
# @option params [Boolean] :encrypted
|
10224
|
+
# Enables support for restoring an unencrypted snapshot to a cluster
|
10225
|
+
# encrypted with Key Management Service (KMS) and a customer managed
|
10226
|
+
# key.
|
10227
|
+
#
|
10189
10228
|
# @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10190
10229
|
#
|
10191
10230
|
# * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
|
@@ -10224,6 +10263,7 @@ module Aws::Redshift
|
|
10224
10263
|
# default_iam_role_arn: "String",
|
10225
10264
|
# reserved_node_id: "String",
|
10226
10265
|
# target_reserved_node_offering_id: "String",
|
10266
|
+
# encrypted: false,
|
10227
10267
|
# })
|
10228
10268
|
#
|
10229
10269
|
# @example Response structure
|
@@ -11033,7 +11073,7 @@ module Aws::Redshift
|
|
11033
11073
|
params: params,
|
11034
11074
|
config: config)
|
11035
11075
|
context[:gem_name] = 'aws-sdk-redshift'
|
11036
|
-
context[:gem_version] = '1.
|
11076
|
+
context[:gem_version] = '1.82.0'
|
11037
11077
|
Seahorse::Client::Request.new(handlers, context)
|
11038
11078
|
end
|
11039
11079
|
|
@@ -319,6 +319,8 @@ module Aws::Redshift
|
|
319
319
|
InvalidUsageLimitFault = Shapes::StructureShape.new(name: 'InvalidUsageLimitFault')
|
320
320
|
InvalidVPCNetworkStateFault = Shapes::StructureShape.new(name: 'InvalidVPCNetworkStateFault')
|
321
321
|
LimitExceededFault = Shapes::StructureShape.new(name: 'LimitExceededFault')
|
322
|
+
LogDestinationType = Shapes::StringShape.new(name: 'LogDestinationType')
|
323
|
+
LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
|
322
324
|
LoggingStatus = Shapes::StructureShape.new(name: 'LoggingStatus')
|
323
325
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
324
326
|
LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
|
@@ -925,6 +927,7 @@ module Aws::Redshift
|
|
925
927
|
CreateClusterMessage.add_member(:availability_zone_relocation, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AvailabilityZoneRelocation"))
|
926
928
|
CreateClusterMessage.add_member(:aqua_configuration_status, Shapes::ShapeRef.new(shape: AquaConfigurationStatus, location_name: "AquaConfigurationStatus"))
|
927
929
|
CreateClusterMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
930
|
+
CreateClusterMessage.add_member(:load_sample_data, Shapes::ShapeRef.new(shape: String, location_name: "LoadSampleData"))
|
928
931
|
CreateClusterMessage.struct_class = Types::CreateClusterMessage
|
929
932
|
|
930
933
|
CreateClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
|
@@ -1446,8 +1449,10 @@ module Aws::Redshift
|
|
1446
1449
|
EligibleTracksToUpdateList.member = Shapes::ShapeRef.new(shape: UpdateTarget, location_name: "UpdateTarget")
|
1447
1450
|
|
1448
1451
|
EnableLoggingMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1449
|
-
EnableLoggingMessage.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String,
|
1452
|
+
EnableLoggingMessage.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "BucketName"))
|
1450
1453
|
EnableLoggingMessage.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
1454
|
+
EnableLoggingMessage.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
|
1455
|
+
EnableLoggingMessage.add_member(:log_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "LogExports"))
|
1451
1456
|
EnableLoggingMessage.struct_class = Types::EnableLoggingMessage
|
1452
1457
|
|
1453
1458
|
EnableSnapshotCopyMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
@@ -1723,12 +1728,16 @@ module Aws::Redshift
|
|
1723
1728
|
|
1724
1729
|
LimitExceededFault.struct_class = Types::LimitExceededFault
|
1725
1730
|
|
1731
|
+
LogTypeList.member = Shapes::ShapeRef.new(shape: String)
|
1732
|
+
|
1726
1733
|
LoggingStatus.add_member(:logging_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "LoggingEnabled"))
|
1727
1734
|
LoggingStatus.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "BucketName"))
|
1728
1735
|
LoggingStatus.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
1729
1736
|
LoggingStatus.add_member(:last_successful_delivery_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "LastSuccessfulDeliveryTime"))
|
1730
1737
|
LoggingStatus.add_member(:last_failure_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "LastFailureTime"))
|
1731
1738
|
LoggingStatus.add_member(:last_failure_message, Shapes::ShapeRef.new(shape: String, location_name: "LastFailureMessage"))
|
1739
|
+
LoggingStatus.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
|
1740
|
+
LoggingStatus.add_member(:log_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "LogExports"))
|
1732
1741
|
LoggingStatus.struct_class = Types::LoggingStatus
|
1733
1742
|
|
1734
1743
|
MaintenanceTrack.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
|
@@ -2145,6 +2154,7 @@ module Aws::Redshift
|
|
2145
2154
|
RestoreFromClusterSnapshotMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
2146
2155
|
RestoreFromClusterSnapshotMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
|
2147
2156
|
RestoreFromClusterSnapshotMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeOfferingId"))
|
2157
|
+
RestoreFromClusterSnapshotMessage.add_member(:encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Encrypted"))
|
2148
2158
|
RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
|
2149
2159
|
|
2150
2160
|
RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -1001,7 +1001,7 @@ module Aws::Redshift
|
|
1001
1001
|
# A database user name that is authorized to log on to the database
|
1002
1002
|
# `DbName` using the password `DbPassword`. If the specified DbUser
|
1003
1003
|
# exists in the database, the new user name has the same database
|
1004
|
-
#
|
1004
|
+
# permissions as the the user named in DbUser. By default, the user is
|
1005
1005
|
# added to PUBLIC. If the `DbGroups` parameter is specifed, `DbUser`
|
1006
1006
|
# is added to the listed groups for any sessions created using these
|
1007
1007
|
# credentials.
|
@@ -1880,6 +1880,7 @@ module Aws::Redshift
|
|
1880
1880
|
# availability_zone_relocation: false,
|
1881
1881
|
# aqua_configuration_status: "enabled", # accepts enabled, disabled, auto
|
1882
1882
|
# default_iam_role_arn: "String",
|
1883
|
+
# load_sample_data: "String",
|
1883
1884
|
# }
|
1884
1885
|
#
|
1885
1886
|
# @!attribute [rw] db_name
|
@@ -2265,6 +2266,11 @@ module Aws::Redshift
|
|
2265
2266
|
# default for the cluster when the cluster was created.
|
2266
2267
|
# @return [String]
|
2267
2268
|
#
|
2269
|
+
# @!attribute [rw] load_sample_data
|
2270
|
+
# A flag that specifies whether to load sample data once the cluster
|
2271
|
+
# is created.
|
2272
|
+
# @return [String]
|
2273
|
+
#
|
2268
2274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage AWS API Documentation
|
2269
2275
|
#
|
2270
2276
|
class CreateClusterMessage < Struct.new(
|
@@ -2300,7 +2306,8 @@ module Aws::Redshift
|
|
2300
2306
|
:snapshot_schedule_identifier,
|
2301
2307
|
:availability_zone_relocation,
|
2302
2308
|
:aqua_configuration_status,
|
2303
|
-
:default_iam_role_arn
|
2309
|
+
:default_iam_role_arn,
|
2310
|
+
:load_sample_data)
|
2304
2311
|
SENSITIVE = []
|
2305
2312
|
include Aws::Structure
|
2306
2313
|
end
|
@@ -3252,7 +3259,7 @@ module Aws::Redshift
|
|
3252
3259
|
#
|
3253
3260
|
# @!attribute [rw] data_share_associations
|
3254
3261
|
# A value that specifies when the datashare has an association between
|
3255
|
-
#
|
3262
|
+
# producer and data consumers.
|
3256
3263
|
# @return [Array<Types::DataShareAssociation>]
|
3257
3264
|
#
|
3258
3265
|
# @!attribute [rw] managed_by
|
@@ -6325,8 +6332,10 @@ module Aws::Redshift
|
|
6325
6332
|
#
|
6326
6333
|
# {
|
6327
6334
|
# cluster_identifier: "String", # required
|
6328
|
-
# bucket_name: "String",
|
6335
|
+
# bucket_name: "String",
|
6329
6336
|
# s3_key_prefix: "String",
|
6337
|
+
# log_destination_type: "s3", # accepts s3, cloudwatch
|
6338
|
+
# log_exports: ["String"],
|
6330
6339
|
# }
|
6331
6340
|
#
|
6332
6341
|
# @!attribute [rw] cluster_identifier
|
@@ -6368,12 +6377,24 @@ module Aws::Redshift
|
|
6368
6377
|
# * x7f or larger
|
6369
6378
|
# @return [String]
|
6370
6379
|
#
|
6380
|
+
# @!attribute [rw] log_destination_type
|
6381
|
+
# The log destination type. An enum with possible values of `s3` and
|
6382
|
+
# `cloudwatch`.
|
6383
|
+
# @return [String]
|
6384
|
+
#
|
6385
|
+
# @!attribute [rw] log_exports
|
6386
|
+
# The collection of exported log types. Log types include the
|
6387
|
+
# connection log, user log and user activity log.
|
6388
|
+
# @return [Array<String>]
|
6389
|
+
#
|
6371
6390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLoggingMessage AWS API Documentation
|
6372
6391
|
#
|
6373
6392
|
class EnableLoggingMessage < Struct.new(
|
6374
6393
|
:cluster_identifier,
|
6375
6394
|
:bucket_name,
|
6376
|
-
:s3_key_prefix
|
6395
|
+
:s3_key_prefix,
|
6396
|
+
:log_destination_type,
|
6397
|
+
:log_exports)
|
6377
6398
|
SENSITIVE = []
|
6378
6399
|
include Aws::Structure
|
6379
6400
|
end
|
@@ -7690,6 +7711,16 @@ module Aws::Redshift
|
|
7690
7711
|
# The message indicating that logs failed to be delivered.
|
7691
7712
|
# @return [String]
|
7692
7713
|
#
|
7714
|
+
# @!attribute [rw] log_destination_type
|
7715
|
+
# The log destination type. An enum with possible values of `s3` and
|
7716
|
+
# `cloudwatch`.
|
7717
|
+
# @return [String]
|
7718
|
+
#
|
7719
|
+
# @!attribute [rw] log_exports
|
7720
|
+
# The collection of exported log types. Log types include the
|
7721
|
+
# connection log, user log and user activity log.
|
7722
|
+
# @return [Array<String>]
|
7723
|
+
#
|
7693
7724
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/LoggingStatus AWS API Documentation
|
7694
7725
|
#
|
7695
7726
|
class LoggingStatus < Struct.new(
|
@@ -7698,7 +7729,9 @@ module Aws::Redshift
|
|
7698
7729
|
:s3_key_prefix,
|
7699
7730
|
:last_successful_delivery_time,
|
7700
7731
|
:last_failure_time,
|
7701
|
-
:last_failure_message
|
7732
|
+
:last_failure_message,
|
7733
|
+
:log_destination_type,
|
7734
|
+
:log_exports)
|
7702
7735
|
SENSITIVE = []
|
7703
7736
|
include Aws::Structure
|
7704
7737
|
end
|
@@ -10102,6 +10135,7 @@ module Aws::Redshift
|
|
10102
10135
|
# default_iam_role_arn: "String",
|
10103
10136
|
# reserved_node_id: "String",
|
10104
10137
|
# target_reserved_node_offering_id: "String",
|
10138
|
+
# encrypted: false,
|
10105
10139
|
# }
|
10106
10140
|
#
|
10107
10141
|
# @!attribute [rw] cluster_identifier
|
@@ -10276,8 +10310,12 @@ module Aws::Redshift
|
|
10276
10310
|
#
|
10277
10311
|
# @!attribute [rw] kms_key_id
|
10278
10312
|
# The Key Management Service (KMS) key ID of the encryption key that
|
10279
|
-
#
|
10280
|
-
#
|
10313
|
+
# encrypts data in the cluster restored from a shared snapshot. You
|
10314
|
+
# can also provide the key ID when you restore from an unencrypted
|
10315
|
+
# snapshot to an encrypted cluster in the same account. Additionally,
|
10316
|
+
# you can specify a new KMS key ID when you restore from an encrypted
|
10317
|
+
# snapshot in the same account in order to change it. In that case,
|
10318
|
+
# the restored cluster is encrypted with the new KMS key ID.
|
10281
10319
|
# @return [String]
|
10282
10320
|
#
|
10283
10321
|
# @!attribute [rw] node_type
|
@@ -10388,6 +10426,12 @@ module Aws::Redshift
|
|
10388
10426
|
# The identifier of the target reserved node offering.
|
10389
10427
|
# @return [String]
|
10390
10428
|
#
|
10429
|
+
# @!attribute [rw] encrypted
|
10430
|
+
# Enables support for restoring an unencrypted snapshot to a cluster
|
10431
|
+
# encrypted with Key Management Service (KMS) and a customer managed
|
10432
|
+
# key.
|
10433
|
+
# @return [Boolean]
|
10434
|
+
#
|
10391
10435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
|
10392
10436
|
#
|
10393
10437
|
class RestoreFromClusterSnapshotMessage < Struct.new(
|
@@ -10421,7 +10465,8 @@ module Aws::Redshift
|
|
10421
10465
|
:aqua_configuration_status,
|
10422
10466
|
:default_iam_role_arn,
|
10423
10467
|
:reserved_node_id,
|
10424
|
-
:target_reserved_node_offering_id
|
10468
|
+
:target_reserved_node_offering_id,
|
10469
|
+
:encrypted)
|
10425
10470
|
SENSITIVE = []
|
10426
10471
|
include Aws::Structure
|
10427
10472
|
end
|
data/lib/aws-sdk-redshift.rb
CHANGED
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.82.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: 2022-
|
11
|
+
date: 2022-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|