aws-sdk-redshift 1.80.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: 8acbad17b7838dd36967fe5f1a73775ec9fd751e1233fbc3806afee1d210f37d
4
- data.tar.gz: b1032f5b71ccd35801324aa3a9d74e5df0bbb30331ed20494f14dae6f554b057
3
+ metadata.gz: 12078c9aa66902f5111dd3e895628d509c2e3e3575573523894ee0665693602b
4
+ data.tar.gz: a96174d04d2016eefa76fd8e3004852f443611c4322b10b738b3522269cab226
5
5
  SHA512:
6
- metadata.gz: 22fd0890847ab270cb3ec265b4145fa3ff2a4f169e4dc5ea6f902588d05c5c1f8189e53b80da44f0988f6bd5c835745d119dc5dc3e7affce32bb7ed1674daa77
7
- data.tar.gz: 58b364d7bd9497bc767cd4bcf0572a269801fa62a8e72ba5c520e74e0da3382c32fa0bba2ec3ca9255edc69db8e3c7fd1130732b92a663fb1c5cf1bccab4eca8
6
+ metadata.gz: 940086eb96b6c51dd8eb623749ec095c705fc8a21f9281fbfd385ada07c5f88b599a5ede011062e14c82e2b1eeab34a897ada240863f82c19a41c9c6ccae9926
7
+ data.tar.gz: 3b18fb89c4ab7b0da1a3fb67f91ab41e5600ac434df8d49190966396101958dcd61b055ba021677339c7012c88e2b43787c9fdeaa94cb81c72ff298b4d4f6f9b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.80.0 (2022-03-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.80.0
1
+ 1.81.0
@@ -5496,6 +5496,8 @@ module Aws::Redshift
5496
5496
  # * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
5497
5497
  # * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
5498
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>
5499
5501
  #
5500
5502
  # @example Request syntax with placeholder values
5501
5503
  #
@@ -5511,6 +5513,9 @@ module Aws::Redshift
5511
5513
  # resp.last_successful_delivery_time #=> Time
5512
5514
  # resp.last_failure_time #=> Time
5513
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
5514
5519
  #
5515
5520
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus AWS API Documentation
5516
5521
  #
@@ -6646,6 +6651,8 @@ module Aws::Redshift
6646
6651
  # * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
6647
6652
  # * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
6648
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>
6649
6656
  #
6650
6657
  # @example Request syntax with placeholder values
6651
6658
  #
@@ -6661,6 +6668,9 @@ module Aws::Redshift
6661
6668
  # resp.last_successful_delivery_time #=> Time
6662
6669
  # resp.last_failure_time #=> Time
6663
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
6664
6674
  #
6665
6675
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging AWS API Documentation
6666
6676
  #
@@ -6893,7 +6903,7 @@ module Aws::Redshift
6893
6903
  #
6894
6904
  # Example: `examplecluster`
6895
6905
  #
6896
- # @option params [required, String] :bucket_name
6906
+ # @option params [String] :bucket_name
6897
6907
  # The name of an existing S3 bucket where the log files are to be
6898
6908
  # stored.
6899
6909
  #
@@ -6924,6 +6934,14 @@ module Aws::Redshift
6924
6934
  #
6925
6935
  # * x7f or larger
6926
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
+ #
6927
6945
  # @return [Types::LoggingStatus] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6928
6946
  #
6929
6947
  # * {Types::LoggingStatus#logging_enabled #logging_enabled} => Boolean
@@ -6932,13 +6950,17 @@ module Aws::Redshift
6932
6950
  # * {Types::LoggingStatus#last_successful_delivery_time #last_successful_delivery_time} => Time
6933
6951
  # * {Types::LoggingStatus#last_failure_time #last_failure_time} => Time
6934
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;
6935
6955
  #
6936
6956
  # @example Request syntax with placeholder values
6937
6957
  #
6938
6958
  # resp = client.enable_logging({
6939
6959
  # cluster_identifier: "String", # required
6940
- # bucket_name: "String", # required
6960
+ # bucket_name: "String",
6941
6961
  # s3_key_prefix: "String",
6962
+ # log_destination_type: "s3", # accepts s3, cloudwatch
6963
+ # log_exports: ["String"],
6942
6964
  # })
6943
6965
  #
6944
6966
  # @example Response structure
@@ -6949,6 +6971,9 @@ module Aws::Redshift
6949
6971
  # resp.last_successful_delivery_time #=> Time
6950
6972
  # resp.last_failure_time #=> Time
6951
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
6952
6977
  #
6953
6978
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging AWS API Documentation
6954
6979
  #
@@ -10089,8 +10114,8 @@ module Aws::Redshift
10089
10114
  # The value must be either -1 or an integer between 1 and 3,653.
10090
10115
  #
10091
10116
  # @option params [String] :kms_key_id
10092
- # The Key Management Service (KMS) key ID of the encryption key to
10093
- # encrypt data in the cluster restored from a shared snapshot. You can
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
10094
10119
  # also provide the key ID when you restore from an unencrypted snapshot
10095
10120
  # to an encrypted cluster in the same account. Additionally, you can
10096
10121
  # specify a new KMS key ID when you restore from an encrypted snapshot
@@ -10192,7 +10217,8 @@ module Aws::Redshift
10192
10217
  #
10193
10218
  # @option params [Boolean] :encrypted
10194
10219
  # Enables support for restoring an unencrypted snapshot to a cluster
10195
- # encrypted with Key Management Service (KMS) and a CMK.
10220
+ # encrypted with Key Management Service (KMS) and a customer managed
10221
+ # key.
10196
10222
  #
10197
10223
  # @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10198
10224
  #
@@ -11042,7 +11068,7 @@ module Aws::Redshift
11042
11068
  params: params,
11043
11069
  config: config)
11044
11070
  context[:gem_name] = 'aws-sdk-redshift'
11045
- context[:gem_version] = '1.80.0'
11071
+ context[:gem_version] = '1.81.0'
11046
11072
  Seahorse::Client::Request.new(handlers, context)
11047
11073
  end
11048
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"))
@@ -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
@@ -10276,9 +10302,9 @@ module Aws::Redshift
10276
10302
  # @return [Integer]
10277
10303
  #
10278
10304
  # @!attribute [rw] kms_key_id
10279
- # The Key Management Service (KMS) key ID of the encryption key to
10280
- # encrypt data in the cluster restored from a shared snapshot. You can
10281
- # also provide the key ID when you restore from an unencrypted
10305
+ # The Key Management Service (KMS) key ID of the encryption key that
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
10282
10308
  # snapshot to an encrypted cluster in the same account. Additionally,
10283
10309
  # you can specify a new KMS key ID when you restore from an encrypted
10284
10310
  # snapshot in the same account in order to change it. In that case,
@@ -10395,7 +10421,8 @@ module Aws::Redshift
10395
10421
  #
10396
10422
  # @!attribute [rw] encrypted
10397
10423
  # Enables support for restoring an unencrypted snapshot to a cluster
10398
- # encrypted with Key Management Service (KMS) and a CMK.
10424
+ # encrypted with Key Management Service (KMS) and a customer managed
10425
+ # key.
10399
10426
  # @return [Boolean]
10400
10427
  #
10401
10428
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
@@ -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.80.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.80.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-03-23 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