/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the rds-2014-10-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.RDS.Model
{
///
/// Container for the parameters to the ModifyDBClusterParameterGroup operation.
/// Modifies the parameters of a DB cluster parameter group. To modify more than one parameter,
/// submit a list of the following: ParameterName
, ParameterValue
,
/// and ApplyMethod
. A maximum of 20 parameters can be modified in a single
/// request.
///
///
///
/// After you create a DB cluster parameter group, you should wait at least 5 minutes
/// before creating your first DB cluster that uses that DB cluster parameter group as
/// the default parameter group. This allows Amazon RDS to fully complete the create action
/// before the parameter group is used as the default for a new DB cluster. This is especially
/// important for parameters that are critical when creating the default database for
/// a DB cluster, such as the character set for the default database defined by the character_set_database
/// parameter. You can use the Parameter Groups option of the Amazon
/// RDS console or the DescribeDBClusterParameters
operation to verify
/// that your DB cluster parameter group has been created or modified.
///
///
///
/// If the modified DB cluster parameter group is used by an Aurora Serverless v1 cluster,
/// Aurora applies the update immediately. The cluster restart might interrupt your workload.
/// In that case, your application must reopen any connections and retry any transactions
/// that were active when the parameter changes took effect.
///
///
///
/// For more information on Amazon Aurora DB clusters, see
/// What is Amazon Aurora? in the Amazon Aurora User Guide.
///
///
///
/// For more information on Multi-AZ DB clusters, see
/// Multi-AZ DB cluster deployments in the Amazon RDS User Guide.
///
///
public partial class ModifyDBClusterParameterGroupRequest : AmazonRDSRequest
{
private string _dbClusterParameterGroupName;
private List _parameters = new List();
///
/// Gets and sets the property DBClusterParameterGroupName.
///
/// The name of the DB cluster parameter group to modify.
///
///
[AWSProperty(Required=true)]
public string DBClusterParameterGroupName
{
get { return this._dbClusterParameterGroupName; }
set { this._dbClusterParameterGroupName = value; }
}
// Check to see if DBClusterParameterGroupName property is set
internal bool IsSetDBClusterParameterGroupName()
{
return this._dbClusterParameterGroupName != null;
}
///
/// Gets and sets the property Parameters.
///
/// A list of parameters in the DB cluster parameter group to modify.
///
///
///
/// Valid Values (for the application method): immediate | pending-reboot
///
///
///
///
/// You can use the immediate
value with dynamic parameters only. You can
/// use the pending-reboot
value for both dynamic and static parameters.
///
///
///
/// When the application method is immediate
, changes to dynamic parameters
/// are applied immediately to the DB clusters associated with the parameter group. When
/// the application method is pending-reboot
, changes to dynamic and static
/// parameters are applied after a reboot without failover to the DB clusters associated
/// with the parameter group.
///
///
///
[AWSProperty(Required=true)]
public List Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
}
}