lib/aws-sdk-neptune/client.rb in aws-sdk-neptune-1.47.0 vs lib/aws-sdk-neptune/client.rb in aws-sdk-neptune-1.48.0

- old
+ new

@@ -1042,10 +1042,20 @@ # @option params [Boolean] :deletion_protection # A value that indicates whether the DB cluster has deletion protection # enabled. The database can't be deleted when deletion protection is # enabled. By default, deletion protection is enabled. # + # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration + # Contains the scaling configuration of a Neptune Serverless DB cluster. + # + # For more information, see [Using Amazon Neptune Serverless][1] in the + # *Amazon Neptune User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html + # # @option params [String] :global_cluster_identifier # The ID of the Neptune global database to which this new DB cluster # should be added. # # @option params [String] :source_region @@ -1087,10 +1097,14 @@ # kms_key_id: "String", # pre_signed_url: "String", # enable_iam_database_authentication: false, # enable_cloudwatch_logs_exports: ["String"], # deletion_protection: false, + # serverless_v2_scaling_configuration: { + # min_capacity: 1.0, + # max_capacity: 1.0, + # }, # global_cluster_identifier: "GlobalClusterIdentifier", # source_region: "String", # }) # # @example Response structure @@ -1147,10 +1161,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBCluster AWS API Documentation # # @overload create_db_cluster(params = {}) # @param [Hash] params ({}) @@ -2311,10 +2327,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBCluster AWS API Documentation # # @overload delete_db_cluster(params = {}) # @param [Hash] params ({}) @@ -3376,10 +3394,12 @@ # resp.db_clusters[0].enabled_cloudwatch_logs_exports #=> Array # resp.db_clusters[0].enabled_cloudwatch_logs_exports[0] #=> String # resp.db_clusters[0].deletion_protection #=> Boolean # resp.db_clusters[0].cross_account_clone #=> Boolean # resp.db_clusters[0].automatic_restart_time #=> Time + # resp.db_clusters[0].serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_clusters[0].serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusters AWS API Documentation # # @overload describe_db_clusters(params = {}) # @param [Hash] params ({}) @@ -4344,10 +4364,12 @@ # @return [Types::GlobalClustersMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GlobalClustersMessage#marker #marker} => String # * {Types::GlobalClustersMessage#global_clusters #global_clusters} => Array<Types::GlobalCluster> # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.describe_global_clusters({ # global_cluster_identifier: "GlobalClusterIdentifier", # max_records: 1, @@ -4699,10 +4721,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverDBCluster AWS API Documentation # # @overload failover_db_cluster(params = {}) # @param [Hash] params ({}) @@ -4988,10 +5012,20 @@ # # @option params [Boolean] :copy_tags_to_snapshot # *If set to `true`, tags are copied to any snapshot of the DB cluster # that is created.* # + # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration + # Contains the scaling configuration of a Neptune Serverless DB cluster. + # + # For more information, see [Using Amazon Neptune Serverless][1] in the + # *Amazon Neptune User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html + # # @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ModifyDBClusterResult#db_cluster #db_cluster} => Types::DBCluster # # @example Request syntax with placeholder values @@ -5016,10 +5050,14 @@ # engine_version: "String", # allow_major_version_upgrade: false, # db_instance_parameter_group_name: "String", # deletion_protection: false, # copy_tags_to_snapshot: false, + # serverless_v2_scaling_configuration: { + # min_capacity: 1.0, + # max_capacity: 1.0, + # }, # }) # # @example Response structure # # resp.db_cluster.allocated_storage #=> Integer @@ -5074,10 +5112,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBCluster AWS API Documentation # # @overload modify_db_cluster(params = {}) # @param [Hash] params ({}) @@ -6122,10 +6162,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation # # @overload promote_read_replica_db_cluster(params = {}) # @param [Hash] params ({}) @@ -6710,10 +6752,20 @@ # # @option params [Boolean] :copy_tags_to_snapshot # *If set to `true`, tags are copied to any snapshot of the restored DB # cluster that is created.* # + # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration + # Contains the scaling configuration of a Neptune Serverless DB cluster. + # + # For more information, see [Using Amazon Neptune Serverless][1] in the + # *Amazon Neptune User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html + # # @return [Types::RestoreDBClusterFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RestoreDBClusterFromSnapshotResult#db_cluster #db_cluster} => Types::DBCluster # # @example Request syntax with placeholder values @@ -6739,10 +6791,14 @@ # enable_iam_database_authentication: false, # enable_cloudwatch_logs_exports: ["String"], # db_cluster_parameter_group_name: "String", # deletion_protection: false, # copy_tags_to_snapshot: false, + # serverless_v2_scaling_configuration: { + # min_capacity: 1.0, + # max_capacity: 1.0, + # }, # }) # # @example Response structure # # resp.db_cluster.allocated_storage #=> Integer @@ -6797,10 +6853,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation # # @overload restore_db_cluster_from_snapshot(params = {}) # @param [Hash] params ({}) @@ -6962,10 +7020,20 @@ # @option params [Boolean] :deletion_protection # A value that indicates whether the DB cluster has deletion protection # enabled. The database can't be deleted when deletion protection is # enabled. By default, deletion protection is disabled. # + # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration + # Contains the scaling configuration of a Neptune Serverless DB cluster. + # + # For more information, see [Using Amazon Neptune Serverless][1] in the + # *Amazon Neptune User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html + # # @return [Types::RestoreDBClusterToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster # # @example Request syntax with placeholder values @@ -6989,10 +7057,14 @@ # kms_key_id: "String", # enable_iam_database_authentication: false, # enable_cloudwatch_logs_exports: ["String"], # db_cluster_parameter_group_name: "String", # deletion_protection: false, + # serverless_v2_scaling_configuration: { + # min_capacity: 1.0, + # max_capacity: 1.0, + # }, # }) # # @example Response structure # # resp.db_cluster.allocated_storage #=> Integer @@ -7047,10 +7119,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation # # @overload restore_db_cluster_to_point_in_time(params = {}) # @param [Hash] params ({}) @@ -7131,10 +7205,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StartDBCluster AWS API Documentation # # @overload start_db_cluster(params = {}) # @param [Hash] params ({}) @@ -7218,10 +7294,12 @@ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String # resp.db_cluster.deletion_protection #=> Boolean # resp.db_cluster.cross_account_clone #=> Boolean # resp.db_cluster.automatic_restart_time #=> Time + # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float + # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float # # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StopDBCluster AWS API Documentation # # @overload stop_db_cluster(params = {}) # @param [Hash] params ({}) @@ -7241,10 +7319,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-neptune' - context[:gem_version] = '1.47.0' + context[:gem_version] = '1.48.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #