aws-sdk-redshift 1.104.0 → 1.106.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift/client.rb +25 -1
- data/lib/aws-sdk-redshift/client_api.rb +4 -0
- data/lib/aws-sdk-redshift/types.rb +25 -3
- data/lib/aws-sdk-redshift.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 003dc0a5c5f8a68c8f06f888abea06fdd817d6904e9bea990990f9cbda6741df
|
4
|
+
data.tar.gz: 06ac18ed5b843ab0075b1ade7f8ae076877dbfdd700a1f9d9680a22596465d13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 438baba5bee47c3d11948327b1d72dfcc39fdec9fbdf6aa948f3372a1b8bc4070ff7fa4a6a447e2e5e1895d0bdf46f94c404ddb45f1df8548f0b69f9c3e3a622
|
7
|
+
data.tar.gz: d14692af3977f4f3119b995366391c756315dd42ea260930dea27641c9cc30f66a951ccf98407ac2e4450949dfbbb8a918c2d1300fec940e685cd1511091bb5a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.106.0 (2023-11-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for multi-data warehouse writes through data sharing.
|
8
|
+
|
9
|
+
1.105.0 (2023-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.104.0 (2023-11-17)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.106.0
|
@@ -507,6 +507,9 @@ module Aws::Redshift
|
|
507
507
|
# existing and future namespaces in the specified Amazon Web Services
|
508
508
|
# Region.
|
509
509
|
#
|
510
|
+
# @option params [Boolean] :allow_writes
|
511
|
+
# If set to true, allows write operations for a datashare.
|
512
|
+
#
|
510
513
|
# @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
511
514
|
#
|
512
515
|
# * {Types::DataShare#data_share_arn #data_share_arn} => String
|
@@ -522,6 +525,7 @@ module Aws::Redshift
|
|
522
525
|
# associate_entire_account: false,
|
523
526
|
# consumer_arn: "String",
|
524
527
|
# consumer_region: "String",
|
528
|
+
# allow_writes: false,
|
525
529
|
# })
|
526
530
|
#
|
527
531
|
# @example Response structure
|
@@ -535,6 +539,8 @@ module Aws::Redshift
|
|
535
539
|
# resp.data_share_associations[0].consumer_region #=> String
|
536
540
|
# resp.data_share_associations[0].created_date #=> Time
|
537
541
|
# resp.data_share_associations[0].status_change_date #=> Time
|
542
|
+
# resp.data_share_associations[0].producer_allowed_writes #=> Boolean
|
543
|
+
# resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
|
538
544
|
# resp.managed_by #=> String
|
539
545
|
#
|
540
546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumer AWS API Documentation
|
@@ -646,6 +652,9 @@ module Aws::Redshift
|
|
646
652
|
# datashare. This identifier is an Amazon Web Services account ID or a
|
647
653
|
# keyword, such as ADX.
|
648
654
|
#
|
655
|
+
# @option params [Boolean] :allow_writes
|
656
|
+
# If set to true, allows write operations for a datashare.
|
657
|
+
#
|
649
658
|
# @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
650
659
|
#
|
651
660
|
# * {Types::DataShare#data_share_arn #data_share_arn} => String
|
@@ -659,6 +668,7 @@ module Aws::Redshift
|
|
659
668
|
# resp = client.authorize_data_share({
|
660
669
|
# data_share_arn: "String", # required
|
661
670
|
# consumer_identifier: "String", # required
|
671
|
+
# allow_writes: false,
|
662
672
|
# })
|
663
673
|
#
|
664
674
|
# @example Response structure
|
@@ -672,6 +682,8 @@ module Aws::Redshift
|
|
672
682
|
# resp.data_share_associations[0].consumer_region #=> String
|
673
683
|
# resp.data_share_associations[0].created_date #=> Time
|
674
684
|
# resp.data_share_associations[0].status_change_date #=> Time
|
685
|
+
# resp.data_share_associations[0].producer_allowed_writes #=> Boolean
|
686
|
+
# resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
|
675
687
|
# resp.managed_by #=> String
|
676
688
|
#
|
677
689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShare AWS API Documentation
|
@@ -3005,6 +3017,8 @@ module Aws::Redshift
|
|
3005
3017
|
# resp.data_share_associations[0].consumer_region #=> String
|
3006
3018
|
# resp.data_share_associations[0].created_date #=> Time
|
3007
3019
|
# resp.data_share_associations[0].status_change_date #=> Time
|
3020
|
+
# resp.data_share_associations[0].producer_allowed_writes #=> Boolean
|
3021
|
+
# resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
|
3008
3022
|
# resp.managed_by #=> String
|
3009
3023
|
#
|
3010
3024
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare AWS API Documentation
|
@@ -5035,6 +5049,8 @@ module Aws::Redshift
|
|
5035
5049
|
# resp.data_shares[0].data_share_associations[0].consumer_region #=> String
|
5036
5050
|
# resp.data_shares[0].data_share_associations[0].created_date #=> Time
|
5037
5051
|
# resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
|
5052
|
+
# resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
|
5053
|
+
# resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
|
5038
5054
|
# resp.data_shares[0].managed_by #=> String
|
5039
5055
|
# resp.marker #=> String
|
5040
5056
|
#
|
@@ -5103,6 +5119,8 @@ module Aws::Redshift
|
|
5103
5119
|
# resp.data_shares[0].data_share_associations[0].consumer_region #=> String
|
5104
5120
|
# resp.data_shares[0].data_share_associations[0].created_date #=> Time
|
5105
5121
|
# resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
|
5122
|
+
# resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
|
5123
|
+
# resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
|
5106
5124
|
# resp.data_shares[0].managed_by #=> String
|
5107
5125
|
# resp.marker #=> String
|
5108
5126
|
#
|
@@ -5171,6 +5189,8 @@ module Aws::Redshift
|
|
5171
5189
|
# resp.data_shares[0].data_share_associations[0].consumer_region #=> String
|
5172
5190
|
# resp.data_shares[0].data_share_associations[0].created_date #=> Time
|
5173
5191
|
# resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
|
5192
|
+
# resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
|
5193
|
+
# resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
|
5174
5194
|
# resp.data_shares[0].managed_by #=> String
|
5175
5195
|
# resp.marker #=> String
|
5176
5196
|
#
|
@@ -7430,6 +7450,8 @@ module Aws::Redshift
|
|
7430
7450
|
# resp.data_share_associations[0].consumer_region #=> String
|
7431
7451
|
# resp.data_share_associations[0].created_date #=> Time
|
7432
7452
|
# resp.data_share_associations[0].status_change_date #=> Time
|
7453
|
+
# resp.data_share_associations[0].producer_allowed_writes #=> Boolean
|
7454
|
+
# resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
|
7433
7455
|
# resp.managed_by #=> String
|
7434
7456
|
#
|
7435
7457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer AWS API Documentation
|
@@ -10768,6 +10790,8 @@ module Aws::Redshift
|
|
10768
10790
|
# resp.data_share_associations[0].consumer_region #=> String
|
10769
10791
|
# resp.data_share_associations[0].created_date #=> Time
|
10770
10792
|
# resp.data_share_associations[0].status_change_date #=> Time
|
10793
|
+
# resp.data_share_associations[0].producer_allowed_writes #=> Boolean
|
10794
|
+
# resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
|
10771
10795
|
# resp.managed_by #=> String
|
10772
10796
|
#
|
10773
10797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare AWS API Documentation
|
@@ -12261,7 +12285,7 @@ module Aws::Redshift
|
|
12261
12285
|
params: params,
|
12262
12286
|
config: config)
|
12263
12287
|
context[:gem_name] = 'aws-sdk-redshift'
|
12264
|
-
context[:gem_version] = '1.
|
12288
|
+
context[:gem_version] = '1.106.0'
|
12265
12289
|
Seahorse::Client::Request.new(handlers, context)
|
12266
12290
|
end
|
12267
12291
|
|
@@ -633,6 +633,7 @@ module Aws::Redshift
|
|
633
633
|
AssociateDataShareConsumerMessage.add_member(:associate_entire_account, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AssociateEntireAccount"))
|
634
634
|
AssociateDataShareConsumerMessage.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerArn"))
|
635
635
|
AssociateDataShareConsumerMessage.add_member(:consumer_region, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerRegion"))
|
636
|
+
AssociateDataShareConsumerMessage.add_member(:allow_writes, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AllowWrites"))
|
636
637
|
AssociateDataShareConsumerMessage.struct_class = Types::AssociateDataShareConsumerMessage
|
637
638
|
|
638
639
|
AssociatedClusterList.member = Shapes::ShapeRef.new(shape: ClusterAssociatedToSchedule, location_name: "ClusterAssociatedToSchedule")
|
@@ -682,6 +683,7 @@ module Aws::Redshift
|
|
682
683
|
|
683
684
|
AuthorizeDataShareMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
|
684
685
|
AuthorizeDataShareMessage.add_member(:consumer_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ConsumerIdentifier"))
|
686
|
+
AuthorizeDataShareMessage.add_member(:allow_writes, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AllowWrites"))
|
685
687
|
AuthorizeDataShareMessage.struct_class = Types::AuthorizeDataShareMessage
|
686
688
|
|
687
689
|
AuthorizeEndpointAccessMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
@@ -1199,6 +1201,8 @@ module Aws::Redshift
|
|
1199
1201
|
DataShareAssociation.add_member(:consumer_region, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerRegion"))
|
1200
1202
|
DataShareAssociation.add_member(:created_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedDate"))
|
1201
1203
|
DataShareAssociation.add_member(:status_change_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "StatusChangeDate"))
|
1204
|
+
DataShareAssociation.add_member(:producer_allowed_writes, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ProducerAllowedWrites"))
|
1205
|
+
DataShareAssociation.add_member(:consumer_accepted_writes, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ConsumerAcceptedWrites"))
|
1202
1206
|
DataShareAssociation.struct_class = Types::DataShareAssociation
|
1203
1207
|
|
1204
1208
|
DataShareAssociationList.member = Shapes::ShapeRef.new(shape: DataShareAssociation)
|
@@ -152,13 +152,18 @@ module Aws::Redshift
|
|
152
152
|
# Region.
|
153
153
|
# @return [String]
|
154
154
|
#
|
155
|
+
# @!attribute [rw] allow_writes
|
156
|
+
# If set to true, allows write operations for a datashare.
|
157
|
+
# @return [Boolean]
|
158
|
+
#
|
155
159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumerMessage AWS API Documentation
|
156
160
|
#
|
157
161
|
class AssociateDataShareConsumerMessage < Struct.new(
|
158
162
|
:data_share_arn,
|
159
163
|
:associate_entire_account,
|
160
164
|
:consumer_arn,
|
161
|
-
:consumer_region
|
165
|
+
:consumer_region,
|
166
|
+
:allow_writes)
|
162
167
|
SENSITIVE = []
|
163
168
|
include Aws::Structure
|
164
169
|
end
|
@@ -320,11 +325,16 @@ module Aws::Redshift
|
|
320
325
|
# keyword, such as ADX.
|
321
326
|
# @return [String]
|
322
327
|
#
|
328
|
+
# @!attribute [rw] allow_writes
|
329
|
+
# If set to true, allows write operations for a datashare.
|
330
|
+
# @return [Boolean]
|
331
|
+
#
|
323
332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShareMessage AWS API Documentation
|
324
333
|
#
|
325
334
|
class AuthorizeDataShareMessage < Struct.new(
|
326
335
|
:data_share_arn,
|
327
|
-
:consumer_identifier
|
336
|
+
:consumer_identifier,
|
337
|
+
:allow_writes)
|
328
338
|
SENSITIVE = []
|
329
339
|
include Aws::Structure
|
330
340
|
end
|
@@ -3281,6 +3291,16 @@ module Aws::Redshift
|
|
3281
3291
|
# The status change data of the datashare that is associated.
|
3282
3292
|
# @return [Time]
|
3283
3293
|
#
|
3294
|
+
# @!attribute [rw] producer_allowed_writes
|
3295
|
+
# Specifies whether write operations were allowed during data share
|
3296
|
+
# authorization.
|
3297
|
+
# @return [Boolean]
|
3298
|
+
#
|
3299
|
+
# @!attribute [rw] consumer_accepted_writes
|
3300
|
+
# Specifies whether write operations were allowed during data share
|
3301
|
+
# association.
|
3302
|
+
# @return [Boolean]
|
3303
|
+
#
|
3284
3304
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DataShareAssociation AWS API Documentation
|
3285
3305
|
#
|
3286
3306
|
class DataShareAssociation < Struct.new(
|
@@ -3288,7 +3308,9 @@ module Aws::Redshift
|
|
3288
3308
|
:status,
|
3289
3309
|
:consumer_region,
|
3290
3310
|
:created_date,
|
3291
|
-
:status_change_date
|
3311
|
+
:status_change_date,
|
3312
|
+
:producer_allowed_writes,
|
3313
|
+
:consumer_accepted_writes)
|
3292
3314
|
SENSITIVE = []
|
3293
3315
|
include Aws::Structure
|
3294
3316
|
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.106.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: 2023-11-
|
11
|
+
date: 2023-11-27 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.
|
22
|
+
version: 3.188.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.
|
32
|
+
version: 3.188.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '2.
|
84
|
+
version: '2.5'
|
85
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|