aws-sdk-neptune 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptune/client.rb +79 -1
- data/lib/aws-sdk-neptune/client_api.rb +21 -0
- data/lib/aws-sdk-neptune/types.rb +152 -4
- data/lib/aws-sdk-neptune.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd59afee73f4c2879b3a19d1b8c7f4d538fb875530e7c87aa3dcbec4b0c53ddd
|
4
|
+
data.tar.gz: 53fdc94e6011fb9a6e983b4f4903ba7f1a38a07efce4ba4e4924afdd9ba87984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eadba1823e5cb0d818933f229d41791e01b3687aae30be0139fbcd207e9e0e02d8f7b71ebee4ec9a074554df11837dc6d51e692e8d1870c201ce86131aa3f263
|
7
|
+
data.tar.gz: 549aeee329e3b27af070b1d755a75476e54daba13f0312dda597758e9e3e7b251dabab91bccd3424dcd000d1257d35380feb8c0c261a4bb5422d47a56983d909
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -1044,6 +1044,16 @@ module Aws::Neptune
|
|
1044
1044
|
# enabled. The database can't be deleted when deletion protection is
|
1045
1045
|
# enabled. By default, deletion protection is enabled.
|
1046
1046
|
#
|
1047
|
+
# @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
1048
|
+
# Contains the scaling configuration of a Neptune Serverless DB cluster.
|
1049
|
+
#
|
1050
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in the
|
1051
|
+
# *Amazon Neptune User Guide*.
|
1052
|
+
#
|
1053
|
+
#
|
1054
|
+
#
|
1055
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
1056
|
+
#
|
1047
1057
|
# @option params [String] :global_cluster_identifier
|
1048
1058
|
# The ID of the Neptune global database to which this new DB cluster
|
1049
1059
|
# should be added.
|
@@ -1089,6 +1099,10 @@ module Aws::Neptune
|
|
1089
1099
|
# enable_iam_database_authentication: false,
|
1090
1100
|
# enable_cloudwatch_logs_exports: ["String"],
|
1091
1101
|
# deletion_protection: false,
|
1102
|
+
# serverless_v2_scaling_configuration: {
|
1103
|
+
# min_capacity: 1.0,
|
1104
|
+
# max_capacity: 1.0,
|
1105
|
+
# },
|
1092
1106
|
# global_cluster_identifier: "GlobalClusterIdentifier",
|
1093
1107
|
# source_region: "String",
|
1094
1108
|
# })
|
@@ -1149,6 +1163,8 @@ module Aws::Neptune
|
|
1149
1163
|
# resp.db_cluster.deletion_protection #=> Boolean
|
1150
1164
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
1151
1165
|
# resp.db_cluster.automatic_restart_time #=> Time
|
1166
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
1167
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
1152
1168
|
#
|
1153
1169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBCluster AWS API Documentation
|
1154
1170
|
#
|
@@ -2313,6 +2329,8 @@ module Aws::Neptune
|
|
2313
2329
|
# resp.db_cluster.deletion_protection #=> Boolean
|
2314
2330
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
2315
2331
|
# resp.db_cluster.automatic_restart_time #=> Time
|
2332
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
2333
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
2316
2334
|
#
|
2317
2335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBCluster AWS API Documentation
|
2318
2336
|
#
|
@@ -3378,6 +3396,8 @@ module Aws::Neptune
|
|
3378
3396
|
# resp.db_clusters[0].deletion_protection #=> Boolean
|
3379
3397
|
# resp.db_clusters[0].cross_account_clone #=> Boolean
|
3380
3398
|
# resp.db_clusters[0].automatic_restart_time #=> Time
|
3399
|
+
# resp.db_clusters[0].serverless_v2_scaling_configuration.min_capacity #=> Float
|
3400
|
+
# resp.db_clusters[0].serverless_v2_scaling_configuration.max_capacity #=> Float
|
3381
3401
|
#
|
3382
3402
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusters AWS API Documentation
|
3383
3403
|
#
|
@@ -4346,6 +4366,8 @@ module Aws::Neptune
|
|
4346
4366
|
# * {Types::GlobalClustersMessage#marker #marker} => String
|
4347
4367
|
# * {Types::GlobalClustersMessage#global_clusters #global_clusters} => Array<Types::GlobalCluster>
|
4348
4368
|
#
|
4369
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4370
|
+
#
|
4349
4371
|
# @example Request syntax with placeholder values
|
4350
4372
|
#
|
4351
4373
|
# resp = client.describe_global_clusters({
|
@@ -4701,6 +4723,8 @@ module Aws::Neptune
|
|
4701
4723
|
# resp.db_cluster.deletion_protection #=> Boolean
|
4702
4724
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
4703
4725
|
# resp.db_cluster.automatic_restart_time #=> Time
|
4726
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
4727
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
4704
4728
|
#
|
4705
4729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverDBCluster AWS API Documentation
|
4706
4730
|
#
|
@@ -4990,6 +5014,16 @@ module Aws::Neptune
|
|
4990
5014
|
# *If set to `true`, tags are copied to any snapshot of the DB cluster
|
4991
5015
|
# that is created.*
|
4992
5016
|
#
|
5017
|
+
# @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
5018
|
+
# Contains the scaling configuration of a Neptune Serverless DB cluster.
|
5019
|
+
#
|
5020
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in the
|
5021
|
+
# *Amazon Neptune User Guide*.
|
5022
|
+
#
|
5023
|
+
#
|
5024
|
+
#
|
5025
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
5026
|
+
#
|
4993
5027
|
# @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4994
5028
|
#
|
4995
5029
|
# * {Types::ModifyDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -5018,6 +5052,10 @@ module Aws::Neptune
|
|
5018
5052
|
# db_instance_parameter_group_name: "String",
|
5019
5053
|
# deletion_protection: false,
|
5020
5054
|
# copy_tags_to_snapshot: false,
|
5055
|
+
# serverless_v2_scaling_configuration: {
|
5056
|
+
# min_capacity: 1.0,
|
5057
|
+
# max_capacity: 1.0,
|
5058
|
+
# },
|
5021
5059
|
# })
|
5022
5060
|
#
|
5023
5061
|
# @example Response structure
|
@@ -5076,6 +5114,8 @@ module Aws::Neptune
|
|
5076
5114
|
# resp.db_cluster.deletion_protection #=> Boolean
|
5077
5115
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
5078
5116
|
# resp.db_cluster.automatic_restart_time #=> Time
|
5117
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
5118
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
5079
5119
|
#
|
5080
5120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBCluster AWS API Documentation
|
5081
5121
|
#
|
@@ -6124,6 +6164,8 @@ module Aws::Neptune
|
|
6124
6164
|
# resp.db_cluster.deletion_protection #=> Boolean
|
6125
6165
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
6126
6166
|
# resp.db_cluster.automatic_restart_time #=> Time
|
6167
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
6168
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
6127
6169
|
#
|
6128
6170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation
|
6129
6171
|
#
|
@@ -6712,6 +6754,16 @@ module Aws::Neptune
|
|
6712
6754
|
# *If set to `true`, tags are copied to any snapshot of the restored DB
|
6713
6755
|
# cluster that is created.*
|
6714
6756
|
#
|
6757
|
+
# @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
6758
|
+
# Contains the scaling configuration of a Neptune Serverless DB cluster.
|
6759
|
+
#
|
6760
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in the
|
6761
|
+
# *Amazon Neptune User Guide*.
|
6762
|
+
#
|
6763
|
+
#
|
6764
|
+
#
|
6765
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
6766
|
+
#
|
6715
6767
|
# @return [Types::RestoreDBClusterFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6716
6768
|
#
|
6717
6769
|
# * {Types::RestoreDBClusterFromSnapshotResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -6741,6 +6793,10 @@ module Aws::Neptune
|
|
6741
6793
|
# db_cluster_parameter_group_name: "String",
|
6742
6794
|
# deletion_protection: false,
|
6743
6795
|
# copy_tags_to_snapshot: false,
|
6796
|
+
# serverless_v2_scaling_configuration: {
|
6797
|
+
# min_capacity: 1.0,
|
6798
|
+
# max_capacity: 1.0,
|
6799
|
+
# },
|
6744
6800
|
# })
|
6745
6801
|
#
|
6746
6802
|
# @example Response structure
|
@@ -6799,6 +6855,8 @@ module Aws::Neptune
|
|
6799
6855
|
# resp.db_cluster.deletion_protection #=> Boolean
|
6800
6856
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
6801
6857
|
# resp.db_cluster.automatic_restart_time #=> Time
|
6858
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
6859
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
6802
6860
|
#
|
6803
6861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation
|
6804
6862
|
#
|
@@ -6964,6 +7022,16 @@ module Aws::Neptune
|
|
6964
7022
|
# enabled. The database can't be deleted when deletion protection is
|
6965
7023
|
# enabled. By default, deletion protection is disabled.
|
6966
7024
|
#
|
7025
|
+
# @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
7026
|
+
# Contains the scaling configuration of a Neptune Serverless DB cluster.
|
7027
|
+
#
|
7028
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in the
|
7029
|
+
# *Amazon Neptune User Guide*.
|
7030
|
+
#
|
7031
|
+
#
|
7032
|
+
#
|
7033
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
7034
|
+
#
|
6967
7035
|
# @return [Types::RestoreDBClusterToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6968
7036
|
#
|
6969
7037
|
# * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -6991,6 +7059,10 @@ module Aws::Neptune
|
|
6991
7059
|
# enable_cloudwatch_logs_exports: ["String"],
|
6992
7060
|
# db_cluster_parameter_group_name: "String",
|
6993
7061
|
# deletion_protection: false,
|
7062
|
+
# serverless_v2_scaling_configuration: {
|
7063
|
+
# min_capacity: 1.0,
|
7064
|
+
# max_capacity: 1.0,
|
7065
|
+
# },
|
6994
7066
|
# })
|
6995
7067
|
#
|
6996
7068
|
# @example Response structure
|
@@ -7049,6 +7121,8 @@ module Aws::Neptune
|
|
7049
7121
|
# resp.db_cluster.deletion_protection #=> Boolean
|
7050
7122
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
7051
7123
|
# resp.db_cluster.automatic_restart_time #=> Time
|
7124
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
7125
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
7052
7126
|
#
|
7053
7127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation
|
7054
7128
|
#
|
@@ -7133,6 +7207,8 @@ module Aws::Neptune
|
|
7133
7207
|
# resp.db_cluster.deletion_protection #=> Boolean
|
7134
7208
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
7135
7209
|
# resp.db_cluster.automatic_restart_time #=> Time
|
7210
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
7211
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
7136
7212
|
#
|
7137
7213
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StartDBCluster AWS API Documentation
|
7138
7214
|
#
|
@@ -7220,6 +7296,8 @@ module Aws::Neptune
|
|
7220
7296
|
# resp.db_cluster.deletion_protection #=> Boolean
|
7221
7297
|
# resp.db_cluster.cross_account_clone #=> Boolean
|
7222
7298
|
# resp.db_cluster.automatic_restart_time #=> Time
|
7299
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
7300
|
+
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
7223
7301
|
#
|
7224
7302
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StopDBCluster AWS API Documentation
|
7225
7303
|
#
|
@@ -7243,7 +7321,7 @@ module Aws::Neptune
|
|
7243
7321
|
params: params,
|
7244
7322
|
config: config)
|
7245
7323
|
context[:gem_name] = 'aws-sdk-neptune'
|
7246
|
-
context[:gem_version] = '1.
|
7324
|
+
context[:gem_version] = '1.48.0'
|
7247
7325
|
Seahorse::Client::Request.new(handlers, context)
|
7248
7326
|
end
|
7249
7327
|
|
@@ -281,6 +281,8 @@ module Aws::Neptune
|
|
281
281
|
SNSInvalidTopicFault = Shapes::StructureShape.new(name: 'SNSInvalidTopicFault')
|
282
282
|
SNSNoAuthorizationFault = Shapes::StructureShape.new(name: 'SNSNoAuthorizationFault')
|
283
283
|
SNSTopicArnNotFoundFault = Shapes::StructureShape.new(name: 'SNSTopicArnNotFoundFault')
|
284
|
+
ServerlessV2ScalingConfiguration = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfiguration')
|
285
|
+
ServerlessV2ScalingConfigurationInfo = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfigurationInfo')
|
284
286
|
SharedSnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SharedSnapshotQuotaExceededFault')
|
285
287
|
SnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SnapshotQuotaExceededFault')
|
286
288
|
SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
|
@@ -437,6 +439,7 @@ module Aws::Neptune
|
|
437
439
|
CreateDBClusterMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
438
440
|
CreateDBClusterMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
439
441
|
CreateDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
442
|
+
CreateDBClusterMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
|
440
443
|
CreateDBClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
|
441
444
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
442
445
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
@@ -590,6 +593,7 @@ module Aws::Neptune
|
|
590
593
|
DBCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
591
594
|
DBCluster.add_member(:cross_account_clone, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CrossAccountClone"))
|
592
595
|
DBCluster.add_member(:automatic_restart_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "AutomaticRestartTime"))
|
596
|
+
DBCluster.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfigurationInfo, location_name: "ServerlessV2ScalingConfiguration"))
|
593
597
|
DBCluster.struct_class = Types::DBCluster
|
594
598
|
|
595
599
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
@@ -1290,6 +1294,7 @@ module Aws::Neptune
|
|
1290
1294
|
ModifyDBClusterMessage.add_member(:db_instance_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceParameterGroupName"))
|
1291
1295
|
ModifyDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1292
1296
|
ModifyDBClusterMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
1297
|
+
ModifyDBClusterMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
|
1293
1298
|
ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
|
1294
1299
|
|
1295
1300
|
ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -1555,6 +1560,7 @@ module Aws::Neptune
|
|
1555
1560
|
RestoreDBClusterFromSnapshotMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
|
1556
1561
|
RestoreDBClusterFromSnapshotMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1557
1562
|
RestoreDBClusterFromSnapshotMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
1563
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
|
1558
1564
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
1559
1565
|
|
1560
1566
|
RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -1575,6 +1581,7 @@ module Aws::Neptune
|
|
1575
1581
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
1576
1582
|
RestoreDBClusterToPointInTimeMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
|
1577
1583
|
RestoreDBClusterToPointInTimeMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1584
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
|
1578
1585
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
1579
1586
|
|
1580
1587
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -1586,6 +1593,14 @@ module Aws::Neptune
|
|
1586
1593
|
|
1587
1594
|
SNSTopicArnNotFoundFault.struct_class = Types::SNSTopicArnNotFoundFault
|
1588
1595
|
|
1596
|
+
ServerlessV2ScalingConfiguration.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
|
1597
|
+
ServerlessV2ScalingConfiguration.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
|
1598
|
+
ServerlessV2ScalingConfiguration.struct_class = Types::ServerlessV2ScalingConfiguration
|
1599
|
+
|
1600
|
+
ServerlessV2ScalingConfigurationInfo.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
|
1601
|
+
ServerlessV2ScalingConfigurationInfo.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
|
1602
|
+
ServerlessV2ScalingConfigurationInfo.struct_class = Types::ServerlessV2ScalingConfigurationInfo
|
1603
|
+
|
1589
1604
|
SharedSnapshotQuotaExceededFault.struct_class = Types::SharedSnapshotQuotaExceededFault
|
1590
1605
|
|
1591
1606
|
SnapshotQuotaExceededFault.struct_class = Types::SnapshotQuotaExceededFault
|
@@ -2231,6 +2246,12 @@ module Aws::Neptune
|
|
2231
2246
|
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalClustersMessage)
|
2232
2247
|
o.output = Shapes::ShapeRef.new(shape: GlobalClustersMessage)
|
2233
2248
|
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2249
|
+
o[:pager] = Aws::Pager.new(
|
2250
|
+
limit_key: "max_records",
|
2251
|
+
tokens: {
|
2252
|
+
"marker" => "marker"
|
2253
|
+
}
|
2254
|
+
)
|
2234
2255
|
end)
|
2235
2256
|
|
2236
2257
|
api.add_operation(:describe_orderable_db_instance_options, Seahorse::Model::Operation.new.tap do |o|
|
@@ -745,6 +745,10 @@ module Aws::Neptune
|
|
745
745
|
# enable_iam_database_authentication: false,
|
746
746
|
# enable_cloudwatch_logs_exports: ["String"],
|
747
747
|
# deletion_protection: false,
|
748
|
+
# serverless_v2_scaling_configuration: {
|
749
|
+
# min_capacity: 1.0,
|
750
|
+
# max_capacity: 1.0,
|
751
|
+
# },
|
748
752
|
# global_cluster_identifier: "GlobalClusterIdentifier",
|
749
753
|
# source_region: "String",
|
750
754
|
# }
|
@@ -965,6 +969,18 @@ module Aws::Neptune
|
|
965
969
|
# protection is enabled. By default, deletion protection is enabled.
|
966
970
|
# @return [Boolean]
|
967
971
|
#
|
972
|
+
# @!attribute [rw] serverless_v2_scaling_configuration
|
973
|
+
# Contains the scaling configuration of a Neptune Serverless DB
|
974
|
+
# cluster.
|
975
|
+
#
|
976
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in
|
977
|
+
# the *Amazon Neptune User Guide*.
|
978
|
+
#
|
979
|
+
#
|
980
|
+
#
|
981
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
982
|
+
# @return [Types::ServerlessV2ScalingConfiguration]
|
983
|
+
#
|
968
984
|
# @!attribute [rw] global_cluster_identifier
|
969
985
|
# The ID of the Neptune global database to which this new DB cluster
|
970
986
|
# should be added.
|
@@ -1003,6 +1019,7 @@ module Aws::Neptune
|
|
1003
1019
|
:enable_iam_database_authentication,
|
1004
1020
|
:enable_cloudwatch_logs_exports,
|
1005
1021
|
:deletion_protection,
|
1022
|
+
:serverless_v2_scaling_configuration,
|
1006
1023
|
:global_cluster_identifier,
|
1007
1024
|
:source_region)
|
1008
1025
|
SENSITIVE = []
|
@@ -2131,6 +2148,17 @@ module Aws::Neptune
|
|
2131
2148
|
# Time at which the DB cluster will be automatically restarted.
|
2132
2149
|
# @return [Time]
|
2133
2150
|
#
|
2151
|
+
# @!attribute [rw] serverless_v2_scaling_configuration
|
2152
|
+
# Shows the scaling configuration for a Neptune Serverless DB cluster.
|
2153
|
+
#
|
2154
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in
|
2155
|
+
# the *Amazon Neptune User Guide*.
|
2156
|
+
#
|
2157
|
+
#
|
2158
|
+
#
|
2159
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
2160
|
+
# @return [Types::ServerlessV2ScalingConfigurationInfo]
|
2161
|
+
#
|
2134
2162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DBCluster AWS API Documentation
|
2135
2163
|
#
|
2136
2164
|
class DBCluster < Struct.new(
|
@@ -2173,7 +2201,8 @@ module Aws::Neptune
|
|
2173
2201
|
:enabled_cloudwatch_logs_exports,
|
2174
2202
|
:deletion_protection,
|
2175
2203
|
:cross_account_clone,
|
2176
|
-
:automatic_restart_time
|
2204
|
+
:automatic_restart_time,
|
2205
|
+
:serverless_v2_scaling_configuration)
|
2177
2206
|
SENSITIVE = []
|
2178
2207
|
include Aws::Structure
|
2179
2208
|
end
|
@@ -6231,6 +6260,10 @@ module Aws::Neptune
|
|
6231
6260
|
# db_instance_parameter_group_name: "String",
|
6232
6261
|
# deletion_protection: false,
|
6233
6262
|
# copy_tags_to_snapshot: false,
|
6263
|
+
# serverless_v2_scaling_configuration: {
|
6264
|
+
# min_capacity: 1.0,
|
6265
|
+
# max_capacity: 1.0,
|
6266
|
+
# },
|
6234
6267
|
# }
|
6235
6268
|
#
|
6236
6269
|
# @!attribute [rw] db_cluster_identifier
|
@@ -6417,6 +6450,18 @@ module Aws::Neptune
|
|
6417
6450
|
# that is created.*
|
6418
6451
|
# @return [Boolean]
|
6419
6452
|
#
|
6453
|
+
# @!attribute [rw] serverless_v2_scaling_configuration
|
6454
|
+
# Contains the scaling configuration of a Neptune Serverless DB
|
6455
|
+
# cluster.
|
6456
|
+
#
|
6457
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in
|
6458
|
+
# the *Amazon Neptune User Guide*.
|
6459
|
+
#
|
6460
|
+
#
|
6461
|
+
#
|
6462
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
6463
|
+
# @return [Types::ServerlessV2ScalingConfiguration]
|
6464
|
+
#
|
6420
6465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterMessage AWS API Documentation
|
6421
6466
|
#
|
6422
6467
|
class ModifyDBClusterMessage < Struct.new(
|
@@ -6437,7 +6482,8 @@ module Aws::Neptune
|
|
6437
6482
|
:allow_major_version_upgrade,
|
6438
6483
|
:db_instance_parameter_group_name,
|
6439
6484
|
:deletion_protection,
|
6440
|
-
:copy_tags_to_snapshot
|
6485
|
+
:copy_tags_to_snapshot,
|
6486
|
+
:serverless_v2_scaling_configuration)
|
6441
6487
|
SENSITIVE = []
|
6442
6488
|
include Aws::Structure
|
6443
6489
|
end
|
@@ -8136,6 +8182,10 @@ module Aws::Neptune
|
|
8136
8182
|
# db_cluster_parameter_group_name: "String",
|
8137
8183
|
# deletion_protection: false,
|
8138
8184
|
# copy_tags_to_snapshot: false,
|
8185
|
+
# serverless_v2_scaling_configuration: {
|
8186
|
+
# min_capacity: 1.0,
|
8187
|
+
# max_capacity: 1.0,
|
8188
|
+
# },
|
8139
8189
|
# }
|
8140
8190
|
#
|
8141
8191
|
# @!attribute [rw] availability_zones
|
@@ -8276,6 +8326,18 @@ module Aws::Neptune
|
|
8276
8326
|
# DB cluster that is created.*
|
8277
8327
|
# @return [Boolean]
|
8278
8328
|
#
|
8329
|
+
# @!attribute [rw] serverless_v2_scaling_configuration
|
8330
|
+
# Contains the scaling configuration of a Neptune Serverless DB
|
8331
|
+
# cluster.
|
8332
|
+
#
|
8333
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in
|
8334
|
+
# the *Amazon Neptune User Guide*.
|
8335
|
+
#
|
8336
|
+
#
|
8337
|
+
#
|
8338
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
8339
|
+
# @return [Types::ServerlessV2ScalingConfiguration]
|
8340
|
+
#
|
8279
8341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterFromSnapshotMessage AWS API Documentation
|
8280
8342
|
#
|
8281
8343
|
class RestoreDBClusterFromSnapshotMessage < Struct.new(
|
@@ -8295,7 +8357,8 @@ module Aws::Neptune
|
|
8295
8357
|
:enable_cloudwatch_logs_exports,
|
8296
8358
|
:db_cluster_parameter_group_name,
|
8297
8359
|
:deletion_protection,
|
8298
|
-
:copy_tags_to_snapshot
|
8360
|
+
:copy_tags_to_snapshot,
|
8361
|
+
:serverless_v2_scaling_configuration)
|
8299
8362
|
SENSITIVE = []
|
8300
8363
|
include Aws::Structure
|
8301
8364
|
end
|
@@ -8339,6 +8402,10 @@ module Aws::Neptune
|
|
8339
8402
|
# enable_cloudwatch_logs_exports: ["String"],
|
8340
8403
|
# db_cluster_parameter_group_name: "String",
|
8341
8404
|
# deletion_protection: false,
|
8405
|
+
# serverless_v2_scaling_configuration: {
|
8406
|
+
# min_capacity: 1.0,
|
8407
|
+
# max_capacity: 1.0,
|
8408
|
+
# },
|
8342
8409
|
# }
|
8343
8410
|
#
|
8344
8411
|
# @!attribute [rw] db_cluster_identifier
|
@@ -8495,6 +8562,18 @@ module Aws::Neptune
|
|
8495
8562
|
# protection is enabled. By default, deletion protection is disabled.
|
8496
8563
|
# @return [Boolean]
|
8497
8564
|
#
|
8565
|
+
# @!attribute [rw] serverless_v2_scaling_configuration
|
8566
|
+
# Contains the scaling configuration of a Neptune Serverless DB
|
8567
|
+
# cluster.
|
8568
|
+
#
|
8569
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in
|
8570
|
+
# the *Amazon Neptune User Guide*.
|
8571
|
+
#
|
8572
|
+
#
|
8573
|
+
#
|
8574
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
8575
|
+
# @return [Types::ServerlessV2ScalingConfiguration]
|
8576
|
+
#
|
8498
8577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
|
8499
8578
|
#
|
8500
8579
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
@@ -8512,7 +8591,8 @@ module Aws::Neptune
|
|
8512
8591
|
:enable_iam_database_authentication,
|
8513
8592
|
:enable_cloudwatch_logs_exports,
|
8514
8593
|
:db_cluster_parameter_group_name,
|
8515
|
-
:deletion_protection
|
8594
|
+
:deletion_protection,
|
8595
|
+
:serverless_v2_scaling_configuration)
|
8516
8596
|
SENSITIVE = []
|
8517
8597
|
include Aws::Structure
|
8518
8598
|
end
|
@@ -8550,6 +8630,74 @@ module Aws::Neptune
|
|
8550
8630
|
#
|
8551
8631
|
class SNSTopicArnNotFoundFault < Aws::EmptyStructure; end
|
8552
8632
|
|
8633
|
+
# Contains the scaling configuration of a Neptune Serverless DB cluster.
|
8634
|
+
#
|
8635
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in the
|
8636
|
+
# *Amazon Neptune User Guide*.
|
8637
|
+
#
|
8638
|
+
#
|
8639
|
+
#
|
8640
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
8641
|
+
#
|
8642
|
+
# @note When making an API call, you may pass ServerlessV2ScalingConfiguration
|
8643
|
+
# data as a hash:
|
8644
|
+
#
|
8645
|
+
# {
|
8646
|
+
# min_capacity: 1.0,
|
8647
|
+
# max_capacity: 1.0,
|
8648
|
+
# }
|
8649
|
+
#
|
8650
|
+
# @!attribute [rw] min_capacity
|
8651
|
+
# The minimum number of Neptune capacity units (NCUs) for a DB
|
8652
|
+
# instance in a Neptune Serverless cluster. You can specify NCU values
|
8653
|
+
# in half-step increments, such as 8, 8.5, 9, and so on.
|
8654
|
+
# @return [Float]
|
8655
|
+
#
|
8656
|
+
# @!attribute [rw] max_capacity
|
8657
|
+
# The maximum number of Neptune capacity units (NCUs) for a DB
|
8658
|
+
# instance in a Neptune Serverless cluster. You can specify NCU values
|
8659
|
+
# in half-step increments, such as 40, 40.5, 41, and so on.
|
8660
|
+
# @return [Float]
|
8661
|
+
#
|
8662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ServerlessV2ScalingConfiguration AWS API Documentation
|
8663
|
+
#
|
8664
|
+
class ServerlessV2ScalingConfiguration < Struct.new(
|
8665
|
+
:min_capacity,
|
8666
|
+
:max_capacity)
|
8667
|
+
SENSITIVE = []
|
8668
|
+
include Aws::Structure
|
8669
|
+
end
|
8670
|
+
|
8671
|
+
# Shows the scaling configuration for a Neptune Serverless DB cluster.
|
8672
|
+
#
|
8673
|
+
# For more information, see [Using Amazon Neptune Serverless][1] in the
|
8674
|
+
# *Amazon Neptune User Guide*.
|
8675
|
+
#
|
8676
|
+
#
|
8677
|
+
#
|
8678
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html
|
8679
|
+
#
|
8680
|
+
# @!attribute [rw] min_capacity
|
8681
|
+
# The minimum number of Neptune capacity units (NCUs) for a DB
|
8682
|
+
# instance in a Neptune Serverless cluster. You can specify NCU values
|
8683
|
+
# in half-step increments, such as 8, 8.5, 9, and so on.
|
8684
|
+
# @return [Float]
|
8685
|
+
#
|
8686
|
+
# @!attribute [rw] max_capacity
|
8687
|
+
# The maximum number of Neptune capacity units (NCUs) for a DB
|
8688
|
+
# instance in a Neptune Serverless cluster. You can specify NCU values
|
8689
|
+
# in half-step increments, such as 40, 40.5, 41, and so on.
|
8690
|
+
# @return [Float]
|
8691
|
+
#
|
8692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ServerlessV2ScalingConfigurationInfo AWS API Documentation
|
8693
|
+
#
|
8694
|
+
class ServerlessV2ScalingConfigurationInfo < Struct.new(
|
8695
|
+
:min_capacity,
|
8696
|
+
:max_capacity)
|
8697
|
+
SENSITIVE = []
|
8698
|
+
include Aws::Structure
|
8699
|
+
end
|
8700
|
+
|
8553
8701
|
# You have exceeded the maximum number of accounts that you can share a
|
8554
8702
|
# manual DB snapshot with.
|
8555
8703
|
#
|
data/lib/aws-sdk-neptune.rb
CHANGED
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.
|
4
|
+
version: 1.48.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: 2022-10-
|
11
|
+
date: 2022-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|