aws-sdk-redshift 1.67.0 → 1.68.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
@@ -93,10 +93,12 @@ module Aws::Redshift
93
93
  include Aws::Structure
94
94
  end
95
95
 
96
- # Describes an account authorized to restore a snapshot.
96
+ # Describes an Amazon Web Services account authorized to restore a
97
+ # snapshot.
97
98
  #
98
99
  # @!attribute [rw] account_id
99
- # The identifier of an account authorized to restore a snapshot.
100
+ # The identifier of an Amazon Web Services account authorized to
101
+ # restore a snapshot.
100
102
  # @return [String]
101
103
  #
102
104
  # @!attribute [rw] account_alias
@@ -131,8 +133,8 @@ module Aws::Redshift
131
133
  # The value represents how the cluster is configured to use AQUA.
132
134
  # Possible values include the following.
133
135
  #
134
- # * enabled - Use AQUA if it is available for the current Region and
135
- # Amazon Redshift node type.
136
+ # * enabled - Use AQUA if it is available for the current Amazon Web
137
+ # Services Region and Amazon Redshift node type.
136
138
  #
137
139
  # * disabled - Don't use AQUA.
138
140
  #
@@ -148,6 +150,40 @@ module Aws::Redshift
148
150
  include Aws::Structure
149
151
  end
150
152
 
153
+ # @note When making an API call, you may pass AssociateDataShareConsumerMessage
154
+ # data as a hash:
155
+ #
156
+ # {
157
+ # data_share_arn: "String", # required
158
+ # associate_entire_account: false,
159
+ # consumer_arn: "String",
160
+ # }
161
+ #
162
+ # @!attribute [rw] data_share_arn
163
+ # The Amazon Resource Name (ARN) of the datashare that the consumer is
164
+ # to use with the account or the namespace.
165
+ # @return [String]
166
+ #
167
+ # @!attribute [rw] associate_entire_account
168
+ # A value that specifies whether the datashare is associated with the
169
+ # entire account.
170
+ # @return [Boolean]
171
+ #
172
+ # @!attribute [rw] consumer_arn
173
+ # The Amazon Resource Name (ARN) of the consumer that is associated
174
+ # with the datashare.
175
+ # @return [String]
176
+ #
177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumerMessage AWS API Documentation
178
+ #
179
+ class AssociateDataShareConsumerMessage < Struct.new(
180
+ :data_share_arn,
181
+ :associate_entire_account,
182
+ :consumer_arn)
183
+ SENSITIVE = []
184
+ include Aws::Structure
185
+ end
186
+
151
187
  # Describes an attribute value.
152
188
  #
153
189
  # @!attribute [rw] attribute_value
@@ -248,9 +284,9 @@ module Aws::Redshift
248
284
  # @return [String]
249
285
  #
250
286
  # @!attribute [rw] ec2_security_group_owner_id
251
- # The account number of the owner of the security group specified by
252
- # the *EC2SecurityGroupName* parameter. The Amazon Web Services Access
253
- # Key ID is not an acceptable value.
287
+ # The Amazon Web Services account number of the owner of the security
288
+ # group specified by the *EC2SecurityGroupName* parameter. The Amazon
289
+ # Web Services Access Key ID is not an acceptable value.
254
290
  #
255
291
  # Example: `111122223333`
256
292
  # @return [String]
@@ -278,6 +314,33 @@ module Aws::Redshift
278
314
  include Aws::Structure
279
315
  end
280
316
 
317
+ # @note When making an API call, you may pass AuthorizeDataShareMessage
318
+ # data as a hash:
319
+ #
320
+ # {
321
+ # data_share_arn: "String", # required
322
+ # consumer_identifier: "String", # required
323
+ # }
324
+ #
325
+ # @!attribute [rw] data_share_arn
326
+ # The Amazon Resource Name (ARN) of the datashare that producers are
327
+ # to authorize sharing for.
328
+ # @return [String]
329
+ #
330
+ # @!attribute [rw] consumer_identifier
331
+ # The identifier of the data consumer that is authorized to access the
332
+ # datashare. This identifier is an AWS account ID.
333
+ # @return [String]
334
+ #
335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShareMessage AWS API Documentation
336
+ #
337
+ class AuthorizeDataShareMessage < Struct.new(
338
+ :data_share_arn,
339
+ :consumer_identifier)
340
+ SENSITIVE = []
341
+ include Aws::Structure
342
+ end
343
+
281
344
  # @note When making an API call, you may pass AuthorizeEndpointAccessMessage
282
345
  # data as a hash:
283
346
  #
@@ -292,7 +355,7 @@ module Aws::Redshift
292
355
  # @return [String]
293
356
  #
294
357
  # @!attribute [rw] account
295
- # The account ID to grant access to.
358
+ # The Amazon Web Services account ID to grant access to.
296
359
  # @return [String]
297
360
  #
298
361
  # @!attribute [rw] vpc_ids
@@ -330,8 +393,8 @@ module Aws::Redshift
330
393
  # @return [String]
331
394
  #
332
395
  # @!attribute [rw] account_with_restore_access
333
- # The identifier of the account authorized to restore the specified
334
- # snapshot.
396
+ # The identifier of the Amazon Web Services account authorized to
397
+ # restore the specified snapshot.
335
398
  #
336
399
  # To share a snapshot with Amazon Web Services Support, specify
337
400
  # amazon-redshift-support.
@@ -1667,7 +1730,8 @@ module Aws::Redshift
1667
1730
  #
1668
1731
  # * Cannot end with a hyphen or contain two consecutive hyphens.
1669
1732
  #
1670
- # * Must be unique for the account that is making the request.
1733
+ # * Must be unique for the Amazon Web Services account that is making
1734
+ # the request.
1671
1735
  # @return [String]
1672
1736
  #
1673
1737
  # @!attribute [rw] manual_snapshot_retention_period
@@ -1839,7 +1903,8 @@ module Aws::Redshift
1839
1903
  #
1840
1904
  # * Cannot end with a hyphen or contain two consecutive hyphens.
1841
1905
  #
1842
- # * Must be unique for all clusters within an account.
1906
+ # * Must be unique for all clusters within an Amazon Web Services
1907
+ # account.
1843
1908
  #
1844
1909
  # Example: `myexamplecluster`
1845
1910
  # @return [String]
@@ -2160,8 +2225,8 @@ module Aws::Redshift
2160
2225
  # (Advanced Query Accelerator) when it is created. Possible values
2161
2226
  # include the following.
2162
2227
  #
2163
- # * enabled - Use AQUA if it is available for the current Region and
2164
- # Amazon Redshift node type.
2228
+ # * enabled - Use AQUA if it is available for the current Amazon Web
2229
+ # Services Region and Amazon Redshift node type.
2165
2230
  #
2166
2231
  # * disabled - Don't use AQUA.
2167
2232
  #
@@ -2233,7 +2298,7 @@ module Aws::Redshift
2233
2298
  #
2234
2299
  # * Cannot end with a hyphen or contain two consecutive hyphens.
2235
2300
  #
2236
- # * Must be unique withing your account.
2301
+ # * Must be unique withing your Amazon Web Services account.
2237
2302
  #
2238
2303
  # <note markdown="1"> This value is stored as a lower-case string.
2239
2304
  #
@@ -2247,11 +2312,11 @@ module Aws::Redshift
2247
2312
  #
2248
2313
  # To get a list of valid parameter group family names, you can call
2249
2314
  # DescribeClusterParameterGroups. By default, Amazon Redshift returns
2250
- # a list of all the parameter groups that are owned by your account,
2251
- # including the default parameter groups for each Amazon Redshift
2252
- # engine version. The parameter group family names associated with the
2253
- # default parameter groups provide you the valid values. For example,
2254
- # a valid family name is "redshift-1.0".
2315
+ # a list of all the parameter groups that are owned by your Amazon Web
2316
+ # Services account, including the default parameter groups for each
2317
+ # Amazon Redshift engine version. The parameter group family names
2318
+ # associated with the default parameter groups provide you the valid
2319
+ # values. For example, a valid family name is "redshift-1.0".
2255
2320
  # @return [String]
2256
2321
  #
2257
2322
  # @!attribute [rw] description
@@ -2322,7 +2387,7 @@ module Aws::Redshift
2322
2387
  # * Must not be "Default".
2323
2388
  #
2324
2389
  # * Must be unique for all security groups that are created by your
2325
- # account.
2390
+ # Amazon Web Services account.
2326
2391
  #
2327
2392
  # Example: `examplesecuritygroup`
2328
2393
  # @return [String]
@@ -2374,7 +2439,8 @@ module Aws::Redshift
2374
2439
  #
2375
2440
  # @!attribute [rw] snapshot_identifier
2376
2441
  # A unique identifier for the snapshot that you are requesting. This
2377
- # identifier must be unique for all snapshots within the account.
2442
+ # identifier must be unique for all snapshots within the Amazon Web
2443
+ # Services account.
2378
2444
  #
2379
2445
  # Constraints:
2380
2446
  #
@@ -2455,7 +2521,7 @@ module Aws::Redshift
2455
2521
  # * Must not be "Default".
2456
2522
  #
2457
2523
  # * Must be unique for all subnet groups that are created by your
2458
- # account.
2524
+ # Amazon Web Services account.
2459
2525
  #
2460
2526
  # Example: `examplesubnetgroup`
2461
2527
  # @return [String]
@@ -2512,8 +2578,9 @@ module Aws::Redshift
2512
2578
  # @return [String]
2513
2579
  #
2514
2580
  # @!attribute [rw] resource_owner
2515
- # The account ID of the owner of the cluster. This is only required if
2516
- # the cluster is in another account.
2581
+ # The Amazon Web Services account ID of the owner of the cluster. This
2582
+ # is only required if the cluster is in another Amazon Web Services
2583
+ # account.
2517
2584
  # @return [String]
2518
2585
  #
2519
2586
  # @!attribute [rw] endpoint_name
@@ -2590,8 +2657,9 @@ module Aws::Redshift
2590
2657
  # The type of source that will be generating the events. For example,
2591
2658
  # if you want to be notified of events generated by a cluster, you
2592
2659
  # would set this parameter to cluster. If this value is not specified,
2593
- # events are returned for all Amazon Redshift objects in your account.
2594
- # You must specify a source type in order to specify source IDs.
2660
+ # events are returned for all Amazon Redshift objects in your Amazon
2661
+ # Web Services account. You must specify a source type in order to
2662
+ # specify source IDs.
2595
2663
  #
2596
2664
  # Valid values: cluster, cluster-parameter-group,
2597
2665
  # cluster-security-group, cluster-snapshot, and scheduled-action.
@@ -2614,7 +2682,7 @@ module Aws::Redshift
2614
2682
  # Specifies the Amazon Redshift event categories to be published by
2615
2683
  # the event notification subscription.
2616
2684
  #
2617
- # Values: configuration, management, monitoring, security
2685
+ # Values: configuration, management, monitoring, security, pending
2618
2686
  # @return [Array<String>]
2619
2687
  #
2620
2688
  # @!attribute [rw] severity
@@ -2890,7 +2958,7 @@ module Aws::Redshift
2890
2958
  #
2891
2959
  # @!attribute [rw] snapshot_copy_grant_name
2892
2960
  # The name of the snapshot copy grant. This name must be unique in the
2893
- # region for the account.
2961
+ # region for the Amazon Web Services account.
2894
2962
  #
2895
2963
  # Constraints:
2896
2964
  #
@@ -2902,7 +2970,8 @@ module Aws::Redshift
2902
2970
  #
2903
2971
  # * Cannot end with a hyphen or contain two consecutive hyphens.
2904
2972
  #
2905
- # * Must be unique for all clusters within an account.
2973
+ # * Must be unique for all clusters within an Amazon Web Services
2974
+ # account.
2906
2975
  # @return [String]
2907
2976
  #
2908
2977
  # @!attribute [rw] kms_key_id
@@ -3127,6 +3196,70 @@ module Aws::Redshift
3127
3196
  include Aws::Structure
3128
3197
  end
3129
3198
 
3199
+ # @!attribute [rw] data_share_arn
3200
+ # An Amazon Resource Name (ARN) that references the datashare that is
3201
+ # owned by a specific namespace of the producer cluster. A datashare
3202
+ # ARN is in the
3203
+ # `arn:aws:redshift:\{region\}:\{account-id\}:\{datashare\}:\{namespace-guid\}/\{datashare-name\}`
3204
+ # format.
3205
+ # @return [String]
3206
+ #
3207
+ # @!attribute [rw] producer_arn
3208
+ # The Amazon Resource Name (ARN) of the producer.
3209
+ # @return [String]
3210
+ #
3211
+ # @!attribute [rw] allow_publicly_accessible_consumers
3212
+ # A value that specifies whether the datashare can be shared to a
3213
+ # publicly accessible cluster.
3214
+ # @return [Boolean]
3215
+ #
3216
+ # @!attribute [rw] data_share_associations
3217
+ # A value that specifies when the datashare has an association between
3218
+ # a producer and data consumers.
3219
+ # @return [Array<Types::DataShareAssociation>]
3220
+ #
3221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DataShare AWS API Documentation
3222
+ #
3223
+ class DataShare < Struct.new(
3224
+ :data_share_arn,
3225
+ :producer_arn,
3226
+ :allow_publicly_accessible_consumers,
3227
+ :data_share_associations)
3228
+ SENSITIVE = []
3229
+ include Aws::Structure
3230
+ end
3231
+
3232
+ # The association of a datashare from a producer account with a data
3233
+ # consumer.
3234
+ #
3235
+ # @!attribute [rw] consumer_identifier
3236
+ # The name of the consumer accounts that have an association with a
3237
+ # producer datashare.
3238
+ # @return [String]
3239
+ #
3240
+ # @!attribute [rw] status
3241
+ # The status of the datashare that is associated.
3242
+ # @return [String]
3243
+ #
3244
+ # @!attribute [rw] created_date
3245
+ # The creation date of the datashare that is associated.
3246
+ # @return [Time]
3247
+ #
3248
+ # @!attribute [rw] status_change_date
3249
+ # The status change data of the datashare that is associated.
3250
+ # @return [Time]
3251
+ #
3252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DataShareAssociation AWS API Documentation
3253
+ #
3254
+ class DataShareAssociation < Struct.new(
3255
+ :consumer_identifier,
3256
+ :status,
3257
+ :created_date,
3258
+ :status_change_date)
3259
+ SENSITIVE = []
3260
+ include Aws::Structure
3261
+ end
3262
+
3130
3263
  # Describes the status of a cluster while it is in the process of
3131
3264
  # resizing with an incremental resize.
3132
3265
  #
@@ -3171,6 +3304,33 @@ module Aws::Redshift
3171
3304
  include Aws::Structure
3172
3305
  end
3173
3306
 
3307
+ # @note When making an API call, you may pass DeauthorizeDataShareMessage
3308
+ # data as a hash:
3309
+ #
3310
+ # {
3311
+ # data_share_arn: "String", # required
3312
+ # consumer_identifier: "String", # required
3313
+ # }
3314
+ #
3315
+ # @!attribute [rw] data_share_arn
3316
+ # The Amazon Resource Name (ARN) of the datashare to remove
3317
+ # authorization from.
3318
+ # @return [String]
3319
+ #
3320
+ # @!attribute [rw] consumer_identifier
3321
+ # The identifier of the data consumer that is to have authorization
3322
+ # removed from the datashare. This identifier is an AWS account ID.
3323
+ # @return [String]
3324
+ #
3325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShareMessage AWS API Documentation
3326
+ #
3327
+ class DeauthorizeDataShareMessage < Struct.new(
3328
+ :data_share_arn,
3329
+ :consumer_identifier)
3330
+ SENSITIVE = []
3331
+ include Aws::Structure
3332
+ end
3333
+
3174
3334
  # Describes the default cluster parameters for a parameter group family.
3175
3335
  #
3176
3336
  # @!attribute [rw] parameter_group_family
@@ -4046,10 +4206,10 @@ module Aws::Redshift
4046
4206
  # @return [String]
4047
4207
  #
4048
4208
  # @!attribute [rw] owner_account
4049
- # The account used to create or copy the snapshot. Use this field to
4050
- # filter the results to snapshots owned by a particular account. To
4051
- # describe snapshots you own, either specify your account, or do not
4052
- # specify the parameter.
4209
+ # The Amazon Web Services account used to create or copy the snapshot.
4210
+ # Use this field to filter the results to snapshots owned by a
4211
+ # particular account. To describe snapshots you own, either specify
4212
+ # your Amazon Web Services account, or do not specify the parameter.
4053
4213
  # @return [String]
4054
4214
  #
4055
4215
  # @!attribute [rw] tag_keys
@@ -4360,6 +4520,214 @@ module Aws::Redshift
4360
4520
  include Aws::Structure
4361
4521
  end
4362
4522
 
4523
+ # @note When making an API call, you may pass DescribeDataSharesForConsumerMessage
4524
+ # data as a hash:
4525
+ #
4526
+ # {
4527
+ # consumer_arn: "String",
4528
+ # status: "ACTIVE", # accepts ACTIVE, AVAILABLE
4529
+ # max_records: 1,
4530
+ # marker: "String",
4531
+ # }
4532
+ #
4533
+ # @!attribute [rw] consumer_arn
4534
+ # The Amazon Resource Name (ARN) of the consumer that returns in the
4535
+ # list of datashares.
4536
+ # @return [String]
4537
+ #
4538
+ # @!attribute [rw] status
4539
+ # An identifier giving the status of a datashare in the consumer
4540
+ # cluster. If this field is specified, Amazon Redshift returns the
4541
+ # list of datashares that have the specified status.
4542
+ # @return [String]
4543
+ #
4544
+ # @!attribute [rw] max_records
4545
+ # The maximum number of response records to return in each call. If
4546
+ # the number of remaining response records exceeds the specified
4547
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4548
+ # response. You can retrieve the next set of records by retrying the
4549
+ # command with the returned marker value.
4550
+ # @return [Integer]
4551
+ #
4552
+ # @!attribute [rw] marker
4553
+ # An optional parameter that specifies the starting point to return a
4554
+ # set of response records. When the results of a
4555
+ # DescribeDataSharesForConsumer request exceed the value specified in
4556
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4557
+ # response. You can retrieve the next set of response records by
4558
+ # providing the returned marker value in the `Marker` parameter and
4559
+ # retrying the request.
4560
+ # @return [String]
4561
+ #
4562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumerMessage AWS API Documentation
4563
+ #
4564
+ class DescribeDataSharesForConsumerMessage < Struct.new(
4565
+ :consumer_arn,
4566
+ :status,
4567
+ :max_records,
4568
+ :marker)
4569
+ SENSITIVE = []
4570
+ include Aws::Structure
4571
+ end
4572
+
4573
+ # @!attribute [rw] data_shares
4574
+ # Shows the results of datashares available for consumers.
4575
+ # @return [Array<Types::DataShare>]
4576
+ #
4577
+ # @!attribute [rw] marker
4578
+ # An optional parameter that specifies the starting point to return a
4579
+ # set of response records. When the results of a
4580
+ # DescribeDataSharesForConsumer request exceed the value specified in
4581
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4582
+ # response. You can retrieve the next set of response records by
4583
+ # providing the returned marker value in the `Marker` parameter and
4584
+ # retrying the request.
4585
+ # @return [String]
4586
+ #
4587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumerResult AWS API Documentation
4588
+ #
4589
+ class DescribeDataSharesForConsumerResult < Struct.new(
4590
+ :data_shares,
4591
+ :marker)
4592
+ SENSITIVE = []
4593
+ include Aws::Structure
4594
+ end
4595
+
4596
+ # @note When making an API call, you may pass DescribeDataSharesForProducerMessage
4597
+ # data as a hash:
4598
+ #
4599
+ # {
4600
+ # producer_arn: "String",
4601
+ # status: "ACTIVE", # accepts ACTIVE, AUTHORIZED, PENDING_AUTHORIZATION, DEAUTHORIZED, REJECTED
4602
+ # max_records: 1,
4603
+ # marker: "String",
4604
+ # }
4605
+ #
4606
+ # @!attribute [rw] producer_arn
4607
+ # The Amazon Resource Name (ARN) of the producer that returns in the
4608
+ # list of datashares.
4609
+ # @return [String]
4610
+ #
4611
+ # @!attribute [rw] status
4612
+ # An identifier giving the status of a datashare in the producer. If
4613
+ # this field is specified, Amazon Redshift returns the list of
4614
+ # datashares that have the specified status.
4615
+ # @return [String]
4616
+ #
4617
+ # @!attribute [rw] max_records
4618
+ # The maximum number of response records to return in each call. If
4619
+ # the number of remaining response records exceeds the specified
4620
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4621
+ # response. You can retrieve the next set of records by retrying the
4622
+ # command with the returned marker value.
4623
+ # @return [Integer]
4624
+ #
4625
+ # @!attribute [rw] marker
4626
+ # An optional parameter that specifies the starting point to return a
4627
+ # set of response records. When the results of a
4628
+ # DescribeDataSharesForProducer request exceed the value specified in
4629
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4630
+ # response. You can retrieve the next set of response records by
4631
+ # providing the returned marker value in the `Marker` parameter and
4632
+ # retrying the request.
4633
+ # @return [String]
4634
+ #
4635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducerMessage AWS API Documentation
4636
+ #
4637
+ class DescribeDataSharesForProducerMessage < Struct.new(
4638
+ :producer_arn,
4639
+ :status,
4640
+ :max_records,
4641
+ :marker)
4642
+ SENSITIVE = []
4643
+ include Aws::Structure
4644
+ end
4645
+
4646
+ # @!attribute [rw] data_shares
4647
+ # Shows the results of datashares available for producers.
4648
+ # @return [Array<Types::DataShare>]
4649
+ #
4650
+ # @!attribute [rw] marker
4651
+ # An optional parameter that specifies the starting point to return a
4652
+ # set of response records. When the results of a
4653
+ # DescribeDataSharesForProducer request exceed the value specified in
4654
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4655
+ # response. You can retrieve the next set of response records by
4656
+ # providing the returned marker value in the `Marker` parameter and
4657
+ # retrying the request.
4658
+ # @return [String]
4659
+ #
4660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducerResult AWS API Documentation
4661
+ #
4662
+ class DescribeDataSharesForProducerResult < Struct.new(
4663
+ :data_shares,
4664
+ :marker)
4665
+ SENSITIVE = []
4666
+ include Aws::Structure
4667
+ end
4668
+
4669
+ # @note When making an API call, you may pass DescribeDataSharesMessage
4670
+ # data as a hash:
4671
+ #
4672
+ # {
4673
+ # data_share_arn: "String",
4674
+ # max_records: 1,
4675
+ # marker: "String",
4676
+ # }
4677
+ #
4678
+ # @!attribute [rw] data_share_arn
4679
+ # The identifier of the datashare to describe details of.
4680
+ # @return [String]
4681
+ #
4682
+ # @!attribute [rw] max_records
4683
+ # The maximum number of response records to return in each call. If
4684
+ # the number of remaining response records exceeds the specified
4685
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4686
+ # response. You can retrieve the next set of records by retrying the
4687
+ # command with the returned marker value.
4688
+ # @return [Integer]
4689
+ #
4690
+ # @!attribute [rw] marker
4691
+ # An optional parameter that specifies the starting point to return a
4692
+ # set of response records. When the results of a DescribeDataShares
4693
+ # request exceed the value specified in `MaxRecords`, AWS returns a
4694
+ # value in the `Marker` field of the response. You can retrieve the
4695
+ # next set of response records by providing the returned marker value
4696
+ # in the `Marker` parameter and retrying the request.
4697
+ # @return [String]
4698
+ #
4699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesMessage AWS API Documentation
4700
+ #
4701
+ class DescribeDataSharesMessage < Struct.new(
4702
+ :data_share_arn,
4703
+ :max_records,
4704
+ :marker)
4705
+ SENSITIVE = []
4706
+ include Aws::Structure
4707
+ end
4708
+
4709
+ # @!attribute [rw] data_shares
4710
+ # The results returned from describing datashares.
4711
+ # @return [Array<Types::DataShare>]
4712
+ #
4713
+ # @!attribute [rw] marker
4714
+ # An optional parameter that specifies the starting point to return a
4715
+ # set of response records. When the results of a DescribeDataShares
4716
+ # request exceed the value specified in `MaxRecords`, AWS returns a
4717
+ # value in the `Marker` field of the response. You can retrieve the
4718
+ # next set of response records by providing the returned marker value
4719
+ # in the `Marker` parameter and retrying the request.
4720
+ # @return [String]
4721
+ #
4722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesResult AWS API Documentation
4723
+ #
4724
+ class DescribeDataSharesResult < Struct.new(
4725
+ :data_shares,
4726
+ :marker)
4727
+ SENSITIVE = []
4728
+ include Aws::Structure
4729
+ end
4730
+
4363
4731
  # @note When making an API call, you may pass DescribeDefaultClusterParametersMessage
4364
4732
  # data as a hash:
4365
4733
  #
@@ -4435,7 +4803,7 @@ module Aws::Redshift
4435
4803
  # @return [String]
4436
4804
  #
4437
4805
  # @!attribute [rw] resource_owner
4438
- # The account ID of the owner of the cluster.
4806
+ # The Amazon Web Services account ID of the owner of the cluster.
4439
4807
  # @return [String]
4440
4808
  #
4441
4809
  # @!attribute [rw] endpoint_name
@@ -4490,9 +4858,9 @@ module Aws::Redshift
4490
4858
  # @return [String]
4491
4859
  #
4492
4860
  # @!attribute [rw] account
4493
- # The Aaccount ID of either the cluster owner (grantor) or grantee. If
4494
- # `Grantee` parameter is true, then the `Account` value is of the
4495
- # grantor.
4861
+ # The AAmazon Web Services account ID of either the cluster owner
4862
+ # (grantor) or grantee. If `Grantee` parameter is true, then the
4863
+ # `Account` value is of the grantor.
4496
4864
  # @return [String]
4497
4865
  #
4498
4866
  # @!attribute [rw] grantee
@@ -4760,7 +5128,8 @@ module Aws::Redshift
4760
5128
  # @!attribute [rw] hsm_client_certificate_identifier
4761
5129
  # The identifier of a specific HSM client certificate for which you
4762
5130
  # want information. If no identifier is specified, information is
4763
- # returned for all HSM client certificates owned by your account.
5131
+ # returned for all HSM client certificates owned by your Amazon Web
5132
+ # Services account.
4764
5133
  # @return [String]
4765
5134
  #
4766
5135
  # @!attribute [rw] max_records
@@ -4831,7 +5200,8 @@ module Aws::Redshift
4831
5200
  # @!attribute [rw] hsm_configuration_identifier
4832
5201
  # The identifier of a specific Amazon Redshift HSM configuration to be
4833
5202
  # described. If no identifier is specified, information is returned
4834
- # for all HSM configurations owned by your account.
5203
+ # for all HSM configurations owned by your Amazon Web Services
5204
+ # account.
4835
5205
  # @return [String]
4836
5206
  #
4837
5207
  # @!attribute [rw] max_records
@@ -4948,9 +5318,9 @@ module Aws::Redshift
4948
5318
  # @return [String]
4949
5319
  #
4950
5320
  # @!attribute [rw] owner_account
4951
- # The account used to create or copy the snapshot. Required if you are
4952
- # restoring a snapshot you do not own, optional if you own the
4953
- # snapshot.
5321
+ # The Amazon Web Services account used to create or copy the snapshot.
5322
+ # Required if you are restoring a snapshot you do not own, optional if
5323
+ # you own the snapshot.
4954
5324
  # @return [String]
4955
5325
  #
4956
5326
  # @!attribute [rw] filters
@@ -5062,7 +5432,7 @@ module Aws::Redshift
5062
5432
  # }
5063
5433
  #
5064
5434
  # @!attribute [rw] account_id
5065
- # The Region ID that owns the cluster.
5435
+ # The Amazon Web Services account ID that owns the cluster.
5066
5436
  # @return [String]
5067
5437
  #
5068
5438
  # @!attribute [rw] cluster_identifier
@@ -5205,8 +5575,8 @@ module Aws::Redshift
5205
5575
  # The unique identifier of a cluster whose resize progress you are
5206
5576
  # requesting. This parameter is case-sensitive.
5207
5577
  #
5208
- # By default, resize operations for all clusters defined for an
5209
- # account are returned.
5578
+ # By default, resize operations for all clusters defined for an Amazon
5579
+ # Web Services account are returned.
5210
5580
  # @return [String]
5211
5581
  #
5212
5582
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResizeMessage AWS API Documentation
@@ -5741,6 +6111,40 @@ module Aws::Redshift
5741
6111
  include Aws::Structure
5742
6112
  end
5743
6113
 
6114
+ # @note When making an API call, you may pass DisassociateDataShareConsumerMessage
6115
+ # data as a hash:
6116
+ #
6117
+ # {
6118
+ # data_share_arn: "String", # required
6119
+ # disassociate_entire_account: false,
6120
+ # consumer_arn: "String",
6121
+ # }
6122
+ #
6123
+ # @!attribute [rw] data_share_arn
6124
+ # The Amazon Resource Name (ARN) of the datashare to remove
6125
+ # association for.
6126
+ # @return [String]
6127
+ #
6128
+ # @!attribute [rw] disassociate_entire_account
6129
+ # A value that specifies whether association for the datashare is
6130
+ # removed from the entire account.
6131
+ # @return [Boolean]
6132
+ #
6133
+ # @!attribute [rw] consumer_arn
6134
+ # The Amazon Resource Name (ARN) of the consumer that association for
6135
+ # the datashare is removed from.
6136
+ # @return [String]
6137
+ #
6138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumerMessage AWS API Documentation
6139
+ #
6140
+ class DisassociateDataShareConsumerMessage < Struct.new(
6141
+ :data_share_arn,
6142
+ :disassociate_entire_account,
6143
+ :consumer_arn)
6144
+ SENSITIVE = []
6145
+ include Aws::Structure
6146
+ end
6147
+
5744
6148
  # Describes an Amazon EC2 security group.
5745
6149
  #
5746
6150
  # @!attribute [rw] status
@@ -5752,8 +6156,8 @@ module Aws::Redshift
5752
6156
  # @return [String]
5753
6157
  #
5754
6158
  # @!attribute [rw] ec2_security_group_owner_id
5755
- # The account ID of the owner of the EC2 security group specified in
5756
- # the `EC2SecurityGroupName` field.
6159
+ # The Amazon Web Services account ID of the owner of the EC2 security
6160
+ # group specified in the `EC2SecurityGroupName` field.
5757
6161
  # @return [String]
5758
6162
  #
5759
6163
  # @!attribute [rw] tags
@@ -5867,11 +6271,12 @@ module Aws::Redshift
5867
6271
  # @return [String]
5868
6272
  #
5869
6273
  # @!attribute [rw] destination_region
5870
- # The destination Region that you want to copy snapshots to.
6274
+ # The destination Amazon Web Services Region that you want to copy
6275
+ # snapshots to.
5871
6276
  #
5872
- # Constraints: Must be the name of a valid Region. For more
5873
- # information, see [Regions and Endpoints][1] in the Amazon Web
5874
- # Services General Reference.
6277
+ # Constraints: Must be the name of a valid Amazon Web Services Region.
6278
+ # For more information, see [Regions and Endpoints][1] in the Amazon
6279
+ # Web Services General Reference.
5875
6280
  #
5876
6281
  #
5877
6282
  #
@@ -5895,8 +6300,9 @@ module Aws::Redshift
5895
6300
  #
5896
6301
  # @!attribute [rw] manual_snapshot_retention_period
5897
6302
  # The number of days to retain newly copied snapshots in the
5898
- # destination Region after they are copied from the source Region. If
5899
- # the value is -1, the manual snapshot is retained indefinitely.
6303
+ # destination Amazon Web Services Region after they are copied from
6304
+ # the source Amazon Web Services Region. If the value is -1, the
6305
+ # manual snapshot is retained indefinitely.
5900
6306
  #
5901
6307
  # The value must be either -1 or an integer between 1 and 3,653.
5902
6308
  # @return [Integer]
@@ -5956,7 +6362,7 @@ module Aws::Redshift
5956
6362
  # @return [String]
5957
6363
  #
5958
6364
  # @!attribute [rw] resource_owner
5959
- # The account ID of the owner of the cluster.
6365
+ # The Amazon Web Services account ID of the owner of the cluster.
5960
6366
  # @return [String]
5961
6367
  #
5962
6368
  # @!attribute [rw] subnet_group_name
@@ -6038,14 +6444,14 @@ module Aws::Redshift
6038
6444
  class EndpointAlreadyExistsFault < Aws::EmptyStructure; end
6039
6445
 
6040
6446
  # Describes an endpoint authorization for authorizing Redshift-managed
6041
- # VPC endpoint access to a cluster across accounts.
6447
+ # VPC endpoint access to a cluster across Amazon Web Services accounts.
6042
6448
  #
6043
6449
  # @!attribute [rw] grantor
6044
- # The account ID of the cluster owner.
6450
+ # The Amazon Web Services account ID of the cluster owner.
6045
6451
  # @return [String]
6046
6452
  #
6047
6453
  # @!attribute [rw] grantee
6048
- # The account ID of the grantee of the cluster.
6454
+ # The Amazon Web Services account ID of the grantee of the cluster.
6049
6455
  # @return [String]
6050
6456
  #
6051
6457
  # @!attribute [rw] cluster_identifier
@@ -6170,7 +6576,7 @@ module Aws::Redshift
6170
6576
  # @!attribute [rw] event_categories
6171
6577
  # A list of the event categories.
6172
6578
  #
6173
- # Values: Configuration, Management, Monitoring, Security
6579
+ # Values: Configuration, Management, Monitoring, Security, Pending
6174
6580
  # @return [Array<String>]
6175
6581
  #
6176
6582
  # @!attribute [rw] severity
@@ -6267,8 +6673,8 @@ module Aws::Redshift
6267
6673
  # Describes event subscriptions.
6268
6674
  #
6269
6675
  # @!attribute [rw] customer_aws_id
6270
- # The account associated with the Amazon Redshift event notification
6271
- # subscription.
6676
+ # The Amazon Web Services account associated with the Amazon Redshift
6677
+ # event notification subscription.
6272
6678
  # @return [String]
6273
6679
  #
6274
6680
  # @!attribute [rw] cust_subscription_id
@@ -6315,7 +6721,7 @@ module Aws::Redshift
6315
6721
  # The list of Amazon Redshift event categories specified in the event
6316
6722
  # notification subscription.
6317
6723
  #
6318
- # Values: Configuration, Management, Monitoring, Security
6724
+ # Values: Configuration, Management, Monitoring, Security, Pending
6319
6725
  # @return [Array<String>]
6320
6726
  #
6321
6727
  # @!attribute [rw] severity
@@ -6846,7 +7252,7 @@ module Aws::Redshift
6846
7252
 
6847
7253
  # The authentication profile request is not valid. The profile name
6848
7254
  # can't be null or empty. The authentication profile API operation must
6849
- # be available in the Region.
7255
+ # be available in the Amazon Web Services Region.
6850
7256
  #
6851
7257
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InvalidAuthenticationProfileRequestFault AWS API Documentation
6852
7258
  #
@@ -6909,6 +7315,12 @@ module Aws::Redshift
6909
7315
  #
6910
7316
  class InvalidClusterTrackFault < Aws::EmptyStructure; end
6911
7317
 
7318
+ # There is an error with the datashare.
7319
+ #
7320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InvalidDataShareFault AWS API Documentation
7321
+ #
7322
+ class InvalidDataShareFault < Aws::EmptyStructure; end
7323
+
6912
7324
  # The Elastic IP (EIP) is invalid or cannot be found.
6913
7325
  #
6914
7326
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InvalidElasticIpFault AWS API Documentation
@@ -6935,6 +7347,13 @@ module Aws::Redshift
6935
7347
  #
6936
7348
  class InvalidHsmConfigurationStateFault < Aws::EmptyStructure; end
6937
7349
 
7350
+ # The namespace isn't valid because the namespace doesn't exist.
7351
+ # Provide a valid namespace.
7352
+ #
7353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InvalidNamespaceFault AWS API Documentation
7354
+ #
7355
+ class InvalidNamespaceFault < Aws::EmptyStructure; end
7356
+
6938
7357
  # Indicates that the Reserved Node being exchanged is not in an active
6939
7358
  # state.
6940
7359
  #
@@ -7128,8 +7547,8 @@ module Aws::Redshift
7128
7547
  # The new value of AQUA configuration status. Possible values include
7129
7548
  # the following.
7130
7549
  #
7131
- # * enabled - Use AQUA if it is available for the current Region and
7132
- # Amazon Redshift node type.
7550
+ # * enabled - Use AQUA if it is available for the current Amazon Web
7551
+ # Services Region and Amazon Redshift node type.
7133
7552
  #
7134
7553
  # * disabled - Don't use AQUA.
7135
7554
  #
@@ -7597,7 +8016,8 @@ module Aws::Redshift
7597
8016
  #
7598
8017
  # * Cannot end with a hyphen or contain two consecutive hyphens.
7599
8018
  #
7600
- # * Must be unique for all clusters within an account.
8019
+ # * Must be unique for all clusters within an Amazon Web Services
8020
+ # account.
7601
8021
  #
7602
8022
  # Example: `examplecluster`
7603
8023
  # @return [String]
@@ -7949,8 +8369,9 @@ module Aws::Redshift
7949
8369
  # The type of source that will be generating the events. For example,
7950
8370
  # if you want to be notified of events generated by a cluster, you
7951
8371
  # would set this parameter to cluster. If this value is not specified,
7952
- # events are returned for all Amazon Redshift objects in your account.
7953
- # You must specify a source type in order to specify source IDs.
8372
+ # events are returned for all Amazon Redshift objects in your Amazon
8373
+ # Web Services account. You must specify a source type in order to
8374
+ # specify source IDs.
7954
8375
  #
7955
8376
  # Valid values: cluster, cluster-parameter-group,
7956
8377
  # cluster-security-group, cluster-snapshot, and scheduled-action.
@@ -7973,7 +8394,7 @@ module Aws::Redshift
7973
8394
  # Specifies the Amazon Redshift event categories to be published by
7974
8395
  # the event notification subscription.
7975
8396
  #
7976
- # Values: configuration, management, monitoring, security
8397
+ # Values: configuration, management, monitoring, security, pending
7977
8398
  # @return [Array<String>]
7978
8399
  #
7979
8400
  # @!attribute [rw] severity
@@ -8108,7 +8529,7 @@ module Aws::Redshift
8108
8529
  # @!attribute [rw] cluster_identifier
8109
8530
  # The unique identifier of the cluster for which you want to change
8110
8531
  # the retention period for either automated or manual snapshots that
8111
- # are copied to a destination Region.
8532
+ # are copied to a destination Amazon Web Services Region.
8112
8533
  #
8113
8534
  # Constraints: Must be the valid name of an existing cluster that has
8114
8535
  # cross-region snapshot copy enabled.
@@ -8116,15 +8537,17 @@ module Aws::Redshift
8116
8537
  #
8117
8538
  # @!attribute [rw] retention_period
8118
8539
  # The number of days to retain automated snapshots in the destination
8119
- # Region after they are copied from the source Region.
8540
+ # Amazon Web Services Region after they are copied from the source
8541
+ # Amazon Web Services Region.
8120
8542
  #
8121
8543
  # By default, this only changes the retention period of copied
8122
8544
  # automated snapshots.
8123
8545
  #
8124
8546
  # If you decrease the retention period for automated snapshots that
8125
- # are copied to a destination Region, Amazon Redshift deletes any
8126
- # existing automated snapshots that were copied to the destination
8127
- # Region and that fall outside of the new retention period.
8547
+ # are copied to a destination Amazon Web Services Region, Amazon
8548
+ # Redshift deletes any existing automated snapshots that were copied
8549
+ # to the destination Amazon Web Services Region and that fall outside
8550
+ # of the new retention period.
8128
8551
  #
8129
8552
  # Constraints: Must be at least 1 and no more than 35 for automated
8130
8553
  # snapshots.
@@ -8552,7 +8975,7 @@ module Aws::Redshift
8552
8975
  # }
8553
8976
  #
8554
8977
  # @!attribute [rw] account_id
8555
- # The Region ID that owns the cluster.
8978
+ # The Amazon Web Services account ID that owns the cluster.
8556
8979
  # @return [String]
8557
8980
  #
8558
8981
  # @!attribute [rw] cluster_identifier
@@ -8814,6 +9237,25 @@ module Aws::Redshift
8814
9237
  include Aws::Structure
8815
9238
  end
8816
9239
 
9240
+ # @note When making an API call, you may pass RejectDataShareMessage
9241
+ # data as a hash:
9242
+ #
9243
+ # {
9244
+ # data_share_arn: "String", # required
9245
+ # }
9246
+ #
9247
+ # @!attribute [rw] data_share_arn
9248
+ # The Amazon Resource Name (ARN) of the datashare to reject.
9249
+ # @return [String]
9250
+ #
9251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShareMessage AWS API Documentation
9252
+ #
9253
+ class RejectDataShareMessage < Struct.new(
9254
+ :data_share_arn)
9255
+ SENSITIVE = []
9256
+ include Aws::Structure
9257
+ end
9258
+
8817
9259
  # Describes a reserved node. You can call the
8818
9260
  # DescribeReservedNodeOfferings API to obtain the available reserved
8819
9261
  # node offerings.
@@ -9359,7 +9801,8 @@ module Aws::Redshift
9359
9801
  #
9360
9802
  # * Cannot end with a hyphen or contain two consecutive hyphens.
9361
9803
  #
9362
- # * Must be unique for all clusters within an account.
9804
+ # * Must be unique for all clusters within an Amazon Web Services
9805
+ # account.
9363
9806
  # @return [String]
9364
9807
  #
9365
9808
  # @!attribute [rw] snapshot_identifier
@@ -9413,9 +9856,9 @@ module Aws::Redshift
9413
9856
  # @return [Boolean]
9414
9857
  #
9415
9858
  # @!attribute [rw] owner_account
9416
- # The account used to create or copy the snapshot. Required if you are
9417
- # restoring a snapshot you do not own, optional if you own the
9418
- # snapshot.
9859
+ # The Amazon Web Services account used to create or copy the snapshot.
9860
+ # Required if you are restoring a snapshot you do not own, optional if
9861
+ # you own the snapshot.
9419
9862
  # @return [String]
9420
9863
  #
9421
9864
  # @!attribute [rw] hsm_client_certificate_identifier
@@ -9600,8 +10043,8 @@ module Aws::Redshift
9600
10043
  # (Advanced Query Accelerator) after the cluster is restored. Possible
9601
10044
  # values include the following.
9602
10045
  #
9603
- # * enabled - Use AQUA if it is available for the current Region and
9604
- # Amazon Redshift node type.
10046
+ # * enabled - Use AQUA if it is available for the current Amazon Web
10047
+ # Services Region and Amazon Redshift node type.
9605
10048
  #
9606
10049
  # * disabled - Don't use AQUA.
9607
10050
  #
@@ -9883,11 +10326,11 @@ module Aws::Redshift
9883
10326
  # @return [String]
9884
10327
  #
9885
10328
  # @!attribute [rw] ec2_security_group_owner_id
9886
- # The account number of the owner of the security group specified in
9887
- # the `EC2SecurityGroupName` parameter. The Amazon Web Services access
9888
- # key ID is not an acceptable value. If `EC2SecurityGroupOwnerId` is
9889
- # specified, `EC2SecurityGroupName` must also be provided. and
9890
- # `CIDRIP` cannot be provided.
10329
+ # The Amazon Web Services account number of the owner of the security
10330
+ # group specified in the `EC2SecurityGroupName` parameter. The Amazon
10331
+ # Web Services access key ID is not an acceptable value. If
10332
+ # `EC2SecurityGroupOwnerId` is specified, `EC2SecurityGroupName` must
10333
+ # also be provided. and `CIDRIP` cannot be provided.
9891
10334
  #
9892
10335
  # Example: `111122223333`
9893
10336
  # @return [String]
@@ -9930,7 +10373,7 @@ module Aws::Redshift
9930
10373
  # @return [String]
9931
10374
  #
9932
10375
  # @!attribute [rw] account
9933
- # The account ID whose access is to be revoked.
10376
+ # The Amazon Web Services account ID whose access is to be revoked.
9934
10377
  # @return [String]
9935
10378
  #
9936
10379
  # @!attribute [rw] vpc_ids
@@ -9977,8 +10420,8 @@ module Aws::Redshift
9977
10420
  # @return [String]
9978
10421
  #
9979
10422
  # @!attribute [rw] account_with_restore_access
9980
- # The identifier of the account that can no longer restore the
9981
- # specified snapshot.
10423
+ # The identifier of the Amazon Web Services account that can no longer
10424
+ # restore the specified snapshot.
9982
10425
  # @return [String]
9983
10426
  #
9984
10427
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccessMessage AWS API Documentation
@@ -10365,16 +10808,16 @@ module Aws::Redshift
10365
10808
  # @return [Boolean]
10366
10809
  #
10367
10810
  # @!attribute [rw] accounts_with_restore_access
10368
- # A list of the accounts authorized to restore the snapshot. Returns
10369
- # `null` if no accounts are authorized. Visible only to the snapshot
10370
- # owner.
10811
+ # A list of the Amazon Web Services accounts authorized to restore the
10812
+ # snapshot. Returns `null` if no accounts are authorized. Visible only
10813
+ # to the snapshot owner.
10371
10814
  # @return [Array<Types::AccountWithRestoreAccess>]
10372
10815
  #
10373
10816
  # @!attribute [rw] owner_account
10374
- # For manual snapshots, the account used to create or copy the
10375
- # snapshot. For automatic snapshots, the owner of the cluster. The
10376
- # owner can perform all snapshot actions, such as sharing a manual
10377
- # snapshot.
10817
+ # For manual snapshots, the Amazon Web Services account used to create
10818
+ # or copy the snapshot. For automatic snapshots, the owner of the
10819
+ # cluster. The owner can perform all snapshot actions, such as sharing
10820
+ # a manual snapshot.
10378
10821
  # @return [String]
10379
10822
  #
10380
10823
  # @!attribute [rw] total_backup_size_in_mega_bytes
@@ -10592,8 +11035,8 @@ module Aws::Redshift
10592
11035
  #
10593
11036
  class SnapshotCopyGrantNotFoundFault < Aws::EmptyStructure; end
10594
11037
 
10595
- # The account has exceeded the maximum number of snapshot copy grants in
10596
- # this region.
11038
+ # The Amazon Web Services account has exceeded the maximum number of
11039
+ # snapshot copy grants in this region.
10597
11040
  #
10598
11041
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotCopyGrantQuotaExceededFault AWS API Documentation
10599
11042
  #
@@ -11144,7 +11587,7 @@ module Aws::Redshift
11144
11587
  # }
11145
11588
  #
11146
11589
  # @!attribute [rw] account_id
11147
- # The Region ID that owns the cluster.
11590
+ # The Amazon Web Services account ID that owns the cluster.
11148
11591
  # @return [String]
11149
11592
  #
11150
11593
  # @!attribute [rw] cluster_identifier