aws-sdk-redshift 1.98.0 → 1.100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e75583d8a7a0c4f47f81e592fa4cea3210caf3d9b75e38de7dcd53d6decb140d
4
- data.tar.gz: 6ca4969e38b092ebccea7b50f534250a41329af599bc9996ad48a0e1cf8c0b5a
3
+ metadata.gz: 3db7ac89d6b02321e5f620f09792b2e8190ebdd7c128393e6260fc98a0aabefc
4
+ data.tar.gz: e4f13d91086b6bf740f0897b38d82c36425bd2270d46271a395bb8d501fc11f6
5
5
  SHA512:
6
- metadata.gz: a9e1e3a98f47eb29b72bd6a5698f736515ea99e25be0765b3f6468cec5adcea9be18adc7242421d8d37bc21b363ebc2bba121fa34a58981138c39f8aff03c327
7
- data.tar.gz: 56a56d7f629b535b194332b6f9f85f0abf36619cf3da65d8276c18fa6c07ca759a8ec304c924ebc388ada24c1e25225cf210a5218f118ea24127658efe3846fa
6
+ metadata.gz: 89488448d7a364e44c275c015a0e81162b6da2511b9cfd04d93e355ea1b88148d6ae00d82ff997148fb5383aec0412b8d87a20e75fc03b31b90093e0ba6f0e64
7
+ data.tar.gz: 3b619562b1fd304e80cc49ea6195221850fba9c5b33e5a00d9d7cfd26dcc20c9bcb2bdf614152ae292151bd2d0dd56e7d2bd857ac6e24a50806e9b6ea1abae42
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2023-10-26)
5
+ ------------------
6
+
7
+ * Feature - Add Redshift APIs GetResourcePolicy, DeleteResourcePolicy, PutResourcePolicy and DescribeInboundIntegrations for the new Amazon Redshift Zero-ETL integration feature, which can be used to control data ingress into Redshift namespace, and view inbound integrations.
8
+
9
+ 1.99.0 (2023-10-16)
10
+ ------------------
11
+
12
+ * Feature - Added support for managing credentials of provisioned cluster admin using AWS Secrets Manager.
13
+
4
14
  1.98.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.100.0
@@ -820,6 +820,8 @@ module Aws::Redshift
820
820
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
821
821
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
822
822
  # resp.snapshot.snapshot_retention_start_time #=> Time
823
+ # resp.snapshot.master_password_secret_arn #=> String
824
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
823
825
  #
824
826
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess AWS API Documentation
825
827
  #
@@ -1103,6 +1105,8 @@ module Aws::Redshift
1103
1105
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
1104
1106
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
1105
1107
  # resp.snapshot.snapshot_retention_start_time #=> Time
1108
+ # resp.snapshot.master_password_secret_arn #=> String
1109
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
1106
1110
  #
1107
1111
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot AWS API Documentation
1108
1112
  #
@@ -1255,10 +1259,13 @@ module Aws::Redshift
1255
1259
  #
1256
1260
  # [1]: https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html
1257
1261
  #
1258
- # @option params [required, String] :master_user_password
1262
+ # @option params [String] :master_user_password
1259
1263
  # The password associated with the admin user account for the cluster
1260
1264
  # that is being created.
1261
1265
  #
1266
+ # You can't use `MasterUserPassword` if `ManageMasterPassword` is
1267
+ # `true`.
1268
+ #
1262
1269
  # Constraints:
1263
1270
  #
1264
1271
  # * Must be between 8 and 64 characters in length.
@@ -1510,6 +1517,18 @@ module Aws::Redshift
1510
1517
  # A flag that specifies whether to load sample data once the cluster is
1511
1518
  # created.
1512
1519
  #
1520
+ # @option params [Boolean] :manage_master_password
1521
+ # If `true`, Amazon Redshift uses Secrets Manager to manage this
1522
+ # cluster's admin credentials. You can't use `MasterUserPassword` if
1523
+ # `ManageMasterPassword` is true. If `ManageMasterPassword` is false or
1524
+ # not set, Amazon Redshift uses `MasterUserPassword` for the admin user
1525
+ # account's password.
1526
+ #
1527
+ # @option params [String] :master_password_secret_kms_key_id
1528
+ # The ID of the Key Management Service (KMS) key used to encrypt and
1529
+ # store the cluster's admin credentials secret. You can only use this
1530
+ # parameter if `ManageMasterPassword` is true.
1531
+ #
1513
1532
  # @return [Types::CreateClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1514
1533
  #
1515
1534
  # * {Types::CreateClusterResult#cluster #cluster} => Types::Cluster
@@ -1522,7 +1541,7 @@ module Aws::Redshift
1522
1541
  # cluster_type: "String",
1523
1542
  # node_type: "String", # required
1524
1543
  # master_username: "String", # required
1525
- # master_user_password: "String", # required
1544
+ # master_user_password: "SensitiveString",
1526
1545
  # cluster_security_groups: ["String"],
1527
1546
  # vpc_security_group_ids: ["String"],
1528
1547
  # cluster_subnet_group_name: "String",
@@ -1556,6 +1575,8 @@ module Aws::Redshift
1556
1575
  # aqua_configuration_status: "enabled", # accepts enabled, disabled, auto
1557
1576
  # default_iam_role_arn: "String",
1558
1577
  # load_sample_data: "String",
1578
+ # manage_master_password: false,
1579
+ # master_password_secret_kms_key_id: "String",
1559
1580
  # })
1560
1581
  #
1561
1582
  # @example Response structure
@@ -1681,6 +1702,8 @@ module Aws::Redshift
1681
1702
  # resp.cluster.custom_domain_name #=> String
1682
1703
  # resp.cluster.custom_domain_certificate_arn #=> String
1683
1704
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
1705
+ # resp.cluster.master_password_secret_arn #=> String
1706
+ # resp.cluster.master_password_secret_kms_key_id #=> String
1684
1707
  #
1685
1708
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster AWS API Documentation
1686
1709
  #
@@ -1960,6 +1983,8 @@ module Aws::Redshift
1960
1983
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
1961
1984
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
1962
1985
  # resp.snapshot.snapshot_retention_start_time #=> Time
1986
+ # resp.snapshot.master_password_secret_arn #=> String
1987
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
1963
1988
  #
1964
1989
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot AWS API Documentation
1965
1990
  #
@@ -3109,6 +3134,8 @@ module Aws::Redshift
3109
3134
  # resp.cluster.custom_domain_name #=> String
3110
3135
  # resp.cluster.custom_domain_certificate_arn #=> String
3111
3136
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
3137
+ # resp.cluster.master_password_secret_arn #=> String
3138
+ # resp.cluster.master_password_secret_kms_key_id #=> String
3112
3139
  #
3113
3140
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster AWS API Documentation
3114
3141
  #
@@ -3264,6 +3291,8 @@ module Aws::Redshift
3264
3291
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
3265
3292
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
3266
3293
  # resp.snapshot.snapshot_retention_start_time #=> Time
3294
+ # resp.snapshot.master_password_secret_arn #=> String
3295
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
3267
3296
  #
3268
3297
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot AWS API Documentation
3269
3298
  #
@@ -3486,6 +3515,29 @@ module Aws::Redshift
3486
3515
  req.send_request(options)
3487
3516
  end
3488
3517
 
3518
+ # Deletes the resource policy for a specified resource.
3519
+ #
3520
+ # @option params [required, String] :resource_arn
3521
+ # The Amazon Resource Name (ARN) of the resource of which its resource
3522
+ # policy is deleted.
3523
+ #
3524
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3525
+ #
3526
+ # @example Request syntax with placeholder values
3527
+ #
3528
+ # resp = client.delete_resource_policy({
3529
+ # resource_arn: "String", # required
3530
+ # })
3531
+ #
3532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteResourcePolicy AWS API Documentation
3533
+ #
3534
+ # @overload delete_resource_policy(params = {})
3535
+ # @param [Hash] params ({})
3536
+ def delete_resource_policy(params = {}, options = {})
3537
+ req = build_request(:delete_resource_policy, params)
3538
+ req.send_request(options)
3539
+ end
3540
+
3489
3541
  # Deletes a scheduled action.
3490
3542
  #
3491
3543
  # @option params [required, String] :scheduled_action_name
@@ -4244,6 +4296,8 @@ module Aws::Redshift
4244
4296
  # resp.snapshots[0].manual_snapshot_retention_period #=> Integer
4245
4297
  # resp.snapshots[0].manual_snapshot_remaining_days #=> Integer
4246
4298
  # resp.snapshots[0].snapshot_retention_start_time #=> Time
4299
+ # resp.snapshots[0].master_password_secret_arn #=> String
4300
+ # resp.snapshots[0].master_password_secret_kms_key_id #=> String
4247
4301
  #
4248
4302
  #
4249
4303
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4702,6 +4756,8 @@ module Aws::Redshift
4702
4756
  # resp.clusters[0].custom_domain_name #=> String
4703
4757
  # resp.clusters[0].custom_domain_certificate_arn #=> String
4704
4758
  # resp.clusters[0].custom_domain_certificate_expiry_date #=> Time
4759
+ # resp.clusters[0].master_password_secret_arn #=> String
4760
+ # resp.clusters[0].master_password_secret_kms_key_id #=> String
4705
4761
  #
4706
4762
  #
4707
4763
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4719,7 +4775,7 @@ module Aws::Redshift
4719
4775
  req.send_request(options)
4720
4776
  end
4721
4777
 
4722
- # Contains information for custom domain associations for a cluster.
4778
+ # Contains information about custom domain associations for a cluster.
4723
4779
  #
4724
4780
  # @option params [String] :custom_domain_name
4725
4781
  # The custom domain name for the custom domain association.
@@ -5658,6 +5714,73 @@ module Aws::Redshift
5658
5714
  req.send_request(options)
5659
5715
  end
5660
5716
 
5717
+ # Returns a list of inbound integrations.
5718
+ #
5719
+ # @option params [String] :integration_arn
5720
+ # The Amazon Resource Name (ARN) of the inbound integration.
5721
+ #
5722
+ # @option params [String] :target_arn
5723
+ # The Amazon Resource Name (ARN) of the target of an inbound
5724
+ # integration.
5725
+ #
5726
+ # @option params [Integer] :max_records
5727
+ # The maximum number of response records to return in each call. If the
5728
+ # number of remaining response records exceeds the specified
5729
+ # `MaxRecords` value, a value is returned in a `marker` field of the
5730
+ # response. You can retrieve the next set of records by retrying the
5731
+ # command with the returned marker value.
5732
+ #
5733
+ # Default: `100`
5734
+ #
5735
+ # Constraints: minimum 20, maximum 100.
5736
+ #
5737
+ # @option params [String] :marker
5738
+ # An optional parameter that specifies the starting point to return a
5739
+ # set of response records. When the results of a
5740
+ # DescribeInboundIntegrations request exceed the value specified in
5741
+ # `MaxRecords`, Amazon Web Services returns a value in the `Marker`
5742
+ # field of the response. You can retrieve the next set of response
5743
+ # records by providing the returned marker value in the `Marker`
5744
+ # parameter and retrying the request.
5745
+ #
5746
+ # @return [Types::InboundIntegrationsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5747
+ #
5748
+ # * {Types::InboundIntegrationsMessage#marker #marker} => String
5749
+ # * {Types::InboundIntegrationsMessage#inbound_integrations #inbound_integrations} => Array<Types::InboundIntegration>
5750
+ #
5751
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5752
+ #
5753
+ # @example Request syntax with placeholder values
5754
+ #
5755
+ # resp = client.describe_inbound_integrations({
5756
+ # integration_arn: "String",
5757
+ # target_arn: "String",
5758
+ # max_records: 1,
5759
+ # marker: "String",
5760
+ # })
5761
+ #
5762
+ # @example Response structure
5763
+ #
5764
+ # resp.marker #=> String
5765
+ # resp.inbound_integrations #=> Array
5766
+ # resp.inbound_integrations[0].integration_arn #=> String
5767
+ # resp.inbound_integrations[0].source_arn #=> String
5768
+ # resp.inbound_integrations[0].target_arn #=> String
5769
+ # resp.inbound_integrations[0].status #=> String, one of "creating", "active", "modifying", "failed", "deleting", "syncing", "needs_attention"
5770
+ # resp.inbound_integrations[0].errors #=> Array
5771
+ # resp.inbound_integrations[0].errors[0].error_code #=> String
5772
+ # resp.inbound_integrations[0].errors[0].error_message #=> String
5773
+ # resp.inbound_integrations[0].create_time #=> Time
5774
+ #
5775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeInboundIntegrations AWS API Documentation
5776
+ #
5777
+ # @overload describe_inbound_integrations(params = {})
5778
+ # @param [Hash] params ({})
5779
+ def describe_inbound_integrations(params = {}, options = {})
5780
+ req = build_request(:describe_inbound_integrations, params)
5781
+ req.send_request(options)
5782
+ end
5783
+
5661
5784
  # Describes whether information, such as queries and connection
5662
5785
  # attempts, is being logged for the specified Amazon Redshift cluster.
5663
5786
  #
@@ -7012,6 +7135,8 @@ module Aws::Redshift
7012
7135
  # resp.cluster.custom_domain_name #=> String
7013
7136
  # resp.cluster.custom_domain_certificate_arn #=> String
7014
7137
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
7138
+ # resp.cluster.master_password_secret_arn #=> String
7139
+ # resp.cluster.master_password_secret_kms_key_id #=> String
7015
7140
  #
7016
7141
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy AWS API Documentation
7017
7142
  #
@@ -7349,6 +7474,8 @@ module Aws::Redshift
7349
7474
  # resp.cluster.custom_domain_name #=> String
7350
7475
  # resp.cluster.custom_domain_certificate_arn #=> String
7351
7476
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
7477
+ # resp.cluster.master_password_secret_arn #=> String
7478
+ # resp.cluster.master_password_secret_kms_key_id #=> String
7352
7479
  #
7353
7480
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy AWS API Documentation
7354
7481
  #
@@ -7737,6 +7864,36 @@ module Aws::Redshift
7737
7864
  req.send_request(options)
7738
7865
  end
7739
7866
 
7867
+ # Get the resource policy for a specified resource.
7868
+ #
7869
+ # @option params [required, String] :resource_arn
7870
+ # The Amazon Resource Name (ARN) of the resource of which its resource
7871
+ # policy is fetched.
7872
+ #
7873
+ # @return [Types::GetResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7874
+ #
7875
+ # * {Types::GetResourcePolicyResult#resource_policy #resource_policy} => Types::ResourcePolicy
7876
+ #
7877
+ # @example Request syntax with placeholder values
7878
+ #
7879
+ # resp = client.get_resource_policy({
7880
+ # resource_arn: "String", # required
7881
+ # })
7882
+ #
7883
+ # @example Response structure
7884
+ #
7885
+ # resp.resource_policy.resource_arn #=> String
7886
+ # resp.resource_policy.policy #=> String
7887
+ #
7888
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetResourcePolicy AWS API Documentation
7889
+ #
7890
+ # @overload get_resource_policy(params = {})
7891
+ # @param [Hash] params ({})
7892
+ def get_resource_policy(params = {}, options = {})
7893
+ req = build_request(:get_resource_policy, params)
7894
+ req.send_request(options)
7895
+ end
7896
+
7740
7897
  # This operation is retired. Calling this operation does not change AQUA
7741
7898
  # configuration. Amazon Redshift automatically determines whether to use
7742
7899
  # AQUA (Advanced Query Accelerator).
@@ -7902,6 +8059,9 @@ module Aws::Redshift
7902
8059
  # element exists in the `PendingModifiedValues` element of the operation
7903
8060
  # response.
7904
8061
  #
8062
+ # You can't use `MasterUserPassword` if `ManageMasterPassword` is
8063
+ # `true`.
8064
+ #
7905
8065
  # <note markdown="1"> Operations never return the password, so this operation provides a way
7906
8066
  # to regain access to the admin user account for a cluster if the
7907
8067
  # password is lost.
@@ -8091,6 +8251,18 @@ module Aws::Redshift
8091
8251
  # @option params [Integer] :port
8092
8252
  # The option to change the port of an Amazon Redshift cluster.
8093
8253
  #
8254
+ # @option params [Boolean] :manage_master_password
8255
+ # If `true`, Amazon Redshift uses Secrets Manager to manage this
8256
+ # cluster's admin credentials. You can't use `MasterUserPassword` if
8257
+ # `ManageMasterPassword` is true. If `ManageMasterPassword` is false or
8258
+ # not set, Amazon Redshift uses `MasterUserPassword` for the admin user
8259
+ # account's password.
8260
+ #
8261
+ # @option params [String] :master_password_secret_kms_key_id
8262
+ # The ID of the Key Management Service (KMS) key used to encrypt and
8263
+ # store the cluster's admin credentials secret. You can only use this
8264
+ # parameter if `ManageMasterPassword` is true.
8265
+ #
8094
8266
  # @return [Types::ModifyClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8095
8267
  #
8096
8268
  # * {Types::ModifyClusterResult#cluster #cluster} => Types::Cluster
@@ -8104,7 +8276,7 @@ module Aws::Redshift
8104
8276
  # number_of_nodes: 1,
8105
8277
  # cluster_security_groups: ["String"],
8106
8278
  # vpc_security_group_ids: ["String"],
8107
- # master_user_password: "String",
8279
+ # master_user_password: "SensitiveString",
8108
8280
  # cluster_parameter_group_name: "String",
8109
8281
  # automated_snapshot_retention_period: 1,
8110
8282
  # manual_snapshot_retention_period: 1,
@@ -8123,6 +8295,8 @@ module Aws::Redshift
8123
8295
  # availability_zone_relocation: false,
8124
8296
  # availability_zone: "String",
8125
8297
  # port: 1,
8298
+ # manage_master_password: false,
8299
+ # master_password_secret_kms_key_id: "String",
8126
8300
  # })
8127
8301
  #
8128
8302
  # @example Response structure
@@ -8248,6 +8422,8 @@ module Aws::Redshift
8248
8422
  # resp.cluster.custom_domain_name #=> String
8249
8423
  # resp.cluster.custom_domain_certificate_arn #=> String
8250
8424
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8425
+ # resp.cluster.master_password_secret_arn #=> String
8426
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8251
8427
  #
8252
8428
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster AWS API Documentation
8253
8429
  #
@@ -8405,6 +8581,8 @@ module Aws::Redshift
8405
8581
  # resp.cluster.custom_domain_name #=> String
8406
8582
  # resp.cluster.custom_domain_certificate_arn #=> String
8407
8583
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8584
+ # resp.cluster.master_password_secret_arn #=> String
8585
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8408
8586
  #
8409
8587
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision AWS API Documentation
8410
8588
  #
@@ -8578,6 +8756,8 @@ module Aws::Redshift
8578
8756
  # resp.cluster.custom_domain_name #=> String
8579
8757
  # resp.cluster.custom_domain_certificate_arn #=> String
8580
8758
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8759
+ # resp.cluster.master_password_secret_arn #=> String
8760
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8581
8761
  #
8582
8762
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles AWS API Documentation
8583
8763
  #
@@ -8751,6 +8931,8 @@ module Aws::Redshift
8751
8931
  # resp.cluster.custom_domain_name #=> String
8752
8932
  # resp.cluster.custom_domain_certificate_arn #=> String
8753
8933
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
8934
+ # resp.cluster.master_password_secret_arn #=> String
8935
+ # resp.cluster.master_password_secret_kms_key_id #=> String
8754
8936
  #
8755
8937
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMaintenance AWS API Documentation
8756
8938
  #
@@ -8898,6 +9080,8 @@ module Aws::Redshift
8898
9080
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
8899
9081
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
8900
9082
  # resp.snapshot.snapshot_retention_start_time #=> Time
9083
+ # resp.snapshot.master_password_secret_arn #=> String
9084
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
8901
9085
  #
8902
9086
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshot AWS API Documentation
8903
9087
  #
@@ -9472,6 +9656,8 @@ module Aws::Redshift
9472
9656
  # resp.cluster.custom_domain_name #=> String
9473
9657
  # resp.cluster.custom_domain_certificate_arn #=> String
9474
9658
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
9659
+ # resp.cluster.master_password_secret_arn #=> String
9660
+ # resp.cluster.master_password_secret_kms_key_id #=> String
9475
9661
  #
9476
9662
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod AWS API Documentation
9477
9663
  #
@@ -9728,6 +9914,8 @@ module Aws::Redshift
9728
9914
  # resp.cluster.custom_domain_name #=> String
9729
9915
  # resp.cluster.custom_domain_certificate_arn #=> String
9730
9916
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
9917
+ # resp.cluster.master_password_secret_arn #=> String
9918
+ # resp.cluster.master_password_secret_kms_key_id #=> String
9731
9919
  #
9732
9920
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster AWS API Documentation
9733
9921
  #
@@ -9799,6 +9987,40 @@ module Aws::Redshift
9799
9987
  req.send_request(options)
9800
9988
  end
9801
9989
 
9990
+ # Updates the resource policy for a specified resource.
9991
+ #
9992
+ # @option params [required, String] :resource_arn
9993
+ # The Amazon Resource Name (ARN) of the resource of which its resource
9994
+ # policy is updated.
9995
+ #
9996
+ # @option params [required, String] :policy
9997
+ # The content of the resource policy being updated.
9998
+ #
9999
+ # @return [Types::PutResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10000
+ #
10001
+ # * {Types::PutResourcePolicyResult#resource_policy #resource_policy} => Types::ResourcePolicy
10002
+ #
10003
+ # @example Request syntax with placeholder values
10004
+ #
10005
+ # resp = client.put_resource_policy({
10006
+ # resource_arn: "String", # required
10007
+ # policy: "String", # required
10008
+ # })
10009
+ #
10010
+ # @example Response structure
10011
+ #
10012
+ # resp.resource_policy.resource_arn #=> String
10013
+ # resp.resource_policy.policy #=> String
10014
+ #
10015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PutResourcePolicy AWS API Documentation
10016
+ #
10017
+ # @overload put_resource_policy(params = {})
10018
+ # @param [Hash] params ({})
10019
+ def put_resource_policy(params = {}, options = {})
10020
+ req = build_request(:put_resource_policy, params)
10021
+ req.send_request(options)
10022
+ end
10023
+
9802
10024
  # Reboots a cluster. This action is taken as soon as possible. It
9803
10025
  # results in a momentary outage to the cluster, during which the cluster
9804
10026
  # status is set to `rebooting`. A cluster event is created when the
@@ -9947,6 +10169,8 @@ module Aws::Redshift
9947
10169
  # resp.cluster.custom_domain_name #=> String
9948
10170
  # resp.cluster.custom_domain_certificate_arn #=> String
9949
10171
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
10172
+ # resp.cluster.master_password_secret_arn #=> String
10173
+ # resp.cluster.master_password_secret_kms_key_id #=> String
9950
10174
  #
9951
10175
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster AWS API Documentation
9952
10176
  #
@@ -10254,6 +10478,8 @@ module Aws::Redshift
10254
10478
  # resp.cluster.custom_domain_name #=> String
10255
10479
  # resp.cluster.custom_domain_certificate_arn #=> String
10256
10480
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
10481
+ # resp.cluster.master_password_secret_arn #=> String
10482
+ # resp.cluster.master_password_secret_kms_key_id #=> String
10257
10483
  #
10258
10484
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeCluster AWS API Documentation
10259
10485
  #
@@ -10545,6 +10771,17 @@ module Aws::Redshift
10545
10771
  # encrypted with Key Management Service (KMS) and a customer managed
10546
10772
  # key.
10547
10773
  #
10774
+ # @option params [Boolean] :manage_master_password
10775
+ # If `true`, Amazon Redshift uses Secrets Manager to manage the restored
10776
+ # cluster's admin credentials. If `ManageMasterPassword` is false or
10777
+ # not set, Amazon Redshift uses the admin credentials the cluster had at
10778
+ # the time the snapshot was taken.
10779
+ #
10780
+ # @option params [String] :master_password_secret_kms_key_id
10781
+ # The ID of the Key Management Service (KMS) key used to encrypt and
10782
+ # store the cluster's admin credentials secret. You can only use this
10783
+ # parameter if `ManageMasterPassword` is true.
10784
+ #
10548
10785
  # @return [Types::RestoreFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10549
10786
  #
10550
10787
  # * {Types::RestoreFromClusterSnapshotResult#cluster #cluster} => Types::Cluster
@@ -10585,6 +10822,8 @@ module Aws::Redshift
10585
10822
  # reserved_node_id: "String",
10586
10823
  # target_reserved_node_offering_id: "String",
10587
10824
  # encrypted: false,
10825
+ # manage_master_password: false,
10826
+ # master_password_secret_kms_key_id: "String",
10588
10827
  # })
10589
10828
  #
10590
10829
  # @example Response structure
@@ -10710,6 +10949,8 @@ module Aws::Redshift
10710
10949
  # resp.cluster.custom_domain_name #=> String
10711
10950
  # resp.cluster.custom_domain_certificate_arn #=> String
10712
10951
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
10952
+ # resp.cluster.master_password_secret_arn #=> String
10953
+ # resp.cluster.master_password_secret_kms_key_id #=> String
10713
10954
  #
10714
10955
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot AWS API Documentation
10715
10956
  #
@@ -10958,6 +11199,8 @@ module Aws::Redshift
10958
11199
  # resp.cluster.custom_domain_name #=> String
10959
11200
  # resp.cluster.custom_domain_certificate_arn #=> String
10960
11201
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
11202
+ # resp.cluster.master_password_secret_arn #=> String
11203
+ # resp.cluster.master_password_secret_kms_key_id #=> String
10961
11204
  #
10962
11205
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster AWS API Documentation
10963
11206
  #
@@ -11188,6 +11431,8 @@ module Aws::Redshift
11188
11431
  # resp.snapshot.manual_snapshot_retention_period #=> Integer
11189
11432
  # resp.snapshot.manual_snapshot_remaining_days #=> Integer
11190
11433
  # resp.snapshot.snapshot_retention_start_time #=> Time
11434
+ # resp.snapshot.master_password_secret_arn #=> String
11435
+ # resp.snapshot.master_password_secret_kms_key_id #=> String
11191
11436
  #
11192
11437
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess AWS API Documentation
11193
11438
  #
@@ -11340,6 +11585,8 @@ module Aws::Redshift
11340
11585
  # resp.cluster.custom_domain_name #=> String
11341
11586
  # resp.cluster.custom_domain_certificate_arn #=> String
11342
11587
  # resp.cluster.custom_domain_certificate_expiry_date #=> Time
11588
+ # resp.cluster.master_password_secret_arn #=> String
11589
+ # resp.cluster.master_password_secret_kms_key_id #=> String
11343
11590
  #
11344
11591
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey AWS API Documentation
11345
11592
  #
@@ -11415,7 +11662,7 @@ module Aws::Redshift
11415
11662
  params: params,
11416
11663
  config: config)
11417
11664
  context[:gem_name] = 'aws-sdk-redshift'
11418
- context[:gem_version] = '1.98.0'
11665
+ context[:gem_version] = '1.100.0'
11419
11666
  Seahorse::Client::Request.new(handlers, context)
11420
11667
  end
11421
11668