aws-sdk-redshift 1.105.0 → 1.107.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/plugins/endpoints.rb +3 -2
- data/lib/aws-sdk-redshift/types.rb +25 -3
- 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: fcdee4eafa31112e8eaceb27dc17e2354a4e9ae12cc9fa619bcf95c1abf69af8
|
4
|
+
data.tar.gz: b04bf52ea7ca4bf3af58e9cc5fa62d4da0a3c00a957b2c318f9c4b7a1ca37a7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96ce1962b455f81cce00e19f3b46b60b6c150b36b7c8b7dab394e8f19bab12a149e571515bf663ca8b5956db7f859c546c3ca2a730c23165c066d5fe5c648fd4
|
7
|
+
data.tar.gz: 258d608cc7bd7c1ea0433428d663115a95d1181d780990acac8a748ea5332696bc039718b34b255975ac7931b64b2f46b93a1bd2f99c8fb6034d13e4b2f1c546
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.107.0 (2023-11-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.106.0 (2023-11-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for multi-data warehouse writes through data sharing.
|
13
|
+
|
4
14
|
1.105.0 (2023-11-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.107.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.107.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)
|
@@ -25,16 +25,17 @@ module Aws::Redshift
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -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.107.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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|