public void ModifyDBClusterMarshallTest() { var operation = service_model.FindOperation("ModifyDBCluster"); var request = InstantiateClassGenerator.Execute <ModifyDBClusterRequest>(); var marshaller = new ModifyDBClusterRequestMarshaller(); 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 = ModifyDBClusterResponseUnmarshaller.Instance.Unmarshall(context) as ModifyDBClusterResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the ModifyDBCluster operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ModifyDBCluster 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<ModifyDBClusterResponse> ModifyDBClusterAsync(ModifyDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new ModifyDBClusterRequestMarshaller(); var unmarshaller = ModifyDBClusterResponseUnmarshaller.Instance; return InvokeAsync<ModifyDBClusterRequest,ModifyDBClusterResponse>(request, marshaller, unmarshaller, cancellationToken); }
/// <summary> /// Modify a setting for an Amazon Aurora DB cluster. You can change one or more database /// configuration parameters by specifying these parameters and the new values in the /// request. 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> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ModifyDBCluster service method.</param> /// /// <returns>The response from the ModifyDBCluster service method, as returned by RDS.</returns> /// <exception cref="Amazon.RDS.Model.DBClusterAlreadyExistsException"> /// User already has a DB cluster with the given identifier. /// </exception> /// <exception cref="Amazon.RDS.Model.DBClusterNotFoundException"> /// <i>DBClusterIdentifier</i> does not refer to an existing DB cluster. /// </exception> /// <exception cref="Amazon.RDS.Model.DBClusterParameterGroupNotFoundException"> /// <i>DBClusterParameterGroupName</i> does not refer to an existing DB Cluster parameter /// group. /// </exception> /// <exception cref="Amazon.RDS.Model.DBSubnetGroupNotFoundException"> /// <i>DBSubnetGroupName</i> does not refer to an existing DB subnet group. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidDBClusterStateException"> /// The supplied value is not a valid DB cluster state. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidDBInstanceStateException"> /// The specified DB instance is not in the <i>available</i> state. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidDBSecurityGroupStateException"> /// The state of the DB security group does not allow deletion. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidDBSubnetGroupStateException"> /// The DB subnet group cannot be deleted because it is in use. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidSubnetException"> /// The requested subnet is invalid, or multiple subnets were requested that are not /// all in a common VPC. /// </exception> /// <exception cref="Amazon.RDS.Model.InvalidVPCNetworkStateException"> /// DB subnet group does not cover all Availability Zones after it is created because /// users' change. /// </exception> /// <exception cref="Amazon.RDS.Model.StorageQuotaExceededException"> /// Request would result in user exceeding the allowed amount of storage available across /// all DB instances. /// </exception> public ModifyDBClusterResponse ModifyDBCluster(ModifyDBClusterRequest request) { var marshaller = new ModifyDBClusterRequestMarshaller(); var unmarshaller = ModifyDBClusterResponseUnmarshaller.Instance; return Invoke<ModifyDBClusterRequest,ModifyDBClusterResponse>(request, marshaller, unmarshaller); }
public void ModifyDBClusterMarshallTest() { var operation = service_model.FindOperation("ModifyDBCluster"); var request = InstantiateClassGenerator.Execute<ModifyDBClusterRequest>(); var marshaller = new ModifyDBClusterRequestMarshaller(); 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 = ModifyDBClusterResponseUnmarshaller.Instance.Unmarshall(context) as ModifyDBClusterResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the ModifyDBCluster operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ModifyDBCluster 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 EndModifyDBCluster /// operation.</returns> public IAsyncResult BeginModifyDBCluster(ModifyDBClusterRequest request, AsyncCallback callback, object state) { var marshaller = new ModifyDBClusterRequestMarshaller(); var unmarshaller = ModifyDBClusterResponseUnmarshaller.Instance; return BeginInvoke<ModifyDBClusterRequest>(request, marshaller, unmarshaller, callback, state); }