aws-sdk-redshift 1.99.0 → 1.101.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -116,6 +116,7 @@ module Aws::Redshift
116
116
  ClusterVersionList = Shapes::ListShape.new(name: 'ClusterVersionList')
117
117
  ClusterVersionsMessage = Shapes::StructureShape.new(name: 'ClusterVersionsMessage')
118
118
  ClustersMessage = Shapes::StructureShape.new(name: 'ClustersMessage')
119
+ ConflictPolicyUpdateFault = Shapes::StructureShape.new(name: 'ConflictPolicyUpdateFault')
119
120
  CopyClusterSnapshotMessage = Shapes::StructureShape.new(name: 'CopyClusterSnapshotMessage')
120
121
  CopyClusterSnapshotResult = Shapes::StructureShape.new(name: 'CopyClusterSnapshotResult')
121
122
  CopyToRegionDisabledFault = Shapes::StructureShape.new(name: 'CopyToRegionDisabledFault')
@@ -180,6 +181,7 @@ module Aws::Redshift
180
181
  DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
181
182
  DeleteHsmClientCertificateMessage = Shapes::StructureShape.new(name: 'DeleteHsmClientCertificateMessage')
182
183
  DeleteHsmConfigurationMessage = Shapes::StructureShape.new(name: 'DeleteHsmConfigurationMessage')
184
+ DeleteResourcePolicyMessage = Shapes::StructureShape.new(name: 'DeleteResourcePolicyMessage')
183
185
  DeleteScheduledActionMessage = Shapes::StructureShape.new(name: 'DeleteScheduledActionMessage')
184
186
  DeleteSnapshotCopyGrantMessage = Shapes::StructureShape.new(name: 'DeleteSnapshotCopyGrantMessage')
185
187
  DeleteSnapshotScheduleMessage = Shapes::StructureShape.new(name: 'DeleteSnapshotScheduleMessage')
@@ -215,6 +217,7 @@ module Aws::Redshift
215
217
  DescribeEventsMessage = Shapes::StructureShape.new(name: 'DescribeEventsMessage')
216
218
  DescribeHsmClientCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeHsmClientCertificatesMessage')
217
219
  DescribeHsmConfigurationsMessage = Shapes::StructureShape.new(name: 'DescribeHsmConfigurationsMessage')
220
+ DescribeInboundIntegrationsMessage = Shapes::StructureShape.new(name: 'DescribeInboundIntegrationsMessage')
218
221
  DescribeLoggingStatusMessage = Shapes::StructureShape.new(name: 'DescribeLoggingStatusMessage')
219
222
  DescribeNodeConfigurationOptionsMessage = Shapes::StructureShape.new(name: 'DescribeNodeConfigurationOptionsMessage')
220
223
  DescribeOrderableClusterOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableClusterOptionsMessage')
@@ -278,6 +281,8 @@ module Aws::Redshift
278
281
  GetReservedNodeExchangeConfigurationOptionsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsOutputMessage')
279
282
  GetReservedNodeExchangeOfferingsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsInputMessage')
280
283
  GetReservedNodeExchangeOfferingsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsOutputMessage')
284
+ GetResourcePolicyMessage = Shapes::StructureShape.new(name: 'GetResourcePolicyMessage')
285
+ GetResourcePolicyResult = Shapes::StructureShape.new(name: 'GetResourcePolicyResult')
281
286
  HsmClientCertificate = Shapes::StructureShape.new(name: 'HsmClientCertificate')
282
287
  HsmClientCertificateAlreadyExistsFault = Shapes::StructureShape.new(name: 'HsmClientCertificateAlreadyExistsFault')
283
288
  HsmClientCertificateList = Shapes::ListShape.new(name: 'HsmClientCertificateList')
@@ -298,11 +303,17 @@ module Aws::Redshift
298
303
  ImportTablesInProgress = Shapes::ListShape.new(name: 'ImportTablesInProgress')
299
304
  ImportTablesNotStarted = Shapes::ListShape.new(name: 'ImportTablesNotStarted')
300
305
  InProgressTableRestoreQuotaExceededFault = Shapes::StructureShape.new(name: 'InProgressTableRestoreQuotaExceededFault')
306
+ InboundIntegration = Shapes::StructureShape.new(name: 'InboundIntegration')
307
+ InboundIntegrationList = Shapes::ListShape.new(name: 'InboundIntegrationList')
308
+ InboundIntegrationsMessage = Shapes::StructureShape.new(name: 'InboundIntegrationsMessage')
301
309
  IncompatibleOrderableOptions = Shapes::StructureShape.new(name: 'IncompatibleOrderableOptions')
302
310
  InsufficientClusterCapacityFault = Shapes::StructureShape.new(name: 'InsufficientClusterCapacityFault')
303
311
  InsufficientS3BucketPolicyFault = Shapes::StructureShape.new(name: 'InsufficientS3BucketPolicyFault')
304
312
  Integer = Shapes::IntegerShape.new(name: 'Integer')
305
313
  IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
314
+ IntegrationError = Shapes::StructureShape.new(name: 'IntegrationError')
315
+ IntegrationErrorList = Shapes::ListShape.new(name: 'IntegrationErrorList')
316
+ IntegrationNotFoundFault = Shapes::StructureShape.new(name: 'IntegrationNotFoundFault')
306
317
  InvalidAuthenticationProfileRequestFault = Shapes::StructureShape.new(name: 'InvalidAuthenticationProfileRequestFault')
307
318
  InvalidAuthorizationStateFault = Shapes::StructureShape.new(name: 'InvalidAuthorizationStateFault')
308
319
  InvalidClusterParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidClusterParameterGroupStateFault')
@@ -319,6 +330,7 @@ module Aws::Redshift
319
330
  InvalidHsmClientCertificateStateFault = Shapes::StructureShape.new(name: 'InvalidHsmClientCertificateStateFault')
320
331
  InvalidHsmConfigurationStateFault = Shapes::StructureShape.new(name: 'InvalidHsmConfigurationStateFault')
321
332
  InvalidNamespaceFault = Shapes::StructureShape.new(name: 'InvalidNamespaceFault')
333
+ InvalidPolicyFault = Shapes::StructureShape.new(name: 'InvalidPolicyFault')
322
334
  InvalidReservedNodeStateFault = Shapes::StructureShape.new(name: 'InvalidReservedNodeStateFault')
323
335
  InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
324
336
  InvalidRetentionPeriodFault = Shapes::StructureShape.new(name: 'InvalidRetentionPeriodFault')
@@ -333,6 +345,7 @@ module Aws::Redshift
333
345
  InvalidTagFault = Shapes::StructureShape.new(name: 'InvalidTagFault')
334
346
  InvalidUsageLimitFault = Shapes::StructureShape.new(name: 'InvalidUsageLimitFault')
335
347
  InvalidVPCNetworkStateFault = Shapes::StructureShape.new(name: 'InvalidVPCNetworkStateFault')
348
+ Ipv6CidrBlockNotFoundFault = Shapes::StructureShape.new(name: 'Ipv6CidrBlockNotFoundFault')
336
349
  LimitExceededFault = Shapes::StructureShape.new(name: 'LimitExceededFault')
337
350
  LogDestinationType = Shapes::StringShape.new(name: 'LogDestinationType')
338
351
  LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
@@ -404,6 +417,8 @@ module Aws::Redshift
404
417
  PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
405
418
  PurchaseReservedNodeOfferingMessage = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingMessage')
406
419
  PurchaseReservedNodeOfferingResult = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingResult')
420
+ PutResourcePolicyMessage = Shapes::StructureShape.new(name: 'PutResourcePolicyMessage')
421
+ PutResourcePolicyResult = Shapes::StructureShape.new(name: 'PutResourcePolicyResult')
407
422
  RebootClusterMessage = Shapes::StructureShape.new(name: 'RebootClusterMessage')
408
423
  RebootClusterResult = Shapes::StructureShape.new(name: 'RebootClusterResult')
409
424
  RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
@@ -435,6 +450,7 @@ module Aws::Redshift
435
450
  ResizeNotFoundFault = Shapes::StructureShape.new(name: 'ResizeNotFoundFault')
436
451
  ResizeProgressMessage = Shapes::StructureShape.new(name: 'ResizeProgressMessage')
437
452
  ResourceNotFoundFault = Shapes::StructureShape.new(name: 'ResourceNotFoundFault')
453
+ ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
438
454
  RestorableNodeTypeList = Shapes::ListShape.new(name: 'RestorableNodeTypeList')
439
455
  RestoreFromClusterSnapshotMessage = Shapes::StructureShape.new(name: 'RestoreFromClusterSnapshotMessage')
440
456
  RestoreFromClusterSnapshotResult = Shapes::StructureShape.new(name: 'RestoreFromClusterSnapshotResult')
@@ -555,6 +571,7 @@ module Aws::Redshift
555
571
  VpcSecurityGroupIdList = Shapes::ListShape.new(name: 'VpcSecurityGroupIdList')
556
572
  VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
557
573
  VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
574
+ ZeroETLIntegrationStatus = Shapes::StringShape.new(name: 'ZeroETLIntegrationStatus')
558
575
 
559
576
  AcceptReservedNodeExchangeInputMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodeId"))
560
577
  AcceptReservedNodeExchangeInputMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetReservedNodeOfferingId"))
@@ -751,6 +768,7 @@ module Aws::Redshift
751
768
  Cluster.add_member(:custom_domain_certificate_expiry_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CustomDomainCertificateExpiryDate"))
752
769
  Cluster.add_member(:master_password_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretArn"))
753
770
  Cluster.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
771
+ Cluster.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
754
772
  Cluster.struct_class = Types::Cluster
755
773
 
756
774
  ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
@@ -886,6 +904,7 @@ module Aws::Redshift
886
904
  ClusterSubnetGroup.add_member(:subnet_group_status, Shapes::ShapeRef.new(shape: String, location_name: "SubnetGroupStatus"))
887
905
  ClusterSubnetGroup.add_member(:subnets, Shapes::ShapeRef.new(shape: SubnetList, location_name: "Subnets"))
888
906
  ClusterSubnetGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
907
+ ClusterSubnetGroup.add_member(:supported_cluster_ip_address_types, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "SupportedClusterIpAddressTypes"))
889
908
  ClusterSubnetGroup.struct_class = Types::ClusterSubnetGroup
890
909
 
891
910
  ClusterSubnetGroupAlreadyExistsFault.struct_class = Types::ClusterSubnetGroupAlreadyExistsFault
@@ -917,6 +936,8 @@ module Aws::Redshift
917
936
  ClustersMessage.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterList, location_name: "Clusters"))
918
937
  ClustersMessage.struct_class = Types::ClustersMessage
919
938
 
939
+ ConflictPolicyUpdateFault.struct_class = Types::ConflictPolicyUpdateFault
940
+
920
941
  CopyClusterSnapshotMessage.add_member(:source_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceSnapshotIdentifier"))
921
942
  CopyClusterSnapshotMessage.add_member(:source_snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceSnapshotClusterIdentifier"))
922
943
  CopyClusterSnapshotMessage.add_member(:target_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetSnapshotIdentifier"))
@@ -972,6 +993,7 @@ module Aws::Redshift
972
993
  CreateClusterMessage.add_member(:load_sample_data, Shapes::ShapeRef.new(shape: String, location_name: "LoadSampleData"))
973
994
  CreateClusterMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
974
995
  CreateClusterMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
996
+ CreateClusterMessage.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
975
997
  CreateClusterMessage.struct_class = Types::CreateClusterMessage
976
998
 
977
999
  CreateClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
@@ -1205,6 +1227,9 @@ module Aws::Redshift
1205
1227
  DeleteHsmConfigurationMessage.add_member(:hsm_configuration_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "HsmConfigurationIdentifier"))
1206
1228
  DeleteHsmConfigurationMessage.struct_class = Types::DeleteHsmConfigurationMessage
1207
1229
 
1230
+ DeleteResourcePolicyMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
1231
+ DeleteResourcePolicyMessage.struct_class = Types::DeleteResourcePolicyMessage
1232
+
1208
1233
  DeleteScheduledActionMessage.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScheduledActionName"))
1209
1234
  DeleteScheduledActionMessage.struct_class = Types::DeleteScheduledActionMessage
1210
1235
 
@@ -1390,6 +1415,12 @@ module Aws::Redshift
1390
1415
  DescribeHsmConfigurationsMessage.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValues"))
1391
1416
  DescribeHsmConfigurationsMessage.struct_class = Types::DescribeHsmConfigurationsMessage
1392
1417
 
1418
+ DescribeInboundIntegrationsMessage.add_member(:integration_arn, Shapes::ShapeRef.new(shape: String, location_name: "IntegrationArn"))
1419
+ DescribeInboundIntegrationsMessage.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, location_name: "TargetArn"))
1420
+ DescribeInboundIntegrationsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1421
+ DescribeInboundIntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1422
+ DescribeInboundIntegrationsMessage.struct_class = Types::DescribeInboundIntegrationsMessage
1423
+
1393
1424
  DescribeLoggingStatusMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
1394
1425
  DescribeLoggingStatusMessage.struct_class = Types::DescribeLoggingStatusMessage
1395
1426
 
@@ -1683,6 +1714,12 @@ module Aws::Redshift
1683
1714
  GetReservedNodeExchangeOfferingsOutputMessage.add_member(:reserved_node_offerings, Shapes::ShapeRef.new(shape: ReservedNodeOfferingList, location_name: "ReservedNodeOfferings"))
1684
1715
  GetReservedNodeExchangeOfferingsOutputMessage.struct_class = Types::GetReservedNodeExchangeOfferingsOutputMessage
1685
1716
 
1717
+ GetResourcePolicyMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
1718
+ GetResourcePolicyMessage.struct_class = Types::GetResourcePolicyMessage
1719
+
1720
+ GetResourcePolicyResult.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
1721
+ GetResourcePolicyResult.struct_class = Types::GetResourcePolicyResult
1722
+
1686
1723
  HsmClientCertificate.add_member(:hsm_client_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "HsmClientCertificateIdentifier"))
1687
1724
  HsmClientCertificate.add_member(:hsm_client_certificate_public_key, Shapes::ShapeRef.new(shape: String, location_name: "HsmClientCertificatePublicKey"))
1688
1725
  HsmClientCertificate.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -1741,12 +1778,34 @@ module Aws::Redshift
1741
1778
 
1742
1779
  InProgressTableRestoreQuotaExceededFault.struct_class = Types::InProgressTableRestoreQuotaExceededFault
1743
1780
 
1781
+ InboundIntegration.add_member(:integration_arn, Shapes::ShapeRef.new(shape: String, location_name: "IntegrationArn"))
1782
+ InboundIntegration.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
1783
+ InboundIntegration.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, location_name: "TargetArn"))
1784
+ InboundIntegration.add_member(:status, Shapes::ShapeRef.new(shape: ZeroETLIntegrationStatus, location_name: "Status"))
1785
+ InboundIntegration.add_member(:errors, Shapes::ShapeRef.new(shape: IntegrationErrorList, location_name: "Errors"))
1786
+ InboundIntegration.add_member(:create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreateTime"))
1787
+ InboundIntegration.struct_class = Types::InboundIntegration
1788
+
1789
+ InboundIntegrationList.member = Shapes::ShapeRef.new(shape: InboundIntegration, location_name: "InboundIntegration")
1790
+
1791
+ InboundIntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1792
+ InboundIntegrationsMessage.add_member(:inbound_integrations, Shapes::ShapeRef.new(shape: InboundIntegrationList, location_name: "InboundIntegrations"))
1793
+ InboundIntegrationsMessage.struct_class = Types::InboundIntegrationsMessage
1794
+
1744
1795
  IncompatibleOrderableOptions.struct_class = Types::IncompatibleOrderableOptions
1745
1796
 
1746
1797
  InsufficientClusterCapacityFault.struct_class = Types::InsufficientClusterCapacityFault
1747
1798
 
1748
1799
  InsufficientS3BucketPolicyFault.struct_class = Types::InsufficientS3BucketPolicyFault
1749
1800
 
1801
+ IntegrationError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorCode"))
1802
+ IntegrationError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
1803
+ IntegrationError.struct_class = Types::IntegrationError
1804
+
1805
+ IntegrationErrorList.member = Shapes::ShapeRef.new(shape: IntegrationError, location_name: "IntegrationError")
1806
+
1807
+ IntegrationNotFoundFault.struct_class = Types::IntegrationNotFoundFault
1808
+
1750
1809
  InvalidAuthenticationProfileRequestFault.struct_class = Types::InvalidAuthenticationProfileRequestFault
1751
1810
 
1752
1811
  InvalidAuthorizationStateFault.struct_class = Types::InvalidAuthorizationStateFault
@@ -1779,6 +1838,8 @@ module Aws::Redshift
1779
1838
 
1780
1839
  InvalidNamespaceFault.struct_class = Types::InvalidNamespaceFault
1781
1840
 
1841
+ InvalidPolicyFault.struct_class = Types::InvalidPolicyFault
1842
+
1782
1843
  InvalidReservedNodeStateFault.struct_class = Types::InvalidReservedNodeStateFault
1783
1844
 
1784
1845
  InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
@@ -1807,6 +1868,8 @@ module Aws::Redshift
1807
1868
 
1808
1869
  InvalidVPCNetworkStateFault.struct_class = Types::InvalidVPCNetworkStateFault
1809
1870
 
1871
+ Ipv6CidrBlockNotFoundFault.struct_class = Types::Ipv6CidrBlockNotFoundFault
1872
+
1810
1873
  LimitExceededFault.struct_class = Types::LimitExceededFault
1811
1874
 
1812
1875
  LogTypeList.member = Shapes::ShapeRef.new(shape: String)
@@ -1895,6 +1958,7 @@ module Aws::Redshift
1895
1958
  ModifyClusterMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
1896
1959
  ModifyClusterMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
1897
1960
  ModifyClusterMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
1961
+ ModifyClusterMessage.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
1898
1962
  ModifyClusterMessage.struct_class = Types::ModifyClusterMessage
1899
1963
 
1900
1964
  ModifyClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
@@ -1983,6 +2047,7 @@ module Aws::Redshift
1983
2047
  NetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "SubnetId"))
1984
2048
  NetworkInterface.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "PrivateIpAddress"))
1985
2049
  NetworkInterface.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
2050
+ NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6Address"))
1986
2051
  NetworkInterface.struct_class = Types::NetworkInterface
1987
2052
 
1988
2053
  NetworkInterfaceList.member = Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "NetworkInterface")
@@ -2087,6 +2152,13 @@ module Aws::Redshift
2087
2152
  PurchaseReservedNodeOfferingResult.add_member(:reserved_node, Shapes::ShapeRef.new(shape: ReservedNode, location_name: "ReservedNode"))
2088
2153
  PurchaseReservedNodeOfferingResult.struct_class = Types::PurchaseReservedNodeOfferingResult
2089
2154
 
2155
+ PutResourcePolicyMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
2156
+ PutResourcePolicyMessage.add_member(:policy, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Policy"))
2157
+ PutResourcePolicyMessage.struct_class = Types::PutResourcePolicyMessage
2158
+
2159
+ PutResourcePolicyResult.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
2160
+ PutResourcePolicyResult.struct_class = Types::PutResourcePolicyResult
2161
+
2090
2162
  RebootClusterMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
2091
2163
  RebootClusterMessage.struct_class = Types::RebootClusterMessage
2092
2164
 
@@ -2215,6 +2287,10 @@ module Aws::Redshift
2215
2287
 
2216
2288
  ResourceNotFoundFault.struct_class = Types::ResourceNotFoundFault
2217
2289
 
2290
+ ResourcePolicy.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
2291
+ ResourcePolicy.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
2292
+ ResourcePolicy.struct_class = Types::ResourcePolicy
2293
+
2218
2294
  RestorableNodeTypeList.member = Shapes::ShapeRef.new(shape: String, location_name: "NodeType")
2219
2295
 
2220
2296
  RestoreFromClusterSnapshotMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
@@ -2252,6 +2328,7 @@ module Aws::Redshift
2252
2328
  RestoreFromClusterSnapshotMessage.add_member(:encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Encrypted"))
2253
2329
  RestoreFromClusterSnapshotMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
2254
2330
  RestoreFromClusterSnapshotMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
2331
+ RestoreFromClusterSnapshotMessage.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
2255
2332
  RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
2256
2333
 
2257
2334
  RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
@@ -2810,6 +2887,7 @@ module Aws::Redshift
2810
2887
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterTrackFault)
2811
2888
  o.errors << Shapes::ShapeRef.new(shape: SnapshotScheduleNotFoundFault)
2812
2889
  o.errors << Shapes::ShapeRef.new(shape: InvalidRetentionPeriodFault)
2890
+ o.errors << Shapes::ShapeRef.new(shape: Ipv6CidrBlockNotFoundFault)
2813
2891
  end)
2814
2892
 
2815
2893
  api.add_operation(:create_cluster_parameter_group, Seahorse::Model::Operation.new.tap do |o|
@@ -3146,6 +3224,16 @@ module Aws::Redshift
3146
3224
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
3147
3225
  end)
3148
3226
 
3227
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3228
+ o.name = "DeleteResourcePolicy"
3229
+ o.http_method = "POST"
3230
+ o.http_request_uri = "/"
3231
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyMessage)
3232
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3233
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3234
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3235
+ end)
3236
+
3149
3237
  api.add_operation(:delete_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
3150
3238
  o.name = "DeleteScheduledAction"
3151
3239
  o.http_method = "POST"
@@ -3535,6 +3623,23 @@ module Aws::Redshift
3535
3623
  )
3536
3624
  end)
3537
3625
 
3626
+ api.add_operation(:describe_inbound_integrations, Seahorse::Model::Operation.new.tap do |o|
3627
+ o.name = "DescribeInboundIntegrations"
3628
+ o.http_method = "POST"
3629
+ o.http_request_uri = "/"
3630
+ o.input = Shapes::ShapeRef.new(shape: DescribeInboundIntegrationsMessage)
3631
+ o.output = Shapes::ShapeRef.new(shape: InboundIntegrationsMessage)
3632
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationNotFoundFault)
3633
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
3634
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3635
+ o[:pager] = Aws::Pager.new(
3636
+ limit_key: "max_records",
3637
+ tokens: {
3638
+ "marker" => "marker"
3639
+ }
3640
+ )
3641
+ end)
3642
+
3538
3643
  api.add_operation(:describe_logging_status, Seahorse::Model::Operation.new.tap do |o|
3539
3644
  o.name = "DescribeLoggingStatus"
3540
3645
  o.http_method = "POST"
@@ -3876,6 +3981,17 @@ module Aws::Redshift
3876
3981
  )
3877
3982
  end)
3878
3983
 
3984
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3985
+ o.name = "GetResourcePolicy"
3986
+ o.http_method = "POST"
3987
+ o.http_request_uri = "/"
3988
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyMessage)
3989
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResult)
3990
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3991
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyFault)
3992
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3993
+ end)
3994
+
3879
3995
  api.add_operation(:modify_aqua_configuration, Seahorse::Model::Operation.new.tap do |o|
3880
3996
  o.name = "ModifyAquaConfiguration"
3881
3997
  o.http_method = "POST"
@@ -3925,6 +4041,7 @@ module Aws::Redshift
3925
4041
  o.errors << Shapes::ShapeRef.new(shape: InvalidRetentionPeriodFault)
3926
4042
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3927
4043
  o.errors << Shapes::ShapeRef.new(shape: CustomCnameAssociationFault)
4044
+ o.errors << Shapes::ShapeRef.new(shape: Ipv6CidrBlockNotFoundFault)
3928
4045
  end)
3929
4046
 
3930
4047
  api.add_operation(:modify_cluster_db_revision, Seahorse::Model::Operation.new.tap do |o|
@@ -4116,6 +4233,18 @@ module Aws::Redshift
4116
4233
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4117
4234
  end)
4118
4235
 
4236
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
4237
+ o.name = "PutResourcePolicy"
4238
+ o.http_method = "POST"
4239
+ o.http_request_uri = "/"
4240
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyMessage)
4241
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResult)
4242
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
4243
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyFault)
4244
+ o.errors << Shapes::ShapeRef.new(shape: ConflictPolicyUpdateFault)
4245
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4246
+ end)
4247
+
4119
4248
  api.add_operation(:reboot_cluster, Seahorse::Model::Operation.new.tap do |o|
4120
4249
  o.name = "RebootCluster"
4121
4250
  o.http_method = "POST"
@@ -4206,6 +4335,7 @@ module Aws::Redshift
4206
4335
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceUnavailableFault)
4207
4336
  o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyExistsFault)
4208
4337
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4338
+ o.errors << Shapes::ShapeRef.new(shape: Ipv6CidrBlockNotFoundFault)
4209
4339
  end)
4210
4340
 
4211
4341
  api.add_operation(:restore_table_from_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
@@ -32,8 +32,8 @@ module Aws::Redshift
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://redshift.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://redshift-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -572,6 +572,20 @@ module Aws::Redshift
572
572
  end
573
573
  end
574
574
 
575
+ class DeleteResourcePolicy
576
+ def self.build(context)
577
+ unless context.config.regional_endpoint
578
+ endpoint = context.config.endpoint.to_s
579
+ end
580
+ Aws::Redshift::EndpointParameters.new(
581
+ region: context.config.region,
582
+ use_dual_stack: context.config.use_dualstack_endpoint,
583
+ use_fips: context.config.use_fips_endpoint,
584
+ endpoint: endpoint,
585
+ )
586
+ end
587
+ end
588
+
575
589
  class DeleteScheduledAction
576
590
  def self.build(context)
577
591
  unless context.config.regional_endpoint
@@ -964,6 +978,20 @@ module Aws::Redshift
964
978
  end
965
979
  end
966
980
 
981
+ class DescribeInboundIntegrations
982
+ def self.build(context)
983
+ unless context.config.regional_endpoint
984
+ endpoint = context.config.endpoint.to_s
985
+ end
986
+ Aws::Redshift::EndpointParameters.new(
987
+ region: context.config.region,
988
+ use_dual_stack: context.config.use_dualstack_endpoint,
989
+ use_fips: context.config.use_fips_endpoint,
990
+ endpoint: endpoint,
991
+ )
992
+ end
993
+ end
994
+
967
995
  class DescribeLoggingStatus
968
996
  def self.build(context)
969
997
  unless context.config.regional_endpoint
@@ -1300,6 +1328,20 @@ module Aws::Redshift
1300
1328
  end
1301
1329
  end
1302
1330
 
1331
+ class GetResourcePolicy
1332
+ def self.build(context)
1333
+ unless context.config.regional_endpoint
1334
+ endpoint = context.config.endpoint.to_s
1335
+ end
1336
+ Aws::Redshift::EndpointParameters.new(
1337
+ region: context.config.region,
1338
+ use_dual_stack: context.config.use_dualstack_endpoint,
1339
+ use_fips: context.config.use_fips_endpoint,
1340
+ endpoint: endpoint,
1341
+ )
1342
+ end
1343
+ end
1344
+
1303
1345
  class ModifyAquaConfiguration
1304
1346
  def self.build(context)
1305
1347
  unless context.config.regional_endpoint
@@ -1566,6 +1608,20 @@ module Aws::Redshift
1566
1608
  end
1567
1609
  end
1568
1610
 
1611
+ class PutResourcePolicy
1612
+ def self.build(context)
1613
+ unless context.config.regional_endpoint
1614
+ endpoint = context.config.endpoint.to_s
1615
+ end
1616
+ Aws::Redshift::EndpointParameters.new(
1617
+ region: context.config.region,
1618
+ use_dual_stack: context.config.use_dualstack_endpoint,
1619
+ use_fips: context.config.use_fips_endpoint,
1620
+ endpoint: endpoint,
1621
+ )
1622
+ end
1623
+ end
1624
+
1569
1625
  class RebootCluster
1570
1626
  def self.build(context)
1571
1627
  unless context.config.regional_endpoint
@@ -55,6 +55,7 @@ module Aws::Redshift
55
55
  # * {ClusterSubnetGroupNotFoundFault}
56
56
  # * {ClusterSubnetGroupQuotaExceededFault}
57
57
  # * {ClusterSubnetQuotaExceededFault}
58
+ # * {ConflictPolicyUpdateFault}
58
59
  # * {CopyToRegionDisabledFault}
59
60
  # * {CustomCnameAssociationFault}
60
61
  # * {CustomDomainAssociationNotFoundFault}
@@ -78,6 +79,7 @@ module Aws::Redshift
78
79
  # * {IncompatibleOrderableOptions}
79
80
  # * {InsufficientClusterCapacityFault}
80
81
  # * {InsufficientS3BucketPolicyFault}
82
+ # * {IntegrationNotFoundFault}
81
83
  # * {InvalidAuthenticationProfileRequestFault}
82
84
  # * {InvalidAuthorizationStateFault}
83
85
  # * {InvalidClusterParameterGroupStateFault}
@@ -94,6 +96,7 @@ module Aws::Redshift
94
96
  # * {InvalidHsmClientCertificateStateFault}
95
97
  # * {InvalidHsmConfigurationStateFault}
96
98
  # * {InvalidNamespaceFault}
99
+ # * {InvalidPolicyFault}
97
100
  # * {InvalidReservedNodeStateFault}
98
101
  # * {InvalidRestoreFault}
99
102
  # * {InvalidRetentionPeriodFault}
@@ -108,6 +111,7 @@ module Aws::Redshift
108
111
  # * {InvalidTagFault}
109
112
  # * {InvalidUsageLimitFault}
110
113
  # * {InvalidVPCNetworkStateFault}
114
+ # * {Ipv6CidrBlockNotFoundFault}
111
115
  # * {LimitExceededFault}
112
116
  # * {NumberOfNodesPerClusterLimitExceededFault}
113
117
  # * {NumberOfNodesQuotaExceededFault}
@@ -442,6 +446,16 @@ module Aws::Redshift
442
446
  end
443
447
  end
444
448
 
449
+ class ConflictPolicyUpdateFault < ServiceError
450
+
451
+ # @param [Seahorse::Client::RequestContext] context
452
+ # @param [String] message
453
+ # @param [Aws::Redshift::Types::ConflictPolicyUpdateFault] data
454
+ def initialize(context, message, data = Aws::EmptyStructure.new)
455
+ super(context, message, data)
456
+ end
457
+ end
458
+
445
459
  class CopyToRegionDisabledFault < ServiceError
446
460
 
447
461
  # @param [Seahorse::Client::RequestContext] context
@@ -672,6 +686,16 @@ module Aws::Redshift
672
686
  end
673
687
  end
674
688
 
689
+ class IntegrationNotFoundFault < ServiceError
690
+
691
+ # @param [Seahorse::Client::RequestContext] context
692
+ # @param [String] message
693
+ # @param [Aws::Redshift::Types::IntegrationNotFoundFault] data
694
+ def initialize(context, message, data = Aws::EmptyStructure.new)
695
+ super(context, message, data)
696
+ end
697
+ end
698
+
675
699
  class InvalidAuthenticationProfileRequestFault < ServiceError
676
700
 
677
701
  # @param [Seahorse::Client::RequestContext] context
@@ -832,6 +856,16 @@ module Aws::Redshift
832
856
  end
833
857
  end
834
858
 
859
+ class InvalidPolicyFault < ServiceError
860
+
861
+ # @param [Seahorse::Client::RequestContext] context
862
+ # @param [String] message
863
+ # @param [Aws::Redshift::Types::InvalidPolicyFault] data
864
+ def initialize(context, message, data = Aws::EmptyStructure.new)
865
+ super(context, message, data)
866
+ end
867
+ end
868
+
835
869
  class InvalidReservedNodeStateFault < ServiceError
836
870
 
837
871
  # @param [Seahorse::Client::RequestContext] context
@@ -972,6 +1006,16 @@ module Aws::Redshift
972
1006
  end
973
1007
  end
974
1008
 
1009
+ class Ipv6CidrBlockNotFoundFault < ServiceError
1010
+
1011
+ # @param [Seahorse::Client::RequestContext] context
1012
+ # @param [String] message
1013
+ # @param [Aws::Redshift::Types::Ipv6CidrBlockNotFoundFault] data
1014
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1015
+ super(context, message, data)
1016
+ end
1017
+ end
1018
+
975
1019
  class LimitExceededFault < ServiceError
976
1020
 
977
1021
  # @param [Seahorse::Client::RequestContext] context
@@ -136,6 +136,8 @@ module Aws::Redshift
136
136
  Aws::Redshift::Endpoints::DeleteHsmConfiguration.build(context)
137
137
  when :delete_partner
138
138
  Aws::Redshift::Endpoints::DeletePartner.build(context)
139
+ when :delete_resource_policy
140
+ Aws::Redshift::Endpoints::DeleteResourcePolicy.build(context)
139
141
  when :delete_scheduled_action
140
142
  Aws::Redshift::Endpoints::DeleteScheduledAction.build(context)
141
143
  when :delete_snapshot_copy_grant
@@ -192,6 +194,8 @@ module Aws::Redshift
192
194
  Aws::Redshift::Endpoints::DescribeHsmClientCertificates.build(context)
193
195
  when :describe_hsm_configurations
194
196
  Aws::Redshift::Endpoints::DescribeHsmConfigurations.build(context)
197
+ when :describe_inbound_integrations
198
+ Aws::Redshift::Endpoints::DescribeInboundIntegrations.build(context)
195
199
  when :describe_logging_status
196
200
  Aws::Redshift::Endpoints::DescribeLoggingStatus.build(context)
197
201
  when :describe_node_configuration_options
@@ -240,6 +244,8 @@ module Aws::Redshift
240
244
  Aws::Redshift::Endpoints::GetReservedNodeExchangeConfigurationOptions.build(context)
241
245
  when :get_reserved_node_exchange_offerings
242
246
  Aws::Redshift::Endpoints::GetReservedNodeExchangeOfferings.build(context)
247
+ when :get_resource_policy
248
+ Aws::Redshift::Endpoints::GetResourcePolicy.build(context)
243
249
  when :modify_aqua_configuration
244
250
  Aws::Redshift::Endpoints::ModifyAquaConfiguration.build(context)
245
251
  when :modify_authentication_profile
@@ -278,6 +284,8 @@ module Aws::Redshift
278
284
  Aws::Redshift::Endpoints::PauseCluster.build(context)
279
285
  when :purchase_reserved_node_offering
280
286
  Aws::Redshift::Endpoints::PurchaseReservedNodeOffering.build(context)
287
+ when :put_resource_policy
288
+ Aws::Redshift::Endpoints::PutResourcePolicy.build(context)
281
289
  when :reboot_cluster
282
290
  Aws::Redshift::Endpoints::RebootCluster.build(context)
283
291
  when :reject_data_share