aws-sdk-redshift 1.67.0 → 1.71.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.
@@ -275,6 +275,15 @@ module Aws::Redshift
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -384,7 +393,7 @@ module Aws::Redshift
384
393
  # website.
385
394
  #
386
395
  # @option params [required, String] :account_id
387
- # The Region ID that owns the cluster.
396
+ # The Amazon Web Services account ID that owns the cluster.
388
397
  #
389
398
  # @option params [required, String] :cluster_identifier
390
399
  # The cluster identifier of the cluster that receives data from the
@@ -424,6 +433,58 @@ module Aws::Redshift
424
433
  req.send_request(options)
425
434
  end
426
435
 
436
+ # From a datashare consumer account, associates a datashare with the
437
+ # account (AssociateEntireAccount) or the specified namespace
438
+ # (ConsumerArn). If you make this association, the consumer can consume
439
+ # the datashare.
440
+ #
441
+ # @option params [required, String] :data_share_arn
442
+ # The Amazon Resource Name (ARN) of the datashare that the consumer is
443
+ # to use with the account or the namespace.
444
+ #
445
+ # @option params [Boolean] :associate_entire_account
446
+ # A value that specifies whether the datashare is associated with the
447
+ # entire account.
448
+ #
449
+ # @option params [String] :consumer_arn
450
+ # The Amazon Resource Name (ARN) of the consumer that is associated with
451
+ # the datashare.
452
+ #
453
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
454
+ #
455
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
456
+ # * {Types::DataShare#producer_arn #producer_arn} => String
457
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
458
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
459
+ #
460
+ # @example Request syntax with placeholder values
461
+ #
462
+ # resp = client.associate_data_share_consumer({
463
+ # data_share_arn: "String", # required
464
+ # associate_entire_account: false,
465
+ # consumer_arn: "String",
466
+ # })
467
+ #
468
+ # @example Response structure
469
+ #
470
+ # resp.data_share_arn #=> String
471
+ # resp.producer_arn #=> String
472
+ # resp.allow_publicly_accessible_consumers #=> Boolean
473
+ # resp.data_share_associations #=> Array
474
+ # resp.data_share_associations[0].consumer_identifier #=> String
475
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
476
+ # resp.data_share_associations[0].created_date #=> Time
477
+ # resp.data_share_associations[0].status_change_date #=> Time
478
+ #
479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumer AWS API Documentation
480
+ #
481
+ # @overload associate_data_share_consumer(params = {})
482
+ # @param [Hash] params ({})
483
+ def associate_data_share_consumer(params = {}, options = {})
484
+ req = build_request(:associate_data_share_consumer, params)
485
+ req.send_request(options)
486
+ end
487
+
427
488
  # Adds an inbound (ingress) rule to an Amazon Redshift security group.
428
489
  # Depending on whether the application accessing your cluster is running
429
490
  # on the Internet or an Amazon EC2 instance, you can authorize inbound
@@ -433,7 +494,8 @@ module Aws::Redshift
433
494
  #
434
495
  # If you authorize access to an Amazon EC2 security group, specify
435
496
  # *EC2SecurityGroupName* and *EC2SecurityGroupOwnerId*. The Amazon EC2
436
- # security group and Amazon Redshift cluster must be in the same Region.
497
+ # security group and Amazon Redshift cluster must be in the same Amazon
498
+ # Web Services Region.
437
499
  #
438
500
  # If you authorize access to a CIDR/IP address range, specify *CIDRIP*.
439
501
  # For an overview of CIDR blocks, see the Wikipedia article on
@@ -460,9 +522,9 @@ module Aws::Redshift
460
522
  # The EC2 security group to be added the Amazon Redshift security group.
461
523
  #
462
524
  # @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.
525
+ # The Amazon Web Services account number of the owner of the security
526
+ # group specified by the *EC2SecurityGroupName* parameter. The Amazon
527
+ # Web Services Access Key ID is not an acceptable value.
466
528
  #
467
529
  # Example: `111122223333`
468
530
  #
@@ -509,13 +571,60 @@ module Aws::Redshift
509
571
  req.send_request(options)
510
572
  end
511
573
 
574
+ # From a data producer account, authorizes the sharing of a datashare
575
+ # with one or more consumer accounts. To authorize a datashare for a
576
+ # data consumer, the producer account must have the correct access
577
+ # privileges.
578
+ #
579
+ # @option params [required, String] :data_share_arn
580
+ # The Amazon Resource Name (ARN) of the datashare that producers are to
581
+ # authorize sharing for.
582
+ #
583
+ # @option params [required, String] :consumer_identifier
584
+ # The identifier of the data consumer that is authorized to access the
585
+ # datashare. This identifier is an AWS account ID.
586
+ #
587
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
588
+ #
589
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
590
+ # * {Types::DataShare#producer_arn #producer_arn} => String
591
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
592
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
593
+ #
594
+ # @example Request syntax with placeholder values
595
+ #
596
+ # resp = client.authorize_data_share({
597
+ # data_share_arn: "String", # required
598
+ # consumer_identifier: "String", # required
599
+ # })
600
+ #
601
+ # @example Response structure
602
+ #
603
+ # resp.data_share_arn #=> String
604
+ # resp.producer_arn #=> String
605
+ # resp.allow_publicly_accessible_consumers #=> Boolean
606
+ # resp.data_share_associations #=> Array
607
+ # resp.data_share_associations[0].consumer_identifier #=> String
608
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
609
+ # resp.data_share_associations[0].created_date #=> Time
610
+ # resp.data_share_associations[0].status_change_date #=> Time
611
+ #
612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShare AWS API Documentation
613
+ #
614
+ # @overload authorize_data_share(params = {})
615
+ # @param [Hash] params ({})
616
+ def authorize_data_share(params = {}, options = {})
617
+ req = build_request(:authorize_data_share, params)
618
+ req.send_request(options)
619
+ end
620
+
512
621
  # Grants access to a cluster.
513
622
  #
514
623
  # @option params [String] :cluster_identifier
515
624
  # The cluster identifier of the cluster to grant access to.
516
625
  #
517
626
  # @option params [required, String] :account
518
- # The account ID to grant access to.
627
+ # The Amazon Web Services account ID to grant access to.
519
628
  #
520
629
  # @option params [Array<String>] :vpc_ids
521
630
  # The virtual private cloud (VPC) identifiers to grant access to.
@@ -562,7 +671,8 @@ module Aws::Redshift
562
671
  req.send_request(options)
563
672
  end
564
673
 
565
- # Authorizes the specified account to restore the specified snapshot.
674
+ # Authorizes the specified Amazon Web Services account to restore the
675
+ # specified snapshot.
566
676
  #
567
677
  # For more information about working with snapshots, go to [Amazon
568
678
  # Redshift Snapshots][1] in the *Amazon Redshift Cluster Management
@@ -582,8 +692,8 @@ module Aws::Redshift
582
692
  # the cluster name.
583
693
  #
584
694
  # @option params [required, String] :account_with_restore_access
585
- # The identifier of the account authorized to restore the specified
586
- # snapshot.
695
+ # The identifier of the Amazon Web Services account authorized to
696
+ # restore the specified snapshot.
587
697
  #
588
698
  # To share a snapshot with Amazon Web Services Support, specify
589
699
  # amazon-redshift-support.
@@ -859,7 +969,8 @@ module Aws::Redshift
859
969
  #
860
970
  # * Cannot end with a hyphen or contain two consecutive hyphens.
861
971
  #
862
- # * Must be unique for the account that is making the request.
972
+ # * Must be unique for the Amazon Web Services account that is making
973
+ # the request.
863
974
  #
864
975
  # @option params [Integer] :manual_snapshot_retention_period
865
976
  # The number of days that a manual snapshot is retained. If the value is
@@ -1023,7 +1134,8 @@ module Aws::Redshift
1023
1134
  #
1024
1135
  # * Cannot end with a hyphen or contain two consecutive hyphens.
1025
1136
  #
1026
- # * Must be unique for all clusters within an account.
1137
+ # * Must be unique for all clusters within an Amazon Web Services
1138
+ # account.
1027
1139
  #
1028
1140
  # Example: `myexamplecluster`
1029
1141
  #
@@ -1310,8 +1422,8 @@ module Aws::Redshift
1310
1422
  # (Advanced Query Accelerator) when it is created. Possible values
1311
1423
  # include the following.
1312
1424
  #
1313
- # * enabled - Use AQUA if it is available for the current Region and
1314
- # Amazon Redshift node type.
1425
+ # * enabled - Use AQUA if it is available for the current Amazon Web
1426
+ # Services Region and Amazon Redshift node type.
1315
1427
  #
1316
1428
  # * disabled - Don't use AQUA.
1317
1429
  #
@@ -1511,7 +1623,7 @@ module Aws::Redshift
1511
1623
  #
1512
1624
  # * Cannot end with a hyphen or contain two consecutive hyphens.
1513
1625
  #
1514
- # * Must be unique withing your account.
1626
+ # * Must be unique withing your Amazon Web Services account.
1515
1627
  #
1516
1628
  # <note markdown="1"> This value is stored as a lower-case string.
1517
1629
  #
@@ -1524,11 +1636,11 @@ module Aws::Redshift
1524
1636
  #
1525
1637
  # To get a list of valid parameter group family names, you can call
1526
1638
  # 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".
1639
+ # list of all the parameter groups that are owned by your Amazon Web
1640
+ # Services account, including the default parameter groups for each
1641
+ # Amazon Redshift engine version. The parameter group family names
1642
+ # associated with the default parameter groups provide you the valid
1643
+ # values. For example, a valid family name is "redshift-1.0".
1532
1644
  #
1533
1645
  # @option params [required, String] :description
1534
1646
  # A description of the parameter group.
@@ -1594,7 +1706,7 @@ module Aws::Redshift
1594
1706
  # * Must not be "Default".
1595
1707
  #
1596
1708
  # * Must be unique for all security groups that are created by your
1597
- # account.
1709
+ # Amazon Web Services account.
1598
1710
  #
1599
1711
  # Example: `examplesecuritygroup`
1600
1712
  #
@@ -1664,7 +1776,8 @@ module Aws::Redshift
1664
1776
  #
1665
1777
  # @option params [required, String] :snapshot_identifier
1666
1778
  # A unique identifier for the snapshot that you are requesting. This
1667
- # identifier must be unique for all snapshots within the account.
1779
+ # identifier must be unique for all snapshots within the Amazon Web
1780
+ # Services account.
1668
1781
  #
1669
1782
  # Constraints:
1670
1783
  #
@@ -1782,8 +1895,8 @@ module Aws::Redshift
1782
1895
  #
1783
1896
  # * Must not be "Default".
1784
1897
  #
1785
- # * Must be unique for all subnet groups that are created by your
1786
- # account.
1898
+ # * Must be unique for all subnet groups that are created by your Amazon
1899
+ # Web Services account.
1787
1900
  #
1788
1901
  # Example: `examplesubnetgroup`
1789
1902
  #
@@ -1846,8 +1959,9 @@ module Aws::Redshift
1846
1959
  # The cluster identifier of the cluster to access.
1847
1960
  #
1848
1961
  # @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.
1962
+ # The Amazon Web Services account ID of the owner of the cluster. This
1963
+ # is only required if the cluster is in another Amazon Web Services
1964
+ # account.
1851
1965
  #
1852
1966
  # @option params [required, String] :endpoint_name
1853
1967
  # The Redshift-managed VPC endpoint name.
@@ -1938,10 +2052,11 @@ module Aws::Redshift
1938
2052
  # will be sent for all the cluster events for my-cluster-1. If you
1939
2053
  # specify a source type but do not specify a source identifier, you will
1940
2054
  # 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.
2055
+ # Amazon Web Services account. If you do not specify either the
2056
+ # SourceType nor the SourceIdentifier, you will be notified of events
2057
+ # generated from all Amazon Redshift sources belonging to your Amazon
2058
+ # Web Services account. You must specify a source type if you specify a
2059
+ # source ID.
1945
2060
  #
1946
2061
  # @option params [required, String] :subscription_name
1947
2062
  # The name of the event subscription to be created.
@@ -1965,8 +2080,9 @@ module Aws::Redshift
1965
2080
  # The type of source that will be generating the events. For example, if
1966
2081
  # you want to be notified of events generated by a cluster, you would
1967
2082
  # 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.
2083
+ # are returned for all Amazon Redshift objects in your Amazon Web
2084
+ # Services account. You must specify a source type in order to specify
2085
+ # source IDs.
1970
2086
  #
1971
2087
  # Valid values: cluster, cluster-parameter-group,
1972
2088
  # cluster-security-group, cluster-snapshot, and scheduled-action.
@@ -1986,7 +2102,7 @@ module Aws::Redshift
1986
2102
  # Specifies the Amazon Redshift event categories to be published by the
1987
2103
  # event notification subscription.
1988
2104
  #
1989
- # Values: configuration, management, monitoring, security
2105
+ # Values: configuration, management, monitoring, security, pending
1990
2106
  #
1991
2107
  # @option params [String] :severity
1992
2108
  # Specifies the Amazon Redshift event severity to be published by the
@@ -2306,7 +2422,7 @@ module Aws::Redshift
2306
2422
  #
2307
2423
  # @option params [required, String] :snapshot_copy_grant_name
2308
2424
  # The name of the snapshot copy grant. This name must be unique in the
2309
- # region for the account.
2425
+ # region for the Amazon Web Services account.
2310
2426
  #
2311
2427
  # Constraints:
2312
2428
  #
@@ -2318,7 +2434,8 @@ module Aws::Redshift
2318
2434
  #
2319
2435
  # * Cannot end with a hyphen or contain two consecutive hyphens.
2320
2436
  #
2321
- # * Must be unique for all clusters within an account.
2437
+ # * Must be unique for all clusters within an Amazon Web Services
2438
+ # account.
2322
2439
  #
2323
2440
  # @option params [String] :kms_key_id
2324
2441
  # The unique identifier of the customer master key (CMK) to which to
@@ -2562,6 +2679,51 @@ module Aws::Redshift
2562
2679
  req.send_request(options)
2563
2680
  end
2564
2681
 
2682
+ # From the producer account, removes authorization from the specified
2683
+ # datashare.
2684
+ #
2685
+ # @option params [required, String] :data_share_arn
2686
+ # The Amazon Resource Name (ARN) of the datashare to remove
2687
+ # authorization from.
2688
+ #
2689
+ # @option params [required, String] :consumer_identifier
2690
+ # The identifier of the data consumer that is to have authorization
2691
+ # removed from the datashare. This identifier is an AWS account ID.
2692
+ #
2693
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2694
+ #
2695
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
2696
+ # * {Types::DataShare#producer_arn #producer_arn} => String
2697
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
2698
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
2699
+ #
2700
+ # @example Request syntax with placeholder values
2701
+ #
2702
+ # resp = client.deauthorize_data_share({
2703
+ # data_share_arn: "String", # required
2704
+ # consumer_identifier: "String", # required
2705
+ # })
2706
+ #
2707
+ # @example Response structure
2708
+ #
2709
+ # resp.data_share_arn #=> String
2710
+ # resp.producer_arn #=> String
2711
+ # resp.allow_publicly_accessible_consumers #=> Boolean
2712
+ # resp.data_share_associations #=> Array
2713
+ # resp.data_share_associations[0].consumer_identifier #=> String
2714
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
2715
+ # resp.data_share_associations[0].created_date #=> Time
2716
+ # resp.data_share_associations[0].status_change_date #=> Time
2717
+ #
2718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare AWS API Documentation
2719
+ #
2720
+ # @overload deauthorize_data_share(params = {})
2721
+ # @param [Hash] params ({})
2722
+ def deauthorize_data_share(params = {}, options = {})
2723
+ req = build_request(:deauthorize_data_share, params)
2724
+ req.send_request(options)
2725
+ end
2726
+
2565
2727
  # Deletes an authentication profile.
2566
2728
  #
2567
2729
  # @option params [required, String] :authentication_profile_name
@@ -3096,7 +3258,7 @@ module Aws::Redshift
3096
3258
  # website.
3097
3259
  #
3098
3260
  # @option params [required, String] :account_id
3099
- # The Region ID that owns the cluster.
3261
+ # The Amazon Web Services account ID that owns the cluster.
3100
3262
  #
3101
3263
  # @option params [required, String] :cluster_identifier
3102
3264
  # The cluster identifier of the cluster that receives data from the
@@ -3699,8 +3861,9 @@ module Aws::Redshift
3699
3861
 
3700
3862
  # Returns one or more snapshot objects, which contain metadata about
3701
3863
  # 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.
3864
+ # about all snapshots of all clusters that are owned by your Amazon Web
3865
+ # Services account. No information is returned for snapshots owned by
3866
+ # inactive Amazon Web Services accounts.
3704
3867
  #
3705
3868
  # If you specify both tag keys and tag values in the same request,
3706
3869
  # Amazon Redshift returns all snapshots that match any combination of
@@ -3771,10 +3934,10 @@ module Aws::Redshift
3771
3934
  # parameter and retrying the request.
3772
3935
  #
3773
3936
  # @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.
3937
+ # The Amazon Web Services account used to create or copy the snapshot.
3938
+ # Use this field to filter the results to snapshots owned by a
3939
+ # particular account. To describe snapshots you own, either specify your
3940
+ # Amazon Web Services account, or do not specify the parameter.
3778
3941
  #
3779
3942
  # @option params [Array<String>] :tag_keys
3780
3943
  # A tag key or keys for which you want to return all matching cluster
@@ -3906,7 +4069,7 @@ module Aws::Redshift
3906
4069
  # Returns one or more cluster subnet group objects, which contain
3907
4070
  # metadata about your cluster subnet groups. By default, this operation
3908
4071
  # returns information about all cluster subnet groups that are defined
3909
- # in your account.
4072
+ # in your Amazon Web Services account.
3910
4073
  #
3911
4074
  # If you specify both tag keys and tag values in the same request,
3912
4075
  # Amazon Redshift returns all subnet groups that match any combination
@@ -4350,6 +4513,190 @@ module Aws::Redshift
4350
4513
  req.send_request(options)
4351
4514
  end
4352
4515
 
4516
+ # Shows the status of any inbound or outbound datashares available in
4517
+ # the specified account.
4518
+ #
4519
+ # @option params [String] :data_share_arn
4520
+ # The identifier of the datashare to describe details of.
4521
+ #
4522
+ # @option params [Integer] :max_records
4523
+ # The maximum number of response records to return in each call. If the
4524
+ # number of remaining response records exceeds the specified
4525
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4526
+ # response. You can retrieve the next set of records by retrying the
4527
+ # command with the returned marker value.
4528
+ #
4529
+ # @option params [String] :marker
4530
+ # An optional parameter that specifies the starting point to return a
4531
+ # set of response records. When the results of a DescribeDataShares
4532
+ # request exceed the value specified in `MaxRecords`, AWS returns a
4533
+ # value in the `Marker` field of the response. You can retrieve the next
4534
+ # set of response records by providing the returned marker value in the
4535
+ # `Marker` parameter and retrying the request.
4536
+ #
4537
+ # @return [Types::DescribeDataSharesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4538
+ #
4539
+ # * {Types::DescribeDataSharesResult#data_shares #data_shares} => Array&lt;Types::DataShare&gt;
4540
+ # * {Types::DescribeDataSharesResult#marker #marker} => String
4541
+ #
4542
+ # @example Request syntax with placeholder values
4543
+ #
4544
+ # resp = client.describe_data_shares({
4545
+ # data_share_arn: "String",
4546
+ # max_records: 1,
4547
+ # marker: "String",
4548
+ # })
4549
+ #
4550
+ # @example Response structure
4551
+ #
4552
+ # resp.data_shares #=> Array
4553
+ # resp.data_shares[0].data_share_arn #=> String
4554
+ # resp.data_shares[0].producer_arn #=> String
4555
+ # resp.data_shares[0].allow_publicly_accessible_consumers #=> Boolean
4556
+ # resp.data_shares[0].data_share_associations #=> Array
4557
+ # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4558
+ # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4559
+ # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4560
+ # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4561
+ # resp.marker #=> String
4562
+ #
4563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataShares AWS API Documentation
4564
+ #
4565
+ # @overload describe_data_shares(params = {})
4566
+ # @param [Hash] params ({})
4567
+ def describe_data_shares(params = {}, options = {})
4568
+ req = build_request(:describe_data_shares, params)
4569
+ req.send_request(options)
4570
+ end
4571
+
4572
+ # Returns a list of datashares where the account identifier being called
4573
+ # is a consumer account identifier.
4574
+ #
4575
+ # @option params [String] :consumer_arn
4576
+ # The Amazon Resource Name (ARN) of the consumer that returns in the
4577
+ # list of datashares.
4578
+ #
4579
+ # @option params [String] :status
4580
+ # An identifier giving the status of a datashare in the consumer
4581
+ # cluster. If this field is specified, Amazon Redshift returns the list
4582
+ # of datashares that have the specified status.
4583
+ #
4584
+ # @option params [Integer] :max_records
4585
+ # The maximum number of response records to return in each call. If the
4586
+ # number of remaining response records exceeds the specified
4587
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4588
+ # response. You can retrieve the next set of records by retrying the
4589
+ # command with the returned marker value.
4590
+ #
4591
+ # @option params [String] :marker
4592
+ # An optional parameter that specifies the starting point to return a
4593
+ # set of response records. When the results of a
4594
+ # DescribeDataSharesForConsumer request exceed the value specified in
4595
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4596
+ # response. You can retrieve the next set of response records by
4597
+ # providing the returned marker value in the `Marker` parameter and
4598
+ # retrying the request.
4599
+ #
4600
+ # @return [Types::DescribeDataSharesForConsumerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4601
+ #
4602
+ # * {Types::DescribeDataSharesForConsumerResult#data_shares #data_shares} => Array&lt;Types::DataShare&gt;
4603
+ # * {Types::DescribeDataSharesForConsumerResult#marker #marker} => String
4604
+ #
4605
+ # @example Request syntax with placeholder values
4606
+ #
4607
+ # resp = client.describe_data_shares_for_consumer({
4608
+ # consumer_arn: "String",
4609
+ # status: "ACTIVE", # accepts ACTIVE, AVAILABLE
4610
+ # max_records: 1,
4611
+ # marker: "String",
4612
+ # })
4613
+ #
4614
+ # @example Response structure
4615
+ #
4616
+ # resp.data_shares #=> Array
4617
+ # resp.data_shares[0].data_share_arn #=> String
4618
+ # resp.data_shares[0].producer_arn #=> String
4619
+ # resp.data_shares[0].allow_publicly_accessible_consumers #=> Boolean
4620
+ # resp.data_shares[0].data_share_associations #=> Array
4621
+ # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4622
+ # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4623
+ # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4624
+ # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4625
+ # resp.marker #=> String
4626
+ #
4627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumer AWS API Documentation
4628
+ #
4629
+ # @overload describe_data_shares_for_consumer(params = {})
4630
+ # @param [Hash] params ({})
4631
+ def describe_data_shares_for_consumer(params = {}, options = {})
4632
+ req = build_request(:describe_data_shares_for_consumer, params)
4633
+ req.send_request(options)
4634
+ end
4635
+
4636
+ # Returns a list of datashares when the account identifier being called
4637
+ # is a producer account identifier.
4638
+ #
4639
+ # @option params [String] :producer_arn
4640
+ # The Amazon Resource Name (ARN) of the producer that returns in the
4641
+ # list of datashares.
4642
+ #
4643
+ # @option params [String] :status
4644
+ # An identifier giving the status of a datashare in the producer. If
4645
+ # this field is specified, Amazon Redshift returns the list of
4646
+ # datashares that have the specified status.
4647
+ #
4648
+ # @option params [Integer] :max_records
4649
+ # The maximum number of response records to return in each call. If the
4650
+ # number of remaining response records exceeds the specified
4651
+ # `MaxRecords` value, a value is returned in a `marker` field of the
4652
+ # response. You can retrieve the next set of records by retrying the
4653
+ # command with the returned marker value.
4654
+ #
4655
+ # @option params [String] :marker
4656
+ # An optional parameter that specifies the starting point to return a
4657
+ # set of response records. When the results of a
4658
+ # DescribeDataSharesForProducer request exceed the value specified in
4659
+ # `MaxRecords`, AWS returns a value in the `Marker` field of the
4660
+ # response. You can retrieve the next set of response records by
4661
+ # providing the returned marker value in the `Marker` parameter and
4662
+ # retrying the request.
4663
+ #
4664
+ # @return [Types::DescribeDataSharesForProducerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4665
+ #
4666
+ # * {Types::DescribeDataSharesForProducerResult#data_shares #data_shares} => Array&lt;Types::DataShare&gt;
4667
+ # * {Types::DescribeDataSharesForProducerResult#marker #marker} => String
4668
+ #
4669
+ # @example Request syntax with placeholder values
4670
+ #
4671
+ # resp = client.describe_data_shares_for_producer({
4672
+ # producer_arn: "String",
4673
+ # status: "ACTIVE", # accepts ACTIVE, AUTHORIZED, PENDING_AUTHORIZATION, DEAUTHORIZED, REJECTED
4674
+ # max_records: 1,
4675
+ # marker: "String",
4676
+ # })
4677
+ #
4678
+ # @example Response structure
4679
+ #
4680
+ # resp.data_shares #=> Array
4681
+ # resp.data_shares[0].data_share_arn #=> String
4682
+ # resp.data_shares[0].producer_arn #=> String
4683
+ # resp.data_shares[0].allow_publicly_accessible_consumers #=> Boolean
4684
+ # resp.data_shares[0].data_share_associations #=> Array
4685
+ # resp.data_shares[0].data_share_associations[0].consumer_identifier #=> String
4686
+ # resp.data_shares[0].data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
4687
+ # resp.data_shares[0].data_share_associations[0].created_date #=> Time
4688
+ # resp.data_shares[0].data_share_associations[0].status_change_date #=> Time
4689
+ # resp.marker #=> String
4690
+ #
4691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducer AWS API Documentation
4692
+ #
4693
+ # @overload describe_data_shares_for_producer(params = {})
4694
+ # @param [Hash] params ({})
4695
+ def describe_data_shares_for_producer(params = {}, options = {})
4696
+ req = build_request(:describe_data_shares_for_producer, params)
4697
+ req.send_request(options)
4698
+ end
4699
+
4353
4700
  # Returns a list of parameter settings for the specified parameter group
4354
4701
  # family.
4355
4702
  #
@@ -4428,7 +4775,7 @@ module Aws::Redshift
4428
4775
  # The cluster identifier associated with the described endpoint.
4429
4776
  #
4430
4777
  # @option params [String] :resource_owner
4431
- # The account ID of the owner of the cluster.
4778
+ # The Amazon Web Services account ID of the owner of the cluster.
4432
4779
  #
4433
4780
  # @option params [String] :endpoint_name
4434
4781
  # The name of the endpoint to be described.
@@ -4504,9 +4851,9 @@ module Aws::Redshift
4504
4851
  # The cluster identifier of the cluster to access.
4505
4852
  #
4506
4853
  # @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.
4854
+ # The AAmazon Web Services account ID of either the cluster owner
4855
+ # (grantor) or grantee. If `Grantee` parameter is true, then the
4856
+ # `Account` value is of the grantor.
4510
4857
  #
4511
4858
  # @option params [Boolean] :grantee
4512
4859
  # Indicates whether to check authorization from a grantor or grantee
@@ -4852,7 +5199,7 @@ module Aws::Redshift
4852
5199
 
4853
5200
  # Returns information about the specified HSM client certificate. If no
4854
5201
  # certificate ID is specified, returns information about all the HSM
4855
- # certificates owned by your account.
5202
+ # certificates owned by your Amazon Web Services account.
4856
5203
  #
4857
5204
  # If you specify both tag keys and tag values in the same request,
4858
5205
  # Amazon Redshift returns all HSM client certificates that match any
@@ -4868,7 +5215,8 @@ module Aws::Redshift
4868
5215
  # @option params [String] :hsm_client_certificate_identifier
4869
5216
  # The identifier of a specific HSM client certificate for which you want
4870
5217
  # information. If no identifier is specified, information is returned
4871
- # for all HSM client certificates owned by your account.
5218
+ # for all HSM client certificates owned by your Amazon Web Services
5219
+ # account.
4872
5220
  #
4873
5221
  # @option params [Integer] :max_records
4874
5222
  # The maximum number of response records to return in each call. If the
@@ -4946,7 +5294,8 @@ module Aws::Redshift
4946
5294
 
4947
5295
  # Returns information about the specified Amazon Redshift HSM
4948
5296
  # configuration. If no configuration ID is specified, returns
4949
- # information about all the HSM configurations owned by your account.
5297
+ # information about all the HSM configurations owned by your Amazon Web
5298
+ # Services account.
4950
5299
  #
4951
5300
  # If you specify both tag keys and tag values in the same request,
4952
5301
  # Amazon Redshift returns all HSM connections that match any combination
@@ -4962,7 +5311,7 @@ module Aws::Redshift
4962
5311
  # @option params [String] :hsm_configuration_identifier
4963
5312
  # The identifier of a specific Amazon Redshift HSM configuration to be
4964
5313
  # described. If no identifier is specified, information is returned for
4965
- # all HSM configurations owned by your account.
5314
+ # all HSM configurations owned by your Amazon Web Services account.
4966
5315
  #
4967
5316
  # @option params [Integer] :max_records
4968
5317
  # The maximum number of response records to return in each call. If the
@@ -5101,8 +5450,9 @@ module Aws::Redshift
5101
5450
  # configurations.
5102
5451
  #
5103
5452
  # @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.
5453
+ # The Amazon Web Services account used to create or copy the snapshot.
5454
+ # Required if you are restoring a snapshot you do not own, optional if
5455
+ # you own the snapshot.
5106
5456
  #
5107
5457
  # @option params [Array<Types::NodeConfigurationOptionsFilter>] :filters
5108
5458
  # A set of name, operator, and value items to filter the results.
@@ -5172,13 +5522,14 @@ module Aws::Redshift
5172
5522
 
5173
5523
  # Returns a list of orderable cluster options. Before you create a new
5174
5524
  # 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*.
5525
+ # such as the EC2 Availability Zones (AZ) in the specific Amazon Web
5526
+ # Services Region that you can specify, and the node types you can
5527
+ # request. The node types differ by available storage, memory, CPU and
5528
+ # price. With the cost involved you might want to obtain a list of
5529
+ # cluster options in the specific region and specify values when
5530
+ # creating a cluster. For more information about managing clusters, go
5531
+ # to [Amazon Redshift Clusters][1] in the *Amazon Redshift Cluster
5532
+ # Management Guide*.
5182
5533
  #
5183
5534
  #
5184
5535
  #
@@ -5258,7 +5609,7 @@ module Aws::Redshift
5258
5609
  # cluster.
5259
5610
  #
5260
5611
  # @option params [required, String] :account_id
5261
- # The Region ID that owns the cluster.
5612
+ # The Amazon Web Services account ID that owns the cluster.
5262
5613
  #
5263
5614
  # @option params [required, String] :cluster_identifier
5264
5615
  # The cluster identifier of the cluster whose partner integration is
@@ -5465,8 +5816,8 @@ module Aws::Redshift
5465
5816
  # The unique identifier of a cluster whose resize progress you are
5466
5817
  # requesting. This parameter is case-sensitive.
5467
5818
  #
5468
- # By default, resize operations for all clusters defined for an account
5469
- # are returned.
5819
+ # By default, resize operations for all clusters defined for an Amazon
5820
+ # Web Services account are returned.
5470
5821
  #
5471
5822
  # @return [Types::ResizeProgressMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5472
5823
  #
@@ -5624,8 +5975,8 @@ module Aws::Redshift
5624
5975
  req.send_request(options)
5625
5976
  end
5626
5977
 
5627
- # Returns a list of snapshot copy grants owned by the account in the
5628
- # destination region.
5978
+ # Returns a list of snapshot copy grants owned by the Amazon Web
5979
+ # Services account in the destination region.
5629
5980
  #
5630
5981
  # For more information about managing snapshot copy grants, go to
5631
5982
  # [Amazon Redshift Database Encryption][1] in the *Amazon Redshift
@@ -6307,6 +6658,56 @@ module Aws::Redshift
6307
6658
  req.send_request(options)
6308
6659
  end
6309
6660
 
6661
+ # From a consumer account, remove association for the specified
6662
+ # datashare.
6663
+ #
6664
+ # @option params [required, String] :data_share_arn
6665
+ # The Amazon Resource Name (ARN) of the datashare to remove association
6666
+ # for.
6667
+ #
6668
+ # @option params [Boolean] :disassociate_entire_account
6669
+ # A value that specifies whether association for the datashare is
6670
+ # removed from the entire account.
6671
+ #
6672
+ # @option params [String] :consumer_arn
6673
+ # The Amazon Resource Name (ARN) of the consumer that association for
6674
+ # the datashare is removed from.
6675
+ #
6676
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6677
+ #
6678
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
6679
+ # * {Types::DataShare#producer_arn #producer_arn} => String
6680
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
6681
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
6682
+ #
6683
+ # @example Request syntax with placeholder values
6684
+ #
6685
+ # resp = client.disassociate_data_share_consumer({
6686
+ # data_share_arn: "String", # required
6687
+ # disassociate_entire_account: false,
6688
+ # consumer_arn: "String",
6689
+ # })
6690
+ #
6691
+ # @example Response structure
6692
+ #
6693
+ # resp.data_share_arn #=> String
6694
+ # resp.producer_arn #=> String
6695
+ # resp.allow_publicly_accessible_consumers #=> Boolean
6696
+ # resp.data_share_associations #=> Array
6697
+ # resp.data_share_associations[0].consumer_identifier #=> String
6698
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
6699
+ # resp.data_share_associations[0].created_date #=> Time
6700
+ # resp.data_share_associations[0].status_change_date #=> Time
6701
+ #
6702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer AWS API Documentation
6703
+ #
6704
+ # @overload disassociate_data_share_consumer(params = {})
6705
+ # @param [Hash] params ({})
6706
+ def disassociate_data_share_consumer(params = {}, options = {})
6707
+ req = build_request(:disassociate_data_share_consumer, params)
6708
+ req.send_request(options)
6709
+ end
6710
+
6310
6711
  # Starts logging information, such as queries and connection attempts,
6311
6712
  # for the specified Amazon Redshift cluster.
6312
6713
  #
@@ -6391,11 +6792,12 @@ module Aws::Redshift
6391
6792
  # not already have cross-region snapshot copy enabled.
6392
6793
  #
6393
6794
  # @option params [required, String] :destination_region
6394
- # The destination Region that you want to copy snapshots to.
6795
+ # The destination Amazon Web Services Region that you want to copy
6796
+ # snapshots to.
6395
6797
  #
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.
6798
+ # Constraints: Must be the name of a valid Amazon Web Services Region.
6799
+ # For more information, see [Regions and Endpoints][1] in the Amazon Web
6800
+ # Services General Reference.
6399
6801
  #
6400
6802
  #
6401
6803
  #
@@ -6416,8 +6818,9 @@ module Aws::Redshift
6416
6818
  #
6417
6819
  # @option params [Integer] :manual_snapshot_retention_period
6418
6820
  # 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.
6821
+ # Amazon Web Services Region after they are copied from the source
6822
+ # Amazon Web Services Region. If the value is -1, the manual snapshot is
6823
+ # retained indefinitely.
6421
6824
  #
6422
6825
  # The value must be either -1 or an integer between 1 and 3,653.
6423
6826
  #
@@ -6779,8 +7182,8 @@ module Aws::Redshift
6779
7182
  # The new value of AQUA configuration status. Possible values include
6780
7183
  # the following.
6781
7184
  #
6782
- # * enabled - Use AQUA if it is available for the current Region and
6783
- # Amazon Redshift node type.
7185
+ # * enabled - Use AQUA if it is available for the current Amazon Web
7186
+ # Services Region and Amazon Redshift node type.
6784
7187
  #
6785
7188
  # * disabled - Don't use AQUA.
6786
7189
  #
@@ -7061,7 +7464,8 @@ module Aws::Redshift
7061
7464
  #
7062
7465
  # * Cannot end with a hyphen or contain two consecutive hyphens.
7063
7466
  #
7064
- # * Must be unique for all clusters within an account.
7467
+ # * Must be unique for all clusters within an Amazon Web Services
7468
+ # account.
7065
7469
  #
7066
7470
  # Example: `examplecluster`
7067
7471
  #
@@ -7738,7 +8142,8 @@ module Aws::Redshift
7738
8142
  req.send_request(options)
7739
8143
  end
7740
8144
 
7741
- # Modifies the parameters of a parameter group.
8145
+ # Modifies the parameters of a parameter group. For the parameters
8146
+ # parameter, it can't contain ASCII characters.
7742
8147
  #
7743
8148
  # For more information about parameters and parameter groups, go to
7744
8149
  # [Amazon Redshift Parameter Groups][1] in the *Amazon Redshift Cluster
@@ -8041,8 +8446,9 @@ module Aws::Redshift
8041
8446
  # The type of source that will be generating the events. For example, if
8042
8447
  # you want to be notified of events generated by a cluster, you would
8043
8448
  # 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.
8449
+ # are returned for all Amazon Redshift objects in your Amazon Web
8450
+ # Services account. You must specify a source type in order to specify
8451
+ # source IDs.
8046
8452
  #
8047
8453
  # Valid values: cluster, cluster-parameter-group,
8048
8454
  # cluster-security-group, cluster-snapshot, and scheduled-action.
@@ -8062,7 +8468,7 @@ module Aws::Redshift
8062
8468
  # Specifies the Amazon Redshift event categories to be published by the
8063
8469
  # event notification subscription.
8064
8470
  #
8065
- # Values: configuration, management, monitoring, security
8471
+ # Values: configuration, management, monitoring, security, pending
8066
8472
  #
8067
8473
  # @option params [String] :severity
8068
8474
  # Specifies the Amazon Redshift event severity to be published by the
@@ -8217,33 +8623,36 @@ module Aws::Redshift
8217
8623
  end
8218
8624
 
8219
8625
  # 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.
8626
+ # Amazon Web Services Region after they are copied from the source
8627
+ # Amazon Web Services Region. By default, this operation only changes
8628
+ # the retention period of copied automated snapshots. The retention
8629
+ # periods for both new and existing copied automated snapshots are
8630
+ # updated with the new retention period. You can set the manual option
8631
+ # to change only the retention periods of copied manual snapshots. If
8632
+ # you set this option, only newly copied manual snapshots have the new
8633
+ # retention period.
8227
8634
  #
8228
8635
  # @option params [required, String] :cluster_identifier
8229
8636
  # The unique identifier of the cluster for which you want to change the
8230
8637
  # retention period for either automated or manual snapshots that are
8231
- # copied to a destination Region.
8638
+ # copied to a destination Amazon Web Services Region.
8232
8639
  #
8233
8640
  # Constraints: Must be the valid name of an existing cluster that has
8234
8641
  # cross-region snapshot copy enabled.
8235
8642
  #
8236
8643
  # @option params [required, Integer] :retention_period
8237
8644
  # The number of days to retain automated snapshots in the destination
8238
- # Region after they are copied from the source Region.
8645
+ # Amazon Web Services Region after they are copied from the source
8646
+ # Amazon Web Services Region.
8239
8647
  #
8240
8648
  # By default, this only changes the retention period of copied automated
8241
8649
  # snapshots.
8242
8650
  #
8243
8651
  # 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.
8652
+ # copied to a destination Amazon Web Services Region, Amazon Redshift
8653
+ # deletes any existing automated snapshots that were copied to the
8654
+ # destination Amazon Web Services Region and that fall outside of the
8655
+ # new retention period.
8247
8656
  #
8248
8657
  # Constraints: Must be at least 1 and no more than 35 for automated
8249
8658
  # snapshots.
@@ -8842,6 +9251,44 @@ module Aws::Redshift
8842
9251
  req.send_request(options)
8843
9252
  end
8844
9253
 
9254
+ # From the consumer account, rejects the specified datashare.
9255
+ #
9256
+ # @option params [required, String] :data_share_arn
9257
+ # The Amazon Resource Name (ARN) of the datashare to reject.
9258
+ #
9259
+ # @return [Types::DataShare] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9260
+ #
9261
+ # * {Types::DataShare#data_share_arn #data_share_arn} => String
9262
+ # * {Types::DataShare#producer_arn #producer_arn} => String
9263
+ # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
9264
+ # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
9265
+ #
9266
+ # @example Request syntax with placeholder values
9267
+ #
9268
+ # resp = client.reject_data_share({
9269
+ # data_share_arn: "String", # required
9270
+ # })
9271
+ #
9272
+ # @example Response structure
9273
+ #
9274
+ # resp.data_share_arn #=> String
9275
+ # resp.producer_arn #=> String
9276
+ # resp.allow_publicly_accessible_consumers #=> Boolean
9277
+ # resp.data_share_associations #=> Array
9278
+ # resp.data_share_associations[0].consumer_identifier #=> String
9279
+ # resp.data_share_associations[0].status #=> String, one of "ACTIVE", "PENDING_AUTHORIZATION", "AUTHORIZED", "DEAUTHORIZED", "REJECTED", "AVAILABLE"
9280
+ # resp.data_share_associations[0].created_date #=> Time
9281
+ # resp.data_share_associations[0].status_change_date #=> Time
9282
+ #
9283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare AWS API Documentation
9284
+ #
9285
+ # @overload reject_data_share(params = {})
9286
+ # @param [Hash] params ({})
9287
+ def reject_data_share(params = {}, options = {})
9288
+ req = build_request(:reject_data_share, params)
9289
+ req.send_request(options)
9290
+ end
9291
+
8845
9292
  # Sets one or more parameters of the specified parameter group to their
8846
9293
  # default values and sets the source values of the parameters to
8847
9294
  # "engine-default". To reset the entire parameter group specify the
@@ -9122,7 +9569,8 @@ module Aws::Redshift
9122
9569
  #
9123
9570
  # * Cannot end with a hyphen or contain two consecutive hyphens.
9124
9571
  #
9125
- # * Must be unique for all clusters within an account.
9572
+ # * Must be unique for all clusters within an Amazon Web Services
9573
+ # account.
9126
9574
  #
9127
9575
  # @option params [required, String] :snapshot_identifier
9128
9576
  # The name of the snapshot from which to create the new cluster. This
@@ -9168,8 +9616,9 @@ module Aws::Redshift
9168
9616
  # If `true`, the cluster can be accessed from a public network.
9169
9617
  #
9170
9618
  # @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.
9619
+ # The Amazon Web Services account used to create or copy the snapshot.
9620
+ # Required if you are restoring a snapshot you do not own, optional if
9621
+ # you own the snapshot.
9173
9622
  #
9174
9623
  # @option params [String] :hsm_client_certificate_identifier
9175
9624
  # Specifies the name of the HSM client certificate the Amazon Redshift
@@ -9333,8 +9782,8 @@ module Aws::Redshift
9333
9782
  # (Advanced Query Accelerator) after the cluster is restored. Possible
9334
9783
  # values include the following.
9335
9784
  #
9336
- # * enabled - Use AQUA if it is available for the current Region and
9337
- # Amazon Redshift node type.
9785
+ # * enabled - Use AQUA if it is available for the current Amazon Web
9786
+ # Services Region and Amazon Redshift node type.
9338
9787
  #
9339
9788
  # * disabled - Don't use AQUA.
9340
9789
  #
@@ -9751,11 +10200,11 @@ module Aws::Redshift
9751
10200
  # also be provided and `CIDRIP` cannot be provided.
9752
10201
  #
9753
10202
  # @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.
10203
+ # The Amazon Web Services account number of the owner of the security
10204
+ # group specified in the `EC2SecurityGroupName` parameter. The Amazon
10205
+ # Web Services access key ID is not an acceptable value. If
10206
+ # `EC2SecurityGroupOwnerId` is specified, `EC2SecurityGroupName` must
10207
+ # also be provided. and `CIDRIP` cannot be provided.
9759
10208
  #
9760
10209
  # Example: `111122223333`
9761
10210
  #
@@ -9808,7 +10257,7 @@ module Aws::Redshift
9808
10257
  # The cluster to revoke access from.
9809
10258
  #
9810
10259
  # @option params [String] :account
9811
- # The account ID whose access is to be revoked.
10260
+ # The Amazon Web Services account ID whose access is to be revoked.
9812
10261
  #
9813
10262
  # @option params [Array<String>] :vpc_ids
9814
10263
  # The virtual private cloud (VPC) identifiers for which access is to be
@@ -9862,9 +10311,9 @@ module Aws::Redshift
9862
10311
  req.send_request(options)
9863
10312
  end
9864
10313
 
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.
10314
+ # Removes the ability of the specified Amazon Web Services account to
10315
+ # restore the specified snapshot. If the account is currently restoring
10316
+ # the snapshot, the restore will run to completion.
9868
10317
  #
9869
10318
  # For more information about working with snapshots, go to [Amazon
9870
10319
  # Redshift Snapshots][1] in the *Amazon Redshift Cluster Management
@@ -9884,8 +10333,8 @@ module Aws::Redshift
9884
10333
  # the cluster name.
9885
10334
  #
9886
10335
  # @option params [required, String] :account_with_restore_access
9887
- # The identifier of the account that can no longer restore the specified
9888
- # snapshot.
10336
+ # The identifier of the Amazon Web Services account that can no longer
10337
+ # restore the specified snapshot.
9889
10338
  #
9890
10339
  # @return [Types::RevokeSnapshotAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9891
10340
  #
@@ -10092,7 +10541,7 @@ module Aws::Redshift
10092
10541
  # Updates the status of a partner integration.
10093
10542
  #
10094
10543
  # @option params [required, String] :account_id
10095
- # The Region ID that owns the cluster.
10544
+ # The Amazon Web Services account ID that owns the cluster.
10096
10545
  #
10097
10546
  # @option params [required, String] :cluster_identifier
10098
10547
  # The cluster identifier of the cluster whose partner integration status
@@ -10154,7 +10603,7 @@ module Aws::Redshift
10154
10603
  params: params,
10155
10604
  config: config)
10156
10605
  context[:gem_name] = 'aws-sdk-redshift'
10157
- context[:gem_version] = '1.67.0'
10606
+ context[:gem_version] = '1.71.0'
10158
10607
  Seahorse::Client::Request.new(handlers, context)
10159
10608
  end
10160
10609