lib/aws-sdk-neptune/client.rb in aws-sdk-neptune-1.15.0 vs lib/aws-sdk-neptune/client.rb in aws-sdk-neptune-1.16.0
- old
+ new
@@ -114,10 +114,14 @@
#
# @option options [String] :client_side_monitoring_client_id ("")
# Allows you to provide an identifier for this client which will be attached to
# all generated client side metrics. Defaults to an empty string.
#
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
+ # side monitoring agent is running on, where client metrics will be published via UDP.
+ #
# @option options [Integer] :client_side_monitoring_port (31000)
# Required for publishing client metrics. The port that the client side monitoring
# agent is running on, where client metrics will be published via UDP.
#
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
@@ -911,10 +915,14 @@
# True to enable mapping of AWS Identity and Access Management (IAM)
# accounts to database accounts, and otherwise false.
#
# Default: `false`
#
+ # @option params [Array<String>] :enable_cloudwatch_logs_exports
+ # The list of log types that need to be enabled for exporting to
+ # CloudWatch Logs.
+ #
# @return [Types::CreateDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
#
# @example Request syntax with placeholder values
@@ -945,10 +953,11 @@
# ],
# storage_encrypted: false,
# kms_key_id: "String",
# pre_signed_url: "String",
# enable_iam_database_authentication: false,
+ # enable_cloudwatch_logs_exports: ["String"],
# })
#
# @example Response structure
#
# resp.db_cluster.allocated_storage #=> Integer
@@ -996,10 +1005,12 @@
# resp.db_cluster.associated_roles[0].role_arn #=> String
# resp.db_cluster.associated_roles[0].status #=> String
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
# resp.db_cluster.clone_group_id #=> String
# resp.db_cluster.cluster_create_time #=> Time
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBCluster AWS API Documentation
#
# @overload create_db_cluster(params = {})
# @param [Hash] params ({})
@@ -2004,10 +2015,12 @@
# resp.db_cluster.associated_roles[0].role_arn #=> String
# resp.db_cluster.associated_roles[0].status #=> String
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
# resp.db_cluster.clone_group_id #=> String
# resp.db_cluster.cluster_create_time #=> Time
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBCluster AWS API Documentation
#
# @overload delete_db_cluster(params = {})
# @param [Hash] params ({})
@@ -2119,17 +2132,13 @@
# Note that when a DB instance is in a failure state and has a status of
# `failed`, `incompatible-restore`, or `incompatible-network`, you can
# only delete it when the `SkipFinalSnapshot` parameter is set to
# `true`.
#
- # If the specified DB instance is part of a DB cluster, you can't
- # delete the DB instance if both of the following conditions are true:
+ # You can't delete a DB instance if it is the only instance in the DB
+ # cluster.
#
- # * The DB instance is the only instance in the DB cluster.
- #
- # ^
- #
# @option params [required, String] :db_instance_identifier
# The DB instance identifier for the DB instance to be deleted. This
# parameter isn't case-sensitive.
#
# Constraints:
@@ -2862,10 +2871,12 @@
# resp.db_clusters[0].associated_roles[0].role_arn #=> String
# resp.db_clusters[0].associated_roles[0].status #=> String
# resp.db_clusters[0].iam_database_authentication_enabled #=> Boolean
# resp.db_clusters[0].clone_group_id #=> String
# resp.db_clusters[0].cluster_create_time #=> Time
+ # resp.db_clusters[0].enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_clusters[0].enabled_cloudwatch_logs_exports[0] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusters AWS API Documentation
#
# @overload describe_db_clusters(params = {})
# @param [Hash] params ({})
@@ -4073,10 +4084,12 @@
# resp.db_cluster.associated_roles[0].role_arn #=> String
# resp.db_cluster.associated_roles[0].status #=> String
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
# resp.db_cluster.clone_group_id #=> String
# resp.db_cluster.cluster_create_time #=> Time
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverDBCluster AWS API Documentation
#
# @overload failover_db_cluster(params = {})
# @param [Hash] params ({})
@@ -4256,10 +4269,14 @@
# True to enable mapping of AWS Identity and Access Management (IAM)
# accounts to database accounts, and otherwise false.
#
# Default: `false`
#
+ # @option params [Types::CloudwatchLogsExportConfiguration] :cloudwatch_logs_export_configuration
+ # The configuration setting for the log types to be enabled for export
+ # to CloudWatch Logs for a specific DB cluster.
+ #
# @option params [String] :engine_version
# The version number of the database engine to which you want to
# upgrade. Changing this parameter results in an outage. The change is
# applied during the next maintenance window unless the ApplyImmediately
# parameter is set to true.
@@ -4284,10 +4301,14 @@
# master_user_password: "String",
# option_group_name: "String",
# preferred_backup_window: "String",
# preferred_maintenance_window: "String",
# enable_iam_database_authentication: false,
+ # cloudwatch_logs_export_configuration: {
+ # enable_log_types: ["String"],
+ # disable_log_types: ["String"],
+ # },
# engine_version: "String",
# })
#
# @example Response structure
#
@@ -4336,10 +4357,12 @@
# resp.db_cluster.associated_roles[0].role_arn #=> String
# resp.db_cluster.associated_roles[0].status #=> String
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
# resp.db_cluster.clone_group_id #=> String
# resp.db_cluster.cluster_create_time #=> Time
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBCluster AWS API Documentation
#
# @overload modify_db_cluster(params = {})
# @param [Hash] params ({})
@@ -5234,10 +5257,12 @@
# resp.db_cluster.associated_roles[0].role_arn #=> String
# resp.db_cluster.associated_roles[0].status #=> String
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
# resp.db_cluster.clone_group_id #=> String
# resp.db_cluster.cluster_create_time #=> Time
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
#
# @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 ({})
@@ -5738,10 +5763,14 @@
# True to enable mapping of AWS Identity and Access Management (IAM)
# accounts to database accounts, and otherwise false.
#
# Default: `false`
#
+ # @option params [Array<String>] :enable_cloudwatch_logs_exports
+ # The list of logs that the restored DB cluster is to export to Amazon
+ # CloudWatch Logs.
+ #
# @option params [String] :db_cluster_parameter_group_name
# The name of the DB cluster parameter group to associate with the new
# DB cluster.
#
# Constraints:
@@ -5774,10 +5803,11 @@
# value: "String",
# },
# ],
# kms_key_id: "String",
# enable_iam_database_authentication: false,
+ # enable_cloudwatch_logs_exports: ["String"],
# db_cluster_parameter_group_name: "String",
# })
#
# @example Response structure
#
@@ -5826,10 +5856,12 @@
# resp.db_cluster.associated_roles[0].role_arn #=> String
# resp.db_cluster.associated_roles[0].status #=> String
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
# resp.db_cluster.clone_group_id #=> String
# resp.db_cluster.cluster_create_time #=> Time
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
#
# @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 ({})
@@ -5864,13 +5896,22 @@
# * First character must be a letter
#
# * Cannot end with a hyphen or contain two consecutive hyphens
#
# @option params [String] :restore_type
- # The type of restore to be performed. The only type of restore
- # currently supported is `full-copy` (the default).
+ # The type of restore to be performed. You can specify one of the
+ # following values:
#
+ # * `full-copy` - The new DB cluster is restored as a full copy of the
+ # source DB cluster.
+ #
+ # * `copy-on-write` - The new DB cluster is restored as a clone of the
+ # source DB cluster.
+ #
+ # If you don't specify a `RestoreType` value, then the new DB cluster
+ # is restored as a full copy of the source DB cluster.
+ #
# @option params [required, String] :source_db_cluster_identifier
# The identifier of the source DB cluster from which to restore.
#
# Constraints:
#
@@ -5962,10 +6003,14 @@
# True to enable mapping of AWS Identity and Access Management (IAM)
# accounts to database accounts, and otherwise false.
#
# Default: `false`
#
+ # @option params [Array<String>] :enable_cloudwatch_logs_exports
+ # The list of logs that the restored DB cluster is to export to
+ # CloudWatch Logs.
+ #
# @option params [String] :db_cluster_parameter_group_name
# The name of the DB cluster parameter group to associate with the new
# DB cluster.
#
# Constraints:
@@ -5997,10 +6042,11 @@
# value: "String",
# },
# ],
# kms_key_id: "String",
# enable_iam_database_authentication: false,
+ # enable_cloudwatch_logs_exports: ["String"],
# db_cluster_parameter_group_name: "String",
# })
#
# @example Response structure
#
@@ -6049,10 +6095,12 @@
# resp.db_cluster.associated_roles[0].role_arn #=> String
# resp.db_cluster.associated_roles[0].status #=> String
# resp.db_cluster.iam_database_authentication_enabled #=> Boolean
# resp.db_cluster.clone_group_id #=> String
# resp.db_cluster.cluster_create_time #=> Time
+ # resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
#
# @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 ({})
@@ -6072,10 +6120,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-neptune'
- context[:gem_version] = '1.15.0'
+ context[:gem_version] = '1.16.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#