aws-sdk-redshift 1.92.0 → 1.94.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift/client.rb +243 -24
- data/lib/aws-sdk-redshift/client_api.rb +125 -2
- data/lib/aws-sdk-redshift/endpoint_provider.rb +0 -6
- data/lib/aws-sdk-redshift/endpoints.rb +57 -0
- data/lib/aws-sdk-redshift/errors.rb +22 -0
- data/lib/aws-sdk-redshift/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-redshift/types.rb +276 -25
- data/lib/aws-sdk-redshift.rb +1 -1
- metadata +2 -2
@@ -27,6 +27,8 @@ module Aws::Redshift
|
|
27
27
|
AquaStatus = Shapes::StringShape.new(name: 'AquaStatus')
|
28
28
|
AssociateDataShareConsumerMessage = Shapes::StructureShape.new(name: 'AssociateDataShareConsumerMessage')
|
29
29
|
AssociatedClusterList = Shapes::ListShape.new(name: 'AssociatedClusterList')
|
30
|
+
Association = Shapes::StructureShape.new(name: 'Association')
|
31
|
+
AssociationList = Shapes::ListShape.new(name: 'AssociationList')
|
30
32
|
AttributeList = Shapes::ListShape.new(name: 'AttributeList')
|
31
33
|
AttributeNameList = Shapes::ListShape.new(name: 'AttributeNameList')
|
32
34
|
AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
|
@@ -61,6 +63,8 @@ module Aws::Redshift
|
|
61
63
|
BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
|
62
64
|
BucketNotFoundFault = Shapes::StructureShape.new(name: 'BucketNotFoundFault')
|
63
65
|
CancelResizeMessage = Shapes::StructureShape.new(name: 'CancelResizeMessage')
|
66
|
+
CertificateAssociation = Shapes::StructureShape.new(name: 'CertificateAssociation')
|
67
|
+
CertificateAssociationList = Shapes::ListShape.new(name: 'CertificateAssociationList')
|
64
68
|
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
65
69
|
ClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'ClusterAlreadyExistsFault')
|
66
70
|
ClusterAssociatedToSchedule = Shapes::StructureShape.new(name: 'ClusterAssociatedToSchedule')
|
@@ -127,6 +131,8 @@ module Aws::Redshift
|
|
127
131
|
CreateClusterSnapshotResult = Shapes::StructureShape.new(name: 'CreateClusterSnapshotResult')
|
128
132
|
CreateClusterSubnetGroupMessage = Shapes::StructureShape.new(name: 'CreateClusterSubnetGroupMessage')
|
129
133
|
CreateClusterSubnetGroupResult = Shapes::StructureShape.new(name: 'CreateClusterSubnetGroupResult')
|
134
|
+
CreateCustomDomainAssociationMessage = Shapes::StructureShape.new(name: 'CreateCustomDomainAssociationMessage')
|
135
|
+
CreateCustomDomainAssociationResult = Shapes::StructureShape.new(name: 'CreateCustomDomainAssociationResult')
|
130
136
|
CreateEndpointAccessMessage = Shapes::StructureShape.new(name: 'CreateEndpointAccessMessage')
|
131
137
|
CreateEventSubscriptionMessage = Shapes::StructureShape.new(name: 'CreateEventSubscriptionMessage')
|
132
138
|
CreateEventSubscriptionResult = Shapes::StructureShape.new(name: 'CreateEventSubscriptionResult')
|
@@ -140,6 +146,11 @@ module Aws::Redshift
|
|
140
146
|
CreateSnapshotScheduleMessage = Shapes::StructureShape.new(name: 'CreateSnapshotScheduleMessage')
|
141
147
|
CreateTagsMessage = Shapes::StructureShape.new(name: 'CreateTagsMessage')
|
142
148
|
CreateUsageLimitMessage = Shapes::StructureShape.new(name: 'CreateUsageLimitMessage')
|
149
|
+
CustomCnameAssociationFault = Shapes::StructureShape.new(name: 'CustomCnameAssociationFault')
|
150
|
+
CustomDomainAssociationNotFoundFault = Shapes::StructureShape.new(name: 'CustomDomainAssociationNotFoundFault')
|
151
|
+
CustomDomainAssociationsMessage = Shapes::StructureShape.new(name: 'CustomDomainAssociationsMessage')
|
152
|
+
CustomDomainCertificateArnString = Shapes::StringShape.new(name: 'CustomDomainCertificateArnString')
|
153
|
+
CustomDomainNameString = Shapes::StringShape.new(name: 'CustomDomainNameString')
|
143
154
|
CustomerStorageMessage = Shapes::StructureShape.new(name: 'CustomerStorageMessage')
|
144
155
|
DataShare = Shapes::StructureShape.new(name: 'DataShare')
|
145
156
|
DataShareAssociation = Shapes::StructureShape.new(name: 'DataShareAssociation')
|
@@ -164,6 +175,7 @@ module Aws::Redshift
|
|
164
175
|
DeleteClusterSnapshotMessageList = Shapes::ListShape.new(name: 'DeleteClusterSnapshotMessageList')
|
165
176
|
DeleteClusterSnapshotResult = Shapes::StructureShape.new(name: 'DeleteClusterSnapshotResult')
|
166
177
|
DeleteClusterSubnetGroupMessage = Shapes::StructureShape.new(name: 'DeleteClusterSubnetGroupMessage')
|
178
|
+
DeleteCustomDomainAssociationMessage = Shapes::StructureShape.new(name: 'DeleteCustomDomainAssociationMessage')
|
167
179
|
DeleteEndpointAccessMessage = Shapes::StructureShape.new(name: 'DeleteEndpointAccessMessage')
|
168
180
|
DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
|
169
181
|
DeleteHsmClientCertificateMessage = Shapes::StructureShape.new(name: 'DeleteHsmClientCertificateMessage')
|
@@ -187,6 +199,7 @@ module Aws::Redshift
|
|
187
199
|
DescribeClusterTracksMessage = Shapes::StructureShape.new(name: 'DescribeClusterTracksMessage')
|
188
200
|
DescribeClusterVersionsMessage = Shapes::StructureShape.new(name: 'DescribeClusterVersionsMessage')
|
189
201
|
DescribeClustersMessage = Shapes::StructureShape.new(name: 'DescribeClustersMessage')
|
202
|
+
DescribeCustomDomainAssociationsMessage = Shapes::StructureShape.new(name: 'DescribeCustomDomainAssociationsMessage')
|
190
203
|
DescribeDataSharesForConsumerMessage = Shapes::StructureShape.new(name: 'DescribeDataSharesForConsumerMessage')
|
191
204
|
DescribeDataSharesForConsumerResult = Shapes::StructureShape.new(name: 'DescribeDataSharesForConsumerResult')
|
192
205
|
DescribeDataSharesForProducerMessage = Shapes::StructureShape.new(name: 'DescribeDataSharesForProducerMessage')
|
@@ -346,6 +359,8 @@ module Aws::Redshift
|
|
346
359
|
ModifyClusterSnapshotScheduleMessage = Shapes::StructureShape.new(name: 'ModifyClusterSnapshotScheduleMessage')
|
347
360
|
ModifyClusterSubnetGroupMessage = Shapes::StructureShape.new(name: 'ModifyClusterSubnetGroupMessage')
|
348
361
|
ModifyClusterSubnetGroupResult = Shapes::StructureShape.new(name: 'ModifyClusterSubnetGroupResult')
|
362
|
+
ModifyCustomDomainAssociationMessage = Shapes::StructureShape.new(name: 'ModifyCustomDomainAssociationMessage')
|
363
|
+
ModifyCustomDomainAssociationResult = Shapes::StructureShape.new(name: 'ModifyCustomDomainAssociationResult')
|
349
364
|
ModifyEndpointAccessMessage = Shapes::StructureShape.new(name: 'ModifyEndpointAccessMessage')
|
350
365
|
ModifyEventSubscriptionMessage = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionMessage')
|
351
366
|
ModifyEventSubscriptionResult = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionResult')
|
@@ -577,6 +592,13 @@ module Aws::Redshift
|
|
577
592
|
|
578
593
|
AssociatedClusterList.member = Shapes::ShapeRef.new(shape: ClusterAssociatedToSchedule, location_name: "ClusterAssociatedToSchedule")
|
579
594
|
|
595
|
+
Association.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainCertificateArn"))
|
596
|
+
Association.add_member(:custom_domain_certificate_expiry_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CustomDomainCertificateExpiryDate"))
|
597
|
+
Association.add_member(:certificate_associations, Shapes::ShapeRef.new(shape: CertificateAssociationList, location_name: "CertificateAssociations"))
|
598
|
+
Association.struct_class = Types::Association
|
599
|
+
|
600
|
+
AssociationList.member = Shapes::ShapeRef.new(shape: Association, location_name: "Association")
|
601
|
+
|
580
602
|
AttributeList.member = Shapes::ShapeRef.new(shape: AccountAttribute, location_name: "AccountAttribute")
|
581
603
|
|
582
604
|
AttributeNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "AttributeName")
|
@@ -666,6 +688,12 @@ module Aws::Redshift
|
|
666
688
|
CancelResizeMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
667
689
|
CancelResizeMessage.struct_class = Types::CancelResizeMessage
|
668
690
|
|
691
|
+
CertificateAssociation.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainName"))
|
692
|
+
CertificateAssociation.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
693
|
+
CertificateAssociation.struct_class = Types::CertificateAssociation
|
694
|
+
|
695
|
+
CertificateAssociationList.member = Shapes::ShapeRef.new(shape: CertificateAssociation, location_name: "CertificateAssociation")
|
696
|
+
|
669
697
|
Cluster.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
670
698
|
Cluster.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
671
699
|
Cluster.add_member(:cluster_status, Shapes::ShapeRef.new(shape: String, location_name: "ClusterStatus"))
|
@@ -718,6 +746,9 @@ module Aws::Redshift
|
|
718
746
|
Cluster.add_member(:aqua_configuration, Shapes::ShapeRef.new(shape: AquaConfiguration, location_name: "AquaConfiguration"))
|
719
747
|
Cluster.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
720
748
|
Cluster.add_member(:reserved_node_exchange_status, Shapes::ShapeRef.new(shape: ReservedNodeExchangeStatus, location_name: "ReservedNodeExchangeStatus"))
|
749
|
+
Cluster.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainName"))
|
750
|
+
Cluster.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainCertificateArn"))
|
751
|
+
Cluster.add_member(:custom_domain_certificate_expiry_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "CustomDomainCertificateExpiryDate"))
|
721
752
|
Cluster.struct_class = Types::Cluster
|
722
753
|
|
723
754
|
ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
|
@@ -977,6 +1008,17 @@ module Aws::Redshift
|
|
977
1008
|
CreateClusterSubnetGroupResult.add_member(:cluster_subnet_group, Shapes::ShapeRef.new(shape: ClusterSubnetGroup, location_name: "ClusterSubnetGroup"))
|
978
1009
|
CreateClusterSubnetGroupResult.struct_class = Types::CreateClusterSubnetGroupResult
|
979
1010
|
|
1011
|
+
CreateCustomDomainAssociationMessage.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainNameString, required: true, location_name: "CustomDomainName"))
|
1012
|
+
CreateCustomDomainAssociationMessage.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, required: true, location_name: "CustomDomainCertificateArn"))
|
1013
|
+
CreateCustomDomainAssociationMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1014
|
+
CreateCustomDomainAssociationMessage.struct_class = Types::CreateCustomDomainAssociationMessage
|
1015
|
+
|
1016
|
+
CreateCustomDomainAssociationResult.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainNameString, location_name: "CustomDomainName"))
|
1017
|
+
CreateCustomDomainAssociationResult.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "CustomDomainCertificateArn"))
|
1018
|
+
CreateCustomDomainAssociationResult.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1019
|
+
CreateCustomDomainAssociationResult.add_member(:custom_domain_cert_expiry_time, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainCertExpiryTime"))
|
1020
|
+
CreateCustomDomainAssociationResult.struct_class = Types::CreateCustomDomainAssociationResult
|
1021
|
+
|
980
1022
|
CreateEndpointAccessMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
981
1023
|
CreateEndpointAccessMessage.add_member(:resource_owner, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwner"))
|
982
1024
|
CreateEndpointAccessMessage.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointName"))
|
@@ -1055,6 +1097,14 @@ module Aws::Redshift
|
|
1055
1097
|
CreateUsageLimitMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1056
1098
|
CreateUsageLimitMessage.struct_class = Types::CreateUsageLimitMessage
|
1057
1099
|
|
1100
|
+
CustomCnameAssociationFault.struct_class = Types::CustomCnameAssociationFault
|
1101
|
+
|
1102
|
+
CustomDomainAssociationNotFoundFault.struct_class = Types::CustomDomainAssociationNotFoundFault
|
1103
|
+
|
1104
|
+
CustomDomainAssociationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1105
|
+
CustomDomainAssociationsMessage.add_member(:associations, Shapes::ShapeRef.new(shape: AssociationList, location_name: "Associations"))
|
1106
|
+
CustomDomainAssociationsMessage.struct_class = Types::CustomDomainAssociationsMessage
|
1107
|
+
|
1058
1108
|
CustomerStorageMessage.add_member(:total_backup_size_in_mega_bytes, Shapes::ShapeRef.new(shape: Double, location_name: "TotalBackupSizeInMegaBytes"))
|
1059
1109
|
CustomerStorageMessage.add_member(:total_provisioned_storage_in_mega_bytes, Shapes::ShapeRef.new(shape: Double, location_name: "TotalProvisionedStorageInMegaBytes"))
|
1060
1110
|
CustomerStorageMessage.struct_class = Types::CustomerStorageMessage
|
@@ -1136,6 +1186,9 @@ module Aws::Redshift
|
|
1136
1186
|
DeleteClusterSubnetGroupMessage.add_member(:cluster_subnet_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterSubnetGroupName"))
|
1137
1187
|
DeleteClusterSubnetGroupMessage.struct_class = Types::DeleteClusterSubnetGroupMessage
|
1138
1188
|
|
1189
|
+
DeleteCustomDomainAssociationMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1190
|
+
DeleteCustomDomainAssociationMessage.struct_class = Types::DeleteCustomDomainAssociationMessage
|
1191
|
+
|
1139
1192
|
DeleteEndpointAccessMessage.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointName"))
|
1140
1193
|
DeleteEndpointAccessMessage.struct_class = Types::DeleteEndpointAccessMessage
|
1141
1194
|
|
@@ -1242,6 +1295,12 @@ module Aws::Redshift
|
|
1242
1295
|
DescribeClustersMessage.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValues"))
|
1243
1296
|
DescribeClustersMessage.struct_class = Types::DescribeClustersMessage
|
1244
1297
|
|
1298
|
+
DescribeCustomDomainAssociationsMessage.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainNameString, location_name: "CustomDomainName"))
|
1299
|
+
DescribeCustomDomainAssociationsMessage.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "CustomDomainCertificateArn"))
|
1300
|
+
DescribeCustomDomainAssociationsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1301
|
+
DescribeCustomDomainAssociationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1302
|
+
DescribeCustomDomainAssociationsMessage.struct_class = Types::DescribeCustomDomainAssociationsMessage
|
1303
|
+
|
1245
1304
|
DescribeDataSharesForConsumerMessage.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerArn"))
|
1246
1305
|
DescribeDataSharesForConsumerMessage.add_member(:status, Shapes::ShapeRef.new(shape: DataShareStatusForConsumer, location_name: "Status"))
|
1247
1306
|
DescribeDataSharesForConsumerMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
@@ -1587,15 +1646,17 @@ module Aws::Redshift
|
|
1587
1646
|
|
1588
1647
|
GetClusterCredentialsMessage.add_member(:db_user, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DbUser"))
|
1589
1648
|
GetClusterCredentialsMessage.add_member(:db_name, Shapes::ShapeRef.new(shape: String, location_name: "DbName"))
|
1590
|
-
GetClusterCredentialsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String,
|
1649
|
+
GetClusterCredentialsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1591
1650
|
GetClusterCredentialsMessage.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "DurationSeconds"))
|
1592
1651
|
GetClusterCredentialsMessage.add_member(:auto_create, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoCreate"))
|
1593
1652
|
GetClusterCredentialsMessage.add_member(:db_groups, Shapes::ShapeRef.new(shape: DbGroupList, location_name: "DbGroups"))
|
1653
|
+
GetClusterCredentialsMessage.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainName"))
|
1594
1654
|
GetClusterCredentialsMessage.struct_class = Types::GetClusterCredentialsMessage
|
1595
1655
|
|
1596
1656
|
GetClusterCredentialsWithIAMMessage.add_member(:db_name, Shapes::ShapeRef.new(shape: String, location_name: "DbName"))
|
1597
|
-
GetClusterCredentialsWithIAMMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String,
|
1657
|
+
GetClusterCredentialsWithIAMMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1598
1658
|
GetClusterCredentialsWithIAMMessage.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "DurationSeconds"))
|
1659
|
+
GetClusterCredentialsWithIAMMessage.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainName"))
|
1599
1660
|
GetClusterCredentialsWithIAMMessage.struct_class = Types::GetClusterCredentialsWithIAMMessage
|
1600
1661
|
|
1601
1662
|
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ReservedNodeExchangeActionType, required: true, location_name: "ActionType"))
|
@@ -1858,6 +1919,17 @@ module Aws::Redshift
|
|
1858
1919
|
ModifyClusterSubnetGroupResult.add_member(:cluster_subnet_group, Shapes::ShapeRef.new(shape: ClusterSubnetGroup, location_name: "ClusterSubnetGroup"))
|
1859
1920
|
ModifyClusterSubnetGroupResult.struct_class = Types::ModifyClusterSubnetGroupResult
|
1860
1921
|
|
1922
|
+
ModifyCustomDomainAssociationMessage.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainNameString, location_name: "CustomDomainName"))
|
1923
|
+
ModifyCustomDomainAssociationMessage.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "CustomDomainCertificateArn"))
|
1924
|
+
ModifyCustomDomainAssociationMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1925
|
+
ModifyCustomDomainAssociationMessage.struct_class = Types::ModifyCustomDomainAssociationMessage
|
1926
|
+
|
1927
|
+
ModifyCustomDomainAssociationResult.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainNameString, location_name: "CustomDomainName"))
|
1928
|
+
ModifyCustomDomainAssociationResult.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "CustomDomainCertificateArn"))
|
1929
|
+
ModifyCustomDomainAssociationResult.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1930
|
+
ModifyCustomDomainAssociationResult.add_member(:custom_domain_cert_expiry_time, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainCertExpiryTime"))
|
1931
|
+
ModifyCustomDomainAssociationResult.struct_class = Types::ModifyCustomDomainAssociationResult
|
1932
|
+
|
1861
1933
|
ModifyEndpointAccessMessage.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointName"))
|
1862
1934
|
ModifyEndpointAccessMessage.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "VpcSecurityGroupIds"))
|
1863
1935
|
ModifyEndpointAccessMessage.struct_class = Types::ModifyEndpointAccessMessage
|
@@ -2785,6 +2857,17 @@ module Aws::Redshift
|
|
2785
2857
|
o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
|
2786
2858
|
end)
|
2787
2859
|
|
2860
|
+
api.add_operation(:create_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
2861
|
+
o.name = "CreateCustomDomainAssociation"
|
2862
|
+
o.http_method = "POST"
|
2863
|
+
o.http_request_uri = "/"
|
2864
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCustomDomainAssociationMessage)
|
2865
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCustomDomainAssociationResult)
|
2866
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
2867
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
2868
|
+
o.errors << Shapes::ShapeRef.new(shape: CustomCnameAssociationFault)
|
2869
|
+
end)
|
2870
|
+
|
2788
2871
|
api.add_operation(:create_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
2789
2872
|
o.name = "CreateEndpointAccess"
|
2790
2873
|
o.http_method = "POST"
|
@@ -2988,6 +3071,17 @@ module Aws::Redshift
|
|
2988
3071
|
o.errors << Shapes::ShapeRef.new(shape: ClusterSubnetGroupNotFoundFault)
|
2989
3072
|
end)
|
2990
3073
|
|
3074
|
+
api.add_operation(:delete_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
3075
|
+
o.name = "DeleteCustomDomainAssociation"
|
3076
|
+
o.http_method = "POST"
|
3077
|
+
o.http_request_uri = "/"
|
3078
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCustomDomainAssociationMessage)
|
3079
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3080
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3081
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
3082
|
+
o.errors << Shapes::ShapeRef.new(shape: CustomCnameAssociationFault)
|
3083
|
+
end)
|
3084
|
+
|
2991
3085
|
api.add_operation(:delete_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
2992
3086
|
o.name = "DeleteEndpointAccess"
|
2993
3087
|
o.http_method = "POST"
|
@@ -3253,6 +3347,22 @@ module Aws::Redshift
|
|
3253
3347
|
)
|
3254
3348
|
end)
|
3255
3349
|
|
3350
|
+
api.add_operation(:describe_custom_domain_associations, Seahorse::Model::Operation.new.tap do |o|
|
3351
|
+
o.name = "DescribeCustomDomainAssociations"
|
3352
|
+
o.http_method = "POST"
|
3353
|
+
o.http_request_uri = "/"
|
3354
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCustomDomainAssociationsMessage)
|
3355
|
+
o.output = Shapes::ShapeRef.new(shape: CustomDomainAssociationsMessage)
|
3356
|
+
o.errors << Shapes::ShapeRef.new(shape: CustomDomainAssociationNotFoundFault)
|
3357
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3358
|
+
o[:pager] = Aws::Pager.new(
|
3359
|
+
limit_key: "max_records",
|
3360
|
+
tokens: {
|
3361
|
+
"marker" => "marker"
|
3362
|
+
}
|
3363
|
+
)
|
3364
|
+
end)
|
3365
|
+
|
3256
3366
|
api.add_operation(:describe_data_shares, Seahorse::Model::Operation.new.tap do |o|
|
3257
3367
|
o.name = "DescribeDataShares"
|
3258
3368
|
o.http_method = "POST"
|
@@ -3803,6 +3913,8 @@ module Aws::Redshift
|
|
3803
3913
|
o.errors << Shapes::ShapeRef.new(shape: TableLimitExceededFault)
|
3804
3914
|
o.errors << Shapes::ShapeRef.new(shape: InvalidClusterTrackFault)
|
3805
3915
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRetentionPeriodFault)
|
3916
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3917
|
+
o.errors << Shapes::ShapeRef.new(shape: CustomCnameAssociationFault)
|
3806
3918
|
end)
|
3807
3919
|
|
3808
3920
|
api.add_operation(:modify_cluster_db_revision, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3882,6 +3994,17 @@ module Aws::Redshift
|
|
3882
3994
|
o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
|
3883
3995
|
end)
|
3884
3996
|
|
3997
|
+
api.add_operation(:modify_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
3998
|
+
o.name = "ModifyCustomDomainAssociation"
|
3999
|
+
o.http_method = "POST"
|
4000
|
+
o.http_request_uri = "/"
|
4001
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyCustomDomainAssociationMessage)
|
4002
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyCustomDomainAssociationResult)
|
4003
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
4004
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
4005
|
+
o.errors << Shapes::ShapeRef.new(shape: CustomCnameAssociationFault)
|
4006
|
+
end)
|
4007
|
+
|
3885
4008
|
api.add_operation(:modify_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
3886
4009
|
o.name = "ModifyEndpointAccess"
|
3887
4010
|
o.http_method = "POST"
|
@@ -46,12 +46,6 @@ module Aws::Redshift
|
|
46
46
|
end
|
47
47
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
48
48
|
end
|
49
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
50
|
-
return Aws::Endpoints::Endpoint.new(url: "https://redshift.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
51
|
-
end
|
52
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
53
|
-
return Aws::Endpoints::Endpoint.new(url: "https://redshift.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
54
|
-
end
|
55
49
|
return Aws::Endpoints::Endpoint.new(url: "https://redshift.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
56
50
|
end
|
57
51
|
end
|
@@ -9,6 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
module Aws::Redshift
|
12
|
+
# @api private
|
12
13
|
module Endpoints
|
13
14
|
|
14
15
|
class AcceptReservedNodeExchange
|
@@ -249,6 +250,20 @@ module Aws::Redshift
|
|
249
250
|
end
|
250
251
|
end
|
251
252
|
|
253
|
+
class CreateCustomDomainAssociation
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::Redshift::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
252
267
|
class CreateEndpointAccess
|
253
268
|
def self.build(context)
|
254
269
|
unless context.config.regional_endpoint
|
@@ -473,6 +488,20 @@ module Aws::Redshift
|
|
473
488
|
end
|
474
489
|
end
|
475
490
|
|
491
|
+
class DeleteCustomDomainAssociation
|
492
|
+
def self.build(context)
|
493
|
+
unless context.config.regional_endpoint
|
494
|
+
endpoint = context.config.endpoint.to_s
|
495
|
+
end
|
496
|
+
Aws::Redshift::EndpointParameters.new(
|
497
|
+
region: context.config.region,
|
498
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
499
|
+
use_fips: context.config.use_fips_endpoint,
|
500
|
+
endpoint: endpoint,
|
501
|
+
)
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
476
505
|
class DeleteEndpointAccess
|
477
506
|
def self.build(context)
|
478
507
|
unless context.config.regional_endpoint
|
@@ -767,6 +796,20 @@ module Aws::Redshift
|
|
767
796
|
end
|
768
797
|
end
|
769
798
|
|
799
|
+
class DescribeCustomDomainAssociations
|
800
|
+
def self.build(context)
|
801
|
+
unless context.config.regional_endpoint
|
802
|
+
endpoint = context.config.endpoint.to_s
|
803
|
+
end
|
804
|
+
Aws::Redshift::EndpointParameters.new(
|
805
|
+
region: context.config.region,
|
806
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
807
|
+
use_fips: context.config.use_fips_endpoint,
|
808
|
+
endpoint: endpoint,
|
809
|
+
)
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
770
813
|
class DescribeDataShares
|
771
814
|
def self.build(context)
|
772
815
|
unless context.config.regional_endpoint
|
@@ -1397,6 +1440,20 @@ module Aws::Redshift
|
|
1397
1440
|
end
|
1398
1441
|
end
|
1399
1442
|
|
1443
|
+
class ModifyCustomDomainAssociation
|
1444
|
+
def self.build(context)
|
1445
|
+
unless context.config.regional_endpoint
|
1446
|
+
endpoint = context.config.endpoint.to_s
|
1447
|
+
end
|
1448
|
+
Aws::Redshift::EndpointParameters.new(
|
1449
|
+
region: context.config.region,
|
1450
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1451
|
+
use_fips: context.config.use_fips_endpoint,
|
1452
|
+
endpoint: endpoint,
|
1453
|
+
)
|
1454
|
+
end
|
1455
|
+
end
|
1456
|
+
|
1400
1457
|
class ModifyEndpointAccess
|
1401
1458
|
def self.build(context)
|
1402
1459
|
unless context.config.regional_endpoint
|
@@ -56,6 +56,8 @@ module Aws::Redshift
|
|
56
56
|
# * {ClusterSubnetGroupQuotaExceededFault}
|
57
57
|
# * {ClusterSubnetQuotaExceededFault}
|
58
58
|
# * {CopyToRegionDisabledFault}
|
59
|
+
# * {CustomCnameAssociationFault}
|
60
|
+
# * {CustomDomainAssociationNotFoundFault}
|
59
61
|
# * {DependentServiceRequestThrottlingFault}
|
60
62
|
# * {DependentServiceUnavailableFault}
|
61
63
|
# * {EndpointAlreadyExistsFault}
|
@@ -450,6 +452,26 @@ module Aws::Redshift
|
|
450
452
|
end
|
451
453
|
end
|
452
454
|
|
455
|
+
class CustomCnameAssociationFault < ServiceError
|
456
|
+
|
457
|
+
# @param [Seahorse::Client::RequestContext] context
|
458
|
+
# @param [String] message
|
459
|
+
# @param [Aws::Redshift::Types::CustomCnameAssociationFault] data
|
460
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
461
|
+
super(context, message, data)
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
class CustomDomainAssociationNotFoundFault < ServiceError
|
466
|
+
|
467
|
+
# @param [Seahorse::Client::RequestContext] context
|
468
|
+
# @param [String] message
|
469
|
+
# @param [Aws::Redshift::Types::CustomDomainAssociationNotFoundFault] data
|
470
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
471
|
+
super(context, message, data)
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
453
475
|
class DependentServiceRequestThrottlingFault < ServiceError
|
454
476
|
|
455
477
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -90,6 +90,8 @@ module Aws::Redshift
|
|
90
90
|
Aws::Redshift::Endpoints::CreateClusterSnapshot.build(context)
|
91
91
|
when :create_cluster_subnet_group
|
92
92
|
Aws::Redshift::Endpoints::CreateClusterSubnetGroup.build(context)
|
93
|
+
when :create_custom_domain_association
|
94
|
+
Aws::Redshift::Endpoints::CreateCustomDomainAssociation.build(context)
|
93
95
|
when :create_endpoint_access
|
94
96
|
Aws::Redshift::Endpoints::CreateEndpointAccess.build(context)
|
95
97
|
when :create_event_subscription
|
@@ -122,6 +124,8 @@ module Aws::Redshift
|
|
122
124
|
Aws::Redshift::Endpoints::DeleteClusterSnapshot.build(context)
|
123
125
|
when :delete_cluster_subnet_group
|
124
126
|
Aws::Redshift::Endpoints::DeleteClusterSubnetGroup.build(context)
|
127
|
+
when :delete_custom_domain_association
|
128
|
+
Aws::Redshift::Endpoints::DeleteCustomDomainAssociation.build(context)
|
125
129
|
when :delete_endpoint_access
|
126
130
|
Aws::Redshift::Endpoints::DeleteEndpointAccess.build(context)
|
127
131
|
when :delete_event_subscription
|
@@ -164,6 +168,8 @@ module Aws::Redshift
|
|
164
168
|
Aws::Redshift::Endpoints::DescribeClusterVersions.build(context)
|
165
169
|
when :describe_clusters
|
166
170
|
Aws::Redshift::Endpoints::DescribeClusters.build(context)
|
171
|
+
when :describe_custom_domain_associations
|
172
|
+
Aws::Redshift::Endpoints::DescribeCustomDomainAssociations.build(context)
|
167
173
|
when :describe_data_shares
|
168
174
|
Aws::Redshift::Endpoints::DescribeDataShares.build(context)
|
169
175
|
when :describe_data_shares_for_consumer
|
@@ -254,6 +260,8 @@ module Aws::Redshift
|
|
254
260
|
Aws::Redshift::Endpoints::ModifyClusterSnapshotSchedule.build(context)
|
255
261
|
when :modify_cluster_subnet_group
|
256
262
|
Aws::Redshift::Endpoints::ModifyClusterSubnetGroup.build(context)
|
263
|
+
when :modify_custom_domain_association
|
264
|
+
Aws::Redshift::Endpoints::ModifyCustomDomainAssociation.build(context)
|
257
265
|
when :modify_endpoint_access
|
258
266
|
Aws::Redshift::Endpoints::ModifyEndpointAccess.build(context)
|
259
267
|
when :modify_event_subscription
|