aws-sdk-redshift 1.58.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ module Aws::Redshift
15
15
 
16
16
  AcceptReservedNodeExchangeInputMessage = Shapes::StructureShape.new(name: 'AcceptReservedNodeExchangeInputMessage')
17
17
  AcceptReservedNodeExchangeOutputMessage = Shapes::StructureShape.new(name: 'AcceptReservedNodeExchangeOutputMessage')
18
+ AccessToClusterDeniedFault = Shapes::StructureShape.new(name: 'AccessToClusterDeniedFault')
18
19
  AccessToSnapshotDeniedFault = Shapes::StructureShape.new(name: 'AccessToSnapshotDeniedFault')
19
20
  AccountAttribute = Shapes::StructureShape.new(name: 'AccountAttribute')
20
21
  AccountAttributeList = Shapes::StructureShape.new(name: 'AccountAttributeList')
@@ -29,8 +30,10 @@ module Aws::Redshift
29
30
  AuthorizationAlreadyExistsFault = Shapes::StructureShape.new(name: 'AuthorizationAlreadyExistsFault')
30
31
  AuthorizationNotFoundFault = Shapes::StructureShape.new(name: 'AuthorizationNotFoundFault')
31
32
  AuthorizationQuotaExceededFault = Shapes::StructureShape.new(name: 'AuthorizationQuotaExceededFault')
33
+ AuthorizationStatus = Shapes::StringShape.new(name: 'AuthorizationStatus')
32
34
  AuthorizeClusterSecurityGroupIngressMessage = Shapes::StructureShape.new(name: 'AuthorizeClusterSecurityGroupIngressMessage')
33
35
  AuthorizeClusterSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'AuthorizeClusterSecurityGroupIngressResult')
36
+ AuthorizeEndpointAccessMessage = Shapes::StructureShape.new(name: 'AuthorizeEndpointAccessMessage')
34
37
  AuthorizeSnapshotAccessMessage = Shapes::StructureShape.new(name: 'AuthorizeSnapshotAccessMessage')
35
38
  AuthorizeSnapshotAccessResult = Shapes::StructureShape.new(name: 'AuthorizeSnapshotAccessResult')
36
39
  AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
@@ -110,6 +113,7 @@ module Aws::Redshift
110
113
  CreateClusterSnapshotResult = Shapes::StructureShape.new(name: 'CreateClusterSnapshotResult')
111
114
  CreateClusterSubnetGroupMessage = Shapes::StructureShape.new(name: 'CreateClusterSubnetGroupMessage')
112
115
  CreateClusterSubnetGroupResult = Shapes::StructureShape.new(name: 'CreateClusterSubnetGroupResult')
116
+ CreateEndpointAccessMessage = Shapes::StructureShape.new(name: 'CreateEndpointAccessMessage')
113
117
  CreateEventSubscriptionMessage = Shapes::StructureShape.new(name: 'CreateEventSubscriptionMessage')
114
118
  CreateEventSubscriptionResult = Shapes::StructureShape.new(name: 'CreateEventSubscriptionResult')
115
119
  CreateHsmClientCertificateMessage = Shapes::StructureShape.new(name: 'CreateHsmClientCertificateMessage')
@@ -136,6 +140,7 @@ module Aws::Redshift
136
140
  DeleteClusterSnapshotMessageList = Shapes::ListShape.new(name: 'DeleteClusterSnapshotMessageList')
137
141
  DeleteClusterSnapshotResult = Shapes::StructureShape.new(name: 'DeleteClusterSnapshotResult')
138
142
  DeleteClusterSubnetGroupMessage = Shapes::StructureShape.new(name: 'DeleteClusterSubnetGroupMessage')
143
+ DeleteEndpointAccessMessage = Shapes::StructureShape.new(name: 'DeleteEndpointAccessMessage')
139
144
  DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
140
145
  DeleteHsmClientCertificateMessage = Shapes::StructureShape.new(name: 'DeleteHsmClientCertificateMessage')
141
146
  DeleteHsmConfigurationMessage = Shapes::StructureShape.new(name: 'DeleteHsmConfigurationMessage')
@@ -158,6 +163,8 @@ module Aws::Redshift
158
163
  DescribeClustersMessage = Shapes::StructureShape.new(name: 'DescribeClustersMessage')
159
164
  DescribeDefaultClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeDefaultClusterParametersMessage')
160
165
  DescribeDefaultClusterParametersResult = Shapes::StructureShape.new(name: 'DescribeDefaultClusterParametersResult')
166
+ DescribeEndpointAccessMessage = Shapes::StructureShape.new(name: 'DescribeEndpointAccessMessage')
167
+ DescribeEndpointAuthorizationMessage = Shapes::StructureShape.new(name: 'DescribeEndpointAuthorizationMessage')
161
168
  DescribeEventCategoriesMessage = Shapes::StructureShape.new(name: 'DescribeEventCategoriesMessage')
162
169
  DescribeEventSubscriptionsMessage = Shapes::StructureShape.new(name: 'DescribeEventSubscriptionsMessage')
163
170
  DescribeEventsMessage = Shapes::StructureShape.new(name: 'DescribeEventsMessage')
@@ -189,6 +196,19 @@ module Aws::Redshift
189
196
  EnableSnapshotCopyMessage = Shapes::StructureShape.new(name: 'EnableSnapshotCopyMessage')
190
197
  EnableSnapshotCopyResult = Shapes::StructureShape.new(name: 'EnableSnapshotCopyResult')
191
198
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
199
+ EndpointAccess = Shapes::StructureShape.new(name: 'EndpointAccess')
200
+ EndpointAccessList = Shapes::StructureShape.new(name: 'EndpointAccessList')
201
+ EndpointAccesses = Shapes::ListShape.new(name: 'EndpointAccesses')
202
+ EndpointAlreadyExistsFault = Shapes::StructureShape.new(name: 'EndpointAlreadyExistsFault')
203
+ EndpointAuthorization = Shapes::StructureShape.new(name: 'EndpointAuthorization')
204
+ EndpointAuthorizationAlreadyExistsFault = Shapes::StructureShape.new(name: 'EndpointAuthorizationAlreadyExistsFault')
205
+ EndpointAuthorizationList = Shapes::StructureShape.new(name: 'EndpointAuthorizationList')
206
+ EndpointAuthorizationNotFoundFault = Shapes::StructureShape.new(name: 'EndpointAuthorizationNotFoundFault')
207
+ EndpointAuthorizations = Shapes::ListShape.new(name: 'EndpointAuthorizations')
208
+ EndpointAuthorizationsPerClusterLimitExceededFault = Shapes::StructureShape.new(name: 'EndpointAuthorizationsPerClusterLimitExceededFault')
209
+ EndpointNotFoundFault = Shapes::StructureShape.new(name: 'EndpointNotFoundFault')
210
+ EndpointsPerAuthorizationLimitExceededFault = Shapes::StructureShape.new(name: 'EndpointsPerAuthorizationLimitExceededFault')
211
+ EndpointsPerClusterLimitExceededFault = Shapes::StructureShape.new(name: 'EndpointsPerClusterLimitExceededFault')
192
212
  Event = Shapes::StructureShape.new(name: 'Event')
193
213
  EventCategoriesList = Shapes::ListShape.new(name: 'EventCategoriesList')
194
214
  EventCategoriesMap = Shapes::StructureShape.new(name: 'EventCategoriesMap')
@@ -230,6 +250,7 @@ module Aws::Redshift
230
250
  InsufficientS3BucketPolicyFault = Shapes::StructureShape.new(name: 'InsufficientS3BucketPolicyFault')
231
251
  Integer = Shapes::IntegerShape.new(name: 'Integer')
232
252
  IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
253
+ InvalidAuthorizationStateFault = Shapes::StructureShape.new(name: 'InvalidAuthorizationStateFault')
233
254
  InvalidClusterParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidClusterParameterGroupStateFault')
234
255
  InvalidClusterSecurityGroupStateFault = Shapes::StructureShape.new(name: 'InvalidClusterSecurityGroupStateFault')
235
256
  InvalidClusterSnapshotScheduleStateFault = Shapes::StructureShape.new(name: 'InvalidClusterSnapshotScheduleStateFault')
@@ -239,6 +260,7 @@ module Aws::Redshift
239
260
  InvalidClusterSubnetStateFault = Shapes::StructureShape.new(name: 'InvalidClusterSubnetStateFault')
240
261
  InvalidClusterTrackFault = Shapes::StructureShape.new(name: 'InvalidClusterTrackFault')
241
262
  InvalidElasticIpFault = Shapes::StructureShape.new(name: 'InvalidElasticIpFault')
263
+ InvalidEndpointStateFault = Shapes::StructureShape.new(name: 'InvalidEndpointStateFault')
242
264
  InvalidHsmClientCertificateStateFault = Shapes::StructureShape.new(name: 'InvalidHsmClientCertificateStateFault')
243
265
  InvalidHsmConfigurationStateFault = Shapes::StructureShape.new(name: 'InvalidHsmConfigurationStateFault')
244
266
  InvalidReservedNodeStateFault = Shapes::StructureShape.new(name: 'InvalidReservedNodeStateFault')
@@ -275,6 +297,7 @@ module Aws::Redshift
275
297
  ModifyClusterSnapshotScheduleMessage = Shapes::StructureShape.new(name: 'ModifyClusterSnapshotScheduleMessage')
276
298
  ModifyClusterSubnetGroupMessage = Shapes::StructureShape.new(name: 'ModifyClusterSubnetGroupMessage')
277
299
  ModifyClusterSubnetGroupResult = Shapes::StructureShape.new(name: 'ModifyClusterSubnetGroupResult')
300
+ ModifyEndpointAccessMessage = Shapes::StructureShape.new(name: 'ModifyEndpointAccessMessage')
278
301
  ModifyEventSubscriptionMessage = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionMessage')
279
302
  ModifyEventSubscriptionResult = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionResult')
280
303
  ModifyScheduledActionMessage = Shapes::StructureShape.new(name: 'ModifyScheduledActionMessage')
@@ -341,6 +364,7 @@ module Aws::Redshift
341
364
  RevisionTargetsList = Shapes::ListShape.new(name: 'RevisionTargetsList')
342
365
  RevokeClusterSecurityGroupIngressMessage = Shapes::StructureShape.new(name: 'RevokeClusterSecurityGroupIngressMessage')
343
366
  RevokeClusterSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'RevokeClusterSecurityGroupIngressResult')
367
+ RevokeEndpointAccessMessage = Shapes::StructureShape.new(name: 'RevokeEndpointAccessMessage')
344
368
  RevokeSnapshotAccessMessage = Shapes::StructureShape.new(name: 'RevokeSnapshotAccessMessage')
345
369
  RevokeSnapshotAccessResult = Shapes::StructureShape.new(name: 'RevokeSnapshotAccessResult')
346
370
  RotateEncryptionKeyMessage = Shapes::StructureShape.new(name: 'RotateEncryptionKeyMessage')
@@ -442,6 +466,7 @@ module Aws::Redshift
442
466
  ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
443
467
  VpcEndpoint = Shapes::StructureShape.new(name: 'VpcEndpoint')
444
468
  VpcEndpointsList = Shapes::ListShape.new(name: 'VpcEndpointsList')
469
+ VpcIdentifierList = Shapes::ListShape.new(name: 'VpcIdentifierList')
445
470
  VpcSecurityGroupIdList = Shapes::ListShape.new(name: 'VpcSecurityGroupIdList')
446
471
  VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
447
472
  VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
@@ -453,6 +478,8 @@ module Aws::Redshift
453
478
  AcceptReservedNodeExchangeOutputMessage.add_member(:exchanged_reserved_node, Shapes::ShapeRef.new(shape: ReservedNode, location_name: "ExchangedReservedNode"))
454
479
  AcceptReservedNodeExchangeOutputMessage.struct_class = Types::AcceptReservedNodeExchangeOutputMessage
455
480
 
481
+ AccessToClusterDeniedFault.struct_class = Types::AccessToClusterDeniedFault
482
+
456
483
  AccessToSnapshotDeniedFault.struct_class = Types::AccessToSnapshotDeniedFault
457
484
 
458
485
  AccountAttribute.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "AttributeName"))
@@ -494,6 +521,11 @@ module Aws::Redshift
494
521
  AuthorizeClusterSecurityGroupIngressResult.add_member(:cluster_security_group, Shapes::ShapeRef.new(shape: ClusterSecurityGroup, location_name: "ClusterSecurityGroup"))
495
522
  AuthorizeClusterSecurityGroupIngressResult.struct_class = Types::AuthorizeClusterSecurityGroupIngressResult
496
523
 
524
+ AuthorizeEndpointAccessMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
525
+ AuthorizeEndpointAccessMessage.add_member(:account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Account"))
526
+ AuthorizeEndpointAccessMessage.add_member(:vpc_ids, Shapes::ShapeRef.new(shape: VpcIdentifierList, location_name: "VpcIds"))
527
+ AuthorizeEndpointAccessMessage.struct_class = Types::AuthorizeEndpointAccessMessage
528
+
497
529
  AuthorizeSnapshotAccessMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnapshotIdentifier"))
498
530
  AuthorizeSnapshotAccessMessage.add_member(:snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotClusterIdentifier"))
499
531
  AuthorizeSnapshotAccessMessage.add_member(:account_with_restore_access, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountWithRestoreAccess"))
@@ -828,6 +860,13 @@ module Aws::Redshift
828
860
  CreateClusterSubnetGroupResult.add_member(:cluster_subnet_group, Shapes::ShapeRef.new(shape: ClusterSubnetGroup, location_name: "ClusterSubnetGroup"))
829
861
  CreateClusterSubnetGroupResult.struct_class = Types::CreateClusterSubnetGroupResult
830
862
 
863
+ CreateEndpointAccessMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
864
+ CreateEndpointAccessMessage.add_member(:resource_owner, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwner"))
865
+ CreateEndpointAccessMessage.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointName"))
866
+ CreateEndpointAccessMessage.add_member(:subnet_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubnetGroupName"))
867
+ CreateEndpointAccessMessage.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "VpcSecurityGroupIds"))
868
+ CreateEndpointAccessMessage.struct_class = Types::CreateEndpointAccessMessage
869
+
831
870
  CreateEventSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
832
871
  CreateEventSubscriptionMessage.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnsTopicArn"))
833
872
  CreateEventSubscriptionMessage.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
@@ -952,6 +991,9 @@ module Aws::Redshift
952
991
  DeleteClusterSubnetGroupMessage.add_member(:cluster_subnet_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterSubnetGroupName"))
953
992
  DeleteClusterSubnetGroupMessage.struct_class = Types::DeleteClusterSubnetGroupMessage
954
993
 
994
+ DeleteEndpointAccessMessage.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointName"))
995
+ DeleteEndpointAccessMessage.struct_class = Types::DeleteEndpointAccessMessage
996
+
955
997
  DeleteEventSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
956
998
  DeleteEventSubscriptionMessage.struct_class = Types::DeleteEventSubscriptionMessage
957
999
 
@@ -1056,6 +1098,21 @@ module Aws::Redshift
1056
1098
  DescribeDefaultClusterParametersResult.add_member(:default_cluster_parameters, Shapes::ShapeRef.new(shape: DefaultClusterParameters, location_name: "DefaultClusterParameters"))
1057
1099
  DescribeDefaultClusterParametersResult.struct_class = Types::DescribeDefaultClusterParametersResult
1058
1100
 
1101
+ DescribeEndpointAccessMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1102
+ DescribeEndpointAccessMessage.add_member(:resource_owner, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwner"))
1103
+ DescribeEndpointAccessMessage.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, location_name: "EndpointName"))
1104
+ DescribeEndpointAccessMessage.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
1105
+ DescribeEndpointAccessMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1106
+ DescribeEndpointAccessMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1107
+ DescribeEndpointAccessMessage.struct_class = Types::DescribeEndpointAccessMessage
1108
+
1109
+ DescribeEndpointAuthorizationMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1110
+ DescribeEndpointAuthorizationMessage.add_member(:account, Shapes::ShapeRef.new(shape: String, location_name: "Account"))
1111
+ DescribeEndpointAuthorizationMessage.add_member(:grantee, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Grantee"))
1112
+ DescribeEndpointAuthorizationMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1113
+ DescribeEndpointAuthorizationMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1114
+ DescribeEndpointAuthorizationMessage.struct_class = Types::DescribeEndpointAuthorizationMessage
1115
+
1059
1116
  DescribeEventCategoriesMessage.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
1060
1117
  DescribeEventCategoriesMessage.struct_class = Types::DescribeEventCategoriesMessage
1061
1118
 
@@ -1215,6 +1272,55 @@ module Aws::Redshift
1215
1272
  Endpoint.add_member(:vpc_endpoints, Shapes::ShapeRef.new(shape: VpcEndpointsList, location_name: "VpcEndpoints"))
1216
1273
  Endpoint.struct_class = Types::Endpoint
1217
1274
 
1275
+ EndpointAccess.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1276
+ EndpointAccess.add_member(:resource_owner, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwner"))
1277
+ EndpointAccess.add_member(:subnet_group_name, Shapes::ShapeRef.new(shape: String, location_name: "SubnetGroupName"))
1278
+ EndpointAccess.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: String, location_name: "EndpointStatus"))
1279
+ EndpointAccess.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, location_name: "EndpointName"))
1280
+ EndpointAccess.add_member(:endpoint_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "EndpointCreateTime"))
1281
+ EndpointAccess.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
1282
+ EndpointAccess.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
1283
+ EndpointAccess.add_member(:vpc_security_groups, Shapes::ShapeRef.new(shape: VpcSecurityGroupMembershipList, location_name: "VpcSecurityGroups"))
1284
+ EndpointAccess.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, location_name: "VpcEndpoint"))
1285
+ EndpointAccess.struct_class = Types::EndpointAccess
1286
+
1287
+ EndpointAccessList.add_member(:endpoint_access_list, Shapes::ShapeRef.new(shape: EndpointAccesses, location_name: "EndpointAccessList"))
1288
+ EndpointAccessList.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1289
+ EndpointAccessList.struct_class = Types::EndpointAccessList
1290
+
1291
+ EndpointAccesses.member = Shapes::ShapeRef.new(shape: EndpointAccess)
1292
+
1293
+ EndpointAlreadyExistsFault.struct_class = Types::EndpointAlreadyExistsFault
1294
+
1295
+ EndpointAuthorization.add_member(:grantor, Shapes::ShapeRef.new(shape: String, location_name: "Grantor"))
1296
+ EndpointAuthorization.add_member(:grantee, Shapes::ShapeRef.new(shape: String, location_name: "Grantee"))
1297
+ EndpointAuthorization.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1298
+ EndpointAuthorization.add_member(:authorize_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "AuthorizeTime"))
1299
+ EndpointAuthorization.add_member(:cluster_status, Shapes::ShapeRef.new(shape: String, location_name: "ClusterStatus"))
1300
+ EndpointAuthorization.add_member(:status, Shapes::ShapeRef.new(shape: AuthorizationStatus, location_name: "Status"))
1301
+ EndpointAuthorization.add_member(:allowed_all_vp_cs, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowedAllVPCs"))
1302
+ EndpointAuthorization.add_member(:allowed_vp_cs, Shapes::ShapeRef.new(shape: VpcIdentifierList, location_name: "AllowedVPCs"))
1303
+ EndpointAuthorization.add_member(:endpoint_count, Shapes::ShapeRef.new(shape: Integer, location_name: "EndpointCount"))
1304
+ EndpointAuthorization.struct_class = Types::EndpointAuthorization
1305
+
1306
+ EndpointAuthorizationAlreadyExistsFault.struct_class = Types::EndpointAuthorizationAlreadyExistsFault
1307
+
1308
+ EndpointAuthorizationList.add_member(:endpoint_authorization_list, Shapes::ShapeRef.new(shape: EndpointAuthorizations, location_name: "EndpointAuthorizationList"))
1309
+ EndpointAuthorizationList.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1310
+ EndpointAuthorizationList.struct_class = Types::EndpointAuthorizationList
1311
+
1312
+ EndpointAuthorizationNotFoundFault.struct_class = Types::EndpointAuthorizationNotFoundFault
1313
+
1314
+ EndpointAuthorizations.member = Shapes::ShapeRef.new(shape: EndpointAuthorization)
1315
+
1316
+ EndpointAuthorizationsPerClusterLimitExceededFault.struct_class = Types::EndpointAuthorizationsPerClusterLimitExceededFault
1317
+
1318
+ EndpointNotFoundFault.struct_class = Types::EndpointNotFoundFault
1319
+
1320
+ EndpointsPerAuthorizationLimitExceededFault.struct_class = Types::EndpointsPerAuthorizationLimitExceededFault
1321
+
1322
+ EndpointsPerClusterLimitExceededFault.struct_class = Types::EndpointsPerClusterLimitExceededFault
1323
+
1218
1324
  Event.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceIdentifier"))
1219
1325
  Event.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
1220
1326
  Event.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -1351,6 +1457,8 @@ module Aws::Redshift
1351
1457
 
1352
1458
  InsufficientS3BucketPolicyFault.struct_class = Types::InsufficientS3BucketPolicyFault
1353
1459
 
1460
+ InvalidAuthorizationStateFault.struct_class = Types::InvalidAuthorizationStateFault
1461
+
1354
1462
  InvalidClusterParameterGroupStateFault.struct_class = Types::InvalidClusterParameterGroupStateFault
1355
1463
 
1356
1464
  InvalidClusterSecurityGroupStateFault.struct_class = Types::InvalidClusterSecurityGroupStateFault
@@ -1369,6 +1477,8 @@ module Aws::Redshift
1369
1477
 
1370
1478
  InvalidElasticIpFault.struct_class = Types::InvalidElasticIpFault
1371
1479
 
1480
+ InvalidEndpointStateFault.struct_class = Types::InvalidEndpointStateFault
1481
+
1372
1482
  InvalidHsmClientCertificateStateFault.struct_class = Types::InvalidHsmClientCertificateStateFault
1373
1483
 
1374
1484
  InvalidHsmConfigurationStateFault.struct_class = Types::InvalidHsmConfigurationStateFault
@@ -1497,6 +1607,10 @@ module Aws::Redshift
1497
1607
  ModifyClusterSubnetGroupResult.add_member(:cluster_subnet_group, Shapes::ShapeRef.new(shape: ClusterSubnetGroup, location_name: "ClusterSubnetGroup"))
1498
1608
  ModifyClusterSubnetGroupResult.struct_class = Types::ModifyClusterSubnetGroupResult
1499
1609
 
1610
+ ModifyEndpointAccessMessage.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointName"))
1611
+ ModifyEndpointAccessMessage.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "VpcSecurityGroupIds"))
1612
+ ModifyEndpointAccessMessage.struct_class = Types::ModifyEndpointAccessMessage
1613
+
1500
1614
  ModifyEventSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
1501
1615
  ModifyEventSubscriptionMessage.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicArn"))
1502
1616
  ModifyEventSubscriptionMessage.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
@@ -1800,6 +1914,12 @@ module Aws::Redshift
1800
1914
  RevokeClusterSecurityGroupIngressResult.add_member(:cluster_security_group, Shapes::ShapeRef.new(shape: ClusterSecurityGroup, location_name: "ClusterSecurityGroup"))
1801
1915
  RevokeClusterSecurityGroupIngressResult.struct_class = Types::RevokeClusterSecurityGroupIngressResult
1802
1916
 
1917
+ RevokeEndpointAccessMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1918
+ RevokeEndpointAccessMessage.add_member(:account, Shapes::ShapeRef.new(shape: String, location_name: "Account"))
1919
+ RevokeEndpointAccessMessage.add_member(:vpc_ids, Shapes::ShapeRef.new(shape: VpcIdentifierList, location_name: "VpcIds"))
1920
+ RevokeEndpointAccessMessage.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
1921
+ RevokeEndpointAccessMessage.struct_class = Types::RevokeEndpointAccessMessage
1922
+
1803
1923
  RevokeSnapshotAccessMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnapshotIdentifier"))
1804
1924
  RevokeSnapshotAccessMessage.add_member(:snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotClusterIdentifier"))
1805
1925
  RevokeSnapshotAccessMessage.add_member(:account_with_restore_access, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountWithRestoreAccess"))
@@ -2094,6 +2214,8 @@ module Aws::Redshift
2094
2214
 
2095
2215
  VpcEndpointsList.member = Shapes::ShapeRef.new(shape: VpcEndpoint, location_name: "VpcEndpoint")
2096
2216
 
2217
+ VpcIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "VpcIdentifier")
2218
+
2097
2219
  VpcSecurityGroupIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId")
2098
2220
 
2099
2221
  VpcSecurityGroupMembership.add_member(:vpc_security_group_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId"))
@@ -2146,6 +2268,20 @@ module Aws::Redshift
2146
2268
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationQuotaExceededFault)
2147
2269
  end)
2148
2270
 
2271
+ api.add_operation(:authorize_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
2272
+ o.name = "AuthorizeEndpointAccess"
2273
+ o.http_method = "POST"
2274
+ o.http_request_uri = "/"
2275
+ o.input = Shapes::ShapeRef.new(shape: AuthorizeEndpointAccessMessage)
2276
+ o.output = Shapes::ShapeRef.new(shape: EndpointAuthorization)
2277
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2278
+ o.errors << Shapes::ShapeRef.new(shape: EndpointAuthorizationsPerClusterLimitExceededFault)
2279
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2280
+ o.errors << Shapes::ShapeRef.new(shape: EndpointAuthorizationAlreadyExistsFault)
2281
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAuthorizationStateFault)
2282
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
2283
+ end)
2284
+
2149
2285
  api.add_operation(:authorize_snapshot_access, Seahorse::Model::Operation.new.tap do |o|
2150
2286
  o.name = "AuthorizeSnapshotAccess"
2151
2287
  o.http_method = "POST"
@@ -2289,6 +2425,24 @@ module Aws::Redshift
2289
2425
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
2290
2426
  end)
2291
2427
 
2428
+ api.add_operation(:create_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
2429
+ o.name = "CreateEndpointAccess"
2430
+ o.http_method = "POST"
2431
+ o.http_request_uri = "/"
2432
+ o.input = Shapes::ShapeRef.new(shape: CreateEndpointAccessMessage)
2433
+ o.output = Shapes::ShapeRef.new(shape: EndpointAccess)
2434
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2435
+ o.errors << Shapes::ShapeRef.new(shape: AccessToClusterDeniedFault)
2436
+ o.errors << Shapes::ShapeRef.new(shape: EndpointsPerClusterLimitExceededFault)
2437
+ o.errors << Shapes::ShapeRef.new(shape: EndpointsPerAuthorizationLimitExceededFault)
2438
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSecurityGroupStateFault)
2439
+ o.errors << Shapes::ShapeRef.new(shape: ClusterSubnetGroupNotFoundFault)
2440
+ o.errors << Shapes::ShapeRef.new(shape: EndpointAlreadyExistsFault)
2441
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2442
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
2443
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
2444
+ end)
2445
+
2292
2446
  api.add_operation(:create_event_subscription, Seahorse::Model::Operation.new.tap do |o|
2293
2447
  o.name = "CreateEventSubscription"
2294
2448
  o.http_method = "POST"
@@ -2455,6 +2609,19 @@ module Aws::Redshift
2455
2609
  o.errors << Shapes::ShapeRef.new(shape: ClusterSubnetGroupNotFoundFault)
2456
2610
  end)
2457
2611
 
2612
+ api.add_operation(:delete_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
2613
+ o.name = "DeleteEndpointAccess"
2614
+ o.http_method = "POST"
2615
+ o.http_request_uri = "/"
2616
+ o.input = Shapes::ShapeRef.new(shape: DeleteEndpointAccessMessage)
2617
+ o.output = Shapes::ShapeRef.new(shape: EndpointAccess)
2618
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2619
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointStateFault)
2620
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSecurityGroupStateFault)
2621
+ o.errors << Shapes::ShapeRef.new(shape: EndpointNotFoundFault)
2622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
2623
+ end)
2624
+
2458
2625
  api.add_operation(:delete_event_subscription, Seahorse::Model::Operation.new.tap do |o|
2459
2626
  o.name = "DeleteEventSubscription"
2460
2627
  o.http_method = "POST"
@@ -2699,6 +2866,27 @@ module Aws::Redshift
2699
2866
  )
2700
2867
  end)
2701
2868
 
2869
+ api.add_operation(:describe_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
2870
+ o.name = "DescribeEndpointAccess"
2871
+ o.http_method = "POST"
2872
+ o.http_request_uri = "/"
2873
+ o.input = Shapes::ShapeRef.new(shape: DescribeEndpointAccessMessage)
2874
+ o.output = Shapes::ShapeRef.new(shape: EndpointAccessList)
2875
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2876
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
2877
+ o.errors << Shapes::ShapeRef.new(shape: EndpointNotFoundFault)
2878
+ end)
2879
+
2880
+ api.add_operation(:describe_endpoint_authorization, Seahorse::Model::Operation.new.tap do |o|
2881
+ o.name = "DescribeEndpointAuthorization"
2882
+ o.http_method = "POST"
2883
+ o.http_request_uri = "/"
2884
+ o.input = Shapes::ShapeRef.new(shape: DescribeEndpointAuthorizationMessage)
2885
+ o.output = Shapes::ShapeRef.new(shape: EndpointAuthorizationList)
2886
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2887
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2888
+ end)
2889
+
2702
2890
  api.add_operation(:describe_event_categories, Seahorse::Model::Operation.new.tap do |o|
2703
2891
  o.name = "DescribeEventCategories"
2704
2892
  o.http_method = "POST"
@@ -3143,6 +3331,20 @@ module Aws::Redshift
3143
3331
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
3144
3332
  end)
3145
3333
 
3334
+ api.add_operation(:modify_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
3335
+ o.name = "ModifyEndpointAccess"
3336
+ o.http_method = "POST"
3337
+ o.http_request_uri = "/"
3338
+ o.input = Shapes::ShapeRef.new(shape: ModifyEndpointAccessMessage)
3339
+ o.output = Shapes::ShapeRef.new(shape: EndpointAccess)
3340
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSecurityGroupStateFault)
3341
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3342
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointStateFault)
3343
+ o.errors << Shapes::ShapeRef.new(shape: EndpointNotFoundFault)
3344
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3345
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
3346
+ end)
3347
+
3146
3348
  api.add_operation(:modify_event_subscription, Seahorse::Model::Operation.new.tap do |o|
3147
3349
  o.name = "ModifyEventSubscription"
3148
3350
  o.http_method = "POST"
@@ -3337,6 +3539,21 @@ module Aws::Redshift
3337
3539
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSecurityGroupStateFault)
3338
3540
  end)
3339
3541
 
3542
+ api.add_operation(:revoke_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
3543
+ o.name = "RevokeEndpointAccess"
3544
+ o.http_method = "POST"
3545
+ o.http_request_uri = "/"
3546
+ o.input = Shapes::ShapeRef.new(shape: RevokeEndpointAccessMessage)
3547
+ o.output = Shapes::ShapeRef.new(shape: EndpointAuthorization)
3548
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointStateFault)
3550
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSecurityGroupStateFault)
3551
+ o.errors << Shapes::ShapeRef.new(shape: EndpointNotFoundFault)
3552
+ o.errors << Shapes::ShapeRef.new(shape: EndpointAuthorizationNotFoundFault)
3553
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAuthorizationStateFault)
3554
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3555
+ end)
3556
+
3340
3557
  api.add_operation(:revoke_snapshot_access, Seahorse::Model::Operation.new.tap do |o|
3341
3558
  o.name = "RevokeSnapshotAccess"
3342
3559
  o.http_method = "POST"
@@ -27,6 +27,7 @@ module Aws::Redshift
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessToClusterDeniedFault}
30
31
  # * {AccessToSnapshotDeniedFault}
31
32
  # * {AuthorizationAlreadyExistsFault}
32
33
  # * {AuthorizationNotFoundFault}
@@ -54,6 +55,13 @@ module Aws::Redshift
54
55
  # * {CopyToRegionDisabledFault}
55
56
  # * {DependentServiceRequestThrottlingFault}
56
57
  # * {DependentServiceUnavailableFault}
58
+ # * {EndpointAlreadyExistsFault}
59
+ # * {EndpointAuthorizationAlreadyExistsFault}
60
+ # * {EndpointAuthorizationNotFoundFault}
61
+ # * {EndpointAuthorizationsPerClusterLimitExceededFault}
62
+ # * {EndpointNotFoundFault}
63
+ # * {EndpointsPerAuthorizationLimitExceededFault}
64
+ # * {EndpointsPerClusterLimitExceededFault}
57
65
  # * {EventSubscriptionQuotaExceededFault}
58
66
  # * {HsmClientCertificateAlreadyExistsFault}
59
67
  # * {HsmClientCertificateNotFoundFault}
@@ -65,6 +73,7 @@ module Aws::Redshift
65
73
  # * {IncompatibleOrderableOptions}
66
74
  # * {InsufficientClusterCapacityFault}
67
75
  # * {InsufficientS3BucketPolicyFault}
76
+ # * {InvalidAuthorizationStateFault}
68
77
  # * {InvalidClusterParameterGroupStateFault}
69
78
  # * {InvalidClusterSecurityGroupStateFault}
70
79
  # * {InvalidClusterSnapshotScheduleStateFault}
@@ -74,6 +83,7 @@ module Aws::Redshift
74
83
  # * {InvalidClusterSubnetStateFault}
75
84
  # * {InvalidClusterTrackFault}
76
85
  # * {InvalidElasticIpFault}
86
+ # * {InvalidEndpointStateFault}
77
87
  # * {InvalidHsmClientCertificateStateFault}
78
88
  # * {InvalidHsmConfigurationStateFault}
79
89
  # * {InvalidReservedNodeStateFault}
@@ -141,6 +151,16 @@ module Aws::Redshift
141
151
 
142
152
  extend Aws::Errors::DynamicErrors
143
153
 
154
+ class AccessToClusterDeniedFault < ServiceError
155
+
156
+ # @param [Seahorse::Client::RequestContext] context
157
+ # @param [String] message
158
+ # @param [Aws::Redshift::Types::AccessToClusterDeniedFault] data
159
+ def initialize(context, message, data = Aws::EmptyStructure.new)
160
+ super(context, message, data)
161
+ end
162
+ end
163
+
144
164
  class AccessToSnapshotDeniedFault < ServiceError
145
165
 
146
166
  # @param [Seahorse::Client::RequestContext] context
@@ -411,6 +431,76 @@ module Aws::Redshift
411
431
  end
412
432
  end
413
433
 
434
+ class EndpointAlreadyExistsFault < ServiceError
435
+
436
+ # @param [Seahorse::Client::RequestContext] context
437
+ # @param [String] message
438
+ # @param [Aws::Redshift::Types::EndpointAlreadyExistsFault] data
439
+ def initialize(context, message, data = Aws::EmptyStructure.new)
440
+ super(context, message, data)
441
+ end
442
+ end
443
+
444
+ class EndpointAuthorizationAlreadyExistsFault < ServiceError
445
+
446
+ # @param [Seahorse::Client::RequestContext] context
447
+ # @param [String] message
448
+ # @param [Aws::Redshift::Types::EndpointAuthorizationAlreadyExistsFault] data
449
+ def initialize(context, message, data = Aws::EmptyStructure.new)
450
+ super(context, message, data)
451
+ end
452
+ end
453
+
454
+ class EndpointAuthorizationNotFoundFault < ServiceError
455
+
456
+ # @param [Seahorse::Client::RequestContext] context
457
+ # @param [String] message
458
+ # @param [Aws::Redshift::Types::EndpointAuthorizationNotFoundFault] data
459
+ def initialize(context, message, data = Aws::EmptyStructure.new)
460
+ super(context, message, data)
461
+ end
462
+ end
463
+
464
+ class EndpointAuthorizationsPerClusterLimitExceededFault < ServiceError
465
+
466
+ # @param [Seahorse::Client::RequestContext] context
467
+ # @param [String] message
468
+ # @param [Aws::Redshift::Types::EndpointAuthorizationsPerClusterLimitExceededFault] data
469
+ def initialize(context, message, data = Aws::EmptyStructure.new)
470
+ super(context, message, data)
471
+ end
472
+ end
473
+
474
+ class EndpointNotFoundFault < ServiceError
475
+
476
+ # @param [Seahorse::Client::RequestContext] context
477
+ # @param [String] message
478
+ # @param [Aws::Redshift::Types::EndpointNotFoundFault] data
479
+ def initialize(context, message, data = Aws::EmptyStructure.new)
480
+ super(context, message, data)
481
+ end
482
+ end
483
+
484
+ class EndpointsPerAuthorizationLimitExceededFault < ServiceError
485
+
486
+ # @param [Seahorse::Client::RequestContext] context
487
+ # @param [String] message
488
+ # @param [Aws::Redshift::Types::EndpointsPerAuthorizationLimitExceededFault] data
489
+ def initialize(context, message, data = Aws::EmptyStructure.new)
490
+ super(context, message, data)
491
+ end
492
+ end
493
+
494
+ class EndpointsPerClusterLimitExceededFault < ServiceError
495
+
496
+ # @param [Seahorse::Client::RequestContext] context
497
+ # @param [String] message
498
+ # @param [Aws::Redshift::Types::EndpointsPerClusterLimitExceededFault] data
499
+ def initialize(context, message, data = Aws::EmptyStructure.new)
500
+ super(context, message, data)
501
+ end
502
+ end
503
+
414
504
  class EventSubscriptionQuotaExceededFault < ServiceError
415
505
 
416
506
  # @param [Seahorse::Client::RequestContext] context
@@ -521,6 +611,16 @@ module Aws::Redshift
521
611
  end
522
612
  end
523
613
 
614
+ class InvalidAuthorizationStateFault < ServiceError
615
+
616
+ # @param [Seahorse::Client::RequestContext] context
617
+ # @param [String] message
618
+ # @param [Aws::Redshift::Types::InvalidAuthorizationStateFault] data
619
+ def initialize(context, message, data = Aws::EmptyStructure.new)
620
+ super(context, message, data)
621
+ end
622
+ end
623
+
524
624
  class InvalidClusterParameterGroupStateFault < ServiceError
525
625
 
526
626
  # @param [Seahorse::Client::RequestContext] context
@@ -611,6 +711,16 @@ module Aws::Redshift
611
711
  end
612
712
  end
613
713
 
714
+ class InvalidEndpointStateFault < ServiceError
715
+
716
+ # @param [Seahorse::Client::RequestContext] context
717
+ # @param [String] message
718
+ # @param [Aws::Redshift::Types::InvalidEndpointStateFault] data
719
+ def initialize(context, message, data = Aws::EmptyStructure.new)
720
+ super(context, message, data)
721
+ end
722
+ end
723
+
614
724
  class InvalidHsmClientCertificateStateFault < ServiceError
615
725
 
616
726
  # @param [Seahorse::Client::RequestContext] context