aws-sdk-redshift 1.70.0 → 1.74.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift/client.rb +393 -16
- data/lib/aws-sdk-redshift/client_api.rb +133 -0
- data/lib/aws-sdk-redshift/errors.rb +11 -0
- data/lib/aws-sdk-redshift/types.rb +334 -31
- data/lib/aws-sdk-redshift.rb +1 -1
- metadata +4 -4
@@ -206,6 +206,8 @@ module Aws::Redshift
|
|
206
206
|
DescribeOrderableClusterOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableClusterOptionsMessage')
|
207
207
|
DescribePartnersInputMessage = Shapes::StructureShape.new(name: 'DescribePartnersInputMessage')
|
208
208
|
DescribePartnersOutputMessage = Shapes::StructureShape.new(name: 'DescribePartnersOutputMessage')
|
209
|
+
DescribeReservedNodeExchangeStatusInputMessage = Shapes::StructureShape.new(name: 'DescribeReservedNodeExchangeStatusInputMessage')
|
210
|
+
DescribeReservedNodeExchangeStatusOutputMessage = Shapes::StructureShape.new(name: 'DescribeReservedNodeExchangeStatusOutputMessage')
|
209
211
|
DescribeReservedNodeOfferingsMessage = Shapes::StructureShape.new(name: 'DescribeReservedNodeOfferingsMessage')
|
210
212
|
DescribeReservedNodesMessage = Shapes::StructureShape.new(name: 'DescribeReservedNodesMessage')
|
211
213
|
DescribeResizeMessage = Shapes::StructureShape.new(name: 'DescribeResizeMessage')
|
@@ -257,6 +259,8 @@ module Aws::Redshift
|
|
257
259
|
EventSubscriptionsMessage = Shapes::StructureShape.new(name: 'EventSubscriptionsMessage')
|
258
260
|
EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
|
259
261
|
GetClusterCredentialsMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsMessage')
|
262
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsInputMessage')
|
263
|
+
GetReservedNodeExchangeConfigurationOptionsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsOutputMessage')
|
260
264
|
GetReservedNodeExchangeOfferingsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsInputMessage')
|
261
265
|
GetReservedNodeExchangeOfferingsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsOutputMessage')
|
262
266
|
HsmClientCertificate = Shapes::StructureShape.new(name: 'HsmClientCertificate')
|
@@ -389,6 +393,13 @@ module Aws::Redshift
|
|
389
393
|
ReservedNode = Shapes::StructureShape.new(name: 'ReservedNode')
|
390
394
|
ReservedNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyExistsFault')
|
391
395
|
ReservedNodeAlreadyMigratedFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyMigratedFault')
|
396
|
+
ReservedNodeConfigurationOption = Shapes::StructureShape.new(name: 'ReservedNodeConfigurationOption')
|
397
|
+
ReservedNodeConfigurationOptionList = Shapes::ListShape.new(name: 'ReservedNodeConfigurationOptionList')
|
398
|
+
ReservedNodeExchangeActionType = Shapes::StringShape.new(name: 'ReservedNodeExchangeActionType')
|
399
|
+
ReservedNodeExchangeNotFoundFault = Shapes::StructureShape.new(name: 'ReservedNodeExchangeNotFoundFault')
|
400
|
+
ReservedNodeExchangeStatus = Shapes::StructureShape.new(name: 'ReservedNodeExchangeStatus')
|
401
|
+
ReservedNodeExchangeStatusList = Shapes::ListShape.new(name: 'ReservedNodeExchangeStatusList')
|
402
|
+
ReservedNodeExchangeStatusType = Shapes::StringShape.new(name: 'ReservedNodeExchangeStatusType')
|
392
403
|
ReservedNodeList = Shapes::ListShape.new(name: 'ReservedNodeList')
|
393
404
|
ReservedNodeNotFoundFault = Shapes::StructureShape.new(name: 'ReservedNodeNotFoundFault')
|
394
405
|
ReservedNodeOffering = Shapes::StructureShape.new(name: 'ReservedNodeOffering')
|
@@ -699,6 +710,8 @@ module Aws::Redshift
|
|
699
710
|
Cluster.add_member(:cluster_namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "ClusterNamespaceArn"))
|
700
711
|
Cluster.add_member(:total_storage_capacity_in_mega_bytes, Shapes::ShapeRef.new(shape: LongOptional, location_name: "TotalStorageCapacityInMegaBytes"))
|
701
712
|
Cluster.add_member(:aqua_configuration, Shapes::ShapeRef.new(shape: AquaConfiguration, location_name: "AquaConfiguration"))
|
713
|
+
Cluster.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
714
|
+
Cluster.add_member(:reserved_node_exchange_status, Shapes::ShapeRef.new(shape: ReservedNodeExchangeStatus, location_name: "ReservedNodeExchangeStatus"))
|
702
715
|
Cluster.struct_class = Types::Cluster
|
703
716
|
|
704
717
|
ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
|
@@ -910,6 +923,7 @@ module Aws::Redshift
|
|
910
923
|
CreateClusterMessage.add_member(:snapshot_schedule_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotScheduleIdentifier"))
|
911
924
|
CreateClusterMessage.add_member(:availability_zone_relocation, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AvailabilityZoneRelocation"))
|
912
925
|
CreateClusterMessage.add_member(:aqua_configuration_status, Shapes::ShapeRef.new(shape: AquaConfigurationStatus, location_name: "AquaConfigurationStatus"))
|
926
|
+
CreateClusterMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
913
927
|
CreateClusterMessage.struct_class = Types::CreateClusterMessage
|
914
928
|
|
915
929
|
CreateClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
|
@@ -1324,6 +1338,16 @@ module Aws::Redshift
|
|
1324
1338
|
DescribePartnersOutputMessage.add_member(:partner_integration_info_list, Shapes::ShapeRef.new(shape: PartnerIntegrationInfoList, location_name: "PartnerIntegrationInfoList"))
|
1325
1339
|
DescribePartnersOutputMessage.struct_class = Types::DescribePartnersOutputMessage
|
1326
1340
|
|
1341
|
+
DescribeReservedNodeExchangeStatusInputMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
|
1342
|
+
DescribeReservedNodeExchangeStatusInputMessage.add_member(:reserved_node_exchange_request_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeExchangeRequestId"))
|
1343
|
+
DescribeReservedNodeExchangeStatusInputMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1344
|
+
DescribeReservedNodeExchangeStatusInputMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1345
|
+
DescribeReservedNodeExchangeStatusInputMessage.struct_class = Types::DescribeReservedNodeExchangeStatusInputMessage
|
1346
|
+
|
1347
|
+
DescribeReservedNodeExchangeStatusOutputMessage.add_member(:reserved_node_exchange_status_details, Shapes::ShapeRef.new(shape: ReservedNodeExchangeStatusList, location_name: "ReservedNodeExchangeStatusDetails"))
|
1348
|
+
DescribeReservedNodeExchangeStatusOutputMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1349
|
+
DescribeReservedNodeExchangeStatusOutputMessage.struct_class = Types::DescribeReservedNodeExchangeStatusOutputMessage
|
1350
|
+
|
1327
1351
|
DescribeReservedNodeOfferingsMessage.add_member(:reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeOfferingId"))
|
1328
1352
|
DescribeReservedNodeOfferingsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1329
1353
|
DescribeReservedNodeOfferingsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
@@ -1549,6 +1573,17 @@ module Aws::Redshift
|
|
1549
1573
|
GetClusterCredentialsMessage.add_member(:db_groups, Shapes::ShapeRef.new(shape: DbGroupList, location_name: "DbGroups"))
|
1550
1574
|
GetClusterCredentialsMessage.struct_class = Types::GetClusterCredentialsMessage
|
1551
1575
|
|
1576
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ReservedNodeExchangeActionType, required: true, location_name: "ActionType"))
|
1577
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1578
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
|
1579
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1580
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1581
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage.struct_class = Types::GetReservedNodeExchangeConfigurationOptionsInputMessage
|
1582
|
+
|
1583
|
+
GetReservedNodeExchangeConfigurationOptionsOutputMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1584
|
+
GetReservedNodeExchangeConfigurationOptionsOutputMessage.add_member(:reserved_node_configuration_option_list, Shapes::ShapeRef.new(shape: ReservedNodeConfigurationOptionList, location_name: "ReservedNodeConfigurationOptionList"))
|
1585
|
+
GetReservedNodeExchangeConfigurationOptionsOutputMessage.struct_class = Types::GetReservedNodeExchangeConfigurationOptionsOutputMessage
|
1586
|
+
|
1552
1587
|
GetReservedNodeExchangeOfferingsInputMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodeId"))
|
1553
1588
|
GetReservedNodeExchangeOfferingsInputMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1554
1589
|
GetReservedNodeExchangeOfferingsInputMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
@@ -1722,6 +1757,7 @@ module Aws::Redshift
|
|
1722
1757
|
ModifyClusterIamRolesMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1723
1758
|
ModifyClusterIamRolesMessage.add_member(:add_iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "AddIamRoles"))
|
1724
1759
|
ModifyClusterIamRolesMessage.add_member(:remove_iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "RemoveIamRoles"))
|
1760
|
+
ModifyClusterIamRolesMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
1725
1761
|
ModifyClusterIamRolesMessage.struct_class = Types::ModifyClusterIamRolesMessage
|
1726
1762
|
|
1727
1763
|
ModifyClusterIamRolesResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -1978,6 +2014,28 @@ module Aws::Redshift
|
|
1978
2014
|
|
1979
2015
|
ReservedNodeAlreadyMigratedFault.struct_class = Types::ReservedNodeAlreadyMigratedFault
|
1980
2016
|
|
2017
|
+
ReservedNodeConfigurationOption.add_member(:source_reserved_node, Shapes::ShapeRef.new(shape: ReservedNode, location_name: "SourceReservedNode"))
|
2018
|
+
ReservedNodeConfigurationOption.add_member(:target_reserved_node_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TargetReservedNodeCount"))
|
2019
|
+
ReservedNodeConfigurationOption.add_member(:target_reserved_node_offering, Shapes::ShapeRef.new(shape: ReservedNodeOffering, location_name: "TargetReservedNodeOffering"))
|
2020
|
+
ReservedNodeConfigurationOption.struct_class = Types::ReservedNodeConfigurationOption
|
2021
|
+
|
2022
|
+
ReservedNodeConfigurationOptionList.member = Shapes::ShapeRef.new(shape: ReservedNodeConfigurationOption, location_name: "ReservedNodeConfigurationOption")
|
2023
|
+
|
2024
|
+
ReservedNodeExchangeNotFoundFault.struct_class = Types::ReservedNodeExchangeNotFoundFault
|
2025
|
+
|
2026
|
+
ReservedNodeExchangeStatus.add_member(:reserved_node_exchange_request_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeExchangeRequestId"))
|
2027
|
+
ReservedNodeExchangeStatus.add_member(:status, Shapes::ShapeRef.new(shape: ReservedNodeExchangeStatusType, location_name: "Status"))
|
2028
|
+
ReservedNodeExchangeStatus.add_member(:request_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "RequestTime"))
|
2029
|
+
ReservedNodeExchangeStatus.add_member(:source_reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceReservedNodeId"))
|
2030
|
+
ReservedNodeExchangeStatus.add_member(:source_reserved_node_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceReservedNodeType"))
|
2031
|
+
ReservedNodeExchangeStatus.add_member(:source_reserved_node_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SourceReservedNodeCount"))
|
2032
|
+
ReservedNodeExchangeStatus.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeOfferingId"))
|
2033
|
+
ReservedNodeExchangeStatus.add_member(:target_reserved_node_type, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeType"))
|
2034
|
+
ReservedNodeExchangeStatus.add_member(:target_reserved_node_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TargetReservedNodeCount"))
|
2035
|
+
ReservedNodeExchangeStatus.struct_class = Types::ReservedNodeExchangeStatus
|
2036
|
+
|
2037
|
+
ReservedNodeExchangeStatusList.member = Shapes::ShapeRef.new(shape: ReservedNodeExchangeStatus, location_name: "ReservedNodeExchangeStatus")
|
2038
|
+
|
1981
2039
|
ReservedNodeList.member = Shapes::ShapeRef.new(shape: ReservedNode, location_name: "ReservedNode")
|
1982
2040
|
|
1983
2041
|
ReservedNodeNotFoundFault.struct_class = Types::ReservedNodeNotFoundFault
|
@@ -2017,6 +2075,8 @@ module Aws::Redshift
|
|
2017
2075
|
ResizeClusterMessage.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
2018
2076
|
ResizeClusterMessage.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfNodes"))
|
2019
2077
|
ResizeClusterMessage.add_member(:classic, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Classic"))
|
2078
|
+
ResizeClusterMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
|
2079
|
+
ResizeClusterMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeOfferingId"))
|
2020
2080
|
ResizeClusterMessage.struct_class = Types::ResizeClusterMessage
|
2021
2081
|
|
2022
2082
|
ResizeClusterResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -2078,6 +2138,9 @@ module Aws::Redshift
|
|
2078
2138
|
RestoreFromClusterSnapshotMessage.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfNodes"))
|
2079
2139
|
RestoreFromClusterSnapshotMessage.add_member(:availability_zone_relocation, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AvailabilityZoneRelocation"))
|
2080
2140
|
RestoreFromClusterSnapshotMessage.add_member(:aqua_configuration_status, Shapes::ShapeRef.new(shape: AquaConfigurationStatus, location_name: "AquaConfigurationStatus"))
|
2141
|
+
RestoreFromClusterSnapshotMessage.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "DefaultIamRoleArn"))
|
2142
|
+
RestoreFromClusterSnapshotMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodeId"))
|
2143
|
+
RestoreFromClusterSnapshotMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "TargetReservedNodeOfferingId"))
|
2081
2144
|
RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
|
2082
2145
|
|
2083
2146
|
RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -3163,6 +3226,12 @@ module Aws::Redshift
|
|
3163
3226
|
o.input = Shapes::ShapeRef.new(shape: DescribeDataSharesMessage)
|
3164
3227
|
o.output = Shapes::ShapeRef.new(shape: DescribeDataSharesResult)
|
3165
3228
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDataShareFault)
|
3229
|
+
o[:pager] = Aws::Pager.new(
|
3230
|
+
limit_key: "max_records",
|
3231
|
+
tokens: {
|
3232
|
+
"marker" => "marker"
|
3233
|
+
}
|
3234
|
+
)
|
3166
3235
|
end)
|
3167
3236
|
|
3168
3237
|
api.add_operation(:describe_data_shares_for_consumer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3172,6 +3241,12 @@ module Aws::Redshift
|
|
3172
3241
|
o.input = Shapes::ShapeRef.new(shape: DescribeDataSharesForConsumerMessage)
|
3173
3242
|
o.output = Shapes::ShapeRef.new(shape: DescribeDataSharesForConsumerResult)
|
3174
3243
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
|
3244
|
+
o[:pager] = Aws::Pager.new(
|
3245
|
+
limit_key: "max_records",
|
3246
|
+
tokens: {
|
3247
|
+
"marker" => "marker"
|
3248
|
+
}
|
3249
|
+
)
|
3175
3250
|
end)
|
3176
3251
|
|
3177
3252
|
api.add_operation(:describe_data_shares_for_producer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3181,6 +3256,12 @@ module Aws::Redshift
|
|
3181
3256
|
o.input = Shapes::ShapeRef.new(shape: DescribeDataSharesForProducerMessage)
|
3182
3257
|
o.output = Shapes::ShapeRef.new(shape: DescribeDataSharesForProducerResult)
|
3183
3258
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
|
3259
|
+
o[:pager] = Aws::Pager.new(
|
3260
|
+
limit_key: "max_records",
|
3261
|
+
tokens: {
|
3262
|
+
"marker" => "marker"
|
3263
|
+
}
|
3264
|
+
)
|
3184
3265
|
end)
|
3185
3266
|
|
3186
3267
|
api.add_operation(:describe_default_cluster_parameters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3351,6 +3432,23 @@ module Aws::Redshift
|
|
3351
3432
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
|
3352
3433
|
end)
|
3353
3434
|
|
3435
|
+
api.add_operation(:describe_reserved_node_exchange_status, Seahorse::Model::Operation.new.tap do |o|
|
3436
|
+
o.name = "DescribeReservedNodeExchangeStatus"
|
3437
|
+
o.http_method = "POST"
|
3438
|
+
o.http_request_uri = "/"
|
3439
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReservedNodeExchangeStatusInputMessage)
|
3440
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReservedNodeExchangeStatusOutputMessage)
|
3441
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeNotFoundFault)
|
3442
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeExchangeNotFoundFault)
|
3443
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3444
|
+
o[:pager] = Aws::Pager.new(
|
3445
|
+
limit_key: "max_records",
|
3446
|
+
tokens: {
|
3447
|
+
"marker" => "marker"
|
3448
|
+
}
|
3449
|
+
)
|
3450
|
+
end)
|
3451
|
+
|
3354
3452
|
api.add_operation(:describe_reserved_node_offerings, Seahorse::Model::Operation.new.tap do |o|
|
3355
3453
|
o.name = "DescribeReservedNodeOfferings"
|
3356
3454
|
o.http_method = "POST"
|
@@ -3571,6 +3669,28 @@ module Aws::Redshift
|
|
3571
3669
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3572
3670
|
end)
|
3573
3671
|
|
3672
|
+
api.add_operation(:get_reserved_node_exchange_configuration_options, Seahorse::Model::Operation.new.tap do |o|
|
3673
|
+
o.name = "GetReservedNodeExchangeConfigurationOptions"
|
3674
|
+
o.http_method = "POST"
|
3675
|
+
o.http_request_uri = "/"
|
3676
|
+
o.input = Shapes::ShapeRef.new(shape: GetReservedNodeExchangeConfigurationOptionsInputMessage)
|
3677
|
+
o.output = Shapes::ShapeRef.new(shape: GetReservedNodeExchangeConfigurationOptionsOutputMessage)
|
3678
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeNotFoundFault)
|
3679
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidReservedNodeStateFault)
|
3680
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyMigratedFault)
|
3681
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeOfferingNotFoundFault)
|
3682
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3683
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceUnavailableFault)
|
3684
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
3685
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotNotFoundFault)
|
3686
|
+
o[:pager] = Aws::Pager.new(
|
3687
|
+
limit_key: "max_records",
|
3688
|
+
tokens: {
|
3689
|
+
"marker" => "marker"
|
3690
|
+
}
|
3691
|
+
)
|
3692
|
+
end)
|
3693
|
+
|
3574
3694
|
api.add_operation(:get_reserved_node_exchange_offerings, Seahorse::Model::Operation.new.tap do |o|
|
3575
3695
|
o.name = "GetReservedNodeExchangeOfferings"
|
3576
3696
|
o.http_method = "POST"
|
@@ -3862,6 +3982,12 @@ module Aws::Redshift
|
|
3862
3982
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3863
3983
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
|
3864
3984
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
|
3985
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeNotFoundFault)
|
3986
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidReservedNodeStateFault)
|
3987
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyMigratedFault)
|
3988
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeOfferingNotFoundFault)
|
3989
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceUnavailableFault)
|
3990
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyExistsFault)
|
3865
3991
|
end)
|
3866
3992
|
|
3867
3993
|
api.add_operation(:restore_from_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3895,6 +4021,13 @@ module Aws::Redshift
|
|
3895
4021
|
o.errors << Shapes::ShapeRef.new(shape: SnapshotScheduleNotFoundFault)
|
3896
4022
|
o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededFault)
|
3897
4023
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
|
4024
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeNotFoundFault)
|
4025
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidReservedNodeStateFault)
|
4026
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyMigratedFault)
|
4027
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeOfferingNotFoundFault)
|
4028
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceUnavailableFault)
|
4029
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyExistsFault)
|
4030
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3898
4031
|
end)
|
3899
4032
|
|
3900
4033
|
api.add_operation(:restore_table_from_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
@@ -112,6 +112,7 @@ module Aws::Redshift
|
|
112
112
|
# * {PartnerNotFoundFault}
|
113
113
|
# * {ReservedNodeAlreadyExistsFault}
|
114
114
|
# * {ReservedNodeAlreadyMigratedFault}
|
115
|
+
# * {ReservedNodeExchangeNotFoundFault}
|
115
116
|
# * {ReservedNodeNotFoundFault}
|
116
117
|
# * {ReservedNodeOfferingNotFoundFault}
|
117
118
|
# * {ReservedNodeQuotaExceededFault}
|
@@ -1009,6 +1010,16 @@ module Aws::Redshift
|
|
1009
1010
|
end
|
1010
1011
|
end
|
1011
1012
|
|
1013
|
+
class ReservedNodeExchangeNotFoundFault < ServiceError
|
1014
|
+
|
1015
|
+
# @param [Seahorse::Client::RequestContext] context
|
1016
|
+
# @param [String] message
|
1017
|
+
# @param [Aws::Redshift::Types::ReservedNodeExchangeNotFoundFault] data
|
1018
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1019
|
+
super(context, message, data)
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
|
1012
1023
|
class ReservedNodeNotFoundFault < ServiceError
|
1013
1024
|
|
1014
1025
|
# @param [Seahorse::Client::RequestContext] context
|