public void ModifyDBClusterParameterGroupMarshallTest() { var operation = service_model.FindOperation("ModifyDBClusterParameterGroup"); var request = InstantiateClassGenerator.Execute <ModifyDBClusterParameterGroupRequest>(); var marshaller = new ModifyDBClusterParameterGroupRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance.Unmarshall(context) as ModifyDBClusterParameterGroupResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the ModifyDBClusterParameterGroup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ModifyDBClusterParameterGroup operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<ModifyDBClusterParameterGroupResponse> ModifyDBClusterParameterGroupAsync(ModifyDBClusterParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new ModifyDBClusterParameterGroupRequestMarshaller(); var unmarshaller = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance; return InvokeAsync<ModifyDBClusterParameterGroupRequest,ModifyDBClusterParameterGroupResponse>(request, marshaller, unmarshaller, cancellationToken); }
/// <summary> /// Modifies the parameters of a DB cluster parameter group. To modify more than one /// parameter, submit a list of the following: <code>ParameterName</code>, <code>ParameterValue</code>, /// and <code>ApplyMethod</code>. A maximum of 20 parameters can be modified in a single /// request. /// /// /// <para> /// For more information on Amazon Aurora, see <a href="http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html">Aurora /// on Amazon RDS</a> in the <i>Amazon RDS User Guide.</i> /// </para> /// <note> /// <para> /// Changes to dynamic parameters are applied immediately. Changes to static parameters /// require a reboot without failover to the DB cluster associated with the parameter /// group before the change can take effect. /// </para> /// </note> <important> /// <para> /// 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 <code>character_set_database</code> /// parameter. You can use the <i>Parameter Groups</i> option of the <a href="https://console.aws.amazon.com/rds/">Amazon /// RDS console</a> or the <a>DescribeDBClusterParameters</a> command to verify that your /// DB cluster parameter group has been created or modified. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ModifyDBClusterParameterGroup service method.</param> /// /// <returns>The response from the ModifyDBClusterParameterGroup service method, as returned by RDS.</returns> /// <exception cref="Amazon.RDS.Model.DBParameterGroupNotFoundException"> /// <i>DBParameterGroupName</i> does not refer to an existing DB parameter group. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidDBParameterGroupStateException"> /// The DB parameter group cannot be deleted because it is in use. /// </exception> public ModifyDBClusterParameterGroupResponse ModifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request) { var marshaller = new ModifyDBClusterParameterGroupRequestMarshaller(); var unmarshaller = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance; return Invoke<ModifyDBClusterParameterGroupRequest,ModifyDBClusterParameterGroupResponse>(request, marshaller, unmarshaller); }
public void ModifyDBClusterParameterGroupMarshallTest() { var operation = service_model.FindOperation("ModifyDBClusterParameterGroup"); var request = InstantiateClassGenerator.Execute<ModifyDBClusterParameterGroupRequest>(); var marshaller = new ModifyDBClusterParameterGroupRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance.Unmarshall(context) as ModifyDBClusterParameterGroupResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the ModifyDBClusterParameterGroup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ModifyDBClusterParameterGroup operation on AmazonRDSClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndModifyDBClusterParameterGroup /// operation.</returns> public IAsyncResult BeginModifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request, AsyncCallback callback, object state) { var marshaller = new ModifyDBClusterParameterGroupRequestMarshaller(); var unmarshaller = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance; return BeginInvoke<ModifyDBClusterParameterGroupRequest>(request, marshaller, unmarshaller, callback, state); }