aws-sdk-redshift 1.67.0 → 1.68.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: 885bed8bf2f2c82e54d536f2fa77fc9d14fd60a53bb627775e17d54c537180a1
4
- data.tar.gz: 77fe3553f4efdc8bc12e03a86b2b050e28a2d914fc12397c36ee823534619e9b
3
+ metadata.gz: c0aeb5a56bed1cf423cfb5aad928d91f66fb3fcbf0af1973a265adf5b67a81fd
4
+ data.tar.gz: 6bae72ec5f85b8345318d30c3237c48cc7e7c1bf23c5cd5c305785fb6c3fc56a
5
5
  SHA512:
6
- metadata.gz: 0fbfc3048dfd33137e41219b0908ddf366db77e11a9d970c4120a1bffc1efcc9f52d71f162db707314d28022d18fcc3b56b87292756298476e57b3a6e0e92413
7
- data.tar.gz: 320f52d2ebf6b3e9542b2f04ff1a46ebe7df35f3190bcce1e6e2cfbff2ca8aad4eb0099b3dc11aad5e2f8f70e862cc68f80a66fe8a252e1d53cc7af1299d3656
6
+ metadata.gz: d6b661189fe41f20cdfd6a7043b03837ab101e3ccc02ec04b2ed0e7fa2da12aeeeb174fe33e3d1f4e4a464a1518345cd397e550181859b3d6fcabba14ebb653f
7
+ data.tar.gz: afdeaae05e6f735633e2779be4882a8bc8c6fc42aca4eac80412880642d77a1a96a2978fa7d7ba4256fbb79a7632d5fb819e29f9f44a2e038d0524b45218ceaa
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2021-08-03)
5
+ ------------------
6
+
7
+ * Feature - API support for Redshift Data Sharing feature.
8
+
4
9
  1.67.0 (2021-07-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.68.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-redshift/customizations'
49
49
  # @!group service
50
50
  module Aws::Redshift
51
51
 
52
- GEM_VERSION = '1.67.0'
52
+ GEM_VERSION = '1.68.0'
53
53
 
54
54
  end
@@ -384,7 +384,7 @@ module Aws::Redshift
384
384
  # website.
385
385
  #
386
386
  # @option params [required, String] :account_id
387
- # The Region ID that owns the cluster.
387
+ # The Amazon Web Services account ID that owns the cluster.
388
388
  #
389
389
  # @option params [required, String] :cluster_identifier
390
390
  # The cluster identifier of the cluster that receives data from the
@@ -424,6 +424,58 @@ module Aws::Redshift
424
424
  req.send_request(options)
425
425
  end
426
426
 
427
+ # From a datashare consumer account, associates a datashare with the
428
+ # account (AssociateEntireAccount) or the specified namespace
429
+ # (ConsumerArn). If you make this association, the consumer can consume
430
+ # the datashare.
431
+ #
432
+ # @option params [required, String] :data_share_arn
433
+ # The Amazon Resource Name (ARN) of the datashare that the consumer is
434
+ # to use with the account or the namespace.
435
+ #
436
+ # @option params [Boolean] :associate_entire_account
437
+ # A value that specifies whether the datashare is associated with the
438
+ # entire account.
439
+ #
440
+ # @option params [String] :consumer_arn
441
+ # The Amazon Resource Name (ARN) of the consumer that is associated with
442
+ # the datashare.
443
+ #
444
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
445
+ #
446
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
447
+ # * {Types::DataShare#producer_arn #producer_arn} => String
448
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
449
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
450
+ #
451
+ # @example Request syntax with placeholder values
452
+ #
453
+ # resp = client.associate_data_share_consumer({
454
+ # data_share_arn: "String", # required
455
+ # associate_entire_account: false,
456
+ # consumer_arn: "String",
457
+ # })
458
+ #
459
+ # @example Response structure
460
+ #
461
+ # resp.data_share_arn #=> String
462
+ # resp.producer_arn #=> String
463
+ # resp.allow_publicly_accessible_consumers #=> Boolean
464
+ # resp.data_share_associations #=> Array
465
+ # resp.data_share_associations[0].consumer_identifier #=> String
466
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
467
+ # resp.data_share_associations[0].created_date #=> Time
468
+ # resp.data_share_associations[0].status_change_date #=> Time
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumer AWS API Documentation
471
+ #
472
+ # @overload associate_data_share_consumer(params = {})
473
+ # @param [Hash] params ({})
474
+ def associate_data_share_consumer(params = {}, options = {})
475
+ req = build_request(:associate_data_share_consumer, params)
476
+ req.send_request(options)
477
+ end
478
+
427
479
  # Adds an inbound (ingress) rule to an Amazon Redshift security group.
428
480
  # Depending on whether the application accessing your cluster is running
429
481
  # on the Internet or an Amazon EC2 instance, you can authorize inbound
@@ -433,7 +485,8 @@ module Aws::Redshift
433
485
  #
434
486
  # If you authorize access to an Amazon EC2 security group, specify
435
487
  # *EC2SecurityGroupName* and *EC2SecurityGroupOwnerId*. The Amazon EC2
436
- # security group and Amazon Redshift cluster must be in the same Region.
488
+ # security group and Amazon Redshift cluster must be in the same Amazon
489
+ # Web Services Region.
437
490
  #
438
491
  # If you authorize access to a CIDR/IP address range, specify *CIDRIP*.
439
492
  # For an overview of CIDR blocks, see the Wikipedia article on
@@ -460,9 +513,9 @@ module Aws::Redshift
460
513
  # The EC2 security group to be added the Amazon Redshift security group.
461
514
  #
462
515
  # @option params [String] :ec2_security_group_owner_id
463
- # The account number of the owner of the security group specified by the
464
- # *EC2SecurityGroupName* parameter. The Amazon Web Services Access Key
465
- # ID is not an acceptable value.
516
+ # The Amazon Web Services account number of the owner of the security
517
+ # group specified by the *EC2SecurityGroupName* parameter. The Amazon
518
+ # Web Services Access Key ID is not an acceptable value.
466
519
  #
467
520
  # Example: `111122223333`
468
521
  #
@@ -509,13 +562,60 @@ module Aws::Redshift
509
562
  req.send_request(options)
510
563
  end
511
564
 
565
+ # From a data producer account, authorizes the sharing of a datashare
566
+ # with one or more consumer accounts. To authorize a datashare for a
567
+ # data consumer, the producer account must have the correct access
568
+ # privileges.
569
+ #
570
+ # @option params [required, String] :data_share_arn
571
+ # The Amazon Resource Name (ARN) of the datashare that producers are to
572
+ # authorize sharing for.
573
+ #
574
+ # @option params [required, String] :consumer_identifier
575
+ # The identifier of the data consumer that is authorized to access the
576
+ # datashare. This identifier is an AWS account ID.
577
+ #
578
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
579
+ #
580
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
581
+ # * {Types::DataShare#producer_arn #producer_arn} => String
582
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
583
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
584
+ #
585
+ # @example Request syntax with placeholder values
586
+ #
587
+ # resp = client.authorize_data_share({
588
+ # data_share_arn: "String", # required
589
+ # consumer_identifier: "String", # required
590
+ # })
591
+ #
592
+ # @example Response structure
593
+ #
594
+ # resp.data_share_arn #=> String
595
+ # resp.producer_arn #=> String
596
+ # resp.allow_publicly_accessible_consumers #=> Boolean
597
+ # resp.data_share_associations #=> Array
598
+ # resp.data_share_associations[0].consumer_identifier #=> String
599
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
600
+ # resp.data_share_associations[0].created_date #=> Time
601
+ # resp.data_share_associations[0].status_change_date #=> Time
602
+ #
603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShare AWS API Documentation
604
+ #
605
+ # @overload authorize_data_share(params = {})
606
+ # @param [Hash] params ({})
607
+ def authorize_data_share(params = {}, options = {})
608
+ req = build_request(:authorize_data_share, params)
609
+ req.send_request(options)
610
+ end
611
+
512
612
  # Grants access to a cluster.
513
613
  #
514
614
  # @option params [String] :cluster_identifier
515
615
  # The cluster identifier of the cluster to grant access to.
516
616
  #
517
617
  # @option params [required, String] :account
518
- # The account ID to grant access to.
618
+ # The Amazon Web Services account ID to grant access to.
519
619
  #
520
620
  # @option params [Array<String>] :vpc_ids
521
621
  # The virtual private cloud (VPC) identifiers to grant access to.
@@ -562,7 +662,8 @@ module Aws::Redshift
562
662
  req.send_request(options)
563
663
  end
564
664
 
565
- # Authorizes the specified account to restore the specified snapshot.
665
+ # Authorizes the specified Amazon Web Services account to restore the
666
+ # specified snapshot.
566
667
  #
567
668
  # For more information about working with snapshots, go to [Amazon
568
669
  # Redshift Snapshots][1] in the *Amazon Redshift Cluster Management
@@ -582,8 +683,8 @@ module Aws::Redshift
582
683
  # the cluster name.
583
684
  #
584
685
  # @option params [required, String] :account_with_restore_access
585
- # The identifier of the account authorized to restore the specified
586
- # snapshot.
686
+ # The identifier of the Amazon Web Services account authorized to
687
+ # restore the specified snapshot.
587
688
  #
588
689
  # To share a snapshot with Amazon Web Services Support, specify
589
690
  # amazon-redshift-support.
@@ -859,7 +960,8 @@ module Aws::Redshift
859
960
  #
860
961
  # * Cannot end with a hyphen or contain two consecutive hyphens.
861
962
  #
862
- # * Must be unique for the account that is making the request.
963
+ # * Must be unique for the Amazon Web Services account that is making
964
+ # the request.
863
965
  #
864
966
  # @option params [Integer] :manual_snapshot_retention_period
865
967
  # The number of days that a manual snapshot is retained. If the value is
@@ -1023,7 +1125,8 @@ module Aws::Redshift
1023
1125
  #
1024
1126
  # * Cannot end with a hyphen or contain two consecutive hyphens.
1025
1127
  #
1026
- # * Must be unique for all clusters within an account.
1128
+ # * Must be unique for all clusters within an Amazon Web Services
1129
+ # account.
1027
1130
  #
1028
1131
  # Example: `myexamplecluster`
1029
1132
  #
@@ -1310,8 +1413,8 @@ module Aws::Redshift
1310
1413
  # (Advanced Query Accelerator) when it is created. Possible values
1311
1414
  # include the following.
1312
1415
  #
1313
- # * enabled - Use AQUA if it is available for the current Region and
1314
- # Amazon Redshift node type.
1416
+ # * enabled - Use AQUA if it is available for the current Amazon Web
1417
+ # Services Region and Amazon Redshift node type.
1315
1418
  #
1316
1419
  # * disabled - Don't use AQUA.
1317
1420
  #
@@ -1511,7 +1614,7 @@ module Aws::Redshift
1511
1614
  #
1512
1615
  # * Cannot end with a hyphen or contain two consecutive hyphens.
1513
1616
  #
1514
- # * Must be unique withing your account.
1617
+ # * Must be unique withing your Amazon Web Services account.
1515
1618
  #
1516
1619
  # <note markdown="1"> This value is stored as a lower-case string.
1517
1620
  #
@@ -1524,11 +1627,11 @@ module Aws::Redshift
1524
1627
  #
1525
1628
  # To get a list of valid parameter group family names, you can call
1526
1629
  # DescribeClusterParameterGroups. By default, Amazon Redshift returns a
1527
- # list of all the parameter groups that are owned by your account,
1528
- # including the default parameter groups for each Amazon Redshift engine
1529
- # version. The parameter group family names associated with the default
1530
- # parameter groups provide you the valid values. For example, a valid
1531
- # family name is "redshift-1.0".
1630
+ # list of all the parameter groups that are owned by your Amazon Web
1631
+ # Services account, including the default parameter groups for each
1632
+ # Amazon Redshift engine version. The parameter group family names
1633
+ # associated with the default parameter groups provide you the valid
1634
+ # values. For example, a valid family name is "redshift-1.0".
1532
1635
  #
1533
1636
  # @option params [required, String] :description
1534
1637
  # A description of the parameter group.
@@ -1594,7 +1697,7 @@ module Aws::Redshift
1594
1697
  # * Must not be "Default".
1595
1698
  #
1596
1699
  # * Must be unique for all security groups that are created by your
1597
- # account.
1700
+ # Amazon Web Services account.
1598
1701
  #
1599
1702
  # Example: `examplesecuritygroup`
1600
1703
  #
@@ -1664,7 +1767,8 @@ module Aws::Redshift
1664
1767
  #
1665
1768
  # @option params [required, String] :snapshot_identifier
1666
1769
  # A unique identifier for the snapshot that you are requesting. This
1667
- # identifier must be unique for all snapshots within the account.
1770
+ # identifier must be unique for all snapshots within the Amazon Web
1771
+ # Services account.
1668
1772
  #
1669
1773
  # Constraints:
1670
1774
  #
@@ -1782,8 +1886,8 @@ module Aws::Redshift
1782
1886
  #
1783
1887
  # * Must not be "Default".
1784
1888
  #
1785
- # * Must be unique for all subnet groups that are created by your
1786
- # account.
1889
+ # * Must be unique for all subnet groups that are created by your Amazon
1890
+ # Web Services account.
1787
1891
  #
1788
1892
  # Example: `examplesubnetgroup`
1789
1893
  #
@@ -1846,8 +1950,9 @@ module Aws::Redshift
1846
1950
  # The cluster identifier of the cluster to access.
1847
1951
  #
1848
1952
  # @option params [String] :resource_owner
1849
- # The account ID of the owner of the cluster. This is only required if
1850
- # the cluster is in another account.
1953
+ # The Amazon Web Services account ID of the owner of the cluster. This
1954
+ # is only required if the cluster is in another Amazon Web Services
1955
+ # account.
1851
1956
  #
1852
1957
  # @option params [required, String] :endpoint_name
1853
1958
  # The Redshift-managed VPC endpoint name.
@@ -1938,10 +2043,11 @@ module Aws::Redshift
1938
2043
  # will be sent for all the cluster events for my-cluster-1. If you
1939
2044
  # specify a source type but do not specify a source identifier, you will
1940
2045
  # receive notice of the events for the objects of that type in your
1941
- # account. If you do not specify either the SourceType nor the
1942
- # SourceIdentifier, you will be notified of events generated from all
1943
- # Amazon Redshift sources belonging to your account. You must specify a
1944
- # source type if you specify a source ID.
2046
+ # Amazon Web Services account. If you do not specify either the
2047
+ # SourceType nor the SourceIdentifier, you will be notified of events
2048
+ # generated from all Amazon Redshift sources belonging to your Amazon
2049
+ # Web Services account. You must specify a source type if you specify a
2050
+ # source ID.
1945
2051
  #
1946
2052
  # @option params [required, String] :subscription_name
1947
2053
  # The name of the event subscription to be created.
@@ -1965,8 +2071,9 @@ module Aws::Redshift
1965
2071
  # The type of source that will be generating the events. For example, if
1966
2072
  # you want to be notified of events generated by a cluster, you would
1967
2073
  # set this parameter to cluster. If this value is not specified, events
1968
- # are returned for all Amazon Redshift objects in your account. You must
1969
- # specify a source type in order to specify source IDs.
2074
+ # are returned for all Amazon Redshift objects in your Amazon Web
2075
+ # Services account. You must specify a source type in order to specify
2076
+ # source IDs.
1970
2077
  #
1971
2078
  # Valid values: cluster, cluster-parameter-group,
1972
2079
  # cluster-security-group, cluster-snapshot, and scheduled-action.
@@ -1986,7 +2093,7 @@ module Aws::Redshift
1986
2093
  # Specifies the Amazon Redshift event categories to be published by the
1987
2094
  # event notification subscription.
1988
2095
  #
1989
- # Values: configuration, management, monitoring, security
2096
+ # Values: configuration, management, monitoring, security, pending
1990
2097
  #
1991
2098
  # @option params [String] :severity
1992
2099
  # Specifies the Amazon Redshift event severity to be published by the
@@ -2306,7 +2413,7 @@ module Aws::Redshift
2306
2413
  #
2307
2414
  # @option params [required, String] :snapshot_copy_grant_name
2308
2415
  # The name of the snapshot copy grant. This name must be unique in the
2309
- # region for the account.
2416
+ # region for the Amazon Web Services account.
2310
2417
  #
2311
2418
  # Constraints:
2312
2419
  #
@@ -2318,7 +2425,8 @@ module Aws::Redshift
2318
2425
  #
2319
2426
  # * Cannot end with a hyphen or contain two consecutive hyphens.
2320
2427
  #
2321
- # * Must be unique for all clusters within an account.
2428
+ # * Must be unique for all clusters within an Amazon Web Services
2429
+ # account.
2322
2430
  #
2323
2431
  # @option params [String] :kms_key_id
2324
2432
  # The unique identifier of the customer master key (CMK) to which to
@@ -2562,6 +2670,51 @@ module Aws::Redshift
2562
2670
  req.send_request(options)
2563
2671
  end
2564
2672
 
2673
+ # From the producer account, removes authorization from the specified
2674
+ # datashare.
2675
+ #
2676
+ # @option params [required, String] :data_share_arn
2677
+ # The Amazon Resource Name (ARN) of the datashare to remove
2678
+ # authorization from.
2679
+ #
2680
+ # @option params [required, String] :consumer_identifier
2681
+ # The identifier of the data consumer that is to have authorization
2682
+ # removed from the datashare. This identifier is an AWS account ID.
2683
+ #
2684
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2685
+ #
2686
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
2687
+ # * {Types::DataShare#producer_arn #producer_arn} => String
2688
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
2689
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
2690
+ #
2691
+ # @example Request syntax with placeholder values
2692
+ #
2693
+ # resp = client.deauthorize_data_share({
2694
+ # data_share_arn: "String", # required
2695
+ # consumer_identifier: "String", # required
2696
+ # })
2697
+ #
2698
+ # @example Response structure
2699
+ #
2700
+ # resp.data_share_arn #=> String
2701
+ # resp.producer_arn #=> String
2702
+ # resp.allow_publicly_accessible_consumers #=> Boolean
2703
+ # resp.data_share_associations #=> Array
2704
+ # resp.data_share_associations[0].consumer_identifier #=> String
2705
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
2706
+ # resp.data_share_associations[0].created_date #=> Time
2707
+ # resp.data_share_associations[0].status_change_date #=> Time
2708
+ #
2709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare AWS API Documentation
2710
+ #
2711
+ # @overload deauthorize_data_share(params = {})
2712
+ # @param [Hash] params ({})
2713
+ def deauthorize_data_share(params = {}, options = {})
2714
+ req = build_request(:deauthorize_data_share, params)
2715
+ req.send_request(options)
2716
+ end
2717
+
2565
2718
  # Deletes an authentication profile.
2566
2719
  #
2567
2720
  # @option params [required, String] :authentication_profile_name
@@ -3096,7 +3249,7 @@ module Aws::Redshift
3096
3249
  # website.
3097
3250
  #
3098
3251
  # @option params [required, String] :account_id
3099
- # The Region ID that owns the cluster.
3252
+ # The Amazon Web Services account ID that owns the cluster.
3100
3253
  #
3101
3254
  # @option params [required, String] :cluster_identifier
3102
3255
  # The cluster identifier of the cluster that receives data from the
@@ -3699,8 +3852,9 @@ module Aws::Redshift
3699
3852
 
3700
3853
  # Returns one or more snapshot objects, which contain metadata about
3701
3854
  # your cluster snapshots. By default, this operation returns information
3702
- # about all snapshots of all clusters that are owned by your account. No
3703
- # information is returned for snapshots owned by inactive accounts.
3855
+ # about all snapshots of all clusters that are owned by your Amazon Web
3856
+ # Services account. No information is returned for snapshots owned by
3857
+ # inactive Amazon Web Services accounts.
3704
3858
  #
3705
3859
  # If you specify both tag keys and tag values in the same request,
3706
3860
  # Amazon Redshift returns all snapshots that match any combination of
@@ -3771,10 +3925,10 @@ module Aws::Redshift
3771
3925
  # parameter and retrying the request.
3772
3926
  #
3773
3927
  # @option params [String] :owner_account
3774
- # The account used to create or copy the snapshot. Use this field to
3775
- # filter the results to snapshots owned by a particular account. To
3776
- # describe snapshots you own, either specify your account, or do not
3777
- # specify the parameter.
3928
+ # The Amazon Web Services account used to create or copy the snapshot.
3929
+ # Use this field to filter the results to snapshots owned by a
3930
+ # particular account. To describe snapshots you own, either specify your
3931
+ # Amazon Web Services account, or do not specify the parameter.
3778
3932
  #
3779
3933
  # @option params [Array<String>] :tag_keys
3780
3934
  # A tag key or keys for which you want to return all matching cluster
@@ -3906,7 +4060,7 @@ module Aws::Redshift
3906
4060
  # Returns one or more cluster subnet group objects, which contain
3907
4061
  # metadata about your cluster subnet groups. By default, this operation
3908
4062
  # returns information about all cluster subnet groups that are defined
3909
- # in your account.
4063
+ # in your Amazon Web Services account.
3910
4064
  #
3911
4065
  # If you specify both tag keys and tag values in the same request,
3912
4066
  # Amazon Redshift returns all subnet groups that match any combination
@@ -4350,6 +4504,190 @@ module Aws::Redshift
4350
4504
  req.send_request(options)
4351
4505
  end
4352
4506
 
4507
+ # Shows the status of any inbound or outbound datashares available in
4508
+ # the specified account.
4509
+ #
4510
+ # @option params [String] :data_share_arn
4511
+ # The identifier of the datashare to describe details of.
4512
+ #
4513
+ # @option params [Integer] :max_records
4514
+ # The maximum number of response records to return in each call. If the
4515
+ # number of remaining response records exceeds the specified
4516
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4517
+ # response. You can retrieve the next set of records by retrying the
4518
+ # command with the returned marker value.
4519
+ #
4520
+ # @option params [String] :marker
4521
+ # An optional parameter that specifies the starting point to return a
4522
+ # set of response records. When the results of a DescribeDataShares
4523
+ # request exceed the value specified in `MaxRecords`, AWS returns a
4524
+ # value in the `Marker` field of the response. You can retrieve the next
4525
+ # set of response records by providing the returned marker value in the
4526
+ # `Marker` parameter and retrying the request.
4527
+ #
4528
+ # @return [Types::DescribeDataSharesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4529
+ #
4530
+ # * {Types::DescribeDataSharesResult#data_shares #data_shares} => Array&lt;Types::DataShare&gt;
4531
+ # * {Types::DescribeDataSharesResult#marker #marker} => String
4532
+ #
4533
+ # @example Request syntax with placeholder values
4534
+ #
4535
+ # resp = client.describe_data_shares({
4536
+ # data_share_arn: "String",
4537
+ # max_records: 1,
4538
+ # marker: "String",
4539
+ # })
4540
+ #
4541
+ # @example Response structure
4542
+ #
4543
+ # resp.data_shares #=> Array
4544
+ # resp.data_shares[0].data_share_arn #=> String
4545
+ # resp.data_shares[0].producer_arn #=> String
4546
+ # resp.data_shares[0].allow_publicly_accessible_consumers #=> Boolean
4547
+ # resp.data_shares[0].data_share_associations #=> Array
4548
+ # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4549
+ # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4550
+ # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4551
+ # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4552
+ # resp.marker #=> String
4553
+ #
4554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataShares AWS API Documentation
4555
+ #
4556
+ # @overload describe_data_shares(params = {})
4557
+ # @param [Hash] params ({})
4558
+ def describe_data_shares(params = {}, options = {})
4559
+ req = build_request(:describe_data_shares, params)
4560
+ req.send_request(options)
4561
+ end
4562
+
4563
+ # Returns a list of datashares where the account identifier being called
4564
+ # is a consumer account identifier.
4565
+ #
4566
+ # @option params [String] :consumer_arn
4567
+ # The Amazon Resource Name (ARN) of the consumer that returns in the
4568
+ # list of datashares.
4569
+ #
4570
+ # @option params [String] :status
4571
+ # An identifier giving the status of a datashare in the consumer
4572
+ # cluster. If this field is specified, Amazon Redshift returns the list
4573
+ # of datashares that have the specified status.
4574
+ #
4575
+ # @option params [Integer] :max_records
4576
+ # The maximum number of response records to return in each call. If the
4577
+ # number of remaining response records exceeds the specified
4578
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4579
+ # response. You can retrieve the next set of records by retrying the
4580
+ # command with the returned marker value.
4581
+ #
4582
+ # @option params [String] :marker
4583
+ # An optional parameter that specifies the starting point to return a
4584
+ # set of response records. When the results of a
4585
+ # DescribeDataSharesForConsumer request exceed the value specified in
4586
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4587
+ # response. You can retrieve the next set of response records by
4588
+ # providing the returned marker value in the `Marker` parameter and
4589
+ # retrying the request.
4590
+ #
4591
+ # @return [Types::DescribeDataSharesForConsumerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4592
+ #
4593
+ # * {Types::DescribeDataSharesForConsumerResult#data_shares #data_shares} => Array&lt;Types::DataShare&gt;
4594
+ # * {Types::DescribeDataSharesForConsumerResult#marker #marker} => String
4595
+ #
4596
+ # @example Request syntax with placeholder values
4597
+ #
4598
+ # resp = client.describe_data_shares_for_consumer({
4599
+ # consumer_arn: "String",
4600
+ # status: "ACTIVE", # accepts ACTIVE, AVAILABLE
4601
+ # max_records: 1,
4602
+ # marker: "String",
4603
+ # })
4604
+ #
4605
+ # @example Response structure
4606
+ #
4607
+ # resp.data_shares #=> Array
4608
+ # resp.data_shares[0].data_share_arn #=> String
4609
+ # resp.data_shares[0].producer_arn #=> String
4610
+ # resp.data_shares[0].allow_publicly_accessible_consumers #=> Boolean
4611
+ # resp.data_shares[0].data_share_associations #=> Array
4612
+ # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4613
+ # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4614
+ # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4615
+ # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4616
+ # resp.marker #=> String
4617
+ #
4618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumer AWS API Documentation
4619
+ #
4620
+ # @overload describe_data_shares_for_consumer(params = {})
4621
+ # @param [Hash] params ({})
4622
+ def describe_data_shares_for_consumer(params = {}, options = {})
4623
+ req = build_request(:describe_data_shares_for_consumer, params)
4624
+ req.send_request(options)
4625
+ end
4626
+
4627
+ # Returns a list of datashares when the account identifier being called
4628
+ # is a producer account identifier.
4629
+ #
4630
+ # @option params [String] :producer_arn
4631
+ # The Amazon Resource Name (ARN) of the producer that returns in the
4632
+ # list of datashares.
4633
+ #
4634
+ # @option params [String] :status
4635
+ # An identifier giving the status of a datashare in the producer. If
4636
+ # this field is specified, Amazon Redshift returns the list of
4637
+ # datashares that have the specified status.
4638
+ #
4639
+ # @option params [Integer] :max_records
4640
+ # The maximum number of response records to return in each call. If the
4641
+ # number of remaining response records exceeds the specified
4642
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4643
+ # response. You can retrieve the next set of records by retrying the
4644
+ # command with the returned marker value.
4645
+ #
4646
+ # @option params [String] :marker
4647
+ # An optional parameter that specifies the starting point to return a
4648
+ # set of response records. When the results of a
4649
+ # DescribeDataSharesForProducer request exceed the value specified in
4650
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4651
+ # response. You can retrieve the next set of response records by
4652
+ # providing the returned marker value in the `Marker` parameter and
4653
+ # retrying the request.
4654
+ #
4655
+ # @return [Types::DescribeDataSharesForProducerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4656
+ #
4657
+ # * {Types::DescribeDataSharesForProducerResult#data_shares #data_shares} => Array&lt;Types::DataShare&gt;
4658
+ # * {Types::DescribeDataSharesForProducerResult#marker #marker} => String
4659
+ #
4660
+ # @example Request syntax with placeholder values
4661
+ #
4662
+ # resp = client.describe_data_shares_for_producer({
4663
+ # producer_arn: "String",
4664
+ # status: "ACTIVE", # accepts ACTIVE, AUTHORIZED, PENDING_AUTHORIZATION, DEAUTHORIZED, REJECTED
4665
+ # max_records: 1,
4666
+ # marker: "String",
4667
+ # })
4668
+ #
4669
+ # @example Response structure
4670
+ #
4671
+ # resp.data_shares #=> Array
4672
+ # resp.data_shares[0].data_share_arn #=> String
4673
+ # resp.data_shares[0].producer_arn #=> String
4674
+ # resp.data_shares[0].allow_publicly_accessible_consumers #=> Boolean
4675
+ # resp.data_shares[0].data_share_associations #=> Array
4676
+ # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4677
+ # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4678
+ # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4679
+ # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4680
+ # resp.marker #=> String
4681
+ #
4682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducer AWS API Documentation
4683
+ #
4684
+ # @overload describe_data_shares_for_producer(params = {})
4685
+ # @param [Hash] params ({})
4686
+ def describe_data_shares_for_producer(params = {}, options = {})
4687
+ req = build_request(:describe_data_shares_for_producer, params)
4688
+ req.send_request(options)
4689
+ end
4690
+
4353
4691
  # Returns a list of parameter settings for the specified parameter group
4354
4692
  # family.
4355
4693
  #
@@ -4428,7 +4766,7 @@ module Aws::Redshift
4428
4766
  # The cluster identifier associated with the described endpoint.
4429
4767
  #
4430
4768
  # @option params [String] :resource_owner
4431
- # The account ID of the owner of the cluster.
4769
+ # The Amazon Web Services account ID of the owner of the cluster.
4432
4770
  #
4433
4771
  # @option params [String] :endpoint_name
4434
4772
  # The name of the endpoint to be described.
@@ -4504,9 +4842,9 @@ module Aws::Redshift
4504
4842
  # The cluster identifier of the cluster to access.
4505
4843
  #
4506
4844
  # @option params [String] :account
4507
- # The Aaccount ID of either the cluster owner (grantor) or grantee. If
4508
- # `Grantee` parameter is true, then the `Account` value is of the
4509
- # grantor.
4845
+ # The AAmazon Web Services account ID of either the cluster owner
4846
+ # (grantor) or grantee. If `Grantee` parameter is true, then the
4847
+ # `Account` value is of the grantor.
4510
4848
  #
4511
4849
  # @option params [Boolean] :grantee
4512
4850
  # Indicates whether to check authorization from a grantor or grantee
@@ -4852,7 +5190,7 @@ module Aws::Redshift
4852
5190
 
4853
5191
  # Returns information about the specified HSM client certificate. If no
4854
5192
  # certificate ID is specified, returns information about all the HSM
4855
- # certificates owned by your account.
5193
+ # certificates owned by your Amazon Web Services account.
4856
5194
  #
4857
5195
  # If you specify both tag keys and tag values in the same request,
4858
5196
  # Amazon Redshift returns all HSM client certificates that match any
@@ -4868,7 +5206,8 @@ module Aws::Redshift
4868
5206
  # @option params [String] :hsm_client_certificate_identifier
4869
5207
  # The identifier of a specific HSM client certificate for which you want
4870
5208
  # information. If no identifier is specified, information is returned
4871
- # for all HSM client certificates owned by your account.
5209
+ # for all HSM client certificates owned by your Amazon Web Services
5210
+ # account.
4872
5211
  #
4873
5212
  # @option params [Integer] :max_records
4874
5213
  # The maximum number of response records to return in each call. If the
@@ -4946,7 +5285,8 @@ module Aws::Redshift
4946
5285
 
4947
5286
  # Returns information about the specified Amazon Redshift HSM
4948
5287
  # configuration. If no configuration ID is specified, returns
4949
- # information about all the HSM configurations owned by your account.
5288
+ # information about all the HSM configurations owned by your Amazon Web
5289
+ # Services account.
4950
5290
  #
4951
5291
  # If you specify both tag keys and tag values in the same request,
4952
5292
  # Amazon Redshift returns all HSM connections that match any combination
@@ -4962,7 +5302,7 @@ module Aws::Redshift
4962
5302
  # @option params [String] :hsm_configuration_identifier
4963
5303
  # The identifier of a specific Amazon Redshift HSM configuration to be
4964
5304
  # described. If no identifier is specified, information is returned for
4965
- # all HSM configurations owned by your account.
5305
+ # all HSM configurations owned by your Amazon Web Services account.
4966
5306
  #
4967
5307
  # @option params [Integer] :max_records
4968
5308
  # The maximum number of response records to return in each call. If the
@@ -5101,8 +5441,9 @@ module Aws::Redshift
5101
5441
  # configurations.
5102
5442
  #
5103
5443
  # @option params [String] :owner_account
5104
- # The account used to create or copy the snapshot. Required if you are
5105
- # restoring a snapshot you do not own, optional if you own the snapshot.
5444
+ # The Amazon Web Services account used to create or copy the snapshot.
5445
+ # Required if you are restoring a snapshot you do not own, optional if
5446
+ # you own the snapshot.
5106
5447
  #
5107
5448
  # @option params [Array<Types::NodeConfigurationOptionsFilter>] :filters
5108
5449
  # A set of name, operator, and value items to filter the results.
@@ -5172,13 +5513,14 @@ module Aws::Redshift
5172
5513
 
5173
5514
  # Returns a list of orderable cluster options. Before you create a new
5174
5515
  # cluster you can use this operation to find what options are available,
5175
- # such as the EC2 Availability Zones (AZ) in the specific Region that
5176
- # you can specify, and the node types you can request. The node types
5177
- # differ by available storage, memory, CPU and price. With the cost
5178
- # involved you might want to obtain a list of cluster options in the
5179
- # specific region and specify values when creating a cluster. For more
5180
- # information about managing clusters, go to [Amazon Redshift
5181
- # Clusters][1] in the *Amazon Redshift Cluster Management Guide*.
5516
+ # such as the EC2 Availability Zones (AZ) in the specific Amazon Web
5517
+ # Services Region that you can specify, and the node types you can
5518
+ # request. The node types differ by available storage, memory, CPU and
5519
+ # price. With the cost involved you might want to obtain a list of
5520
+ # cluster options in the specific region and specify values when
5521
+ # creating a cluster. For more information about managing clusters, go
5522
+ # to [Amazon Redshift Clusters][1] in the *Amazon Redshift Cluster
5523
+ # Management Guide*.
5182
5524
  #
5183
5525
  #
5184
5526
  #
@@ -5258,7 +5600,7 @@ module Aws::Redshift
5258
5600
  # cluster.
5259
5601
  #
5260
5602
  # @option params [required, String] :account_id
5261
- # The Region ID that owns the cluster.
5603
+ # The Amazon Web Services account ID that owns the cluster.
5262
5604
  #
5263
5605
  # @option params [required, String] :cluster_identifier
5264
5606
  # The cluster identifier of the cluster whose partner integration is
@@ -5465,8 +5807,8 @@ module Aws::Redshift
5465
5807
  # The unique identifier of a cluster whose resize progress you are
5466
5808
  # requesting. This parameter is case-sensitive.
5467
5809
  #
5468
- # By default, resize operations for all clusters defined for an account
5469
- # are returned.
5810
+ # By default, resize operations for all clusters defined for an Amazon
5811
+ # Web Services account are returned.
5470
5812
  #
5471
5813
  # @return [Types::ResizeProgressMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5472
5814
  #
@@ -5624,8 +5966,8 @@ module Aws::Redshift
5624
5966
  req.send_request(options)
5625
5967
  end
5626
5968
 
5627
- # Returns a list of snapshot copy grants owned by the account in the
5628
- # destination region.
5969
+ # Returns a list of snapshot copy grants owned by the Amazon Web
5970
+ # Services account in the destination region.
5629
5971
  #
5630
5972
  # For more information about managing snapshot copy grants, go to
5631
5973
  # [Amazon Redshift Database Encryption][1] in the *Amazon Redshift
@@ -6307,6 +6649,56 @@ module Aws::Redshift
6307
6649
  req.send_request(options)
6308
6650
  end
6309
6651
 
6652
+ # From a consumer account, remove association for the specified
6653
+ # datashare.
6654
+ #
6655
+ # @option params [required, String] :data_share_arn
6656
+ # The Amazon Resource Name (ARN) of the datashare to remove association
6657
+ # for.
6658
+ #
6659
+ # @option params [Boolean] :disassociate_entire_account
6660
+ # A value that specifies whether association for the datashare is
6661
+ # removed from the entire account.
6662
+ #
6663
+ # @option params [String] :consumer_arn
6664
+ # The Amazon Resource Name (ARN) of the consumer that association for
6665
+ # the datashare is removed from.
6666
+ #
6667
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6668
+ #
6669
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
6670
+ # * {Types::DataShare#producer_arn #producer_arn} => String
6671
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
6672
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
6673
+ #
6674
+ # @example Request syntax with placeholder values
6675
+ #
6676
+ # resp = client.disassociate_data_share_consumer({
6677
+ # data_share_arn: "String", # required
6678
+ # disassociate_entire_account: false,
6679
+ # consumer_arn: "String",
6680
+ # })
6681
+ #
6682
+ # @example Response structure
6683
+ #
6684
+ # resp.data_share_arn #=> String
6685
+ # resp.producer_arn #=> String
6686
+ # resp.allow_publicly_accessible_consumers #=> Boolean
6687
+ # resp.data_share_associations #=> Array
6688
+ # resp.data_share_associations[0].consumer_identifier #=> String
6689
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
6690
+ # resp.data_share_associations[0].created_date #=> Time
6691
+ # resp.data_share_associations[0].status_change_date #=> Time
6692
+ #
6693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer AWS API Documentation
6694
+ #
6695
+ # @overload disassociate_data_share_consumer(params = {})
6696
+ # @param [Hash] params ({})
6697
+ def disassociate_data_share_consumer(params = {}, options = {})
6698
+ req = build_request(:disassociate_data_share_consumer, params)
6699
+ req.send_request(options)
6700
+ end
6701
+
6310
6702
  # Starts logging information, such as queries and connection attempts,
6311
6703
  # for the specified Amazon Redshift cluster.
6312
6704
  #
@@ -6391,11 +6783,12 @@ module Aws::Redshift
6391
6783
  # not already have cross-region snapshot copy enabled.
6392
6784
  #
6393
6785
  # @option params [required, String] :destination_region
6394
- # The destination Region that you want to copy snapshots to.
6786
+ # The destination Amazon Web Services Region that you want to copy
6787
+ # snapshots to.
6395
6788
  #
6396
- # Constraints: Must be the name of a valid Region. For more information,
6397
- # see [Regions and Endpoints][1] in the Amazon Web Services General
6398
- # Reference.
6789
+ # Constraints: Must be the name of a valid Amazon Web Services Region.
6790
+ # For more information, see [Regions and Endpoints][1] in the Amazon Web
6791
+ # Services General Reference.
6399
6792
  #
6400
6793
  #
6401
6794
  #
@@ -6416,8 +6809,9 @@ module Aws::Redshift
6416
6809
  #
6417
6810
  # @option params [Integer] :manual_snapshot_retention_period
6418
6811
  # The number of days to retain newly copied snapshots in the destination
6419
- # Region after they are copied from the source Region. If the value is
6420
- # -1, the manual snapshot is retained indefinitely.
6812
+ # Amazon Web Services Region after they are copied from the source
6813
+ # Amazon Web Services Region. If the value is -1, the manual snapshot is
6814
+ # retained indefinitely.
6421
6815
  #
6422
6816
  # The value must be either -1 or an integer between 1 and 3,653.
6423
6817
  #
@@ -6779,8 +7173,8 @@ module Aws::Redshift
6779
7173
  # The new value of AQUA configuration status. Possible values include
6780
7174
  # the following.
6781
7175
  #
6782
- # * enabled - Use AQUA if it is available for the current Region and
6783
- # Amazon Redshift node type.
7176
+ # * enabled - Use AQUA if it is available for the current Amazon Web
7177
+ # Services Region and Amazon Redshift node type.
6784
7178
  #
6785
7179
  # * disabled - Don't use AQUA.
6786
7180
  #
@@ -7061,7 +7455,8 @@ module Aws::Redshift
7061
7455
  #
7062
7456
  # * Cannot end with a hyphen or contain two consecutive hyphens.
7063
7457
  #
7064
- # * Must be unique for all clusters within an account.
7458
+ # * Must be unique for all clusters within an Amazon Web Services
7459
+ # account.
7065
7460
  #
7066
7461
  # Example: `examplecluster`
7067
7462
  #
@@ -7738,7 +8133,8 @@ module Aws::Redshift
7738
8133
  req.send_request(options)
7739
8134
  end
7740
8135
 
7741
- # Modifies the parameters of a parameter group.
8136
+ # Modifies the parameters of a parameter group. For the parameters
8137
+ # parameter, it can't contain ASCII characters.
7742
8138
  #
7743
8139
  # For more information about parameters and parameter groups, go to
7744
8140
  # [Amazon Redshift Parameter Groups][1] in the *Amazon Redshift Cluster
@@ -8041,8 +8437,9 @@ module Aws::Redshift
8041
8437
  # The type of source that will be generating the events. For example, if
8042
8438
  # you want to be notified of events generated by a cluster, you would
8043
8439
  # set this parameter to cluster. If this value is not specified, events
8044
- # are returned for all Amazon Redshift objects in your account. You must
8045
- # specify a source type in order to specify source IDs.
8440
+ # are returned for all Amazon Redshift objects in your Amazon Web
8441
+ # Services account. You must specify a source type in order to specify
8442
+ # source IDs.
8046
8443
  #
8047
8444
  # Valid values: cluster, cluster-parameter-group,
8048
8445
  # cluster-security-group, cluster-snapshot, and scheduled-action.
@@ -8062,7 +8459,7 @@ module Aws::Redshift
8062
8459
  # Specifies the Amazon Redshift event categories to be published by the
8063
8460
  # event notification subscription.
8064
8461
  #
8065
- # Values: configuration, management, monitoring, security
8462
+ # Values: configuration, management, monitoring, security, pending
8066
8463
  #
8067
8464
  # @option params [String] :severity
8068
8465
  # Specifies the Amazon Redshift event severity to be published by the
@@ -8217,33 +8614,36 @@ module Aws::Redshift
8217
8614
  end
8218
8615
 
8219
8616
  # Modifies the number of days to retain snapshots in the destination
8220
- # Region after they are copied from the source Region. By default, this
8221
- # operation only changes the retention period of copied automated
8222
- # snapshots. The retention periods for both new and existing copied
8223
- # automated snapshots are updated with the new retention period. You can
8224
- # set the manual option to change only the retention periods of copied
8225
- # manual snapshots. If you set this option, only newly copied manual
8226
- # snapshots have the new retention period.
8617
+ # Amazon Web Services Region after they are copied from the source
8618
+ # Amazon Web Services Region. By default, this operation only changes
8619
+ # the retention period of copied automated snapshots. The retention
8620
+ # periods for both new and existing copied automated snapshots are
8621
+ # updated with the new retention period. You can set the manual option
8622
+ # to change only the retention periods of copied manual snapshots. If
8623
+ # you set this option, only newly copied manual snapshots have the new
8624
+ # retention period.
8227
8625
  #
8228
8626
  # @option params [required, String] :cluster_identifier
8229
8627
  # The unique identifier of the cluster for which you want to change the
8230
8628
  # retention period for either automated or manual snapshots that are
8231
- # copied to a destination Region.
8629
+ # copied to a destination Amazon Web Services Region.
8232
8630
  #
8233
8631
  # Constraints: Must be the valid name of an existing cluster that has
8234
8632
  # cross-region snapshot copy enabled.
8235
8633
  #
8236
8634
  # @option params [required, Integer] :retention_period
8237
8635
  # The number of days to retain automated snapshots in the destination
8238
- # Region after they are copied from the source Region.
8636
+ # Amazon Web Services Region after they are copied from the source
8637
+ # Amazon Web Services Region.
8239
8638
  #
8240
8639
  # By default, this only changes the retention period of copied automated
8241
8640
  # snapshots.
8242
8641
  #
8243
8642
  # If you decrease the retention period for automated snapshots that are
8244
- # copied to a destination Region, Amazon Redshift deletes any existing
8245
- # automated snapshots that were copied to the destination Region and
8246
- # that fall outside of the new retention period.
8643
+ # copied to a destination Amazon Web Services Region, Amazon Redshift
8644
+ # deletes any existing automated snapshots that were copied to the
8645
+ # destination Amazon Web Services Region and that fall outside of the
8646
+ # new retention period.
8247
8647
  #
8248
8648
  # Constraints: Must be at least 1 and no more than 35 for automated
8249
8649
  # snapshots.
@@ -8842,6 +9242,44 @@ module Aws::Redshift
8842
9242
  req.send_request(options)
8843
9243
  end
8844
9244
 
9245
+ # From the consumer account, rejects the specified datashare.
9246
+ #
9247
+ # @option params [required, String] :data_share_arn
9248
+ # The Amazon Resource Name (ARN) of the datashare to reject.
9249
+ #
9250
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9251
+ #
9252
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
9253
+ # * {Types::DataShare#producer_arn #producer_arn} => String
9254
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
9255
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
9256
+ #
9257
+ # @example Request syntax with placeholder values
9258
+ #
9259
+ # resp = client.reject_data_share({
9260
+ # data_share_arn: "String", # required
9261
+ # })
9262
+ #
9263
+ # @example Response structure
9264
+ #
9265
+ # resp.data_share_arn #=> String
9266
+ # resp.producer_arn #=> String
9267
+ # resp.allow_publicly_accessible_consumers #=> Boolean
9268
+ # resp.data_share_associations #=> Array
9269
+ # resp.data_share_associations[0].consumer_identifier #=> String
9270
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
9271
+ # resp.data_share_associations[0].created_date #=> Time
9272
+ # resp.data_share_associations[0].status_change_date #=> Time
9273
+ #
9274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare AWS API Documentation
9275
+ #
9276
+ # @overload reject_data_share(params = {})
9277
+ # @param [Hash] params ({})
9278
+ def reject_data_share(params = {}, options = {})
9279
+ req = build_request(:reject_data_share, params)
9280
+ req.send_request(options)
9281
+ end
9282
+
8845
9283
  # Sets one or more parameters of the specified parameter group to their
8846
9284
  # default values and sets the source values of the parameters to
8847
9285
  # "engine-default". To reset the entire parameter group specify the
@@ -9122,7 +9560,8 @@ module Aws::Redshift
9122
9560
  #
9123
9561
  # * Cannot end with a hyphen or contain two consecutive hyphens.
9124
9562
  #
9125
- # * Must be unique for all clusters within an account.
9563
+ # * Must be unique for all clusters within an Amazon Web Services
9564
+ # account.
9126
9565
  #
9127
9566
  # @option params [required, String] :snapshot_identifier
9128
9567
  # The name of the snapshot from which to create the new cluster. This
@@ -9168,8 +9607,9 @@ module Aws::Redshift
9168
9607
  # If `true`, the cluster can be accessed from a public network.
9169
9608
  #
9170
9609
  # @option params [String] :owner_account
9171
- # The account used to create or copy the snapshot. Required if you are
9172
- # restoring a snapshot you do not own, optional if you own the snapshot.
9610
+ # The Amazon Web Services account used to create or copy the snapshot.
9611
+ # Required if you are restoring a snapshot you do not own, optional if
9612
+ # you own the snapshot.
9173
9613
  #
9174
9614
  # @option params [String] :hsm_client_certificate_identifier
9175
9615
  # Specifies the name of the HSM client certificate the Amazon Redshift
@@ -9333,8 +9773,8 @@ module Aws::Redshift
9333
9773
  # (Advanced Query Accelerator) after the cluster is restored. Possible
9334
9774
  # values include the following.
9335
9775
  #
9336
- # * enabled - Use AQUA if it is available for the current Region and
9337
- # Amazon Redshift node type.
9776
+ # * enabled - Use AQUA if it is available for the current Amazon Web
9777
+ # Services Region and Amazon Redshift node type.
9338
9778
  #
9339
9779
  # * disabled - Don't use AQUA.
9340
9780
  #
@@ -9751,11 +10191,11 @@ module Aws::Redshift
9751
10191
  # also be provided and `CIDRIP` cannot be provided.
9752
10192
  #
9753
10193
  # @option params [String] :ec2_security_group_owner_id
9754
- # The account number of the owner of the security group specified in the
9755
- # `EC2SecurityGroupName` parameter. The Amazon Web Services access key
9756
- # ID is not an acceptable value. If `EC2SecurityGroupOwnerId` is
9757
- # specified, `EC2SecurityGroupName` must also be provided. and `CIDRIP`
9758
- # cannot be provided.
10194
+ # The Amazon Web Services account number of the owner of the security
10195
+ # group specified in the `EC2SecurityGroupName` parameter. The Amazon
10196
+ # Web Services access key ID is not an acceptable value. If
10197
+ # `EC2SecurityGroupOwnerId` is specified, `EC2SecurityGroupName` must
10198
+ # also be provided. and `CIDRIP` cannot be provided.
9759
10199
  #
9760
10200
  # Example: `111122223333`
9761
10201
  #
@@ -9808,7 +10248,7 @@ module Aws::Redshift
9808
10248
  # The cluster to revoke access from.
9809
10249
  #
9810
10250
  # @option params [String] :account
9811
- # The account ID whose access is to be revoked.
10251
+ # The Amazon Web Services account ID whose access is to be revoked.
9812
10252
  #
9813
10253
  # @option params [Array<String>] :vpc_ids
9814
10254
  # The virtual private cloud (VPC) identifiers for which access is to be
@@ -9862,9 +10302,9 @@ module Aws::Redshift
9862
10302
  req.send_request(options)
9863
10303
  end
9864
10304
 
9865
- # Removes the ability of the specified account to restore the specified
9866
- # snapshot. If the account is currently restoring the snapshot, the
9867
- # restore will run to completion.
10305
+ # Removes the ability of the specified Amazon Web Services account to
10306
+ # restore the specified snapshot. If the account is currently restoring
10307
+ # the snapshot, the restore will run to completion.
9868
10308
  #
9869
10309
  # For more information about working with snapshots, go to [Amazon
9870
10310
  # Redshift Snapshots][1] in the *Amazon Redshift Cluster Management
@@ -9884,8 +10324,8 @@ module Aws::Redshift
9884
10324
  # the cluster name.
9885
10325
  #
9886
10326
  # @option params [required, String] :account_with_restore_access
9887
- # The identifier of the account that can no longer restore the specified
9888
- # snapshot.
10327
+ # The identifier of the Amazon Web Services account that can no longer
10328
+ # restore the specified snapshot.
9889
10329
  #
9890
10330
  # @return [Types::RevokeSnapshotAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9891
10331
  #
@@ -10092,7 +10532,7 @@ module Aws::Redshift
10092
10532
  # Updates the status of a partner integration.
10093
10533
  #
10094
10534
  # @option params [required, String] :account_id
10095
- # The Region ID that owns the cluster.
10535
+ # The Amazon Web Services account ID that owns the cluster.
10096
10536
  #
10097
10537
  # @option params [required, String] :cluster_identifier
10098
10538
  # The cluster identifier of the cluster whose partner integration status
@@ -10154,7 +10594,7 @@ module Aws::Redshift
10154
10594
  params: params,
10155
10595
  config: config)
10156
10596
  context[:gem_name] = 'aws-sdk-redshift'
10157
- context[:gem_version] = '1.67.0'
10597
+ context[:gem_version] = '1.68.0'
10158
10598
  Seahorse::Client::Request.new(handlers, context)
10159
10599
  end
10160
10600