aws-sdk-rds 1.0.0.rc9 → 1.0.0.rc10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +441 -164
- data/lib/aws-sdk-rds/client_api.rb +52 -0
- data/lib/aws-sdk-rds/db_cluster.rb +33 -6
- data/lib/aws-sdk-rds/db_instance.rb +100 -55
- data/lib/aws-sdk-rds/db_snapshot.rb +35 -23
- data/lib/aws-sdk-rds/resource.rb +103 -58
- data/lib/aws-sdk-rds/types.rb +321 -96
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0047a42952a26ab05058c86388a89c8a69cc3711
|
4
|
+
data.tar.gz: 58b795a0bc2f4edc3b0a7de111923b2658946227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eefdecfb14db0eef12729e5b6fc93deadc99800967334a4f058f8f3732aa3d07f7c6c8095ff81af967421ec99a30f4c4c2e560b790616ac65846228a786a949c
|
7
|
+
data.tar.gz: 4c56657b0744bf29f8dcd6675317c60d2310a9ae20dd5045ea969c2f2a392516d13ec885cb04dc5f1d42d7b913eeeb525b6790e7c85072f90aec9a3c2c95ff8b
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -843,108 +843,51 @@ module Aws::RDS
|
|
843
843
|
# Copies the specified DB snapshot. The source DB snapshot must be in
|
844
844
|
# the "available" state.
|
845
845
|
#
|
846
|
-
#
|
847
|
-
#
|
848
|
-
# the
|
846
|
+
# You can copy a snapshot from one AWS region to another. In that case,
|
847
|
+
# the region where you call the `CopyDBSnapshot` action is the
|
848
|
+
# destination region for the DB snapshot copy.
|
849
849
|
#
|
850
|
-
# You
|
851
|
-
#
|
852
|
-
# destination region for the encrypted DB snapshot to be copied to. To
|
853
|
-
# copy an encrypted DB snapshot from another region, you must provide
|
854
|
-
# the following values:
|
850
|
+
# You cannot copy an encrypted, shared DB snapshot from one AWS region
|
851
|
+
# to another.
|
855
852
|
#
|
856
|
-
#
|
857
|
-
#
|
858
|
-
# destination region.
|
859
|
-
#
|
860
|
-
# * `PreSignedUrl` - A URL that contains a Signature Version 4 signed
|
861
|
-
# request for the `CopyDBSnapshot` action to be called in the source
|
862
|
-
# region where the DB snapshot will be copied from. The presigned URL
|
863
|
-
# must be a valid request for the `CopyDBSnapshot` API action that can
|
864
|
-
# be executed in the source region that contains the encrypted DB
|
865
|
-
# snapshot to be copied.
|
866
|
-
#
|
867
|
-
# The presigned URL request must contain the following parameter
|
868
|
-
# values:
|
869
|
-
#
|
870
|
-
# * `DestinationRegion` - The AWS Region that the encrypted DB
|
871
|
-
# snapshot will be copied to. This region is the same one where the
|
872
|
-
# `CopyDBSnapshot` action is called that contains this presigned
|
873
|
-
# URL.
|
874
|
-
#
|
875
|
-
# For example, if you copy an encrypted DB snapshot from the
|
876
|
-
# us-west-2 region to the us-east-1 region, then you will call the
|
877
|
-
# `CopyDBSnapshot` action in the us-east-1 region and provide a
|
878
|
-
# presigned URL that contains a call to the `CopyDBSnapshot` action
|
879
|
-
# in the us-west-2 region. For this example, the `DestinationRegion`
|
880
|
-
# in the presigned URL must be set to the us-east-1 region.
|
881
|
-
#
|
882
|
-
# * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
|
883
|
-
# the copy of the DB snapshot in the destination region. This
|
884
|
-
# identifier is the same for both the `CopyDBSnapshot` action that
|
885
|
-
# is called in the destination region, and the action contained in
|
886
|
-
# the presigned URL.
|
887
|
-
#
|
888
|
-
# * `SourceDBSnapshotIdentifier` - The DB snapshot identifier for the
|
889
|
-
# encrypted snapshot to be copied. This identifier must be in the
|
890
|
-
# Amazon Resource Name (ARN) format for the source region. For
|
891
|
-
# example, if you copy an encrypted DB snapshot from the us-west-2
|
892
|
-
# region, then your `SourceDBSnapshotIdentifier` looks like this
|
893
|
-
# example:
|
894
|
-
# `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115`.
|
853
|
+
# For more information about copying snapshots, see [Copying a DB
|
854
|
+
# Snapshot][1] in the Amazon RDS User Guide.
|
895
855
|
#
|
896
|
-
# To learn how to generate a Signature Version 4 signed request, see [
|
897
|
-
# Authenticating Requests: Using Query Parameters (AWS Signature
|
898
|
-
# Version 4)][1] and [ Signature Version 4 Signing Process][2].
|
899
|
-
#
|
900
|
-
# * `TargetDBSnapshotIdentifier` - The identifier for the new copy of
|
901
|
-
# the DB snapshot in the destination region.
|
902
|
-
#
|
903
|
-
# * `SourceDBSnapshotIdentifier` - The DB snapshot identifier for the
|
904
|
-
# encrypted snapshot to be copied. This identifier must be in the ARN
|
905
|
-
# format for the source region and is the same value as the
|
906
|
-
# `SourceDBSnapshotIdentifier` in the presigned URL.
|
907
856
|
#
|
908
|
-
# For more information on copying encrypted snapshots from one region to
|
909
|
-
# another, see [ Copying a DB Snapshot][3] in the Amazon RDS User Guide.
|
910
857
|
#
|
911
|
-
#
|
912
|
-
#
|
913
|
-
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
914
|
-
# [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
915
|
-
# [3]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopyDBSnapshot
|
858
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopyDBSnapshot.html
|
916
859
|
#
|
917
860
|
# @option params [required, String] :source_db_snapshot_identifier
|
918
861
|
# The identifier for the source DB snapshot.
|
919
862
|
#
|
920
|
-
# If
|
921
|
-
#
|
863
|
+
# If the source snapshot is in the same region as the copy, specify a
|
864
|
+
# valid DB snapshot identifier. For example,
|
865
|
+
# `rds:mysql-instance1-snapshot-20130805`.
|
866
|
+
#
|
867
|
+
# If the source snapshot is in a different region than the copy, specify
|
868
|
+
# a valid DB snapshot ARN. For example,
|
869
|
+
# `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805`.
|
922
870
|
#
|
923
|
-
#
|
924
|
-
#
|
871
|
+
# If you are copying from a shared manual DB snapshot, this parameter
|
872
|
+
# must be the Amazon Resource Name (ARN) of the shared DB snapshot.
|
873
|
+
#
|
874
|
+
# If you are copying an encrypted snapshot this parameter must be in the
|
875
|
+
# ARN format for the source region, and must match the
|
876
|
+
# `SourceDBSnapshotIdentifier` in the `PreSignedUrl` parameter.
|
925
877
|
#
|
926
878
|
# Constraints:
|
927
879
|
#
|
928
880
|
# * Must specify a valid system snapshot in the "available" state.
|
929
881
|
#
|
930
|
-
#
|
931
|
-
# valid DB snapshot identifier.
|
932
|
-
#
|
933
|
-
# * If the source snapshot is in a different region than the copy,
|
934
|
-
# specify a valid DB snapshot ARN. For more information, go to [
|
935
|
-
# Copying a DB Snapshot or DB Cluster Snapshot][1].
|
882
|
+
# ^
|
936
883
|
#
|
937
884
|
# Example: `rds:mydb-2012-04-02-00-01`
|
938
885
|
#
|
939
886
|
# Example:
|
940
887
|
# `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805`
|
941
888
|
#
|
942
|
-
#
|
943
|
-
#
|
944
|
-
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html
|
945
|
-
#
|
946
889
|
# @option params [required, String] :target_db_snapshot_identifier
|
947
|
-
# The identifier for the
|
890
|
+
# The identifier for the copy of the snapshot.
|
948
891
|
#
|
949
892
|
# Constraints:
|
950
893
|
#
|
@@ -963,27 +906,22 @@ module Aws::RDS
|
|
963
906
|
# Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias
|
964
907
|
# for the KMS encryption key.
|
965
908
|
#
|
966
|
-
# If you copy an unencrypted DB snapshot and specify a value for the
|
967
|
-
# `KmsKeyId` parameter, Amazon RDS encrypts the target DB snapshot using
|
968
|
-
# the specified KMS encryption key.
|
969
|
-
#
|
970
909
|
# If you copy an encrypted DB snapshot from your AWS account, you can
|
971
|
-
# specify a value for
|
972
|
-
# encryption key. If you don't specify a value for
|
973
|
-
# copy of the DB snapshot is encrypted with the same KMS key as the
|
910
|
+
# specify a value for this parameter to encrypt the copy with a new KMS
|
911
|
+
# encryption key. If you don't specify a value for this parameter, then
|
912
|
+
# the copy of the DB snapshot is encrypted with the same KMS key as the
|
974
913
|
# source DB snapshot.
|
975
914
|
#
|
976
|
-
# If you copy an encrypted snapshot to a different AWS region, then you
|
977
|
-
# must specify a KMS key for the destination AWS region.
|
978
|
-
#
|
979
915
|
# If you copy an encrypted DB snapshot that is shared from another AWS
|
980
|
-
# account, then you must specify a value for
|
916
|
+
# account, then you must specify a value for this parameter.
|
981
917
|
#
|
982
|
-
#
|
983
|
-
#
|
984
|
-
#
|
985
|
-
#
|
986
|
-
#
|
918
|
+
# If you specify this parameter when you copy an unencrypted snapshot,
|
919
|
+
# the copy is encrypted.
|
920
|
+
#
|
921
|
+
# If you copy an encrypted snapshot to a different AWS region, then you
|
922
|
+
# must specify a KMS key for the destination AWS region. KMS encryption
|
923
|
+
# keys are specific to the region that they are created in, and you
|
924
|
+
# cannot use encryption keys from one region in another region.
|
987
925
|
#
|
988
926
|
# @option params [Array<Types::Tag>] :tags
|
989
927
|
# A list of tags.
|
@@ -994,9 +932,13 @@ module Aws::RDS
|
|
994
932
|
#
|
995
933
|
# @option params [String] :pre_signed_url
|
996
934
|
# The URL that contains a Signature Version 4 signed request for the
|
997
|
-
# `CopyDBSnapshot` API action in the AWS region that contains the
|
998
|
-
# DB snapshot to copy.
|
999
|
-
#
|
935
|
+
# `CopyDBSnapshot` API action in the source AWS region that contains the
|
936
|
+
# source DB snapshot to copy.
|
937
|
+
#
|
938
|
+
# You must specify this parameter when you copy an encrypted DB snapshot
|
939
|
+
# from another AWS region by using the Amazon RDS API. You can specify
|
940
|
+
# the source region option instead of this parameter when you copy an
|
941
|
+
# encrypted DB snapshot from another AWS region by using the AWS CLI.
|
1000
942
|
#
|
1001
943
|
# The presigned URL must be a valid request for the `CopyDBSnapshot` API
|
1002
944
|
# action that can be executed in the source region that contains the
|
@@ -1028,15 +970,28 @@ module Aws::RDS
|
|
1028
970
|
# the following example:
|
1029
971
|
# `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115`.
|
1030
972
|
#
|
1031
|
-
# To learn how to generate a Signature Version 4 signed request, see
|
1032
|
-
# Authenticating Requests: Using Query Parameters (AWS Signature
|
1033
|
-
# 4)][1] and [
|
973
|
+
# To learn how to generate a Signature Version 4 signed request, see
|
974
|
+
# [Authenticating Requests: Using Query Parameters (AWS Signature
|
975
|
+
# Version 4)][1] and [Signature Version 4 Signing Process][2].
|
1034
976
|
#
|
1035
977
|
#
|
1036
978
|
#
|
1037
979
|
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
1038
980
|
# [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
1039
981
|
#
|
982
|
+
# @option params [String] :option_group_name
|
983
|
+
# The name of an option group to associate with the copy.
|
984
|
+
#
|
985
|
+
# Specify this option if you are copying a snapshot from one AWS region
|
986
|
+
# to another, and your DB instance uses a non-default option group. If
|
987
|
+
# your source DB instance uses Transparent Data Encryption for Oracle or
|
988
|
+
# Microsoft SQL Server, you must specify this option when copying across
|
989
|
+
# regions. For more information, see [Option Group Considerations][1].
|
990
|
+
#
|
991
|
+
#
|
992
|
+
#
|
993
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options
|
994
|
+
#
|
1040
995
|
# @option params [String] :source_region
|
1041
996
|
# The source region of the snapshot. This is only needed when the
|
1042
997
|
# shapshot is encrypted and in a different region.
|
@@ -1059,6 +1014,7 @@ module Aws::RDS
|
|
1059
1014
|
# ],
|
1060
1015
|
# copy_tags: false,
|
1061
1016
|
# pre_signed_url: "String",
|
1017
|
+
# option_group_name: "String",
|
1062
1018
|
# source_region: "String",
|
1063
1019
|
# })
|
1064
1020
|
#
|
@@ -1245,9 +1201,9 @@ module Aws::RDS
|
|
1245
1201
|
# the specified CharacterSet.
|
1246
1202
|
#
|
1247
1203
|
# @option params [String] :database_name
|
1248
|
-
# The name for your database of up to
|
1249
|
-
# do not provide a name, Amazon RDS will not create a database in
|
1250
|
-
# cluster you are creating.
|
1204
|
+
# The name for your database of up to 64 alpha-numeric characters. If
|
1205
|
+
# you do not provide a name, Amazon RDS will not create a database in
|
1206
|
+
# the DB cluster you are creating.
|
1251
1207
|
#
|
1252
1208
|
# @option params [required, String] :db_cluster_identifier
|
1253
1209
|
# The DB cluster identifier. This parameter is stored as a lowercase
|
@@ -1537,6 +1493,7 @@ module Aws::RDS
|
|
1537
1493
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
1538
1494
|
# resp.db_cluster.associated_roles[0].status #=> String
|
1539
1495
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
1496
|
+
# resp.db_cluster.clone_group_id #=> String
|
1540
1497
|
# resp.db_cluster.cluster_create_time #=> Time
|
1541
1498
|
#
|
1542
1499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster AWS API Documentation
|
@@ -1783,7 +1740,9 @@ module Aws::RDS
|
|
1783
1740
|
#
|
1784
1741
|
# **Oracle**
|
1785
1742
|
#
|
1786
|
-
# The Oracle System ID (SID) of the created DB instance.
|
1743
|
+
# The Oracle System ID (SID) of the created DB instance. If you specify
|
1744
|
+
# `null`, the default value `ORCL` is used. You can't specify the
|
1745
|
+
# string NULL, or any other reserved word, for `DBName`.
|
1787
1746
|
#
|
1788
1747
|
# Default: `ORCL`
|
1789
1748
|
#
|
@@ -1873,12 +1832,34 @@ module Aws::RDS
|
|
1873
1832
|
# @option params [required, String] :engine
|
1874
1833
|
# The name of the database engine to be used for this instance.
|
1875
1834
|
#
|
1876
|
-
# Valid Values: `mysql` \| `mariadb` \| `oracle-se1` \| `oracle-se2` \|
|
1877
|
-
# `oracle-se` \| `oracle-ee` \| `sqlserver-ee` \| `sqlserver-se` \|
|
1878
|
-
# `sqlserver-ex` \| `sqlserver-web` \| `postgres` \| `aurora`
|
1879
|
-
#
|
1880
1835
|
# Not every database engine is available for every AWS region.
|
1881
1836
|
#
|
1837
|
+
# Valid Values:
|
1838
|
+
#
|
1839
|
+
# * `aurora`
|
1840
|
+
#
|
1841
|
+
# * `mariadb`
|
1842
|
+
#
|
1843
|
+
# * `mysql`
|
1844
|
+
#
|
1845
|
+
# * `oracle-ee`
|
1846
|
+
#
|
1847
|
+
# * `oracle-se2`
|
1848
|
+
#
|
1849
|
+
# * `oracle-se1`
|
1850
|
+
#
|
1851
|
+
# * `oracle-se`
|
1852
|
+
#
|
1853
|
+
# * `postgres`
|
1854
|
+
#
|
1855
|
+
# * `sqlserver-ee`
|
1856
|
+
#
|
1857
|
+
# * `sqlserver-se`
|
1858
|
+
#
|
1859
|
+
# * `sqlserver-ex`
|
1860
|
+
#
|
1861
|
+
# * `sqlserver-web`
|
1862
|
+
#
|
1882
1863
|
# @option params [String] :master_username
|
1883
1864
|
# The name for the master database user.
|
1884
1865
|
#
|
@@ -2131,98 +2112,118 @@ module Aws::RDS
|
|
2131
2112
|
#
|
2132
2113
|
# **Amazon Aurora**
|
2133
2114
|
#
|
2134
|
-
# *
|
2115
|
+
# * Version 5.6 (available in these AWS regions: ap-northeast-1,
|
2135
2116
|
# ap-northeast-2, ap-south-1, ap-southeast-2, eu-west-1, us-east-1,
|
2136
|
-
# us-east-2, us-west-2)
|
2117
|
+
# us-east-2, us-west-2): ` 5.6.10a`
|
2137
2118
|
#
|
2138
2119
|
# ^
|
2139
2120
|
#
|
2140
2121
|
# **MariaDB**
|
2141
2122
|
#
|
2142
|
-
# *
|
2143
|
-
#
|
2123
|
+
# * `10.1.19` (supported in all AWS regions)
|
2124
|
+
#
|
2125
|
+
# * `10.1.14` (supported in all regions except us-east-2)
|
2126
|
+
#
|
2127
|
+
#
|
2144
2128
|
#
|
2145
|
-
# *
|
2146
|
-
# ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
|
2147
|
-
# eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1,
|
2148
|
-
# us-west-2):** ` 10.1.14`
|
2129
|
+
# * `10.0.28` (supported in all AWS regions)
|
2149
2130
|
#
|
2150
|
-
# *
|
2131
|
+
# * `10.0.24` (supported in all AWS regions)
|
2151
2132
|
#
|
2152
|
-
# *
|
2153
|
-
#
|
2154
|
-
# eu-central-1, eu-west-1, sa-east-1, us-east-1, us-gov-west-1,
|
2155
|
-
# us-west-1, us-west-2):** ` 10.0.17`
|
2133
|
+
# * `10.0.17` (supported in all regions except us-east-2, ca-central-1,
|
2134
|
+
# eu-west-2)
|
2156
2135
|
#
|
2157
2136
|
# **Microsoft SQL Server 2016**
|
2158
2137
|
#
|
2159
|
-
# * `13.00.
|
2160
|
-
# except sa-east-1)
|
2138
|
+
# * `13.00.4422.0.v1` (supported for all editions, and all AWS regions)
|
2161
2139
|
#
|
2162
|
-
#
|
2140
|
+
# * `13.00.2164.0.v1` (supported for all editions, and all AWS regions)
|
2163
2141
|
#
|
2164
2142
|
# **Microsoft SQL Server 2014**
|
2165
2143
|
#
|
2144
|
+
# * `12.00.5546.0.v1` (supported for all editions, and all AWS regions)
|
2145
|
+
#
|
2166
2146
|
# * `12.00.5000.0.v1` (supported for all editions, and all AWS regions)
|
2167
2147
|
#
|
2168
2148
|
# * `12.00.4422.0.v1` (supported for all editions except Enterprise
|
2169
|
-
# Edition, and all AWS regions except
|
2149
|
+
# Edition, and all AWS regions except ca-central-1 and eu-west-2)
|
2170
2150
|
#
|
2171
2151
|
# **Microsoft SQL Server 2012**
|
2172
2152
|
#
|
2153
|
+
# * `11.00.6594.0.v1` (supported for all editions, and all AWS regions)
|
2154
|
+
#
|
2173
2155
|
# * `11.00.6020.0.v1` (supported for all editions, and all AWS regions)
|
2174
2156
|
#
|
2175
2157
|
# * `11.00.5058.0.v1` (supported for all editions, and all AWS regions
|
2176
|
-
# except us-east-2)
|
2158
|
+
# except us-east-2, ca-central-1, and eu-west-2)
|
2177
2159
|
#
|
2178
2160
|
# * `11.00.2100.60.v1` (supported for all editions, and all AWS regions
|
2179
|
-
# except us-east-2)
|
2161
|
+
# except us-east-2, ca-central-1, and eu-west-2)
|
2180
2162
|
#
|
2181
2163
|
# **Microsoft SQL Server 2008 R2**
|
2182
2164
|
#
|
2183
2165
|
# * `10.50.6529.0.v1` (supported for all editions, and all AWS regions
|
2184
|
-
# except us-east-2)
|
2166
|
+
# except us-east-2, ca-central-1, and eu-west-2)
|
2185
2167
|
#
|
2186
2168
|
# * `10.50.6000.34.v1` (supported for all editions, and all AWS regions
|
2187
|
-
# except us-east-2)
|
2169
|
+
# except us-east-2, ca-central-1, and eu-west-2)
|
2188
2170
|
#
|
2189
2171
|
# * `10.50.2789.0.v1` (supported for all editions, and all AWS regions
|
2190
|
-
# except us-east-2)
|
2172
|
+
# except us-east-2, ca-central-1, and eu-west-2)
|
2191
2173
|
#
|
2192
2174
|
# **MySQL**
|
2193
2175
|
#
|
2194
|
-
# *
|
2176
|
+
# * `5.7.17` (supported in all AWS regions)
|
2177
|
+
#
|
2178
|
+
# * `5.7.16` (supported in all AWS regions)
|
2179
|
+
#
|
2180
|
+
# * `5.7.11` (supported in all AWS regions)
|
2195
2181
|
#
|
2196
|
-
# *
|
2197
|
-
#
|
2198
|
-
# eu-central-1, eu-west-1, sa-east-1, us-east-1, us-gov-west-1,
|
2199
|
-
# us-west-1, us-west-2):** ` 5.7.10`
|
2182
|
+
# * `5.7.10` (supported in all regions except us-east-2, ca-central-1,
|
2183
|
+
# eu-west-2)
|
2200
2184
|
#
|
2201
|
-
# * **Version 5.6 (available in all AWS regions):** ` 5.6.29`
|
2202
2185
|
#
|
2203
|
-
# * **Version 5.6 (available in these AWS regions: ap-northeast-1,
|
2204
|
-
# ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
|
2205
|
-
# eu-central-1, eu-west-1, sa-east-1, us-east-1, us-gov-west-1,
|
2206
|
-
# us-west-1, us-west-2):** ` 5.6.27`
|
2207
2186
|
#
|
2208
|
-
# *
|
2209
|
-
# ap-northeast-2, ap-southeast-1, ap-southeast-2, eu-central-1,
|
2210
|
-
# eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1,
|
2211
|
-
# us-west-2):** ` 5.6.23`
|
2187
|
+
# * `5.6.35` (supported in all AWS regions)
|
2212
2188
|
#
|
2213
|
-
# *
|
2214
|
-
# ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
|
2215
|
-
# us-east-1, us-gov-west-1, us-west-1, us-west-2):** ` 5.6.19a |
|
2216
|
-
# 5.6.19b | 5.6.21 | 5.6.21b | 5.6.22`
|
2189
|
+
# * `5.6.34` (supported in all AWS regions)
|
2217
2190
|
#
|
2218
|
-
# *
|
2191
|
+
# * `5.6.29` (supported in all AWS regions)
|
2219
2192
|
#
|
2220
|
-
# *
|
2221
|
-
#
|
2222
|
-
#
|
2193
|
+
# * `5.6.27` (supported in all regions except us-east-2, ca-central-1,
|
2194
|
+
# eu-west-2)
|
2195
|
+
#
|
2196
|
+
# * `5.6.23` (supported in all regions except us-east-2, ap-south-1,
|
2197
|
+
# ca-central-1, eu-west-2)
|
2198
|
+
#
|
2199
|
+
# * `5.6.22` (supported in all regions except us-east-2, ap-south-1,
|
2200
|
+
# ap-northeast-2, ca-central-1, eu-west-2)
|
2201
|
+
#
|
2202
|
+
# * `5.6.21b` (supported in all regions except us-east-2, ap-south-1,
|
2203
|
+
# ap-northeast-2, ca-central-1, eu-west-2)
|
2204
|
+
#
|
2205
|
+
# * `5.6.21` (supported in all regions except us-east-2, ap-south-1,
|
2206
|
+
# ap-northeast-2, ca-central-1, eu-west-2)
|
2207
|
+
#
|
2208
|
+
# * `5.6.19b` (supported in all regions except us-east-2, ap-south-1,
|
2209
|
+
# ap-northeast-2, ca-central-1, eu-west-2)
|
2210
|
+
#
|
2211
|
+
# * `5.6.19a` (supported in all regions except us-east-2, ap-south-1,
|
2212
|
+
# ap-northeast-2, ca-central-1, eu-west-2)
|
2213
|
+
#
|
2214
|
+
#
|
2215
|
+
#
|
2216
|
+
# * `5.5.54` (supported in all AWS regions)
|
2217
|
+
#
|
2218
|
+
# * `5.5.53` (supported in all AWS regions)
|
2219
|
+
#
|
2220
|
+
# * `5.5.46` (supported in all AWS regions)
|
2223
2221
|
#
|
2224
2222
|
# **Oracle 12c**
|
2225
2223
|
#
|
2224
|
+
# * `12.1.0.2.v8` (supported for EE in all AWS regions, and SE2 in all
|
2225
|
+
# AWS regions except us-gov-west-1)
|
2226
|
+
#
|
2226
2227
|
# * `12.1.0.2.v7` (supported for EE in all AWS regions, and SE2 in all
|
2227
2228
|
# AWS regions except us-gov-west-1)
|
2228
2229
|
#
|
@@ -2246,6 +2247,8 @@ module Aws::RDS
|
|
2246
2247
|
#
|
2247
2248
|
# **Oracle 11g**
|
2248
2249
|
#
|
2250
|
+
# * `11.2.0.4.v12` (supported for EE, SE1, and SE, in all AWS regions)
|
2251
|
+
#
|
2249
2252
|
# * `11.2.0.4.v11` (supported for EE, SE1, and SE, in all AWS regions)
|
2250
2253
|
#
|
2251
2254
|
# * `11.2.0.4.v10` (supported for EE, SE1, and SE, in all AWS regions)
|
@@ -2268,14 +2271,13 @@ module Aws::RDS
|
|
2268
2271
|
#
|
2269
2272
|
# **PostgreSQL**
|
2270
2273
|
#
|
2271
|
-
# * **Version 9.6:** ` 9.6.1`
|
2274
|
+
# * **Version 9.6.x:** ` 9.6.1 | 9.6.2`
|
2272
2275
|
#
|
2273
|
-
# * **Version 9.5:** `9.5.4 | 9.5.2`
|
2276
|
+
# * **Version 9.5.x:** `9.5.6 | 9.5.4 | 9.5.2`
|
2274
2277
|
#
|
2275
|
-
# * **Version 9.4:** `
|
2278
|
+
# * **Version 9.4.x:** `9.4.11 | 9.4.9 | 9.4.7`
|
2276
2279
|
#
|
2277
|
-
# * **Version 9.3:** `
|
2278
|
-
# | 9.3.3 | 9.3.2 | 9.3.1`
|
2280
|
+
# * **Version 9.3.x:** `9.3.16 | 9.3.14 | 9.3.12`
|
2279
2281
|
#
|
2280
2282
|
# @option params [Boolean] :auto_minor_version_upgrade
|
2281
2283
|
# Indicates that minor engine upgrades will be applied automatically to
|
@@ -2443,7 +2445,7 @@ module Aws::RDS
|
|
2443
2445
|
# accounts to database accounts; otherwise false.
|
2444
2446
|
#
|
2445
2447
|
# You can enable IAM database authentication for the following database
|
2446
|
-
# engines
|
2448
|
+
# engines:
|
2447
2449
|
#
|
2448
2450
|
# * For MySQL 5.6, minor version 5.6.34 or higher
|
2449
2451
|
#
|
@@ -3712,6 +3714,7 @@ module Aws::RDS
|
|
3712
3714
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
3713
3715
|
# resp.db_cluster.associated_roles[0].status #=> String
|
3714
3716
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
3717
|
+
# resp.db_cluster.clone_group_id #=> String
|
3715
3718
|
# resp.db_cluster.cluster_create_time #=> Time
|
3716
3719
|
#
|
3717
3720
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster AWS API Documentation
|
@@ -4853,6 +4856,7 @@ module Aws::RDS
|
|
4853
4856
|
# resp.db_clusters[0].associated_roles[0].role_arn #=> String
|
4854
4857
|
# resp.db_clusters[0].associated_roles[0].status #=> String
|
4855
4858
|
# resp.db_clusters[0].iam_database_authentication_enabled #=> Boolean
|
4859
|
+
# resp.db_clusters[0].clone_group_id #=> String
|
4856
4860
|
# resp.db_clusters[0].cluster_create_time #=> Time
|
4857
4861
|
#
|
4858
4862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters AWS API Documentation
|
@@ -6930,6 +6934,7 @@ module Aws::RDS
|
|
6930
6934
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
6931
6935
|
# resp.db_cluster.associated_roles[0].status #=> String
|
6932
6936
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
6937
|
+
# resp.db_cluster.clone_group_id #=> String
|
6933
6938
|
# resp.db_cluster.cluster_create_time #=> Time
|
6934
6939
|
#
|
6935
6940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster AWS API Documentation
|
@@ -7210,6 +7215,7 @@ module Aws::RDS
|
|
7210
7215
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
7211
7216
|
# resp.db_cluster.associated_roles[0].status #=> String
|
7212
7217
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
7218
|
+
# resp.db_cluster.clone_group_id #=> String
|
7213
7219
|
# resp.db_cluster.cluster_create_time #=> Time
|
7214
7220
|
#
|
7215
7221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster AWS API Documentation
|
@@ -8778,6 +8784,7 @@ module Aws::RDS
|
|
8778
8784
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
8779
8785
|
# resp.db_cluster.associated_roles[0].status #=> String
|
8780
8786
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
8787
|
+
# resp.db_cluster.clone_group_id #=> String
|
8781
8788
|
# resp.db_cluster.cluster_create_time #=> Time
|
8782
8789
|
#
|
8783
8790
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation
|
@@ -9588,6 +9595,7 @@ module Aws::RDS
|
|
9588
9595
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
9589
9596
|
# resp.db_cluster.associated_roles[0].status #=> String
|
9590
9597
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
9598
|
+
# resp.db_cluster.clone_group_id #=> String
|
9591
9599
|
# resp.db_cluster.cluster_create_time #=> Time
|
9592
9600
|
#
|
9593
9601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 AWS API Documentation
|
@@ -9778,6 +9786,7 @@ module Aws::RDS
|
|
9778
9786
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
9779
9787
|
# resp.db_cluster.associated_roles[0].status #=> String
|
9780
9788
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
9789
|
+
# resp.db_cluster.clone_group_id #=> String
|
9781
9790
|
# resp.db_cluster.cluster_create_time #=> Time
|
9782
9791
|
#
|
9783
9792
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation
|
@@ -9814,6 +9823,22 @@ module Aws::RDS
|
|
9814
9823
|
#
|
9815
9824
|
# * Cannot end with a hyphen or contain two consecutive hyphens
|
9816
9825
|
#
|
9826
|
+
# @option params [String] :restore_type
|
9827
|
+
# The type of restore to be performed. You can specify one of the
|
9828
|
+
# following values:
|
9829
|
+
#
|
9830
|
+
# * `full-copy` - The new DB cluster is restored as a full copy of the
|
9831
|
+
# source DB cluster.
|
9832
|
+
#
|
9833
|
+
# * `copy-on-write` - The new DB cluster is restored as a clone of the
|
9834
|
+
# source DB cluster.
|
9835
|
+
#
|
9836
|
+
# Constraints: You cannot specify `copy-on-write` if the engine version
|
9837
|
+
# of the source DB cluster is earlier than 1.11.
|
9838
|
+
#
|
9839
|
+
# If you don't specify a `RestoreType` value, then the new DB cluster
|
9840
|
+
# is restored as a full copy of the source DB cluster.
|
9841
|
+
#
|
9817
9842
|
# @option params [required, String] :source_db_cluster_identifier
|
9818
9843
|
# The identifier of the source DB cluster from which to restore.
|
9819
9844
|
#
|
@@ -9837,8 +9862,13 @@ module Aws::RDS
|
|
9837
9862
|
#
|
9838
9863
|
# * Must be before the latest restorable time for the DB instance
|
9839
9864
|
#
|
9865
|
+
# * Must be specified if `UseLatestRestorableTime` parameter is not
|
9866
|
+
# provided
|
9867
|
+
#
|
9840
9868
|
# * Cannot be specified if `UseLatestRestorableTime` parameter is true
|
9841
9869
|
#
|
9870
|
+
# * Cannot be specified if `RestoreType` parameter is `copy-on-write`
|
9871
|
+
#
|
9842
9872
|
# Example: `2015-03-07T23:45:00Z`
|
9843
9873
|
#
|
9844
9874
|
# @option params [Boolean] :use_latest_restorable_time
|
@@ -9869,7 +9899,7 @@ module Aws::RDS
|
|
9869
9899
|
# The name of the option group for the new DB cluster.
|
9870
9900
|
#
|
9871
9901
|
# @option params [Array<String>] :vpc_security_group_ids
|
9872
|
-
# A
|
9902
|
+
# A list of VPC security groups that the new DB cluster belongs to.
|
9873
9903
|
#
|
9874
9904
|
# @option params [Array<Types::Tag>] :tags
|
9875
9905
|
# A list of tags.
|
@@ -9899,8 +9929,8 @@ module Aws::RDS
|
|
9899
9929
|
# * If the DB cluster is not encrypted, then the restored DB cluster is
|
9900
9930
|
# not encrypted.
|
9901
9931
|
#
|
9902
|
-
# If `DBClusterIdentifier` refers to a DB cluster that is
|
9903
|
-
#
|
9932
|
+
# If `DBClusterIdentifier` refers to a DB cluster that is not encrypted,
|
9933
|
+
# then the restore request is rejected.
|
9904
9934
|
#
|
9905
9935
|
# @option params [Boolean] :enable_iam_database_authentication
|
9906
9936
|
# A Boolean value that is true to enable mapping of AWS Identity and
|
@@ -9917,6 +9947,7 @@ module Aws::RDS
|
|
9917
9947
|
#
|
9918
9948
|
# resp = client.restore_db_cluster_to_point_in_time({
|
9919
9949
|
# db_cluster_identifier: "String", # required
|
9950
|
+
# restore_type: "String",
|
9920
9951
|
# source_db_cluster_identifier: "String", # required
|
9921
9952
|
# restore_to_time: Time.now,
|
9922
9953
|
# use_latest_restorable_time: false,
|
@@ -9981,6 +10012,7 @@ module Aws::RDS
|
|
9981
10012
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
9982
10013
|
# resp.db_cluster.associated_roles[0].status #=> String
|
9983
10014
|
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
|
10015
|
+
# resp.db_cluster.clone_group_id #=> String
|
9984
10016
|
# resp.db_cluster.cluster_create_time #=> Time
|
9985
10017
|
#
|
9986
10018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation
|
@@ -10783,6 +10815,251 @@ module Aws::RDS
|
|
10783
10815
|
req.send_request(options)
|
10784
10816
|
end
|
10785
10817
|
|
10818
|
+
# Starts a DB instance that was stopped using the AWS console, the
|
10819
|
+
# stop-db-instance AWS CLI command, or the StopDBInstance action. For
|
10820
|
+
# more information, see Stopping and Starting a DB instance in the AWS
|
10821
|
+
# RDS user guide.
|
10822
|
+
#
|
10823
|
+
# @option params [required, String] :db_instance_identifier
|
10824
|
+
# The user-supplied instance identifier.
|
10825
|
+
#
|
10826
|
+
# @return [Types::StartDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10827
|
+
#
|
10828
|
+
# * {Types::StartDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
10829
|
+
#
|
10830
|
+
# @example Request syntax with placeholder values
|
10831
|
+
#
|
10832
|
+
# resp = client.start_db_instance({
|
10833
|
+
# db_instance_identifier: "String", # required
|
10834
|
+
# })
|
10835
|
+
#
|
10836
|
+
# @example Response structure
|
10837
|
+
#
|
10838
|
+
# resp.db_instance.db_instance_identifier #=> String
|
10839
|
+
# resp.db_instance.db_instance_class #=> String
|
10840
|
+
# resp.db_instance.engine #=> String
|
10841
|
+
# resp.db_instance.db_instance_status #=> String
|
10842
|
+
# resp.db_instance.master_username #=> String
|
10843
|
+
# resp.db_instance.db_name #=> String
|
10844
|
+
# resp.db_instance.endpoint.address #=> String
|
10845
|
+
# resp.db_instance.endpoint.port #=> Integer
|
10846
|
+
# resp.db_instance.endpoint.hosted_zone_id #=> String
|
10847
|
+
# resp.db_instance.allocated_storage #=> Integer
|
10848
|
+
# resp.db_instance.instance_create_time #=> Time
|
10849
|
+
# resp.db_instance.preferred_backup_window #=> String
|
10850
|
+
# resp.db_instance.backup_retention_period #=> Integer
|
10851
|
+
# resp.db_instance.db_security_groups #=> Array
|
10852
|
+
# resp.db_instance.db_security_groups[0].db_security_group_name #=> String
|
10853
|
+
# resp.db_instance.db_security_groups[0].status #=> String
|
10854
|
+
# resp.db_instance.vpc_security_groups #=> Array
|
10855
|
+
# resp.db_instance.vpc_security_groups[0].vpc_security_group_id #=> String
|
10856
|
+
# resp.db_instance.vpc_security_groups[0].status #=> String
|
10857
|
+
# resp.db_instance.db_parameter_groups #=> Array
|
10858
|
+
# resp.db_instance.db_parameter_groups[0].db_parameter_group_name #=> String
|
10859
|
+
# resp.db_instance.db_parameter_groups[0].parameter_apply_status #=> String
|
10860
|
+
# resp.db_instance.availability_zone #=> String
|
10861
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_name #=> String
|
10862
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_description #=> String
|
10863
|
+
# resp.db_instance.db_subnet_group.vpc_id #=> String
|
10864
|
+
# resp.db_instance.db_subnet_group.subnet_group_status #=> String
|
10865
|
+
# resp.db_instance.db_subnet_group.subnets #=> Array
|
10866
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_identifier #=> String
|
10867
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_availability_zone.name #=> String
|
10868
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_status #=> String
|
10869
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_arn #=> String
|
10870
|
+
# resp.db_instance.preferred_maintenance_window #=> String
|
10871
|
+
# resp.db_instance.pending_modified_values.db_instance_class #=> String
|
10872
|
+
# resp.db_instance.pending_modified_values.allocated_storage #=> Integer
|
10873
|
+
# resp.db_instance.pending_modified_values.master_user_password #=> String
|
10874
|
+
# resp.db_instance.pending_modified_values.port #=> Integer
|
10875
|
+
# resp.db_instance.pending_modified_values.backup_retention_period #=> Integer
|
10876
|
+
# resp.db_instance.pending_modified_values.multi_az #=> Boolean
|
10877
|
+
# resp.db_instance.pending_modified_values.engine_version #=> String
|
10878
|
+
# resp.db_instance.pending_modified_values.license_model #=> String
|
10879
|
+
# resp.db_instance.pending_modified_values.iops #=> Integer
|
10880
|
+
# resp.db_instance.pending_modified_values.db_instance_identifier #=> String
|
10881
|
+
# resp.db_instance.pending_modified_values.storage_type #=> String
|
10882
|
+
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
10883
|
+
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
10884
|
+
# resp.db_instance.latest_restorable_time #=> Time
|
10885
|
+
# resp.db_instance.multi_az #=> Boolean
|
10886
|
+
# resp.db_instance.engine_version #=> String
|
10887
|
+
# resp.db_instance.auto_minor_version_upgrade #=> Boolean
|
10888
|
+
# resp.db_instance.read_replica_source_db_instance_identifier #=> String
|
10889
|
+
# resp.db_instance.read_replica_db_instance_identifiers #=> Array
|
10890
|
+
# resp.db_instance.read_replica_db_instance_identifiers[0] #=> String
|
10891
|
+
# resp.db_instance.read_replica_db_cluster_identifiers #=> Array
|
10892
|
+
# resp.db_instance.read_replica_db_cluster_identifiers[0] #=> String
|
10893
|
+
# resp.db_instance.license_model #=> String
|
10894
|
+
# resp.db_instance.iops #=> Integer
|
10895
|
+
# resp.db_instance.option_group_memberships #=> Array
|
10896
|
+
# resp.db_instance.option_group_memberships[0].option_group_name #=> String
|
10897
|
+
# resp.db_instance.option_group_memberships[0].status #=> String
|
10898
|
+
# resp.db_instance.character_set_name #=> String
|
10899
|
+
# resp.db_instance.secondary_availability_zone #=> String
|
10900
|
+
# resp.db_instance.publicly_accessible #=> Boolean
|
10901
|
+
# resp.db_instance.status_infos #=> Array
|
10902
|
+
# resp.db_instance.status_infos[0].status_type #=> String
|
10903
|
+
# resp.db_instance.status_infos[0].normal #=> Boolean
|
10904
|
+
# resp.db_instance.status_infos[0].status #=> String
|
10905
|
+
# resp.db_instance.status_infos[0].message #=> String
|
10906
|
+
# resp.db_instance.storage_type #=> String
|
10907
|
+
# resp.db_instance.tde_credential_arn #=> String
|
10908
|
+
# resp.db_instance.db_instance_port #=> Integer
|
10909
|
+
# resp.db_instance.db_cluster_identifier #=> String
|
10910
|
+
# resp.db_instance.storage_encrypted #=> Boolean
|
10911
|
+
# resp.db_instance.kms_key_id #=> String
|
10912
|
+
# resp.db_instance.dbi_resource_id #=> String
|
10913
|
+
# resp.db_instance.ca_certificate_identifier #=> String
|
10914
|
+
# resp.db_instance.domain_memberships #=> Array
|
10915
|
+
# resp.db_instance.domain_memberships[0].domain #=> String
|
10916
|
+
# resp.db_instance.domain_memberships[0].status #=> String
|
10917
|
+
# resp.db_instance.domain_memberships[0].fqdn #=> String
|
10918
|
+
# resp.db_instance.domain_memberships[0].iam_role_name #=> String
|
10919
|
+
# resp.db_instance.copy_tags_to_snapshot #=> Boolean
|
10920
|
+
# resp.db_instance.monitoring_interval #=> Integer
|
10921
|
+
# resp.db_instance.enhanced_monitoring_resource_arn #=> String
|
10922
|
+
# resp.db_instance.monitoring_role_arn #=> String
|
10923
|
+
# resp.db_instance.promotion_tier #=> Integer
|
10924
|
+
# resp.db_instance.db_instance_arn #=> String
|
10925
|
+
# resp.db_instance.timezone #=> String
|
10926
|
+
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
10927
|
+
#
|
10928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
10929
|
+
#
|
10930
|
+
# @overload start_db_instance(params = {})
|
10931
|
+
# @param [Hash] params ({})
|
10932
|
+
def start_db_instance(params = {}, options = {})
|
10933
|
+
req = build_request(:start_db_instance, params)
|
10934
|
+
req.send_request(options)
|
10935
|
+
end
|
10936
|
+
|
10937
|
+
# Stops a DB instance. When you stop a DB instance, Amazon RDS retains
|
10938
|
+
# the DB instance's metadata, including its endpoint, DB parameter
|
10939
|
+
# group, and option group membership. Amazon RDS also retains the
|
10940
|
+
# transaction logs so you can do a point-in-time restore if necessary.
|
10941
|
+
# For more information, see Stopping and Starting a DB instance in the
|
10942
|
+
# AWS RDS user guide.
|
10943
|
+
#
|
10944
|
+
# @option params [required, String] :db_instance_identifier
|
10945
|
+
# The user-supplied instance identifier.
|
10946
|
+
#
|
10947
|
+
# @option params [String] :db_snapshot_identifier
|
10948
|
+
# The user-supplied instance identifier of the DB Snapshot created
|
10949
|
+
# immediately before the DB instance is stopped.
|
10950
|
+
#
|
10951
|
+
# @return [Types::StopDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10952
|
+
#
|
10953
|
+
# * {Types::StopDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
10954
|
+
#
|
10955
|
+
# @example Request syntax with placeholder values
|
10956
|
+
#
|
10957
|
+
# resp = client.stop_db_instance({
|
10958
|
+
# db_instance_identifier: "String", # required
|
10959
|
+
# db_snapshot_identifier: "String",
|
10960
|
+
# })
|
10961
|
+
#
|
10962
|
+
# @example Response structure
|
10963
|
+
#
|
10964
|
+
# resp.db_instance.db_instance_identifier #=> String
|
10965
|
+
# resp.db_instance.db_instance_class #=> String
|
10966
|
+
# resp.db_instance.engine #=> String
|
10967
|
+
# resp.db_instance.db_instance_status #=> String
|
10968
|
+
# resp.db_instance.master_username #=> String
|
10969
|
+
# resp.db_instance.db_name #=> String
|
10970
|
+
# resp.db_instance.endpoint.address #=> String
|
10971
|
+
# resp.db_instance.endpoint.port #=> Integer
|
10972
|
+
# resp.db_instance.endpoint.hosted_zone_id #=> String
|
10973
|
+
# resp.db_instance.allocated_storage #=> Integer
|
10974
|
+
# resp.db_instance.instance_create_time #=> Time
|
10975
|
+
# resp.db_instance.preferred_backup_window #=> String
|
10976
|
+
# resp.db_instance.backup_retention_period #=> Integer
|
10977
|
+
# resp.db_instance.db_security_groups #=> Array
|
10978
|
+
# resp.db_instance.db_security_groups[0].db_security_group_name #=> String
|
10979
|
+
# resp.db_instance.db_security_groups[0].status #=> String
|
10980
|
+
# resp.db_instance.vpc_security_groups #=> Array
|
10981
|
+
# resp.db_instance.vpc_security_groups[0].vpc_security_group_id #=> String
|
10982
|
+
# resp.db_instance.vpc_security_groups[0].status #=> String
|
10983
|
+
# resp.db_instance.db_parameter_groups #=> Array
|
10984
|
+
# resp.db_instance.db_parameter_groups[0].db_parameter_group_name #=> String
|
10985
|
+
# resp.db_instance.db_parameter_groups[0].parameter_apply_status #=> String
|
10986
|
+
# resp.db_instance.availability_zone #=> String
|
10987
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_name #=> String
|
10988
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_description #=> String
|
10989
|
+
# resp.db_instance.db_subnet_group.vpc_id #=> String
|
10990
|
+
# resp.db_instance.db_subnet_group.subnet_group_status #=> String
|
10991
|
+
# resp.db_instance.db_subnet_group.subnets #=> Array
|
10992
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_identifier #=> String
|
10993
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_availability_zone.name #=> String
|
10994
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_status #=> String
|
10995
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_arn #=> String
|
10996
|
+
# resp.db_instance.preferred_maintenance_window #=> String
|
10997
|
+
# resp.db_instance.pending_modified_values.db_instance_class #=> String
|
10998
|
+
# resp.db_instance.pending_modified_values.allocated_storage #=> Integer
|
10999
|
+
# resp.db_instance.pending_modified_values.master_user_password #=> String
|
11000
|
+
# resp.db_instance.pending_modified_values.port #=> Integer
|
11001
|
+
# resp.db_instance.pending_modified_values.backup_retention_period #=> Integer
|
11002
|
+
# resp.db_instance.pending_modified_values.multi_az #=> Boolean
|
11003
|
+
# resp.db_instance.pending_modified_values.engine_version #=> String
|
11004
|
+
# resp.db_instance.pending_modified_values.license_model #=> String
|
11005
|
+
# resp.db_instance.pending_modified_values.iops #=> Integer
|
11006
|
+
# resp.db_instance.pending_modified_values.db_instance_identifier #=> String
|
11007
|
+
# resp.db_instance.pending_modified_values.storage_type #=> String
|
11008
|
+
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
11009
|
+
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
11010
|
+
# resp.db_instance.latest_restorable_time #=> Time
|
11011
|
+
# resp.db_instance.multi_az #=> Boolean
|
11012
|
+
# resp.db_instance.engine_version #=> String
|
11013
|
+
# resp.db_instance.auto_minor_version_upgrade #=> Boolean
|
11014
|
+
# resp.db_instance.read_replica_source_db_instance_identifier #=> String
|
11015
|
+
# resp.db_instance.read_replica_db_instance_identifiers #=> Array
|
11016
|
+
# resp.db_instance.read_replica_db_instance_identifiers[0] #=> String
|
11017
|
+
# resp.db_instance.read_replica_db_cluster_identifiers #=> Array
|
11018
|
+
# resp.db_instance.read_replica_db_cluster_identifiers[0] #=> String
|
11019
|
+
# resp.db_instance.license_model #=> String
|
11020
|
+
# resp.db_instance.iops #=> Integer
|
11021
|
+
# resp.db_instance.option_group_memberships #=> Array
|
11022
|
+
# resp.db_instance.option_group_memberships[0].option_group_name #=> String
|
11023
|
+
# resp.db_instance.option_group_memberships[0].status #=> String
|
11024
|
+
# resp.db_instance.character_set_name #=> String
|
11025
|
+
# resp.db_instance.secondary_availability_zone #=> String
|
11026
|
+
# resp.db_instance.publicly_accessible #=> Boolean
|
11027
|
+
# resp.db_instance.status_infos #=> Array
|
11028
|
+
# resp.db_instance.status_infos[0].status_type #=> String
|
11029
|
+
# resp.db_instance.status_infos[0].normal #=> Boolean
|
11030
|
+
# resp.db_instance.status_infos[0].status #=> String
|
11031
|
+
# resp.db_instance.status_infos[0].message #=> String
|
11032
|
+
# resp.db_instance.storage_type #=> String
|
11033
|
+
# resp.db_instance.tde_credential_arn #=> String
|
11034
|
+
# resp.db_instance.db_instance_port #=> Integer
|
11035
|
+
# resp.db_instance.db_cluster_identifier #=> String
|
11036
|
+
# resp.db_instance.storage_encrypted #=> Boolean
|
11037
|
+
# resp.db_instance.kms_key_id #=> String
|
11038
|
+
# resp.db_instance.dbi_resource_id #=> String
|
11039
|
+
# resp.db_instance.ca_certificate_identifier #=> String
|
11040
|
+
# resp.db_instance.domain_memberships #=> Array
|
11041
|
+
# resp.db_instance.domain_memberships[0].domain #=> String
|
11042
|
+
# resp.db_instance.domain_memberships[0].status #=> String
|
11043
|
+
# resp.db_instance.domain_memberships[0].fqdn #=> String
|
11044
|
+
# resp.db_instance.domain_memberships[0].iam_role_name #=> String
|
11045
|
+
# resp.db_instance.copy_tags_to_snapshot #=> Boolean
|
11046
|
+
# resp.db_instance.monitoring_interval #=> Integer
|
11047
|
+
# resp.db_instance.enhanced_monitoring_resource_arn #=> String
|
11048
|
+
# resp.db_instance.monitoring_role_arn #=> String
|
11049
|
+
# resp.db_instance.promotion_tier #=> Integer
|
11050
|
+
# resp.db_instance.db_instance_arn #=> String
|
11051
|
+
# resp.db_instance.timezone #=> String
|
11052
|
+
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
11053
|
+
#
|
11054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
11055
|
+
#
|
11056
|
+
# @overload stop_db_instance(params = {})
|
11057
|
+
# @param [Hash] params ({})
|
11058
|
+
def stop_db_instance(params = {}, options = {})
|
11059
|
+
req = build_request(:stop_db_instance, params)
|
11060
|
+
req.send_request(options)
|
11061
|
+
end
|
11062
|
+
|
10786
11063
|
# @!endgroup
|
10787
11064
|
|
10788
11065
|
# @param params ({})
|
@@ -10796,7 +11073,7 @@ module Aws::RDS
|
|
10796
11073
|
params: params,
|
10797
11074
|
config: config)
|
10798
11075
|
context[:gem_name] = 'aws-sdk-rds'
|
10799
|
-
context[:gem_version] = '1.0.0.
|
11076
|
+
context[:gem_version] = '1.0.0.rc10'
|
10800
11077
|
Seahorse::Client::Request.new(handlers, context)
|
10801
11078
|
end
|
10802
11079
|
|