aws-sdk-rds 1.159.0 → 1.161.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -597,6 +597,168 @@ module Aws::RDS
597
597
  #
598
598
  class BackupPolicyNotFoundFault < Aws::EmptyStructure; end
599
599
 
600
+ # Contains the details about a blue/green deployment.
601
+ #
602
+ # For more information, see [Using Amazon RDS Blue/Green Deployments for
603
+ # database updates][1] in the *Amazon RDS User Guide* and [ Using Amazon
604
+ # RDS Blue/Green Deployments for database updates][2] in the *Amazon
605
+ # Aurora User Guide*.
606
+ #
607
+ #
608
+ #
609
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
610
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
611
+ #
612
+ # @!attribute [rw] blue_green_deployment_identifier
613
+ # The system-generated identifier of the blue/green deployment.
614
+ # @return [String]
615
+ #
616
+ # @!attribute [rw] blue_green_deployment_name
617
+ # The user-supplied name of the blue/green deployment.
618
+ # @return [String]
619
+ #
620
+ # @!attribute [rw] source
621
+ # The source database for the blue/green deployment.
622
+ #
623
+ # Before switchover, the source database is the production database in
624
+ # the blue environment.
625
+ # @return [String]
626
+ #
627
+ # @!attribute [rw] target
628
+ # The target database for the blue/green deployment.
629
+ #
630
+ # Before switchover, the target database is the clone database in the
631
+ # green environment.
632
+ # @return [String]
633
+ #
634
+ # @!attribute [rw] switchover_details
635
+ # The details about each source and target resource in the blue/green
636
+ # deployment.
637
+ # @return [Array<Types::SwitchoverDetail>]
638
+ #
639
+ # @!attribute [rw] tasks
640
+ # Either tasks to be performed or tasks that have been completed on
641
+ # the target database before switchover.
642
+ # @return [Array<Types::BlueGreenDeploymentTask>]
643
+ #
644
+ # @!attribute [rw] status
645
+ # The status of the blue/green deployment.
646
+ #
647
+ # Values:
648
+ #
649
+ # * `PROVISIONING` - Resources are being created in the green
650
+ # environment.
651
+ #
652
+ # * `AVAILABLE` - Resources are available in the green environment.
653
+ #
654
+ # * `SWITCHOVER_IN_PROGRESS` - The deployment is being switched from
655
+ # the blue environment to the green environment.
656
+ #
657
+ # * `SWITCHOVER_COMPLETED` - Switchover from the blue environment to
658
+ # the green environment is complete.
659
+ #
660
+ # * `INVALID_CONFIGURATION` - Resources in the green environment are
661
+ # invalid, so switchover isn't possible.
662
+ #
663
+ # * `SWITCHOVER_FAILED` - Switchover was attempted but failed.
664
+ #
665
+ # * `DELETING` - The blue/green deployment is being deleted.
666
+ # @return [String]
667
+ #
668
+ # @!attribute [rw] status_details
669
+ # Additional information about the status of the blue/green
670
+ # deployment.
671
+ # @return [String]
672
+ #
673
+ # @!attribute [rw] create_time
674
+ # Specifies the time when the blue/green deployment was created, in
675
+ # Universal Coordinated Time (UTC).
676
+ # @return [Time]
677
+ #
678
+ # @!attribute [rw] delete_time
679
+ # Specifies the time when the blue/green deployment was deleted, in
680
+ # Universal Coordinated Time (UTC).
681
+ # @return [Time]
682
+ #
683
+ # @!attribute [rw] tag_list
684
+ # A list of tags. For more information, see [Tagging Amazon RDS
685
+ # Resources][1] in the *Amazon RDS User Guide.*
686
+ #
687
+ #
688
+ #
689
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
690
+ # @return [Array<Types::Tag>]
691
+ #
692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/BlueGreenDeployment AWS API Documentation
693
+ #
694
+ class BlueGreenDeployment < Struct.new(
695
+ :blue_green_deployment_identifier,
696
+ :blue_green_deployment_name,
697
+ :source,
698
+ :target,
699
+ :switchover_details,
700
+ :tasks,
701
+ :status,
702
+ :status_details,
703
+ :create_time,
704
+ :delete_time,
705
+ :tag_list)
706
+ SENSITIVE = []
707
+ include Aws::Structure
708
+ end
709
+
710
+ # A blue/green deployment with the specified name already exists.
711
+ #
712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/BlueGreenDeploymentAlreadyExistsFault AWS API Documentation
713
+ #
714
+ class BlueGreenDeploymentAlreadyExistsFault < Aws::EmptyStructure; end
715
+
716
+ # `BlueGreenDeploymentIdentifier` doesn't refer to an existing
717
+ # blue/green deployment.
718
+ #
719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/BlueGreenDeploymentNotFoundFault AWS API Documentation
720
+ #
721
+ class BlueGreenDeploymentNotFoundFault < Aws::EmptyStructure; end
722
+
723
+ # Contains the details about a task for a blue/green deployment.
724
+ #
725
+ # For more information, see [Using Amazon RDS Blue/Green Deployments for
726
+ # database updates][1] in the *Amazon RDS User Guide* and [ Using Amazon
727
+ # RDS Blue/Green Deployments for database updates][2] in the *Amazon
728
+ # Aurora User Guide*.
729
+ #
730
+ #
731
+ #
732
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
733
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
734
+ #
735
+ # @!attribute [rw] name
736
+ # The name of the blue/green deployment task.
737
+ # @return [String]
738
+ #
739
+ # @!attribute [rw] status
740
+ # The status of the blue/green deployment task.
741
+ #
742
+ # Values:
743
+ #
744
+ # * `PENDING` - The resources are being prepared for deployment.
745
+ #
746
+ # * `IN_PROGRESS` - The resource is being deployed.
747
+ #
748
+ # * `COMPLETED` - The resource has been deployed.
749
+ #
750
+ # * `FAILED` - Deployment of the resource failed.
751
+ # @return [String]
752
+ #
753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/BlueGreenDeploymentTask AWS API Documentation
754
+ #
755
+ class BlueGreenDeploymentTask < Struct.new(
756
+ :name,
757
+ :status)
758
+ SENSITIVE = []
759
+ include Aws::Structure
760
+ end
761
+
600
762
  # @note When making an API call, you may pass CancelExportTaskMessage
601
763
  # data as a hash:
602
764
  #
@@ -788,6 +950,22 @@ module Aws::RDS
788
950
  # The database engine version.
789
951
  # @return [String]
790
952
  #
953
+ # @!attribute [rw] backup_retention_period
954
+ # The number of days for which automatic DB snapshots are retained.
955
+ # @return [Integer]
956
+ #
957
+ # @!attribute [rw] allocated_storage
958
+ # The allocated storage size in gibibytes (GiB) for all database
959
+ # engines except Amazon Aurora. For Aurora, `AllocatedStorage` always
960
+ # returns 1, because Aurora DB cluster storage size isn't fixed, but
961
+ # instead automatically adjusts as needed.
962
+ # @return [Integer]
963
+ #
964
+ # @!attribute [rw] iops
965
+ # The Provisioned IOPS (I/O operations per second) value. This setting
966
+ # is only for non-Aurora Multi-AZ DB clusters.
967
+ # @return [Integer]
968
+ #
791
969
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ClusterPendingModifiedValues AWS API Documentation
792
970
  #
793
971
  class ClusterPendingModifiedValues < Struct.new(
@@ -795,7 +973,10 @@ module Aws::RDS
795
973
  :db_cluster_identifier,
796
974
  :master_user_password,
797
975
  :iam_database_authentication_enabled,
798
- :engine_version)
976
+ :engine_version,
977
+ :backup_retention_period,
978
+ :allocated_storage,
979
+ :iops)
799
980
  SENSITIVE = []
800
981
  include Aws::Structure
801
982
  end
@@ -1633,6 +1814,105 @@ module Aws::RDS
1633
1814
  include Aws::Structure
1634
1815
  end
1635
1816
 
1817
+ # @note When making an API call, you may pass CreateBlueGreenDeploymentRequest
1818
+ # data as a hash:
1819
+ #
1820
+ # {
1821
+ # blue_green_deployment_name: "BlueGreenDeploymentName", # required
1822
+ # source: "DatabaseArn", # required
1823
+ # target_engine_version: "TargetEngineVersion",
1824
+ # target_db_parameter_group_name: "TargetDBParameterGroupName",
1825
+ # target_db_cluster_parameter_group_name: "TargetDBClusterParameterGroupName",
1826
+ # tags: [
1827
+ # {
1828
+ # key: "String",
1829
+ # value: "String",
1830
+ # },
1831
+ # ],
1832
+ # }
1833
+ #
1834
+ # @!attribute [rw] blue_green_deployment_name
1835
+ # The name of the blue/green deployment.
1836
+ #
1837
+ # Constraints:
1838
+ #
1839
+ # * Can't be the same as an existing blue/green deployment name in
1840
+ # the same account and Amazon Web Services Region.
1841
+ #
1842
+ # ^
1843
+ # @return [String]
1844
+ #
1845
+ # @!attribute [rw] source
1846
+ # The Amazon Resource Name (ARN) of the source production database.
1847
+ #
1848
+ # Specify the database that you want to clone. The blue/green
1849
+ # deployment creates this database in the green environment. You can
1850
+ # make updates to the database in the green environment, such as an
1851
+ # engine version upgrade. When you are ready, you can switch the
1852
+ # database in the green environment to be the production database.
1853
+ # @return [String]
1854
+ #
1855
+ # @!attribute [rw] target_engine_version
1856
+ # The engine version of the database in the green environment.
1857
+ #
1858
+ # Specify the engine version to upgrade to in the green environment.
1859
+ # @return [String]
1860
+ #
1861
+ # @!attribute [rw] target_db_parameter_group_name
1862
+ # The DB parameter group associated with the DB instance in the green
1863
+ # environment.
1864
+ #
1865
+ # To test parameter changes, specify a DB parameter group that is
1866
+ # different from the one associated with the source DB instance.
1867
+ # @return [String]
1868
+ #
1869
+ # @!attribute [rw] target_db_cluster_parameter_group_name
1870
+ # The DB cluster parameter group associated with the Aurora DB cluster
1871
+ # in the green environment.
1872
+ #
1873
+ # To test parameter changes, specify a DB cluster parameter group that
1874
+ # is different from the one associated with the source DB cluster.
1875
+ # @return [String]
1876
+ #
1877
+ # @!attribute [rw] tags
1878
+ # Tags to assign to the blue/green deployment.
1879
+ # @return [Array<Types::Tag>]
1880
+ #
1881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateBlueGreenDeploymentRequest AWS API Documentation
1882
+ #
1883
+ class CreateBlueGreenDeploymentRequest < Struct.new(
1884
+ :blue_green_deployment_name,
1885
+ :source,
1886
+ :target_engine_version,
1887
+ :target_db_parameter_group_name,
1888
+ :target_db_cluster_parameter_group_name,
1889
+ :tags)
1890
+ SENSITIVE = []
1891
+ include Aws::Structure
1892
+ end
1893
+
1894
+ # @!attribute [rw] blue_green_deployment
1895
+ # Contains the details about a blue/green deployment.
1896
+ #
1897
+ # For more information, see [Using Amazon RDS Blue/Green Deployments
1898
+ # for database updates][1] in the *Amazon RDS User Guide* and [ Using
1899
+ # Amazon RDS Blue/Green Deployments for database updates][2] in the
1900
+ # *Amazon Aurora User Guide*.
1901
+ #
1902
+ #
1903
+ #
1904
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
1905
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
1906
+ # @return [Types::BlueGreenDeployment]
1907
+ #
1908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateBlueGreenDeploymentResponse AWS API Documentation
1909
+ #
1910
+ class CreateBlueGreenDeploymentResponse < Struct.new(
1911
+ :blue_green_deployment)
1912
+ SENSITIVE = []
1913
+ include Aws::Structure
1914
+ end
1915
+
1636
1916
  # @note When making an API call, you may pass CreateCustomDBEngineVersionMessage
1637
1917
  # data as a hash:
1638
1918
  #
@@ -1658,9 +1938,9 @@ module Aws::RDS
1658
1938
  # @return [String]
1659
1939
  #
1660
1940
  # @!attribute [rw] engine_version
1661
- # The name of your CEV. The name format is `19.customized_string `.
1662
- # For example, a valid name is `19.my_cev1`. This setting is required
1663
- # for RDS Custom for Oracle, but optional for Amazon RDS. The
1941
+ # The name of your CEV. The name format is 19.*customized\_string*.
1942
+ # For example, a valid CEV name is `19.my_cev1`. This setting is
1943
+ # required for RDS Custom for Oracle, but optional for Amazon RDS. The
1664
1944
  # combination of `Engine` and `EngineVersion` is unique per customer
1665
1945
  # per Region.
1666
1946
  # @return [String]
@@ -1889,6 +2169,7 @@ module Aws::RDS
1889
2169
  # max_capacity: 1.0,
1890
2170
  # },
1891
2171
  # network_type: "String",
2172
+ # db_system_id: "String",
1892
2173
  # source_region: "String",
1893
2174
  # }
1894
2175
  #
@@ -2710,6 +2991,10 @@ module Aws::RDS
2710
2991
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
2711
2992
  # @return [String]
2712
2993
  #
2994
+ # @!attribute [rw] db_system_id
2995
+ # Reserved for future use.
2996
+ # @return [String]
2997
+ #
2713
2998
  # @!attribute [rw] source_region
2714
2999
  # The source region of the snapshot. This is only needed when the
2715
3000
  # shapshot is encrypted and in a different region.
@@ -2764,6 +3049,7 @@ module Aws::RDS
2764
3049
  :performance_insights_retention_period,
2765
3050
  :serverless_v2_scaling_configuration,
2766
3051
  :network_type,
3052
+ :db_system_id,
2767
3053
  :source_region)
2768
3054
  SENSITIVE = []
2769
3055
  include Aws::Structure
@@ -3634,7 +3920,7 @@ module Aws::RDS
3634
3920
  #
3635
3921
  # A custom engine version (CEV) that you have previously created. This
3636
3922
  # setting is required for RDS Custom for Oracle. The CEV name has the
3637
- # following format: `19.customized_string `. An example identifier is
3923
+ # following format: 19.*customized\_string*. A valid CEV name is
3638
3924
  # `19.my_cev1`. For more information, see [ Creating an RDS Custom for
3639
3925
  # Oracle DB instance][1] in the *Amazon RDS User Guide*.
3640
3926
  #
@@ -6377,6 +6663,10 @@ module Aws::RDS
6377
6663
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
6378
6664
  # @return [String]
6379
6665
  #
6666
+ # @!attribute [rw] db_system_id
6667
+ # Reserved for future use.
6668
+ # @return [String]
6669
+ #
6380
6670
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster AWS API Documentation
6381
6671
  #
6382
6672
  class DBCluster < Struct.new(
@@ -6448,7 +6738,8 @@ module Aws::RDS
6448
6738
  :performance_insights_kms_key_id,
6449
6739
  :performance_insights_retention_period,
6450
6740
  :serverless_v2_scaling_configuration,
6451
- :network_type)
6741
+ :network_type,
6742
+ :db_system_id)
6452
6743
  SENSITIVE = []
6453
6744
  include Aws::Structure
6454
6745
  end
@@ -7081,6 +7372,10 @@ module Aws::RDS
7081
7372
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
7082
7373
  # @return [Array<Types::Tag>]
7083
7374
  #
7375
+ # @!attribute [rw] db_system_id
7376
+ # Reserved for future use.
7377
+ # @return [String]
7378
+ #
7084
7379
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshot AWS API Documentation
7085
7380
  #
7086
7381
  class DBClusterSnapshot < Struct.new(
@@ -7105,7 +7400,8 @@ module Aws::RDS
7105
7400
  :db_cluster_snapshot_arn,
7106
7401
  :source_db_cluster_snapshot_arn,
7107
7402
  :iam_database_authentication_enabled,
7108
- :tag_list)
7403
+ :tag_list,
7404
+ :db_system_id)
7109
7405
  SENSITIVE = []
7110
7406
  include Aws::Structure
7111
7407
  end
@@ -7357,6 +7653,20 @@ module Aws::RDS
7357
7653
  # for Aurora PostgreSQL.
7358
7654
  # @return [Boolean]
7359
7655
  #
7656
+ # @!attribute [rw] custom_db_engine_version_manifest
7657
+ # JSON string that lists the installation files and parameters that
7658
+ # RDS Custom uses to create a custom engine version (CEV). RDS Custom
7659
+ # applies the patches in the order in which they're listed in the
7660
+ # manifest. You can set the Oracle home, Oracle base, and UNIX/Linux
7661
+ # user and group using the installation parameters. For more
7662
+ # information, see [JSON fields in the CEV manifest][1] in the *Amazon
7663
+ # RDS User Guide*.
7664
+ #
7665
+ #
7666
+ #
7667
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields
7668
+ # @return [String]
7669
+ #
7360
7670
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersion AWS API Documentation
7361
7671
  #
7362
7672
  class DBEngineVersion < Struct.new(
@@ -7385,7 +7695,8 @@ module Aws::RDS
7385
7695
  :kms_key_id,
7386
7696
  :create_time,
7387
7697
  :tag_list,
7388
- :supports_babelfish)
7698
+ :supports_babelfish,
7699
+ :custom_db_engine_version_manifest)
7389
7700
  SENSITIVE = []
7390
7701
  include Aws::Structure
7391
7702
  end
@@ -7976,6 +8287,12 @@ module Aws::RDS
7976
8287
  # This setting applies only to the `gp3` storage type.
7977
8288
  # @return [Integer]
7978
8289
  #
8290
+ # @!attribute [rw] db_system_id
8291
+ # The Oracle system ID (Oracle SID) for a container database (CDB).
8292
+ # The Oracle SID is also the name of the CDB. This setting is valid
8293
+ # for RDS Custom only.
8294
+ # @return [String]
8295
+ #
7979
8296
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
7980
8297
  #
7981
8298
  class DBInstance < Struct.new(
@@ -8055,7 +8372,8 @@ module Aws::RDS
8055
8372
  :backup_target,
8056
8373
  :network_type,
8057
8374
  :activity_stream_policy_status,
8058
- :storage_throughput)
8375
+ :storage_throughput,
8376
+ :db_system_id)
8059
8377
  SENSITIVE = []
8060
8378
  include Aws::Structure
8061
8379
  end
@@ -9529,6 +9847,61 @@ module Aws::RDS
9529
9847
  #
9530
9848
  class DBUpgradeDependencyFailureFault < Aws::EmptyStructure; end
9531
9849
 
9850
+ # @note When making an API call, you may pass DeleteBlueGreenDeploymentRequest
9851
+ # data as a hash:
9852
+ #
9853
+ # {
9854
+ # blue_green_deployment_identifier: "BlueGreenDeploymentIdentifier", # required
9855
+ # delete_target: false,
9856
+ # }
9857
+ #
9858
+ # @!attribute [rw] blue_green_deployment_identifier
9859
+ # The blue/green deployment identifier of the deployment to be
9860
+ # deleted. This parameter isn't case-sensitive.
9861
+ #
9862
+ # Constraints:
9863
+ #
9864
+ # * Must match an existing blue/green deployment identifier.
9865
+ #
9866
+ # ^
9867
+ # @return [String]
9868
+ #
9869
+ # @!attribute [rw] delete_target
9870
+ # A value that indicates whether to delete the resources in the green
9871
+ # environment.
9872
+ # @return [Boolean]
9873
+ #
9874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteBlueGreenDeploymentRequest AWS API Documentation
9875
+ #
9876
+ class DeleteBlueGreenDeploymentRequest < Struct.new(
9877
+ :blue_green_deployment_identifier,
9878
+ :delete_target)
9879
+ SENSITIVE = []
9880
+ include Aws::Structure
9881
+ end
9882
+
9883
+ # @!attribute [rw] blue_green_deployment
9884
+ # Contains the details about a blue/green deployment.
9885
+ #
9886
+ # For more information, see [Using Amazon RDS Blue/Green Deployments
9887
+ # for database updates][1] in the *Amazon RDS User Guide* and [ Using
9888
+ # Amazon RDS Blue/Green Deployments for database updates][2] in the
9889
+ # *Amazon Aurora User Guide*.
9890
+ #
9891
+ #
9892
+ #
9893
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
9894
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
9895
+ # @return [Types::BlueGreenDeployment]
9896
+ #
9897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteBlueGreenDeploymentResponse AWS API Documentation
9898
+ #
9899
+ class DeleteBlueGreenDeploymentResponse < Struct.new(
9900
+ :blue_green_deployment)
9901
+ SENSITIVE = []
9902
+ include Aws::Structure
9903
+ end
9904
+
9532
9905
  # @note When making an API call, you may pass DeleteCustomDBEngineVersionMessage
9533
9906
  # data as a hash:
9534
9907
  #
@@ -10218,6 +10591,105 @@ module Aws::RDS
10218
10591
  #
10219
10592
  class DescribeAccountAttributesMessage < Aws::EmptyStructure; end
10220
10593
 
10594
+ # @note When making an API call, you may pass DescribeBlueGreenDeploymentsRequest
10595
+ # data as a hash:
10596
+ #
10597
+ # {
10598
+ # blue_green_deployment_identifier: "BlueGreenDeploymentIdentifier",
10599
+ # filters: [
10600
+ # {
10601
+ # name: "String", # required
10602
+ # values: ["String"], # required
10603
+ # },
10604
+ # ],
10605
+ # marker: "String",
10606
+ # max_records: 1,
10607
+ # }
10608
+ #
10609
+ # @!attribute [rw] blue_green_deployment_identifier
10610
+ # The blue/green deployment identifier. If this parameter is
10611
+ # specified, information from only the specific blue/green deployment
10612
+ # is returned. This parameter isn't case-sensitive.
10613
+ #
10614
+ # Constraints:
10615
+ #
10616
+ # * If supplied, must match an existing blue/green deployment
10617
+ # identifier.
10618
+ #
10619
+ # ^
10620
+ # @return [String]
10621
+ #
10622
+ # @!attribute [rw] filters
10623
+ # A filter that specifies one or more blue/green deployments to
10624
+ # describe.
10625
+ #
10626
+ # Supported filters:
10627
+ #
10628
+ # * `blue-green-deployment-identifier` - Accepts system-generated
10629
+ # identifiers for blue/green deployments. The results list only
10630
+ # includes information about the blue/green deployments with the
10631
+ # specified identifiers.
10632
+ #
10633
+ # * `blue-green-deployment-name` - Accepts user-supplied names for
10634
+ # blue/green deployments. The results list only includes information
10635
+ # about the blue/green deployments with the specified names.
10636
+ #
10637
+ # * `source` - Accepts source databases for a blue/green deployment.
10638
+ # The results list only includes information about the blue/green
10639
+ # deployments with the specified source databases.
10640
+ #
10641
+ # * `target` - Accepts target databases for a blue/green deployment.
10642
+ # The results list only includes information about the blue/green
10643
+ # deployments with the specified target databases.
10644
+ # @return [Array<Types::Filter>]
10645
+ #
10646
+ # @!attribute [rw] marker
10647
+ # An optional pagination token provided by a previous
10648
+ # `DescribeBlueGreenDeployments` request. If this parameter is
10649
+ # specified, the response includes only records beyond the marker, up
10650
+ # to the value specified by `MaxRecords`.
10651
+ # @return [String]
10652
+ #
10653
+ # @!attribute [rw] max_records
10654
+ # The maximum number of records to include in the response. If more
10655
+ # records exist than the specified `MaxRecords` value, a pagination
10656
+ # token called a marker is included in the response so you can
10657
+ # retrieve the remaining results.
10658
+ #
10659
+ # Default: 100
10660
+ #
10661
+ # Constraints: Minimum 20, maximum 100.
10662
+ # @return [Integer]
10663
+ #
10664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeBlueGreenDeploymentsRequest AWS API Documentation
10665
+ #
10666
+ class DescribeBlueGreenDeploymentsRequest < Struct.new(
10667
+ :blue_green_deployment_identifier,
10668
+ :filters,
10669
+ :marker,
10670
+ :max_records)
10671
+ SENSITIVE = []
10672
+ include Aws::Structure
10673
+ end
10674
+
10675
+ # @!attribute [rw] blue_green_deployments
10676
+ # Contains a list of blue/green deployments for the user.
10677
+ # @return [Array<Types::BlueGreenDeployment>]
10678
+ #
10679
+ # @!attribute [rw] marker
10680
+ # A pagination token that can be used in a later
10681
+ # DescribeBlueGreenDeployments request.
10682
+ # @return [String]
10683
+ #
10684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeBlueGreenDeploymentsResponse AWS API Documentation
10685
+ #
10686
+ class DescribeBlueGreenDeploymentsResponse < Struct.new(
10687
+ :blue_green_deployments,
10688
+ :marker)
10689
+ SENSITIVE = []
10690
+ include Aws::Structure
10691
+ end
10692
+
10221
10693
  # @note When making an API call, you may pass DescribeCertificatesMessage
10222
10694
  # data as a hash:
10223
10695
  #
@@ -14395,6 +14867,13 @@ module Aws::RDS
14395
14867
  #
14396
14868
  class InsufficientStorageClusterCapacityFault < Aws::EmptyStructure; end
14397
14869
 
14870
+ # The blue/green deployment can't be switched over or deleted because
14871
+ # there is an invalid configuration in the green environment.
14872
+ #
14873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidBlueGreenDeploymentStateFault AWS API Documentation
14874
+ #
14875
+ class InvalidBlueGreenDeploymentStateFault < Aws::EmptyStructure; end
14876
+
14398
14877
  # You can't delete the CEV.
14399
14878
  #
14400
14879
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidCustomDBEngineVersionStateFault AWS API Documentation
@@ -23475,6 +23954,18 @@ module Aws::RDS
23475
23954
  #
23476
23955
  class SnapshotQuotaExceededFault < Aws::EmptyStructure; end
23477
23956
 
23957
+ # The source DB cluster isn't supported for a blue/green deployment.
23958
+ #
23959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceClusterNotSupportedFault AWS API Documentation
23960
+ #
23961
+ class SourceClusterNotSupportedFault < Aws::EmptyStructure; end
23962
+
23963
+ # The source DB instance isn't supported for a blue/green deployment.
23964
+ #
23965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceDatabaseNotSupportedFault AWS API Documentation
23966
+ #
23967
+ class SourceDatabaseNotSupportedFault < Aws::EmptyStructure; end
23968
+
23478
23969
  # The requested source could not be found.
23479
23970
  #
23480
23971
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceNotFoundFault AWS API Documentation
@@ -24196,6 +24687,114 @@ module Aws::RDS
24196
24687
  #
24197
24688
  class SubscriptionNotFoundFault < Aws::EmptyStructure; end
24198
24689
 
24690
+ # @note When making an API call, you may pass SwitchoverBlueGreenDeploymentRequest
24691
+ # data as a hash:
24692
+ #
24693
+ # {
24694
+ # blue_green_deployment_identifier: "BlueGreenDeploymentIdentifier", # required
24695
+ # switchover_timeout: 1,
24696
+ # }
24697
+ #
24698
+ # @!attribute [rw] blue_green_deployment_identifier
24699
+ # The blue/green deployment identifier.
24700
+ #
24701
+ # Constraints:
24702
+ #
24703
+ # * Must match an existing blue/green deployment identifier.
24704
+ #
24705
+ # ^
24706
+ # @return [String]
24707
+ #
24708
+ # @!attribute [rw] switchover_timeout
24709
+ # The amount of time, in seconds, for the switchover to complete. The
24710
+ # default is 300.
24711
+ #
24712
+ # If the switchover takes longer than the specified duration, then any
24713
+ # changes are rolled back, and no changes are made to the
24714
+ # environments.
24715
+ # @return [Integer]
24716
+ #
24717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverBlueGreenDeploymentRequest AWS API Documentation
24718
+ #
24719
+ class SwitchoverBlueGreenDeploymentRequest < Struct.new(
24720
+ :blue_green_deployment_identifier,
24721
+ :switchover_timeout)
24722
+ SENSITIVE = []
24723
+ include Aws::Structure
24724
+ end
24725
+
24726
+ # @!attribute [rw] blue_green_deployment
24727
+ # Contains the details about a blue/green deployment.
24728
+ #
24729
+ # For more information, see [Using Amazon RDS Blue/Green Deployments
24730
+ # for database updates][1] in the *Amazon RDS User Guide* and [ Using
24731
+ # Amazon RDS Blue/Green Deployments for database updates][2] in the
24732
+ # *Amazon Aurora User Guide*.
24733
+ #
24734
+ #
24735
+ #
24736
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
24737
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
24738
+ # @return [Types::BlueGreenDeployment]
24739
+ #
24740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverBlueGreenDeploymentResponse AWS API Documentation
24741
+ #
24742
+ class SwitchoverBlueGreenDeploymentResponse < Struct.new(
24743
+ :blue_green_deployment)
24744
+ SENSITIVE = []
24745
+ include Aws::Structure
24746
+ end
24747
+
24748
+ # Contains the details about a blue/green deployment.
24749
+ #
24750
+ # For more information, see [Using Amazon RDS Blue/Green Deployments for
24751
+ # database updates][1] in the *Amazon RDS User Guide* and [ Using Amazon
24752
+ # RDS Blue/Green Deployments for database updates][2] in the *Amazon
24753
+ # Aurora User Guide*.
24754
+ #
24755
+ #
24756
+ #
24757
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
24758
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
24759
+ #
24760
+ # @!attribute [rw] source_member
24761
+ # The Amazon Resource Name (ARN) of a resource in the blue
24762
+ # environment.
24763
+ # @return [String]
24764
+ #
24765
+ # @!attribute [rw] target_member
24766
+ # The Amazon Resource Name (ARN) of a resource in the green
24767
+ # environment.
24768
+ # @return [String]
24769
+ #
24770
+ # @!attribute [rw] status
24771
+ # The switchover status of a resource in a blue/green deployment.
24772
+ #
24773
+ # Values:
24774
+ #
24775
+ # * `preparing-for-switchover` - The resource is being prepared to
24776
+ # switch over.
24777
+ #
24778
+ # * `ready-for-switchover` - The resource is ready to switch over.
24779
+ #
24780
+ # * `switchover-in-progress` - The resource is being switched over.
24781
+ #
24782
+ # * `switchover-completed` - The resource has been switched over.
24783
+ #
24784
+ # * `switchover-failed` - The resource attempted to switch over but
24785
+ # failed.
24786
+ # @return [String]
24787
+ #
24788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverDetail AWS API Documentation
24789
+ #
24790
+ class SwitchoverDetail < Struct.new(
24791
+ :source_member,
24792
+ :target_member,
24793
+ :status)
24794
+ SENSITIVE = []
24795
+ include Aws::Structure
24796
+ end
24797
+
24199
24798
  # @note When making an API call, you may pass SwitchoverReadReplicaMessage
24200
24799
  # data as a hash:
24201
24800
  #
@@ -24246,6 +24845,13 @@ module Aws::RDS
24246
24845
  # Metadata assigned to an Amazon RDS resource consisting of a key-value
24247
24846
  # pair.
24248
24847
  #
24848
+ # For more information, see [Tagging Amazon RDS Resources][1] in the
24849
+ # *Amazon RDS User Guide.*
24850
+ #
24851
+ #
24852
+ #
24853
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
24854
+ #
24249
24855
  # @note When making an API call, you may pass Tag
24250
24856
  # data as a hash:
24251
24857
  #