aws-sdk-neptune 1.20.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa63a1d5fb48cf14b682361ffa263ce1ea54f896
4
- data.tar.gz: 5ee9cc9b65496f90875ad158d07d27ffc33eb68e
3
+ metadata.gz: 6dff0fd24543a5e24b8f9b2b374fff40a1eb11b9
4
+ data.tar.gz: c80ae0ca2584c4c466b5d72e036f36728efaa9f6
5
5
  SHA512:
6
- metadata.gz: 30acf6bc66e8202c1cf454857f8f3a3ad7fec93d40a312bb625890592de4a40d99391110a941d53217a18f645b58bf31735d766a07f8d4dd0cdf02df69bd2d41
7
- data.tar.gz: d6376c5b4c1e519d73809864f2dafa66bbfbe87c3611ae1231d74e101931ae7f30f4f031308c13a53eed099659fd85dbff277ab2db595d022c80d3d29fc5c70b
6
+ metadata.gz: 1a84dda5905873438781989b383b8c83915b3a79ff7529011434018901bd398edd0f406d2a2e4c1731775362075c8c389ce39581529fa92c252645c32ab5d5e4
7
+ data.tar.gz: 6dbaefd25813d65b3e65b1c9a6b5019344ded6752082d99107f4693c54903a4aac258890b00a8f8932ebf666f56fbc826f05345eeef299786778cf0122f0ad9b
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-neptune/customizations'
43
43
  # @service
44
44
  module Aws::Neptune
45
45
 
46
- GEM_VERSION = '1.20.0'
46
+ GEM_VERSION = '1.21.0'
47
47
 
48
48
  end
@@ -530,8 +530,6 @@ module Aws::Neptune
530
530
  # snapshot, `SourceDBClusterSnapshotIdentifier` must be the Amazon
531
531
  # Resource Name (ARN) of the shared DB cluster snapshot.
532
532
  #
533
- # You can't copy from one AWS Region to another.
534
- #
535
533
  # @option params [required, String] :source_db_cluster_snapshot_identifier
536
534
  # The identifier of the DB cluster snapshot to copy. This parameter is
537
535
  # not case-sensitive.
@@ -724,6 +722,12 @@ module Aws::Neptune
724
722
  # DB cluster as a Read Replica of another DB cluster or Amazon Neptune
725
723
  # DB instance.
726
724
  #
725
+ # Note that when you create a new cluster using `CreateDBCluster`
726
+ # directly, deletion protection is disabled by default (when you create
727
+ # a new production cluster in the console, deletion protection is
728
+ # enabled by default). You can only delete a DB cluster if its
729
+ # `DeletionProtection` field is set to `false`.
730
+ #
727
731
  # @option params [Array<String>] :availability_zones
728
732
  # A list of EC2 Availability Zones that instances in the DB cluster can
729
733
  # be created in.
@@ -919,7 +923,7 @@ module Aws::Neptune
919
923
  # @option params [Boolean] :deletion_protection
920
924
  # A value that indicates whether the DB cluster has deletion protection
921
925
  # enabled. The database can't be deleted when deletion protection is
922
- # enabled. By default, deletion protection is disabled.
926
+ # enabled. By default, deletion protection is enabled.
923
927
  #
924
928
  # @return [Types::CreateDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
925
929
  #
@@ -1473,12 +1477,15 @@ module Aws::Neptune
1473
1477
  # @option params [Boolean] :deletion_protection
1474
1478
  # A value that indicates whether the DB instance has deletion protection
1475
1479
  # enabled. The database can't be deleted when deletion protection is
1476
- # enabled. By default, deletion protection is disabled.
1480
+ # enabled. By default, deletion protection is disabled. See [Deleting a
1481
+ # DB Instance][1].
1482
+ #
1483
+ # DB instances in a DB cluster can be deleted even when deletion
1484
+ # protection is enabled in their parent DB cluster.
1485
+ #
1477
1486
  #
1478
- # You can enable or disable deletion protection for the DB cluster. For
1479
- # more information, see CreateDBCluster. DB instances in a DB cluster
1480
- # can be deleted even when deletion protection is enabled for the DB
1481
- # cluster.
1487
+ #
1488
+ # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html
1482
1489
  #
1483
1490
  # @return [Types::CreateDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1484
1491
  #
@@ -1918,6 +1925,10 @@ module Aws::Neptune
1918
1925
  # DB cluster are deleted and can't be recovered. Manual DB cluster
1919
1926
  # snapshots of the specified DB cluster are not deleted.
1920
1927
  #
1928
+ # Note that the DB Cluster cannot be deleted if deletion protection is
1929
+ # enabled. To delete it, you must first set its `DeletionProtection`
1930
+ # field to `False`.
1931
+ #
1921
1932
  # @option params [required, String] :db_cluster_identifier
1922
1933
  # The DB cluster identifier for the DB cluster to be deleted. This
1923
1934
  # parameter isn't case-sensitive.
@@ -2138,7 +2149,7 @@ module Aws::Neptune
2138
2149
  # `true`.
2139
2150
  #
2140
2151
  # You can't delete a DB instance if it is the only instance in the DB
2141
- # cluster.
2152
+ # cluster, or if it has deletion protection enabled.
2142
2153
  #
2143
2154
  # @option params [required, String] :db_instance_identifier
2144
2155
  # The DB instance identifier for the DB instance to be deleted. This
@@ -2767,9 +2778,14 @@ module Aws::Neptune
2767
2778
  req.send_request(options)
2768
2779
  end
2769
2780
 
2770
- # Returns information about provisioned DB clusters. This API supports
2781
+ # Returns information about provisioned DB clusters, and supports
2771
2782
  # pagination.
2772
2783
  #
2784
+ # <note markdown="1"> This operation can also return information for Amazon RDS clusters and
2785
+ # Amazon DocDB clusters.
2786
+ #
2787
+ # </note>
2788
+ #
2773
2789
  # @option params [String] :db_cluster_identifier
2774
2790
  # The user-supplied DB cluster identifier. If this parameter is
2775
2791
  # specified, information from only the specific DB cluster is returned.
@@ -2790,7 +2806,12 @@ module Aws::Neptune
2790
2806
  # Amazon Resource Names (ARNs). The results list will only include
2791
2807
  # information about the DB clusters identified by these ARNs.
2792
2808
  #
2793
- # ^
2809
+ # * `engine` - Accepts an engine name (such as `neptune`), and restricts
2810
+ # the results list to DB clusters created by that engine.
2811
+ #
2812
+ # For example, to invoke this API from the AWS CLI and filter so that
2813
+ # only Neptune DB clusters are returned, you could use the following
2814
+ # command:
2794
2815
  #
2795
2816
  # @option params [Integer] :max_records
2796
2817
  # The maximum number of records to include in the response. If more
@@ -3002,9 +3023,14 @@ module Aws::Neptune
3002
3023
  req.send_request(options)
3003
3024
  end
3004
3025
 
3005
- # Returns information about provisioned instances. This API supports
3026
+ # Returns information about provisioned instances, and supports
3006
3027
  # pagination.
3007
3028
  #
3029
+ # <note markdown="1"> This operation can also return information for Amazon RDS instances
3030
+ # and Amazon DocDB instances.
3031
+ #
3032
+ # </note>
3033
+ #
3008
3034
  # @option params [String] :db_instance_identifier
3009
3035
  # The user-supplied instance identifier. If this parameter is specified,
3010
3036
  # information from only the specific DB instance is returned. This
@@ -3026,9 +3052,12 @@ module Aws::Neptune
3026
3052
  # information about the DB instances associated with the DB clusters
3027
3053
  # identified by these ARNs.
3028
3054
  #
3029
- # * `db-instance-id` - Accepts DB instance identifiers and DB instance
3030
- # Amazon Resource Names (ARNs). The results list will only include
3031
- # information about the DB instances identified by these ARNs.
3055
+ # * `engine` - Accepts an engine name (such as `neptune`), and restricts
3056
+ # the results list to DB instances created by that engine.
3057
+ #
3058
+ # For example, to invoke this API from the AWS CLI and filter so that
3059
+ # only Neptune DB instances are returned, you could use the following
3060
+ # command:
3032
3061
  #
3033
3062
  # @option params [Integer] :max_records
3034
3063
  # The maximum number of records to include in the response. If more
@@ -4813,7 +4842,12 @@ module Aws::Neptune
4813
4842
  # @option params [Boolean] :deletion_protection
4814
4843
  # A value that indicates whether the DB instance has deletion protection
4815
4844
  # enabled. The database can't be deleted when deletion protection is
4816
- # enabled. By default, deletion protection is disabled.
4845
+ # enabled. By default, deletion protection is disabled. See [Deleting a
4846
+ # DB Instance][1].
4847
+ #
4848
+ #
4849
+ #
4850
+ # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html
4817
4851
  #
4818
4852
  # @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4819
4853
  #
@@ -6112,6 +6146,169 @@ module Aws::Neptune
6112
6146
  req.send_request(options)
6113
6147
  end
6114
6148
 
6149
+ # Starts an Amazon Neptune DB cluster that was stopped using the AWS
6150
+ # console, the AWS CLI stop-db-cluster command, or the StopDBCluster
6151
+ # API.
6152
+ #
6153
+ # @option params [required, String] :db_cluster_identifier
6154
+ # The DB cluster identifier of the Neptune DB cluster to be started.
6155
+ # This parameter is stored as a lowercase string.
6156
+ #
6157
+ # @return [Types::StartDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6158
+ #
6159
+ # * {Types::StartDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
6160
+ #
6161
+ # @example Request syntax with placeholder values
6162
+ #
6163
+ # resp = client.start_db_cluster({
6164
+ # db_cluster_identifier: "String", # required
6165
+ # })
6166
+ #
6167
+ # @example Response structure
6168
+ #
6169
+ # resp.db_cluster.allocated_storage #=> Integer
6170
+ # resp.db_cluster.availability_zones #=> Array
6171
+ # resp.db_cluster.availability_zones[0] #=> String
6172
+ # resp.db_cluster.backup_retention_period #=> Integer
6173
+ # resp.db_cluster.character_set_name #=> String
6174
+ # resp.db_cluster.database_name #=> String
6175
+ # resp.db_cluster.db_cluster_identifier #=> String
6176
+ # resp.db_cluster.db_cluster_parameter_group #=> String
6177
+ # resp.db_cluster.db_subnet_group #=> String
6178
+ # resp.db_cluster.status #=> String
6179
+ # resp.db_cluster.percent_progress #=> String
6180
+ # resp.db_cluster.earliest_restorable_time #=> Time
6181
+ # resp.db_cluster.endpoint #=> String
6182
+ # resp.db_cluster.reader_endpoint #=> String
6183
+ # resp.db_cluster.multi_az #=> Boolean
6184
+ # resp.db_cluster.engine #=> String
6185
+ # resp.db_cluster.engine_version #=> String
6186
+ # resp.db_cluster.latest_restorable_time #=> Time
6187
+ # resp.db_cluster.port #=> Integer
6188
+ # resp.db_cluster.master_username #=> String
6189
+ # resp.db_cluster.db_cluster_option_group_memberships #=> Array
6190
+ # resp.db_cluster.db_cluster_option_group_memberships[0].db_cluster_option_group_name #=> String
6191
+ # resp.db_cluster.db_cluster_option_group_memberships[0].status #=> String
6192
+ # resp.db_cluster.preferred_backup_window #=> String
6193
+ # resp.db_cluster.preferred_maintenance_window #=> String
6194
+ # resp.db_cluster.replication_source_identifier #=> String
6195
+ # resp.db_cluster.read_replica_identifiers #=> Array
6196
+ # resp.db_cluster.read_replica_identifiers[0] #=> String
6197
+ # resp.db_cluster.db_cluster_members #=> Array
6198
+ # resp.db_cluster.db_cluster_members[0].db_instance_identifier #=> String
6199
+ # resp.db_cluster.db_cluster_members[0].is_cluster_writer #=> Boolean
6200
+ # resp.db_cluster.db_cluster_members[0].db_cluster_parameter_group_status #=> String
6201
+ # resp.db_cluster.db_cluster_members[0].promotion_tier #=> Integer
6202
+ # resp.db_cluster.vpc_security_groups #=> Array
6203
+ # resp.db_cluster.vpc_security_groups[0].vpc_security_group_id #=> String
6204
+ # resp.db_cluster.vpc_security_groups[0].status #=> String
6205
+ # resp.db_cluster.hosted_zone_id #=> String
6206
+ # resp.db_cluster.storage_encrypted #=> Boolean
6207
+ # resp.db_cluster.kms_key_id #=> String
6208
+ # resp.db_cluster.db_cluster_resource_id #=> String
6209
+ # resp.db_cluster.db_cluster_arn #=> String
6210
+ # resp.db_cluster.associated_roles #=> Array
6211
+ # resp.db_cluster.associated_roles[0].role_arn #=> String
6212
+ # resp.db_cluster.associated_roles[0].status #=> String
6213
+ # resp.db_cluster.iam_database_authentication_enabled #=> Boolean
6214
+ # resp.db_cluster.clone_group_id #=> String
6215
+ # resp.db_cluster.cluster_create_time #=> Time
6216
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
6217
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
6218
+ # resp.db_cluster.deletion_protection #=> Boolean
6219
+ #
6220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StartDBCluster AWS API Documentation
6221
+ #
6222
+ # @overload start_db_cluster(params = {})
6223
+ # @param [Hash] params ({})
6224
+ def start_db_cluster(params = {}, options = {})
6225
+ req = build_request(:start_db_cluster, params)
6226
+ req.send_request(options)
6227
+ end
6228
+
6229
+ # Stops an Amazon Neptune DB cluster. When you stop a DB cluster,
6230
+ # Neptune retains the DB cluster's metadata, including its endpoints
6231
+ # and DB parameter groups.
6232
+ #
6233
+ # Neptune also retains the transaction logs so you can do a
6234
+ # point-in-time restore if necessary.
6235
+ #
6236
+ # @option params [required, String] :db_cluster_identifier
6237
+ # The DB cluster identifier of the Neptune DB cluster to be stopped.
6238
+ # This parameter is stored as a lowercase string.
6239
+ #
6240
+ # @return [Types::StopDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6241
+ #
6242
+ # * {Types::StopDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
6243
+ #
6244
+ # @example Request syntax with placeholder values
6245
+ #
6246
+ # resp = client.stop_db_cluster({
6247
+ # db_cluster_identifier: "String", # required
6248
+ # })
6249
+ #
6250
+ # @example Response structure
6251
+ #
6252
+ # resp.db_cluster.allocated_storage #=> Integer
6253
+ # resp.db_cluster.availability_zones #=> Array
6254
+ # resp.db_cluster.availability_zones[0] #=> String
6255
+ # resp.db_cluster.backup_retention_period #=> Integer
6256
+ # resp.db_cluster.character_set_name #=> String
6257
+ # resp.db_cluster.database_name #=> String
6258
+ # resp.db_cluster.db_cluster_identifier #=> String
6259
+ # resp.db_cluster.db_cluster_parameter_group #=> String
6260
+ # resp.db_cluster.db_subnet_group #=> String
6261
+ # resp.db_cluster.status #=> String
6262
+ # resp.db_cluster.percent_progress #=> String
6263
+ # resp.db_cluster.earliest_restorable_time #=> Time
6264
+ # resp.db_cluster.endpoint #=> String
6265
+ # resp.db_cluster.reader_endpoint #=> String
6266
+ # resp.db_cluster.multi_az #=> Boolean
6267
+ # resp.db_cluster.engine #=> String
6268
+ # resp.db_cluster.engine_version #=> String
6269
+ # resp.db_cluster.latest_restorable_time #=> Time
6270
+ # resp.db_cluster.port #=> Integer
6271
+ # resp.db_cluster.master_username #=> String
6272
+ # resp.db_cluster.db_cluster_option_group_memberships #=> Array
6273
+ # resp.db_cluster.db_cluster_option_group_memberships[0].db_cluster_option_group_name #=> String
6274
+ # resp.db_cluster.db_cluster_option_group_memberships[0].status #=> String
6275
+ # resp.db_cluster.preferred_backup_window #=> String
6276
+ # resp.db_cluster.preferred_maintenance_window #=> String
6277
+ # resp.db_cluster.replication_source_identifier #=> String
6278
+ # resp.db_cluster.read_replica_identifiers #=> Array
6279
+ # resp.db_cluster.read_replica_identifiers[0] #=> String
6280
+ # resp.db_cluster.db_cluster_members #=> Array
6281
+ # resp.db_cluster.db_cluster_members[0].db_instance_identifier #=> String
6282
+ # resp.db_cluster.db_cluster_members[0].is_cluster_writer #=> Boolean
6283
+ # resp.db_cluster.db_cluster_members[0].db_cluster_parameter_group_status #=> String
6284
+ # resp.db_cluster.db_cluster_members[0].promotion_tier #=> Integer
6285
+ # resp.db_cluster.vpc_security_groups #=> Array
6286
+ # resp.db_cluster.vpc_security_groups[0].vpc_security_group_id #=> String
6287
+ # resp.db_cluster.vpc_security_groups[0].status #=> String
6288
+ # resp.db_cluster.hosted_zone_id #=> String
6289
+ # resp.db_cluster.storage_encrypted #=> Boolean
6290
+ # resp.db_cluster.kms_key_id #=> String
6291
+ # resp.db_cluster.db_cluster_resource_id #=> String
6292
+ # resp.db_cluster.db_cluster_arn #=> String
6293
+ # resp.db_cluster.associated_roles #=> Array
6294
+ # resp.db_cluster.associated_roles[0].role_arn #=> String
6295
+ # resp.db_cluster.associated_roles[0].status #=> String
6296
+ # resp.db_cluster.iam_database_authentication_enabled #=> Boolean
6297
+ # resp.db_cluster.clone_group_id #=> String
6298
+ # resp.db_cluster.cluster_create_time #=> Time
6299
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
6300
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
6301
+ # resp.db_cluster.deletion_protection #=> Boolean
6302
+ #
6303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StopDBCluster AWS API Documentation
6304
+ #
6305
+ # @overload stop_db_cluster(params = {})
6306
+ # @param [Hash] params ({})
6307
+ def stop_db_cluster(params = {}, options = {})
6308
+ req = build_request(:stop_db_cluster, params)
6309
+ req.send_request(options)
6310
+ end
6311
+
6115
6312
  # @!endgroup
6116
6313
 
6117
6314
  # @param params ({})
@@ -6125,7 +6322,7 @@ module Aws::Neptune
6125
6322
  params: params,
6126
6323
  config: config)
6127
6324
  context[:gem_name] = 'aws-sdk-neptune'
6128
- context[:gem_version] = '1.20.0'
6325
+ context[:gem_version] = '1.21.0'
6129
6326
  Seahorse::Client::Request.new(handlers, context)
6130
6327
  end
6131
6328
 
@@ -248,6 +248,10 @@ module Aws::Neptune
248
248
  SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
249
249
  SourceNotFoundFault = Shapes::StructureShape.new(name: 'SourceNotFoundFault')
250
250
  SourceType = Shapes::StringShape.new(name: 'SourceType')
251
+ StartDBClusterMessage = Shapes::StructureShape.new(name: 'StartDBClusterMessage')
252
+ StartDBClusterResult = Shapes::StructureShape.new(name: 'StartDBClusterResult')
253
+ StopDBClusterMessage = Shapes::StructureShape.new(name: 'StopDBClusterMessage')
254
+ StopDBClusterResult = Shapes::StructureShape.new(name: 'StopDBClusterResult')
251
255
  StorageQuotaExceededFault = Shapes::StructureShape.new(name: 'StorageQuotaExceededFault')
252
256
  StorageTypeNotSupportedFault = Shapes::StructureShape.new(name: 'StorageTypeNotSupportedFault')
253
257
  String = Shapes::StringShape.new(name: 'String')
@@ -1263,6 +1267,18 @@ module Aws::Neptune
1263
1267
 
1264
1268
  SourceIdsList.member = Shapes::ShapeRef.new(shape: String, location_name: "SourceId")
1265
1269
 
1270
+ StartDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
1271
+ StartDBClusterMessage.struct_class = Types::StartDBClusterMessage
1272
+
1273
+ StartDBClusterResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
1274
+ StartDBClusterResult.struct_class = Types::StartDBClusterResult
1275
+
1276
+ StopDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
1277
+ StopDBClusterMessage.struct_class = Types::StopDBClusterMessage
1278
+
1279
+ StopDBClusterResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
1280
+ StopDBClusterResult.struct_class = Types::StopDBClusterResult
1281
+
1266
1282
  Subnet.add_member(:subnet_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier"))
1267
1283
  Subnet.add_member(:subnet_availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "SubnetAvailabilityZone"))
1268
1284
  Subnet.add_member(:subnet_status, Shapes::ShapeRef.new(shape: String, location_name: "SubnetStatus"))
@@ -2056,6 +2072,28 @@ module Aws::Neptune
2056
2072
  o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
2057
2073
  o.errors << Shapes::ShapeRef.new(shape: DBClusterParameterGroupNotFoundFault)
2058
2074
  end)
2075
+
2076
+ api.add_operation(:start_db_cluster, Seahorse::Model::Operation.new.tap do |o|
2077
+ o.name = "StartDBCluster"
2078
+ o.http_method = "POST"
2079
+ o.http_request_uri = "/"
2080
+ o.input = Shapes::ShapeRef.new(shape: StartDBClusterMessage)
2081
+ o.output = Shapes::ShapeRef.new(shape: StartDBClusterResult)
2082
+ o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
2083
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
2084
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
2085
+ end)
2086
+
2087
+ api.add_operation(:stop_db_cluster, Seahorse::Model::Operation.new.tap do |o|
2088
+ o.name = "StopDBCluster"
2089
+ o.http_method = "POST"
2090
+ o.http_request_uri = "/"
2091
+ o.input = Shapes::ShapeRef.new(shape: StopDBClusterMessage)
2092
+ o.output = Shapes::ShapeRef.new(shape: StopDBClusterResult)
2093
+ o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
2094
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
2095
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
2096
+ end)
2059
2097
  end
2060
2098
 
2061
2099
  end
@@ -772,7 +772,7 @@ module Aws::Neptune
772
772
  # @!attribute [rw] deletion_protection
773
773
  # A value that indicates whether the DB cluster has deletion
774
774
  # protection enabled. The database can't be deleted when deletion
775
- # protection is enabled. By default, deletion protection is disabled.
775
+ # protection is enabled. By default, deletion protection is enabled.
776
776
  # @return [Boolean]
777
777
  #
778
778
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterMessage AWS API Documentation
@@ -1336,11 +1336,14 @@ module Aws::Neptune
1336
1336
  # A value that indicates whether the DB instance has deletion
1337
1337
  # protection enabled. The database can't be deleted when deletion
1338
1338
  # protection is enabled. By default, deletion protection is disabled.
1339
+ # See [Deleting a DB Instance][1].
1340
+ #
1341
+ # DB instances in a DB cluster can be deleted even when deletion
1342
+ # protection is enabled in their parent DB cluster.
1343
+ #
1339
1344
  #
1340
- # You can enable or disable deletion protection for the DB cluster.
1341
- # For more information, see CreateDBCluster. DB instances in a DB
1342
- # cluster can be deleted even when deletion protection is enabled for
1343
- # the DB cluster.
1345
+ #
1346
+ # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html
1344
1347
  # @return [Boolean]
1345
1348
  #
1346
1349
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBInstanceMessage AWS API Documentation
@@ -1833,8 +1836,9 @@ module Aws::Neptune
1833
1836
  # @return [Array<String>]
1834
1837
  #
1835
1838
  # @!attribute [rw] deletion_protection
1836
- # Indicates if the DB cluster has deletion protection enabled. The
1837
- # database can't be deleted when deletion protection is enabled.
1839
+ # Indicates whether or not the DB cluster has deletion protection
1840
+ # enabled. The database can't be deleted when deletion protection is
1841
+ # enabled.
1838
1842
  # @return [Boolean]
1839
1843
  #
1840
1844
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DBCluster AWS API Documentation
@@ -2083,7 +2087,22 @@ module Aws::Neptune
2083
2087
  # @return [Array<String>]
2084
2088
  #
2085
2089
  # @!attribute [rw] db_cluster_snapshot_identifier
2086
- # Specifies the identifier for the DB cluster snapshot.
2090
+ # Specifies the identifier for a DB cluster snapshot. Must match the
2091
+ # identifier of an existing snapshot.
2092
+ #
2093
+ # After you restore a DB cluster using a
2094
+ # `DBClusterSnapshotIdentifier`, you must specify the same
2095
+ # `DBClusterSnapshotIdentifier` for any future updates to the DB
2096
+ # cluster. When you specify this property for an update, the DB
2097
+ # cluster is not restored from the snapshot again, and the data in the
2098
+ # database is not changed.
2099
+ #
2100
+ # However, if you don't specify the `DBClusterSnapshotIdentifier`, an
2101
+ # empty DB cluster is created, and the original DB cluster is deleted.
2102
+ # If you specify a property that is different from the previous
2103
+ # snapshot restore property, the DB cluster is restored from the
2104
+ # snapshot specified by the `DBClusterSnapshotIdentifier`, and the
2105
+ # original DB cluster is deleted.
2087
2106
  # @return [String]
2088
2107
  #
2089
2108
  # @!attribute [rw] db_cluster_identifier
@@ -2616,8 +2635,13 @@ module Aws::Neptune
2616
2635
  # @return [Array<String>]
2617
2636
  #
2618
2637
  # @!attribute [rw] deletion_protection
2619
- # Indicates if the DB instance has deletion protection enabled. The
2620
- # database can't be deleted when deletion protection is enabled.
2638
+ # Indicates whether or not the DB instance has deletion protection
2639
+ # enabled. The instance can't be deleted when deletion protection is
2640
+ # enabled. See [Deleting a DB Instance][1].
2641
+ #
2642
+ #
2643
+ #
2644
+ # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html
2621
2645
  # @return [Boolean]
2622
2646
  #
2623
2647
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DBInstance AWS API Documentation
@@ -3547,7 +3571,12 @@ module Aws::Neptune
3547
3571
  # Amazon Resource Names (ARNs). The results list will only include
3548
3572
  # information about the DB clusters identified by these ARNs.
3549
3573
  #
3550
- # ^
3574
+ # * `engine` - Accepts an engine name (such as `neptune`), and
3575
+ # restricts the results list to DB clusters created by that engine.
3576
+ #
3577
+ # For example, to invoke this API from the AWS CLI and filter so that
3578
+ # only Neptune DB clusters are returned, you could use the following
3579
+ # command:
3551
3580
  # @return [Array<Types::Filter>]
3552
3581
  #
3553
3582
  # @!attribute [rw] max_records
@@ -3709,9 +3738,12 @@ module Aws::Neptune
3709
3738
  # information about the DB instances associated with the DB clusters
3710
3739
  # identified by these ARNs.
3711
3740
  #
3712
- # * `db-instance-id` - Accepts DB instance identifiers and DB instance
3713
- # Amazon Resource Names (ARNs). The results list will only include
3714
- # information about the DB instances identified by these ARNs.
3741
+ # * `engine` - Accepts an engine name (such as `neptune`), and
3742
+ # restricts the results list to DB instances created by that engine.
3743
+ #
3744
+ # For example, to invoke this API from the AWS CLI and filter so that
3745
+ # only Neptune DB instances are returned, you could use the following
3746
+ # command:
3715
3747
  # @return [Array<Types::Filter>]
3716
3748
  #
3717
3749
  # @!attribute [rw] max_records
@@ -5502,6 +5534,11 @@ module Aws::Neptune
5502
5534
  # A value that indicates whether the DB instance has deletion
5503
5535
  # protection enabled. The database can't be deleted when deletion
5504
5536
  # protection is enabled. By default, deletion protection is disabled.
5537
+ # See [Deleting a DB Instance][1].
5538
+ #
5539
+ #
5540
+ #
5541
+ # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html
5505
5542
  # @return [Boolean]
5506
5543
  #
5507
5544
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBInstanceMessage AWS API Documentation
@@ -6885,6 +6922,72 @@ module Aws::Neptune
6885
6922
  include Aws::Structure
6886
6923
  end
6887
6924
 
6925
+ # @note When making an API call, you may pass StartDBClusterMessage
6926
+ # data as a hash:
6927
+ #
6928
+ # {
6929
+ # db_cluster_identifier: "String", # required
6930
+ # }
6931
+ #
6932
+ # @!attribute [rw] db_cluster_identifier
6933
+ # The DB cluster identifier of the Neptune DB cluster to be started.
6934
+ # This parameter is stored as a lowercase string.
6935
+ # @return [String]
6936
+ #
6937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StartDBClusterMessage AWS API Documentation
6938
+ #
6939
+ class StartDBClusterMessage < Struct.new(
6940
+ :db_cluster_identifier)
6941
+ include Aws::Structure
6942
+ end
6943
+
6944
+ # @!attribute [rw] db_cluster
6945
+ # Contains the details of an Amazon Neptune DB cluster.
6946
+ #
6947
+ # This data type is used as a response element in the
6948
+ # DescribeDBClusters action.
6949
+ # @return [Types::DBCluster]
6950
+ #
6951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StartDBClusterResult AWS API Documentation
6952
+ #
6953
+ class StartDBClusterResult < Struct.new(
6954
+ :db_cluster)
6955
+ include Aws::Structure
6956
+ end
6957
+
6958
+ # @note When making an API call, you may pass StopDBClusterMessage
6959
+ # data as a hash:
6960
+ #
6961
+ # {
6962
+ # db_cluster_identifier: "String", # required
6963
+ # }
6964
+ #
6965
+ # @!attribute [rw] db_cluster_identifier
6966
+ # The DB cluster identifier of the Neptune DB cluster to be stopped.
6967
+ # This parameter is stored as a lowercase string.
6968
+ # @return [String]
6969
+ #
6970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StopDBClusterMessage AWS API Documentation
6971
+ #
6972
+ class StopDBClusterMessage < Struct.new(
6973
+ :db_cluster_identifier)
6974
+ include Aws::Structure
6975
+ end
6976
+
6977
+ # @!attribute [rw] db_cluster
6978
+ # Contains the details of an Amazon Neptune DB cluster.
6979
+ #
6980
+ # This data type is used as a response element in the
6981
+ # DescribeDBClusters action.
6982
+ # @return [Types::DBCluster]
6983
+ #
6984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StopDBClusterResult AWS API Documentation
6985
+ #
6986
+ class StopDBClusterResult < Struct.new(
6987
+ :db_cluster)
6988
+ include Aws::Structure
6989
+ end
6990
+
6888
6991
  # Specifies a subnet.
6889
6992
  #
6890
6993
  # This data type is used as a response element in the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-neptune
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-17 00:00:00.000000000 Z
11
+ date: 2020-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core