aws-sdk-redshift 1.66.0 → 1.70.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,7 @@ module Aws::Redshift
25
25
  AquaConfiguration = Shapes::StructureShape.new(name: 'AquaConfiguration')
26
26
  AquaConfigurationStatus = Shapes::StringShape.new(name: 'AquaConfigurationStatus')
27
27
  AquaStatus = Shapes::StringShape.new(name: 'AquaStatus')
28
+ AssociateDataShareConsumerMessage = Shapes::StructureShape.new(name: 'AssociateDataShareConsumerMessage')
28
29
  AssociatedClusterList = Shapes::ListShape.new(name: 'AssociatedClusterList')
29
30
  AttributeList = Shapes::ListShape.new(name: 'AttributeList')
30
31
  AttributeNameList = Shapes::ListShape.new(name: 'AttributeNameList')
@@ -42,6 +43,7 @@ module Aws::Redshift
42
43
  AuthorizationStatus = Shapes::StringShape.new(name: 'AuthorizationStatus')
43
44
  AuthorizeClusterSecurityGroupIngressMessage = Shapes::StructureShape.new(name: 'AuthorizeClusterSecurityGroupIngressMessage')
44
45
  AuthorizeClusterSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'AuthorizeClusterSecurityGroupIngressResult')
46
+ AuthorizeDataShareMessage = Shapes::StructureShape.new(name: 'AuthorizeDataShareMessage')
45
47
  AuthorizeEndpointAccessMessage = Shapes::StructureShape.new(name: 'AuthorizeEndpointAccessMessage')
46
48
  AuthorizeSnapshotAccessMessage = Shapes::StructureShape.new(name: 'AuthorizeSnapshotAccessMessage')
47
49
  AuthorizeSnapshotAccessResult = Shapes::StructureShape.new(name: 'AuthorizeSnapshotAccessResult')
@@ -138,8 +140,16 @@ module Aws::Redshift
138
140
  CreateTagsMessage = Shapes::StructureShape.new(name: 'CreateTagsMessage')
139
141
  CreateUsageLimitMessage = Shapes::StructureShape.new(name: 'CreateUsageLimitMessage')
140
142
  CustomerStorageMessage = Shapes::StructureShape.new(name: 'CustomerStorageMessage')
143
+ DataShare = Shapes::StructureShape.new(name: 'DataShare')
144
+ DataShareAssociation = Shapes::StructureShape.new(name: 'DataShareAssociation')
145
+ DataShareAssociationList = Shapes::ListShape.new(name: 'DataShareAssociationList')
146
+ DataShareList = Shapes::ListShape.new(name: 'DataShareList')
147
+ DataShareStatus = Shapes::StringShape.new(name: 'DataShareStatus')
148
+ DataShareStatusForConsumer = Shapes::StringShape.new(name: 'DataShareStatusForConsumer')
149
+ DataShareStatusForProducer = Shapes::StringShape.new(name: 'DataShareStatusForProducer')
141
150
  DataTransferProgress = Shapes::StructureShape.new(name: 'DataTransferProgress')
142
151
  DbGroupList = Shapes::ListShape.new(name: 'DbGroupList')
152
+ DeauthorizeDataShareMessage = Shapes::StructureShape.new(name: 'DeauthorizeDataShareMessage')
143
153
  DefaultClusterParameters = Shapes::StructureShape.new(name: 'DefaultClusterParameters')
144
154
  DeferredMaintenanceWindow = Shapes::StructureShape.new(name: 'DeferredMaintenanceWindow')
145
155
  DeferredMaintenanceWindowsList = Shapes::ListShape.new(name: 'DeferredMaintenanceWindowsList')
@@ -176,6 +186,12 @@ module Aws::Redshift
176
186
  DescribeClusterTracksMessage = Shapes::StructureShape.new(name: 'DescribeClusterTracksMessage')
177
187
  DescribeClusterVersionsMessage = Shapes::StructureShape.new(name: 'DescribeClusterVersionsMessage')
178
188
  DescribeClustersMessage = Shapes::StructureShape.new(name: 'DescribeClustersMessage')
189
+ DescribeDataSharesForConsumerMessage = Shapes::StructureShape.new(name: 'DescribeDataSharesForConsumerMessage')
190
+ DescribeDataSharesForConsumerResult = Shapes::StructureShape.new(name: 'DescribeDataSharesForConsumerResult')
191
+ DescribeDataSharesForProducerMessage = Shapes::StructureShape.new(name: 'DescribeDataSharesForProducerMessage')
192
+ DescribeDataSharesForProducerResult = Shapes::StructureShape.new(name: 'DescribeDataSharesForProducerResult')
193
+ DescribeDataSharesMessage = Shapes::StructureShape.new(name: 'DescribeDataSharesMessage')
194
+ DescribeDataSharesResult = Shapes::StructureShape.new(name: 'DescribeDataSharesResult')
179
195
  DescribeDefaultClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeDefaultClusterParametersMessage')
180
196
  DescribeDefaultClusterParametersResult = Shapes::StructureShape.new(name: 'DescribeDefaultClusterParametersResult')
181
197
  DescribeEndpointAccessMessage = Shapes::StructureShape.new(name: 'DescribeEndpointAccessMessage')
@@ -203,6 +219,7 @@ module Aws::Redshift
203
219
  DisableLoggingMessage = Shapes::StructureShape.new(name: 'DisableLoggingMessage')
204
220
  DisableSnapshotCopyMessage = Shapes::StructureShape.new(name: 'DisableSnapshotCopyMessage')
205
221
  DisableSnapshotCopyResult = Shapes::StructureShape.new(name: 'DisableSnapshotCopyResult')
222
+ DisassociateDataShareConsumerMessage = Shapes::StructureShape.new(name: 'DisassociateDataShareConsumerMessage')
206
223
  Double = Shapes::FloatShape.new(name: 'Double')
207
224
  DoubleOptional = Shapes::FloatShape.new(name: 'DoubleOptional')
208
225
  EC2SecurityGroup = Shapes::StructureShape.new(name: 'EC2SecurityGroup')
@@ -277,10 +294,12 @@ module Aws::Redshift
277
294
  InvalidClusterSubnetGroupStateFault = Shapes::StructureShape.new(name: 'InvalidClusterSubnetGroupStateFault')
278
295
  InvalidClusterSubnetStateFault = Shapes::StructureShape.new(name: 'InvalidClusterSubnetStateFault')
279
296
  InvalidClusterTrackFault = Shapes::StructureShape.new(name: 'InvalidClusterTrackFault')
297
+ InvalidDataShareFault = Shapes::StructureShape.new(name: 'InvalidDataShareFault')
280
298
  InvalidElasticIpFault = Shapes::StructureShape.new(name: 'InvalidElasticIpFault')
281
299
  InvalidEndpointStateFault = Shapes::StructureShape.new(name: 'InvalidEndpointStateFault')
282
300
  InvalidHsmClientCertificateStateFault = Shapes::StructureShape.new(name: 'InvalidHsmClientCertificateStateFault')
283
301
  InvalidHsmConfigurationStateFault = Shapes::StructureShape.new(name: 'InvalidHsmConfigurationStateFault')
302
+ InvalidNamespaceFault = Shapes::StructureShape.new(name: 'InvalidNamespaceFault')
284
303
  InvalidReservedNodeStateFault = Shapes::StructureShape.new(name: 'InvalidReservedNodeStateFault')
285
304
  InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
286
305
  InvalidRetentionPeriodFault = Shapes::StructureShape.new(name: 'InvalidRetentionPeriodFault')
@@ -366,6 +385,7 @@ module Aws::Redshift
366
385
  RebootClusterResult = Shapes::StructureShape.new(name: 'RebootClusterResult')
367
386
  RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
368
387
  RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
388
+ RejectDataShareMessage = Shapes::StructureShape.new(name: 'RejectDataShareMessage')
369
389
  ReservedNode = Shapes::StructureShape.new(name: 'ReservedNode')
370
390
  ReservedNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyExistsFault')
371
391
  ReservedNodeAlreadyMigratedFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyMigratedFault')
@@ -534,6 +554,11 @@ module Aws::Redshift
534
554
  AquaConfiguration.add_member(:aqua_configuration_status, Shapes::ShapeRef.new(shape: AquaConfigurationStatus, location_name: "AquaConfigurationStatus"))
535
555
  AquaConfiguration.struct_class = Types::AquaConfiguration
536
556
 
557
+ AssociateDataShareConsumerMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
558
+ AssociateDataShareConsumerMessage.add_member(:associate_entire_account, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AssociateEntireAccount"))
559
+ AssociateDataShareConsumerMessage.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerArn"))
560
+ AssociateDataShareConsumerMessage.struct_class = Types::AssociateDataShareConsumerMessage
561
+
537
562
  AssociatedClusterList.member = Shapes::ShapeRef.new(shape: ClusterAssociatedToSchedule, location_name: "ClusterAssociatedToSchedule")
538
563
 
539
564
  AttributeList.member = Shapes::ShapeRef.new(shape: AccountAttribute, location_name: "AccountAttribute")
@@ -572,6 +597,10 @@ module Aws::Redshift
572
597
  AuthorizeClusterSecurityGroupIngressResult.add_member(:cluster_security_group, Shapes::ShapeRef.new(shape: ClusterSecurityGroup, location_name: "ClusterSecurityGroup"))
573
598
  AuthorizeClusterSecurityGroupIngressResult.struct_class = Types::AuthorizeClusterSecurityGroupIngressResult
574
599
 
600
+ AuthorizeDataShareMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
601
+ AuthorizeDataShareMessage.add_member(:consumer_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ConsumerIdentifier"))
602
+ AuthorizeDataShareMessage.struct_class = Types::AuthorizeDataShareMessage
603
+
575
604
  AuthorizeEndpointAccessMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
576
605
  AuthorizeEndpointAccessMessage.add_member(:account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Account"))
577
606
  AuthorizeEndpointAccessMessage.add_member(:vpc_ids, Shapes::ShapeRef.new(shape: VpcIdentifierList, location_name: "VpcIds"))
@@ -1003,6 +1032,22 @@ module Aws::Redshift
1003
1032
  CustomerStorageMessage.add_member(:total_provisioned_storage_in_mega_bytes, Shapes::ShapeRef.new(shape: Double, location_name: "TotalProvisionedStorageInMegaBytes"))
1004
1033
  CustomerStorageMessage.struct_class = Types::CustomerStorageMessage
1005
1034
 
1035
+ DataShare.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataShareArn"))
1036
+ DataShare.add_member(:producer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ProducerArn"))
1037
+ DataShare.add_member(:allow_publicly_accessible_consumers, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowPubliclyAccessibleConsumers"))
1038
+ DataShare.add_member(:data_share_associations, Shapes::ShapeRef.new(shape: DataShareAssociationList, location_name: "DataShareAssociations"))
1039
+ DataShare.struct_class = Types::DataShare
1040
+
1041
+ DataShareAssociation.add_member(:consumer_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerIdentifier"))
1042
+ DataShareAssociation.add_member(:status, Shapes::ShapeRef.new(shape: DataShareStatus, location_name: "Status"))
1043
+ DataShareAssociation.add_member(:created_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedDate"))
1044
+ DataShareAssociation.add_member(:status_change_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "StatusChangeDate"))
1045
+ DataShareAssociation.struct_class = Types::DataShareAssociation
1046
+
1047
+ DataShareAssociationList.member = Shapes::ShapeRef.new(shape: DataShareAssociation)
1048
+
1049
+ DataShareList.member = Shapes::ShapeRef.new(shape: DataShare)
1050
+
1006
1051
  DataTransferProgress.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
1007
1052
  DataTransferProgress.add_member(:current_rate_in_mega_bytes_per_second, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "CurrentRateInMegaBytesPerSecond"))
1008
1053
  DataTransferProgress.add_member(:total_data_in_mega_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "TotalDataInMegaBytes"))
@@ -1013,6 +1058,10 @@ module Aws::Redshift
1013
1058
 
1014
1059
  DbGroupList.member = Shapes::ShapeRef.new(shape: String, location_name: "DbGroup")
1015
1060
 
1061
+ DeauthorizeDataShareMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
1062
+ DeauthorizeDataShareMessage.add_member(:consumer_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ConsumerIdentifier"))
1063
+ DeauthorizeDataShareMessage.struct_class = Types::DeauthorizeDataShareMessage
1064
+
1016
1065
  DefaultClusterParameters.add_member(:parameter_group_family, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupFamily"))
1017
1066
  DefaultClusterParameters.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1018
1067
  DefaultClusterParameters.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersList, location_name: "Parameters"))
@@ -1163,6 +1212,35 @@ module Aws::Redshift
1163
1212
  DescribeClustersMessage.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValues"))
1164
1213
  DescribeClustersMessage.struct_class = Types::DescribeClustersMessage
1165
1214
 
1215
+ DescribeDataSharesForConsumerMessage.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerArn"))
1216
+ DescribeDataSharesForConsumerMessage.add_member(:status, Shapes::ShapeRef.new(shape: DataShareStatusForConsumer, location_name: "Status"))
1217
+ DescribeDataSharesForConsumerMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1218
+ DescribeDataSharesForConsumerMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1219
+ DescribeDataSharesForConsumerMessage.struct_class = Types::DescribeDataSharesForConsumerMessage
1220
+
1221
+ DescribeDataSharesForConsumerResult.add_member(:data_shares, Shapes::ShapeRef.new(shape: DataShareList, location_name: "DataShares"))
1222
+ DescribeDataSharesForConsumerResult.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1223
+ DescribeDataSharesForConsumerResult.struct_class = Types::DescribeDataSharesForConsumerResult
1224
+
1225
+ DescribeDataSharesForProducerMessage.add_member(:producer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ProducerArn"))
1226
+ DescribeDataSharesForProducerMessage.add_member(:status, Shapes::ShapeRef.new(shape: DataShareStatusForProducer, location_name: "Status"))
1227
+ DescribeDataSharesForProducerMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1228
+ DescribeDataSharesForProducerMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1229
+ DescribeDataSharesForProducerMessage.struct_class = Types::DescribeDataSharesForProducerMessage
1230
+
1231
+ DescribeDataSharesForProducerResult.add_member(:data_shares, Shapes::ShapeRef.new(shape: DataShareList, location_name: "DataShares"))
1232
+ DescribeDataSharesForProducerResult.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1233
+ DescribeDataSharesForProducerResult.struct_class = Types::DescribeDataSharesForProducerResult
1234
+
1235
+ DescribeDataSharesMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataShareArn"))
1236
+ DescribeDataSharesMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1237
+ DescribeDataSharesMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1238
+ DescribeDataSharesMessage.struct_class = Types::DescribeDataSharesMessage
1239
+
1240
+ DescribeDataSharesResult.add_member(:data_shares, Shapes::ShapeRef.new(shape: DataShareList, location_name: "DataShares"))
1241
+ DescribeDataSharesResult.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1242
+ DescribeDataSharesResult.struct_class = Types::DescribeDataSharesResult
1243
+
1166
1244
  DescribeDefaultClusterParametersMessage.add_member(:parameter_group_family, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupFamily"))
1167
1245
  DescribeDefaultClusterParametersMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1168
1246
  DescribeDefaultClusterParametersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
@@ -1320,6 +1398,11 @@ module Aws::Redshift
1320
1398
  DisableSnapshotCopyResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
1321
1399
  DisableSnapshotCopyResult.struct_class = Types::DisableSnapshotCopyResult
1322
1400
 
1401
+ DisassociateDataShareConsumerMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
1402
+ DisassociateDataShareConsumerMessage.add_member(:disassociate_entire_account, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DisassociateEntireAccount"))
1403
+ DisassociateDataShareConsumerMessage.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerArn"))
1404
+ DisassociateDataShareConsumerMessage.struct_class = Types::DisassociateDataShareConsumerMessage
1405
+
1323
1406
  EC2SecurityGroup.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
1324
1407
  EC2SecurityGroup.add_member(:ec2_security_group_name, Shapes::ShapeRef.new(shape: String, location_name: "EC2SecurityGroupName"))
1325
1408
  EC2SecurityGroup.add_member(:ec2_security_group_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "EC2SecurityGroupOwnerId"))
@@ -1559,6 +1642,8 @@ module Aws::Redshift
1559
1642
 
1560
1643
  InvalidClusterTrackFault.struct_class = Types::InvalidClusterTrackFault
1561
1644
 
1645
+ InvalidDataShareFault.struct_class = Types::InvalidDataShareFault
1646
+
1562
1647
  InvalidElasticIpFault.struct_class = Types::InvalidElasticIpFault
1563
1648
 
1564
1649
  InvalidEndpointStateFault.struct_class = Types::InvalidEndpointStateFault
@@ -1567,6 +1652,8 @@ module Aws::Redshift
1567
1652
 
1568
1653
  InvalidHsmConfigurationStateFault.struct_class = Types::InvalidHsmConfigurationStateFault
1569
1654
 
1655
+ InvalidNamespaceFault.struct_class = Types::InvalidNamespaceFault
1656
+
1570
1657
  InvalidReservedNodeStateFault.struct_class = Types::InvalidReservedNodeStateFault
1571
1658
 
1572
1659
  InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
@@ -1869,6 +1956,9 @@ module Aws::Redshift
1869
1956
 
1870
1957
  RecurringChargeList.member = Shapes::ShapeRef.new(shape: RecurringCharge, location_name: "RecurringCharge")
1871
1958
 
1959
+ RejectDataShareMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
1960
+ RejectDataShareMessage.struct_class = Types::RejectDataShareMessage
1961
+
1872
1962
  ReservedNode.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
1873
1963
  ReservedNode.add_member(:reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeOfferingId"))
1874
1964
  ReservedNode.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
@@ -2400,6 +2490,16 @@ module Aws::Redshift
2400
2490
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
2401
2491
  end)
2402
2492
 
2493
+ api.add_operation(:associate_data_share_consumer, Seahorse::Model::Operation.new.tap do |o|
2494
+ o.name = "AssociateDataShareConsumer"
2495
+ o.http_method = "POST"
2496
+ o.http_request_uri = "/"
2497
+ o.input = Shapes::ShapeRef.new(shape: AssociateDataShareConsumerMessage)
2498
+ o.output = Shapes::ShapeRef.new(shape: DataShare)
2499
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDataShareFault)
2500
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
2501
+ end)
2502
+
2403
2503
  api.add_operation(:authorize_cluster_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
2404
2504
  o.name = "AuthorizeClusterSecurityGroupIngress"
2405
2505
  o.http_method = "POST"
@@ -2412,6 +2512,15 @@ module Aws::Redshift
2412
2512
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationQuotaExceededFault)
2413
2513
  end)
2414
2514
 
2515
+ api.add_operation(:authorize_data_share, Seahorse::Model::Operation.new.tap do |o|
2516
+ o.name = "AuthorizeDataShare"
2517
+ o.http_method = "POST"
2518
+ o.http_request_uri = "/"
2519
+ o.input = Shapes::ShapeRef.new(shape: AuthorizeDataShareMessage)
2520
+ o.output = Shapes::ShapeRef.new(shape: DataShare)
2521
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDataShareFault)
2522
+ end)
2523
+
2415
2524
  api.add_operation(:authorize_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
2416
2525
  o.name = "AuthorizeEndpointAccess"
2417
2526
  o.http_method = "POST"
@@ -2710,6 +2819,15 @@ module Aws::Redshift
2710
2819
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2711
2820
  end)
2712
2821
 
2822
+ api.add_operation(:deauthorize_data_share, Seahorse::Model::Operation.new.tap do |o|
2823
+ o.name = "DeauthorizeDataShare"
2824
+ o.http_method = "POST"
2825
+ o.http_request_uri = "/"
2826
+ o.input = Shapes::ShapeRef.new(shape: DeauthorizeDataShareMessage)
2827
+ o.output = Shapes::ShapeRef.new(shape: DataShare)
2828
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDataShareFault)
2829
+ end)
2830
+
2713
2831
  api.add_operation(:delete_authentication_profile, Seahorse::Model::Operation.new.tap do |o|
2714
2832
  o.name = "DeleteAuthenticationProfile"
2715
2833
  o.http_method = "POST"
@@ -3038,6 +3156,33 @@ module Aws::Redshift
3038
3156
  )
3039
3157
  end)
3040
3158
 
3159
+ api.add_operation(:describe_data_shares, Seahorse::Model::Operation.new.tap do |o|
3160
+ o.name = "DescribeDataShares"
3161
+ o.http_method = "POST"
3162
+ o.http_request_uri = "/"
3163
+ o.input = Shapes::ShapeRef.new(shape: DescribeDataSharesMessage)
3164
+ o.output = Shapes::ShapeRef.new(shape: DescribeDataSharesResult)
3165
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDataShareFault)
3166
+ end)
3167
+
3168
+ api.add_operation(:describe_data_shares_for_consumer, Seahorse::Model::Operation.new.tap do |o|
3169
+ o.name = "DescribeDataSharesForConsumer"
3170
+ o.http_method = "POST"
3171
+ o.http_request_uri = "/"
3172
+ o.input = Shapes::ShapeRef.new(shape: DescribeDataSharesForConsumerMessage)
3173
+ o.output = Shapes::ShapeRef.new(shape: DescribeDataSharesForConsumerResult)
3174
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
3175
+ end)
3176
+
3177
+ api.add_operation(:describe_data_shares_for_producer, Seahorse::Model::Operation.new.tap do |o|
3178
+ o.name = "DescribeDataSharesForProducer"
3179
+ o.http_method = "POST"
3180
+ o.http_request_uri = "/"
3181
+ o.input = Shapes::ShapeRef.new(shape: DescribeDataSharesForProducerMessage)
3182
+ o.output = Shapes::ShapeRef.new(shape: DescribeDataSharesForProducerResult)
3183
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
3184
+ end)
3185
+
3041
3186
  api.add_operation(:describe_default_cluster_parameters, Seahorse::Model::Operation.new.tap do |o|
3042
3187
  o.name = "DescribeDefaultClusterParameters"
3043
3188
  o.http_method = "POST"
@@ -3373,6 +3518,16 @@ module Aws::Redshift
3373
3518
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
3374
3519
  end)
3375
3520
 
3521
+ api.add_operation(:disassociate_data_share_consumer, Seahorse::Model::Operation.new.tap do |o|
3522
+ o.name = "DisassociateDataShareConsumer"
3523
+ o.http_method = "POST"
3524
+ o.http_request_uri = "/"
3525
+ o.input = Shapes::ShapeRef.new(shape: DisassociateDataShareConsumerMessage)
3526
+ o.output = Shapes::ShapeRef.new(shape: DataShare)
3527
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDataShareFault)
3528
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
3529
+ end)
3530
+
3376
3531
  api.add_operation(:enable_logging, Seahorse::Model::Operation.new.tap do |o|
3377
3532
  o.name = "EnableLogging"
3378
3533
  o.http_method = "POST"
@@ -3673,6 +3828,15 @@ module Aws::Redshift
3673
3828
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3674
3829
  end)
3675
3830
 
3831
+ api.add_operation(:reject_data_share, Seahorse::Model::Operation.new.tap do |o|
3832
+ o.name = "RejectDataShare"
3833
+ o.http_method = "POST"
3834
+ o.http_request_uri = "/"
3835
+ o.input = Shapes::ShapeRef.new(shape: RejectDataShareMessage)
3836
+ o.output = Shapes::ShapeRef.new(shape: DataShare)
3837
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDataShareFault)
3838
+ end)
3839
+
3676
3840
  api.add_operation(:reset_cluster_parameter_group, Seahorse::Model::Operation.new.tap do |o|
3677
3841
  o.name = "ResetClusterParameterGroup"
3678
3842
  o.http_method = "POST"
@@ -86,10 +86,12 @@ module Aws::Redshift
86
86
  # * {InvalidClusterSubnetGroupStateFault}
87
87
  # * {InvalidClusterSubnetStateFault}
88
88
  # * {InvalidClusterTrackFault}
89
+ # * {InvalidDataShareFault}
89
90
  # * {InvalidElasticIpFault}
90
91
  # * {InvalidEndpointStateFault}
91
92
  # * {InvalidHsmClientCertificateStateFault}
92
93
  # * {InvalidHsmConfigurationStateFault}
94
+ # * {InvalidNamespaceFault}
93
95
  # * {InvalidReservedNodeStateFault}
94
96
  # * {InvalidRestoreFault}
95
97
  # * {InvalidRetentionPeriodFault}
@@ -747,6 +749,16 @@ module Aws::Redshift
747
749
  end
748
750
  end
749
751
 
752
+ class InvalidDataShareFault < ServiceError
753
+
754
+ # @param [Seahorse::Client::RequestContext] context
755
+ # @param [String] message
756
+ # @param [Aws::Redshift::Types::InvalidDataShareFault] data
757
+ def initialize(context, message, data = Aws::EmptyStructure.new)
758
+ super(context, message, data)
759
+ end
760
+ end
761
+
750
762
  class InvalidElasticIpFault < ServiceError
751
763
 
752
764
  # @param [Seahorse::Client::RequestContext] context
@@ -787,6 +799,16 @@ module Aws::Redshift
787
799
  end
788
800
  end
789
801
 
802
+ class InvalidNamespaceFault < ServiceError
803
+
804
+ # @param [Seahorse::Client::RequestContext] context
805
+ # @param [String] message
806
+ # @param [Aws::Redshift::Types::InvalidNamespaceFault] data
807
+ def initialize(context, message, data = Aws::EmptyStructure.new)
808
+ super(context, message, data)
809
+ end
810
+ end
811
+
790
812
  class InvalidReservedNodeStateFault < ServiceError
791
813
 
792
814
  # @param [Seahorse::Client::RequestContext] context