aws-sdk-redshift 1.101.0 → 1.102.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
  SHA256:
3
- metadata.gz: ff9f269c8aa4771672a14516996129855fd0f812adbea6925b79062d8836c83d
4
- data.tar.gz: c90e92715d144d18c36915f156c04ef9d37652ca38af92b9c0cc9c98a9f25fe3
3
+ metadata.gz: 148a524755e1f89fc2a436bb34a5e0361a5e63385fc20c832d5bb0bae9f21bbb
4
+ data.tar.gz: fd1293d3cacb5495a7f575b18cf96f85a4e3d76b25863425b100abbbf8571d70
5
5
  SHA512:
6
- metadata.gz: a80f0a2f3a6991f34a5945741a402a79724b37f410701999c26883e1869175978e7de55f121b18c4dff04216e5a6efcc9d6d88177b78272d0e6c69b43a907bfd
7
- data.tar.gz: 93a3b35cfc4f7559266b70fe0bdc80d8920f374bbabaa0ad678510867a36e19c326c4da0f66603cc52c852adcf1332e7aca10a14cafe5e487a43dad858db082c
6
+ metadata.gz: 4603e66f809ca0459c517dc5b7eb28236e5683d61afc707958c9ae44b6bb35c385657ee0c7607d2066dd3d7f711dbf2c3f8e056afea3d69e0b3d882f0eed5c6f
7
+ data.tar.gz: 21b48abaf4439e318213fb9bb22cf39902dcca1bfe2bd78aca40ac4f321d3ce4d494630676461f18c3f1f568065daa28c6a0a31fdb5e72759bbab30b9a106daf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.102.0 (2023-11-01)
5
+ ------------------
6
+
7
+ * Feature - Added support for Multi-AZ deployments for Provisioned RA3 clusters that provide 99.99% SLA availability.
8
+
4
9
  1.101.0 (2023-10-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.101.0
1
+ 1.102.0
@@ -1533,6 +1533,10 @@ module Aws::Redshift
1533
1533
  # The IP address types that the cluster supports. Possible values are
1534
1534
  # `ipv4` and `dualstack`.
1535
1535
  #
1536
+ # @option params [Boolean] :multi_az
1537
+ # If true, Amazon Redshift will deploy the cluster in two Availability
1538
+ # Zones (AZ).
1539
+ #
1536
1540
  # @return [Types::CreateClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1537
1541
  #
1538
1542
  # * {Types::CreateClusterResult#cluster #cluster} => Types::Cluster
@@ -1582,6 +1586,7 @@ module Aws::Redshift
1582
1586
  # manage_master_password: false,
1583
1587
  # master_password_secret_kms_key_id: "String",
1584
1588
  # ip_address_type: "String",
1589
+ # multi_az: false,
1585
1590
  # })
1586
1591
  #
1587
1592
  # @example Response structure
@@ -1711,6 +1716,12 @@ module Aws::Redshift
1711
1716
  # resp.cluster.master_password_secret_arn #=> String
1712
1717
  # resp.cluster.master_password_secret_kms_key_id #=> String
1713
1718
  # resp.cluster.ip_address_type #=> String
1719
+ # resp.cluster.multi_az #=> String
1720
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
1721
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
1722
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
1723
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
1724
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
1714
1725
  #
1715
1726
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster AWS API Documentation
1716
1727
  #
@@ -3148,6 +3159,12 @@ module Aws::Redshift
3148
3159
  # resp.cluster.master_password_secret_arn #=> String
3149
3160
  # resp.cluster.master_password_secret_kms_key_id #=> String
3150
3161
  # resp.cluster.ip_address_type #=> String
3162
+ # resp.cluster.multi_az #=> String
3163
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
3164
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
3165
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
3166
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
3167
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
3151
3168
  #
3152
3169
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster AWS API Documentation
3153
3170
  #
@@ -4775,6 +4792,12 @@ module Aws::Redshift
4775
4792
  # resp.clusters[0].master_password_secret_arn #=> String
4776
4793
  # resp.clusters[0].master_password_secret_kms_key_id #=> String
4777
4794
  # resp.clusters[0].ip_address_type #=> String
4795
+ # resp.clusters[0].multi_az #=> String
4796
+ # resp.clusters[0].multi_az_secondary.availability_zone #=> String
4797
+ # resp.clusters[0].multi_az_secondary.cluster_nodes #=> Array
4798
+ # resp.clusters[0].multi_az_secondary.cluster_nodes[0].node_role #=> String
4799
+ # resp.clusters[0].multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
4800
+ # resp.clusters[0].multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
4778
4801
  #
4779
4802
  #
4780
4803
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -7157,6 +7180,12 @@ module Aws::Redshift
7157
7180
  # resp.cluster.master_password_secret_arn #=> String
7158
7181
  # resp.cluster.master_password_secret_kms_key_id #=> String
7159
7182
  # resp.cluster.ip_address_type #=> String
7183
+ # resp.cluster.multi_az #=> String
7184
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
7185
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
7186
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
7187
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
7188
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
7160
7189
  #
7161
7190
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy AWS API Documentation
7162
7191
  #
@@ -7498,6 +7527,12 @@ module Aws::Redshift
7498
7527
  # resp.cluster.master_password_secret_arn #=> String
7499
7528
  # resp.cluster.master_password_secret_kms_key_id #=> String
7500
7529
  # resp.cluster.ip_address_type #=> String
7530
+ # resp.cluster.multi_az #=> String
7531
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
7532
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
7533
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
7534
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
7535
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
7501
7536
  #
7502
7537
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy AWS API Documentation
7503
7538
  #
@@ -7508,6 +7543,166 @@ module Aws::Redshift
7508
7543
  req.send_request(options)
7509
7544
  end
7510
7545
 
7546
+ # Fails over the primary compute unit of the specified Multi-AZ cluster
7547
+ # to another Availability Zone.
7548
+ #
7549
+ # @option params [required, String] :cluster_identifier
7550
+ # The unique identifier of the cluster for which the primary compute
7551
+ # unit will be failed over to another Availability Zone.
7552
+ #
7553
+ # @return [Types::FailoverPrimaryComputeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7554
+ #
7555
+ # * {Types::FailoverPrimaryComputeResult#cluster #cluster} => Types::Cluster
7556
+ #
7557
+ # @example Request syntax with placeholder values
7558
+ #
7559
+ # resp = client.failover_primary_compute({
7560
+ # cluster_identifier: "String", # required
7561
+ # })
7562
+ #
7563
+ # @example Response structure
7564
+ #
7565
+ # resp.cluster.cluster_identifier #=> String
7566
+ # resp.cluster.node_type #=> String
7567
+ # resp.cluster.cluster_status #=> String
7568
+ # resp.cluster.cluster_availability_status #=> String
7569
+ # resp.cluster.modify_status #=> String
7570
+ # resp.cluster.master_username #=> String
7571
+ # resp.cluster.db_name #=> String
7572
+ # resp.cluster.endpoint.address #=> String
7573
+ # resp.cluster.endpoint.port #=> Integer
7574
+ # resp.cluster.endpoint.vpc_endpoints #=> Array
7575
+ # resp.cluster.endpoint.vpc_endpoints[0].vpc_endpoint_id #=> String
7576
+ # resp.cluster.endpoint.vpc_endpoints[0].vpc_id #=> String
7577
+ # resp.cluster.endpoint.vpc_endpoints[0].network_interfaces #=> Array
7578
+ # resp.cluster.endpoint.vpc_endpoints[0].network_interfaces[0].network_interface_id #=> String
7579
+ # resp.cluster.endpoint.vpc_endpoints[0].network_interfaces[0].subnet_id #=> String
7580
+ # resp.cluster.endpoint.vpc_endpoints[0].network_interfaces[0].private_ip_address #=> String
7581
+ # resp.cluster.endpoint.vpc_endpoints[0].network_interfaces[0].availability_zone #=> String
7582
+ # resp.cluster.endpoint.vpc_endpoints[0].network_interfaces[0].ipv_6_address #=> String
7583
+ # resp.cluster.cluster_create_time #=> Time
7584
+ # resp.cluster.automated_snapshot_retention_period #=> Integer
7585
+ # resp.cluster.manual_snapshot_retention_period #=> Integer
7586
+ # resp.cluster.cluster_security_groups #=> Array
7587
+ # resp.cluster.cluster_security_groups[0].cluster_security_group_name #=> String
7588
+ # resp.cluster.cluster_security_groups[0].status #=> String
7589
+ # resp.cluster.vpc_security_groups #=> Array
7590
+ # resp.cluster.vpc_security_groups[0].vpc_security_group_id #=> String
7591
+ # resp.cluster.vpc_security_groups[0].status #=> String
7592
+ # resp.cluster.cluster_parameter_groups #=> Array
7593
+ # resp.cluster.cluster_parameter_groups[0].parameter_group_name #=> String
7594
+ # resp.cluster.cluster_parameter_groups[0].parameter_apply_status #=> String
7595
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list #=> Array
7596
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_name #=> String
7597
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_status #=> String
7598
+ # resp.cluster.cluster_parameter_groups[0].cluster_parameter_status_list[0].parameter_apply_error_description #=> String
7599
+ # resp.cluster.cluster_subnet_group_name #=> String
7600
+ # resp.cluster.vpc_id #=> String
7601
+ # resp.cluster.availability_zone #=> String
7602
+ # resp.cluster.preferred_maintenance_window #=> String
7603
+ # resp.cluster.pending_modified_values.master_user_password #=> String
7604
+ # resp.cluster.pending_modified_values.node_type #=> String
7605
+ # resp.cluster.pending_modified_values.number_of_nodes #=> Integer
7606
+ # resp.cluster.pending_modified_values.cluster_type #=> String
7607
+ # resp.cluster.pending_modified_values.cluster_version #=> String
7608
+ # resp.cluster.pending_modified_values.automated_snapshot_retention_period #=> Integer
7609
+ # resp.cluster.pending_modified_values.cluster_identifier #=> String
7610
+ # resp.cluster.pending_modified_values.publicly_accessible #=> Boolean
7611
+ # resp.cluster.pending_modified_values.enhanced_vpc_routing #=> Boolean
7612
+ # resp.cluster.pending_modified_values.maintenance_track_name #=> String
7613
+ # resp.cluster.pending_modified_values.encryption_type #=> String
7614
+ # resp.cluster.cluster_version #=> String
7615
+ # resp.cluster.allow_version_upgrade #=> Boolean
7616
+ # resp.cluster.number_of_nodes #=> Integer
7617
+ # resp.cluster.publicly_accessible #=> Boolean
7618
+ # resp.cluster.encrypted #=> Boolean
7619
+ # resp.cluster.restore_status.status #=> String
7620
+ # resp.cluster.restore_status.current_restore_rate_in_mega_bytes_per_second #=> Float
7621
+ # resp.cluster.restore_status.snapshot_size_in_mega_bytes #=> Integer
7622
+ # resp.cluster.restore_status.progress_in_mega_bytes #=> Integer
7623
+ # resp.cluster.restore_status.elapsed_time_in_seconds #=> Integer
7624
+ # resp.cluster.restore_status.estimated_time_to_completion_in_seconds #=> Integer
7625
+ # resp.cluster.data_transfer_progress.status #=> String
7626
+ # resp.cluster.data_transfer_progress.current_rate_in_mega_bytes_per_second #=> Float
7627
+ # resp.cluster.data_transfer_progress.total_data_in_mega_bytes #=> Integer
7628
+ # resp.cluster.data_transfer_progress.data_transferred_in_mega_bytes #=> Integer
7629
+ # resp.cluster.data_transfer_progress.estimated_time_to_completion_in_seconds #=> Integer
7630
+ # resp.cluster.data_transfer_progress.elapsed_time_in_seconds #=> Integer
7631
+ # resp.cluster.hsm_status.hsm_client_certificate_identifier #=> String
7632
+ # resp.cluster.hsm_status.hsm_configuration_identifier #=> String
7633
+ # resp.cluster.hsm_status.status #=> String
7634
+ # resp.cluster.cluster_snapshot_copy_status.destination_region #=> String
7635
+ # resp.cluster.cluster_snapshot_copy_status.retention_period #=> Integer
7636
+ # resp.cluster.cluster_snapshot_copy_status.manual_snapshot_retention_period #=> Integer
7637
+ # resp.cluster.cluster_snapshot_copy_status.snapshot_copy_grant_name #=> String
7638
+ # resp.cluster.cluster_public_key #=> String
7639
+ # resp.cluster.cluster_nodes #=> Array
7640
+ # resp.cluster.cluster_nodes[0].node_role #=> String
7641
+ # resp.cluster.cluster_nodes[0].private_ip_address #=> String
7642
+ # resp.cluster.cluster_nodes[0].public_ip_address #=> String
7643
+ # resp.cluster.elastic_ip_status.elastic_ip #=> String
7644
+ # resp.cluster.elastic_ip_status.status #=> String
7645
+ # resp.cluster.cluster_revision_number #=> String
7646
+ # resp.cluster.tags #=> Array
7647
+ # resp.cluster.tags[0].key #=> String
7648
+ # resp.cluster.tags[0].value #=> String
7649
+ # resp.cluster.kms_key_id #=> String
7650
+ # resp.cluster.enhanced_vpc_routing #=> Boolean
7651
+ # resp.cluster.iam_roles #=> Array
7652
+ # resp.cluster.iam_roles[0].iam_role_arn #=> String
7653
+ # resp.cluster.iam_roles[0].apply_status #=> String
7654
+ # resp.cluster.pending_actions #=> Array
7655
+ # resp.cluster.pending_actions[0] #=> String
7656
+ # resp.cluster.maintenance_track_name #=> String
7657
+ # resp.cluster.elastic_resize_number_of_node_options #=> String
7658
+ # resp.cluster.deferred_maintenance_windows #=> Array
7659
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_identifier #=> String
7660
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_start_time #=> Time
7661
+ # resp.cluster.deferred_maintenance_windows[0].defer_maintenance_end_time #=> Time
7662
+ # resp.cluster.snapshot_schedule_identifier #=> String
7663
+ # resp.cluster.snapshot_schedule_state #=> String, one of "MODIFYING", "ACTIVE", "FAILED"
7664
+ # resp.cluster.expected_next_snapshot_schedule_time #=> Time
7665
+ # resp.cluster.expected_next_snapshot_schedule_time_status #=> String
7666
+ # resp.cluster.next_maintenance_window_start_time #=> Time
7667
+ # resp.cluster.resize_info.resize_type #=> String
7668
+ # resp.cluster.resize_info.allow_cancel_resize #=> Boolean
7669
+ # resp.cluster.availability_zone_relocation_status #=> String
7670
+ # resp.cluster.cluster_namespace_arn #=> String
7671
+ # resp.cluster.total_storage_capacity_in_mega_bytes #=> Integer
7672
+ # resp.cluster.aqua_configuration.aqua_status #=> String, one of "enabled", "disabled", "applying"
7673
+ # resp.cluster.aqua_configuration.aqua_configuration_status #=> String, one of "enabled", "disabled", "auto"
7674
+ # resp.cluster.default_iam_role_arn #=> String
7675
+ # resp.cluster.reserved_node_exchange_status.reserved_node_exchange_request_id #=> String
7676
+ # resp.cluster.reserved_node_exchange_status.status #=> String, one of "REQUESTED", "PENDING", "IN_PROGRESS", "RETRYING", "SUCCEEDED", "FAILED"
7677
+ # resp.cluster.reserved_node_exchange_status.request_time #=> Time
7678
+ # resp.cluster.reserved_node_exchange_status.source_reserved_node_id #=> String
7679
+ # resp.cluster.reserved_node_exchange_status.source_reserved_node_type #=> String
7680
+ # resp.cluster.reserved_node_exchange_status.source_reserved_node_count #=> Integer
7681
+ # resp.cluster.reserved_node_exchange_status.target_reserved_node_offering_id #=> String
7682
+ # resp.cluster.reserved_node_exchange_status.target_reserved_node_type #=> String
7683
+ # resp.cluster.reserved_node_exchange_status.target_reserved_node_count #=> Integer
7684
+ # resp.cluster.custom_domain_name #=> String
7685
+ # resp.cluster.custom_domain_certificate_arn #=> String
7686
+ # resp.cluster.custom_domain_certificate_expiry_date #=> Time
7687
+ # resp.cluster.master_password_secret_arn #=> String
7688
+ # resp.cluster.master_password_secret_kms_key_id #=> String
7689
+ # resp.cluster.ip_address_type #=> String
7690
+ # resp.cluster.multi_az #=> String
7691
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
7692
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
7693
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
7694
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
7695
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
7696
+ #
7697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/FailoverPrimaryCompute AWS API Documentation
7698
+ #
7699
+ # @overload failover_primary_compute(params = {})
7700
+ # @param [Hash] params ({})
7701
+ def failover_primary_compute(params = {}, options = {})
7702
+ req = build_request(:failover_primary_compute, params)
7703
+ req.send_request(options)
7704
+ end
7705
+
7511
7706
  # Returns a database user name and temporary password with temporary
7512
7707
  # authorization to log on to an Amazon Redshift database. The action
7513
7708
  # returns the database user name prefixed with `IAM:` if `AutoCreate` is
@@ -8289,6 +8484,11 @@ module Aws::Redshift
8289
8484
  # The IP address types that the cluster supports. Possible values are
8290
8485
  # `ipv4` and `dualstack`.
8291
8486
  #
8487
+ # @option params [Boolean] :multi_az
8488
+ # If true and the cluster is currently only deployed in a single
8489
+ # Availability Zone, the cluster will be modified to be deployed in two
8490
+ # Availability Zones.
8491
+ #
8292
8492
  # @return [Types::ModifyClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8293
8493
  #
8294
8494
  # * {Types::ModifyClusterResult#cluster #cluster} => Types::Cluster
@@ -8324,6 +8524,7 @@ module Aws::Redshift
8324
8524
  # manage_master_password: false,
8325
8525
  # master_password_secret_kms_key_id: "String",
8326
8526
  # ip_address_type: "String",
8527
+ # multi_az: false,
8327
8528
  # })
8328
8529
  #
8329
8530
  # @example Response structure
@@ -8453,6 +8654,12 @@ module Aws::Redshift
8453
8654
  # resp.cluster.master_password_secret_arn #=> String
8454
8655
  # resp.cluster.master_password_secret_kms_key_id #=> String
8455
8656
  # resp.cluster.ip_address_type #=> String
8657
+ # resp.cluster.multi_az #=> String
8658
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
8659
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
8660
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
8661
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
8662
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
8456
8663
  #
8457
8664
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster AWS API Documentation
8458
8665
  #
@@ -8614,6 +8821,12 @@ module Aws::Redshift
8614
8821
  # resp.cluster.master_password_secret_arn #=> String
8615
8822
  # resp.cluster.master_password_secret_kms_key_id #=> String
8616
8823
  # resp.cluster.ip_address_type #=> String
8824
+ # resp.cluster.multi_az #=> String
8825
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
8826
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
8827
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
8828
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
8829
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
8617
8830
  #
8618
8831
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision AWS API Documentation
8619
8832
  #
@@ -8791,6 +9004,12 @@ module Aws::Redshift
8791
9004
  # resp.cluster.master_password_secret_arn #=> String
8792
9005
  # resp.cluster.master_password_secret_kms_key_id #=> String
8793
9006
  # resp.cluster.ip_address_type #=> String
9007
+ # resp.cluster.multi_az #=> String
9008
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
9009
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
9010
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
9011
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
9012
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
8794
9013
  #
8795
9014
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles AWS API Documentation
8796
9015
  #
@@ -8968,6 +9187,12 @@ module Aws::Redshift
8968
9187
  # resp.cluster.master_password_secret_arn #=> String
8969
9188
  # resp.cluster.master_password_secret_kms_key_id #=> String
8970
9189
  # resp.cluster.ip_address_type #=> String
9190
+ # resp.cluster.multi_az #=> String
9191
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
9192
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
9193
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
9194
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
9195
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
8971
9196
  #
8972
9197
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMaintenance AWS API Documentation
8973
9198
  #
@@ -9698,6 +9923,12 @@ module Aws::Redshift
9698
9923
  # resp.cluster.master_password_secret_arn #=> String
9699
9924
  # resp.cluster.master_password_secret_kms_key_id #=> String
9700
9925
  # resp.cluster.ip_address_type #=> String
9926
+ # resp.cluster.multi_az #=> String
9927
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
9928
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
9929
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
9930
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
9931
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
9701
9932
  #
9702
9933
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod AWS API Documentation
9703
9934
  #
@@ -9958,6 +10189,12 @@ module Aws::Redshift
9958
10189
  # resp.cluster.master_password_secret_arn #=> String
9959
10190
  # resp.cluster.master_password_secret_kms_key_id #=> String
9960
10191
  # resp.cluster.ip_address_type #=> String
10192
+ # resp.cluster.multi_az #=> String
10193
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
10194
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
10195
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
10196
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
10197
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
9961
10198
  #
9962
10199
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster AWS API Documentation
9963
10200
  #
@@ -10215,6 +10452,12 @@ module Aws::Redshift
10215
10452
  # resp.cluster.master_password_secret_arn #=> String
10216
10453
  # resp.cluster.master_password_secret_kms_key_id #=> String
10217
10454
  # resp.cluster.ip_address_type #=> String
10455
+ # resp.cluster.multi_az #=> String
10456
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
10457
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
10458
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
10459
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
10460
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
10218
10461
  #
10219
10462
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster AWS API Documentation
10220
10463
  #
@@ -10526,6 +10769,12 @@ module Aws::Redshift
10526
10769
  # resp.cluster.master_password_secret_arn #=> String
10527
10770
  # resp.cluster.master_password_secret_kms_key_id #=> String
10528
10771
  # resp.cluster.ip_address_type #=> String
10772
+ # resp.cluster.multi_az #=> String
10773
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
10774
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
10775
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
10776
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
10777
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
10529
10778
  #
10530
10779
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeCluster AWS API Documentation
10531
10780
  #
@@ -10832,6 +11081,10 @@ module Aws::Redshift
10832
11081
  # The IP address type for the cluster. Possible values are `ipv4` and
10833
11082
  # `dualstack`.
10834
11083
  #
11084
+ # @option params [Boolean] :multi_az
11085
+ # If true, the snapshot will be restored to a cluster deployed in two
11086
+ # Availability Zones.
11087
+ #
10835
11088
  # @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10836
11089
  #
10837
11090
  # * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
@@ -10875,6 +11128,7 @@ module Aws::Redshift
10875
11128
  # manage_master_password: false,
10876
11129
  # master_password_secret_kms_key_id: "String",
10877
11130
  # ip_address_type: "String",
11131
+ # multi_az: false,
10878
11132
  # })
10879
11133
  #
10880
11134
  # @example Response structure
@@ -11004,6 +11258,12 @@ module Aws::Redshift
11004
11258
  # resp.cluster.master_password_secret_arn #=> String
11005
11259
  # resp.cluster.master_password_secret_kms_key_id #=> String
11006
11260
  # resp.cluster.ip_address_type #=> String
11261
+ # resp.cluster.multi_az #=> String
11262
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
11263
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
11264
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
11265
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
11266
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
11007
11267
  #
11008
11268
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot AWS API Documentation
11009
11269
  #
@@ -11256,6 +11516,12 @@ module Aws::Redshift
11256
11516
  # resp.cluster.master_password_secret_arn #=> String
11257
11517
  # resp.cluster.master_password_secret_kms_key_id #=> String
11258
11518
  # resp.cluster.ip_address_type #=> String
11519
+ # resp.cluster.multi_az #=> String
11520
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
11521
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
11522
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
11523
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
11524
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
11259
11525
  #
11260
11526
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster AWS API Documentation
11261
11527
  #
@@ -11644,6 +11910,12 @@ module Aws::Redshift
11644
11910
  # resp.cluster.master_password_secret_arn #=> String
11645
11911
  # resp.cluster.master_password_secret_kms_key_id #=> String
11646
11912
  # resp.cluster.ip_address_type #=> String
11913
+ # resp.cluster.multi_az #=> String
11914
+ # resp.cluster.multi_az_secondary.availability_zone #=> String
11915
+ # resp.cluster.multi_az_secondary.cluster_nodes #=> Array
11916
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].node_role #=> String
11917
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].private_ip_address #=> String
11918
+ # resp.cluster.multi_az_secondary.cluster_nodes[0].public_ip_address #=> String
11647
11919
  #
11648
11920
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey AWS API Documentation
11649
11921
  #
@@ -11719,7 +11991,7 @@ module Aws::Redshift
11719
11991
  params: params,
11720
11992
  config: config)
11721
11993
  context[:gem_name] = 'aws-sdk-redshift'
11722
- context[:gem_version] = '1.101.0'
11994
+ context[:gem_version] = '1.102.0'
11723
11995
  Seahorse::Client::Request.new(handlers, context)
11724
11996
  end
11725
11997
 
@@ -275,6 +275,8 @@ module Aws::Redshift
275
275
  EventSubscriptionsList = Shapes::ListShape.new(name: 'EventSubscriptionsList')
276
276
  EventSubscriptionsMessage = Shapes::StructureShape.new(name: 'EventSubscriptionsMessage')
277
277
  EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
278
+ FailoverPrimaryComputeInputMessage = Shapes::StructureShape.new(name: 'FailoverPrimaryComputeInputMessage')
279
+ FailoverPrimaryComputeResult = Shapes::StructureShape.new(name: 'FailoverPrimaryComputeResult')
278
280
  GetClusterCredentialsMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsMessage')
279
281
  GetClusterCredentialsWithIAMMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsWithIAMMessage')
280
282
  GetReservedNodeExchangeConfigurationOptionsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsInputMessage')
@@ -489,6 +491,7 @@ module Aws::Redshift
489
491
  ScheduledActionTypeValues = Shapes::StringShape.new(name: 'ScheduledActionTypeValues')
490
492
  ScheduledActionsMessage = Shapes::StructureShape.new(name: 'ScheduledActionsMessage')
491
493
  ScheduledSnapshotTimeList = Shapes::ListShape.new(name: 'ScheduledSnapshotTimeList')
494
+ SecondaryClusterInfo = Shapes::StructureShape.new(name: 'SecondaryClusterInfo')
492
495
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
493
496
  Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
494
497
  SnapshotAttributeToSortBy = Shapes::StringShape.new(name: 'SnapshotAttributeToSortBy')
@@ -769,6 +772,8 @@ module Aws::Redshift
769
772
  Cluster.add_member(:master_password_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretArn"))
770
773
  Cluster.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
771
774
  Cluster.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
775
+ Cluster.add_member(:multi_az, Shapes::ShapeRef.new(shape: String, location_name: "MultiAZ"))
776
+ Cluster.add_member(:multi_az_secondary, Shapes::ShapeRef.new(shape: SecondaryClusterInfo, location_name: "MultiAZSecondary"))
772
777
  Cluster.struct_class = Types::Cluster
773
778
 
774
779
  ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
@@ -994,6 +999,7 @@ module Aws::Redshift
994
999
  CreateClusterMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
995
1000
  CreateClusterMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
996
1001
  CreateClusterMessage.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
1002
+ CreateClusterMessage.add_member(:multi_az, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "MultiAZ"))
997
1003
  CreateClusterMessage.struct_class = Types::CreateClusterMessage
998
1004
 
999
1005
  CreateClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
@@ -1679,6 +1685,12 @@ module Aws::Redshift
1679
1685
  EventsMessage.add_member(:events, Shapes::ShapeRef.new(shape: EventList, location_name: "Events"))
1680
1686
  EventsMessage.struct_class = Types::EventsMessage
1681
1687
 
1688
+ FailoverPrimaryComputeInputMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
1689
+ FailoverPrimaryComputeInputMessage.struct_class = Types::FailoverPrimaryComputeInputMessage
1690
+
1691
+ FailoverPrimaryComputeResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
1692
+ FailoverPrimaryComputeResult.struct_class = Types::FailoverPrimaryComputeResult
1693
+
1682
1694
  GetClusterCredentialsMessage.add_member(:db_user, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DbUser"))
1683
1695
  GetClusterCredentialsMessage.add_member(:db_name, Shapes::ShapeRef.new(shape: String, location_name: "DbName"))
1684
1696
  GetClusterCredentialsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
@@ -1959,6 +1971,7 @@ module Aws::Redshift
1959
1971
  ModifyClusterMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
1960
1972
  ModifyClusterMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
1961
1973
  ModifyClusterMessage.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
1974
+ ModifyClusterMessage.add_member(:multi_az, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "MultiAZ"))
1962
1975
  ModifyClusterMessage.struct_class = Types::ModifyClusterMessage
1963
1976
 
1964
1977
  ModifyClusterParameterGroupMessage.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
@@ -2329,6 +2342,7 @@ module Aws::Redshift
2329
2342
  RestoreFromClusterSnapshotMessage.add_member(:manage_master_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterPassword"))
2330
2343
  RestoreFromClusterSnapshotMessage.add_member(:master_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterPasswordSecretKmsKeyId"))
2331
2344
  RestoreFromClusterSnapshotMessage.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "IpAddressType"))
2345
+ RestoreFromClusterSnapshotMessage.add_member(:multi_az, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "MultiAZ"))
2332
2346
  RestoreFromClusterSnapshotMessage.struct_class = Types::RestoreFromClusterSnapshotMessage
2333
2347
 
2334
2348
  RestoreFromClusterSnapshotResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
@@ -2449,6 +2463,10 @@ module Aws::Redshift
2449
2463
 
2450
2464
  ScheduledSnapshotTimeList.member = Shapes::ShapeRef.new(shape: TStamp, location_name: "SnapshotTime")
2451
2465
 
2466
+ SecondaryClusterInfo.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
2467
+ SecondaryClusterInfo.add_member(:cluster_nodes, Shapes::ShapeRef.new(shape: ClusterNodesList, location_name: "ClusterNodes"))
2468
+ SecondaryClusterInfo.struct_class = Types::SecondaryClusterInfo
2469
+
2452
2470
  Snapshot.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
2453
2471
  Snapshot.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
2454
2472
  Snapshot.add_member(:snapshot_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "SnapshotCreateTime"))
@@ -2742,6 +2760,7 @@ module Aws::Redshift
2742
2760
  o.errors << Shapes::ShapeRef.new(shape: PartnerNotFoundFault)
2743
2761
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2744
2762
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
2763
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2745
2764
  end)
2746
2765
 
2747
2766
  api.add_operation(:associate_data_share_consumer, Seahorse::Model::Operation.new.tap do |o|
@@ -2841,6 +2860,7 @@ module Aws::Redshift
2841
2860
  o.http_request_uri = "/"
2842
2861
  o.input = Shapes::ShapeRef.new(shape: CopyClusterSnapshotMessage)
2843
2862
  o.output = Shapes::ShapeRef.new(shape: CopyClusterSnapshotResult)
2863
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
2844
2864
  o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotAlreadyExistsFault)
2845
2865
  o.errors << Shapes::ShapeRef.new(shape: ClusterSnapshotNotFoundFault)
2846
2866
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterSnapshotStateFault)
@@ -2888,6 +2908,7 @@ module Aws::Redshift
2888
2908
  o.errors << Shapes::ShapeRef.new(shape: SnapshotScheduleNotFoundFault)
2889
2909
  o.errors << Shapes::ShapeRef.new(shape: InvalidRetentionPeriodFault)
2890
2910
  o.errors << Shapes::ShapeRef.new(shape: Ipv6CidrBlockNotFoundFault)
2911
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
2891
2912
  end)
2892
2913
 
2893
2914
  api.add_operation(:create_cluster_parameter_group, Seahorse::Model::Operation.new.tap do |o|
@@ -3023,12 +3044,14 @@ module Aws::Redshift
3023
3044
  o.http_request_uri = "/"
3024
3045
  o.input = Shapes::ShapeRef.new(shape: CreateScheduledActionMessage)
3025
3046
  o.output = Shapes::ShapeRef.new(shape: ScheduledAction)
3047
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3026
3048
  o.errors << Shapes::ShapeRef.new(shape: ScheduledActionAlreadyExistsFault)
3027
3049
  o.errors << Shapes::ShapeRef.new(shape: ScheduledActionQuotaExceededFault)
3028
3050
  o.errors << Shapes::ShapeRef.new(shape: ScheduledActionTypeUnsupportedFault)
3029
3051
  o.errors << Shapes::ShapeRef.new(shape: InvalidScheduleFault)
3030
3052
  o.errors << Shapes::ShapeRef.new(shape: InvalidScheduledActionFault)
3031
3053
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
3054
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3032
3055
  end)
3033
3056
 
3034
3057
  api.add_operation(:create_snapshot_copy_grant, Seahorse::Model::Operation.new.tap do |o|
@@ -3222,6 +3245,7 @@ module Aws::Redshift
3222
3245
  o.errors << Shapes::ShapeRef.new(shape: PartnerNotFoundFault)
3223
3246
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3224
3247
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
3248
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3225
3249
  end)
3226
3250
 
3227
3251
  api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3647,6 +3671,7 @@ module Aws::Redshift
3647
3671
  o.input = Shapes::ShapeRef.new(shape: DescribeLoggingStatusMessage)
3648
3672
  o.output = Shapes::ShapeRef.new(shape: LoggingStatus)
3649
3673
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3674
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3650
3675
  end)
3651
3676
 
3652
3677
  api.add_operation(:describe_node_configuration_options, Seahorse::Model::Operation.new.tap do |o|
@@ -3690,6 +3715,7 @@ module Aws::Redshift
3690
3715
  o.output = Shapes::ShapeRef.new(shape: DescribePartnersOutputMessage)
3691
3716
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3692
3717
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
3718
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3693
3719
  end)
3694
3720
 
3695
3721
  api.add_operation(:describe_reserved_node_exchange_status, Seahorse::Model::Operation.new.tap do |o|
@@ -3750,6 +3776,7 @@ module Aws::Redshift
3750
3776
  o.output = Shapes::ShapeRef.new(shape: ResizeProgressMessage)
3751
3777
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3752
3778
  o.errors << Shapes::ShapeRef.new(shape: ResizeNotFoundFault)
3779
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3753
3780
  end)
3754
3781
 
3755
3782
  api.add_operation(:describe_scheduled_actions, Seahorse::Model::Operation.new.tap do |o|
@@ -3862,6 +3889,7 @@ module Aws::Redshift
3862
3889
  o.output = Shapes::ShapeRef.new(shape: LoggingStatus)
3863
3890
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3864
3891
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3892
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3865
3893
  end)
3866
3894
 
3867
3895
  api.add_operation(:disable_snapshot_copy, Seahorse::Model::Operation.new.tap do |o|
@@ -3874,6 +3902,7 @@ module Aws::Redshift
3874
3902
  o.errors << Shapes::ShapeRef.new(shape: SnapshotCopyAlreadyDisabledFault)
3875
3903
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3876
3904
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
3905
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3877
3906
  end)
3878
3907
 
3879
3908
  api.add_operation(:disassociate_data_share_consumer, Seahorse::Model::Operation.new.tap do |o|
@@ -3898,6 +3927,7 @@ module Aws::Redshift
3898
3927
  o.errors << Shapes::ShapeRef.new(shape: InvalidS3KeyPrefixFault)
3899
3928
  o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketNameFault)
3900
3929
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3930
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3901
3931
  end)
3902
3932
 
3903
3933
  api.add_operation(:enable_snapshot_copy, Seahorse::Model::Operation.new.tap do |o|
@@ -3919,6 +3949,18 @@ module Aws::Redshift
3919
3949
  o.errors << Shapes::ShapeRef.new(shape: InvalidRetentionPeriodFault)
3920
3950
  end)
3921
3951
 
3952
+ api.add_operation(:failover_primary_compute, Seahorse::Model::Operation.new.tap do |o|
3953
+ o.name = "FailoverPrimaryCompute"
3954
+ o.http_method = "POST"
3955
+ o.http_request_uri = "/"
3956
+ o.input = Shapes::ShapeRef.new(shape: FailoverPrimaryComputeInputMessage)
3957
+ o.output = Shapes::ShapeRef.new(shape: FailoverPrimaryComputeResult)
3958
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3959
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3960
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
3961
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3962
+ end)
3963
+
3922
3964
  api.add_operation(:get_cluster_credentials, Seahorse::Model::Operation.new.tap do |o|
3923
3965
  o.name = "GetClusterCredentials"
3924
3966
  o.http_method = "POST"
@@ -4053,6 +4095,7 @@ module Aws::Redshift
4053
4095
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4054
4096
  o.errors << Shapes::ShapeRef.new(shape: ClusterOnLatestRevisionFault)
4055
4097
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
4098
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4056
4099
  end)
4057
4100
 
4058
4101
  api.add_operation(:modify_cluster_iam_roles, Seahorse::Model::Operation.new.tap do |o|
@@ -4169,11 +4212,13 @@ module Aws::Redshift
4169
4212
  o.http_request_uri = "/"
4170
4213
  o.input = Shapes::ShapeRef.new(shape: ModifyScheduledActionMessage)
4171
4214
  o.output = Shapes::ShapeRef.new(shape: ScheduledAction)
4215
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4172
4216
  o.errors << Shapes::ShapeRef.new(shape: ScheduledActionNotFoundFault)
4173
4217
  o.errors << Shapes::ShapeRef.new(shape: ScheduledActionTypeUnsupportedFault)
4174
4218
  o.errors << Shapes::ShapeRef.new(shape: InvalidScheduleFault)
4175
4219
  o.errors << Shapes::ShapeRef.new(shape: InvalidScheduledActionFault)
4176
4220
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
4221
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4177
4222
  end)
4178
4223
 
4179
4224
  api.add_operation(:modify_snapshot_copy_retention_period, Seahorse::Model::Operation.new.tap do |o|
@@ -4219,6 +4264,7 @@ module Aws::Redshift
4219
4264
  o.output = Shapes::ShapeRef.new(shape: PauseClusterResult)
4220
4265
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4221
4266
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
4267
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4222
4268
  end)
4223
4269
 
4224
4270
  api.add_operation(:purchase_reserved_node_offering, Seahorse::Model::Operation.new.tap do |o|
@@ -4362,6 +4408,7 @@ module Aws::Redshift
4362
4408
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4363
4409
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
4364
4410
  o.errors << Shapes::ShapeRef.new(shape: InsufficientClusterCapacityFault)
4411
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4365
4412
  end)
4366
4413
 
4367
4414
  api.add_operation(:revoke_cluster_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
@@ -4411,6 +4458,7 @@ module Aws::Redshift
4411
4458
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4412
4459
  o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
4413
4460
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceRequestThrottlingFault)
4461
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4414
4462
  end)
4415
4463
 
4416
4464
  api.add_operation(:update_partner_status, Seahorse::Model::Operation.new.tap do |o|
@@ -4422,6 +4470,7 @@ module Aws::Redshift
4422
4470
  o.errors << Shapes::ShapeRef.new(shape: PartnerNotFoundFault)
4423
4471
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4424
4472
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
4473
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4425
4474
  end)
4426
4475
  end
4427
4476
 
@@ -1272,6 +1272,20 @@ module Aws::Redshift
1272
1272
  end
1273
1273
  end
1274
1274
 
1275
+ class FailoverPrimaryCompute
1276
+ def self.build(context)
1277
+ unless context.config.regional_endpoint
1278
+ endpoint = context.config.endpoint.to_s
1279
+ end
1280
+ Aws::Redshift::EndpointParameters.new(
1281
+ region: context.config.region,
1282
+ use_dual_stack: context.config.use_dualstack_endpoint,
1283
+ use_fips: context.config.use_fips_endpoint,
1284
+ endpoint: endpoint,
1285
+ )
1286
+ end
1287
+ end
1288
+
1275
1289
  class GetClusterCredentials
1276
1290
  def self.build(context)
1277
1291
  unless context.config.regional_endpoint
@@ -236,6 +236,8 @@ module Aws::Redshift
236
236
  Aws::Redshift::Endpoints::EnableLogging.build(context)
237
237
  when :enable_snapshot_copy
238
238
  Aws::Redshift::Endpoints::EnableSnapshotCopy.build(context)
239
+ when :failover_primary_compute
240
+ Aws::Redshift::Endpoints::FailoverPrimaryCompute.build(context)
239
241
  when :get_cluster_credentials
240
242
  Aws::Redshift::Endpoints::GetClusterCredentials.build(context)
241
243
  when :get_cluster_credentials_with_iam
@@ -903,6 +903,16 @@ module Aws::Redshift
903
903
  # `dualstack`.
904
904
  # @return [String]
905
905
  #
906
+ # @!attribute [rw] multi_az
907
+ # A boolean value that, if true, indicates that the cluster is
908
+ # deployed in two Availability Zones.
909
+ # @return [String]
910
+ #
911
+ # @!attribute [rw] multi_az_secondary
912
+ # The secondary compute unit of a cluster, if Multi-AZ deployment is
913
+ # turned on.
914
+ # @return [Types::SecondaryClusterInfo]
915
+ #
906
916
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster AWS API Documentation
907
917
  #
908
918
  class Cluster < Struct.new(
@@ -963,7 +973,9 @@ module Aws::Redshift
963
973
  :custom_domain_certificate_expiry_date,
964
974
  :master_password_secret_arn,
965
975
  :master_password_secret_kms_key_id,
966
- :ip_address_type)
976
+ :ip_address_type,
977
+ :multi_az,
978
+ :multi_az_secondary)
967
979
  SENSITIVE = []
968
980
  include Aws::Structure
969
981
  end
@@ -2268,6 +2280,11 @@ module Aws::Redshift
2268
2280
  # `ipv4` and `dualstack`.
2269
2281
  # @return [String]
2270
2282
  #
2283
+ # @!attribute [rw] multi_az
2284
+ # If true, Amazon Redshift will deploy the cluster in two Availability
2285
+ # Zones (AZ).
2286
+ # @return [Boolean]
2287
+ #
2271
2288
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage AWS API Documentation
2272
2289
  #
2273
2290
  class CreateClusterMessage < Struct.new(
@@ -2307,7 +2324,8 @@ module Aws::Redshift
2307
2324
  :load_sample_data,
2308
2325
  :manage_master_password,
2309
2326
  :master_password_secret_kms_key_id,
2310
- :ip_address_type)
2327
+ :ip_address_type,
2328
+ :multi_az)
2311
2329
  SENSITIVE = [:master_user_password]
2312
2330
  include Aws::Structure
2313
2331
  end
@@ -6386,6 +6404,31 @@ module Aws::Redshift
6386
6404
  include Aws::Structure
6387
6405
  end
6388
6406
 
6407
+ # @!attribute [rw] cluster_identifier
6408
+ # The unique identifier of the cluster for which the primary compute
6409
+ # unit will be failed over to another Availability Zone.
6410
+ # @return [String]
6411
+ #
6412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/FailoverPrimaryComputeInputMessage AWS API Documentation
6413
+ #
6414
+ class FailoverPrimaryComputeInputMessage < Struct.new(
6415
+ :cluster_identifier)
6416
+ SENSITIVE = []
6417
+ include Aws::Structure
6418
+ end
6419
+
6420
+ # @!attribute [rw] cluster
6421
+ # Describes a cluster.
6422
+ # @return [Types::Cluster]
6423
+ #
6424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/FailoverPrimaryComputeResult AWS API Documentation
6425
+ #
6426
+ class FailoverPrimaryComputeResult < Struct.new(
6427
+ :cluster)
6428
+ SENSITIVE = []
6429
+ include Aws::Structure
6430
+ end
6431
+
6389
6432
  # The request parameters to get cluster credentials.
6390
6433
  #
6391
6434
  # @!attribute [rw] db_user
@@ -7835,6 +7878,12 @@ module Aws::Redshift
7835
7878
  # `ipv4` and `dualstack`.
7836
7879
  # @return [String]
7837
7880
  #
7881
+ # @!attribute [rw] multi_az
7882
+ # If true and the cluster is currently only deployed in a single
7883
+ # Availability Zone, the cluster will be modified to be deployed in
7884
+ # two Availability Zones.
7885
+ # @return [Boolean]
7886
+ #
7838
7887
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMessage AWS API Documentation
7839
7888
  #
7840
7889
  class ModifyClusterMessage < Struct.new(
@@ -7865,7 +7914,8 @@ module Aws::Redshift
7865
7914
  :port,
7866
7915
  :manage_master_password,
7867
7916
  :master_password_secret_kms_key_id,
7868
- :ip_address_type)
7917
+ :ip_address_type,
7918
+ :multi_az)
7869
7919
  SENSITIVE = [:master_user_password]
7870
7920
  include Aws::Structure
7871
7921
  end
@@ -9802,6 +9852,11 @@ module Aws::Redshift
9802
9852
  # `dualstack`.
9803
9853
  # @return [String]
9804
9854
  #
9855
+ # @!attribute [rw] multi_az
9856
+ # If true, the snapshot will be restored to a cluster deployed in two
9857
+ # Availability Zones.
9858
+ # @return [Boolean]
9859
+ #
9805
9860
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage AWS API Documentation
9806
9861
  #
9807
9862
  class RestoreFromClusterSnapshotMessage < Struct.new(
@@ -9840,7 +9895,8 @@ module Aws::Redshift
9840
9895
  :encrypted,
9841
9896
  :manage_master_password,
9842
9897
  :master_password_secret_kms_key_id,
9843
- :ip_address_type)
9898
+ :ip_address_type,
9899
+ :multi_az)
9844
9900
  SENSITIVE = []
9845
9901
  include Aws::Structure
9846
9902
  end
@@ -10394,6 +10450,27 @@ module Aws::Redshift
10394
10450
  include Aws::Structure
10395
10451
  end
10396
10452
 
10453
+ # The AvailabilityZone and ClusterNodes information of the secondary
10454
+ # compute unit.
10455
+ #
10456
+ # @!attribute [rw] availability_zone
10457
+ # The name of the Availability Zone in which the secondary compute
10458
+ # unit of the cluster is located.
10459
+ # @return [String]
10460
+ #
10461
+ # @!attribute [rw] cluster_nodes
10462
+ # The nodes in the secondary compute unit.
10463
+ # @return [Array<Types::ClusterNode>]
10464
+ #
10465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SecondaryClusterInfo AWS API Documentation
10466
+ #
10467
+ class SecondaryClusterInfo < Struct.new(
10468
+ :availability_zone,
10469
+ :cluster_nodes)
10470
+ SENSITIVE = []
10471
+ include Aws::Structure
10472
+ end
10473
+
10397
10474
  # Describes a snapshot.
10398
10475
  #
10399
10476
  # @!attribute [rw] snapshot_identifier
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-redshift/customizations'
53
53
  # @!group service
54
54
  module Aws::Redshift
55
55
 
56
- GEM_VERSION = '1.101.0'
56
+ GEM_VERSION = '1.102.0'
57
57
 
58
58
  end
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.101.0
4
+ version: 1.102.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: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core