aws-sdk-neptune 1.47.0 → 1.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f9ff118e5ea9f60da132fb5e7290e0e9b1357d94230e5348f3c9eaf666963c8
4
- data.tar.gz: 8f8bf63d17c75a7acc4cb3fc9042b1a6f39f39de8abdacc45ac10ebd8c1defac
3
+ metadata.gz: ef92a5616e87bee3293ac7f60edd5e9fc69445123952896a98a7a557f8f10cd6
4
+ data.tar.gz: 7c5dbf222b37b459c65db0638fc7ab19e62ee35a6fc59ba669dbcf6e83a2f6b5
5
5
  SHA512:
6
- metadata.gz: 130e9c831814e5380418f673a4afb8e7100c2cf2a351ac6104eaf315e54767948d9293bfda8ad607dd94da2863786fddfb6b668298fd4b1896d36365adb4894b
7
- data.tar.gz: 7fcb09392c84e95634be3216399fc34fc6b69c724fb64af337e4832dfb72412f0c51499c86d9314bf63457de77baf466513bd72aa0938f75295627e00ccbbeaa
6
+ metadata.gz: 63436b74c2372635d62340ba20f8a6692dd231bea5d21343376c2642b1363f511cf3d325d3ac8d3972e9ce061cce92283c43f850bea13fdcaccc3c067b2f4ef0
7
+ data.tar.gz: 67fe923ae915290043e738eb9225e79e8d30fb3198998bccd1b6578048324a61e426acdc5e9528b51d49362a04b34954594eb410796a641b75edd576fd032f7b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.48.0 (2022-10-26)
12
+ ------------------
13
+
14
+ * Feature - Added a new cluster-level attribute to set the capacity range for Neptune Serverless instances.
15
+
4
16
  1.47.0 (2022-10-25)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.49.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.47.0'
7324
+ context[:gem_version] = '1.49.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|
@@ -9,129 +9,61 @@
9
9
 
10
10
  module Aws::Neptune
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?(region, "rds.ca-central-1")
36
+ return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.ca-central-1.amazonaws.com", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-east-1")
39
+ return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
40
+ end
41
+ if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-east-2")
42
+ return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
43
+ end
44
+ if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-west-1")
45
+ return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
46
+ end
47
+ if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-west-2")
48
+ return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
49
+ end
50
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
51
+ return Aws::Endpoints::Endpoint.new(url: "https://rds.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
+ end
53
+ return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
54
+ end
55
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
56
+ end
57
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
58
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
59
+ return Aws::Endpoints::Endpoint.new(url: "https://rds.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
60
+ end
61
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
62
+ end
63
+ return Aws::Endpoints::Endpoint.new(url: "https://rds.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
64
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
65
+ raise ArgumentError, 'No endpoint could be resolved'
24
66
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
67
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- Z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- YWxTdGFjayJ9LHRydWVdfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNv
122
- bmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVl
123
- LHsiZm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVz
124
- dWx0In0sInN1cHBvcnRzRHVhbFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIs
125
- InJ1bGVzIjpbeyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoi
126
- aHR0cHM6Ly9yZHMue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3Rh
127
- Y2tEbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwi
128
- dHlwZSI6ImVuZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6
129
- IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2Vz
130
- IG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJj
131
- b25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9yZHMu
132
- e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
133
- dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
134
-
135
- JSON
136
68
  end
137
69
  end