aws-sdk-redshift 1.31.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4c9f743f7cf09305947ff7874cd9d0527acc4f4
4
- data.tar.gz: 96b49f0849fb07cf916098a779225b7323ff0bfe
3
+ metadata.gz: 8a1f87950c1f9438756df9f2222019860308e80c
4
+ data.tar.gz: 16271dae1b539ab9f203cad3cea3dfec10acab80
5
5
  SHA512:
6
- metadata.gz: 81a3b41d37da95b46a4c9dedd8dc0ff673a66a57c33d17f130f1f40ef163d27d0d727fb86043ccbe896b1f9596761a48067924c4deecbf40adb8c9731d1f3c73
7
- data.tar.gz: 47fabfe901b330cc3c3759ed56ab10f08f771b3b19bdc02e0beb4e6336e95518e50ff0758b01b4b392d511f6d665733a3e5dc53dab99bf40b46a0a4b4eebeb55
6
+ metadata.gz: 701b47d6cbe71f3fc70566d0799baaec239410636939ab1549f85a24485aaa156a01bef9c4715c4f61b28af4e12df02b3374f73dbfded83da508f2747ee9dcd2
7
+ data.tar.gz: fab73b59b6825c167377d83f2dc998543d6f2ed99108876539aee0cec48b72848f79fe3c5b05de1297c8840a22be39b870957747246c1f6fbc99f93510a844f8
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-redshift/customizations'
43
43
  # @service
44
44
  module Aws::Redshift
45
45
 
46
- GEM_VERSION = '1.31.0'
46
+ GEM_VERSION = '1.32.0'
47
47
 
48
48
  end
@@ -1228,6 +1228,7 @@ module Aws::Redshift
1228
1228
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
1229
1229
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
1230
1230
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
1231
+ # resp.cluster.next_maintenance_window_start_time #=> Time
1231
1232
  # resp.cluster.resize_info.resize_type #=> String
1232
1233
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
1233
1234
  #
@@ -2226,6 +2227,7 @@ module Aws::Redshift
2226
2227
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
2227
2228
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
2228
2229
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
2230
+ # resp.cluster.next_maintenance_window_start_time #=> Time
2229
2231
  # resp.cluster.resize_info.resize_type #=> String
2230
2232
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
2231
2233
  #
@@ -3562,6 +3564,7 @@ module Aws::Redshift
3562
3564
  # resp.clusters[0].snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
3563
3565
  # resp.clusters[0].expected_next_snapshot_schedule_time #=> Time
3564
3566
  # resp.clusters[0].expected_next_snapshot_schedule_time_status #=> String
3567
+ # resp.clusters[0].next_maintenance_window_start_time #=> Time
3565
3568
  # resp.clusters[0].resize_info.resize_type #=> String
3566
3569
  # resp.clusters[0].resize_info.allow_cancel_resize #=> Boolean
3567
3570
  #
@@ -4151,6 +4154,84 @@ module Aws::Redshift
4151
4154
  req.send_request(options)
4152
4155
  end
4153
4156
 
4157
+ # Returns properties of possible node configurations such as node type,
4158
+ # number of nodes, and disk usage for the specified action type.
4159
+ #
4160
+ # @option params [required, String] :action_type
4161
+ # The action type to evaluate for possible node configurations.
4162
+ # Currently, it must be "restore-cluster".
4163
+ #
4164
+ # @option params [String] :snapshot_identifier
4165
+ # The identifier of the snapshot to evaluate for possible node
4166
+ # configurations.
4167
+ #
4168
+ # @option params [String] :owner_account
4169
+ # The AWS customer account used to create or copy the snapshot. Required
4170
+ # if you are restoring a snapshot you do not own, optional if you own
4171
+ # the snapshot.
4172
+ #
4173
+ # @option params [Array<Types::NodeConfigurationOptionsFilter>] :filters
4174
+ # A set of name, operator, and value items to filter the results.
4175
+ #
4176
+ # @option params [String] :marker
4177
+ # An optional parameter that specifies the starting point to return a
4178
+ # set of response records. When the results of a
4179
+ # DescribeNodeConfigurationOptions request exceed the value specified in
4180
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4181
+ # response. You can retrieve the next set of response records by
4182
+ # providing the returned marker value in the `Marker` parameter and
4183
+ # retrying the request.
4184
+ #
4185
+ # @option params [Integer] :max_records
4186
+ # The maximum number of response records to return in each call. If the
4187
+ # number of remaining response records exceeds the specified
4188
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4189
+ # response. You can retrieve the next set of records by retrying the
4190
+ # command with the returned marker value.
4191
+ #
4192
+ # Default: `500`
4193
+ #
4194
+ # Constraints: minimum 100, maximum 500.
4195
+ #
4196
+ # @return [Types::NodeConfigurationOptionsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4197
+ #
4198
+ # * {Types::NodeConfigurationOptionsMessage#node_configuration_option_list #node_configuration_option_list} => Array&lt;Types::NodeConfigurationOption&gt;
4199
+ # * {Types::NodeConfigurationOptionsMessage#marker #marker} => String
4200
+ #
4201
+ # @example Request syntax with placeholder values
4202
+ #
4203
+ # resp = client.describe_node_configuration_options({
4204
+ # action_type: "restore-cluster", # required, accepts restore-cluster
4205
+ # snapshot_identifier: "String",
4206
+ # owner_account: "String",
4207
+ # filters: [
4208
+ # {
4209
+ # name: "NodeType", # accepts NodeType, NumberOfNodes, EstimatedDiskUtilizationPercent
4210
+ # operator: "eq", # accepts eq, lt, gt, le, ge, in, between
4211
+ # values: ["String"],
4212
+ # },
4213
+ # ],
4214
+ # marker: "String",
4215
+ # max_records: 1,
4216
+ # })
4217
+ #
4218
+ # @example Response structure
4219
+ #
4220
+ # resp.node_configuration_option_list #=> Array
4221
+ # resp.node_configuration_option_list[0].node_type #=> String
4222
+ # resp.node_configuration_option_list[0].number_of_nodes #=> Integer
4223
+ # resp.node_configuration_option_list[0].estimated_disk_utilization_percent #=> Float
4224
+ # resp.marker #=> String
4225
+ #
4226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeNodeConfigurationOptions AWS API Documentation
4227
+ #
4228
+ # @overload describe_node_configuration_options(params = {})
4229
+ # @param [Hash] params ({})
4230
+ def describe_node_configuration_options(params = {}, options = {})
4231
+ req = build_request(:describe_node_configuration_options, params)
4232
+ req.send_request(options)
4233
+ end
4234
+
4154
4235
  # Returns a list of orderable cluster options. Before you create a new
4155
4236
  # cluster you can use this operation to find what options are available,
4156
4237
  # such as the EC2 Availability Zones (AZ) in the specific AWS Region
@@ -4988,6 +5069,7 @@ module Aws::Redshift
4988
5069
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
4989
5070
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
4990
5071
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
5072
+ # resp.cluster.next_maintenance_window_start_time #=> Time
4991
5073
  # resp.cluster.resize_info.resize_type #=> String
4992
5074
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
4993
5075
  #
@@ -5221,6 +5303,7 @@ module Aws::Redshift
5221
5303
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
5222
5304
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
5223
5305
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
5306
+ # resp.cluster.next_maintenance_window_start_time #=> Time
5224
5307
  # resp.cluster.resize_info.resize_type #=> String
5225
5308
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
5226
5309
  #
@@ -5838,6 +5921,7 @@ module Aws::Redshift
5838
5921
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
5839
5922
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
5840
5923
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
5924
+ # resp.cluster.next_maintenance_window_start_time #=> Time
5841
5925
  # resp.cluster.resize_info.resize_type #=> String
5842
5926
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
5843
5927
  #
@@ -5968,6 +6052,7 @@ module Aws::Redshift
5968
6052
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
5969
6053
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
5970
6054
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
6055
+ # resp.cluster.next_maintenance_window_start_time #=> Time
5971
6056
  # resp.cluster.resize_info.resize_type #=> String
5972
6057
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
5973
6058
  #
@@ -6105,6 +6190,7 @@ module Aws::Redshift
6105
6190
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
6106
6191
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
6107
6192
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
6193
+ # resp.cluster.next_maintenance_window_start_time #=> Time
6108
6194
  # resp.cluster.resize_info.resize_type #=> String
6109
6195
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6110
6196
  #
@@ -6252,6 +6338,7 @@ module Aws::Redshift
6252
6338
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
6253
6339
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
6254
6340
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
6341
+ # resp.cluster.next_maintenance_window_start_time #=> Time
6255
6342
  # resp.cluster.resize_info.resize_type #=> String
6256
6343
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6257
6344
  #
@@ -6731,6 +6818,7 @@ module Aws::Redshift
6731
6818
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
6732
6819
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
6733
6820
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
6821
+ # resp.cluster.next_maintenance_window_start_time #=> Time
6734
6822
  # resp.cluster.resize_info.resize_type #=> String
6735
6823
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6736
6824
  #
@@ -6976,6 +7064,7 @@ module Aws::Redshift
6976
7064
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
6977
7065
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
6978
7066
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
7067
+ # resp.cluster.next_maintenance_window_start_time #=> Time
6979
7068
  # resp.cluster.resize_info.resize_type #=> String
6980
7069
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
6981
7070
  #
@@ -7196,6 +7285,7 @@ module Aws::Redshift
7196
7285
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
7197
7286
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
7198
7287
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
7288
+ # resp.cluster.next_maintenance_window_start_time #=> Time
7199
7289
  # resp.cluster.resize_info.resize_type #=> String
7200
7290
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7201
7291
  #
@@ -7440,6 +7530,9 @@ module Aws::Redshift
7440
7530
  # @option params [String] :snapshot_schedule_identifier
7441
7531
  # A unique identifier for the snapshot schedule.
7442
7532
  #
7533
+ # @option params [Integer] :number_of_nodes
7534
+ # The number of nodes specified when provisioning the restored cluster.
7535
+ #
7443
7536
  # @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7444
7537
  #
7445
7538
  # * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
@@ -7472,6 +7565,7 @@ module Aws::Redshift
7472
7565
  # iam_roles: ["String"],
7473
7566
  # maintenance_track_name: "String",
7474
7567
  # snapshot_schedule_identifier: "String",
7568
+ # number_of_nodes: 1,
7475
7569
  # })
7476
7570
  #
7477
7571
  # @example Response structure
@@ -7568,6 +7662,7 @@ module Aws::Redshift
7568
7662
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
7569
7663
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
7570
7664
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
7665
+ # resp.cluster.next_maintenance_window_start_time #=> Time
7571
7666
  # resp.cluster.resize_info.resize_type #=> String
7572
7667
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7573
7668
  #
@@ -7944,6 +8039,7 @@ module Aws::Redshift
7944
8039
  # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
7945
8040
  # resp.cluster.expected_next_snapshot_schedule_time #=> Time
7946
8041
  # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
8042
+ # resp.cluster.next_maintenance_window_start_time #=> Time
7947
8043
  # resp.cluster.resize_info.resize_type #=> String
7948
8044
  # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7949
8045
  #
@@ -7969,7 +8065,7 @@ module Aws::Redshift
7969
8065
  params: params,
7970
8066
  config: config)
7971
8067
  context[:gem_name] = 'aws-sdk-redshift'
7972
- context[:gem_version] = '1.31.0'
8068
+ context[:gem_version] = '1.32.0'
7973
8069
  Seahorse::Client::Request.new(handlers, context)
7974
8070
  end
7975
8071
 
@@ -18,6 +18,7 @@ module Aws::Redshift
18
18
  AccountAttributeList = Shapes::StructureShape.new(name: 'AccountAttributeList')
19
19
  AccountWithRestoreAccess = Shapes::StructureShape.new(name: 'AccountWithRestoreAccess')
20
20
  AccountsWithRestoreAccessList = Shapes::ListShape.new(name: 'AccountsWithRestoreAccessList')
21
+ ActionType = Shapes::StringShape.new(name: 'ActionType')
21
22
  AssociatedClusterList = Shapes::ListShape.new(name: 'AssociatedClusterList')
22
23
  AttributeList = Shapes::ListShape.new(name: 'AttributeList')
23
24
  AttributeNameList = Shapes::ListShape.new(name: 'AttributeNameList')
@@ -157,6 +158,7 @@ module Aws::Redshift
157
158
  DescribeHsmClientCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeHsmClientCertificatesMessage')
158
159
  DescribeHsmConfigurationsMessage = Shapes::StructureShape.new(name: 'DescribeHsmConfigurationsMessage')
159
160
  DescribeLoggingStatusMessage = Shapes::StructureShape.new(name: 'DescribeLoggingStatusMessage')
161
+ DescribeNodeConfigurationOptionsMessage = Shapes::StructureShape.new(name: 'DescribeNodeConfigurationOptionsMessage')
160
162
  DescribeOrderableClusterOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableClusterOptionsMessage')
161
163
  DescribeReservedNodeOfferingsMessage = Shapes::StructureShape.new(name: 'DescribeReservedNodeOfferingsMessage')
162
164
  DescribeReservedNodesMessage = Shapes::StructureShape.new(name: 'DescribeReservedNodesMessage')
@@ -267,8 +269,15 @@ module Aws::Redshift
267
269
  ModifySnapshotCopyRetentionPeriodMessage = Shapes::StructureShape.new(name: 'ModifySnapshotCopyRetentionPeriodMessage')
268
270
  ModifySnapshotCopyRetentionPeriodResult = Shapes::StructureShape.new(name: 'ModifySnapshotCopyRetentionPeriodResult')
269
271
  ModifySnapshotScheduleMessage = Shapes::StructureShape.new(name: 'ModifySnapshotScheduleMessage')
272
+ NodeConfigurationOption = Shapes::StructureShape.new(name: 'NodeConfigurationOption')
273
+ NodeConfigurationOptionList = Shapes::ListShape.new(name: 'NodeConfigurationOptionList')
274
+ NodeConfigurationOptionsFilter = Shapes::StructureShape.new(name: 'NodeConfigurationOptionsFilter')
275
+ NodeConfigurationOptionsFilterList = Shapes::ListShape.new(name: 'NodeConfigurationOptionsFilterList')
276
+ NodeConfigurationOptionsFilterName = Shapes::StringShape.new(name: 'NodeConfigurationOptionsFilterName')
277
+ NodeConfigurationOptionsMessage = Shapes::StructureShape.new(name: 'NodeConfigurationOptionsMessage')
270
278
  NumberOfNodesPerClusterLimitExceededFault = Shapes::StructureShape.new(name: 'NumberOfNodesPerClusterLimitExceededFault')
271
279
  NumberOfNodesQuotaExceededFault = Shapes::StructureShape.new(name: 'NumberOfNodesQuotaExceededFault')
280
+ OperatorType = Shapes::StringShape.new(name: 'OperatorType')
272
281
  OrderableClusterOption = Shapes::StructureShape.new(name: 'OrderableClusterOption')
273
282
  OrderableClusterOptionsList = Shapes::ListShape.new(name: 'OrderableClusterOptionsList')
274
283
  OrderableClusterOptionsMessage = Shapes::StructureShape.new(name: 'OrderableClusterOptionsMessage')
@@ -388,6 +397,7 @@ module Aws::Redshift
388
397
  UnsupportedOperationFault = Shapes::StructureShape.new(name: 'UnsupportedOperationFault')
389
398
  UnsupportedOptionFault = Shapes::StructureShape.new(name: 'UnsupportedOptionFault')
390
399
  UpdateTarget = Shapes::StructureShape.new(name: 'UpdateTarget')
400
+ ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
391
401
  VpcSecurityGroupIdList = Shapes::ListShape.new(name: 'VpcSecurityGroupIdList')
392
402
  VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
393
403
  VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
@@ -513,6 +523,7 @@ module Aws::Redshift
513
523
  Cluster.add_member(:snapshot_schedule_state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "SnapshotScheduleState"))
514
524
  Cluster.add_member(:expected_next_snapshot_schedule_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ExpectedNextSnapshotScheduleTime"))
515
525
  Cluster.add_member(:expected_next_snapshot_schedule_time_status, Shapes::ShapeRef.new(shape: String, location_name: "ExpectedNextSnapshotScheduleTimeStatus"))
526
+ Cluster.add_member(:next_maintenance_window_start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "NextMaintenanceWindowStartTime"))
516
527
  Cluster.add_member(:resize_info, Shapes::ShapeRef.new(shape: ResizeInfo, location_name: "ResizeInfo"))
517
528
  Cluster.struct_class = Types::Cluster
518
529
 
@@ -954,6 +965,14 @@ module Aws::Redshift
954
965
  DescribeLoggingStatusMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
955
966
  DescribeLoggingStatusMessage.struct_class = Types::DescribeLoggingStatusMessage
956
967
 
968
+ DescribeNodeConfigurationOptionsMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
969
+ DescribeNodeConfigurationOptionsMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
970
+ DescribeNodeConfigurationOptionsMessage.add_member(:owner_account, Shapes::ShapeRef.new(shape: String, location_name: "OwnerAccount"))
971
+ DescribeNodeConfigurationOptionsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: NodeConfigurationOptionsFilterList, location_name: "Filter"))
972
+ DescribeNodeConfigurationOptionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
973
+ DescribeNodeConfigurationOptionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
974
+ DescribeNodeConfigurationOptionsMessage.struct_class = Types::DescribeNodeConfigurationOptionsMessage
975
+
957
976
  DescribeOrderableClusterOptionsMessage.add_member(:cluster_version, Shapes::ShapeRef.new(shape: String, location_name: "ClusterVersion"))
958
977
  DescribeOrderableClusterOptionsMessage.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
959
978
  DescribeOrderableClusterOptionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
@@ -1277,6 +1296,24 @@ module Aws::Redshift
1277
1296
  ModifySnapshotScheduleMessage.add_member(:schedule_definitions, Shapes::ShapeRef.new(shape: ScheduleDefinitionList, required: true, location_name: "ScheduleDefinitions"))
1278
1297
  ModifySnapshotScheduleMessage.struct_class = Types::ModifySnapshotScheduleMessage
1279
1298
 
1299
+ NodeConfigurationOption.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
1300
+ NodeConfigurationOption.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfNodes"))
1301
+ NodeConfigurationOption.add_member(:estimated_disk_utilization_percent, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "EstimatedDiskUtilizationPercent"))
1302
+ NodeConfigurationOption.struct_class = Types::NodeConfigurationOption
1303
+
1304
+ NodeConfigurationOptionList.member = Shapes::ShapeRef.new(shape: NodeConfigurationOption, location_name: "NodeConfigurationOption")
1305
+
1306
+ NodeConfigurationOptionsFilter.add_member(:name, Shapes::ShapeRef.new(shape: NodeConfigurationOptionsFilterName, location_name: "Name"))
1307
+ NodeConfigurationOptionsFilter.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorType, location_name: "Operator"))
1308
+ NodeConfigurationOptionsFilter.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Value"))
1309
+ NodeConfigurationOptionsFilter.struct_class = Types::NodeConfigurationOptionsFilter
1310
+
1311
+ NodeConfigurationOptionsFilterList.member = Shapes::ShapeRef.new(shape: NodeConfigurationOptionsFilter, location_name: "NodeConfigurationOptionsFilter")
1312
+
1313
+ NodeConfigurationOptionsMessage.add_member(:node_configuration_option_list, Shapes::ShapeRef.new(shape: NodeConfigurationOptionList, location_name: "NodeConfigurationOptionList"))
1314
+ NodeConfigurationOptionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1315
+ NodeConfigurationOptionsMessage.struct_class = Types::NodeConfigurationOptionsMessage
1316
+
1280
1317
  OrderableClusterOption.add_member(:cluster_version, Shapes::ShapeRef.new(shape: String, location_name: "ClusterVersion"))
1281
1318
  OrderableClusterOption.add_member(:cluster_type, Shapes::ShapeRef.new(shape: String, location_name: "ClusterType"))
1282
1319
  OrderableClusterOption.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
@@ -1440,6 +1477,7 @@ module Aws::Redshift
1440
1477
  RestoreFromClusterSnapshotMessage.add_member(:iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "IamRoles"))
1441
1478
  RestoreFromClusterSnapshotMessage.add_member(:maintenance_track_name, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceTrackName"))
1442
1479
  RestoreFromClusterSnapshotMessage.add_member(:snapshot_schedule_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotScheduleIdentifier"))
1480
+ RestoreFromClusterSnapshotMessage.add_member(:number_of_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfNodes"))
1443
1481
  RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
1444
1482
 
1445
1483
  RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
@@ -1652,6 +1690,8 @@ module Aws::Redshift
1652
1690
  UpdateTarget.add_member(:supported_operations, Shapes::ShapeRef.new(shape: SupportedOperationList, location_name: "SupportedOperations"))
1653
1691
  UpdateTarget.struct_class = Types::UpdateTarget
1654
1692
 
1693
+ ValueStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
1694
+
1655
1695
  VpcSecurityGroupIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId")
1656
1696
 
1657
1697
  VpcSecurityGroupMembership.add_member(:vpc_security_group_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId"))
@@ -2273,6 +2313,22 @@ module Aws::Redshift
2273
2313
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2274
2314
  end)
2275
2315
 
2316
+ api.add_operation(:describe_node_configuration_options, Seahorse::Model::Operation.new.tap do |o|
2317
+ o.name = "DescribeNodeConfigurationOptions"
2318
+ o.http_method = "POST"
2319
+ o.http_request_uri = "/"
2320
+ o.input = Shapes::ShapeRef.new(shape: DescribeNodeConfigurationOptionsMessage)
2321
+ o.output = Shapes::ShapeRef.new(shape: NodeConfigurationOptionsMessage)
2322
+ o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotNotFoundFault)
2323
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSnapshotStateFault)
2324
+ o[:pager] = Aws::Pager.new(
2325
+ limit_key: "max_records",
2326
+ tokens: {
2327
+ "marker" => "marker"
2328
+ }
2329
+ )
2330
+ end)
2331
+
2276
2332
  api.add_operation(:describe_orderable_cluster_options, Seahorse::Model::Operation.new.tap do |o|
2277
2333
  o.name = "DescribeOrderableClusterOptions"
2278
2334
  o.http_method = "POST"
@@ -624,6 +624,10 @@ module Aws::Redshift
624
624
  # * Pending - The next snapshot is pending to be taken.
625
625
  # @return [String]
626
626
  #
627
+ # @!attribute [rw] next_maintenance_window_start_time
628
+ # The date and time in UTC when system maintenance can begin.
629
+ # @return [Time]
630
+ #
627
631
  # @!attribute [rw] resize_info
628
632
  # Returns the following:
629
633
  #
@@ -680,6 +684,7 @@ module Aws::Redshift
680
684
  :snapshot_schedule_state,
681
685
  :expected_next_snapshot_schedule_time,
682
686
  :expected_next_snapshot_schedule_time_status,
687
+ :next_maintenance_window_start_time,
683
688
  :resize_info)
684
689
  include Aws::Structure
685
690
  end
@@ -3953,6 +3958,78 @@ module Aws::Redshift
3953
3958
  include Aws::Structure
3954
3959
  end
3955
3960
 
3961
+ # @note When making an API call, you may pass DescribeNodeConfigurationOptionsMessage
3962
+ # data as a hash:
3963
+ #
3964
+ # {
3965
+ # action_type: "restore-cluster", # required, accepts restore-cluster
3966
+ # snapshot_identifier: "String",
3967
+ # owner_account: "String",
3968
+ # filters: [
3969
+ # {
3970
+ # name: "NodeType", # accepts NodeType, NumberOfNodes, EstimatedDiskUtilizationPercent
3971
+ # operator: "eq", # accepts eq, lt, gt, le, ge, in, between
3972
+ # values: ["String"],
3973
+ # },
3974
+ # ],
3975
+ # marker: "String",
3976
+ # max_records: 1,
3977
+ # }
3978
+ #
3979
+ # @!attribute [rw] action_type
3980
+ # The action type to evaluate for possible node configurations.
3981
+ # Currently, it must be "restore-cluster".
3982
+ # @return [String]
3983
+ #
3984
+ # @!attribute [rw] snapshot_identifier
3985
+ # The identifier of the snapshot to evaluate for possible node
3986
+ # configurations.
3987
+ # @return [String]
3988
+ #
3989
+ # @!attribute [rw] owner_account
3990
+ # The AWS customer account used to create or copy the snapshot.
3991
+ # Required if you are restoring a snapshot you do not own, optional if
3992
+ # you own the snapshot.
3993
+ # @return [String]
3994
+ #
3995
+ # @!attribute [rw] filters
3996
+ # A set of name, operator, and value items to filter the results.
3997
+ # @return [Array<Types::NodeConfigurationOptionsFilter>]
3998
+ #
3999
+ # @!attribute [rw] marker
4000
+ # An optional parameter that specifies the starting point to return a
4001
+ # set of response records. When the results of a
4002
+ # DescribeNodeConfigurationOptions request exceed the value specified
4003
+ # in `MaxRecords`, AWS returns a value in the `Marker` field of the
4004
+ # response. You can retrieve the next set of response records by
4005
+ # providing the returned marker value in the `Marker` parameter and
4006
+ # retrying the request.
4007
+ # @return [String]
4008
+ #
4009
+ # @!attribute [rw] max_records
4010
+ # The maximum number of response records to return in each call. If
4011
+ # the number of remaining response records exceeds the specified
4012
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4013
+ # response. You can retrieve the next set of records by retrying the
4014
+ # command with the returned marker value.
4015
+ #
4016
+ # Default: `500`
4017
+ #
4018
+ # Constraints: minimum 100, maximum 500.
4019
+ # @return [Integer]
4020
+ #
4021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeNodeConfigurationOptionsMessage AWS API Documentation
4022
+ #
4023
+ class DescribeNodeConfigurationOptionsMessage < Struct.new(
4024
+ :action_type,
4025
+ :snapshot_identifier,
4026
+ :owner_account,
4027
+ :filters,
4028
+ :marker,
4029
+ :max_records)
4030
+ include Aws::Structure
4031
+ end
4032
+
3956
4033
  # @note When making an API call, you may pass DescribeOrderableClusterOptionsMessage
3957
4034
  # data as a hash:
3958
4035
  #
@@ -6153,6 +6230,89 @@ module Aws::Redshift
6153
6230
  include Aws::Structure
6154
6231
  end
6155
6232
 
6233
+ # A list of node configurations.
6234
+ #
6235
+ # @!attribute [rw] node_type
6236
+ # The node type, such as, "ds2.8xlarge".
6237
+ # @return [String]
6238
+ #
6239
+ # @!attribute [rw] number_of_nodes
6240
+ # The number of nodes.
6241
+ # @return [Integer]
6242
+ #
6243
+ # @!attribute [rw] estimated_disk_utilization_percent
6244
+ # The estimated disk utilizaton percentage.
6245
+ # @return [Float]
6246
+ #
6247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/NodeConfigurationOption AWS API Documentation
6248
+ #
6249
+ class NodeConfigurationOption < Struct.new(
6250
+ :node_type,
6251
+ :number_of_nodes,
6252
+ :estimated_disk_utilization_percent)
6253
+ include Aws::Structure
6254
+ end
6255
+
6256
+ # A set of elements to filter the returned node configurations.
6257
+ #
6258
+ # @note When making an API call, you may pass NodeConfigurationOptionsFilter
6259
+ # data as a hash:
6260
+ #
6261
+ # {
6262
+ # name: "NodeType", # accepts NodeType, NumberOfNodes, EstimatedDiskUtilizationPercent
6263
+ # operator: "eq", # accepts eq, lt, gt, le, ge, in, between
6264
+ # values: ["String"],
6265
+ # }
6266
+ #
6267
+ # @!attribute [rw] name
6268
+ # The name of the element to filter.
6269
+ # @return [String]
6270
+ #
6271
+ # @!attribute [rw] operator
6272
+ # The filter operator. If filter Name is NodeType only the 'in'
6273
+ # operator is supported. Provide one value to evaluate for 'eq',
6274
+ # 'lt', 'le', 'gt', and 'ge'. Provide two values to evaluate
6275
+ # for 'between'. Provide a list of values for 'in'.
6276
+ # @return [String]
6277
+ #
6278
+ # @!attribute [rw] values
6279
+ # List of values. Compare Name using Operator to Values. If filter
6280
+ # Name is NumberOfNodes, then values can range from 0 to 200. If
6281
+ # filter Name is EstimatedDiskUtilizationPercent, then values can
6282
+ # range from 0 to 100. For example, filter NumberOfNodes (name) GT
6283
+ # (operator) 3 (values).
6284
+ # @return [Array<String>]
6285
+ #
6286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/NodeConfigurationOptionsFilter AWS API Documentation
6287
+ #
6288
+ class NodeConfigurationOptionsFilter < Struct.new(
6289
+ :name,
6290
+ :operator,
6291
+ :values)
6292
+ include Aws::Structure
6293
+ end
6294
+
6295
+ # @!attribute [rw] node_configuration_option_list
6296
+ # A list of valid node configurations.
6297
+ # @return [Array<Types::NodeConfigurationOption>]
6298
+ #
6299
+ # @!attribute [rw] marker
6300
+ # A value that indicates the starting point for the next set of
6301
+ # response records in a subsequent request. If a value is returned in
6302
+ # a response, you can retrieve the next set of records by providing
6303
+ # this returned marker value in the `Marker` parameter and retrying
6304
+ # the command. If the `Marker` field is empty, all response records
6305
+ # have been retrieved for the request.
6306
+ # @return [String]
6307
+ #
6308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/NodeConfigurationOptionsMessage AWS API Documentation
6309
+ #
6310
+ class NodeConfigurationOptionsMessage < Struct.new(
6311
+ :node_configuration_option_list,
6312
+ :marker)
6313
+ include Aws::Structure
6314
+ end
6315
+
6156
6316
  # Describes an orderable cluster option.
6157
6317
  #
6158
6318
  # @!attribute [rw] cluster_version
@@ -6923,6 +7083,7 @@ module Aws::Redshift
6923
7083
  # iam_roles: ["String"],
6924
7084
  # maintenance_track_name: "String",
6925
7085
  # snapshot_schedule_identifier: "String",
7086
+ # number_of_nodes: 1,
6926
7087
  # }
6927
7088
  #
6928
7089
  # @!attribute [rw] cluster_identifier
@@ -7162,6 +7323,11 @@ module Aws::Redshift
7162
7323
  # A unique identifier for the snapshot schedule.
7163
7324
  # @return [String]
7164
7325
  #
7326
+ # @!attribute [rw] number_of_nodes
7327
+ # The number of nodes specified when provisioning the restored
7328
+ # cluster.
7329
+ # @return [Integer]
7330
+ #
7165
7331
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
7166
7332
  #
7167
7333
  class RestoreFromClusterSnapshotMessage < Struct.new(
@@ -7189,7 +7355,8 @@ module Aws::Redshift
7189
7355
  :additional_info,
7190
7356
  :iam_roles,
7191
7357
  :maintenance_track_name,
7192
- :snapshot_schedule_identifier)
7358
+ :snapshot_schedule_identifier,
7359
+ :number_of_nodes)
7193
7360
  include Aws::Structure
7194
7361
  end
7195
7362
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-redshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-09 00:00:00.000000000 Z
11
+ date: 2019-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core