/// <summary> /// <para> Deletes a specified DBParameterGroup. The DBParameterGroup cannot be associated with any RDS instances to be deleted. </para> /// <para><b>NOTE:</b> The specified database parameter group cannot be associated with any DB Instances. </para> /// </summary> /// /// <param name="deleteDBParameterGroupRequest">Container for the necessary parameters to execute the DeleteDBParameterGroup service method on /// AmazonRDS.</param> /// /// <exception cref="DBParameterGroupNotFoundException"/> /// <exception cref="InvalidDBParameterGroupStateException"/> public DeleteDBParameterGroupResponse DeleteDBParameterGroup(DeleteDBParameterGroupRequest deleteDBParameterGroupRequest) { IRequest <DeleteDBParameterGroupRequest> request = new DeleteDBParameterGroupRequestMarshaller().Marshall(deleteDBParameterGroupRequest); DeleteDBParameterGroupResponse response = Invoke <DeleteDBParameterGroupRequest, DeleteDBParameterGroupResponse> (request, this.signer, DeleteDBParameterGroupResponseUnmarshaller.GetInstance()); return(response); }
private static IDictionary <string, string> ConvertDeleteDBParameterGroup(DeleteDBParameterGroupRequest request) { IDictionary <string, string> dictionary = new Dictionary <string, string>(); dictionary["Action"] = "DeleteDBParameterGroup"; if (request.IsSetDBParameterGroupName()) { dictionary["DBParameterGroupName"] = request.DBParameterGroupName; } return(dictionary); }
public DeleteDBParameterGroupResponse DeleteDBParameterGroup(DeleteDBParameterGroupRequest request) { return(this.Invoke <DeleteDBParameterGroupResponse>(ConvertDeleteDBParameterGroup(request))); }