aws-sdk-redshift 1.78.0 → 1.81.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce03fb7ba082665876cfeda054c7347c2754c9fe8f49dbe2a077c99b50a0f40b
4
- data.tar.gz: e6d0ef27b2bdd233a4ea23f81cdf0804d25d230a13bd43af0c0c9a8ed9d1b805
3
+ metadata.gz: 12078c9aa66902f5111dd3e895628d509c2e3e3575573523894ee0665693602b
4
+ data.tar.gz: a96174d04d2016eefa76fd8e3004852f443611c4322b10b738b3522269cab226
5
5
  SHA512:
6
- metadata.gz: 5fdc8ec2eeacdb88793eded1d6b47601ceec874ae9a1fcbb352de0656b3a9e5b7e3d22da69c2feaccc3c4ea0b8c31d485739c8f73b6a4dc3aede9b054bc26bf4
7
- data.tar.gz: 1e83be0521040618d56552d79d7f2a8e4de5e553aeab0aed306a4b8d489019bb97e584929147a84d6aa049079a2ab9be6fb4431bff93d2a8f065a6d9e2557be6
6
+ metadata.gz: 940086eb96b6c51dd8eb623749ec095c705fc8a21f9281fbfd385ada07c5f88b599a5ede011062e14c82e2b1eeab34a897ada240863f82c19a41c9c6ccae9926
7
+ data.tar.gz: 3b18fb89c4ab7b0da1a3fb67f91ab41e5600ac434df8d49190966396101958dcd61b055ba021677339c7012c88e2b43787c9fdeaa94cb81c72ff298b4d4f6f9b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2022-04-19)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.80.0 (2022-03-23)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.79.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.78.0 (2022-02-17)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.78.0
1
+ 1.81.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Redshift
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -5494,6 +5496,8 @@ module Aws::Redshift
5494
5496
  # * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
5495
5497
  # * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
5496
5498
  # * {Types::LoggingStatus#last_failure_message #last_failure_message} => String
5499
+ # * {Types::LoggingStatus#log_destination_type #log_destination_type} => String
5500
+ # * {Types::LoggingStatus#log_exports #log_exports} => Array<String>
5497
5501
  #
5498
5502
  # @example Request syntax with placeholder values
5499
5503
  #
@@ -5509,6 +5513,9 @@ module Aws::Redshift
5509
5513
  # resp.last_successful_delivery_time #=> Time
5510
5514
  # resp.last_failure_time #=> Time
5511
5515
  # resp.last_failure_message #=> String
5516
+ # resp.log_destination_type #=> String, one of "s3", "cloudwatch"
5517
+ # resp.log_exports #=> Array
5518
+ # resp.log_exports[0] #=> String
5512
5519
  #
5513
5520
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus AWS API Documentation
5514
5521
  #
@@ -6644,6 +6651,8 @@ module Aws::Redshift
6644
6651
  # * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
6645
6652
  # * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
6646
6653
  # * {Types::LoggingStatus#last_failure_message #last_failure_message} => String
6654
+ # * {Types::LoggingStatus#log_destination_type #log_destination_type} => String
6655
+ # * {Types::LoggingStatus#log_exports #log_exports} => Array<String>
6647
6656
  #
6648
6657
  # @example Request syntax with placeholder values
6649
6658
  #
@@ -6659,6 +6668,9 @@ module Aws::Redshift
6659
6668
  # resp.last_successful_delivery_time #=> Time
6660
6669
  # resp.last_failure_time #=> Time
6661
6670
  # resp.last_failure_message #=> String
6671
+ # resp.log_destination_type #=> String, one of "s3", "cloudwatch"
6672
+ # resp.log_exports #=> Array
6673
+ # resp.log_exports[0] #=> String
6662
6674
  #
6663
6675
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging AWS API Documentation
6664
6676
  #
@@ -6891,7 +6903,7 @@ module Aws::Redshift
6891
6903
  #
6892
6904
  # Example: `examplecluster`
6893
6905
  #
6894
- # @option params [required, String] :bucket_name
6906
+ # @option params [String] :bucket_name
6895
6907
  # The name of an existing S3 bucket where the log files are to be
6896
6908
  # stored.
6897
6909
  #
@@ -6922,6 +6934,14 @@ module Aws::Redshift
6922
6934
  #
6923
6935
  # * x7f or larger
6924
6936
  #
6937
+ # @option params [String] :log_destination_type
6938
+ # The log destination type. An enum with possible values of `s3` and
6939
+ # `cloudwatch`.
6940
+ #
6941
+ # @option params [Array<String>] :log_exports
6942
+ # The collection of exported log types. Log types include the connection
6943
+ # log, user log and user activity log.
6944
+ #
6925
6945
  # @return [Types::LoggingStatus] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6926
6946
  #
6927
6947
  # * {Types::LoggingStatus#logging_enabled #logging_enabled} => Boolean
@@ -6930,13 +6950,17 @@ module Aws::Redshift
6930
6950
  # * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
6931
6951
  # * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
6932
6952
  # * {Types::LoggingStatus#last_failure_message #last_failure_message} => String
6953
+ # * {Types::LoggingStatus#log_destination_type #log_destination_type} => String
6954
+ # * {Types::LoggingStatus#log_exports #log_exports} => Array&lt;String&gt;
6933
6955
  #
6934
6956
  # @example Request syntax with placeholder values
6935
6957
  #
6936
6958
  # resp = client.enable_logging({
6937
6959
  # cluster_identifier: "String", # required
6938
- # bucket_name: "String", # required
6960
+ # bucket_name: "String",
6939
6961
  # s3_key_prefix: "String",
6962
+ # log_destination_type: "s3", # accepts s3, cloudwatch
6963
+ # log_exports: ["String"],
6940
6964
  # })
6941
6965
  #
6942
6966
  # @example Response structure
@@ -6947,6 +6971,9 @@ module Aws::Redshift
6947
6971
  # resp.last_successful_delivery_time #=> Time
6948
6972
  # resp.last_failure_time #=> Time
6949
6973
  # resp.last_failure_message #=> String
6974
+ # resp.log_destination_type #=> String, one of "s3", "cloudwatch"
6975
+ # resp.log_exports #=> Array
6976
+ # resp.log_exports[0] #=> String
6950
6977
  #
6951
6978
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging AWS API Documentation
6952
6979
  #
@@ -10087,9 +10114,13 @@ module Aws::Redshift
10087
10114
  # The value must be either -1 or an integer between 1 and 3,653.
10088
10115
  #
10089
10116
  # @option params [String] :kms_key_id
10090
- # The Key Management Service (KMS) key ID of the encryption key that you
10091
- # want to use to encrypt data in the cluster that you restore from a
10092
- # shared snapshot.
10117
+ # The Key Management Service (KMS) key ID of the encryption key that
10118
+ # encrypts data in the cluster restored from a shared snapshot. You can
10119
+ # also provide the key ID when you restore from an unencrypted snapshot
10120
+ # to an encrypted cluster in the same account. Additionally, you can
10121
+ # specify a new KMS key ID when you restore from an encrypted snapshot
10122
+ # in the same account in order to change it. In that case, the restored
10123
+ # cluster is encrypted with the new KMS key ID.
10093
10124
  #
10094
10125
  # @option params [String] :node_type
10095
10126
  # The node type that the restored cluster will be provisioned with.
@@ -10184,6 +10215,11 @@ module Aws::Redshift
10184
10215
  # @option params [String] :target_reserved_node_offering_id
10185
10216
  # The identifier of the target reserved node offering.
10186
10217
  #
10218
+ # @option params [Boolean] :encrypted
10219
+ # Enables support for restoring an unencrypted snapshot to a cluster
10220
+ # encrypted with Key Management Service (KMS) and a customer managed
10221
+ # key.
10222
+ #
10187
10223
  # @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10188
10224
  #
10189
10225
  # * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
@@ -10222,6 +10258,7 @@ module Aws::Redshift
10222
10258
  # default_iam_role_arn: "String",
10223
10259
  # reserved_node_id: "String",
10224
10260
  # target_reserved_node_offering_id: "String",
10261
+ # encrypted: false,
10225
10262
  # })
10226
10263
  #
10227
10264
  # @example Response structure
@@ -11031,7 +11068,7 @@ module Aws::Redshift
11031
11068
  params: params,
11032
11069
  config: config)
11033
11070
  context[:gem_name] = 'aws-sdk-redshift'
11034
- context[:gem_version] = '1.78.0'
11071
+ context[:gem_version] = '1.81.0'
11035
11072
  Seahorse::Client::Request.new(handlers, context)
11036
11073
  end
11037
11074
 
@@ -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')
@@ -1446,8 +1448,10 @@ module Aws::Redshift
1446
1448
  EligibleTracksToUpdateList.member = Shapes::ShapeRef.new(shape: UpdateTarget, location_name: "UpdateTarget")
1447
1449
 
1448
1450
  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, required: true, location_name: "BucketName"))
1451
+ EnableLoggingMessage.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "BucketName"))
1450
1452
  EnableLoggingMessage.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
1453
+ EnableLoggingMessage.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
1454
+ EnableLoggingMessage.add_member(:log_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "LogExports"))
1451
1455
  EnableLoggingMessage.struct_class = Types::EnableLoggingMessage
1452
1456
 
1453
1457
  EnableSnapshotCopyMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
@@ -1723,12 +1727,16 @@ module Aws::Redshift
1723
1727
 
1724
1728
  LimitExceededFault.struct_class = Types::LimitExceededFault
1725
1729
 
1730
+ LogTypeList.member = Shapes::ShapeRef.new(shape: String)
1731
+
1726
1732
  LoggingStatus.add_member(:logging_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "LoggingEnabled"))
1727
1733
  LoggingStatus.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "BucketName"))
1728
1734
  LoggingStatus.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
1729
1735
  LoggingStatus.add_member(:last_successful_delivery_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "LastSuccessfulDeliveryTime"))
1730
1736
  LoggingStatus.add_member(:last_failure_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "LastFailureTime"))
1731
1737
  LoggingStatus.add_member(:last_failure_message, Shapes::ShapeRef.new(shape: String, location_name: "LastFailureMessage"))
1738
+ LoggingStatus.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
1739
+ LoggingStatus.add_member(:log_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "LogExports"))
1732
1740
  LoggingStatus.struct_class = Types::LoggingStatus
1733
1741
 
1734
1742
  MaintenanceTrack.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
@@ -2145,6 +2153,7 @@ module Aws::Redshift
2145
2153
  RestoreFromClusterSnapshotMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
2146
2154
  RestoreFromClusterSnapshotMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
2147
2155
  RestoreFromClusterSnapshotMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeOfferingId"))
2156
+ RestoreFromClusterSnapshotMessage.add_member(:encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Encrypted"))
2148
2157
  RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
2149
2158
 
2150
2159
  RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
@@ -6325,8 +6325,10 @@ module Aws::Redshift
6325
6325
  #
6326
6326
  # {
6327
6327
  # cluster_identifier: "String", # required
6328
- # bucket_name: "String", # required
6328
+ # bucket_name: "String",
6329
6329
  # s3_key_prefix: "String",
6330
+ # log_destination_type: "s3", # accepts s3, cloudwatch
6331
+ # log_exports: ["String"],
6330
6332
  # }
6331
6333
  #
6332
6334
  # @!attribute [rw] cluster_identifier
@@ -6368,12 +6370,24 @@ module Aws::Redshift
6368
6370
  # * x7f or larger
6369
6371
  # @return [String]
6370
6372
  #
6373
+ # @!attribute [rw] log_destination_type
6374
+ # The log destination type. An enum with possible values of `s3` and
6375
+ # `cloudwatch`.
6376
+ # @return [String]
6377
+ #
6378
+ # @!attribute [rw] log_exports
6379
+ # The collection of exported log types. Log types include the
6380
+ # connection log, user log and user activity log.
6381
+ # @return [Array<String>]
6382
+ #
6371
6383
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLoggingMessage AWS API Documentation
6372
6384
  #
6373
6385
  class EnableLoggingMessage < Struct.new(
6374
6386
  :cluster_identifier,
6375
6387
  :bucket_name,
6376
- :s3_key_prefix)
6388
+ :s3_key_prefix,
6389
+ :log_destination_type,
6390
+ :log_exports)
6377
6391
  SENSITIVE = []
6378
6392
  include Aws::Structure
6379
6393
  end
@@ -7690,6 +7704,16 @@ module Aws::Redshift
7690
7704
  # The message indicating that logs failed to be delivered.
7691
7705
  # @return [String]
7692
7706
  #
7707
+ # @!attribute [rw] log_destination_type
7708
+ # The log destination type. An enum with possible values of `s3` and
7709
+ # `cloudwatch`.
7710
+ # @return [String]
7711
+ #
7712
+ # @!attribute [rw] log_exports
7713
+ # The collection of exported log types. Log types include the
7714
+ # connection log, user log and user activity log.
7715
+ # @return [Array<String>]
7716
+ #
7693
7717
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/LoggingStatus AWS API Documentation
7694
7718
  #
7695
7719
  class LoggingStatus < Struct.new(
@@ -7698,7 +7722,9 @@ module Aws::Redshift
7698
7722
  :s3_key_prefix,
7699
7723
  :last_successful_delivery_time,
7700
7724
  :last_failure_time,
7701
- :last_failure_message)
7725
+ :last_failure_message,
7726
+ :log_destination_type,
7727
+ :log_exports)
7702
7728
  SENSITIVE = []
7703
7729
  include Aws::Structure
7704
7730
  end
@@ -10102,6 +10128,7 @@ module Aws::Redshift
10102
10128
  # default_iam_role_arn: "String",
10103
10129
  # reserved_node_id: "String",
10104
10130
  # target_reserved_node_offering_id: "String",
10131
+ # encrypted: false,
10105
10132
  # }
10106
10133
  #
10107
10134
  # @!attribute [rw] cluster_identifier
@@ -10276,8 +10303,12 @@ module Aws::Redshift
10276
10303
  #
10277
10304
  # @!attribute [rw] kms_key_id
10278
10305
  # The Key Management Service (KMS) key ID of the encryption key that
10279
- # you want to use to encrypt data in the cluster that you restore from
10280
- # a shared snapshot.
10306
+ # encrypts data in the cluster restored from a shared snapshot. You
10307
+ # can also provide the key ID when you restore from an unencrypted
10308
+ # snapshot to an encrypted cluster in the same account. Additionally,
10309
+ # you can specify a new KMS key ID when you restore from an encrypted
10310
+ # snapshot in the same account in order to change it. In that case,
10311
+ # the restored cluster is encrypted with the new KMS key ID.
10281
10312
  # @return [String]
10282
10313
  #
10283
10314
  # @!attribute [rw] node_type
@@ -10388,6 +10419,12 @@ module Aws::Redshift
10388
10419
  # The identifier of the target reserved node offering.
10389
10420
  # @return [String]
10390
10421
  #
10422
+ # @!attribute [rw] encrypted
10423
+ # Enables support for restoring an unencrypted snapshot to a cluster
10424
+ # encrypted with Key Management Service (KMS) and a customer managed
10425
+ # key.
10426
+ # @return [Boolean]
10427
+ #
10391
10428
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
10392
10429
  #
10393
10430
  class RestoreFromClusterSnapshotMessage < Struct.new(
@@ -10421,7 +10458,8 @@ module Aws::Redshift
10421
10458
  :aqua_configuration_status,
10422
10459
  :default_iam_role_arn,
10423
10460
  :reserved_node_id,
10424
- :target_reserved_node_offering_id)
10461
+ :target_reserved_node_offering_id,
10462
+ :encrypted)
10425
10463
  SENSITIVE = []
10426
10464
  include Aws::Structure
10427
10465
  end
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-redshift/customizations'
49
49
  # @!group service
50
50
  module Aws::Redshift
51
51
 
52
- GEM_VERSION = '1.78.0'
52
+ GEM_VERSION = '1.81.0'
53
53
 
54
54
  end
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.78.0
4
+ version: 1.81.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-02-17 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.126.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement